From d76a59be5b4023e8d5a085e414b17e5e86e230c1 Mon Sep 17 00:00:00 2001 From: platonovvladislav Date: Tue, 12 Aug 2025 13:41:09 +0300 Subject: [PATCH 1/2] Add customComponent to src index --- .../generated/component/customComponent.ets | 189 ------------------ .../arkui/generated/framework/index.ets | 1 - .../arkui/src/component/customComponent.ets | 17 +- arkoala-arkts/arkui/src/index.ets | 1 + .../libarkts/native/src/generated/bridges.cc | 2 +- 5 files changed, 18 insertions(+), 192 deletions(-) delete mode 100644 arkoala-arkts/arkui/generated/component/customComponent.ets diff --git a/arkoala-arkts/arkui/generated/component/customComponent.ets b/arkoala-arkts/arkui/generated/component/customComponent.ets deleted file mode 100644 index 0a0619ac1..000000000 --- a/arkoala-arkts/arkui/generated/component/customComponent.ets +++ /dev/null @@ -1,189 +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 { SerializerBase, DeserializerBase, Finalizable, runtimeType, RuntimeType, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, KInt, KBoolean, KStringPtr, CallbackResource, InteropNativeModule, Tags, nullptr, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" -import { GeometryInfo_serializer, Layoutable_serializer, Measurable_serializer, SizeResult_serializer, GeometryInfo, Layoutable, LayoutableInternal, Measurable, MeasurableInternal, SizeResult } from "./common" -import { ConstraintSizeOptions_serializer, ConstraintSizeOptions } from "./units" -import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { unsafeCast, int32, int64, float32 } from "@koalaui/common" -import { CallbackTransformer } from "./../CallbackTransformer" -import { memo, memo_stable } from "@koalaui/runtime/annotations" -import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { extractors } from "#handwritten" -export interface LayoutCallback { - onPlaceChildren(selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions): void - onMeasureSize(selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions): SizeResult -} -export class LayoutCallbackInternal implements MaterializedBase,LayoutCallback { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } - constructor(peerPtr: KPointer) { - this.peer = new Finalizable(peerPtr, LayoutCallbackInternal.getFinalizer()) - } - constructor() { - this(LayoutCallbackInternal.construct()) - } - static construct(): KPointer { - const retval = ArkUIGeneratedNativeModule._LayoutCallback_construct() - return retval - } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._LayoutCallback_getFinalizer() - } - public static fromPtr(ptr: KPointer): LayoutCallbackInternal { - return new LayoutCallbackInternal(ptr) - } - public onPlaceChildren(selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions): void { - const selfLayoutInfo_casted = selfLayoutInfo as (GeometryInfo) - const children_casted = children as (Array) - const constraint_casted = constraint as (ConstraintSizeOptions) - this.onPlaceChildren_serialize(selfLayoutInfo_casted, children_casted, constraint_casted) - return - } - public onMeasureSize(selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions): SizeResult { - const selfLayoutInfo_casted = selfLayoutInfo as (GeometryInfo) - const children_casted = children as (Array) - const constraint_casted = constraint as (ConstraintSizeOptions) - return this.onMeasureSize_serialize(selfLayoutInfo_casted, children_casted, constraint_casted) - } - private onPlaceChildren_serialize(selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions): void { - const thisSerializer : SerializerBase = SerializerBase.hold() - GeometryInfo_serializer.write(thisSerializer, selfLayoutInfo) - thisSerializer.writeInt32((children.length).toInt()) - for (let childrenCounterI = 0; childrenCounterI < children.length; childrenCounterI++) { - const childrenTmpElement : Layoutable = children[childrenCounterI] - Layoutable_serializer.write(thisSerializer, childrenTmpElement) - } - ConstraintSizeOptions_serializer.write(thisSerializer, constraint) - ArkUIGeneratedNativeModule._LayoutCallback_onPlaceChildren(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - private onMeasureSize_serialize(selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions): SizeResult { - const thisSerializer : SerializerBase = SerializerBase.hold() - GeometryInfo_serializer.write(thisSerializer, selfLayoutInfo) - thisSerializer.writeInt32((children.length).toInt()) - for (let childrenCounterI = 0; childrenCounterI < children.length; childrenCounterI++) { - const childrenTmpElement : Measurable = children[childrenCounterI] - Measurable_serializer.write(thisSerializer, childrenTmpElement) - } - ConstraintSizeOptions_serializer.write(thisSerializer, constraint) - const retval = ArkUIGeneratedNativeModule._LayoutCallback_onMeasureSize(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - let retvalDeserializer : DeserializerBase = new DeserializerBase(retval, retval.length) - const returnResult : SizeResult = SizeResult_serializer.read(retvalDeserializer) - return returnResult - } -} -export interface PageLifeCycle { - onPageShow(): void - onPageHide(): void - onBackPress(): boolean - pageTransition(): void - onNewParam(param: Object | undefined): void -} -export class PageLifeCycleInternal implements MaterializedBase,PageLifeCycle { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } - constructor(peerPtr: KPointer) { - this.peer = new Finalizable(peerPtr, PageLifeCycleInternal.getFinalizer()) - } - constructor() { - this(PageLifeCycleInternal.construct()) - } - static construct(): KPointer { - const retval = ArkUIGeneratedNativeModule._PageLifeCycle_construct() - return retval - } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._PageLifeCycle_getFinalizer() - } - public static fromPtr(ptr: KPointer): PageLifeCycleInternal { - return new PageLifeCycleInternal(ptr) - } - public onPageShow(): void { - this.onPageShow_serialize() - return - } - public onPageHide(): void { - this.onPageHide_serialize() - return - } - public onBackPress(): boolean { - return this.onBackPress_serialize() - } - public pageTransition(): void { - this.pageTransition_serialize() - return - } - public onNewParam(param: Object | undefined): void { - const param_casted = param as (Object | undefined) - this.onNewParam_serialize(param_casted) - return - } - private onPageShow_serialize(): void { - ArkUIGeneratedNativeModule._PageLifeCycle_onPageShow(this.peer!.ptr) - } - private onPageHide_serialize(): void { - ArkUIGeneratedNativeModule._PageLifeCycle_onPageHide(this.peer!.ptr) - } - private onBackPress_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._PageLifeCycle_onBackPress(this.peer!.ptr) - return retval - } - private pageTransition_serialize(): void { - ArkUIGeneratedNativeModule._PageLifeCycle_pageTransition(this.peer!.ptr) - } - private onNewParam_serialize(param: Object | undefined): void { - const thisSerializer : SerializerBase = SerializerBase.hold() - if (param !== undefined) { - thisSerializer.writeInt8(RuntimeType.OBJECT) - const paramTmpValue = param! - thisSerializer.holdAndWriteObject(paramTmpValue) - } else { - thisSerializer.writeInt8(RuntimeType.UNDEFINED) - } - ArkUIGeneratedNativeModule._PageLifeCycle_onNewParam(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } -} -export class LayoutCallback_serializer { - public static write(buffer: SerializerBase, value: LayoutCallback): void { - let valueSerializer : SerializerBase = buffer - valueSerializer.writePointer(toPeerPtr(value)) - } - public static read(buffer: DeserializerBase): LayoutCallback { - let valueDeserializer : DeserializerBase = buffer - let ptr : KPointer = valueDeserializer.readPointer() - return LayoutCallbackInternal.fromPtr(ptr) - } -} -export class PageLifeCycle_serializer { - public static write(buffer: SerializerBase, value: PageLifeCycle): void { - let valueSerializer : SerializerBase = buffer - valueSerializer.writePointer(toPeerPtr(value)) - } - public static read(buffer: DeserializerBase): PageLifeCycle { - let valueDeserializer : DeserializerBase = buffer - let ptr : KPointer = valueDeserializer.readPointer() - return PageLifeCycleInternal.fromPtr(ptr) - } -} diff --git a/arkoala-arkts/arkui/generated/framework/index.ets b/arkoala-arkts/arkui/generated/framework/index.ets index 6184865c4..a835e5896 100644 --- a/arkoala-arkts/arkui/generated/framework/index.ets +++ b/arkoala-arkts/arkui/generated/framework/index.ets @@ -141,7 +141,6 @@ export * from "./../component/common" export * from "./../component/containerSpan" export * from "./../component/contentSlot" export * from "./../component/counter" -export * from "./../component/customComponent" export * from "./../component/customDialogController" export * from "./../component/dataPanel" export * from "./../component/datePicker" diff --git a/arkoala-arkts/arkui/src/component/customComponent.ets b/arkoala-arkts/arkui/src/component/customComponent.ets index 05080c05f..a57814ddb 100644 --- a/arkoala-arkts/arkui/src/component/customComponent.ets +++ b/arkoala-arkts/arkui/src/component/customComponent.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import { AnimateParam, ArkComponentRootPeer, ArkColumnPeer, PageTransitionOptions, LayoutChild, ConstraintSizeOptions, GeometryInfo, Layoutable, Measurable, SizeResult, PageLifeCycle, LayoutCallback } from "#generated" +import { AnimateParam, ArkComponentRootPeer, ArkColumnPeer, PageTransitionOptions, LayoutChild, ConstraintSizeOptions, GeometryInfo, Layoutable, Measurable, SizeResult } from "#generated" import { memo } from "@koalaui/runtime/annotations" import { rememberDisposable, remember, rememberMutableState, mutableState, MutableState, NodeAttach, RunEffect } from "@koalaui/runtime" import { addPartialUpdate } from '../ArkUIEntry' @@ -23,6 +23,21 @@ import { PageTransitionEnter, PageTransitionExit } from "../ArkPageTransition" import { ExtendableComponent } from './extendableComponent' import { UIContext } from '../framework/ohos.arkui.UIContext' +export interface LayoutCallback { + onPlaceChildren(selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions): void {} + onMeasureSize(selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions): SizeResult { + return {width: 0, height: 0} as SizeResult + } +} + +export interface PageLifeCycle { + onPageShow(): void {} + onPageHide(): void {} + onBackPress(): boolean { return false } + pageTransition(): void {} + onNewParam(param: Object | undefined): void {} +} + export interface UICommonBase { @memo __applyStyle( diff --git a/arkoala-arkts/arkui/src/index.ets b/arkoala-arkts/arkui/src/index.ets index 7b7e86c08..e9c44db20 100644 --- a/arkoala-arkts/arkui/src/index.ets +++ b/arkoala-arkts/arkui/src/index.ets @@ -37,3 +37,4 @@ export * from "./resources" export * from "./ContentModifierHooks" export * from "./TestApiHooks" export * from "./ArkStateStyle" +export * from "./component/customComponent" diff --git a/ui2abc/libarkts/native/src/generated/bridges.cc b/ui2abc/libarkts/native/src/generated/bridges.cc index 20105f9ad..16b981add 100644 --- a/ui2abc/libarkts/native/src/generated/bridges.cc +++ b/ui2abc/libarkts/native/src/generated/bridges.cc @@ -17,7 +17,7 @@ /* * THIS FILE IS AUTOGENERATED BY arktscgen v2.1.9-arktscgen-9. DO NOT EDIT MANUALLY! - * es2panda e851773e3e4560bf7dd8dd6bd7575cd2534d20c5(2025-08-08) sdk v1.5.0-dev.40726 + * es2panda 69841f0ea7d3ce9e56d52de1dd426082f56e149e(2025-08-12) sdk v1.5.0-dev.41217 */ KNativePointer impl_GetAllErrorMessages(KNativePointer context) -- Gitee From efd3ba0cdb08cbad28c737b152f1961bea19fca8 Mon Sep 17 00:00:00 2001 From: platonovvladislav Date: Tue, 12 Aug 2025 18:48:01 +0300 Subject: [PATCH 2/2] New generation --- .../generated/AlphabetIndexerModifier.ets | 1 + .../arkui/generated/AnimatorModifier.ets | 1 + .../arkui/generated/BadgeModifier.ets | 1 + .../arkui/generated/BaseSpanModifier.ets | 1 + .../arkui/generated/BlankModifier.ets | 1 + .../arkui/generated/ButtonModifier.ets | 1 + .../generated/CalendarPickerModifier.ets | 1 + .../arkui/generated/CanvasModifier.ets | 1 + .../arkui/generated/CheckboxGroupModifier.ets | 1 + .../arkui/generated/CheckboxModifier.ets | 1 + .../arkui/generated/CircleModifier.ets | 1 + .../arkui/generated/ColumnModifier.ets | 47 +- .../arkui/generated/ColumnSplitModifier.ets | 1 + .../arkui/generated/CommonMethodModifier.ets | 37 +- .../generated/CommonShapeMethodModifier.ets | 1 + .../arkui/generated/ComponentContent.ets | 1 - .../arkui/generated/ComponentRootModifier.ets | 1 + .../arkui/generated/ContainerSpanModifier.ets | 1 + .../arkui/generated/CounterModifier.ets | 1 + .../generated/CustomBuilderRootModifier.ets | 1 + .../generated/CustomLayoutRootModifier.ets | 1 + .../arkui/generated/DataPanelModifier.ets | 1 + .../arkui/generated/DatePickerModifier.ets | 1 + .../arkui/generated/DividerModifier.ets | 1 + .../generated/EffectComponentModifier.ets | 1 + .../arkui/generated/EllipseModifier.ets | 1 + .../generated/EmbeddedComponentModifier.ets | 1 + .../arkui/generated/FlexModifier.ets | 47 +- .../arkui/generated/FlowItemModifier.ets | 1 + .../arkui/generated/FolderStackModifier.ets | 1 + .../arkui/generated/FormComponentModifier.ets | 1 + .../arkui/generated/FormLinkModifier.ets | 1 + arkoala-arkts/arkui/generated/FrameNode.ets | 1 - .../arkui/generated/GaugeModifier.ets | 1 + arkoala-arkts/arkui/generated/Graphics.ets | 1 - .../arkui/generated/GridColModifier.ets | 1 + .../arkui/generated/GridItemModifier.ets | 1 + .../arkui/generated/GridModifier.ets | 315 +- .../arkui/generated/GridRowModifier.ets | 1 + .../arkui/generated/HyperlinkModifier.ets | 1 + .../arkui/generated/ImageAnimatorModifier.ets | 1 + .../arkui/generated/ImageModifier.ets | 1 + .../arkui/generated/ImageSpanModifier.ets | 1 + .../generated/IndicatorComponentModifier.ets | 1 + .../arkui/generated/LineModifier.ets | 1 + .../generated/LinearIndicatorModifier.ets | 1 + .../arkui/generated/ListItemGroupModifier.ets | 1 + .../arkui/generated/ListItemModifier.ets | 1 + .../arkui/generated/ListModifier.ets | 1 + .../generated/LoadingProgressModifier.ets | 1 + .../arkui/generated/MarqueeModifier.ets | 1 + .../generated/MediaCachedImageModifier.ets | 1 + .../arkui/generated/MenuItemGroupModifier.ets | 1 + .../arkui/generated/MenuItemModifier.ets | 1 + .../arkui/generated/MenuModifier.ets | 1 + .../generated/NavDestinationModifier.ets | 3 +- .../arkui/generated/NavigationModifier.ets | 3 +- .../arkui/generated/NodeContainerModifier.ets | 1 + arkoala-arkts/arkui/generated/NodeContent.ets | 1 - .../arkui/generated/PathModifier.ets | 45 + .../arkui/generated/PatternLockModifier.ets | 1 + .../generated/PluginComponentModifier.ets | 1 + .../arkui/generated/PolygonModifier.ets | 1 + .../arkui/generated/PolylineModifier.ets | 1 + .../arkui/generated/ProgressModifier.ets | 1 + .../arkui/generated/QRCodeModifier.ets | 1 + .../arkui/generated/RadioModifier.ets | 1 + .../arkui/generated/RatingModifier.ets | 1 + .../arkui/generated/RectModifier.ets | 105 +- .../arkui/generated/RefreshModifier.ets | 1 + .../generated/RelativeContainerModifier.ets | 1 + .../arkui/generated/RemoteWindowModifier.ets | 1 + arkoala-arkts/arkui/generated/RenderNode.ets | 1 - .../arkui/generated/RichEditorModifier.ets | 1 + .../arkui/generated/RichTextModifier.ets | 1 + .../arkui/generated/RootModifier.ets | 1 + .../arkui/generated/RootSceneModifier.ets | 1 + arkoala-arkts/arkui/generated/RowModifier.ets | 47 +- .../arkui/generated/RowSplitModifier.ets | 1 + .../arkui/generated/ScreenModifier.ets | 1 + .../arkui/generated/ScrollBarModifier.ets | 1 + .../arkui/generated/ScrollModifier.ets | 1 + .../ScrollableCommonMethodModifier.ets | 1 + .../arkui/generated/SearchModifier.ets | 13 +- .../arkui/generated/SelectModifier.ets | 45 + .../arkui/generated/ShapeModifier.ets | 71 +- .../generated/SideBarContainerModifier.ets | 55 +- .../arkui/generated/SliderModifier.ets | 1 + .../arkui/generated/SpanModifier.ets | 1 + .../arkui/generated/StackModifier.ets | 47 +- .../arkui/generated/StepperItemModifier.ets | 1 + .../arkui/generated/StepperModifier.ets | 1 + .../arkui/generated/SwiperModifier.ets | 3 +- .../arkui/generated/SymbolGlyphModifier.ets | 4 +- .../arkui/generated/SymbolSpanModifier.ets | 1 + .../arkui/generated/TabContentModifier.ets | 1 + .../arkui/generated/TabsModifier.ets | 1 + .../arkui/generated/TextAreaModifier.ets | 11 +- .../arkui/generated/TextClockModifier.ets | 1 + .../arkui/generated/TextInputModifier.ets | 11 +- .../arkui/generated/TextModifier.ets | 4 +- .../arkui/generated/TextPickerModifier.ets | 1 + .../arkui/generated/TextTimerModifier.ets | 1 + .../arkui/generated/TimePickerModifier.ets | 1 + .../arkui/generated/ToggleModifier.ets | 1 + .../ToolBarItemModifier.ets} | 38 +- .../UIExtensionComponentModifier.ets | 12 +- .../arkui/generated/VideoModifier.ets | 56 +- .../arkui/generated/WaterFlowModifier.ets | 1 + arkoala-arkts/arkui/generated/WebModifier.ets | 5248 +++ .../arkui/generated/WindowSceneModifier.ets | 1 + .../arkui/generated/WithThemeModifier.ets | 1 + .../arkui/generated/XComponentModifier.ets | 67 +- .../arkui/generated/component/actionSheet.ets | 1 - .../generated/component/alphabetIndexer.ets | 54 +- .../arkui/generated/component/animator.ets | 30 +- .../arkui/generated/component/badge.ets | 14 +- .../arkui/generated/component/blank.ets | 2 +- .../arkui/generated/component/button.ets | 30 +- .../generated/component/calendarPicker.ets | 10 +- .../arkui/generated/component/canvas.ets | 144 +- .../arkui/generated/component/checkbox.ets | 16 +- .../generated/component/checkboxgroup.ets | 14 +- .../arkui/generated/component/circle.ets | 88 +- .../arkui/generated/component/column.ets | 37 +- .../arkui/generated/component/columnSplit.ets | 6 +- .../arkui/generated/component/common.ets | 585 +- .../generated/component/containerSpan.ets | 2 +- .../arkui/generated/component/counter.ets | 8 +- .../component/customDialogController.ets | 1 - .../arkui/generated/component/dataPanel.ets | 14 +- .../arkui/generated/component/datePicker.ets | 16 +- .../arkui/generated/component/divider.ets | 8 +- .../arkui/generated/component/ellipse.ets | 70 +- .../generated/component/embeddedComponent.ets | 21 +- .../component/extendableComponent.ets | 1 - .../arkui/generated/component/flex.ets | 31 +- .../arkui/generated/component/focus.ets | 1 - .../arkui/generated/component/folderStack.ets | 12 +- .../{stateManagement.ets => forEach.ets} | 12 +- .../generated/component/formComponent.ets | 24 +- .../arkui/generated/component/formLink.ets | 2 +- .../arkui/generated/component/gauge.ets | 22 +- .../arkui/generated/component/gesture.ets | 1 - .../generated/component/gesture.extra.ets | 1 - .../arkui/generated/component/grid.ets | 266 +- .../arkui/generated/component/gridCol.ets | 8 +- .../arkui/generated/component/gridItem.ets | 16 +- .../arkui/generated/component/gridRow.ets | 6 +- .../arkui/generated/component/hyperlink.ets | 2 +- .../arkui/generated/component/idlize.ets | 27 +- .../arkui/generated/component/image.ets | 71 +- .../generated/component/imageAnimator.ets | 31 +- .../arkui/generated/component/imageCommon.ets | 1 - .../arkui/generated/component/imageSpan.ets | 17 +- .../component/indicatorcomponent.ets | 15 +- .../arkui/generated/component/inspector.ets | 2 +- .../arkui/generated/component/line.ets | 74 +- .../generated/component/linearindicator.ets | 8 +- .../arkui/generated/component/list.ets | 56 +- .../arkui/generated/component/listItem.ets | 10 +- .../generated/component/listItemGroup.ets | 6 +- .../generated/component/loadingProgress.ets | 8 +- .../arkui/generated/component/marquee.ets | 20 +- .../arkui/generated/component/matrix2d.ets | 79 +- .../generated/component/mediaCachedImage.ets | 5 +- .../arkui/generated/component/menu.ets | 12 +- .../arkui/generated/component/menuItem.ets | 16 +- .../generated/component/menuItemGroup.ets | 2 +- .../generated/component/navDestination.ets | 72 +- .../arkui/generated/component/navigation.ets | 100 +- .../arkui/generated/component/path.ets | 112 +- .../arkui/generated/component/patternLock.ets | 28 +- .../generated/component/pluginComponent.ets | 51 +- .../arkui/generated/component/polygon.ets | 72 +- .../arkui/generated/component/polyline.ets | 72 +- .../arkui/generated/component/progress.ets | 12 +- .../arkui/generated/component/qrcode.ets | 6 +- .../arkui/generated/component/radio.ets | 10 +- .../arkui/generated/component/rating.ets | 12 +- .../arkui/generated/component/rect.ets | 343 +- .../arkui/generated/component/refresh.ets | 14 +- .../generated/component/relativeContainer.ets | 6 +- .../generated/component/remoteWindow.ets | 2 +- .../arkui/generated/component/richEditor.ets | 127 +- .../arkui/generated/component/richText.ets | 4 +- .../arkui/generated/component/rootScene.ets | 2 +- .../arkui/generated/component/row.ets | 37 +- .../arkui/generated/component/rowSplit.ets | 2 +- .../arkui/generated/component/scroll.ets | 36 +- .../arkui/generated/component/scrollBar.ets | 4 +- .../arkui/generated/component/search.ets | 114 +- .../arkui/generated/component/select.ets | 102 +- .../arkui/generated/component/shape.ets | 289 +- .../arkui/generated/component/sidebar.ets | 110 +- .../arkui/generated/component/slider.ets | 44 +- .../arkui/generated/component/span.ets | 28 +- .../arkui/generated/component/stack.ets | 33 +- .../arkui/generated/component/stepper.ets | 13 +- .../arkui/generated/component/stepperItem.ets | 9 +- .../generated/component/styledString.ets | 20 +- .../arkui/generated/component/swiper.ets | 63 +- .../arkui/generated/component/symbolSpan.ets | 10 +- .../arkui/generated/component/symbolglyph.ets | 49 +- .../arkui/generated/component/tabContent.ets | 8 +- .../arkui/generated/component/tabs.ets | 58 +- .../arkui/generated/component/text.ets | 88 +- .../arkui/generated/component/textArea.ets | 146 +- .../arkui/generated/component/textClock.ets | 24 +- .../arkui/generated/component/textCommon.ets | 1 - .../arkui/generated/component/textInput.ets | 168 +- .../arkui/generated/component/textPicker.ets | 32 +- .../arkui/generated/component/textTimer.ets | 20 +- .../arkui/generated/component/timePicker.ets | 24 +- .../arkui/generated/component/toggle.ets | 12 +- .../arkui/generated/component/toolbar.ets | 135 + .../component/uiExtensionComponent.ets | 118 +- .../arkui/generated/component/units.ets | 1 - .../arkui/generated/component/video.ets | 144 +- .../arkui/generated/component/waterFlow.ets | 26 +- .../arkui/generated/component/web.ets | 7005 +++- .../arkui/generated/component/windowScene.ets | 2 +- .../arkui/generated/component/withTheme.ets | 2 +- .../arkui/generated/component/xcomponent.ets | 245 +- .../arkui/generated/framework/EnumsImpl.ets | 206 +- .../arkui/generated/framework/GlobalScope.ets | 6 +- .../framework/application.BaseContext.ets | 1 - .../framework/application.Context.ets | 1 - .../arkts/ArkUIGeneratedNativeModule.ets | 632 +- .../generated/framework/arkts/type_check.ets | 622 +- .../arkui/generated/framework/index.ets | 6 +- .../framework/ohos.app.ability.Want.ets | 1 - .../framework/ohos.app.ability.common.ets | 1 - .../framework/ohos.arkui.UIContext.ets | 1 - .../ohos.arkui.drawableDescriptor.ets | 1 - .../generated/framework/ohos.arkui.node.ets | 1 - .../framework/ohos.arkui.observer.ets | 5 +- .../generated/framework/ohos.arkui.shape.ets | 1 - .../generated/framework/ohos.arkui.theme.ets | 1 - .../arkui/generated/framework/ohos.base.ets | 1 - .../arkui/generated/framework/ohos.curves.ets | 1 - .../ohos.data.unifiedDataChannel.ets | 1 - .../arkui/generated/framework/ohos.font.ets | 1 - .../framework/ohos.graphics.common2D.ets | 1 - .../framework/ohos.graphics.drawing.ets | 1 - .../framework/ohos.graphics.text.ets | 1 - .../framework/ohos.graphics.uiEffect.ets | 1 - .../arkui/generated/framework/ohos.intl.ets | 1 - .../generated/framework/ohos.matrix4.ets | 1 - .../generated/framework/ohos.measure.ets | 1 - .../generated/framework/ohos.promptAction.ets | 1 - .../generated/framework/ohos.web.webview.ets | 121 + .../arkui/generated/framework/ohos.window.ets | 1 - .../peers/CallbackDeserializeCall.ets | 615 +- .../framework/peers/CallbackKind.ets | 64 +- .../arkui/generated/framework/resource.ets | 48 +- .../arkui/sdk/component/alphabetIndexer.ets | 52 +- .../arkui/sdk/component/animator.ets | 28 +- arkoala-arkts/arkui/sdk/component/blank.ets | 2 +- arkoala-arkts/arkui/sdk/component/builder.ets | 4 +- arkoala-arkts/arkui/sdk/component/button.ets | 28 +- .../arkui/sdk/component/calendarPicker.ets | 8 +- arkoala-arkts/arkui/sdk/component/canvas.ets | 25 +- .../arkui/sdk/component/checkbox.ets | 14 +- .../arkui/sdk/component/checkboxgroup.ets | 12 +- arkoala-arkts/arkui/sdk/component/circle.ets | 4 +- arkoala-arkts/arkui/sdk/component/column.ets | 15 +- .../arkui/sdk/component/columnSplit.ets | 4 +- arkoala-arkts/arkui/sdk/component/common.ets | 488 +- .../arkui/sdk/component/containerSpan.ets | 2 +- arkoala-arkts/arkui/sdk/component/counter.ets | 8 +- .../arkui/sdk/component/dataPanel.ets | 12 +- .../arkui/sdk/component/datePicker.ets | 14 +- arkoala-arkts/arkui/sdk/component/divider.ets | 8 +- arkoala-arkts/arkui/sdk/component/ellipse.ets | 2 + .../arkui/sdk/component/embeddedComponent.ets | 6 +- .../sdk/component/extendableComponent.ets | 3 +- arkoala-arkts/arkui/sdk/component/flex.ets | 9 +- .../arkui/sdk/component/folderStack.ets | 10 +- .../{stateManagement.ets => forEach.ets} | 12 +- .../arkui/sdk/component/formComponent.ets | 22 +- arkoala-arkts/arkui/sdk/component/gauge.ets | 20 +- arkoala-arkts/arkui/sdk/component/grid.ets | 88 +- arkoala-arkts/arkui/sdk/component/gridCol.ets | 6 +- .../arkui/sdk/component/gridItem.ets | 14 +- arkoala-arkts/arkui/sdk/component/gridRow.ets | 4 +- .../arkui/sdk/component/hyperlink.ets | 2 +- arkoala-arkts/arkui/sdk/component/idlize.ets | 6 +- arkoala-arkts/arkui/sdk/component/image.ets | 54 +- .../arkui/sdk/component/imageAnimator.ets | 26 +- .../arkui/sdk/component/imageSpan.ets | 12 +- .../sdk/component/indicatorcomponent.ets | 13 +- arkoala-arkts/arkui/sdk/component/line.ets | 6 +- .../arkui/sdk/component/linearindicator.ets | 6 +- arkoala-arkts/arkui/sdk/component/list.ets | 54 +- .../arkui/sdk/component/listItem.ets | 8 +- .../arkui/sdk/component/listItemGroup.ets | 4 +- .../arkui/sdk/component/loadingProgress.ets | 6 +- arkoala-arkts/arkui/sdk/component/marquee.ets | 18 +- .../arkui/sdk/component/matrix2d.ets | 18 +- arkoala-arkts/arkui/sdk/component/menu.ets | 12 +- .../arkui/sdk/component/menuItem.ets | 14 +- .../arkui/sdk/component/navDestination.ets | 67 +- .../arkui/sdk/component/navigation.ets | 66 +- arkoala-arkts/arkui/sdk/component/path.ets | 10 + .../arkui/sdk/component/patternLock.ets | 26 +- .../arkui/sdk/component/pluginComponent.ets | 13 +- arkoala-arkts/arkui/sdk/component/polygon.ets | 4 +- .../arkui/sdk/component/polyline.ets | 4 +- .../arkui/sdk/component/progress.ets | 10 +- arkoala-arkts/arkui/sdk/component/qrcode.ets | 6 +- arkoala-arkts/arkui/sdk/component/radio.ets | 8 +- arkoala-arkts/arkui/sdk/component/rating.ets | 10 +- arkoala-arkts/arkui/sdk/component/rect.ets | 28 +- arkoala-arkts/arkui/sdk/component/refresh.ets | 12 +- .../arkui/sdk/component/relativeContainer.ets | 4 +- .../arkui/sdk/component/richEditor.ets | 75 +- .../arkui/sdk/component/richText.ets | 4 +- arkoala-arkts/arkui/sdk/component/row.ets | 15 +- .../arkui/sdk/component/rowSplit.ets | 2 +- arkoala-arkts/arkui/sdk/component/scroll.ets | 34 +- .../arkui/sdk/component/scrollBar.ets | 2 +- arkoala-arkts/arkui/sdk/component/search.ets | 96 +- arkoala-arkts/arkui/sdk/component/select.ets | 61 +- arkoala-arkts/arkui/sdk/component/shape.ets | 60 +- arkoala-arkts/arkui/sdk/component/sidebar.ets | 37 +- arkoala-arkts/arkui/sdk/component/slider.ets | 42 +- arkoala-arkts/arkui/sdk/component/span.ets | 26 +- arkoala-arkts/arkui/sdk/component/stack.ets | 11 +- arkoala-arkts/arkui/sdk/component/stepper.ets | 11 +- .../arkui/sdk/component/stepperItem.ets | 7 +- .../arkui/sdk/component/styledString.ets | 4 +- arkoala-arkts/arkui/sdk/component/swiper.ets | 61 +- .../arkui/sdk/component/symbolSpan.ets | 10 +- .../arkui/sdk/component/symbolglyph.ets | 19 +- .../arkui/sdk/component/tabContent.ets | 6 +- arkoala-arkts/arkui/sdk/component/tabs.ets | 56 +- arkoala-arkts/arkui/sdk/component/text.ets | 86 +- .../arkui/sdk/component/textArea.ets | 124 +- .../arkui/sdk/component/textClock.ets | 22 +- .../arkui/sdk/component/textInput.ets | 146 +- .../arkui/sdk/component/textPicker.ets | 30 +- .../arkui/sdk/component/textTimer.ets | 18 +- .../arkui/sdk/component/timePicker.ets | 22 +- arkoala-arkts/arkui/sdk/component/toggle.ets | 10 +- .../repeat.ets => sdk/component/toolbar.ets} | 36 +- .../sdk/component/uiExtensionComponent.ets | 29 +- arkoala-arkts/arkui/sdk/component/video.ets | 56 +- .../arkui/sdk/component/waterFlow.ets | 24 +- arkoala-arkts/arkui/sdk/component/web.ets | 1480 +- .../arkui/sdk/component/windowScene.ets | 2 +- .../arkui/sdk/component/xcomponent.ets | 58 +- arkoala-arkts/arkui/sdk/framework/index.ets | 5 +- .../ohos.web.webview.ets} | 23 +- arkoala-arkts/arkui/src/Storage.ets | 2 +- .../arkui/src/component/stateManagement.ets | 28 + arkoala-arkts/arkui/src/index.ets | 1 + arkoala-arkts/arkui/src/resources.ets | 6 +- .../native/src/generated/Serializers.h | 16713 +++++++-- .../src/generated/arkoala_api_generated.h | 3202 +- .../native/src/generated/bridge_generated.cc | 3891 +- .../generated/callback_deserialize_call.cc | 1348 +- .../native/src/generated/callback_kind.h | 62 +- .../src/generated/callback_managed_caller.cc | 1808 +- .../native/src/generated/dummy_impl.cc | 30962 +++++++++------- .../native/src/generated/real_impl.cc | 15826 ++++---- .../modules/global.resource/src/resource.ets | 2 +- .../tools/peer-generator/config-arkui.json | 1 + 368 files changed, 68607 insertions(+), 30579 deletions(-) rename arkoala-arkts/arkui/{sdk/component/customComponent.ets => generated/ToolBarItemModifier.ets} (39%) create mode 100644 arkoala-arkts/arkui/generated/WebModifier.ets rename arkoala-arkts/arkui/generated/component/{stateManagement.ets => forEach.ets} (86%) create mode 100644 arkoala-arkts/arkui/generated/component/toolbar.ets create mode 100644 arkoala-arkts/arkui/generated/framework/ohos.web.webview.ets rename arkoala-arkts/arkui/sdk/component/{stateManagement.ets => forEach.ets} (86%) rename arkoala-arkts/arkui/{generated/component/repeat.ets => sdk/component/toolbar.ets} (54%) rename arkoala-arkts/arkui/sdk/{component/repeat.ets => framework/ohos.web.webview.ets} (65%) create mode 100644 arkoala-arkts/arkui/src/component/stateManagement.ets diff --git a/arkoala-arkts/arkui/generated/AlphabetIndexerModifier.ets b/arkoala-arkts/arkui/generated/AlphabetIndexerModifier.ets index 5594afb5a..13e0ce590 100644 --- a/arkoala-arkts/arkui/generated/AlphabetIndexerModifier.ets +++ b/arkoala-arkts/arkui/generated/AlphabetIndexerModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkAlphabetIndexerPeer, OnAlphabetIndexerSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerPopupSelectCallback, AlphabetIndexerAttribute, IndexerAlign } from "./component/alphabetIndexer" +import { int32 } from "@koalaui/common" import { CommonMethod, Bindable, BlurStyle } from "./component/common" import { ResourceColor, Font, Position, Length } from "./component/units" import { Color } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/AnimatorModifier.ets b/arkoala-arkts/arkui/generated/AnimatorModifier.ets index d367f903d..5c34b8b39 100644 --- a/arkoala-arkts/arkui/generated/AnimatorModifier.ets +++ b/arkoala-arkts/arkui/generated/AnimatorModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkAnimatorPeer, SpringMotion, FrictionMotion, ScrollMotion, AnimatorAttribute } from "./component/animator" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { AnimationStatus, FillMode, PlayMode } from "./component/enums" import { curves } from "./framework/ohos.curves" diff --git a/arkoala-arkts/arkui/generated/BadgeModifier.ets b/arkoala-arkts/arkui/generated/BadgeModifier.ets index ea75acd8c..9c48267ca 100644 --- a/arkoala-arkts/arkui/generated/BadgeModifier.ets +++ b/arkoala-arkts/arkui/generated/BadgeModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkBadgePeer, BadgeAttribute } from "./component/badge" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class BadgeModifier extends CommonMethodModifier implements BadgeAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/BaseSpanModifier.ets b/arkoala-arkts/arkui/generated/BaseSpanModifier.ets index c7e0e6cdf..416873d7b 100644 --- a/arkoala-arkts/arkui/generated/BaseSpanModifier.ets +++ b/arkoala-arkts/arkui/generated/BaseSpanModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkBaseSpanPeer, TextBackgroundStyle, BaseSpan } from "./component/span" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { LengthMetrics } from "./Graphics" export class BaseSpanModifier extends CommonMethodModifier implements BaseSpan,AttributeModifier { diff --git a/arkoala-arkts/arkui/generated/BlankModifier.ets b/arkoala-arkts/arkui/generated/BlankModifier.ets index b92f3918a..84fc863e0 100644 --- a/arkoala-arkts/arkui/generated/BlankModifier.ets +++ b/arkoala-arkts/arkui/generated/BlankModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkBlankPeer, BlankAttribute } from "./component/blank" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { ResourceColor } from "./component/units" import { Color } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/ButtonModifier.ets b/arkoala-arkts/arkui/generated/ButtonModifier.ets index fd06d4f97..dc5feb689 100644 --- a/arkoala-arkts/arkui/generated/ButtonModifier.ets +++ b/arkoala-arkts/arkui/generated/ButtonModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier, ContentModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkButtonPeer, ButtonType, ButtonStyleMode, ControlSize, ButtonRole, ButtonConfiguration, ButtonLabelStyle, ButtonAttribute } from "./component/button" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { ResourceColor, Length } from "./component/units" import { Color, FontWeight, FontStyle } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/CalendarPickerModifier.ets b/arkoala-arkts/arkui/generated/CalendarPickerModifier.ets index 90e574a72..2381a69ae 100644 --- a/arkoala-arkts/arkui/generated/CalendarPickerModifier.ets +++ b/arkoala-arkts/arkui/generated/CalendarPickerModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkCalendarPickerPeer, CalendarPickerAttribute, CalendarAlign } from "./component/calendarPicker" +import { int32 } from "@koalaui/common" import { CommonMethod, PickerTextStyle } from "./component/common" import { Offset } from "./component/units" export class CalendarPickerModifier extends CommonMethodModifier implements CalendarPickerAttribute,AttributeModifier { diff --git a/arkoala-arkts/arkui/generated/CanvasModifier.ets b/arkoala-arkts/arkui/generated/CanvasModifier.ets index dda18fc13..5d8d6e602 100644 --- a/arkoala-arkts/arkui/generated/CanvasModifier.ets +++ b/arkoala-arkts/arkui/generated/CanvasModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkCanvasPeer, CanvasAttribute } from "./component/canvas" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { VoidCallback } from "./component/units" export class CanvasModifier extends CommonMethodModifier implements CanvasAttribute,AttributeModifier { diff --git a/arkoala-arkts/arkui/generated/CheckboxGroupModifier.ets b/arkoala-arkts/arkui/generated/CheckboxGroupModifier.ets index 43f18aa86..7027de78a 100644 --- a/arkoala-arkts/arkui/generated/CheckboxGroupModifier.ets +++ b/arkoala-arkts/arkui/generated/CheckboxGroupModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkCheckboxGroupPeer, OnCheckboxGroupChangeCallback, CheckboxGroupResult, CheckboxGroupAttribute } from "./component/checkboxgroup" +import { int32 } from "@koalaui/common" import { CommonMethod, Bindable } from "./component/common" import { ResourceColor, MarkStyle } from "./component/units" import { Color, CheckBoxShape } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/CheckboxModifier.ets b/arkoala-arkts/arkui/generated/CheckboxModifier.ets index cff7541a5..6e8a3975f 100644 --- a/arkoala-arkts/arkui/generated/CheckboxModifier.ets +++ b/arkoala-arkts/arkui/generated/CheckboxModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier, ContentModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkCheckboxPeer, OnCheckboxChangeCallback, CheckBoxConfiguration, CheckboxAttribute } from "./component/checkbox" +import { int32 } from "@koalaui/common" import { CommonMethod, Bindable } from "./component/common" import { ResourceColor, MarkStyle } from "./component/units" import { Color, CheckBoxShape } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/CircleModifier.ets b/arkoala-arkts/arkui/generated/CircleModifier.ets index 5fb47b1ba..992281869 100644 --- a/arkoala-arkts/arkui/generated/CircleModifier.ets +++ b/arkoala-arkts/arkui/generated/CircleModifier.ets @@ -21,6 +21,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkCirclePeer, CircleAttribute } from "./component/circle" +import { int32 } from "@koalaui/common" import { CommonShapeMethod, CommonMethod } from "./component/common" export class CircleModifier extends CommonShapeMethodModifier implements CircleAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/ColumnModifier.ets b/arkoala-arkts/arkui/generated/ColumnModifier.ets index 726d73ea3..cfc8c378e 100644 --- a/arkoala-arkts/arkui/generated/ColumnModifier.ets +++ b/arkoala-arkts/arkui/generated/ColumnModifier.ets @@ -20,7 +20,8 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkColumnPeer, ColumnAttribute } from "./component/column" -import { CommonMethod, PointLightStyle } from "./component/common" +import { int32 } from "@koalaui/common" +import { CommonMethod } from "./component/common" import { HorizontalAlign, FlexAlign } from "./component/enums" export class ColumnModifier extends CommonMethodModifier implements ColumnAttribute,AttributeModifier { _instanceId: number = -1; @@ -37,8 +38,6 @@ export class ColumnModifier extends CommonMethodModifier implements ColumnAttrib _alignItems_0_0value?: HorizontalAlign | undefined _justifyContent_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _justifyContent_0_0value?: FlexAlign | undefined - _pointLight_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _pointLight_0_0value?: PointLightStyle | undefined _reverse_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _reverse_0_0value?: boolean | undefined applyModifierPatch(peer: ArkColumnPeer): void { @@ -79,24 +78,6 @@ export class ColumnModifier extends CommonMethodModifier implements ColumnAttrib } } } - if (this._pointLight_0_flag != AttributeUpdaterFlag.INITIAL) - { - switch (this._pointLight_0_flag) { - case AttributeUpdaterFlag.UPDATE: { - peer.setPointLightAttribute((this._pointLight_0_0value as PointLightStyle | undefined)); - this._pointLight_0_flag = AttributeUpdaterFlag.RESET; - break; - } - case AttributeUpdaterFlag.SKIP: { - this._pointLight_0_flag = AttributeUpdaterFlag.RESET; - break; - } - default: { - this._pointLight_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setPointLightAttribute((undefined as PointLightStyle | undefined)); - } - } - } if (this._reverse_0_flag != AttributeUpdaterFlag.INITIAL) { switch (this._reverse_0_flag) { @@ -144,19 +125,6 @@ export class ColumnModifier extends CommonMethodModifier implements ColumnAttrib } } } - if (modifier._pointLight_0_flag != AttributeUpdaterFlag.INITIAL) - { - switch (modifier._pointLight_0_flag) { - case AttributeUpdaterFlag.UPDATE: - case AttributeUpdaterFlag.SKIP: { - this.pointLight(modifier._pointLight_0_0value); - break; - } - default: { - this.pointLight((undefined as PointLightStyle | undefined)); - } - } - } if (modifier._reverse_0_flag != AttributeUpdaterFlag.INITIAL) { switch (modifier._reverse_0_flag) { @@ -193,17 +161,6 @@ export class ColumnModifier extends CommonMethodModifier implements ColumnAttrib } return this } - pointLight(value: PointLightStyle | undefined): this { - if (((this._pointLight_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) - { - this._pointLight_0_flag = AttributeUpdaterFlag.UPDATE - this._pointLight_0_0value = value - } else - { - this._pointLight_0_flag = AttributeUpdaterFlag.SKIP - } - return this - } reverse(value: boolean | undefined): this { if (((this._reverse_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._reverse_0_0value) !== (value))) { diff --git a/arkoala-arkts/arkui/generated/ColumnSplitModifier.ets b/arkoala-arkts/arkui/generated/ColumnSplitModifier.ets index f4e405655..8b9113baf 100644 --- a/arkoala-arkts/arkui/generated/ColumnSplitModifier.ets +++ b/arkoala-arkts/arkui/generated/ColumnSplitModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkColumnSplitPeer, ColumnSplitDividerStyle, ColumnSplitAttribute } from "./component/columnSplit" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class ColumnSplitModifier extends CommonMethodModifier implements ColumnSplitAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/CommonMethodModifier.ets b/arkoala-arkts/arkui/generated/CommonMethodModifier.ets index 6392d8586..694c0cfcd 100644 --- a/arkoala-arkts/arkui/generated/CommonMethodModifier.ets +++ b/arkoala-arkts/arkui/generated/CommonMethodModifier.ets @@ -19,6 +19,7 @@ import { AttributeModifier, GestureModifier, extractors } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkCommonMethodPeer, LayoutPolicy, DrawModifier, Rectangle, TouchTestInfo, TouchResult, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, BorderImageOption, OutlineStyle, ClickEvent, HoverEvent, AccessibilityCallback, AccessibilityHoverEvent, MouseEvent, TouchEvent, KeyEvent, CrownEvent, FocusAxisEvent, AxisEvent, FocusMovement, AnimateParam, TransitionEffect, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, DragEvent, DragItemInfo, PreDragStatus, LinearGradientOptions, SweepGradientOptions, RadialGradientOptions, MotionPathOptions, ShadowOptions, ShadowStyle, ProgressMask, StateStyles, PixelStretchEffectOptions, AccessibilitySamePageMode, AccessibilityRoleType, AccessibilityFocusCallback, ReuseOptions, BackgroundBrightnessOptions, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, CustomProperty, SafeAreaType, SafeAreaEdge, BackgroundOptions, BackgroundImageOptions, BlurStyle, BackgroundBlurStyleOptions, SystemAdaptiveOptions, ForegroundBlurStyleOptions, TransitionFinishCallback, BlurOptions, LinearGradientBlurOptions, EffectType, sharedTransitionOptions, ChainStyle, OnDragEventCallback, DropOptions, PreviewConfiguration, DragPreviewOptions, DragInteractionOptions, OverlayOptions, BlendMode, BlendApplyType, GeometryTransitionOptions, TipsMessageType, TipsOptions, PopupOptions, CustomPopupOptions, MenuElement, MenuOptions, ContextMenuOptions, Bindable, ModalTransition, ContentCoverOptions, SheetOptions, VisibleAreaChangeCallback, VisibleAreaEventOptions, CommonMethod } from "./component/common" +import { int32 } from "@koalaui/common" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, VoidCallback, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions } from "./component/units" import { Resource } from "global.resource" import { HitTestMode, Color, ImageSize, Alignment, BorderStyle, ColoringStrategy, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, FocusDrawLevel, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey } from "./component/enums" @@ -2264,7 +2265,7 @@ export class CommonMethodModifier implements CommonMethod,AttributeModifier { _instanceId: number = -1; setInstanceId(instanceId: number): void { diff --git a/arkoala-arkts/arkui/generated/ContainerSpanModifier.ets b/arkoala-arkts/arkui/generated/ContainerSpanModifier.ets index 9cfc5b627..7a4108033 100644 --- a/arkoala-arkts/arkui/generated/ContainerSpanModifier.ets +++ b/arkoala-arkts/arkui/generated/ContainerSpanModifier.ets @@ -19,6 +19,7 @@ import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkContainerSpanPeer, ContainerSpanAttribute } from "./component/containerSpan" +import { int32 } from "@koalaui/common" import { TextBackgroundStyle } from "./component/span" export class ContainerSpanModifier implements ContainerSpanAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/CounterModifier.ets b/arkoala-arkts/arkui/generated/CounterModifier.ets index c697797a2..5c207fdf9 100644 --- a/arkoala-arkts/arkui/generated/CounterModifier.ets +++ b/arkoala-arkts/arkui/generated/CounterModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkCounterPeer, CounterAttribute } from "./component/counter" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { VoidCallback } from "./component/units" export class CounterModifier extends CommonMethodModifier implements CounterAttribute,AttributeModifier { diff --git a/arkoala-arkts/arkui/generated/CustomBuilderRootModifier.ets b/arkoala-arkts/arkui/generated/CustomBuilderRootModifier.ets index 850adce12..3793000a7 100644 --- a/arkoala-arkts/arkui/generated/CustomBuilderRootModifier.ets +++ b/arkoala-arkts/arkui/generated/CustomBuilderRootModifier.ets @@ -19,6 +19,7 @@ import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkCustomBuilderRootPeer, CustomBuilderRoot } from "./component/idlize" +import { int32 } from "@koalaui/common" export class CustomBuilderRootModifier implements CustomBuilderRoot,AttributeModifier { _instanceId: number = -1; setInstanceId(instanceId: number): void { diff --git a/arkoala-arkts/arkui/generated/CustomLayoutRootModifier.ets b/arkoala-arkts/arkui/generated/CustomLayoutRootModifier.ets index 226bcb545..9bdfcaec9 100644 --- a/arkoala-arkts/arkui/generated/CustomLayoutRootModifier.ets +++ b/arkoala-arkts/arkui/generated/CustomLayoutRootModifier.ets @@ -19,6 +19,7 @@ import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkCustomLayoutRootPeer, Callback_onMeasureSize_SizeResult, Callback_onPlaceChildren_Void, CustomLayoutRoot } from "./component/idlize" +import { int32 } from "@koalaui/common" import { GeometryInfo, Measurable, Layoutable } from "./component/common" import { ConstraintSizeOptions } from "./component/units" export class CustomLayoutRootModifier implements CustomLayoutRoot,AttributeModifier { diff --git a/arkoala-arkts/arkui/generated/DataPanelModifier.ets b/arkoala-arkts/arkui/generated/DataPanelModifier.ets index a42faa36c..d81d58b2b 100644 --- a/arkoala-arkts/arkui/generated/DataPanelModifier.ets +++ b/arkoala-arkts/arkui/generated/DataPanelModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier, ContentModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkDataPanelPeer, LinearGradient, DataPanelShadowOptions, DataPanelConfiguration, DataPanelAttribute } from "./component/dataPanel" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { ResourceColor, Length } from "./component/units" import { Color } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/DatePickerModifier.ets b/arkoala-arkts/arkui/generated/DatePickerModifier.ets index 4b1f35ade..58e3a9eca 100644 --- a/arkoala-arkts/arkui/generated/DatePickerModifier.ets +++ b/arkoala-arkts/arkui/generated/DatePickerModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkDatePickerPeer, DatePickerAttribute } from "./component/datePicker" +import { int32 } from "@koalaui/common" import { CommonMethod, PickerTextStyle } from "./component/common" import { CrownSensitivity } from "./component/enums" export class DatePickerModifier extends CommonMethodModifier implements DatePickerAttribute,AttributeModifier { diff --git a/arkoala-arkts/arkui/generated/DividerModifier.ets b/arkoala-arkts/arkui/generated/DividerModifier.ets index e6c5d430e..363676262 100644 --- a/arkoala-arkts/arkui/generated/DividerModifier.ets +++ b/arkoala-arkts/arkui/generated/DividerModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkDividerPeer, DividerAttribute } from "./component/divider" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { ResourceColor } from "./component/units" import { Color, LineCapStyle } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/EffectComponentModifier.ets b/arkoala-arkts/arkui/generated/EffectComponentModifier.ets index 21db79fbc..52771ea84 100644 --- a/arkoala-arkts/arkui/generated/EffectComponentModifier.ets +++ b/arkoala-arkts/arkui/generated/EffectComponentModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkEffectComponentPeer, EffectComponentAttribute } from "./component/effectComponent" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class EffectComponentModifier extends CommonMethodModifier implements EffectComponentAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/EllipseModifier.ets b/arkoala-arkts/arkui/generated/EllipseModifier.ets index 53c35ecf5..443fdb698 100644 --- a/arkoala-arkts/arkui/generated/EllipseModifier.ets +++ b/arkoala-arkts/arkui/generated/EllipseModifier.ets @@ -21,6 +21,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkEllipsePeer, EllipseAttribute } from "./component/ellipse" +import { int32 } from "@koalaui/common" import { CommonShapeMethod, CommonMethod } from "./component/common" export class EllipseModifier extends CommonShapeMethodModifier implements EllipseAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/EmbeddedComponentModifier.ets b/arkoala-arkts/arkui/generated/EmbeddedComponentModifier.ets index 89a6ad62a..ff6d216d6 100644 --- a/arkoala-arkts/arkui/generated/EmbeddedComponentModifier.ets +++ b/arkoala-arkts/arkui/generated/EmbeddedComponentModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkEmbeddedComponentPeer, EmbeddedComponentAttribute } from "./component/embeddedComponent" +import { int32 } from "@koalaui/common" import { CommonMethod, TerminationInfo } from "./component/common" import { ErrorCallback, BusinessError } from "./framework/ohos.base" export class EmbeddedComponentModifier extends CommonMethodModifier implements EmbeddedComponentAttribute,AttributeModifier { diff --git a/arkoala-arkts/arkui/generated/FlexModifier.ets b/arkoala-arkts/arkui/generated/FlexModifier.ets index 6cc3eab54..cc5e6ae52 100644 --- a/arkoala-arkts/arkui/generated/FlexModifier.ets +++ b/arkoala-arkts/arkui/generated/FlexModifier.ets @@ -20,7 +20,8 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkFlexPeer, FlexAttribute } from "./component/flex" -import { CommonMethod, PointLightStyle } from "./component/common" +import { int32 } from "@koalaui/common" +import { CommonMethod } from "./component/common" export class FlexModifier extends CommonMethodModifier implements FlexAttribute,AttributeModifier { _instanceId: number = -1; setInstanceId(instanceId: number): void { @@ -32,55 +33,11 @@ export class FlexModifier extends CommonMethodModifier implements FlexAttribute, applyFocusedAttribute(instance: FlexAttribute): void { } applyDisabledAttribute(instance: FlexAttribute): void { } applySelectedAttribute(instance: FlexAttribute): void { } - _pointLight_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _pointLight_0_0value?: PointLightStyle | undefined applyModifierPatch(peer: ArkFlexPeer): void { super.applyModifierPatch(peer) - if (this._pointLight_0_flag != AttributeUpdaterFlag.INITIAL) - { - switch (this._pointLight_0_flag) { - case AttributeUpdaterFlag.UPDATE: { - peer.setPointLightAttribute((this._pointLight_0_0value as PointLightStyle | undefined)); - this._pointLight_0_flag = AttributeUpdaterFlag.RESET; - break; - } - case AttributeUpdaterFlag.SKIP: { - this._pointLight_0_flag = AttributeUpdaterFlag.RESET; - break; - } - default: { - this._pointLight_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setPointLightAttribute((undefined as PointLightStyle | undefined)); - } - } - } } mergeModifier(modifier: FlexModifier): void { super.mergeModifier(modifier) - if (modifier._pointLight_0_flag != AttributeUpdaterFlag.INITIAL) - { - switch (modifier._pointLight_0_flag) { - case AttributeUpdaterFlag.UPDATE: - case AttributeUpdaterFlag.SKIP: { - this.pointLight(modifier._pointLight_0_0value); - break; - } - default: { - this.pointLight((undefined as PointLightStyle | undefined)); - } - } - } - } - pointLight(value: PointLightStyle | undefined): this { - if (((this._pointLight_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) - { - this._pointLight_0_flag = AttributeUpdaterFlag.UPDATE - this._pointLight_0_0value = value - } else - { - this._pointLight_0_flag = AttributeUpdaterFlag.SKIP - } - return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") diff --git a/arkoala-arkts/arkui/generated/FlowItemModifier.ets b/arkoala-arkts/arkui/generated/FlowItemModifier.ets index e64610767..4192cbf6e 100644 --- a/arkoala-arkts/arkui/generated/FlowItemModifier.ets +++ b/arkoala-arkts/arkui/generated/FlowItemModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkFlowItemPeer, FlowItemAttribute } from "./component/flowItem" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class FlowItemModifier extends CommonMethodModifier implements FlowItemAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/FolderStackModifier.ets b/arkoala-arkts/arkui/generated/FolderStackModifier.ets index 47acc45ec..f4cbb43b9 100644 --- a/arkoala-arkts/arkui/generated/FolderStackModifier.ets +++ b/arkoala-arkts/arkui/generated/FolderStackModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkFolderStackPeer, OnFoldStatusChangeCallback, OnFoldStatusChangeInfo, OnHoverStatusChangeCallback, HoverEventParam, FolderStackAttribute } from "./component/folderStack" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { Alignment } from "./component/enums" export class FolderStackModifier extends CommonMethodModifier implements FolderStackAttribute,AttributeModifier { diff --git a/arkoala-arkts/arkui/generated/FormComponentModifier.ets b/arkoala-arkts/arkui/generated/FormComponentModifier.ets index 7cb98e6ae..8714f8be5 100644 --- a/arkoala-arkts/arkui/generated/FormComponentModifier.ets +++ b/arkoala-arkts/arkui/generated/FormComponentModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkFormComponentPeer, FormSize, FormDimension, FormCallbackInfo, ErrorInformation, FormComponentAttribute } from "./component/formComponent" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { Visibility } from "./component/enums" import { VoidCallback } from "./component/units" diff --git a/arkoala-arkts/arkui/generated/FormLinkModifier.ets b/arkoala-arkts/arkui/generated/FormLinkModifier.ets index 9c6a2db90..97a577e26 100644 --- a/arkoala-arkts/arkui/generated/FormLinkModifier.ets +++ b/arkoala-arkts/arkui/generated/FormLinkModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkFormLinkPeer, FormLinkAttribute } from "./component/formLink" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class FormLinkModifier extends CommonMethodModifier implements FormLinkAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/FrameNode.ets b/arkoala-arkts/arkui/generated/FrameNode.ets index 755bffc3d..48365a59d 100644 --- a/arkoala-arkts/arkui/generated/FrameNode.ets +++ b/arkoala-arkts/arkui/generated/FrameNode.ets @@ -25,7 +25,6 @@ import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { extractors } from "#handwritten" export class FrameNodeInternal { public static fromPtr(ptr: KPointer): FrameNode { return new FrameNode(false, ptr) diff --git a/arkoala-arkts/arkui/generated/GaugeModifier.ets b/arkoala-arkts/arkui/generated/GaugeModifier.ets index 1c507e413..bc5174e22 100644 --- a/arkoala-arkts/arkui/generated/GaugeModifier.ets +++ b/arkoala-arkts/arkui/generated/GaugeModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier, ContentModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkGaugePeer, GaugeShadowOptions, GaugeIndicatorOptions, GaugeConfiguration, GaugeAttribute } from "./component/gauge" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { ResourceColor, Length } from "./component/units" import { Color } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/Graphics.ets b/arkoala-arkts/arkui/generated/Graphics.ets index 386673a6d..faca04071 100644 --- a/arkoala-arkts/arkui/generated/Graphics.ets +++ b/arkoala-arkts/arkui/generated/Graphics.ets @@ -29,7 +29,6 @@ import { common2D_Rect_serializer, common2D } from "./framework/ohos.graphics.co import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { GlobalScope } from "./framework/GlobalScope" -import { extractors } from "#handwritten" export class ColorMetricsInternal { public static fromPtr(ptr: KPointer): ColorMetrics { return new ColorMetrics(ptr) diff --git a/arkoala-arkts/arkui/generated/GridColModifier.ets b/arkoala-arkts/arkui/generated/GridColModifier.ets index 389dba5c2..90e7ecbd0 100644 --- a/arkoala-arkts/arkui/generated/GridColModifier.ets +++ b/arkoala-arkts/arkui/generated/GridColModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkGridColPeer, GridColColumnOption, GridColAttribute } from "./component/gridCol" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class GridColModifier extends CommonMethodModifier implements GridColAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/GridItemModifier.ets b/arkoala-arkts/arkui/generated/GridItemModifier.ets index a52f9fec2..741e4bc5f 100644 --- a/arkoala-arkts/arkui/generated/GridItemModifier.ets +++ b/arkoala-arkts/arkui/generated/GridItemModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkGridItemPeer, GridItemAttribute } from "./component/gridItem" +import { int32 } from "@koalaui/common" import { CommonMethod, Bindable } from "./component/common" export class GridItemModifier extends CommonMethodModifier implements GridItemAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/GridModifier.ets b/arkoala-arkts/arkui/generated/GridModifier.ets index 297150ee8..8e94f468e 100644 --- a/arkoala-arkts/arkui/generated/GridModifier.ets +++ b/arkoala-arkts/arkui/generated/GridModifier.ets @@ -21,12 +21,13 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkGridPeer, ComputedBarAttribute, GridDirection, GridItemAlignment, GridAttribute } from "./component/grid" -import { ScrollableCommonMethod, OnItemDragStartCallback, ItemDragInfo, OnWillScrollCallback, OnScrollCallback, CommonMethod } from "./component/common" +import { int32 } from "@koalaui/common" +import { ScrollableCommonMethod, OnItemDragStartCallback, ItemDragInfo, NestedScrollOptions, OnWillScrollCallback, OnScrollCallback, CommonMethod, EdgeEffectOptions } from "./component/common" import { Length } from "./component/units" import { Resource } from "global.resource" +import { Color, BarState, ScrollSource, EdgeEffect } from "./component/enums" import { OnScrollFrameBeginCallback } from "./component/scroll" import { ScrollState } from "./component/list" -import { ScrollSource } from "./component/enums" export class GridModifier extends ScrollableCommonMethodModifier implements GridAttribute,AttributeModifier { _instanceId: number = -1; setInstanceId(instanceId: number): void { @@ -46,6 +47,12 @@ export class GridModifier extends ScrollableCommonMethodModifier implements Grid _columnsGap_0_0value?: Length | undefined _rowsGap_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _rowsGap_0_0value?: Length | undefined + _scrollBarWidth_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _scrollBarWidth_0_0value?: number | string | undefined + _scrollBarColor_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _scrollBarColor_0_0value?: Color | number | string | undefined + _scrollBar_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _scrollBar_0_0value?: BarState | undefined _onScrollBarUpdate_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _onScrollBarUpdate_0_0value?: ((index: number,offset: number) => ComputedBarAttribute) | undefined _onScrollIndex_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL @@ -76,6 +83,12 @@ export class GridModifier extends ScrollableCommonMethodModifier implements Grid _onItemDragLeave_0_0value?: ((event: ItemDragInfo,itemIndex: number) => void) | undefined _onItemDrop_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _onItemDrop_0_0value?: ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void) | undefined + _nestedScroll_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _nestedScroll_0_0value?: NestedScrollOptions | undefined + _enableScrollInteraction_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _enableScrollInteraction_0_0value?: boolean | undefined + _friction_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _friction_0_0value?: number | Resource | undefined _alignItems_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _alignItems_0_0value?: GridItemAlignment | undefined _onScrollFrameBegin_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL @@ -87,6 +100,9 @@ export class GridModifier extends ScrollableCommonMethodModifier implements Grid _cachedCount_1_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _cachedCount_1_0value?: number | undefined _cachedCount_1_1value?: boolean | undefined + _edgeEffect_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _edgeEffect_0_0value?: EdgeEffect | undefined + _edgeEffect_0_1value?: EdgeEffectOptions | undefined applyModifierPatch(peer: ArkGridPeer): void { super.applyModifierPatch(peer) if (this._columnsTemplate_0_flag != AttributeUpdaterFlag.INITIAL) @@ -161,6 +177,60 @@ export class GridModifier extends ScrollableCommonMethodModifier implements Grid } } } + if (this._scrollBarWidth_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._scrollBarWidth_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setScrollBarWidthAttribute((this._scrollBarWidth_0_0value as number | string | undefined)); + this._scrollBarWidth_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._scrollBarWidth_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._scrollBarWidth_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setScrollBarWidthAttribute((undefined as number | string | undefined)); + } + } + } + if (this._scrollBarColor_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._scrollBarColor_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setScrollBarColorAttribute((this._scrollBarColor_0_0value as Color | number | string | undefined)); + this._scrollBarColor_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._scrollBarColor_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._scrollBarColor_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setScrollBarColorAttribute((undefined as Color | number | string | undefined)); + } + } + } + if (this._scrollBar_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._scrollBar_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setScrollBarAttribute((this._scrollBar_0_0value as BarState | undefined)); + this._scrollBar_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._scrollBar_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._scrollBar_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setScrollBarAttribute((undefined as BarState | undefined)); + } + } + } if (this._onScrollBarUpdate_0_flag != AttributeUpdaterFlag.INITIAL) { switch (this._onScrollBarUpdate_0_flag) { @@ -431,6 +501,60 @@ export class GridModifier extends ScrollableCommonMethodModifier implements Grid } } } + if (this._nestedScroll_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._nestedScroll_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setNestedScrollAttribute((this._nestedScroll_0_0value as NestedScrollOptions | undefined)); + this._nestedScroll_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._nestedScroll_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._nestedScroll_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setNestedScrollAttribute((undefined as NestedScrollOptions | undefined)); + } + } + } + if (this._enableScrollInteraction_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._enableScrollInteraction_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setEnableScrollInteractionAttribute((this._enableScrollInteraction_0_0value as boolean | undefined)); + this._enableScrollInteraction_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._enableScrollInteraction_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._enableScrollInteraction_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setEnableScrollInteractionAttribute((undefined as boolean | undefined)); + } + } + } + if (this._friction_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._friction_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setFrictionAttribute((this._friction_0_0value as number | Resource | undefined)); + this._friction_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._friction_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._friction_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setFrictionAttribute((undefined as number | Resource | undefined)); + } + } + } if (this._alignItems_0_flag != AttributeUpdaterFlag.INITIAL) { switch (this._alignItems_0_flag) { @@ -521,6 +645,24 @@ export class GridModifier extends ScrollableCommonMethodModifier implements Grid } } } + if (this._edgeEffect_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._edgeEffect_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setEdgeEffectAttribute((this._edgeEffect_0_0value as EdgeEffect | undefined), (this._edgeEffect_0_1value as EdgeEffectOptions)); + this._edgeEffect_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._edgeEffect_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._edgeEffect_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setEdgeEffectAttribute((undefined as EdgeEffect | undefined), (undefined as EdgeEffectOptions | undefined)); + } + } + } } mergeModifier(modifier: GridModifier): void { super.mergeModifier(modifier) @@ -576,6 +718,45 @@ export class GridModifier extends ScrollableCommonMethodModifier implements Grid } } } + if (modifier._scrollBarWidth_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._scrollBarWidth_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.scrollBarWidth(modifier._scrollBarWidth_0_0value); + break; + } + default: { + this.scrollBarWidth((undefined as number | string | undefined)); + } + } + } + if (modifier._scrollBarColor_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._scrollBarColor_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.scrollBarColor(modifier._scrollBarColor_0_0value); + break; + } + default: { + this.scrollBarColor((undefined as Color | number | string | undefined)); + } + } + } + if (modifier._scrollBar_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._scrollBar_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.scrollBar(modifier._scrollBar_0_0value); + break; + } + default: { + this.scrollBar((undefined as BarState | undefined)); + } + } + } if (modifier._onScrollBarUpdate_0_flag != AttributeUpdaterFlag.INITIAL) { switch (modifier._onScrollBarUpdate_0_flag) { @@ -771,6 +952,45 @@ export class GridModifier extends ScrollableCommonMethodModifier implements Grid } } } + if (modifier._nestedScroll_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._nestedScroll_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.nestedScroll(modifier._nestedScroll_0_0value); + break; + } + default: { + this.nestedScroll((undefined as NestedScrollOptions | undefined)); + } + } + } + if (modifier._enableScrollInteraction_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._enableScrollInteraction_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.enableScrollInteraction(modifier._enableScrollInteraction_0_0value); + break; + } + default: { + this.enableScrollInteraction((undefined as boolean | undefined)); + } + } + } + if (modifier._friction_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._friction_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.friction(modifier._friction_0_0value); + break; + } + default: { + this.friction((undefined as number | Resource | undefined)); + } + } + } if (modifier._alignItems_0_flag != AttributeUpdaterFlag.INITIAL) { switch (modifier._alignItems_0_flag) { @@ -836,6 +1056,19 @@ export class GridModifier extends ScrollableCommonMethodModifier implements Grid } } } + if (modifier._edgeEffect_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._edgeEffect_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.edgeEffect(modifier._edgeEffect_0_0value, modifier._edgeEffect_0_1value); + break; + } + default: { + this.edgeEffect((undefined as EdgeEffect | undefined), (undefined as EdgeEffectOptions | undefined)); + } + } + } } columnsTemplate(value: string | undefined): this { if (((this._columnsTemplate_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._columnsTemplate_0_0value) !== (value))) @@ -881,6 +1114,39 @@ export class GridModifier extends ScrollableCommonMethodModifier implements Grid } return this } + scrollBarWidth(value: number | string | undefined): this { + if (((this._scrollBarWidth_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._scrollBarWidth_0_0value) !== (value))) + { + this._scrollBarWidth_0_flag = AttributeUpdaterFlag.UPDATE + this._scrollBarWidth_0_0value = value + } else + { + this._scrollBarWidth_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + scrollBarColor(value: Color | number | string | undefined): this { + if (((this._scrollBarColor_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._scrollBarColor_0_flag = AttributeUpdaterFlag.UPDATE + this._scrollBarColor_0_0value = value + } else + { + this._scrollBarColor_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + scrollBar(value: BarState | undefined): this { + if (((this._scrollBar_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._scrollBar_0_flag = AttributeUpdaterFlag.UPDATE + this._scrollBar_0_0value = value + } else + { + this._scrollBar_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } onScrollBarUpdate(value: ((index: number,offset: number) => ComputedBarAttribute) | undefined): this { if (((this._onScrollBarUpdate_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) { @@ -1046,6 +1312,39 @@ export class GridModifier extends ScrollableCommonMethodModifier implements Grid } return this } + nestedScroll(value: NestedScrollOptions | undefined): this { + if (((this._nestedScroll_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._nestedScroll_0_flag = AttributeUpdaterFlag.UPDATE + this._nestedScroll_0_0value = value + } else + { + this._nestedScroll_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + enableScrollInteraction(value: boolean | undefined): this { + if (((this._enableScrollInteraction_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._enableScrollInteraction_0_0value) !== (value))) + { + this._enableScrollInteraction_0_flag = AttributeUpdaterFlag.UPDATE + this._enableScrollInteraction_0_0value = value + } else + { + this._enableScrollInteraction_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + friction(value: number | Resource | undefined): this { + if (((this._friction_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._friction_0_flag = AttributeUpdaterFlag.UPDATE + this._friction_0_0value = value + } else + { + this._friction_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } alignItems(value: GridItemAlignment | undefined): this { if (((this._alignItems_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) { @@ -1102,6 +1401,18 @@ export class GridModifier extends ScrollableCommonMethodModifier implements Grid } return this } + edgeEffect(value: EdgeEffect | undefined, options?: EdgeEffectOptions): this { + if (((this._edgeEffect_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true) || (true)) + { + this._edgeEffect_0_flag = AttributeUpdaterFlag.UPDATE + this._edgeEffect_0_0value = value + this._edgeEffect_0_1value = options + } else + { + this._edgeEffect_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } diff --git a/arkoala-arkts/arkui/generated/GridRowModifier.ets b/arkoala-arkts/arkui/generated/GridRowModifier.ets index 63cf27586..14b948a61 100644 --- a/arkoala-arkts/arkui/generated/GridRowModifier.ets +++ b/arkoala-arkts/arkui/generated/GridRowModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkGridRowPeer, GridRowAttribute } from "./component/gridRow" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { ItemAlign } from "./component/enums" export class GridRowModifier extends CommonMethodModifier implements GridRowAttribute,AttributeModifier { diff --git a/arkoala-arkts/arkui/generated/HyperlinkModifier.ets b/arkoala-arkts/arkui/generated/HyperlinkModifier.ets index e88cbd122..de51c574b 100644 --- a/arkoala-arkts/arkui/generated/HyperlinkModifier.ets +++ b/arkoala-arkts/arkui/generated/HyperlinkModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkHyperlinkPeer, HyperlinkAttribute } from "./component/hyperlink" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { Color } from "./component/enums" import { Resource } from "global.resource" diff --git a/arkoala-arkts/arkui/generated/ImageAnimatorModifier.ets b/arkoala-arkts/arkui/generated/ImageAnimatorModifier.ets index 3f6c795db..c05e452c4 100644 --- a/arkoala-arkts/arkui/generated/ImageAnimatorModifier.ets +++ b/arkoala-arkts/arkui/generated/ImageAnimatorModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkImageAnimatorPeer, ImageFrameInfo, ImageAnimatorAttribute } from "./component/imageAnimator" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { AnimationStatus, FillMode } from "./component/enums" export class ImageAnimatorModifier extends CommonMethodModifier implements ImageAnimatorAttribute,AttributeModifier { diff --git a/arkoala-arkts/arkui/generated/ImageModifier.ets b/arkoala-arkts/arkui/generated/ImageModifier.ets index 4a562dcda..3d7f4dff6 100644 --- a/arkoala-arkts/arkui/generated/ImageModifier.ets +++ b/arkoala-arkts/arkui/generated/ImageModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier, extractors } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkImagePeer, ColorContent, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageSourceSize, ImageOnCompleteCallback, ImageCompleteEvent, ImageErrorCallback, ImageError, ResizableOptions, ImageRotateOrientation, ImageAttribute } from "./component/image" +import { int32 } from "@koalaui/common" import { CommonMethod, PointLightStyle } from "./component/common" import { Resource } from "global.resource" import { image } from "@ohos.multimedia.image" diff --git a/arkoala-arkts/arkui/generated/ImageSpanModifier.ets b/arkoala-arkts/arkui/generated/ImageSpanModifier.ets index 02649c3dd..2e6abe15d 100644 --- a/arkoala-arkts/arkui/generated/ImageSpanModifier.ets +++ b/arkoala-arkts/arkui/generated/ImageSpanModifier.ets @@ -21,6 +21,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier, extractors } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkImageSpanPeer, ImageCompleteCallback, ImageLoadResult, ImageSpanAttribute } from "./component/imageSpan" +import { int32 } from "@koalaui/common" import { BaseSpan } from "./component/span" import { ImageSpanAlignment, ImageFit } from "./component/enums" import { ColorFilter } from "./component/units" diff --git a/arkoala-arkts/arkui/generated/IndicatorComponentModifier.ets b/arkoala-arkts/arkui/generated/IndicatorComponentModifier.ets index 7fa183464..9623ba263 100644 --- a/arkoala-arkts/arkui/generated/IndicatorComponentModifier.ets +++ b/arkoala-arkts/arkui/generated/IndicatorComponentModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkIndicatorComponentPeer, IndicatorComponentAttribute } from "./component/indicatorcomponent" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { DotIndicator, DigitIndicator } from "./component/swiper" export class IndicatorComponentModifier extends CommonMethodModifier implements IndicatorComponentAttribute,AttributeModifier { diff --git a/arkoala-arkts/arkui/generated/LineModifier.ets b/arkoala-arkts/arkui/generated/LineModifier.ets index 454971886..40fea6f72 100644 --- a/arkoala-arkts/arkui/generated/LineModifier.ets +++ b/arkoala-arkts/arkui/generated/LineModifier.ets @@ -21,6 +21,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkLinePeer, ShapePoint, LineAttribute } from "./component/line" +import { int32 } from "@koalaui/common" import { CommonShapeMethod, CommonMethod } from "./component/common" import { Length } from "./component/units" import { Resource } from "global.resource" diff --git a/arkoala-arkts/arkui/generated/LinearIndicatorModifier.ets b/arkoala-arkts/arkui/generated/LinearIndicatorModifier.ets index c55eb27e2..3d5d8ae83 100644 --- a/arkoala-arkts/arkui/generated/LinearIndicatorModifier.ets +++ b/arkoala-arkts/arkui/generated/LinearIndicatorModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkLinearIndicatorPeer, LinearIndicatorStyle, OnLinearIndicatorChangeCallback, LinearIndicatorAttribute } from "./component/linearindicator" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class LinearIndicatorModifier extends CommonMethodModifier implements LinearIndicatorAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/ListItemGroupModifier.ets b/arkoala-arkts/arkui/generated/ListItemGroupModifier.ets index bd79c13c9..f9b37433c 100644 --- a/arkoala-arkts/arkui/generated/ListItemGroupModifier.ets +++ b/arkoala-arkts/arkui/generated/ListItemGroupModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkListItemGroupPeer, ListItemGroupAttribute } from "./component/listItemGroup" +import { int32 } from "@koalaui/common" import { CommonMethod, ChildrenMainSize } from "./component/common" import { ListDividerOptions } from "./component/list" export class ListItemGroupModifier extends CommonMethodModifier implements ListItemGroupAttribute,AttributeModifier { diff --git a/arkoala-arkts/arkui/generated/ListItemModifier.ets b/arkoala-arkts/arkui/generated/ListItemModifier.ets index fb5fcffde..06d2318c8 100644 --- a/arkoala-arkts/arkui/generated/ListItemModifier.ets +++ b/arkoala-arkts/arkui/generated/ListItemModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkListItemPeer, SwipeActionOptions, ListItemAttribute } from "./component/listItem" +import { int32 } from "@koalaui/common" import { CommonMethod, Bindable } from "./component/common" export class ListItemModifier extends CommonMethodModifier implements ListItemAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/ListModifier.ets b/arkoala-arkts/arkui/generated/ListModifier.ets index b285a7a33..8273805ff 100644 --- a/arkoala-arkts/arkui/generated/ListModifier.ets +++ b/arkoala-arkts/arkui/generated/ListModifier.ets @@ -21,6 +21,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkListPeer, ListItemAlign, ListDividerOptions, ChainAnimationOptions, StickyStyle, ScrollSnapAlign, OnScrollVisibleContentChangeCallback, VisibleListContentInfo, ScrollState, ListAttribute } from "./component/list" +import { int32 } from "@koalaui/common" import { ScrollableCommonMethod, ChildrenMainSize, OnItemDragStartCallback, ItemDragInfo, OnWillScrollCallback, OnScrollCallback, CommonMethod } from "./component/common" import { Axis, ScrollSource } from "./component/enums" import { OnScrollFrameBeginCallback } from "./component/scroll" diff --git a/arkoala-arkts/arkui/generated/LoadingProgressModifier.ets b/arkoala-arkts/arkui/generated/LoadingProgressModifier.ets index 53879f959..105d4f988 100644 --- a/arkoala-arkts/arkui/generated/LoadingProgressModifier.ets +++ b/arkoala-arkts/arkui/generated/LoadingProgressModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier, ContentModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkLoadingProgressPeer, LoadingProgressConfiguration, LoadingProgressAttribute } from "./component/loadingProgress" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { ResourceColor } from "./component/units" import { Color } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/MarqueeModifier.ets b/arkoala-arkts/arkui/generated/MarqueeModifier.ets index 1717d3440..9658b8e24 100644 --- a/arkoala-arkts/arkui/generated/MarqueeModifier.ets +++ b/arkoala-arkts/arkui/generated/MarqueeModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkMarqueePeer, MarqueeAttribute } from "./component/marquee" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { ResourceColor, Length } from "./component/units" import { Color, FontWeight, MarqueeUpdateStrategy } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/MediaCachedImageModifier.ets b/arkoala-arkts/arkui/generated/MediaCachedImageModifier.ets index 5180132f2..6313116fd 100644 --- a/arkoala-arkts/arkui/generated/MediaCachedImageModifier.ets +++ b/arkoala-arkts/arkui/generated/MediaCachedImageModifier.ets @@ -21,6 +21,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkMediaCachedImagePeer, MediaCachedImageAttribute } from "./component/mediaCachedImage" +import { int32 } from "@koalaui/common" import { ImageAttribute } from "./component/image" import { CommonMethod } from "./component/common" export class MediaCachedImageModifier extends ImageModifier implements MediaCachedImageAttribute,AttributeModifier { diff --git a/arkoala-arkts/arkui/generated/MenuItemGroupModifier.ets b/arkoala-arkts/arkui/generated/MenuItemGroupModifier.ets index 2a2e0c6ff..2d12fda23 100644 --- a/arkoala-arkts/arkui/generated/MenuItemGroupModifier.ets +++ b/arkoala-arkts/arkui/generated/MenuItemGroupModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkMenuItemGroupPeer, MenuItemGroupAttribute } from "./component/menuItemGroup" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class MenuItemGroupModifier extends CommonMethodModifier implements MenuItemGroupAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/MenuItemModifier.ets b/arkoala-arkts/arkui/generated/MenuItemModifier.ets index d4aaf32a2..85fbe8a2e 100644 --- a/arkoala-arkts/arkui/generated/MenuItemModifier.ets +++ b/arkoala-arkts/arkui/generated/MenuItemModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkMenuItemPeer, MenuItemAttribute } from "./component/menuItem" +import { int32 } from "@koalaui/common" import { CommonMethod, Bindable } from "./component/common" import { ResourceStr, Font, ResourceColor } from "./component/units" import { Resource } from "global.resource" diff --git a/arkoala-arkts/arkui/generated/MenuModifier.ets b/arkoala-arkts/arkui/generated/MenuModifier.ets index d9185b6f1..b0e825858 100644 --- a/arkoala-arkts/arkui/generated/MenuModifier.ets +++ b/arkoala-arkts/arkui/generated/MenuModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkMenuPeer, SubMenuExpandingMode, MenuAttribute } from "./component/menu" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { Font, ResourceColor, Dimension, BorderRadiuses, DividerStyleOptions } from "./component/units" import { Color } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/NavDestinationModifier.ets b/arkoala-arkts/arkui/generated/NavDestinationModifier.ets index 50f238619..446be514a 100644 --- a/arkoala-arkts/arkui/generated/NavDestinationModifier.ets +++ b/arkoala-arkts/arkui/generated/NavDestinationModifier.ets @@ -19,7 +19,8 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier, extractors } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" -import { ArkNavDestinationPeer, NavDestinationMode, NavDestinationContext, NavigationSystemTransitionType, NestedScrollInfo, NavDestinationActiveReason, NavDestinationTransitionDelegate, Orientation, NavDestinationAttribute, NavDestinationCommonTitle, NavDestinationCustomTitle } from "./component/navDestination" +import { ArkNavDestinationPeer, NavDestinationMode, NavDestinationContext, NavigationSystemTransitionType, NestedScrollInfo, NavDestinationActiveReason, NavDestinationTransitionDelegate, Orientation, NavDestinationCommonTitle, NavDestinationCustomTitle, NavDestinationAttribute } from "./component/navDestination" +import { int32 } from "@koalaui/common" import { CommonMethod, LayoutSafeAreaType, LayoutSafeAreaEdge } from "./component/common" import { ResourceStr } from "./component/units" import { Resource } from "global.resource" diff --git a/arkoala-arkts/arkui/generated/NavigationModifier.ets b/arkoala-arkts/arkui/generated/NavigationModifier.ets index 683443760..30cfc9c98 100644 --- a/arkoala-arkts/arkui/generated/NavigationModifier.ets +++ b/arkoala-arkts/arkui/generated/NavigationModifier.ets @@ -19,7 +19,8 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier, extractors } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" -import { ArkNavigationPeer, NavBarPosition, NavigationMode, NavigationTitleMode, NavigationMenuItem, NavContentInfo, NavigationOperation, NavigationAnimatedTransition, NavigationAttribute, NavigationCommonTitle, NavigationCustomTitle, NavigationTitleOptions, NavigationMenuOptions, ToolbarItem, NavigationToolbarOptions } from "./component/navigation" +import { ArkNavigationPeer, NavBarPosition, NavigationMode, NavigationTitleMode, NavigationMenuItem, NavContentInfo, NavigationOperation, NavigationAnimatedTransition, NavigationCommonTitle, NavigationCustomTitle, NavigationTitleOptions, NavigationMenuOptions, ToolbarItem, NavigationToolbarOptions, NavigationAttribute } from "./component/navigation" +import { int32 } from "@koalaui/common" import { CommonMethod, Bindable, LayoutSafeAreaType, LayoutSafeAreaEdge } from "./component/common" import { Length, Dimension, ResourceStr } from "./component/units" import { Resource } from "global.resource" diff --git a/arkoala-arkts/arkui/generated/NodeContainerModifier.ets b/arkoala-arkts/arkui/generated/NodeContainerModifier.ets index 281ea8524..04099f842 100644 --- a/arkoala-arkts/arkui/generated/NodeContainerModifier.ets +++ b/arkoala-arkts/arkui/generated/NodeContainerModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkNodeContainerPeer, NodeContainerAttribute } from "./component/nodeContainer" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class NodeContainerModifier extends CommonMethodModifier implements NodeContainerAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/NodeContent.ets b/arkoala-arkts/arkui/generated/NodeContent.ets index 18a6ff063..513bfdd55 100644 --- a/arkoala-arkts/arkui/generated/NodeContent.ets +++ b/arkoala-arkts/arkui/generated/NodeContent.ets @@ -22,7 +22,6 @@ import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, runtimeType, RuntimeType, SerializerBase, DeserializerBase, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, CallbackResource, InteropNativeModule, Tags, nullptr, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./CallbackTransformer" -import { extractors } from "#handwritten" export class NodeContentInternal { public static fromPtr(ptr: KPointer): NodeContent { return new NodeContent(ptr) diff --git a/arkoala-arkts/arkui/generated/PathModifier.ets b/arkoala-arkts/arkui/generated/PathModifier.ets index b9db9ddc5..a8dcae3ba 100644 --- a/arkoala-arkts/arkui/generated/PathModifier.ets +++ b/arkoala-arkts/arkui/generated/PathModifier.ets @@ -21,6 +21,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkPathPeer, PathAttribute } from "./component/path" +import { int32 } from "@koalaui/common" import { CommonShapeMethod, CommonMethod } from "./component/common" export class PathModifier extends CommonShapeMethodModifier implements PathAttribute,AttributeModifier { _instanceId: number = -1; @@ -33,11 +34,55 @@ export class PathModifier extends CommonShapeMethodModifier implements PathAttri applyFocusedAttribute(instance: PathAttribute): void { } applyDisabledAttribute(instance: PathAttribute): void { } applySelectedAttribute(instance: PathAttribute): void { } + _commands_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _commands_0_0value?: string | undefined applyModifierPatch(peer: ArkPathPeer): void { super.applyModifierPatch(peer) + if (this._commands_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._commands_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setCommandsAttribute((this._commands_0_0value as string | undefined)); + this._commands_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._commands_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._commands_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setCommandsAttribute((undefined as string | undefined)); + } + } + } } mergeModifier(modifier: PathModifier): void { super.mergeModifier(modifier) + if (modifier._commands_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._commands_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.commands(modifier._commands_0_0value); + break; + } + default: { + this.commands((undefined as string | undefined)); + } + } + } + } + commands(value: string | undefined): this { + if (((this._commands_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._commands_0_0value) !== (value))) + { + this._commands_0_flag = AttributeUpdaterFlag.UPDATE + this._commands_0_0value = value + } else + { + this._commands_0_flag = AttributeUpdaterFlag.SKIP + } + return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") diff --git a/arkoala-arkts/arkui/generated/PatternLockModifier.ets b/arkoala-arkts/arkui/generated/PatternLockModifier.ets index 3b6ad265c..3a3be1385 100644 --- a/arkoala-arkts/arkui/generated/PatternLockModifier.ets +++ b/arkoala-arkts/arkui/generated/PatternLockModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkPatternLockPeer, CircleStyleOptions, PatternLockAttribute } from "./component/patternLock" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { Length, ResourceColor } from "./component/units" import { Resource } from "global.resource" diff --git a/arkoala-arkts/arkui/generated/PluginComponentModifier.ets b/arkoala-arkts/arkui/generated/PluginComponentModifier.ets index 0cfc1e17d..2725fe7f9 100644 --- a/arkoala-arkts/arkui/generated/PluginComponentModifier.ets +++ b/arkoala-arkts/arkui/generated/PluginComponentModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkPluginComponentPeer, PluginErrorCallback, PluginErrorData, PluginComponentAttribute } from "./component/pluginComponent" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { VoidCallback } from "./component/units" export class PluginComponentModifier extends CommonMethodModifier implements PluginComponentAttribute,AttributeModifier { diff --git a/arkoala-arkts/arkui/generated/PolygonModifier.ets b/arkoala-arkts/arkui/generated/PolygonModifier.ets index 31a352a40..09cccffe9 100644 --- a/arkoala-arkts/arkui/generated/PolygonModifier.ets +++ b/arkoala-arkts/arkui/generated/PolygonModifier.ets @@ -21,6 +21,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkPolygonPeer, PolygonAttribute } from "./component/polygon" +import { int32 } from "@koalaui/common" import { CommonShapeMethod, CommonMethod } from "./component/common" import { ShapePoint } from "./component/line" import { Length } from "./component/units" diff --git a/arkoala-arkts/arkui/generated/PolylineModifier.ets b/arkoala-arkts/arkui/generated/PolylineModifier.ets index d2781fd4a..8f7e8b419 100644 --- a/arkoala-arkts/arkui/generated/PolylineModifier.ets +++ b/arkoala-arkts/arkui/generated/PolylineModifier.ets @@ -21,6 +21,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkPolylinePeer, PolylineAttribute } from "./component/polyline" +import { int32 } from "@koalaui/common" import { CommonShapeMethod, CommonMethod } from "./component/common" import { ShapePoint } from "./component/line" import { Length } from "./component/units" diff --git a/arkoala-arkts/arkui/generated/ProgressModifier.ets b/arkoala-arkts/arkui/generated/ProgressModifier.ets index 5228091fd..20b1f5d3a 100644 --- a/arkoala-arkts/arkui/generated/ProgressModifier.ets +++ b/arkoala-arkts/arkui/generated/ProgressModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier, ContentModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkProgressPeer, LinearStyleOptions, RingStyleOptions, CapsuleStyleOptions, ProgressStyleOptions, ProgressConfiguration, ProgressAttribute } from "./component/progress" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { ResourceColor } from "./component/units" import { Color } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/QRCodeModifier.ets b/arkoala-arkts/arkui/generated/QRCodeModifier.ets index 4b62f6006..1f7a27c36 100644 --- a/arkoala-arkts/arkui/generated/QRCodeModifier.ets +++ b/arkoala-arkts/arkui/generated/QRCodeModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkQRCodePeer, QRCodeAttribute } from "./component/qrcode" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { ResourceColor } from "./component/units" import { Color } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/RadioModifier.ets b/arkoala-arkts/arkui/generated/RadioModifier.ets index bd1fe3de7..179381d19 100644 --- a/arkoala-arkts/arkui/generated/RadioModifier.ets +++ b/arkoala-arkts/arkui/generated/RadioModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier, ContentModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkRadioPeer, OnRadioChangeCallback, RadioStyle, RadioConfiguration, RadioAttribute } from "./component/radio" +import { int32 } from "@koalaui/common" import { CommonMethod, Bindable } from "./component/common" export class RadioModifier extends CommonMethodModifier implements RadioAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/RatingModifier.ets b/arkoala-arkts/arkui/generated/RatingModifier.ets index ba29984dc..6072364f6 100644 --- a/arkoala-arkts/arkui/generated/RatingModifier.ets +++ b/arkoala-arkts/arkui/generated/RatingModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier, ContentModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkRatingPeer, StarStyleOptions, OnRatingChangeCallback, RatingConfiguration, RatingAttribute } from "./component/rating" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class RatingModifier extends CommonMethodModifier implements RatingAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/RectModifier.ets b/arkoala-arkts/arkui/generated/RectModifier.ets index ce5dc15b5..afd3deaa1 100644 --- a/arkoala-arkts/arkui/generated/RectModifier.ets +++ b/arkoala-arkts/arkui/generated/RectModifier.ets @@ -20,8 +20,11 @@ import { CommonShapeMethodModifier } from "./CommonShapeMethodModifier" import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" -import { ArkRectPeer, RectAttribute } from "./component/rect" +import { ArkRectPeer, RadiusItem, RectAttribute } from "./component/rect" +import { int32 } from "@koalaui/common" import { CommonShapeMethod, CommonMethod } from "./component/common" +import { Length } from "./component/units" +import { Resource } from "global.resource" export class RectModifier extends CommonShapeMethodModifier implements RectAttribute,AttributeModifier { _instanceId: number = -1; setInstanceId(instanceId: number): void { @@ -33,15 +36,55 @@ export class RectModifier extends CommonShapeMethodModifier implements RectAttri applyFocusedAttribute(instance: RectAttribute): void { } applyDisabledAttribute(instance: RectAttribute): void { } applySelectedAttribute(instance: RectAttribute): void { } + _radiusWidth_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _radiusWidth_0_0value?: double | string | undefined + _radiusHeight_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _radiusHeight_0_0value?: double | string | undefined _radius_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _radius_0_0value?: number | string | Array | undefined + _radius_0_0value?: Length | Array | undefined applyModifierPatch(peer: ArkRectPeer): void { super.applyModifierPatch(peer) + if (this._radiusWidth_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._radiusWidth_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setRadiusWidthAttribute((this._radiusWidth_0_0value as double | string | undefined)); + this._radiusWidth_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._radiusWidth_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._radiusWidth_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setRadiusWidthAttribute((undefined as double | string | undefined)); + } + } + } + if (this._radiusHeight_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._radiusHeight_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setRadiusHeightAttribute((this._radiusHeight_0_0value as double | string | undefined)); + this._radiusHeight_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._radiusHeight_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._radiusHeight_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setRadiusHeightAttribute((undefined as double | string | undefined)); + } + } + } if (this._radius_0_flag != AttributeUpdaterFlag.INITIAL) { switch (this._radius_0_flag) { case AttributeUpdaterFlag.UPDATE: { - peer.setRadiusAttribute((this._radius_0_0value as number | string | Array | undefined)); + peer.setRadiusAttribute((this._radius_0_0value as Length | Array | undefined)); this._radius_0_flag = AttributeUpdaterFlag.RESET; break; } @@ -51,13 +94,39 @@ export class RectModifier extends CommonShapeMethodModifier implements RectAttri } default: { this._radius_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setRadiusAttribute((undefined as number | string | Array | undefined)); + peer.setRadiusAttribute((undefined as Length | Array | undefined)); } } } } mergeModifier(modifier: RectModifier): void { super.mergeModifier(modifier) + if (modifier._radiusWidth_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._radiusWidth_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.radiusWidth(modifier._radiusWidth_0_0value); + break; + } + default: { + this.radiusWidth((undefined as double | string | undefined)); + } + } + } + if (modifier._radiusHeight_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._radiusHeight_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.radiusHeight(modifier._radiusHeight_0_0value); + break; + } + default: { + this.radiusHeight((undefined as double | string | undefined)); + } + } + } if (modifier._radius_0_flag != AttributeUpdaterFlag.INITIAL) { switch (modifier._radius_0_flag) { @@ -67,13 +136,35 @@ export class RectModifier extends CommonShapeMethodModifier implements RectAttri break; } default: { - this.radius((undefined as number | string | Array | undefined)); + this.radius((undefined as Length | Array | undefined)); } } } } - radius(value: number | string | Array | undefined): this { - if (((this._radius_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._radius_0_0value) !== (value))) + radiusWidth(value: double | string | undefined): this { + if (((this._radiusWidth_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._radiusWidth_0_0value) !== (value))) + { + this._radiusWidth_0_flag = AttributeUpdaterFlag.UPDATE + this._radiusWidth_0_0value = value + } else + { + this._radiusWidth_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + radiusHeight(value: double | string | undefined): this { + if (((this._radiusHeight_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._radiusHeight_0_0value) !== (value))) + { + this._radiusHeight_0_flag = AttributeUpdaterFlag.UPDATE + this._radiusHeight_0_0value = value + } else + { + this._radiusHeight_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + radius(value: Length | Array | undefined): this { + if (((this._radius_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) { this._radius_0_flag = AttributeUpdaterFlag.UPDATE this._radius_0_0value = value diff --git a/arkoala-arkts/arkui/generated/RefreshModifier.ets b/arkoala-arkts/arkui/generated/RefreshModifier.ets index 5098f7d39..84c3dc7f1 100644 --- a/arkoala-arkts/arkui/generated/RefreshModifier.ets +++ b/arkoala-arkts/arkui/generated/RefreshModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkRefreshPeer, RefreshStatus, RefreshAttribute } from "./component/refresh" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class RefreshModifier extends CommonMethodModifier implements RefreshAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/RelativeContainerModifier.ets b/arkoala-arkts/arkui/generated/RelativeContainerModifier.ets index 1b4ed7df8..5a61fa2c9 100644 --- a/arkoala-arkts/arkui/generated/RelativeContainerModifier.ets +++ b/arkoala-arkts/arkui/generated/RelativeContainerModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkRelativeContainerPeer, GuideLineStyle, BarrierStyle, RelativeContainerAttribute } from "./component/relativeContainer" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class RelativeContainerModifier extends CommonMethodModifier implements RelativeContainerAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/RemoteWindowModifier.ets b/arkoala-arkts/arkui/generated/RemoteWindowModifier.ets index ca080046e..afef474a1 100644 --- a/arkoala-arkts/arkui/generated/RemoteWindowModifier.ets +++ b/arkoala-arkts/arkui/generated/RemoteWindowModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkRemoteWindowPeer, RemoteWindowAttribute } from "./component/remoteWindow" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class RemoteWindowModifier extends CommonMethodModifier implements RemoteWindowAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/RenderNode.ets b/arkoala-arkts/arkui/generated/RenderNode.ets index e1394fafe..c298b1871 100644 --- a/arkoala-arkts/arkui/generated/RenderNode.ets +++ b/arkoala-arkts/arkui/generated/RenderNode.ets @@ -24,7 +24,6 @@ import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { extractors } from "#handwritten" export interface RenderNode { backgroundColor: number clipToFrame: boolean diff --git a/arkoala-arkts/arkui/generated/RichEditorModifier.ets b/arkoala-arkts/arkui/generated/RichEditorModifier.ets index efa357215..9ca83a6a1 100644 --- a/arkoala-arkts/arkui/generated/RichEditorModifier.ets +++ b/arkoala-arkts/arkui/generated/RichEditorModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkRichEditorPeer, RichEditorSelection, RichEditorRange, RichEditorInsertValue, RichEditorTextSpanResult, RichEditorDeleteValue, PasteEventCallback, PasteEvent, SubmitCallback, RichEditorChangeValue, CutEvent, CopyEvent, RichEditorAttribute, RichEditorSpanType, RichEditorResponseType, SelectionMenuOptions, KeyboardOptions, PlaceholderStyle } from "./component/richEditor" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { VoidCallback, ResourceColor, ResourceStr } from "./component/units" import { TextRange, TextDataDetectorConfig, OnDidChangeCallback, EditMenuOptions, KeyboardAppearance } from "./component/textCommon" diff --git a/arkoala-arkts/arkui/generated/RichTextModifier.ets b/arkoala-arkts/arkui/generated/RichTextModifier.ets index 84c14e4e3..55c54f9df 100644 --- a/arkoala-arkts/arkui/generated/RichTextModifier.ets +++ b/arkoala-arkts/arkui/generated/RichTextModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkRichTextPeer, RichTextAttribute } from "./component/richText" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class RichTextModifier extends CommonMethodModifier implements RichTextAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/RootModifier.ets b/arkoala-arkts/arkui/generated/RootModifier.ets index 0f5d75943..d05424d48 100644 --- a/arkoala-arkts/arkui/generated/RootModifier.ets +++ b/arkoala-arkts/arkui/generated/RootModifier.ets @@ -19,6 +19,7 @@ import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkRootPeer, Root } from "./component/idlize" +import { int32 } from "@koalaui/common" export class RootModifier implements Root,AttributeModifier { _instanceId: number = -1; setInstanceId(instanceId: number): void { diff --git a/arkoala-arkts/arkui/generated/RootSceneModifier.ets b/arkoala-arkts/arkui/generated/RootSceneModifier.ets index fad74631a..0f9516c18 100644 --- a/arkoala-arkts/arkui/generated/RootSceneModifier.ets +++ b/arkoala-arkts/arkui/generated/RootSceneModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkRootScenePeer, RootSceneAttribute } from "./component/rootScene" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class RootSceneModifier extends CommonMethodModifier implements RootSceneAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/RowModifier.ets b/arkoala-arkts/arkui/generated/RowModifier.ets index 8b2a9ae12..c7ae37e7a 100644 --- a/arkoala-arkts/arkui/generated/RowModifier.ets +++ b/arkoala-arkts/arkui/generated/RowModifier.ets @@ -20,7 +20,8 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkRowPeer, RowAttribute } from "./component/row" -import { CommonMethod, PointLightStyle } from "./component/common" +import { int32 } from "@koalaui/common" +import { CommonMethod } from "./component/common" import { VerticalAlign, FlexAlign } from "./component/enums" export class RowModifier extends CommonMethodModifier implements RowAttribute,AttributeModifier { _instanceId: number = -1; @@ -37,8 +38,6 @@ export class RowModifier extends CommonMethodModifier implements RowAttribute,At _alignItems_0_0value?: VerticalAlign | undefined _justifyContent_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _justifyContent_0_0value?: FlexAlign | undefined - _pointLight_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _pointLight_0_0value?: PointLightStyle | undefined _reverse_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _reverse_0_0value?: boolean | undefined applyModifierPatch(peer: ArkRowPeer): void { @@ -79,24 +78,6 @@ export class RowModifier extends CommonMethodModifier implements RowAttribute,At } } } - if (this._pointLight_0_flag != AttributeUpdaterFlag.INITIAL) - { - switch (this._pointLight_0_flag) { - case AttributeUpdaterFlag.UPDATE: { - peer.setPointLightAttribute((this._pointLight_0_0value as PointLightStyle | undefined)); - this._pointLight_0_flag = AttributeUpdaterFlag.RESET; - break; - } - case AttributeUpdaterFlag.SKIP: { - this._pointLight_0_flag = AttributeUpdaterFlag.RESET; - break; - } - default: { - this._pointLight_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setPointLightAttribute((undefined as PointLightStyle | undefined)); - } - } - } if (this._reverse_0_flag != AttributeUpdaterFlag.INITIAL) { switch (this._reverse_0_flag) { @@ -144,19 +125,6 @@ export class RowModifier extends CommonMethodModifier implements RowAttribute,At } } } - if (modifier._pointLight_0_flag != AttributeUpdaterFlag.INITIAL) - { - switch (modifier._pointLight_0_flag) { - case AttributeUpdaterFlag.UPDATE: - case AttributeUpdaterFlag.SKIP: { - this.pointLight(modifier._pointLight_0_0value); - break; - } - default: { - this.pointLight((undefined as PointLightStyle | undefined)); - } - } - } if (modifier._reverse_0_flag != AttributeUpdaterFlag.INITIAL) { switch (modifier._reverse_0_flag) { @@ -193,17 +161,6 @@ export class RowModifier extends CommonMethodModifier implements RowAttribute,At } return this } - pointLight(value: PointLightStyle | undefined): this { - if (((this._pointLight_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) - { - this._pointLight_0_flag = AttributeUpdaterFlag.UPDATE - this._pointLight_0_0value = value - } else - { - this._pointLight_0_flag = AttributeUpdaterFlag.SKIP - } - return this - } reverse(value: boolean | undefined): this { if (((this._reverse_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._reverse_0_0value) !== (value))) { diff --git a/arkoala-arkts/arkui/generated/RowSplitModifier.ets b/arkoala-arkts/arkui/generated/RowSplitModifier.ets index 9a68fa96f..52f083fab 100644 --- a/arkoala-arkts/arkui/generated/RowSplitModifier.ets +++ b/arkoala-arkts/arkui/generated/RowSplitModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkRowSplitPeer, RowSplitAttribute } from "./component/rowSplit" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class RowSplitModifier extends CommonMethodModifier implements RowSplitAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/ScreenModifier.ets b/arkoala-arkts/arkui/generated/ScreenModifier.ets index af45abd78..d49e31962 100644 --- a/arkoala-arkts/arkui/generated/ScreenModifier.ets +++ b/arkoala-arkts/arkui/generated/ScreenModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkScreenPeer, ScreenAttribute } from "./component/screen" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class ScreenModifier extends CommonMethodModifier implements ScreenAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/ScrollBarModifier.ets b/arkoala-arkts/arkui/generated/ScrollBarModifier.ets index 0dc8ba62c..14fd7df4a 100644 --- a/arkoala-arkts/arkui/generated/ScrollBarModifier.ets +++ b/arkoala-arkts/arkui/generated/ScrollBarModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkScrollBarPeer, ScrollBarAttribute } from "./component/scrollBar" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class ScrollBarModifier extends CommonMethodModifier implements ScrollBarAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/ScrollModifier.ets b/arkoala-arkts/arkui/generated/ScrollModifier.ets index 224f8fd9e..7aeca4e64 100644 --- a/arkoala-arkts/arkui/generated/ScrollModifier.ets +++ b/arkoala-arkts/arkui/generated/ScrollModifier.ets @@ -21,6 +21,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkScrollPeer, ScrollDirection, ScrollOnWillScrollCallback, ScrollOnScrollCallback, OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollSnapOptions, OffsetOptions, ScrollAttribute } from "./component/scroll" +import { int32 } from "@koalaui/common" import { ScrollableCommonMethod, NestedScrollOptions, CommonMethod, EdgeEffectOptions } from "./component/common" import { ScrollState } from "./component/list" import { ScrollSource, Edge, BarState, Color, EdgeEffect } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/ScrollableCommonMethodModifier.ets b/arkoala-arkts/arkui/generated/ScrollableCommonMethodModifier.ets index 08bfe263f..242022ddc 100644 --- a/arkoala-arkts/arkui/generated/ScrollableCommonMethodModifier.ets +++ b/arkoala-arkts/arkui/generated/ScrollableCommonMethodModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkScrollableCommonMethodPeer, CommonMethod, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions, ScrollableCommonMethod } from "./component/common" +import { int32 } from "@koalaui/common" import { BarState, Color, CrownSensitivity, EdgeEffect } from "./component/enums" import { Resource } from "global.resource" import { RectShape } from "./framework/ohos.arkui.shape" diff --git a/arkoala-arkts/arkui/generated/SearchModifier.ets b/arkoala-arkts/arkui/generated/SearchModifier.ets index 5d817c95c..8df0b5b79 100644 --- a/arkoala-arkts/arkui/generated/SearchModifier.ets +++ b/arkoala-arkts/arkui/generated/SearchModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkSearchPeer, IconOptions, CancelButtonOptions, CancelButtonSymbolOptions, SearchSubmitCallback, SearchType, SearchAttribute, SearchButtonOptions } from "./component/search" +import { int32 } from "@koalaui/common" import { CommonMethod, TextDecorationOptions } from "./component/common" import { ResourceColor, Dimension, Font, ResourceStr } from "./component/units" import { Color, CopyOptions, TextAlign } from "./component/enums" @@ -129,7 +130,7 @@ export class SearchModifier extends CommonMethodModifier implements SearchAttrib _keyboardAppearance_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _keyboardAppearance_0_0value?: KeyboardAppearance | undefined _searchButton_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _searchButton_0_0value?: ResourceStr | undefined + _searchButton_0_0value?: string | undefined _searchButton_0_1value?: SearchButtonOptions | undefined _inputFilter_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _inputFilter_0_0value?: ResourceStr | undefined @@ -935,7 +936,7 @@ export class SearchModifier extends CommonMethodModifier implements SearchAttrib { switch (this._searchButton_0_flag) { case AttributeUpdaterFlag.UPDATE: { - peer.setSearchButtonAttribute((this._searchButton_0_0value as ResourceStr | undefined), (this._searchButton_0_1value as SearchButtonOptions | undefined)); + peer.setSearchButtonAttribute((this._searchButton_0_0value as string | undefined), (this._searchButton_0_1value as SearchButtonOptions | undefined)); this._searchButton_0_flag = AttributeUpdaterFlag.RESET; break; } @@ -945,7 +946,7 @@ export class SearchModifier extends CommonMethodModifier implements SearchAttrib } default: { this._searchButton_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setSearchButtonAttribute((undefined as ResourceStr | undefined), (undefined as SearchButtonOptions | undefined | undefined)); + peer.setSearchButtonAttribute((undefined as string | undefined), (undefined as SearchButtonOptions | undefined | undefined)); } } } @@ -1569,7 +1570,7 @@ export class SearchModifier extends CommonMethodModifier implements SearchAttrib break; } default: { - this.searchButton((undefined as ResourceStr | undefined), (undefined as SearchButtonOptions | undefined | undefined)); + this.searchButton((undefined as string | undefined), (undefined as SearchButtonOptions | undefined | undefined)); } } } @@ -2084,8 +2085,8 @@ export class SearchModifier extends CommonMethodModifier implements SearchAttrib } return this } - searchButton(value: ResourceStr | undefined, option?: SearchButtonOptions): this { - if (((this._searchButton_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true) || (true)) + searchButton(value: string | undefined, option?: SearchButtonOptions): this { + if (((this._searchButton_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._searchButton_0_0value) !== (value)) || (true)) { this._searchButton_0_flag = AttributeUpdaterFlag.UPDATE this._searchButton_0_0value = value diff --git a/arkoala-arkts/arkui/generated/SelectModifier.ets b/arkoala-arkts/arkui/generated/SelectModifier.ets index be3475449..2a6b70b46 100644 --- a/arkoala-arkts/arkui/generated/SelectModifier.ets +++ b/arkoala-arkts/arkui/generated/SelectModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier, ContentModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkSelectPeer, OnSelectCallback, ArrowPosition, MenuItemConfiguration, AvoidanceMode, MenuOutlineOptions, SelectAttribute, MenuAlignType } from "./component/select" +import { int32 } from "@koalaui/common" import { CommonMethod, Bindable, BlurStyle } from "./component/common" import { Resource } from "global.resource" import { ResourceStr, Font, ResourceColor, Length, Dimension, DividerStyleOptions, Offset } from "./component/units" @@ -91,6 +92,8 @@ export class SelectModifier extends CommonMethodModifier implements SelectAttrib _avoidance_0_0value?: AvoidanceMode | undefined _menuOutline_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _menuOutline_0_0value?: MenuOutlineOptions | undefined + _backgroundColor_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _backgroundColor_0_0value?: ResourceColor | undefined _menuAlign_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _menuAlign_0_0value?: MenuAlignType | undefined _menuAlign_0_1value?: Offset | undefined @@ -564,6 +567,24 @@ export class SelectModifier extends CommonMethodModifier implements SelectAttrib } } } + if (this._backgroundColor_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._backgroundColor_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setBackgroundColorAttribute((this._backgroundColor_0_0value as ResourceColor | undefined)); + this._backgroundColor_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._backgroundColor_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._backgroundColor_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setBackgroundColorAttribute((undefined as ResourceColor | undefined)); + } + } + } if (this._menuAlign_0_flag != AttributeUpdaterFlag.INITIAL) { switch (this._menuAlign_0_flag) { @@ -923,6 +944,19 @@ export class SelectModifier extends CommonMethodModifier implements SelectAttrib } } } + if (modifier._backgroundColor_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._backgroundColor_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.backgroundColor(modifier._backgroundColor_0_0value); + break; + } + default: { + this.backgroundColor((undefined as ResourceColor | undefined)); + } + } + } if (modifier._menuAlign_0_flag != AttributeUpdaterFlag.INITIAL) { switch (modifier._menuAlign_0_flag) { @@ -1223,6 +1257,17 @@ export class SelectModifier extends CommonMethodModifier implements SelectAttrib } return this } + backgroundColor(value: ResourceColor | undefined): this { + if (((this._backgroundColor_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._backgroundColor_0_flag = AttributeUpdaterFlag.UPDATE + this._backgroundColor_0_0value = value + } else + { + this._backgroundColor_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } menuAlign(alignType: MenuAlignType | undefined, offset?: Offset): this { if (((this._menuAlign_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true) || (true)) { diff --git a/arkoala-arkts/arkui/generated/ShapeModifier.ets b/arkoala-arkts/arkui/generated/ShapeModifier.ets index 92473be40..bebd77cc9 100644 --- a/arkoala-arkts/arkui/generated/ShapeModifier.ets +++ b/arkoala-arkts/arkui/generated/ShapeModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkShapePeer, ViewportRect, ShapeAttribute } from "./component/shape" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { ResourceColor, Length } from "./component/units" import { Color, LineCapStyle, LineJoinStyle } from "./component/enums" @@ -42,7 +43,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut _fill_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _fill_0_0value?: ResourceColor | undefined _strokeDashOffset_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _strokeDashOffset_0_0value?: Length | undefined + _strokeDashOffset_0_0value?: double | string | undefined _strokeDashArray_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _strokeDashArray_0_0value?: Array | undefined _strokeLineCap_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL @@ -50,19 +51,19 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut _strokeLineJoin_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _strokeLineJoin_0_0value?: LineJoinStyle | undefined _strokeMiterLimit_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _strokeMiterLimit_0_0value?: Length | undefined + _strokeMiterLimit_0_0value?: double | string | undefined _strokeOpacity_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _strokeOpacity_0_0value?: number | string | Resource | undefined + _strokeOpacity_0_0value?: double | string | Resource | undefined _fillOpacity_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _fillOpacity_0_0value?: number | string | Resource | undefined + _fillOpacity_0_0value?: double | string | Resource | undefined _strokeWidth_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _strokeWidth_0_0value?: Length | undefined + _strokeWidth_0_0value?: double | string | undefined _antiAlias_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _antiAlias_0_0value?: boolean | undefined _mesh_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _mesh_0_0value?: Array | undefined - _mesh_0_1value?: number | undefined - _mesh_0_2value?: number | undefined + _mesh_0_0value?: Array | undefined + _mesh_0_1value?: int32 | undefined + _mesh_0_2value?: int32 | undefined applyModifierPatch(peer: ArkShapePeer): void { super.applyModifierPatch(peer) if (this._viewPort_0_flag != AttributeUpdaterFlag.INITIAL) @@ -123,7 +124,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut { switch (this._strokeDashOffset_0_flag) { case AttributeUpdaterFlag.UPDATE: { - peer.setStrokeDashOffsetAttribute((this._strokeDashOffset_0_0value as Length | undefined)); + peer.setStrokeDashOffsetAttribute((this._strokeDashOffset_0_0value as double | string | undefined)); this._strokeDashOffset_0_flag = AttributeUpdaterFlag.RESET; break; } @@ -133,7 +134,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut } default: { this._strokeDashOffset_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setStrokeDashOffsetAttribute((undefined as Length | undefined)); + peer.setStrokeDashOffsetAttribute((undefined as double | string | undefined)); } } } @@ -195,7 +196,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut { switch (this._strokeMiterLimit_0_flag) { case AttributeUpdaterFlag.UPDATE: { - peer.setStrokeMiterLimitAttribute((this._strokeMiterLimit_0_0value as Length | undefined)); + peer.setStrokeMiterLimitAttribute((this._strokeMiterLimit_0_0value as double | string | undefined)); this._strokeMiterLimit_0_flag = AttributeUpdaterFlag.RESET; break; } @@ -205,7 +206,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut } default: { this._strokeMiterLimit_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setStrokeMiterLimitAttribute((undefined as Length | undefined)); + peer.setStrokeMiterLimitAttribute((undefined as double | string | undefined)); } } } @@ -213,7 +214,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut { switch (this._strokeOpacity_0_flag) { case AttributeUpdaterFlag.UPDATE: { - peer.setStrokeOpacityAttribute((this._strokeOpacity_0_0value as number | string | Resource | undefined)); + peer.setStrokeOpacityAttribute((this._strokeOpacity_0_0value as double | string | Resource | undefined)); this._strokeOpacity_0_flag = AttributeUpdaterFlag.RESET; break; } @@ -223,7 +224,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut } default: { this._strokeOpacity_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setStrokeOpacityAttribute((undefined as number | string | Resource | undefined)); + peer.setStrokeOpacityAttribute((undefined as double | string | Resource | undefined)); } } } @@ -231,7 +232,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut { switch (this._fillOpacity_0_flag) { case AttributeUpdaterFlag.UPDATE: { - peer.setFillOpacityAttribute((this._fillOpacity_0_0value as number | string | Resource | undefined)); + peer.setFillOpacityAttribute((this._fillOpacity_0_0value as double | string | Resource | undefined)); this._fillOpacity_0_flag = AttributeUpdaterFlag.RESET; break; } @@ -241,7 +242,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut } default: { this._fillOpacity_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setFillOpacityAttribute((undefined as number | string | Resource | undefined)); + peer.setFillOpacityAttribute((undefined as double | string | Resource | undefined)); } } } @@ -249,7 +250,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut { switch (this._strokeWidth_0_flag) { case AttributeUpdaterFlag.UPDATE: { - peer.setStrokeWidthAttribute((this._strokeWidth_0_0value as Length | undefined)); + peer.setStrokeWidthAttribute((this._strokeWidth_0_0value as double | string | undefined)); this._strokeWidth_0_flag = AttributeUpdaterFlag.RESET; break; } @@ -259,7 +260,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut } default: { this._strokeWidth_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setStrokeWidthAttribute((undefined as Length | undefined)); + peer.setStrokeWidthAttribute((undefined as double | string | undefined)); } } } @@ -285,7 +286,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut { switch (this._mesh_0_flag) { case AttributeUpdaterFlag.UPDATE: { - peer.setMeshAttribute((this._mesh_0_0value as Array | undefined), (this._mesh_0_1value as number | undefined), (this._mesh_0_2value as number | undefined)); + peer.setMeshAttribute((this._mesh_0_0value as Array | undefined), (this._mesh_0_1value as int32 | undefined), (this._mesh_0_2value as int32 | undefined)); this._mesh_0_flag = AttributeUpdaterFlag.RESET; break; } @@ -295,7 +296,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut } default: { this._mesh_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setMeshAttribute((undefined as Array | undefined), (undefined as number | undefined), (undefined as number | undefined)); + peer.setMeshAttribute((undefined as Array | undefined), (undefined as int32 | undefined), (undefined as int32 | undefined)); } } } @@ -350,7 +351,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut break; } default: { - this.strokeDashOffset((undefined as Length | undefined)); + this.strokeDashOffset((undefined as double | string | undefined)); } } } @@ -402,7 +403,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut break; } default: { - this.strokeMiterLimit((undefined as Length | undefined)); + this.strokeMiterLimit((undefined as double | string | undefined)); } } } @@ -415,7 +416,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut break; } default: { - this.strokeOpacity((undefined as number | string | Resource | undefined)); + this.strokeOpacity((undefined as double | string | Resource | undefined)); } } } @@ -428,7 +429,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut break; } default: { - this.fillOpacity((undefined as number | string | Resource | undefined)); + this.fillOpacity((undefined as double | string | Resource | undefined)); } } } @@ -441,7 +442,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut break; } default: { - this.strokeWidth((undefined as Length | undefined)); + this.strokeWidth((undefined as double | string | undefined)); } } } @@ -467,7 +468,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut break; } default: { - this.mesh((undefined as Array | undefined), (undefined as number | undefined), (undefined as number | undefined)); + this.mesh((undefined as Array | undefined), (undefined as int32 | undefined), (undefined as int32 | undefined)); } } } @@ -505,8 +506,8 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut } return this } - strokeDashOffset(value: Length | undefined): this { - if (((this._strokeDashOffset_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + strokeDashOffset(value: double | string | undefined): this { + if (((this._strokeDashOffset_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._strokeDashOffset_0_0value) !== (value))) { this._strokeDashOffset_0_flag = AttributeUpdaterFlag.UPDATE this._strokeDashOffset_0_0value = value @@ -549,8 +550,8 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut } return this } - strokeMiterLimit(value: Length | undefined): this { - if (((this._strokeMiterLimit_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + strokeMiterLimit(value: double | string | undefined): this { + if (((this._strokeMiterLimit_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._strokeMiterLimit_0_0value) !== (value))) { this._strokeMiterLimit_0_flag = AttributeUpdaterFlag.UPDATE this._strokeMiterLimit_0_0value = value @@ -560,7 +561,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut } return this } - strokeOpacity(value: number | string | Resource | undefined): this { + strokeOpacity(value: double | string | Resource | undefined): this { if (((this._strokeOpacity_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) { this._strokeOpacity_0_flag = AttributeUpdaterFlag.UPDATE @@ -571,7 +572,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut } return this } - fillOpacity(value: number | string | Resource | undefined): this { + fillOpacity(value: double | string | Resource | undefined): this { if (((this._fillOpacity_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) { this._fillOpacity_0_flag = AttributeUpdaterFlag.UPDATE @@ -582,8 +583,8 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut } return this } - strokeWidth(value: Length | undefined): this { - if (((this._strokeWidth_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + strokeWidth(value: double | string | undefined): this { + if (((this._strokeWidth_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._strokeWidth_0_0value) !== (value))) { this._strokeWidth_0_flag = AttributeUpdaterFlag.UPDATE this._strokeWidth_0_0value = value @@ -604,7 +605,7 @@ export class ShapeModifier extends CommonMethodModifier implements ShapeAttribut } return this } - mesh(value: Array | undefined, column: number | undefined, row: number | undefined): this { + mesh(value: Array | undefined, column: int32 | undefined, row: int32 | undefined): this { if (((this._mesh_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._mesh_0_0value) !== (value)) || ((this._mesh_0_1value) !== (column)) || ((this._mesh_0_2value) !== (row))) { this._mesh_0_flag = AttributeUpdaterFlag.UPDATE diff --git a/arkoala-arkts/arkui/generated/SideBarContainerModifier.ets b/arkoala-arkts/arkui/generated/SideBarContainerModifier.ets index 755f46fc0..46bafe8e9 100644 --- a/arkoala-arkts/arkui/generated/SideBarContainerModifier.ets +++ b/arkoala-arkts/arkui/generated/SideBarContainerModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkSideBarContainerPeer, ButtonStyle, SideBarPosition, SideBarContainerAttribute } from "./component/sidebar" +import { int32 } from "@koalaui/common" import { CommonMethod, Bindable, DividerStyle } from "./component/common" import { Length, Dimension } from "./component/units" import { Resource } from "global.resource" @@ -43,13 +44,11 @@ export class SideBarContainerModifier extends CommonMethodModifier implements Si _onChange_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _onChange_0_0value?: ((value: boolean) => void) | undefined _sideBarWidth_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _sideBarWidth_0_0value?: number | Bindable | undefined + _sideBarWidth_0_0value?: Length | Bindable | undefined _minSideBarWidth_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _minSideBarWidth_0_0value?: number | undefined _maxSideBarWidth_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _maxSideBarWidth_0_0value?: number | undefined - _sideBarWidth_1_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _sideBarWidth_1_0value?: Length | undefined _minSideBarWidth_1_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _minSideBarWidth_1_0value?: Length | undefined _maxSideBarWidth_1_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL @@ -140,7 +139,7 @@ export class SideBarContainerModifier extends CommonMethodModifier implements Si { switch (this._sideBarWidth_0_flag) { case AttributeUpdaterFlag.UPDATE: { - peer.setSideBarWidth0Attribute((this._sideBarWidth_0_0value as number | Bindable | undefined)); + peer.setSideBarWidthAttribute((this._sideBarWidth_0_0value as Length | Bindable | undefined)); this._sideBarWidth_0_flag = AttributeUpdaterFlag.RESET; break; } @@ -150,7 +149,7 @@ export class SideBarContainerModifier extends CommonMethodModifier implements Si } default: { this._sideBarWidth_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setSideBarWidth0Attribute((undefined as number | Bindable | undefined)); + peer.setSideBarWidthAttribute((undefined as Length | Bindable | undefined)); } } } @@ -190,24 +189,6 @@ export class SideBarContainerModifier extends CommonMethodModifier implements Si } } } - if (this._sideBarWidth_1_flag != AttributeUpdaterFlag.INITIAL) - { - switch (this._sideBarWidth_1_flag) { - case AttributeUpdaterFlag.UPDATE: { - peer.setSideBarWidth1Attribute((this._sideBarWidth_1_0value as Length | undefined)); - this._sideBarWidth_1_flag = AttributeUpdaterFlag.RESET; - break; - } - case AttributeUpdaterFlag.SKIP: { - this._sideBarWidth_1_flag = AttributeUpdaterFlag.RESET; - break; - } - default: { - this._sideBarWidth_1_flag = AttributeUpdaterFlag.INITIAL; - peer.setSideBarWidth1Attribute((undefined as Length | undefined)); - } - } - } if (this._minSideBarWidth_1_flag != AttributeUpdaterFlag.INITIAL) { switch (this._minSideBarWidth_1_flag) { @@ -380,7 +361,7 @@ export class SideBarContainerModifier extends CommonMethodModifier implements Si break; } default: { - this.sideBarWidth((undefined as number | Bindable | undefined)); + this.sideBarWidth((undefined as Length | Bindable | undefined)); } } } @@ -410,19 +391,6 @@ export class SideBarContainerModifier extends CommonMethodModifier implements Si } } } - if (modifier._sideBarWidth_1_flag != AttributeUpdaterFlag.INITIAL) - { - switch (modifier._sideBarWidth_1_flag) { - case AttributeUpdaterFlag.UPDATE: - case AttributeUpdaterFlag.SKIP: { - this.sideBarWidth(modifier._sideBarWidth_1_0value); - break; - } - default: { - this.sideBarWidth((undefined as Length | undefined)); - } - } - } if (modifier._minSideBarWidth_1_flag != AttributeUpdaterFlag.INITIAL) { switch (modifier._minSideBarWidth_1_flag) { @@ -546,7 +514,7 @@ export class SideBarContainerModifier extends CommonMethodModifier implements Si } return this } - sideBarWidth(value: number | Bindable | undefined): this { + sideBarWidth(value: Length | Bindable | undefined): this { if (((this._sideBarWidth_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) { this._sideBarWidth_0_flag = AttributeUpdaterFlag.UPDATE @@ -579,17 +547,6 @@ export class SideBarContainerModifier extends CommonMethodModifier implements Si } return this } - sideBarWidth(value: Length | undefined): this { - if (((this._sideBarWidth_1_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) - { - this._sideBarWidth_1_flag = AttributeUpdaterFlag.UPDATE - this._sideBarWidth_1_0value = value - } else - { - this._sideBarWidth_1_flag = AttributeUpdaterFlag.SKIP - } - return this - } minSideBarWidth(value: Length | undefined): this { if (((this._minSideBarWidth_1_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) { diff --git a/arkoala-arkts/arkui/generated/SliderModifier.ets b/arkoala-arkts/arkui/generated/SliderModifier.ets index 5f1525e7b..a4066efb5 100644 --- a/arkoala-arkts/arkui/generated/SliderModifier.ets +++ b/arkoala-arkts/arkui/generated/SliderModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier, ContentModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkSliderPeer, SliderChangeMode, SliderBlockStyle, SliderInteraction, SliderConfiguration, SlideRange, SliderAttribute } from "./component/slider" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { ResourceColor, Length, Dimension, SizeOptions, ResourceStr } from "./component/units" import { Color, CrownSensitivity } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/SpanModifier.ets b/arkoala-arkts/arkui/generated/SpanModifier.ets index 35e4493c5..fe33538ca 100644 --- a/arkoala-arkts/arkui/generated/SpanModifier.ets +++ b/arkoala-arkts/arkui/generated/SpanModifier.ets @@ -21,6 +21,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkSpanPeer, BaseSpan, SpanAttribute } from "./component/span" +import { int32 } from "@koalaui/common" import { Font, ResourceColor, Length } from "./component/units" import { Color, FontStyle, FontWeight, TextCase } from "./component/enums" import { Resource } from "global.resource" diff --git a/arkoala-arkts/arkui/generated/StackModifier.ets b/arkoala-arkts/arkui/generated/StackModifier.ets index 70125bd44..ee12e000f 100644 --- a/arkoala-arkts/arkui/generated/StackModifier.ets +++ b/arkoala-arkts/arkui/generated/StackModifier.ets @@ -20,7 +20,8 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkStackPeer, StackAttribute } from "./component/stack" -import { CommonMethod, PointLightStyle } from "./component/common" +import { int32 } from "@koalaui/common" +import { CommonMethod } from "./component/common" import { Alignment } from "./component/enums" export class StackModifier extends CommonMethodModifier implements StackAttribute,AttributeModifier { _instanceId: number = -1; @@ -35,8 +36,6 @@ export class StackModifier extends CommonMethodModifier implements StackAttribut applySelectedAttribute(instance: StackAttribute): void { } _alignContent_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _alignContent_0_0value?: Alignment | undefined - _pointLight_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _pointLight_0_0value?: PointLightStyle | undefined applyModifierPatch(peer: ArkStackPeer): void { super.applyModifierPatch(peer) if (this._alignContent_0_flag != AttributeUpdaterFlag.INITIAL) @@ -57,24 +56,6 @@ export class StackModifier extends CommonMethodModifier implements StackAttribut } } } - if (this._pointLight_0_flag != AttributeUpdaterFlag.INITIAL) - { - switch (this._pointLight_0_flag) { - case AttributeUpdaterFlag.UPDATE: { - peer.setPointLightAttribute((this._pointLight_0_0value as PointLightStyle | undefined)); - this._pointLight_0_flag = AttributeUpdaterFlag.RESET; - break; - } - case AttributeUpdaterFlag.SKIP: { - this._pointLight_0_flag = AttributeUpdaterFlag.RESET; - break; - } - default: { - this._pointLight_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setPointLightAttribute((undefined as PointLightStyle | undefined)); - } - } - } } mergeModifier(modifier: StackModifier): void { super.mergeModifier(modifier) @@ -91,19 +72,6 @@ export class StackModifier extends CommonMethodModifier implements StackAttribut } } } - if (modifier._pointLight_0_flag != AttributeUpdaterFlag.INITIAL) - { - switch (modifier._pointLight_0_flag) { - case AttributeUpdaterFlag.UPDATE: - case AttributeUpdaterFlag.SKIP: { - this.pointLight(modifier._pointLight_0_0value); - break; - } - default: { - this.pointLight((undefined as PointLightStyle | undefined)); - } - } - } } alignContent(value: Alignment | undefined): this { if (((this._alignContent_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) @@ -116,17 +84,6 @@ export class StackModifier extends CommonMethodModifier implements StackAttribut } return this } - pointLight(value: PointLightStyle | undefined): this { - if (((this._pointLight_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) - { - this._pointLight_0_flag = AttributeUpdaterFlag.UPDATE - this._pointLight_0_0value = value - } else - { - this._pointLight_0_flag = AttributeUpdaterFlag.SKIP - } - return this - } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } diff --git a/arkoala-arkts/arkui/generated/StepperItemModifier.ets b/arkoala-arkts/arkui/generated/StepperItemModifier.ets index ff3cf160c..cfe949bb0 100644 --- a/arkoala-arkts/arkui/generated/StepperItemModifier.ets +++ b/arkoala-arkts/arkui/generated/StepperItemModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkStepperItemPeer, ItemState, StepperItemAttribute } from "./component/stepperItem" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class StepperItemModifier extends CommonMethodModifier implements StepperItemAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/StepperModifier.ets b/arkoala-arkts/arkui/generated/StepperModifier.ets index e2cdbbd06..6097502d4 100644 --- a/arkoala-arkts/arkui/generated/StepperModifier.ets +++ b/arkoala-arkts/arkui/generated/StepperModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkStepperPeer, StepperAttribute } from "./component/stepper" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" export class StepperModifier extends CommonMethodModifier implements StepperAttribute,AttributeModifier { _instanceId: number = -1; diff --git a/arkoala-arkts/arkui/generated/SwiperModifier.ets b/arkoala-arkts/arkui/generated/SwiperModifier.ets index b7d65c855..de3990633 100644 --- a/arkoala-arkts/arkui/generated/SwiperModifier.ets +++ b/arkoala-arkts/arkui/generated/SwiperModifier.ets @@ -19,7 +19,8 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" -import { ArkSwiperPeer, DotIndicator, DigitIndicator, SwiperDisplayMode, OnSwiperAnimationStartCallback, SwiperAnimationEvent, OnSwiperAnimationEndCallback, OnSwiperGestureSwipeCallback, SwiperNestedScrollMode, SwiperContentAnimatedTransition, ContentDidScrollCallback, ContentWillScrollCallback, SwiperContentWillScrollResult, SwiperAttribute, AutoPlayOptions, ArrowStyle, SwiperAutoFill } from "./component/swiper" +import { ArkSwiperPeer, DotIndicator, DigitIndicator, SwiperDisplayMode, OnSwiperAnimationStartCallback, SwiperAnimationEvent, OnSwiperAnimationEndCallback, OnSwiperGestureSwipeCallback, SwiperNestedScrollMode, SwiperContentAnimatedTransition, ContentDidScrollCallback, ContentWillScrollCallback, SwiperContentWillScrollResult, AutoPlayOptions, ArrowStyle, SwiperAutoFill, SwiperAttribute } from "./component/swiper" +import { int32 } from "@koalaui/common" import { CommonMethod, Bindable } from "./component/common" import { IndicatorComponentController } from "./component/indicatorcomponent" import { EdgeEffect, PageFlipMode } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/SymbolGlyphModifier.ets b/arkoala-arkts/arkui/generated/SymbolGlyphModifier.ets index 6720e0e95..b67ba4dfc 100644 --- a/arkoala-arkts/arkui/generated/SymbolGlyphModifier.ets +++ b/arkoala-arkts/arkui/generated/SymbolGlyphModifier.ets @@ -17,15 +17,15 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { CommonMethodModifier } from "./CommonMethodModifier" -import { AttributeModifier, extractors } from "#handwritten" +import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkSymbolGlyphPeer, SymbolEffectStrategy, SymbolRenderingStrategy, SymbolGlyphAttribute, SymbolEffect } from "./component/symbolglyph" +import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { CommonMethod } from "./component/common" import { Resource } from "global.resource" import { ResourceColor } from "./component/units" import { Color, FontWeight } from "./component/enums" 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 { TypeChecker } from "#components" import { CallbackTransformer } from "./CallbackTransformer" export class SymbolGlyphModifier extends CommonMethodModifier implements SymbolGlyphAttribute,AttributeModifier { diff --git a/arkoala-arkts/arkui/generated/SymbolSpanModifier.ets b/arkoala-arkts/arkui/generated/SymbolSpanModifier.ets index bfa9b8d6f..ebefab7b6 100644 --- a/arkoala-arkts/arkui/generated/SymbolSpanModifier.ets +++ b/arkoala-arkts/arkui/generated/SymbolSpanModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkSymbolSpanPeer, SymbolSpanAttribute } from "./component/symbolSpan" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { Resource } from "global.resource" import { ResourceColor } from "./component/units" diff --git a/arkoala-arkts/arkui/generated/TabContentModifier.ets b/arkoala-arkts/arkui/generated/TabContentModifier.ets index 31d0cd687..7c8bf3102 100644 --- a/arkoala-arkts/arkui/generated/TabContentModifier.ets +++ b/arkoala-arkts/arkui/generated/TabContentModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkTabContentPeer, SubTabBarStyle, BottomTabBarStyle, TabBarOptions, TabContentAttribute } from "./component/tabContent" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { ComponentContent } from "./ComponentContent" import { Resource } from "global.resource" diff --git a/arkoala-arkts/arkui/generated/TabsModifier.ets b/arkoala-arkts/arkui/generated/TabsModifier.ets index 1058970dd..2cde44bce 100644 --- a/arkoala-arkts/arkui/generated/TabsModifier.ets +++ b/arkoala-arkts/arkui/generated/TabsModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkTabsPeer, BarPosition, AnimationMode, OnTabsAnimationStartCallback, TabsAnimationEvent, OnTabsAnimationEndCallback, OnTabsGestureSwipeCallback, BarGridColumnOptions, TabsCustomContentTransitionCallback, OnTabsContentWillChangeCallback, TabsAttribute, BarMode, ScrollableBarModeOptions, TabsCacheMode } from "./component/tabs" +import { int32 } from "@koalaui/common" import { CommonMethod, DividerStyle, BlurStyle, BackgroundEffectOptions, BackgroundBlurStyleOptions } from "./component/common" import { Length, ResourceColor } from "./component/units" import { Resource } from "global.resource" diff --git a/arkoala-arkts/arkui/generated/TextAreaModifier.ets b/arkoala-arkts/arkui/generated/TextAreaModifier.ets index bd4d8ed97..e83c10e3e 100644 --- a/arkoala-arkts/arkui/generated/TextAreaModifier.ets +++ b/arkoala-arkts/arkui/generated/TextAreaModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkTextAreaPeer, TextAreaSubmitCallback, TextAreaType, TextAreaAttribute } from "./component/textArea" +import { int32 } from "@koalaui/common" import { CommonMethod, TextDecorationOptions, InputCounterOptions } from "./component/common" import { ResourceColor, Font, Length, ResourceStr, Dimension } from "./component/units" import { Color, TextAlign, FontStyle, FontWeight, TextOverflow, CopyOptions, TextContentStyle, BarState, TextHeightAdaptivePolicy, WordBreak, LineBreakStrategy, EllipsisMode } from "./component/enums" @@ -57,7 +58,7 @@ export class TextAreaModifier extends CommonMethodModifier implements TextAreaAt _fontStyle_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _fontStyle_0_0value?: FontStyle | undefined _fontWeight_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _fontWeight_0_0value?: number | FontWeight | ResourceStr | undefined + _fontWeight_0_0value?: number | FontWeight | string | undefined _fontFamily_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _fontFamily_0_0value?: ResourceStr | undefined _textOverflow_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL @@ -313,7 +314,7 @@ export class TextAreaModifier extends CommonMethodModifier implements TextAreaAt { switch (this._fontWeight_0_flag) { case AttributeUpdaterFlag.UPDATE: { - peer.setFontWeightAttribute((this._fontWeight_0_0value as number | FontWeight | ResourceStr | undefined)); + peer.setFontWeightAttribute((this._fontWeight_0_0value as number | FontWeight | string | undefined)); this._fontWeight_0_flag = AttributeUpdaterFlag.RESET; break; } @@ -323,7 +324,7 @@ export class TextAreaModifier extends CommonMethodModifier implements TextAreaAt } default: { this._fontWeight_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setFontWeightAttribute((undefined as number | FontWeight | ResourceStr | undefined)); + peer.setFontWeightAttribute((undefined as number | FontWeight | string | undefined)); } } } @@ -1361,7 +1362,7 @@ export class TextAreaModifier extends CommonMethodModifier implements TextAreaAt break; } default: { - this.fontWeight((undefined as number | FontWeight | ResourceStr | undefined)); + this.fontWeight((undefined as number | FontWeight | string | undefined)); } } } @@ -2117,7 +2118,7 @@ export class TextAreaModifier extends CommonMethodModifier implements TextAreaAt } return this } - fontWeight(value: number | FontWeight | ResourceStr | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { if (((this._fontWeight_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) { this._fontWeight_0_flag = AttributeUpdaterFlag.UPDATE diff --git a/arkoala-arkts/arkui/generated/TextClockModifier.ets b/arkoala-arkts/arkui/generated/TextClockModifier.ets index 8453cdde1..6e1fdc56f 100644 --- a/arkoala-arkts/arkui/generated/TextClockModifier.ets +++ b/arkoala-arkts/arkui/generated/TextClockModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier, ContentModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkTextClockPeer, TextClockConfiguration, TextClockAttribute } from "./component/textClock" +import { int32 } from "@koalaui/common" import { CommonMethod, ShadowOptions } from "./component/common" import { ResourceStr, ResourceColor, Length } from "./component/units" import { Resource } from "global.resource" diff --git a/arkoala-arkts/arkui/generated/TextInputModifier.ets b/arkoala-arkts/arkui/generated/TextInputModifier.ets index 14224d15a..845aabfc2 100644 --- a/arkoala-arkts/arkui/generated/TextInputModifier.ets +++ b/arkoala-arkts/arkui/generated/TextInputModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkTextInputPeer, InputType, ContentType, EnterKeyType, OnSubmitCallback, SubmitEvent, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback, TextInputStyle, PasswordIcon, UnderlineColor, TextInputAttribute } from "./component/textInput" +import { int32 } from "@koalaui/common" import { CommonMethod, TextDecorationOptions, InputCounterOptions } from "./component/common" import { ResourceColor, Dimension, Font, Length, ResourceStr } from "./component/units" import { Color, TextOverflow, FontStyle, FontWeight, CopyOptions, TextAlign, TextContentStyle, BarState, WordBreak, LineBreakStrategy, TextHeightAdaptivePolicy, EllipsisMode } from "./component/enums" @@ -74,7 +75,7 @@ export class TextInputModifier extends CommonMethodModifier implements TextInput _fontStyle_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _fontStyle_0_0value?: FontStyle | undefined _fontWeight_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _fontWeight_0_0value?: number | FontWeight | ResourceStr | undefined + _fontWeight_0_0value?: number | FontWeight | string | undefined _fontFamily_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _fontFamily_0_0value?: ResourceStr | undefined _onCopy_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL @@ -496,7 +497,7 @@ export class TextInputModifier extends CommonMethodModifier implements TextInput { switch (this._fontWeight_0_flag) { case AttributeUpdaterFlag.UPDATE: { - peer.setFontWeightAttribute((this._fontWeight_0_0value as number | FontWeight | ResourceStr | undefined)); + peer.setFontWeightAttribute((this._fontWeight_0_0value as number | FontWeight | string | undefined)); this._fontWeight_0_flag = AttributeUpdaterFlag.RESET; break; } @@ -506,7 +507,7 @@ export class TextInputModifier extends CommonMethodModifier implements TextInput } default: { this._fontWeight_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setFontWeightAttribute((undefined as number | FontWeight | ResourceStr | undefined)); + peer.setFontWeightAttribute((undefined as number | FontWeight | string | undefined)); } } } @@ -1697,7 +1698,7 @@ export class TextInputModifier extends CommonMethodModifier implements TextInput break; } default: { - this.fontWeight((undefined as number | FontWeight | ResourceStr | undefined)); + this.fontWeight((undefined as number | FontWeight | string | undefined)); } } } @@ -2578,7 +2579,7 @@ export class TextInputModifier extends CommonMethodModifier implements TextInput } return this } - fontWeight(value: number | FontWeight | ResourceStr | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { if (((this._fontWeight_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) { this._fontWeight_0_flag = AttributeUpdaterFlag.UPDATE diff --git a/arkoala-arkts/arkui/generated/TextModifier.ets b/arkoala-arkts/arkui/generated/TextModifier.ets index 9d7b084a4..cc0433ab2 100644 --- a/arkoala-arkts/arkui/generated/TextModifier.ets +++ b/arkoala-arkts/arkui/generated/TextModifier.ets @@ -17,9 +17,10 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { CommonMethodModifier } from "./CommonMethodModifier" -import { AttributeModifier, extractors } from "#handwritten" +import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkTextPeer, TextOverflowOptions, TextMarqueeOptions, MarqueeState, TextAttribute, TextSpanType, TextResponseType } from "./component/text" +import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { CommonMethod, ShadowOptions } from "./component/common" import { ResourceColor, Length, Font } from "./component/units" import { Color, FontStyle, TextAlign, TextCase, CopyOptions, TextHeightAdaptivePolicy, WordBreak, LineBreakStrategy, EllipsisMode, TextSelectableMode, FontWeight } from "./component/enums" @@ -30,7 +31,6 @@ import { TextDataDetectorConfig, EditMenuOptions, FontSettingOptions } from "./c import { CustomBuilder } from "./component/builder" import { SelectionMenuOptions } from "./component/richEditor" 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 { TypeChecker } from "#components" import { CallbackTransformer } from "./CallbackTransformer" export class TextModifier extends CommonMethodModifier implements TextAttribute,AttributeModifier { diff --git a/arkoala-arkts/arkui/generated/TextPickerModifier.ets b/arkoala-arkts/arkui/generated/TextPickerModifier.ets index d00645b07..b9c8767cd 100644 --- a/arkoala-arkts/arkui/generated/TextPickerModifier.ets +++ b/arkoala-arkts/arkui/generated/TextPickerModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkTextPickerPeer, TextPickerTextStyle, OnTextPickerChangeCallback, TextPickerScrollStopCallback, TextPickerEnterSelectedAreaCallback, DividerOptions, TextPickerAttribute } from "./component/textPicker" +import { int32 } from "@koalaui/common" import { CommonMethod, PickerTextStyle } from "./component/common" import { Dimension } from "./component/units" import { Resource } from "global.resource" diff --git a/arkoala-arkts/arkui/generated/TextTimerModifier.ets b/arkoala-arkts/arkui/generated/TextTimerModifier.ets index 0af657e70..52b87292d 100644 --- a/arkoala-arkts/arkui/generated/TextTimerModifier.ets +++ b/arkoala-arkts/arkui/generated/TextTimerModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier, ContentModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkTextTimerPeer, TextTimerConfiguration, TextTimerAttribute } from "./component/textTimer" +import { int32 } from "@koalaui/common" import { CommonMethod, ShadowOptions } from "./component/common" import { ResourceColor, Length, ResourceStr } from "./component/units" import { Color, FontStyle, FontWeight } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/TimePickerModifier.ets b/arkoala-arkts/arkui/generated/TimePickerModifier.ets index f4698f8f7..0899044aa 100644 --- a/arkoala-arkts/arkui/generated/TimePickerModifier.ets +++ b/arkoala-arkts/arkui/generated/TimePickerModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkTimePickerPeer, OnTimePickerChangeCallback, TimePickerResult, TimePickerAttribute } from "./component/timePicker" +import { int32 } from "@koalaui/common" import { CommonMethod, PickerTextStyle } from "./component/common" import { intl } from "./framework/ohos.intl" import { CrownSensitivity } from "./component/enums" diff --git a/arkoala-arkts/arkui/generated/ToggleModifier.ets b/arkoala-arkts/arkui/generated/ToggleModifier.ets index 0eda1b4d3..8391c80a8 100644 --- a/arkoala-arkts/arkui/generated/ToggleModifier.ets +++ b/arkoala-arkts/arkui/generated/ToggleModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier, ContentModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkTogglePeer, ToggleConfiguration, SwitchStyle, ToggleAttribute } from "./component/toggle" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { ResourceColor } from "./component/units" import { Color } from "./component/enums" diff --git a/arkoala-arkts/arkui/sdk/component/customComponent.ets b/arkoala-arkts/arkui/generated/ToolBarItemModifier.ets similarity index 39% rename from arkoala-arkts/arkui/sdk/component/customComponent.ets rename to arkoala-arkts/arkui/generated/ToolBarItemModifier.ets index 8b14d108c..f60335356 100644 --- a/arkoala-arkts/arkui/sdk/component/customComponent.ets +++ b/arkoala-arkts/arkui/generated/ToolBarItemModifier.ets @@ -16,20 +16,26 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, int64, float32 } from "@koalaui/common" -import { KInt, KPointer, KBoolean, NativeBuffer } from "@koalaui/interop" -import { memo, memo_stable } from "@koalaui/runtime/annotations" -import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { GeometryInfo, Layoutable, Measurable, SizeResult } from "./common" -import { ConstraintSizeOptions } from "./units" -export declare interface PageLifeCycle { - onPageShow(): void - onPageHide(): void - onBackPress(): boolean - pageTransition(): void - onNewParam(param: Object | undefined): void -} -export declare interface LayoutCallback { - onPlaceChildren(selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions): void - onMeasureSize(selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions): SizeResult +import { AttributeModifier } from "#handwritten" +import { AttributeUpdaterFlag } from "./AttributeUpdater" +import { ArkToolBarItemPeer, ToolBarItemAttribute } from "./component/toolbar" +import { int32 } from "@koalaui/common" +export class ToolBarItemModifier implements ToolBarItemAttribute,AttributeModifier { + _instanceId: number = -1; + setInstanceId(instanceId: number): void { + this._instanceId = instanceId + } + isUpdater: () => boolean = () => false + applyNormalAttribute(instance: ToolBarItemAttribute): void { } + applyPressedAttribute(instance: ToolBarItemAttribute): void { } + applyFocusedAttribute(instance: ToolBarItemAttribute): void { } + applyDisabledAttribute(instance: ToolBarItemAttribute): void { } + applySelectedAttribute(instance: ToolBarItemAttribute): void { } + applyModifierPatch(peer: ArkToolBarItemPeer): void { + } + mergeModifier(modifier: ToolBarItemModifier): void { + } + public attributeModifier(value: AttributeModifier | undefined): this { + throw new Error("Not implemented") + } } diff --git a/arkoala-arkts/arkui/generated/UIExtensionComponentModifier.ets b/arkoala-arkts/arkui/generated/UIExtensionComponentModifier.ets index 78350d579..e6474c3c1 100644 --- a/arkoala-arkts/arkui/generated/UIExtensionComponentModifier.ets +++ b/arkoala-arkts/arkui/generated/UIExtensionComponentModifier.ets @@ -20,7 +20,9 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkUIExtensionComponentPeer, UIExtensionProxy, UIExtensionComponentAttribute } from "./component/uiExtensionComponent" +import { int32 } from "@koalaui/common" import { CommonMethod, TerminationInfo } from "./component/common" +import { RecordData } from "./component/pluginComponent" import { ErrorCallback, BusinessError } from "./framework/ohos.base" export class UIExtensionComponentModifier extends CommonMethodModifier implements UIExtensionComponentAttribute,AttributeModifier { _instanceId: number = -1; @@ -36,7 +38,7 @@ export class UIExtensionComponentModifier extends CommonMethodModifier implement _onRemoteReady_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _onRemoteReady_0_0value?: ((value0: UIExtensionProxy) => void) | undefined _onReceive_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _onReceive_0_0value?: ((value0: Map) => void) | undefined + _onReceive_0_0value?: ((value0: Map) => void) | undefined _onError_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _onError_0_0value?: ErrorCallback | undefined _onTerminated_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL @@ -67,7 +69,7 @@ export class UIExtensionComponentModifier extends CommonMethodModifier implement { switch (this._onReceive_0_flag) { case AttributeUpdaterFlag.UPDATE: { - peer.setOnReceiveAttribute((this._onReceive_0_0value as ((value0: Map) => void) | undefined)); + peer.setOnReceiveAttribute((this._onReceive_0_0value as ((value0: Map) => void) | undefined)); this._onReceive_0_flag = AttributeUpdaterFlag.RESET; break; } @@ -77,7 +79,7 @@ export class UIExtensionComponentModifier extends CommonMethodModifier implement } default: { this._onReceive_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setOnReceiveAttribute((undefined as ((value0: Map) => void) | undefined)); + peer.setOnReceiveAttribute((undefined as ((value0: Map) => void) | undefined)); } } } @@ -160,7 +162,7 @@ export class UIExtensionComponentModifier extends CommonMethodModifier implement break; } default: { - this.onReceive((undefined as ((value0: Map) => void) | undefined)); + this.onReceive((undefined as ((value0: Map) => void) | undefined)); } } } @@ -215,7 +217,7 @@ export class UIExtensionComponentModifier extends CommonMethodModifier implement } return this } - onReceive(value: ((value0: Map) => void) | undefined): this { + onReceive(value: ((value0: Map) => void) | undefined): this { if (((this._onReceive_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) { this._onReceive_0_flag = AttributeUpdaterFlag.UPDATE diff --git a/arkoala-arkts/arkui/generated/VideoModifier.ets b/arkoala-arkts/arkui/generated/VideoModifier.ets index 6e75496e6..126f9bab2 100644 --- a/arkoala-arkts/arkui/generated/VideoModifier.ets +++ b/arkoala-arkts/arkui/generated/VideoModifier.ets @@ -20,11 +20,11 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkVideoPeer, FullscreenInfo, PreparedInfo, PlaybackInfo, VideoAttribute } from "./component/video" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { ImageFit } from "./component/enums" import { VoidCallback } from "./component/units" import { ImageAnalyzerConfig } from "./component/imageCommon" -import { ColorMetrics } from "./Graphics" export class VideoModifier extends CommonMethodModifier implements VideoAttribute,AttributeModifier { _instanceId: number = -1; setInstanceId(instanceId: number): void { @@ -65,13 +65,11 @@ export class VideoModifier extends CommonMethodModifier implements VideoAttribut _onError_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _onError_0_0value?: (() => void) | undefined _onStop_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _onStop_0_0value?: (() => void) | undefined + _onStop_0_0value?: VoidCallback | undefined _enableAnalyzer_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _enableAnalyzer_0_0value?: boolean | undefined _analyzerConfig_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _analyzerConfig_0_0value?: ImageAnalyzerConfig | undefined - _surfaceBackgroundColor_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _surfaceBackgroundColor_0_0value?: ColorMetrics | undefined _enableShortcutKey_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _enableShortcutKey_0_0value?: boolean | undefined applyModifierPatch(peer: ArkVideoPeer): void { @@ -332,7 +330,7 @@ export class VideoModifier extends CommonMethodModifier implements VideoAttribut { switch (this._onStop_0_flag) { case AttributeUpdaterFlag.UPDATE: { - peer.setOnStopAttribute((this._onStop_0_0value as (() => void) | undefined)); + peer.setOnStopAttribute((this._onStop_0_0value as VoidCallback | undefined)); this._onStop_0_flag = AttributeUpdaterFlag.RESET; break; } @@ -342,7 +340,7 @@ export class VideoModifier extends CommonMethodModifier implements VideoAttribut } default: { this._onStop_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setOnStopAttribute((undefined as (() => void) | undefined)); + peer.setOnStopAttribute((undefined as VoidCallback | undefined)); } } } @@ -382,24 +380,6 @@ export class VideoModifier extends CommonMethodModifier implements VideoAttribut } } } - if (this._surfaceBackgroundColor_0_flag != AttributeUpdaterFlag.INITIAL) - { - switch (this._surfaceBackgroundColor_0_flag) { - case AttributeUpdaterFlag.UPDATE: { - peer.setSurfaceBackgroundColorAttribute((this._surfaceBackgroundColor_0_0value as ColorMetrics | undefined)); - this._surfaceBackgroundColor_0_flag = AttributeUpdaterFlag.RESET; - break; - } - case AttributeUpdaterFlag.SKIP: { - this._surfaceBackgroundColor_0_flag = AttributeUpdaterFlag.RESET; - break; - } - default: { - this._surfaceBackgroundColor_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setSurfaceBackgroundColorAttribute((undefined as ColorMetrics | undefined)); - } - } - } if (this._enableShortcutKey_0_flag != AttributeUpdaterFlag.INITIAL) { switch (this._enableShortcutKey_0_flag) { @@ -612,7 +592,7 @@ export class VideoModifier extends CommonMethodModifier implements VideoAttribut break; } default: { - this.onStop((undefined as (() => void) | undefined)); + this.onStop((undefined as VoidCallback | undefined)); } } } @@ -642,19 +622,6 @@ export class VideoModifier extends CommonMethodModifier implements VideoAttribut } } } - if (modifier._surfaceBackgroundColor_0_flag != AttributeUpdaterFlag.INITIAL) - { - switch (modifier._surfaceBackgroundColor_0_flag) { - case AttributeUpdaterFlag.UPDATE: - case AttributeUpdaterFlag.SKIP: { - this.surfaceBackgroundColor(modifier._surfaceBackgroundColor_0_0value); - break; - } - default: { - this.surfaceBackgroundColor((undefined as ColorMetrics | undefined)); - } - } - } if (modifier._enableShortcutKey_0_flag != AttributeUpdaterFlag.INITIAL) { switch (modifier._enableShortcutKey_0_flag) { @@ -823,7 +790,7 @@ export class VideoModifier extends CommonMethodModifier implements VideoAttribut } return this } - onStop(value: (() => void) | undefined): this { + onStop(value: VoidCallback | undefined): this { if (((this._onStop_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) { this._onStop_0_flag = AttributeUpdaterFlag.UPDATE @@ -856,17 +823,6 @@ export class VideoModifier extends CommonMethodModifier implements VideoAttribut } return this } - surfaceBackgroundColor(value: ColorMetrics | undefined): this { - if (((this._surfaceBackgroundColor_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) - { - this._surfaceBackgroundColor_0_flag = AttributeUpdaterFlag.UPDATE - this._surfaceBackgroundColor_0_0value = value - } else - { - this._surfaceBackgroundColor_0_flag = AttributeUpdaterFlag.SKIP - } - return this - } enableShortcutKey(value: boolean | undefined): this { if (((this._enableShortcutKey_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._enableShortcutKey_0_0value) !== (value))) { diff --git a/arkoala-arkts/arkui/generated/WaterFlowModifier.ets b/arkoala-arkts/arkui/generated/WaterFlowModifier.ets index c6c5f073c..f2cfda7b2 100644 --- a/arkoala-arkts/arkui/generated/WaterFlowModifier.ets +++ b/arkoala-arkts/arkui/generated/WaterFlowModifier.ets @@ -21,6 +21,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkWaterFlowPeer, WaterFlowAttribute } from "./component/waterFlow" +import { int32 } from "@koalaui/common" import { ScrollableCommonMethod, OnWillScrollCallback, OnScrollCallback, CommonMethod } from "./component/common" import { ConstraintSizeOptions, Length } from "./component/units" import { Resource } from "global.resource" diff --git a/arkoala-arkts/arkui/generated/WebModifier.ets b/arkoala-arkts/arkui/generated/WebModifier.ets new file mode 100644 index 000000000..75509635a --- /dev/null +++ b/arkoala-arkts/arkui/generated/WebModifier.ets @@ -0,0 +1,5248 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { CommonMethodModifier } from "./CommonMethodModifier" +import { AttributeModifier } from "#handwritten" +import { AttributeUpdaterFlag } from "./AttributeUpdater" +import { ArkWebPeer, MixedMode, JavaScriptProxy, CacheMode, WebDarkMode, WebMediaOptions, OverScrollMode, BlurOnKeyboardHideMode, OnPageEndEvent, OnPageBeginEvent, OnProgressChangeEvent, OnTitleReceiveEvent, OnGeolocationShowEvent, OnAlertEvent, OnBeforeUnloadEvent, OnConfirmEvent, OnPromptEvent, OnConsoleEvent, OnErrorReceiveEvent, OnHttpErrorReceiveEvent, OnDownloadStartEvent, OnRefreshAccessedHistoryEvent, OnRenderExitedEvent, OnShowFileSelectorEvent, OnResourceLoadEvent, OnFullScreenEnterCallback, FullScreenEnterEvent, OnScaleChangeEvent, OnHttpAuthRequestEvent, OnInterceptRequestEvent, WebResourceResponse, OnPermissionRequestEvent, OnScreenCaptureRequestEvent, OnContextMenuShowEvent, OnContextMenuHideCallback, OnSearchResultReceiveEvent, OnScrollEvent, OnSslErrorEventReceiveEvent, OnSslErrorEventCallback, SslErrorEvent, OnClientAuthenticationEvent, OnWindowNewEvent, OnTouchIconUrlReceivedEvent, OnFaviconReceivedEvent, OnPageVisibleEvent, OnDataResubmittedEvent, OnAudioStateChangedEvent, OnFirstContentfulPaintEvent, OnFirstMeaningfulPaintCallback, FirstMeaningfulPaint, OnLargestContentfulPaintCallback, LargestContentfulPaint, OnLoadInterceptEvent, OnOverScrollEvent, OnSafeBrowsingCheckResultCallback, ThreatType, OnNavigationEntryCommittedCallback, LoadCommittedDetails, OnIntelligentTrackingPreventionCallback, IntelligentTrackingPreventionDetails, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, NativeEmbedDataInfo, OnNativeEmbedVisibilityChangeCallback, NativeEmbedVisibilityInfo, NativeEmbedTouchInfo, OnOverrideUrlLoadingCallback, WebResourceRequest, NativeMediaPlayerConfig, OnRenderProcessNotRespondingCallback, RenderProcessNotRespondingData, OnRenderProcessRespondingCallback, OnViewportFitChangedCallback, ViewportFit, WebKeyboardCallback, WebKeyboardCallbackInfo, OnAdsBlockedCallback, AdsBlockedDetails, WebKeyboardAvoidMode, EmbedOptions, WebAttribute, WebElementType, WebResponseType, SelectionMenuOptionsExt } from "./component/web" +import { int32 } from "@koalaui/common" +import { CommonMethod, KeyEvent, NestedScrollOptions } from "./component/common" +import { CopyOptions } from "./component/enums" +import { EditMenuOptions } from "./component/textCommon" +import { CustomBuilder } from "./component/builder" +export class WebModifier extends CommonMethodModifier implements WebAttribute,AttributeModifier { + _instanceId: number = -1; + setInstanceId(instanceId: number): void { + this._instanceId = instanceId + } + isUpdater: () => boolean = () => false + applyNormalAttribute(instance: WebAttribute): void { } + applyPressedAttribute(instance: WebAttribute): void { } + applyFocusedAttribute(instance: WebAttribute): void { } + applyDisabledAttribute(instance: WebAttribute): void { } + applySelectedAttribute(instance: WebAttribute): void { } + _javaScriptAccess_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _javaScriptAccess_0_0value?: boolean | undefined + _fileAccess_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _fileAccess_0_0value?: boolean | undefined + _onlineImageAccess_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onlineImageAccess_0_0value?: boolean | undefined + _domStorageAccess_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _domStorageAccess_0_0value?: boolean | undefined + _imageAccess_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _imageAccess_0_0value?: boolean | undefined + _mixedMode_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _mixedMode_0_0value?: MixedMode | undefined + _zoomAccess_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _zoomAccess_0_0value?: boolean | undefined + _geolocationAccess_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _geolocationAccess_0_0value?: boolean | undefined + _javaScriptProxy_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _javaScriptProxy_0_0value?: JavaScriptProxy | undefined + _cacheMode_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _cacheMode_0_0value?: CacheMode | undefined + _darkMode_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _darkMode_0_0value?: WebDarkMode | undefined + _forceDarkAccess_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _forceDarkAccess_0_0value?: boolean | undefined + _mediaOptions_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _mediaOptions_0_0value?: WebMediaOptions | undefined + _overviewModeAccess_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _overviewModeAccess_0_0value?: boolean | undefined + _overScrollMode_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _overScrollMode_0_0value?: OverScrollMode | undefined + _blurOnKeyboardHideMode_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _blurOnKeyboardHideMode_0_0value?: BlurOnKeyboardHideMode | undefined + _textZoomRatio_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _textZoomRatio_0_0value?: int32 | undefined + _databaseAccess_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _databaseAccess_0_0value?: boolean | undefined + _initialScale_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _initialScale_0_0value?: double | undefined + _metaViewport_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _metaViewport_0_0value?: boolean | undefined + _onPageEnd_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onPageEnd_0_0value?: ((value0: OnPageEndEvent) => void) | undefined + _onPageBegin_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onPageBegin_0_0value?: ((value0: OnPageBeginEvent) => void) | undefined + _onProgressChange_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onProgressChange_0_0value?: ((value0: OnProgressChangeEvent) => void) | undefined + _onTitleReceive_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onTitleReceive_0_0value?: ((value0: OnTitleReceiveEvent) => void) | undefined + _onGeolocationHide_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onGeolocationHide_0_0value?: (() => void) | undefined + _onGeolocationShow_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onGeolocationShow_0_0value?: ((value0: OnGeolocationShowEvent) => void) | undefined + _onRequestSelected_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onRequestSelected_0_0value?: (() => void) | undefined + _onAlert_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onAlert_0_0value?: ((value0: OnAlertEvent) => boolean) | undefined + _onBeforeUnload_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onBeforeUnload_0_0value?: ((value0: OnBeforeUnloadEvent) => boolean) | undefined + _onConfirm_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onConfirm_0_0value?: ((value0: OnConfirmEvent) => boolean) | undefined + _onPrompt_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onPrompt_0_0value?: ((value0: OnPromptEvent) => boolean) | undefined + _onConsole_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onConsole_0_0value?: ((value0: OnConsoleEvent) => boolean) | undefined + _onErrorReceive_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onErrorReceive_0_0value?: ((value0: OnErrorReceiveEvent) => void) | undefined + _onHttpErrorReceive_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onHttpErrorReceive_0_0value?: ((value0: OnHttpErrorReceiveEvent) => void) | undefined + _onDownloadStart_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onDownloadStart_0_0value?: ((value0: OnDownloadStartEvent) => void) | undefined + _onRefreshAccessedHistory_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onRefreshAccessedHistory_0_0value?: ((value0: OnRefreshAccessedHistoryEvent) => void) | undefined + _onRenderExited_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onRenderExited_0_0value?: ((value0: OnRenderExitedEvent) => void) | undefined + _onShowFileSelector_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onShowFileSelector_0_0value?: ((value0: OnShowFileSelectorEvent) => boolean) | undefined + _onResourceLoad_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onResourceLoad_0_0value?: ((value0: OnResourceLoadEvent) => void) | undefined + _onFullScreenExit_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onFullScreenExit_0_0value?: (() => void) | undefined + _onFullScreenEnter_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onFullScreenEnter_0_0value?: OnFullScreenEnterCallback | undefined + _onScaleChange_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onScaleChange_0_0value?: ((value0: OnScaleChangeEvent) => void) | undefined + _onHttpAuthRequest_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onHttpAuthRequest_0_0value?: ((value0: OnHttpAuthRequestEvent) => boolean) | undefined + _onInterceptRequest_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onInterceptRequest_0_0value?: ((value0: OnInterceptRequestEvent) => WebResourceResponse) | undefined + _onPermissionRequest_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onPermissionRequest_0_0value?: ((value0: OnPermissionRequestEvent) => void) | undefined + _onScreenCaptureRequest_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onScreenCaptureRequest_0_0value?: ((value0: OnScreenCaptureRequestEvent) => void) | undefined + _onContextMenuShow_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onContextMenuShow_0_0value?: ((value0: OnContextMenuShowEvent) => boolean) | undefined + _onContextMenuHide_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onContextMenuHide_0_0value?: OnContextMenuHideCallback | undefined + _mediaPlayGestureAccess_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _mediaPlayGestureAccess_0_0value?: boolean | undefined + _onSearchResultReceive_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onSearchResultReceive_0_0value?: ((value0: OnSearchResultReceiveEvent) => void) | undefined + _onScroll_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onScroll_0_0value?: ((value0: OnScrollEvent) => void) | undefined + _onSslErrorEventReceive_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onSslErrorEventReceive_0_0value?: ((value0: OnSslErrorEventReceiveEvent) => void) | undefined + _onSslErrorEvent_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onSslErrorEvent_0_0value?: OnSslErrorEventCallback | undefined + _onClientAuthenticationRequest_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onClientAuthenticationRequest_0_0value?: ((value0: OnClientAuthenticationEvent) => void) | undefined + _onWindowNew_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onWindowNew_0_0value?: ((value0: OnWindowNewEvent) => void) | undefined + _onWindowExit_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onWindowExit_0_0value?: (() => void) | undefined + _multiWindowAccess_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _multiWindowAccess_0_0value?: boolean | undefined + _onInterceptKeyEvent_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onInterceptKeyEvent_0_0value?: ((event: KeyEvent) => boolean) | undefined + _webStandardFont_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _webStandardFont_0_0value?: string | undefined + _webSerifFont_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _webSerifFont_0_0value?: string | undefined + _webSansSerifFont_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _webSansSerifFont_0_0value?: string | undefined + _webFixedFont_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _webFixedFont_0_0value?: string | undefined + _webFantasyFont_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _webFantasyFont_0_0value?: string | undefined + _webCursiveFont_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _webCursiveFont_0_0value?: string | undefined + _defaultFixedFontSize_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _defaultFixedFontSize_0_0value?: int32 | undefined + _defaultFontSize_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _defaultFontSize_0_0value?: int32 | undefined + _minFontSize_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _minFontSize_0_0value?: int32 | undefined + _minLogicalFontSize_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _minLogicalFontSize_0_0value?: int32 | undefined + _defaultTextEncodingFormat_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _defaultTextEncodingFormat_0_0value?: string | undefined + _forceDisplayScrollBar_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _forceDisplayScrollBar_0_0value?: boolean | undefined + _blockNetwork_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _blockNetwork_0_0value?: boolean | undefined + _horizontalScrollBarAccess_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _horizontalScrollBarAccess_0_0value?: boolean | undefined + _verticalScrollBarAccess_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _verticalScrollBarAccess_0_0value?: boolean | undefined + _onTouchIconUrlReceived_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onTouchIconUrlReceived_0_0value?: ((value0: OnTouchIconUrlReceivedEvent) => void) | undefined + _onFaviconReceived_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onFaviconReceived_0_0value?: ((value0: OnFaviconReceivedEvent) => void) | undefined + _onPageVisible_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onPageVisible_0_0value?: ((value0: OnPageVisibleEvent) => void) | undefined + _onDataResubmitted_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onDataResubmitted_0_0value?: ((value0: OnDataResubmittedEvent) => void) | undefined + _pinchSmooth_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _pinchSmooth_0_0value?: boolean | undefined + _allowWindowOpenMethod_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _allowWindowOpenMethod_0_0value?: boolean | undefined + _onAudioStateChanged_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onAudioStateChanged_0_0value?: ((value0: OnAudioStateChangedEvent) => void) | undefined + _onFirstContentfulPaint_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onFirstContentfulPaint_0_0value?: ((value0: OnFirstContentfulPaintEvent) => void) | undefined + _onFirstMeaningfulPaint_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onFirstMeaningfulPaint_0_0value?: OnFirstMeaningfulPaintCallback | undefined + _onLargestContentfulPaint_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onLargestContentfulPaint_0_0value?: OnLargestContentfulPaintCallback | undefined + _onLoadIntercept_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onLoadIntercept_0_0value?: ((value0: OnLoadInterceptEvent) => boolean) | undefined + _onControllerAttached_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onControllerAttached_0_0value?: (() => void) | undefined + _onOverScroll_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onOverScroll_0_0value?: ((value0: OnOverScrollEvent) => void) | undefined + _onSafeBrowsingCheckResult_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onSafeBrowsingCheckResult_0_0value?: OnSafeBrowsingCheckResultCallback | undefined + _onNavigationEntryCommitted_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onNavigationEntryCommitted_0_0value?: OnNavigationEntryCommittedCallback | undefined + _onIntelligentTrackingPreventionResult_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onIntelligentTrackingPreventionResult_0_0value?: OnIntelligentTrackingPreventionCallback | undefined + _javaScriptOnDocumentStart_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _javaScriptOnDocumentStart_0_0value?: Array | undefined + _javaScriptOnDocumentEnd_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _javaScriptOnDocumentEnd_0_0value?: Array | undefined + _layoutMode_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _layoutMode_0_0value?: WebLayoutMode | undefined + _nestedScroll_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _nestedScroll_0_0value?: NestedScrollOptions | NestedScrollOptionsExt | undefined + _enableNativeEmbedMode_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _enableNativeEmbedMode_0_0value?: boolean | undefined + _onNativeEmbedLifecycleChange_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onNativeEmbedLifecycleChange_0_0value?: ((event: NativeEmbedDataInfo) => void) | undefined + _onNativeEmbedVisibilityChange_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onNativeEmbedVisibilityChange_0_0value?: OnNativeEmbedVisibilityChangeCallback | undefined + _onNativeEmbedGestureEvent_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onNativeEmbedGestureEvent_0_0value?: ((event: NativeEmbedTouchInfo) => void) | undefined + _copyOptions_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _copyOptions_0_0value?: CopyOptions | undefined + _onOverrideUrlLoading_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onOverrideUrlLoading_0_0value?: OnOverrideUrlLoadingCallback | undefined + _textAutosizing_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _textAutosizing_0_0value?: boolean | undefined + _enableNativeMediaPlayer_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _enableNativeMediaPlayer_0_0value?: NativeMediaPlayerConfig | undefined + _onRenderProcessNotResponding_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onRenderProcessNotResponding_0_0value?: OnRenderProcessNotRespondingCallback | undefined + _onRenderProcessResponding_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onRenderProcessResponding_0_0value?: OnRenderProcessRespondingCallback | undefined + _onViewportFitChanged_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onViewportFitChanged_0_0value?: OnViewportFitChangedCallback | undefined + _onInterceptKeyboardAttach_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onInterceptKeyboardAttach_0_0value?: WebKeyboardCallback | undefined + _onAdsBlocked_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _onAdsBlocked_0_0value?: OnAdsBlockedCallback | undefined + _keyboardAvoidMode_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _keyboardAvoidMode_0_0value?: WebKeyboardAvoidMode | undefined + _editMenuOptions_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _editMenuOptions_0_0value?: EditMenuOptions | undefined + _enableHapticFeedback_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _enableHapticFeedback_0_0value?: boolean | undefined + _optimizeParserBudget_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _optimizeParserBudget_0_0value?: boolean | undefined + _enableFollowSystemFontWeight_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _enableFollowSystemFontWeight_0_0value?: boolean | undefined + _enableWebAVSession_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _enableWebAVSession_0_0value?: boolean | undefined + _runJavaScriptOnDocumentStart_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _runJavaScriptOnDocumentStart_0_0value?: Array | undefined + _runJavaScriptOnDocumentEnd_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _runJavaScriptOnDocumentEnd_0_0value?: Array | undefined + _runJavaScriptOnHeadEnd_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _runJavaScriptOnHeadEnd_0_0value?: Array | undefined + _nativeEmbedOptions_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _nativeEmbedOptions_0_0value?: EmbedOptions | undefined + _registerNativeEmbedRule_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _registerNativeEmbedRule_0_0value?: string | undefined + _registerNativeEmbedRule_0_1value?: string | undefined + _bindSelectionMenu_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL + _bindSelectionMenu_0_0value?: WebElementType | undefined + _bindSelectionMenu_0_1value?: CustomBuilder | undefined + _bindSelectionMenu_0_2value?: WebResponseType | undefined + _bindSelectionMenu_0_3value?: SelectionMenuOptionsExt | undefined + applyModifierPatch(peer: ArkWebPeer): void { + super.applyModifierPatch(peer) + if (this._javaScriptAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._javaScriptAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setJavaScriptAccessAttribute((this._javaScriptAccess_0_0value as boolean | undefined)); + this._javaScriptAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._javaScriptAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._javaScriptAccess_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setJavaScriptAccessAttribute((undefined as boolean | undefined)); + } + } + } + if (this._fileAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._fileAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setFileAccessAttribute((this._fileAccess_0_0value as boolean | undefined)); + this._fileAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._fileAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._fileAccess_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setFileAccessAttribute((undefined as boolean | undefined)); + } + } + } + if (this._onlineImageAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onlineImageAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnlineImageAccessAttribute((this._onlineImageAccess_0_0value as boolean | undefined)); + this._onlineImageAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onlineImageAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onlineImageAccess_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnlineImageAccessAttribute((undefined as boolean | undefined)); + } + } + } + if (this._domStorageAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._domStorageAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setDomStorageAccessAttribute((this._domStorageAccess_0_0value as boolean | undefined)); + this._domStorageAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._domStorageAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._domStorageAccess_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setDomStorageAccessAttribute((undefined as boolean | undefined)); + } + } + } + if (this._imageAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._imageAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setImageAccessAttribute((this._imageAccess_0_0value as boolean | undefined)); + this._imageAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._imageAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._imageAccess_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setImageAccessAttribute((undefined as boolean | undefined)); + } + } + } + if (this._mixedMode_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._mixedMode_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setMixedModeAttribute((this._mixedMode_0_0value as MixedMode | undefined)); + this._mixedMode_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._mixedMode_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._mixedMode_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setMixedModeAttribute((undefined as MixedMode | undefined)); + } + } + } + if (this._zoomAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._zoomAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setZoomAccessAttribute((this._zoomAccess_0_0value as boolean | undefined)); + this._zoomAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._zoomAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._zoomAccess_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setZoomAccessAttribute((undefined as boolean | undefined)); + } + } + } + if (this._geolocationAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._geolocationAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setGeolocationAccessAttribute((this._geolocationAccess_0_0value as boolean | undefined)); + this._geolocationAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._geolocationAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._geolocationAccess_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setGeolocationAccessAttribute((undefined as boolean | undefined)); + } + } + } + if (this._javaScriptProxy_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._javaScriptProxy_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setJavaScriptProxyAttribute((this._javaScriptProxy_0_0value as JavaScriptProxy | undefined)); + this._javaScriptProxy_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._javaScriptProxy_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._javaScriptProxy_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setJavaScriptProxyAttribute((undefined as JavaScriptProxy | undefined)); + } + } + } + if (this._cacheMode_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._cacheMode_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setCacheModeAttribute((this._cacheMode_0_0value as CacheMode | undefined)); + this._cacheMode_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._cacheMode_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._cacheMode_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setCacheModeAttribute((undefined as CacheMode | undefined)); + } + } + } + if (this._darkMode_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._darkMode_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setDarkModeAttribute((this._darkMode_0_0value as WebDarkMode | undefined)); + this._darkMode_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._darkMode_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._darkMode_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setDarkModeAttribute((undefined as WebDarkMode | undefined)); + } + } + } + if (this._forceDarkAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._forceDarkAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setForceDarkAccessAttribute((this._forceDarkAccess_0_0value as boolean | undefined)); + this._forceDarkAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._forceDarkAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._forceDarkAccess_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setForceDarkAccessAttribute((undefined as boolean | undefined)); + } + } + } + if (this._mediaOptions_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._mediaOptions_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setMediaOptionsAttribute((this._mediaOptions_0_0value as WebMediaOptions | undefined)); + this._mediaOptions_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._mediaOptions_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._mediaOptions_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setMediaOptionsAttribute((undefined as WebMediaOptions | undefined)); + } + } + } + if (this._overviewModeAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._overviewModeAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOverviewModeAccessAttribute((this._overviewModeAccess_0_0value as boolean | undefined)); + this._overviewModeAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._overviewModeAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._overviewModeAccess_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOverviewModeAccessAttribute((undefined as boolean | undefined)); + } + } + } + if (this._overScrollMode_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._overScrollMode_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOverScrollModeAttribute((this._overScrollMode_0_0value as OverScrollMode | undefined)); + this._overScrollMode_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._overScrollMode_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._overScrollMode_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOverScrollModeAttribute((undefined as OverScrollMode | undefined)); + } + } + } + if (this._blurOnKeyboardHideMode_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._blurOnKeyboardHideMode_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setBlurOnKeyboardHideModeAttribute((this._blurOnKeyboardHideMode_0_0value as BlurOnKeyboardHideMode | undefined)); + this._blurOnKeyboardHideMode_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._blurOnKeyboardHideMode_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._blurOnKeyboardHideMode_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setBlurOnKeyboardHideModeAttribute((undefined as BlurOnKeyboardHideMode | undefined)); + } + } + } + if (this._textZoomRatio_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._textZoomRatio_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setTextZoomRatioAttribute((this._textZoomRatio_0_0value as int32 | undefined)); + this._textZoomRatio_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._textZoomRatio_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._textZoomRatio_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setTextZoomRatioAttribute((undefined as int32 | undefined)); + } + } + } + if (this._databaseAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._databaseAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setDatabaseAccessAttribute((this._databaseAccess_0_0value as boolean | undefined)); + this._databaseAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._databaseAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._databaseAccess_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setDatabaseAccessAttribute((undefined as boolean | undefined)); + } + } + } + if (this._initialScale_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._initialScale_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setInitialScaleAttribute((this._initialScale_0_0value as double | undefined)); + this._initialScale_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._initialScale_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._initialScale_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setInitialScaleAttribute((undefined as double | undefined)); + } + } + } + if (this._metaViewport_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._metaViewport_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setMetaViewportAttribute((this._metaViewport_0_0value as boolean | undefined)); + this._metaViewport_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._metaViewport_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._metaViewport_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setMetaViewportAttribute((undefined as boolean | undefined)); + } + } + } + if (this._onPageEnd_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onPageEnd_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnPageEndAttribute((this._onPageEnd_0_0value as ((value0: OnPageEndEvent) => void) | undefined)); + this._onPageEnd_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onPageEnd_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onPageEnd_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnPageEndAttribute((undefined as ((value0: OnPageEndEvent) => void) | undefined)); + } + } + } + if (this._onPageBegin_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onPageBegin_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnPageBeginAttribute((this._onPageBegin_0_0value as ((value0: OnPageBeginEvent) => void) | undefined)); + this._onPageBegin_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onPageBegin_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onPageBegin_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnPageBeginAttribute((undefined as ((value0: OnPageBeginEvent) => void) | undefined)); + } + } + } + if (this._onProgressChange_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onProgressChange_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnProgressChangeAttribute((this._onProgressChange_0_0value as ((value0: OnProgressChangeEvent) => void) | undefined)); + this._onProgressChange_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onProgressChange_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onProgressChange_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnProgressChangeAttribute((undefined as ((value0: OnProgressChangeEvent) => void) | undefined)); + } + } + } + if (this._onTitleReceive_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onTitleReceive_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnTitleReceiveAttribute((this._onTitleReceive_0_0value as ((value0: OnTitleReceiveEvent) => void) | undefined)); + this._onTitleReceive_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onTitleReceive_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onTitleReceive_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnTitleReceiveAttribute((undefined as ((value0: OnTitleReceiveEvent) => void) | undefined)); + } + } + } + if (this._onGeolocationHide_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onGeolocationHide_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnGeolocationHideAttribute((this._onGeolocationHide_0_0value as (() => void) | undefined)); + this._onGeolocationHide_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onGeolocationHide_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onGeolocationHide_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnGeolocationHideAttribute((undefined as (() => void) | undefined)); + } + } + } + if (this._onGeolocationShow_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onGeolocationShow_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnGeolocationShowAttribute((this._onGeolocationShow_0_0value as ((value0: OnGeolocationShowEvent) => void) | undefined)); + this._onGeolocationShow_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onGeolocationShow_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onGeolocationShow_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnGeolocationShowAttribute((undefined as ((value0: OnGeolocationShowEvent) => void) | undefined)); + } + } + } + if (this._onRequestSelected_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onRequestSelected_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnRequestSelectedAttribute((this._onRequestSelected_0_0value as (() => void) | undefined)); + this._onRequestSelected_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onRequestSelected_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onRequestSelected_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnRequestSelectedAttribute((undefined as (() => void) | undefined)); + } + } + } + if (this._onAlert_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onAlert_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnAlertAttribute((this._onAlert_0_0value as ((value0: OnAlertEvent) => boolean) | undefined)); + this._onAlert_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onAlert_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onAlert_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnAlertAttribute((undefined as ((value0: OnAlertEvent) => boolean) | undefined)); + } + } + } + if (this._onBeforeUnload_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onBeforeUnload_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnBeforeUnloadAttribute((this._onBeforeUnload_0_0value as ((value0: OnBeforeUnloadEvent) => boolean) | undefined)); + this._onBeforeUnload_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onBeforeUnload_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onBeforeUnload_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnBeforeUnloadAttribute((undefined as ((value0: OnBeforeUnloadEvent) => boolean) | undefined)); + } + } + } + if (this._onConfirm_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onConfirm_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnConfirmAttribute((this._onConfirm_0_0value as ((value0: OnConfirmEvent) => boolean) | undefined)); + this._onConfirm_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onConfirm_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onConfirm_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnConfirmAttribute((undefined as ((value0: OnConfirmEvent) => boolean) | undefined)); + } + } + } + if (this._onPrompt_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onPrompt_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnPromptAttribute((this._onPrompt_0_0value as ((value0: OnPromptEvent) => boolean) | undefined)); + this._onPrompt_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onPrompt_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onPrompt_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnPromptAttribute((undefined as ((value0: OnPromptEvent) => boolean) | undefined)); + } + } + } + if (this._onConsole_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onConsole_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnConsoleAttribute((this._onConsole_0_0value as ((value0: OnConsoleEvent) => boolean) | undefined)); + this._onConsole_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onConsole_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onConsole_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnConsoleAttribute((undefined as ((value0: OnConsoleEvent) => boolean) | undefined)); + } + } + } + if (this._onErrorReceive_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onErrorReceive_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnErrorReceiveAttribute((this._onErrorReceive_0_0value as ((value0: OnErrorReceiveEvent) => void) | undefined)); + this._onErrorReceive_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onErrorReceive_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onErrorReceive_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnErrorReceiveAttribute((undefined as ((value0: OnErrorReceiveEvent) => void) | undefined)); + } + } + } + if (this._onHttpErrorReceive_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onHttpErrorReceive_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnHttpErrorReceiveAttribute((this._onHttpErrorReceive_0_0value as ((value0: OnHttpErrorReceiveEvent) => void) | undefined)); + this._onHttpErrorReceive_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onHttpErrorReceive_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onHttpErrorReceive_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnHttpErrorReceiveAttribute((undefined as ((value0: OnHttpErrorReceiveEvent) => void) | undefined)); + } + } + } + if (this._onDownloadStart_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onDownloadStart_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnDownloadStartAttribute((this._onDownloadStart_0_0value as ((value0: OnDownloadStartEvent) => void) | undefined)); + this._onDownloadStart_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onDownloadStart_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onDownloadStart_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnDownloadStartAttribute((undefined as ((value0: OnDownloadStartEvent) => void) | undefined)); + } + } + } + if (this._onRefreshAccessedHistory_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onRefreshAccessedHistory_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnRefreshAccessedHistoryAttribute((this._onRefreshAccessedHistory_0_0value as ((value0: OnRefreshAccessedHistoryEvent) => void) | undefined)); + this._onRefreshAccessedHistory_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onRefreshAccessedHistory_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onRefreshAccessedHistory_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnRefreshAccessedHistoryAttribute((undefined as ((value0: OnRefreshAccessedHistoryEvent) => void) | undefined)); + } + } + } + if (this._onRenderExited_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onRenderExited_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnRenderExitedAttribute((this._onRenderExited_0_0value as ((value0: OnRenderExitedEvent) => void) | undefined)); + this._onRenderExited_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onRenderExited_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onRenderExited_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnRenderExitedAttribute((undefined as ((value0: OnRenderExitedEvent) => void) | undefined)); + } + } + } + if (this._onShowFileSelector_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onShowFileSelector_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnShowFileSelectorAttribute((this._onShowFileSelector_0_0value as ((value0: OnShowFileSelectorEvent) => boolean) | undefined)); + this._onShowFileSelector_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onShowFileSelector_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onShowFileSelector_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnShowFileSelectorAttribute((undefined as ((value0: OnShowFileSelectorEvent) => boolean) | undefined)); + } + } + } + if (this._onResourceLoad_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onResourceLoad_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnResourceLoadAttribute((this._onResourceLoad_0_0value as ((value0: OnResourceLoadEvent) => void) | undefined)); + this._onResourceLoad_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onResourceLoad_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onResourceLoad_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnResourceLoadAttribute((undefined as ((value0: OnResourceLoadEvent) => void) | undefined)); + } + } + } + if (this._onFullScreenExit_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onFullScreenExit_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnFullScreenExitAttribute((this._onFullScreenExit_0_0value as (() => void) | undefined)); + this._onFullScreenExit_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onFullScreenExit_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onFullScreenExit_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnFullScreenExitAttribute((undefined as (() => void) | undefined)); + } + } + } + if (this._onFullScreenEnter_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onFullScreenEnter_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnFullScreenEnterAttribute((this._onFullScreenEnter_0_0value as OnFullScreenEnterCallback | undefined)); + this._onFullScreenEnter_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onFullScreenEnter_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onFullScreenEnter_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnFullScreenEnterAttribute((undefined as OnFullScreenEnterCallback | undefined)); + } + } + } + if (this._onScaleChange_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onScaleChange_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnScaleChangeAttribute((this._onScaleChange_0_0value as ((value0: OnScaleChangeEvent) => void) | undefined)); + this._onScaleChange_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onScaleChange_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onScaleChange_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnScaleChangeAttribute((undefined as ((value0: OnScaleChangeEvent) => void) | undefined)); + } + } + } + if (this._onHttpAuthRequest_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onHttpAuthRequest_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnHttpAuthRequestAttribute((this._onHttpAuthRequest_0_0value as ((value0: OnHttpAuthRequestEvent) => boolean) | undefined)); + this._onHttpAuthRequest_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onHttpAuthRequest_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onHttpAuthRequest_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnHttpAuthRequestAttribute((undefined as ((value0: OnHttpAuthRequestEvent) => boolean) | undefined)); + } + } + } + if (this._onInterceptRequest_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onInterceptRequest_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnInterceptRequestAttribute((this._onInterceptRequest_0_0value as ((value0: OnInterceptRequestEvent) => WebResourceResponse) | undefined)); + this._onInterceptRequest_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onInterceptRequest_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onInterceptRequest_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnInterceptRequestAttribute((undefined as ((value0: OnInterceptRequestEvent) => WebResourceResponse) | undefined)); + } + } + } + if (this._onPermissionRequest_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onPermissionRequest_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnPermissionRequestAttribute((this._onPermissionRequest_0_0value as ((value0: OnPermissionRequestEvent) => void) | undefined)); + this._onPermissionRequest_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onPermissionRequest_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onPermissionRequest_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnPermissionRequestAttribute((undefined as ((value0: OnPermissionRequestEvent) => void) | undefined)); + } + } + } + if (this._onScreenCaptureRequest_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onScreenCaptureRequest_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnScreenCaptureRequestAttribute((this._onScreenCaptureRequest_0_0value as ((value0: OnScreenCaptureRequestEvent) => void) | undefined)); + this._onScreenCaptureRequest_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onScreenCaptureRequest_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onScreenCaptureRequest_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnScreenCaptureRequestAttribute((undefined as ((value0: OnScreenCaptureRequestEvent) => void) | undefined)); + } + } + } + if (this._onContextMenuShow_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onContextMenuShow_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnContextMenuShowAttribute((this._onContextMenuShow_0_0value as ((value0: OnContextMenuShowEvent) => boolean) | undefined)); + this._onContextMenuShow_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onContextMenuShow_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onContextMenuShow_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnContextMenuShowAttribute((undefined as ((value0: OnContextMenuShowEvent) => boolean) | undefined)); + } + } + } + if (this._onContextMenuHide_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onContextMenuHide_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnContextMenuHideAttribute((this._onContextMenuHide_0_0value as OnContextMenuHideCallback | undefined)); + this._onContextMenuHide_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onContextMenuHide_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onContextMenuHide_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnContextMenuHideAttribute((undefined as OnContextMenuHideCallback | undefined)); + } + } + } + if (this._mediaPlayGestureAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._mediaPlayGestureAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setMediaPlayGestureAccessAttribute((this._mediaPlayGestureAccess_0_0value as boolean | undefined)); + this._mediaPlayGestureAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._mediaPlayGestureAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._mediaPlayGestureAccess_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setMediaPlayGestureAccessAttribute((undefined as boolean | undefined)); + } + } + } + if (this._onSearchResultReceive_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onSearchResultReceive_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnSearchResultReceiveAttribute((this._onSearchResultReceive_0_0value as ((value0: OnSearchResultReceiveEvent) => void) | undefined)); + this._onSearchResultReceive_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onSearchResultReceive_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onSearchResultReceive_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnSearchResultReceiveAttribute((undefined as ((value0: OnSearchResultReceiveEvent) => void) | undefined)); + } + } + } + if (this._onScroll_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onScroll_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnScrollAttribute((this._onScroll_0_0value as ((value0: OnScrollEvent) => void) | undefined)); + this._onScroll_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onScroll_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onScroll_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnScrollAttribute((undefined as ((value0: OnScrollEvent) => void) | undefined)); + } + } + } + if (this._onSslErrorEventReceive_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onSslErrorEventReceive_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnSslErrorEventReceiveAttribute((this._onSslErrorEventReceive_0_0value as ((value0: OnSslErrorEventReceiveEvent) => void) | undefined)); + this._onSslErrorEventReceive_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onSslErrorEventReceive_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onSslErrorEventReceive_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnSslErrorEventReceiveAttribute((undefined as ((value0: OnSslErrorEventReceiveEvent) => void) | undefined)); + } + } + } + if (this._onSslErrorEvent_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onSslErrorEvent_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnSslErrorEventAttribute((this._onSslErrorEvent_0_0value as OnSslErrorEventCallback | undefined)); + this._onSslErrorEvent_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onSslErrorEvent_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onSslErrorEvent_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnSslErrorEventAttribute((undefined as OnSslErrorEventCallback | undefined)); + } + } + } + if (this._onClientAuthenticationRequest_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onClientAuthenticationRequest_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnClientAuthenticationRequestAttribute((this._onClientAuthenticationRequest_0_0value as ((value0: OnClientAuthenticationEvent) => void) | undefined)); + this._onClientAuthenticationRequest_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onClientAuthenticationRequest_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onClientAuthenticationRequest_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnClientAuthenticationRequestAttribute((undefined as ((value0: OnClientAuthenticationEvent) => void) | undefined)); + } + } + } + if (this._onWindowNew_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onWindowNew_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnWindowNewAttribute((this._onWindowNew_0_0value as ((value0: OnWindowNewEvent) => void) | undefined)); + this._onWindowNew_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onWindowNew_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onWindowNew_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnWindowNewAttribute((undefined as ((value0: OnWindowNewEvent) => void) | undefined)); + } + } + } + if (this._onWindowExit_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onWindowExit_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnWindowExitAttribute((this._onWindowExit_0_0value as (() => void) | undefined)); + this._onWindowExit_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onWindowExit_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onWindowExit_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnWindowExitAttribute((undefined as (() => void) | undefined)); + } + } + } + if (this._multiWindowAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._multiWindowAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setMultiWindowAccessAttribute((this._multiWindowAccess_0_0value as boolean | undefined)); + this._multiWindowAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._multiWindowAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._multiWindowAccess_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setMultiWindowAccessAttribute((undefined as boolean | undefined)); + } + } + } + if (this._onInterceptKeyEvent_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onInterceptKeyEvent_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnInterceptKeyEventAttribute((this._onInterceptKeyEvent_0_0value as ((event: KeyEvent) => boolean) | undefined)); + this._onInterceptKeyEvent_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onInterceptKeyEvent_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onInterceptKeyEvent_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnInterceptKeyEventAttribute((undefined as ((event: KeyEvent) => boolean) | undefined)); + } + } + } + if (this._webStandardFont_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._webStandardFont_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setWebStandardFontAttribute((this._webStandardFont_0_0value as string | undefined)); + this._webStandardFont_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._webStandardFont_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._webStandardFont_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setWebStandardFontAttribute((undefined as string | undefined)); + } + } + } + if (this._webSerifFont_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._webSerifFont_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setWebSerifFontAttribute((this._webSerifFont_0_0value as string | undefined)); + this._webSerifFont_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._webSerifFont_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._webSerifFont_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setWebSerifFontAttribute((undefined as string | undefined)); + } + } + } + if (this._webSansSerifFont_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._webSansSerifFont_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setWebSansSerifFontAttribute((this._webSansSerifFont_0_0value as string | undefined)); + this._webSansSerifFont_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._webSansSerifFont_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._webSansSerifFont_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setWebSansSerifFontAttribute((undefined as string | undefined)); + } + } + } + if (this._webFixedFont_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._webFixedFont_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setWebFixedFontAttribute((this._webFixedFont_0_0value as string | undefined)); + this._webFixedFont_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._webFixedFont_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._webFixedFont_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setWebFixedFontAttribute((undefined as string | undefined)); + } + } + } + if (this._webFantasyFont_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._webFantasyFont_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setWebFantasyFontAttribute((this._webFantasyFont_0_0value as string | undefined)); + this._webFantasyFont_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._webFantasyFont_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._webFantasyFont_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setWebFantasyFontAttribute((undefined as string | undefined)); + } + } + } + if (this._webCursiveFont_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._webCursiveFont_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setWebCursiveFontAttribute((this._webCursiveFont_0_0value as string | undefined)); + this._webCursiveFont_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._webCursiveFont_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._webCursiveFont_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setWebCursiveFontAttribute((undefined as string | undefined)); + } + } + } + if (this._defaultFixedFontSize_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._defaultFixedFontSize_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setDefaultFixedFontSizeAttribute((this._defaultFixedFontSize_0_0value as int32 | undefined)); + this._defaultFixedFontSize_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._defaultFixedFontSize_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._defaultFixedFontSize_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setDefaultFixedFontSizeAttribute((undefined as int32 | undefined)); + } + } + } + if (this._defaultFontSize_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._defaultFontSize_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setDefaultFontSizeAttribute((this._defaultFontSize_0_0value as int32 | undefined)); + this._defaultFontSize_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._defaultFontSize_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._defaultFontSize_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setDefaultFontSizeAttribute((undefined as int32 | undefined)); + } + } + } + if (this._minFontSize_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._minFontSize_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setMinFontSizeAttribute((this._minFontSize_0_0value as int32 | undefined)); + this._minFontSize_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._minFontSize_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._minFontSize_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setMinFontSizeAttribute((undefined as int32 | undefined)); + } + } + } + if (this._minLogicalFontSize_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._minLogicalFontSize_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setMinLogicalFontSizeAttribute((this._minLogicalFontSize_0_0value as int32 | undefined)); + this._minLogicalFontSize_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._minLogicalFontSize_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._minLogicalFontSize_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setMinLogicalFontSizeAttribute((undefined as int32 | undefined)); + } + } + } + if (this._defaultTextEncodingFormat_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._defaultTextEncodingFormat_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setDefaultTextEncodingFormatAttribute((this._defaultTextEncodingFormat_0_0value as string | undefined)); + this._defaultTextEncodingFormat_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._defaultTextEncodingFormat_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._defaultTextEncodingFormat_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setDefaultTextEncodingFormatAttribute((undefined as string | undefined)); + } + } + } + if (this._forceDisplayScrollBar_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._forceDisplayScrollBar_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setForceDisplayScrollBarAttribute((this._forceDisplayScrollBar_0_0value as boolean | undefined)); + this._forceDisplayScrollBar_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._forceDisplayScrollBar_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._forceDisplayScrollBar_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setForceDisplayScrollBarAttribute((undefined as boolean | undefined)); + } + } + } + if (this._blockNetwork_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._blockNetwork_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setBlockNetworkAttribute((this._blockNetwork_0_0value as boolean | undefined)); + this._blockNetwork_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._blockNetwork_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._blockNetwork_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setBlockNetworkAttribute((undefined as boolean | undefined)); + } + } + } + if (this._horizontalScrollBarAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._horizontalScrollBarAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setHorizontalScrollBarAccessAttribute((this._horizontalScrollBarAccess_0_0value as boolean | undefined)); + this._horizontalScrollBarAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._horizontalScrollBarAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._horizontalScrollBarAccess_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setHorizontalScrollBarAccessAttribute((undefined as boolean | undefined)); + } + } + } + if (this._verticalScrollBarAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._verticalScrollBarAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setVerticalScrollBarAccessAttribute((this._verticalScrollBarAccess_0_0value as boolean | undefined)); + this._verticalScrollBarAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._verticalScrollBarAccess_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._verticalScrollBarAccess_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setVerticalScrollBarAccessAttribute((undefined as boolean | undefined)); + } + } + } + if (this._onTouchIconUrlReceived_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onTouchIconUrlReceived_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnTouchIconUrlReceivedAttribute((this._onTouchIconUrlReceived_0_0value as ((value0: OnTouchIconUrlReceivedEvent) => void) | undefined)); + this._onTouchIconUrlReceived_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onTouchIconUrlReceived_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onTouchIconUrlReceived_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnTouchIconUrlReceivedAttribute((undefined as ((value0: OnTouchIconUrlReceivedEvent) => void) | undefined)); + } + } + } + if (this._onFaviconReceived_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onFaviconReceived_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnFaviconReceivedAttribute((this._onFaviconReceived_0_0value as ((value0: OnFaviconReceivedEvent) => void) | undefined)); + this._onFaviconReceived_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onFaviconReceived_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onFaviconReceived_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnFaviconReceivedAttribute((undefined as ((value0: OnFaviconReceivedEvent) => void) | undefined)); + } + } + } + if (this._onPageVisible_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onPageVisible_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnPageVisibleAttribute((this._onPageVisible_0_0value as ((value0: OnPageVisibleEvent) => void) | undefined)); + this._onPageVisible_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onPageVisible_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onPageVisible_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnPageVisibleAttribute((undefined as ((value0: OnPageVisibleEvent) => void) | undefined)); + } + } + } + if (this._onDataResubmitted_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onDataResubmitted_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnDataResubmittedAttribute((this._onDataResubmitted_0_0value as ((value0: OnDataResubmittedEvent) => void) | undefined)); + this._onDataResubmitted_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onDataResubmitted_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onDataResubmitted_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnDataResubmittedAttribute((undefined as ((value0: OnDataResubmittedEvent) => void) | undefined)); + } + } + } + if (this._pinchSmooth_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._pinchSmooth_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setPinchSmoothAttribute((this._pinchSmooth_0_0value as boolean | undefined)); + this._pinchSmooth_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._pinchSmooth_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._pinchSmooth_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setPinchSmoothAttribute((undefined as boolean | undefined)); + } + } + } + if (this._allowWindowOpenMethod_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._allowWindowOpenMethod_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setAllowWindowOpenMethodAttribute((this._allowWindowOpenMethod_0_0value as boolean | undefined)); + this._allowWindowOpenMethod_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._allowWindowOpenMethod_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._allowWindowOpenMethod_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setAllowWindowOpenMethodAttribute((undefined as boolean | undefined)); + } + } + } + if (this._onAudioStateChanged_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onAudioStateChanged_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnAudioStateChangedAttribute((this._onAudioStateChanged_0_0value as ((value0: OnAudioStateChangedEvent) => void) | undefined)); + this._onAudioStateChanged_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onAudioStateChanged_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onAudioStateChanged_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnAudioStateChangedAttribute((undefined as ((value0: OnAudioStateChangedEvent) => void) | undefined)); + } + } + } + if (this._onFirstContentfulPaint_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onFirstContentfulPaint_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnFirstContentfulPaintAttribute((this._onFirstContentfulPaint_0_0value as ((value0: OnFirstContentfulPaintEvent) => void) | undefined)); + this._onFirstContentfulPaint_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onFirstContentfulPaint_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onFirstContentfulPaint_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnFirstContentfulPaintAttribute((undefined as ((value0: OnFirstContentfulPaintEvent) => void) | undefined)); + } + } + } + if (this._onFirstMeaningfulPaint_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onFirstMeaningfulPaint_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnFirstMeaningfulPaintAttribute((this._onFirstMeaningfulPaint_0_0value as OnFirstMeaningfulPaintCallback | undefined)); + this._onFirstMeaningfulPaint_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onFirstMeaningfulPaint_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onFirstMeaningfulPaint_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnFirstMeaningfulPaintAttribute((undefined as OnFirstMeaningfulPaintCallback | undefined)); + } + } + } + if (this._onLargestContentfulPaint_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onLargestContentfulPaint_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnLargestContentfulPaintAttribute((this._onLargestContentfulPaint_0_0value as OnLargestContentfulPaintCallback | undefined)); + this._onLargestContentfulPaint_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onLargestContentfulPaint_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onLargestContentfulPaint_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnLargestContentfulPaintAttribute((undefined as OnLargestContentfulPaintCallback | undefined)); + } + } + } + if (this._onLoadIntercept_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onLoadIntercept_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnLoadInterceptAttribute((this._onLoadIntercept_0_0value as ((value0: OnLoadInterceptEvent) => boolean) | undefined)); + this._onLoadIntercept_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onLoadIntercept_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onLoadIntercept_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnLoadInterceptAttribute((undefined as ((value0: OnLoadInterceptEvent) => boolean) | undefined)); + } + } + } + if (this._onControllerAttached_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onControllerAttached_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnControllerAttachedAttribute((this._onControllerAttached_0_0value as (() => void) | undefined)); + this._onControllerAttached_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onControllerAttached_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onControllerAttached_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnControllerAttachedAttribute((undefined as (() => void) | undefined)); + } + } + } + if (this._onOverScroll_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onOverScroll_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnOverScrollAttribute((this._onOverScroll_0_0value as ((value0: OnOverScrollEvent) => void) | undefined)); + this._onOverScroll_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onOverScroll_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onOverScroll_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnOverScrollAttribute((undefined as ((value0: OnOverScrollEvent) => void) | undefined)); + } + } + } + if (this._onSafeBrowsingCheckResult_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onSafeBrowsingCheckResult_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnSafeBrowsingCheckResultAttribute((this._onSafeBrowsingCheckResult_0_0value as OnSafeBrowsingCheckResultCallback | undefined)); + this._onSafeBrowsingCheckResult_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onSafeBrowsingCheckResult_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onSafeBrowsingCheckResult_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnSafeBrowsingCheckResultAttribute((undefined as OnSafeBrowsingCheckResultCallback | undefined)); + } + } + } + if (this._onNavigationEntryCommitted_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onNavigationEntryCommitted_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnNavigationEntryCommittedAttribute((this._onNavigationEntryCommitted_0_0value as OnNavigationEntryCommittedCallback | undefined)); + this._onNavigationEntryCommitted_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onNavigationEntryCommitted_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onNavigationEntryCommitted_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnNavigationEntryCommittedAttribute((undefined as OnNavigationEntryCommittedCallback | undefined)); + } + } + } + if (this._onIntelligentTrackingPreventionResult_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onIntelligentTrackingPreventionResult_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnIntelligentTrackingPreventionResultAttribute((this._onIntelligentTrackingPreventionResult_0_0value as OnIntelligentTrackingPreventionCallback | undefined)); + this._onIntelligentTrackingPreventionResult_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onIntelligentTrackingPreventionResult_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onIntelligentTrackingPreventionResult_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnIntelligentTrackingPreventionResultAttribute((undefined as OnIntelligentTrackingPreventionCallback | undefined)); + } + } + } + if (this._javaScriptOnDocumentStart_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._javaScriptOnDocumentStart_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setJavaScriptOnDocumentStartAttribute((this._javaScriptOnDocumentStart_0_0value as Array | undefined)); + this._javaScriptOnDocumentStart_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._javaScriptOnDocumentStart_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._javaScriptOnDocumentStart_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setJavaScriptOnDocumentStartAttribute((undefined as Array | undefined)); + } + } + } + if (this._javaScriptOnDocumentEnd_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._javaScriptOnDocumentEnd_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setJavaScriptOnDocumentEndAttribute((this._javaScriptOnDocumentEnd_0_0value as Array | undefined)); + this._javaScriptOnDocumentEnd_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._javaScriptOnDocumentEnd_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._javaScriptOnDocumentEnd_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setJavaScriptOnDocumentEndAttribute((undefined as Array | undefined)); + } + } + } + if (this._layoutMode_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._layoutMode_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setLayoutModeAttribute((this._layoutMode_0_0value as WebLayoutMode | undefined)); + this._layoutMode_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._layoutMode_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._layoutMode_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setLayoutModeAttribute((undefined as WebLayoutMode | undefined)); + } + } + } + if (this._nestedScroll_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._nestedScroll_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setNestedScrollAttribute((this._nestedScroll_0_0value as NestedScrollOptions | NestedScrollOptionsExt | undefined)); + this._nestedScroll_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._nestedScroll_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._nestedScroll_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setNestedScrollAttribute((undefined as NestedScrollOptions | NestedScrollOptionsExt | undefined)); + } + } + } + if (this._enableNativeEmbedMode_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._enableNativeEmbedMode_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setEnableNativeEmbedModeAttribute((this._enableNativeEmbedMode_0_0value as boolean | undefined)); + this._enableNativeEmbedMode_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._enableNativeEmbedMode_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._enableNativeEmbedMode_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setEnableNativeEmbedModeAttribute((undefined as boolean | undefined)); + } + } + } + if (this._onNativeEmbedLifecycleChange_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onNativeEmbedLifecycleChange_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnNativeEmbedLifecycleChangeAttribute((this._onNativeEmbedLifecycleChange_0_0value as ((event: NativeEmbedDataInfo) => void) | undefined)); + this._onNativeEmbedLifecycleChange_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onNativeEmbedLifecycleChange_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onNativeEmbedLifecycleChange_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnNativeEmbedLifecycleChangeAttribute((undefined as ((event: NativeEmbedDataInfo) => void) | undefined)); + } + } + } + if (this._onNativeEmbedVisibilityChange_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onNativeEmbedVisibilityChange_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnNativeEmbedVisibilityChangeAttribute((this._onNativeEmbedVisibilityChange_0_0value as OnNativeEmbedVisibilityChangeCallback | undefined)); + this._onNativeEmbedVisibilityChange_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onNativeEmbedVisibilityChange_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onNativeEmbedVisibilityChange_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnNativeEmbedVisibilityChangeAttribute((undefined as OnNativeEmbedVisibilityChangeCallback | undefined)); + } + } + } + if (this._onNativeEmbedGestureEvent_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onNativeEmbedGestureEvent_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnNativeEmbedGestureEventAttribute((this._onNativeEmbedGestureEvent_0_0value as ((event: NativeEmbedTouchInfo) => void) | undefined)); + this._onNativeEmbedGestureEvent_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onNativeEmbedGestureEvent_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onNativeEmbedGestureEvent_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnNativeEmbedGestureEventAttribute((undefined as ((event: NativeEmbedTouchInfo) => void) | undefined)); + } + } + } + if (this._copyOptions_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._copyOptions_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setCopyOptionsAttribute((this._copyOptions_0_0value as CopyOptions | undefined)); + this._copyOptions_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._copyOptions_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._copyOptions_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setCopyOptionsAttribute((undefined as CopyOptions | undefined)); + } + } + } + if (this._onOverrideUrlLoading_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onOverrideUrlLoading_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnOverrideUrlLoadingAttribute((this._onOverrideUrlLoading_0_0value as OnOverrideUrlLoadingCallback | undefined)); + this._onOverrideUrlLoading_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onOverrideUrlLoading_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onOverrideUrlLoading_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnOverrideUrlLoadingAttribute((undefined as OnOverrideUrlLoadingCallback | undefined)); + } + } + } + if (this._textAutosizing_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._textAutosizing_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setTextAutosizingAttribute((this._textAutosizing_0_0value as boolean | undefined)); + this._textAutosizing_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._textAutosizing_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._textAutosizing_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setTextAutosizingAttribute((undefined as boolean | undefined)); + } + } + } + if (this._enableNativeMediaPlayer_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._enableNativeMediaPlayer_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setEnableNativeMediaPlayerAttribute((this._enableNativeMediaPlayer_0_0value as NativeMediaPlayerConfig | undefined)); + this._enableNativeMediaPlayer_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._enableNativeMediaPlayer_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._enableNativeMediaPlayer_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setEnableNativeMediaPlayerAttribute((undefined as NativeMediaPlayerConfig | undefined)); + } + } + } + if (this._onRenderProcessNotResponding_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onRenderProcessNotResponding_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnRenderProcessNotRespondingAttribute((this._onRenderProcessNotResponding_0_0value as OnRenderProcessNotRespondingCallback | undefined)); + this._onRenderProcessNotResponding_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onRenderProcessNotResponding_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onRenderProcessNotResponding_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnRenderProcessNotRespondingAttribute((undefined as OnRenderProcessNotRespondingCallback | undefined)); + } + } + } + if (this._onRenderProcessResponding_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onRenderProcessResponding_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnRenderProcessRespondingAttribute((this._onRenderProcessResponding_0_0value as OnRenderProcessRespondingCallback | undefined)); + this._onRenderProcessResponding_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onRenderProcessResponding_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onRenderProcessResponding_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnRenderProcessRespondingAttribute((undefined as OnRenderProcessRespondingCallback | undefined)); + } + } + } + if (this._onViewportFitChanged_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onViewportFitChanged_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnViewportFitChangedAttribute((this._onViewportFitChanged_0_0value as OnViewportFitChangedCallback | undefined)); + this._onViewportFitChanged_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onViewportFitChanged_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onViewportFitChanged_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnViewportFitChangedAttribute((undefined as OnViewportFitChangedCallback | undefined)); + } + } + } + if (this._onInterceptKeyboardAttach_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onInterceptKeyboardAttach_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnInterceptKeyboardAttachAttribute((this._onInterceptKeyboardAttach_0_0value as WebKeyboardCallback | undefined)); + this._onInterceptKeyboardAttach_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onInterceptKeyboardAttach_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onInterceptKeyboardAttach_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnInterceptKeyboardAttachAttribute((undefined as WebKeyboardCallback | undefined)); + } + } + } + if (this._onAdsBlocked_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._onAdsBlocked_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOnAdsBlockedAttribute((this._onAdsBlocked_0_0value as OnAdsBlockedCallback | undefined)); + this._onAdsBlocked_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._onAdsBlocked_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._onAdsBlocked_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOnAdsBlockedAttribute((undefined as OnAdsBlockedCallback | undefined)); + } + } + } + if (this._keyboardAvoidMode_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._keyboardAvoidMode_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setKeyboardAvoidModeAttribute((this._keyboardAvoidMode_0_0value as WebKeyboardAvoidMode | undefined)); + this._keyboardAvoidMode_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._keyboardAvoidMode_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._keyboardAvoidMode_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setKeyboardAvoidModeAttribute((undefined as WebKeyboardAvoidMode | undefined)); + } + } + } + if (this._editMenuOptions_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._editMenuOptions_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setEditMenuOptionsAttribute((this._editMenuOptions_0_0value as EditMenuOptions | undefined)); + this._editMenuOptions_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._editMenuOptions_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._editMenuOptions_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setEditMenuOptionsAttribute((undefined as EditMenuOptions | undefined)); + } + } + } + if (this._enableHapticFeedback_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._enableHapticFeedback_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setEnableHapticFeedbackAttribute((this._enableHapticFeedback_0_0value as boolean | undefined)); + this._enableHapticFeedback_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._enableHapticFeedback_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._enableHapticFeedback_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setEnableHapticFeedbackAttribute((undefined as boolean | undefined)); + } + } + } + if (this._optimizeParserBudget_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._optimizeParserBudget_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setOptimizeParserBudgetAttribute((this._optimizeParserBudget_0_0value as boolean | undefined)); + this._optimizeParserBudget_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._optimizeParserBudget_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._optimizeParserBudget_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setOptimizeParserBudgetAttribute((undefined as boolean | undefined)); + } + } + } + if (this._enableFollowSystemFontWeight_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._enableFollowSystemFontWeight_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setEnableFollowSystemFontWeightAttribute((this._enableFollowSystemFontWeight_0_0value as boolean | undefined)); + this._enableFollowSystemFontWeight_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._enableFollowSystemFontWeight_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._enableFollowSystemFontWeight_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setEnableFollowSystemFontWeightAttribute((undefined as boolean | undefined)); + } + } + } + if (this._enableWebAVSession_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._enableWebAVSession_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setEnableWebAVSessionAttribute((this._enableWebAVSession_0_0value as boolean | undefined)); + this._enableWebAVSession_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._enableWebAVSession_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._enableWebAVSession_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setEnableWebAVSessionAttribute((undefined as boolean | undefined)); + } + } + } + if (this._runJavaScriptOnDocumentStart_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._runJavaScriptOnDocumentStart_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setRunJavaScriptOnDocumentStartAttribute((this._runJavaScriptOnDocumentStart_0_0value as Array | undefined)); + this._runJavaScriptOnDocumentStart_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._runJavaScriptOnDocumentStart_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._runJavaScriptOnDocumentStart_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setRunJavaScriptOnDocumentStartAttribute((undefined as Array | undefined)); + } + } + } + if (this._runJavaScriptOnDocumentEnd_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._runJavaScriptOnDocumentEnd_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setRunJavaScriptOnDocumentEndAttribute((this._runJavaScriptOnDocumentEnd_0_0value as Array | undefined)); + this._runJavaScriptOnDocumentEnd_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._runJavaScriptOnDocumentEnd_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._runJavaScriptOnDocumentEnd_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setRunJavaScriptOnDocumentEndAttribute((undefined as Array | undefined)); + } + } + } + if (this._runJavaScriptOnHeadEnd_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._runJavaScriptOnHeadEnd_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setRunJavaScriptOnHeadEndAttribute((this._runJavaScriptOnHeadEnd_0_0value as Array | undefined)); + this._runJavaScriptOnHeadEnd_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._runJavaScriptOnHeadEnd_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._runJavaScriptOnHeadEnd_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setRunJavaScriptOnHeadEndAttribute((undefined as Array | undefined)); + } + } + } + if (this._nativeEmbedOptions_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._nativeEmbedOptions_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setNativeEmbedOptionsAttribute((this._nativeEmbedOptions_0_0value as EmbedOptions | undefined)); + this._nativeEmbedOptions_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._nativeEmbedOptions_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._nativeEmbedOptions_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setNativeEmbedOptionsAttribute((undefined as EmbedOptions | undefined)); + } + } + } + if (this._registerNativeEmbedRule_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._registerNativeEmbedRule_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setRegisterNativeEmbedRuleAttribute((this._registerNativeEmbedRule_0_0value as string | undefined), (this._registerNativeEmbedRule_0_1value as string | undefined)); + this._registerNativeEmbedRule_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._registerNativeEmbedRule_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._registerNativeEmbedRule_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setRegisterNativeEmbedRuleAttribute((undefined as string | undefined), (undefined as string | undefined)); + } + } + } + if (this._bindSelectionMenu_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (this._bindSelectionMenu_0_flag) { + case AttributeUpdaterFlag.UPDATE: { + peer.setBindSelectionMenuAttribute((this._bindSelectionMenu_0_0value as WebElementType | undefined), (this._bindSelectionMenu_0_1value as CustomBuilder | undefined), (this._bindSelectionMenu_0_2value as WebResponseType | undefined), (this._bindSelectionMenu_0_3value as SelectionMenuOptionsExt | undefined)); + this._bindSelectionMenu_0_flag = AttributeUpdaterFlag.RESET; + break; + } + case AttributeUpdaterFlag.SKIP: { + this._bindSelectionMenu_0_flag = AttributeUpdaterFlag.RESET; + break; + } + default: { + this._bindSelectionMenu_0_flag = AttributeUpdaterFlag.INITIAL; + peer.setBindSelectionMenuAttribute((undefined as WebElementType | undefined), (undefined as CustomBuilder | undefined), (undefined as WebResponseType | undefined), (undefined as SelectionMenuOptionsExt | undefined | undefined)); + } + } + } + } + mergeModifier(modifier: WebModifier): void { + super.mergeModifier(modifier) + if (modifier._javaScriptAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._javaScriptAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.javaScriptAccess(modifier._javaScriptAccess_0_0value); + break; + } + default: { + this.javaScriptAccess((undefined as boolean | undefined)); + } + } + } + if (modifier._fileAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._fileAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.fileAccess(modifier._fileAccess_0_0value); + break; + } + default: { + this.fileAccess((undefined as boolean | undefined)); + } + } + } + if (modifier._onlineImageAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onlineImageAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onlineImageAccess(modifier._onlineImageAccess_0_0value); + break; + } + default: { + this.onlineImageAccess((undefined as boolean | undefined)); + } + } + } + if (modifier._domStorageAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._domStorageAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.domStorageAccess(modifier._domStorageAccess_0_0value); + break; + } + default: { + this.domStorageAccess((undefined as boolean | undefined)); + } + } + } + if (modifier._imageAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._imageAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.imageAccess(modifier._imageAccess_0_0value); + break; + } + default: { + this.imageAccess((undefined as boolean | undefined)); + } + } + } + if (modifier._mixedMode_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._mixedMode_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.mixedMode(modifier._mixedMode_0_0value); + break; + } + default: { + this.mixedMode((undefined as MixedMode | undefined)); + } + } + } + if (modifier._zoomAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._zoomAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.zoomAccess(modifier._zoomAccess_0_0value); + break; + } + default: { + this.zoomAccess((undefined as boolean | undefined)); + } + } + } + if (modifier._geolocationAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._geolocationAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.geolocationAccess(modifier._geolocationAccess_0_0value); + break; + } + default: { + this.geolocationAccess((undefined as boolean | undefined)); + } + } + } + if (modifier._javaScriptProxy_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._javaScriptProxy_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.javaScriptProxy(modifier._javaScriptProxy_0_0value); + break; + } + default: { + this.javaScriptProxy((undefined as JavaScriptProxy | undefined)); + } + } + } + if (modifier._cacheMode_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._cacheMode_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.cacheMode(modifier._cacheMode_0_0value); + break; + } + default: { + this.cacheMode((undefined as CacheMode | undefined)); + } + } + } + if (modifier._darkMode_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._darkMode_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.darkMode(modifier._darkMode_0_0value); + break; + } + default: { + this.darkMode((undefined as WebDarkMode | undefined)); + } + } + } + if (modifier._forceDarkAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._forceDarkAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.forceDarkAccess(modifier._forceDarkAccess_0_0value); + break; + } + default: { + this.forceDarkAccess((undefined as boolean | undefined)); + } + } + } + if (modifier._mediaOptions_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._mediaOptions_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.mediaOptions(modifier._mediaOptions_0_0value); + break; + } + default: { + this.mediaOptions((undefined as WebMediaOptions | undefined)); + } + } + } + if (modifier._overviewModeAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._overviewModeAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.overviewModeAccess(modifier._overviewModeAccess_0_0value); + break; + } + default: { + this.overviewModeAccess((undefined as boolean | undefined)); + } + } + } + if (modifier._overScrollMode_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._overScrollMode_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.overScrollMode(modifier._overScrollMode_0_0value); + break; + } + default: { + this.overScrollMode((undefined as OverScrollMode | undefined)); + } + } + } + if (modifier._blurOnKeyboardHideMode_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._blurOnKeyboardHideMode_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.blurOnKeyboardHideMode(modifier._blurOnKeyboardHideMode_0_0value); + break; + } + default: { + this.blurOnKeyboardHideMode((undefined as BlurOnKeyboardHideMode | undefined)); + } + } + } + if (modifier._textZoomRatio_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._textZoomRatio_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.textZoomRatio(modifier._textZoomRatio_0_0value); + break; + } + default: { + this.textZoomRatio((undefined as int32 | undefined)); + } + } + } + if (modifier._databaseAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._databaseAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.databaseAccess(modifier._databaseAccess_0_0value); + break; + } + default: { + this.databaseAccess((undefined as boolean | undefined)); + } + } + } + if (modifier._initialScale_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._initialScale_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.initialScale(modifier._initialScale_0_0value); + break; + } + default: { + this.initialScale((undefined as double | undefined)); + } + } + } + if (modifier._metaViewport_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._metaViewport_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.metaViewport(modifier._metaViewport_0_0value); + break; + } + default: { + this.metaViewport((undefined as boolean | undefined)); + } + } + } + if (modifier._onPageEnd_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onPageEnd_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onPageEnd(modifier._onPageEnd_0_0value); + break; + } + default: { + this.onPageEnd((undefined as ((value0: OnPageEndEvent) => void) | undefined)); + } + } + } + if (modifier._onPageBegin_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onPageBegin_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onPageBegin(modifier._onPageBegin_0_0value); + break; + } + default: { + this.onPageBegin((undefined as ((value0: OnPageBeginEvent) => void) | undefined)); + } + } + } + if (modifier._onProgressChange_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onProgressChange_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onProgressChange(modifier._onProgressChange_0_0value); + break; + } + default: { + this.onProgressChange((undefined as ((value0: OnProgressChangeEvent) => void) | undefined)); + } + } + } + if (modifier._onTitleReceive_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onTitleReceive_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onTitleReceive(modifier._onTitleReceive_0_0value); + break; + } + default: { + this.onTitleReceive((undefined as ((value0: OnTitleReceiveEvent) => void) | undefined)); + } + } + } + if (modifier._onGeolocationHide_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onGeolocationHide_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onGeolocationHide(modifier._onGeolocationHide_0_0value); + break; + } + default: { + this.onGeolocationHide((undefined as (() => void) | undefined)); + } + } + } + if (modifier._onGeolocationShow_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onGeolocationShow_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onGeolocationShow(modifier._onGeolocationShow_0_0value); + break; + } + default: { + this.onGeolocationShow((undefined as ((value0: OnGeolocationShowEvent) => void) | undefined)); + } + } + } + if (modifier._onRequestSelected_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onRequestSelected_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onRequestSelected(modifier._onRequestSelected_0_0value); + break; + } + default: { + this.onRequestSelected((undefined as (() => void) | undefined)); + } + } + } + if (modifier._onAlert_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onAlert_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onAlert(modifier._onAlert_0_0value); + break; + } + default: { + this.onAlert((undefined as ((value0: OnAlertEvent) => boolean) | undefined)); + } + } + } + if (modifier._onBeforeUnload_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onBeforeUnload_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onBeforeUnload(modifier._onBeforeUnload_0_0value); + break; + } + default: { + this.onBeforeUnload((undefined as ((value0: OnBeforeUnloadEvent) => boolean) | undefined)); + } + } + } + if (modifier._onConfirm_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onConfirm_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onConfirm(modifier._onConfirm_0_0value); + break; + } + default: { + this.onConfirm((undefined as ((value0: OnConfirmEvent) => boolean) | undefined)); + } + } + } + if (modifier._onPrompt_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onPrompt_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onPrompt(modifier._onPrompt_0_0value); + break; + } + default: { + this.onPrompt((undefined as ((value0: OnPromptEvent) => boolean) | undefined)); + } + } + } + if (modifier._onConsole_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onConsole_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onConsole(modifier._onConsole_0_0value); + break; + } + default: { + this.onConsole((undefined as ((value0: OnConsoleEvent) => boolean) | undefined)); + } + } + } + if (modifier._onErrorReceive_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onErrorReceive_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onErrorReceive(modifier._onErrorReceive_0_0value); + break; + } + default: { + this.onErrorReceive((undefined as ((value0: OnErrorReceiveEvent) => void) | undefined)); + } + } + } + if (modifier._onHttpErrorReceive_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onHttpErrorReceive_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onHttpErrorReceive(modifier._onHttpErrorReceive_0_0value); + break; + } + default: { + this.onHttpErrorReceive((undefined as ((value0: OnHttpErrorReceiveEvent) => void) | undefined)); + } + } + } + if (modifier._onDownloadStart_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onDownloadStart_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onDownloadStart(modifier._onDownloadStart_0_0value); + break; + } + default: { + this.onDownloadStart((undefined as ((value0: OnDownloadStartEvent) => void) | undefined)); + } + } + } + if (modifier._onRefreshAccessedHistory_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onRefreshAccessedHistory_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onRefreshAccessedHistory(modifier._onRefreshAccessedHistory_0_0value); + break; + } + default: { + this.onRefreshAccessedHistory((undefined as ((value0: OnRefreshAccessedHistoryEvent) => void) | undefined)); + } + } + } + if (modifier._onRenderExited_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onRenderExited_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onRenderExited(modifier._onRenderExited_0_0value); + break; + } + default: { + this.onRenderExited((undefined as ((value0: OnRenderExitedEvent) => void) | undefined)); + } + } + } + if (modifier._onShowFileSelector_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onShowFileSelector_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onShowFileSelector(modifier._onShowFileSelector_0_0value); + break; + } + default: { + this.onShowFileSelector((undefined as ((value0: OnShowFileSelectorEvent) => boolean) | undefined)); + } + } + } + if (modifier._onResourceLoad_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onResourceLoad_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onResourceLoad(modifier._onResourceLoad_0_0value); + break; + } + default: { + this.onResourceLoad((undefined as ((value0: OnResourceLoadEvent) => void) | undefined)); + } + } + } + if (modifier._onFullScreenExit_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onFullScreenExit_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onFullScreenExit(modifier._onFullScreenExit_0_0value); + break; + } + default: { + this.onFullScreenExit((undefined as (() => void) | undefined)); + } + } + } + if (modifier._onFullScreenEnter_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onFullScreenEnter_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onFullScreenEnter(modifier._onFullScreenEnter_0_0value); + break; + } + default: { + this.onFullScreenEnter((undefined as OnFullScreenEnterCallback | undefined)); + } + } + } + if (modifier._onScaleChange_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onScaleChange_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onScaleChange(modifier._onScaleChange_0_0value); + break; + } + default: { + this.onScaleChange((undefined as ((value0: OnScaleChangeEvent) => void) | undefined)); + } + } + } + if (modifier._onHttpAuthRequest_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onHttpAuthRequest_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onHttpAuthRequest(modifier._onHttpAuthRequest_0_0value); + break; + } + default: { + this.onHttpAuthRequest((undefined as ((value0: OnHttpAuthRequestEvent) => boolean) | undefined)); + } + } + } + if (modifier._onInterceptRequest_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onInterceptRequest_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onInterceptRequest(modifier._onInterceptRequest_0_0value); + break; + } + default: { + this.onInterceptRequest((undefined as ((value0: OnInterceptRequestEvent) => WebResourceResponse) | undefined)); + } + } + } + if (modifier._onPermissionRequest_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onPermissionRequest_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onPermissionRequest(modifier._onPermissionRequest_0_0value); + break; + } + default: { + this.onPermissionRequest((undefined as ((value0: OnPermissionRequestEvent) => void) | undefined)); + } + } + } + if (modifier._onScreenCaptureRequest_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onScreenCaptureRequest_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onScreenCaptureRequest(modifier._onScreenCaptureRequest_0_0value); + break; + } + default: { + this.onScreenCaptureRequest((undefined as ((value0: OnScreenCaptureRequestEvent) => void) | undefined)); + } + } + } + if (modifier._onContextMenuShow_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onContextMenuShow_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onContextMenuShow(modifier._onContextMenuShow_0_0value); + break; + } + default: { + this.onContextMenuShow((undefined as ((value0: OnContextMenuShowEvent) => boolean) | undefined)); + } + } + } + if (modifier._onContextMenuHide_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onContextMenuHide_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onContextMenuHide(modifier._onContextMenuHide_0_0value); + break; + } + default: { + this.onContextMenuHide((undefined as OnContextMenuHideCallback | undefined)); + } + } + } + if (modifier._mediaPlayGestureAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._mediaPlayGestureAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.mediaPlayGestureAccess(modifier._mediaPlayGestureAccess_0_0value); + break; + } + default: { + this.mediaPlayGestureAccess((undefined as boolean | undefined)); + } + } + } + if (modifier._onSearchResultReceive_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onSearchResultReceive_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onSearchResultReceive(modifier._onSearchResultReceive_0_0value); + break; + } + default: { + this.onSearchResultReceive((undefined as ((value0: OnSearchResultReceiveEvent) => void) | undefined)); + } + } + } + if (modifier._onScroll_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onScroll_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onScroll(modifier._onScroll_0_0value); + break; + } + default: { + this.onScroll((undefined as ((value0: OnScrollEvent) => void) | undefined)); + } + } + } + if (modifier._onSslErrorEventReceive_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onSslErrorEventReceive_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onSslErrorEventReceive(modifier._onSslErrorEventReceive_0_0value); + break; + } + default: { + this.onSslErrorEventReceive((undefined as ((value0: OnSslErrorEventReceiveEvent) => void) | undefined)); + } + } + } + if (modifier._onSslErrorEvent_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onSslErrorEvent_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onSslErrorEvent(modifier._onSslErrorEvent_0_0value); + break; + } + default: { + this.onSslErrorEvent((undefined as OnSslErrorEventCallback | undefined)); + } + } + } + if (modifier._onClientAuthenticationRequest_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onClientAuthenticationRequest_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onClientAuthenticationRequest(modifier._onClientAuthenticationRequest_0_0value); + break; + } + default: { + this.onClientAuthenticationRequest((undefined as ((value0: OnClientAuthenticationEvent) => void) | undefined)); + } + } + } + if (modifier._onWindowNew_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onWindowNew_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onWindowNew(modifier._onWindowNew_0_0value); + break; + } + default: { + this.onWindowNew((undefined as ((value0: OnWindowNewEvent) => void) | undefined)); + } + } + } + if (modifier._onWindowExit_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onWindowExit_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onWindowExit(modifier._onWindowExit_0_0value); + break; + } + default: { + this.onWindowExit((undefined as (() => void) | undefined)); + } + } + } + if (modifier._multiWindowAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._multiWindowAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.multiWindowAccess(modifier._multiWindowAccess_0_0value); + break; + } + default: { + this.multiWindowAccess((undefined as boolean | undefined)); + } + } + } + if (modifier._onInterceptKeyEvent_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onInterceptKeyEvent_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onInterceptKeyEvent(modifier._onInterceptKeyEvent_0_0value); + break; + } + default: { + this.onInterceptKeyEvent((undefined as ((event: KeyEvent) => boolean) | undefined)); + } + } + } + if (modifier._webStandardFont_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._webStandardFont_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.webStandardFont(modifier._webStandardFont_0_0value); + break; + } + default: { + this.webStandardFont((undefined as string | undefined)); + } + } + } + if (modifier._webSerifFont_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._webSerifFont_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.webSerifFont(modifier._webSerifFont_0_0value); + break; + } + default: { + this.webSerifFont((undefined as string | undefined)); + } + } + } + if (modifier._webSansSerifFont_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._webSansSerifFont_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.webSansSerifFont(modifier._webSansSerifFont_0_0value); + break; + } + default: { + this.webSansSerifFont((undefined as string | undefined)); + } + } + } + if (modifier._webFixedFont_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._webFixedFont_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.webFixedFont(modifier._webFixedFont_0_0value); + break; + } + default: { + this.webFixedFont((undefined as string | undefined)); + } + } + } + if (modifier._webFantasyFont_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._webFantasyFont_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.webFantasyFont(modifier._webFantasyFont_0_0value); + break; + } + default: { + this.webFantasyFont((undefined as string | undefined)); + } + } + } + if (modifier._webCursiveFont_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._webCursiveFont_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.webCursiveFont(modifier._webCursiveFont_0_0value); + break; + } + default: { + this.webCursiveFont((undefined as string | undefined)); + } + } + } + if (modifier._defaultFixedFontSize_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._defaultFixedFontSize_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.defaultFixedFontSize(modifier._defaultFixedFontSize_0_0value); + break; + } + default: { + this.defaultFixedFontSize((undefined as int32 | undefined)); + } + } + } + if (modifier._defaultFontSize_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._defaultFontSize_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.defaultFontSize(modifier._defaultFontSize_0_0value); + break; + } + default: { + this.defaultFontSize((undefined as int32 | undefined)); + } + } + } + if (modifier._minFontSize_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._minFontSize_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.minFontSize(modifier._minFontSize_0_0value); + break; + } + default: { + this.minFontSize((undefined as int32 | undefined)); + } + } + } + if (modifier._minLogicalFontSize_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._minLogicalFontSize_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.minLogicalFontSize(modifier._minLogicalFontSize_0_0value); + break; + } + default: { + this.minLogicalFontSize((undefined as int32 | undefined)); + } + } + } + if (modifier._defaultTextEncodingFormat_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._defaultTextEncodingFormat_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.defaultTextEncodingFormat(modifier._defaultTextEncodingFormat_0_0value); + break; + } + default: { + this.defaultTextEncodingFormat((undefined as string | undefined)); + } + } + } + if (modifier._forceDisplayScrollBar_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._forceDisplayScrollBar_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.forceDisplayScrollBar(modifier._forceDisplayScrollBar_0_0value); + break; + } + default: { + this.forceDisplayScrollBar((undefined as boolean | undefined)); + } + } + } + if (modifier._blockNetwork_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._blockNetwork_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.blockNetwork(modifier._blockNetwork_0_0value); + break; + } + default: { + this.blockNetwork((undefined as boolean | undefined)); + } + } + } + if (modifier._horizontalScrollBarAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._horizontalScrollBarAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.horizontalScrollBarAccess(modifier._horizontalScrollBarAccess_0_0value); + break; + } + default: { + this.horizontalScrollBarAccess((undefined as boolean | undefined)); + } + } + } + if (modifier._verticalScrollBarAccess_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._verticalScrollBarAccess_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.verticalScrollBarAccess(modifier._verticalScrollBarAccess_0_0value); + break; + } + default: { + this.verticalScrollBarAccess((undefined as boolean | undefined)); + } + } + } + if (modifier._onTouchIconUrlReceived_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onTouchIconUrlReceived_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onTouchIconUrlReceived(modifier._onTouchIconUrlReceived_0_0value); + break; + } + default: { + this.onTouchIconUrlReceived((undefined as ((value0: OnTouchIconUrlReceivedEvent) => void) | undefined)); + } + } + } + if (modifier._onFaviconReceived_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onFaviconReceived_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onFaviconReceived(modifier._onFaviconReceived_0_0value); + break; + } + default: { + this.onFaviconReceived((undefined as ((value0: OnFaviconReceivedEvent) => void) | undefined)); + } + } + } + if (modifier._onPageVisible_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onPageVisible_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onPageVisible(modifier._onPageVisible_0_0value); + break; + } + default: { + this.onPageVisible((undefined as ((value0: OnPageVisibleEvent) => void) | undefined)); + } + } + } + if (modifier._onDataResubmitted_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onDataResubmitted_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onDataResubmitted(modifier._onDataResubmitted_0_0value); + break; + } + default: { + this.onDataResubmitted((undefined as ((value0: OnDataResubmittedEvent) => void) | undefined)); + } + } + } + if (modifier._pinchSmooth_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._pinchSmooth_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.pinchSmooth(modifier._pinchSmooth_0_0value); + break; + } + default: { + this.pinchSmooth((undefined as boolean | undefined)); + } + } + } + if (modifier._allowWindowOpenMethod_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._allowWindowOpenMethod_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.allowWindowOpenMethod(modifier._allowWindowOpenMethod_0_0value); + break; + } + default: { + this.allowWindowOpenMethod((undefined as boolean | undefined)); + } + } + } + if (modifier._onAudioStateChanged_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onAudioStateChanged_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onAudioStateChanged(modifier._onAudioStateChanged_0_0value); + break; + } + default: { + this.onAudioStateChanged((undefined as ((value0: OnAudioStateChangedEvent) => void) | undefined)); + } + } + } + if (modifier._onFirstContentfulPaint_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onFirstContentfulPaint_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onFirstContentfulPaint(modifier._onFirstContentfulPaint_0_0value); + break; + } + default: { + this.onFirstContentfulPaint((undefined as ((value0: OnFirstContentfulPaintEvent) => void) | undefined)); + } + } + } + if (modifier._onFirstMeaningfulPaint_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onFirstMeaningfulPaint_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onFirstMeaningfulPaint(modifier._onFirstMeaningfulPaint_0_0value); + break; + } + default: { + this.onFirstMeaningfulPaint((undefined as OnFirstMeaningfulPaintCallback | undefined)); + } + } + } + if (modifier._onLargestContentfulPaint_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onLargestContentfulPaint_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onLargestContentfulPaint(modifier._onLargestContentfulPaint_0_0value); + break; + } + default: { + this.onLargestContentfulPaint((undefined as OnLargestContentfulPaintCallback | undefined)); + } + } + } + if (modifier._onLoadIntercept_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onLoadIntercept_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onLoadIntercept(modifier._onLoadIntercept_0_0value); + break; + } + default: { + this.onLoadIntercept((undefined as ((value0: OnLoadInterceptEvent) => boolean) | undefined)); + } + } + } + if (modifier._onControllerAttached_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onControllerAttached_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onControllerAttached(modifier._onControllerAttached_0_0value); + break; + } + default: { + this.onControllerAttached((undefined as (() => void) | undefined)); + } + } + } + if (modifier._onOverScroll_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onOverScroll_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onOverScroll(modifier._onOverScroll_0_0value); + break; + } + default: { + this.onOverScroll((undefined as ((value0: OnOverScrollEvent) => void) | undefined)); + } + } + } + if (modifier._onSafeBrowsingCheckResult_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onSafeBrowsingCheckResult_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onSafeBrowsingCheckResult(modifier._onSafeBrowsingCheckResult_0_0value); + break; + } + default: { + this.onSafeBrowsingCheckResult((undefined as OnSafeBrowsingCheckResultCallback | undefined)); + } + } + } + if (modifier._onNavigationEntryCommitted_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onNavigationEntryCommitted_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onNavigationEntryCommitted(modifier._onNavigationEntryCommitted_0_0value); + break; + } + default: { + this.onNavigationEntryCommitted((undefined as OnNavigationEntryCommittedCallback | undefined)); + } + } + } + if (modifier._onIntelligentTrackingPreventionResult_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onIntelligentTrackingPreventionResult_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onIntelligentTrackingPreventionResult(modifier._onIntelligentTrackingPreventionResult_0_0value); + break; + } + default: { + this.onIntelligentTrackingPreventionResult((undefined as OnIntelligentTrackingPreventionCallback | undefined)); + } + } + } + if (modifier._javaScriptOnDocumentStart_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._javaScriptOnDocumentStart_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.javaScriptOnDocumentStart(modifier._javaScriptOnDocumentStart_0_0value); + break; + } + default: { + this.javaScriptOnDocumentStart((undefined as Array | undefined)); + } + } + } + if (modifier._javaScriptOnDocumentEnd_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._javaScriptOnDocumentEnd_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.javaScriptOnDocumentEnd(modifier._javaScriptOnDocumentEnd_0_0value); + break; + } + default: { + this.javaScriptOnDocumentEnd((undefined as Array | undefined)); + } + } + } + if (modifier._layoutMode_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._layoutMode_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.layoutMode(modifier._layoutMode_0_0value); + break; + } + default: { + this.layoutMode((undefined as WebLayoutMode | undefined)); + } + } + } + if (modifier._nestedScroll_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._nestedScroll_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.nestedScroll(modifier._nestedScroll_0_0value); + break; + } + default: { + this.nestedScroll((undefined as NestedScrollOptions | NestedScrollOptionsExt | undefined)); + } + } + } + if (modifier._enableNativeEmbedMode_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._enableNativeEmbedMode_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.enableNativeEmbedMode(modifier._enableNativeEmbedMode_0_0value); + break; + } + default: { + this.enableNativeEmbedMode((undefined as boolean | undefined)); + } + } + } + if (modifier._onNativeEmbedLifecycleChange_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onNativeEmbedLifecycleChange_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onNativeEmbedLifecycleChange(modifier._onNativeEmbedLifecycleChange_0_0value); + break; + } + default: { + this.onNativeEmbedLifecycleChange((undefined as ((event: NativeEmbedDataInfo) => void) | undefined)); + } + } + } + if (modifier._onNativeEmbedVisibilityChange_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onNativeEmbedVisibilityChange_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onNativeEmbedVisibilityChange(modifier._onNativeEmbedVisibilityChange_0_0value); + break; + } + default: { + this.onNativeEmbedVisibilityChange((undefined as OnNativeEmbedVisibilityChangeCallback | undefined)); + } + } + } + if (modifier._onNativeEmbedGestureEvent_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onNativeEmbedGestureEvent_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onNativeEmbedGestureEvent(modifier._onNativeEmbedGestureEvent_0_0value); + break; + } + default: { + this.onNativeEmbedGestureEvent((undefined as ((event: NativeEmbedTouchInfo) => void) | undefined)); + } + } + } + if (modifier._copyOptions_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._copyOptions_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.copyOptions(modifier._copyOptions_0_0value); + break; + } + default: { + this.copyOptions((undefined as CopyOptions | undefined)); + } + } + } + if (modifier._onOverrideUrlLoading_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onOverrideUrlLoading_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onOverrideUrlLoading(modifier._onOverrideUrlLoading_0_0value); + break; + } + default: { + this.onOverrideUrlLoading((undefined as OnOverrideUrlLoadingCallback | undefined)); + } + } + } + if (modifier._textAutosizing_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._textAutosizing_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.textAutosizing(modifier._textAutosizing_0_0value); + break; + } + default: { + this.textAutosizing((undefined as boolean | undefined)); + } + } + } + if (modifier._enableNativeMediaPlayer_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._enableNativeMediaPlayer_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.enableNativeMediaPlayer(modifier._enableNativeMediaPlayer_0_0value); + break; + } + default: { + this.enableNativeMediaPlayer((undefined as NativeMediaPlayerConfig | undefined)); + } + } + } + if (modifier._onRenderProcessNotResponding_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onRenderProcessNotResponding_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onRenderProcessNotResponding(modifier._onRenderProcessNotResponding_0_0value); + break; + } + default: { + this.onRenderProcessNotResponding((undefined as OnRenderProcessNotRespondingCallback | undefined)); + } + } + } + if (modifier._onRenderProcessResponding_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onRenderProcessResponding_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onRenderProcessResponding(modifier._onRenderProcessResponding_0_0value); + break; + } + default: { + this.onRenderProcessResponding((undefined as OnRenderProcessRespondingCallback | undefined)); + } + } + } + if (modifier._onViewportFitChanged_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onViewportFitChanged_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onViewportFitChanged(modifier._onViewportFitChanged_0_0value); + break; + } + default: { + this.onViewportFitChanged((undefined as OnViewportFitChangedCallback | undefined)); + } + } + } + if (modifier._onInterceptKeyboardAttach_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onInterceptKeyboardAttach_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onInterceptKeyboardAttach(modifier._onInterceptKeyboardAttach_0_0value); + break; + } + default: { + this.onInterceptKeyboardAttach((undefined as WebKeyboardCallback | undefined)); + } + } + } + if (modifier._onAdsBlocked_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._onAdsBlocked_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.onAdsBlocked(modifier._onAdsBlocked_0_0value); + break; + } + default: { + this.onAdsBlocked((undefined as OnAdsBlockedCallback | undefined)); + } + } + } + if (modifier._keyboardAvoidMode_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._keyboardAvoidMode_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.keyboardAvoidMode(modifier._keyboardAvoidMode_0_0value); + break; + } + default: { + this.keyboardAvoidMode((undefined as WebKeyboardAvoidMode | undefined)); + } + } + } + if (modifier._editMenuOptions_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._editMenuOptions_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.editMenuOptions(modifier._editMenuOptions_0_0value); + break; + } + default: { + this.editMenuOptions((undefined as EditMenuOptions | undefined)); + } + } + } + if (modifier._enableHapticFeedback_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._enableHapticFeedback_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.enableHapticFeedback(modifier._enableHapticFeedback_0_0value); + break; + } + default: { + this.enableHapticFeedback((undefined as boolean | undefined)); + } + } + } + if (modifier._optimizeParserBudget_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._optimizeParserBudget_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.optimizeParserBudget(modifier._optimizeParserBudget_0_0value); + break; + } + default: { + this.optimizeParserBudget((undefined as boolean | undefined)); + } + } + } + if (modifier._enableFollowSystemFontWeight_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._enableFollowSystemFontWeight_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.enableFollowSystemFontWeight(modifier._enableFollowSystemFontWeight_0_0value); + break; + } + default: { + this.enableFollowSystemFontWeight((undefined as boolean | undefined)); + } + } + } + if (modifier._enableWebAVSession_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._enableWebAVSession_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.enableWebAVSession(modifier._enableWebAVSession_0_0value); + break; + } + default: { + this.enableWebAVSession((undefined as boolean | undefined)); + } + } + } + if (modifier._runJavaScriptOnDocumentStart_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._runJavaScriptOnDocumentStart_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.runJavaScriptOnDocumentStart(modifier._runJavaScriptOnDocumentStart_0_0value); + break; + } + default: { + this.runJavaScriptOnDocumentStart((undefined as Array | undefined)); + } + } + } + if (modifier._runJavaScriptOnDocumentEnd_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._runJavaScriptOnDocumentEnd_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.runJavaScriptOnDocumentEnd(modifier._runJavaScriptOnDocumentEnd_0_0value); + break; + } + default: { + this.runJavaScriptOnDocumentEnd((undefined as Array | undefined)); + } + } + } + if (modifier._runJavaScriptOnHeadEnd_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._runJavaScriptOnHeadEnd_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.runJavaScriptOnHeadEnd(modifier._runJavaScriptOnHeadEnd_0_0value); + break; + } + default: { + this.runJavaScriptOnHeadEnd((undefined as Array | undefined)); + } + } + } + if (modifier._nativeEmbedOptions_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._nativeEmbedOptions_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.nativeEmbedOptions(modifier._nativeEmbedOptions_0_0value); + break; + } + default: { + this.nativeEmbedOptions((undefined as EmbedOptions | undefined)); + } + } + } + if (modifier._registerNativeEmbedRule_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._registerNativeEmbedRule_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.registerNativeEmbedRule(modifier._registerNativeEmbedRule_0_0value, modifier._registerNativeEmbedRule_0_1value); + break; + } + default: { + this.registerNativeEmbedRule((undefined as string | undefined), (undefined as string | undefined)); + } + } + } + if (modifier._bindSelectionMenu_0_flag != AttributeUpdaterFlag.INITIAL) + { + switch (modifier._bindSelectionMenu_0_flag) { + case AttributeUpdaterFlag.UPDATE: + case AttributeUpdaterFlag.SKIP: { + this.bindSelectionMenu(modifier._bindSelectionMenu_0_0value, modifier._bindSelectionMenu_0_1value, modifier._bindSelectionMenu_0_2value, modifier._bindSelectionMenu_0_3value); + break; + } + default: { + this.bindSelectionMenu((undefined as WebElementType | undefined), (undefined as CustomBuilder | undefined), (undefined as WebResponseType | undefined), (undefined as SelectionMenuOptionsExt | undefined | undefined)); + } + } + } + } + javaScriptAccess(value: boolean | undefined): this { + if (((this._javaScriptAccess_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._javaScriptAccess_0_0value) !== (value))) + { + this._javaScriptAccess_0_flag = AttributeUpdaterFlag.UPDATE + this._javaScriptAccess_0_0value = value + } else + { + this._javaScriptAccess_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + fileAccess(value: boolean | undefined): this { + if (((this._fileAccess_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._fileAccess_0_0value) !== (value))) + { + this._fileAccess_0_flag = AttributeUpdaterFlag.UPDATE + this._fileAccess_0_0value = value + } else + { + this._fileAccess_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onlineImageAccess(value: boolean | undefined): this { + if (((this._onlineImageAccess_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._onlineImageAccess_0_0value) !== (value))) + { + this._onlineImageAccess_0_flag = AttributeUpdaterFlag.UPDATE + this._onlineImageAccess_0_0value = value + } else + { + this._onlineImageAccess_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + domStorageAccess(value: boolean | undefined): this { + if (((this._domStorageAccess_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._domStorageAccess_0_0value) !== (value))) + { + this._domStorageAccess_0_flag = AttributeUpdaterFlag.UPDATE + this._domStorageAccess_0_0value = value + } else + { + this._domStorageAccess_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + imageAccess(value: boolean | undefined): this { + if (((this._imageAccess_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._imageAccess_0_0value) !== (value))) + { + this._imageAccess_0_flag = AttributeUpdaterFlag.UPDATE + this._imageAccess_0_0value = value + } else + { + this._imageAccess_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + mixedMode(value: MixedMode | undefined): this { + if (((this._mixedMode_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._mixedMode_0_flag = AttributeUpdaterFlag.UPDATE + this._mixedMode_0_0value = value + } else + { + this._mixedMode_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + zoomAccess(value: boolean | undefined): this { + if (((this._zoomAccess_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._zoomAccess_0_0value) !== (value))) + { + this._zoomAccess_0_flag = AttributeUpdaterFlag.UPDATE + this._zoomAccess_0_0value = value + } else + { + this._zoomAccess_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + geolocationAccess(value: boolean | undefined): this { + if (((this._geolocationAccess_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._geolocationAccess_0_0value) !== (value))) + { + this._geolocationAccess_0_flag = AttributeUpdaterFlag.UPDATE + this._geolocationAccess_0_0value = value + } else + { + this._geolocationAccess_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + javaScriptProxy(value: JavaScriptProxy | undefined): this { + if (((this._javaScriptProxy_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._javaScriptProxy_0_flag = AttributeUpdaterFlag.UPDATE + this._javaScriptProxy_0_0value = value + } else + { + this._javaScriptProxy_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + cacheMode(value: CacheMode | undefined): this { + if (((this._cacheMode_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._cacheMode_0_flag = AttributeUpdaterFlag.UPDATE + this._cacheMode_0_0value = value + } else + { + this._cacheMode_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + darkMode(value: WebDarkMode | undefined): this { + if (((this._darkMode_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._darkMode_0_flag = AttributeUpdaterFlag.UPDATE + this._darkMode_0_0value = value + } else + { + this._darkMode_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + forceDarkAccess(value: boolean | undefined): this { + if (((this._forceDarkAccess_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._forceDarkAccess_0_0value) !== (value))) + { + this._forceDarkAccess_0_flag = AttributeUpdaterFlag.UPDATE + this._forceDarkAccess_0_0value = value + } else + { + this._forceDarkAccess_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + mediaOptions(value: WebMediaOptions | undefined): this { + if (((this._mediaOptions_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._mediaOptions_0_flag = AttributeUpdaterFlag.UPDATE + this._mediaOptions_0_0value = value + } else + { + this._mediaOptions_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + overviewModeAccess(value: boolean | undefined): this { + if (((this._overviewModeAccess_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._overviewModeAccess_0_0value) !== (value))) + { + this._overviewModeAccess_0_flag = AttributeUpdaterFlag.UPDATE + this._overviewModeAccess_0_0value = value + } else + { + this._overviewModeAccess_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + overScrollMode(value: OverScrollMode | undefined): this { + if (((this._overScrollMode_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._overScrollMode_0_flag = AttributeUpdaterFlag.UPDATE + this._overScrollMode_0_0value = value + } else + { + this._overScrollMode_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + blurOnKeyboardHideMode(value: BlurOnKeyboardHideMode | undefined): this { + if (((this._blurOnKeyboardHideMode_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._blurOnKeyboardHideMode_0_flag = AttributeUpdaterFlag.UPDATE + this._blurOnKeyboardHideMode_0_0value = value + } else + { + this._blurOnKeyboardHideMode_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + textZoomRatio(value: int32 | undefined): this { + if (((this._textZoomRatio_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._textZoomRatio_0_0value) !== (value))) + { + this._textZoomRatio_0_flag = AttributeUpdaterFlag.UPDATE + this._textZoomRatio_0_0value = value + } else + { + this._textZoomRatio_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + databaseAccess(value: boolean | undefined): this { + if (((this._databaseAccess_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._databaseAccess_0_0value) !== (value))) + { + this._databaseAccess_0_flag = AttributeUpdaterFlag.UPDATE + this._databaseAccess_0_0value = value + } else + { + this._databaseAccess_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + initialScale(value: double | undefined): this { + if (((this._initialScale_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._initialScale_0_0value) !== (value))) + { + this._initialScale_0_flag = AttributeUpdaterFlag.UPDATE + this._initialScale_0_0value = value + } else + { + this._initialScale_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + metaViewport(value: boolean | undefined): this { + if (((this._metaViewport_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._metaViewport_0_0value) !== (value))) + { + this._metaViewport_0_flag = AttributeUpdaterFlag.UPDATE + this._metaViewport_0_0value = value + } else + { + this._metaViewport_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onPageEnd(value: ((value0: OnPageEndEvent) => void) | undefined): this { + if (((this._onPageEnd_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onPageEnd_0_flag = AttributeUpdaterFlag.UPDATE + this._onPageEnd_0_0value = value + } else + { + this._onPageEnd_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onPageBegin(value: ((value0: OnPageBeginEvent) => void) | undefined): this { + if (((this._onPageBegin_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onPageBegin_0_flag = AttributeUpdaterFlag.UPDATE + this._onPageBegin_0_0value = value + } else + { + this._onPageBegin_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onProgressChange(value: ((value0: OnProgressChangeEvent) => void) | undefined): this { + if (((this._onProgressChange_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onProgressChange_0_flag = AttributeUpdaterFlag.UPDATE + this._onProgressChange_0_0value = value + } else + { + this._onProgressChange_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onTitleReceive(value: ((value0: OnTitleReceiveEvent) => void) | undefined): this { + if (((this._onTitleReceive_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onTitleReceive_0_flag = AttributeUpdaterFlag.UPDATE + this._onTitleReceive_0_0value = value + } else + { + this._onTitleReceive_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onGeolocationHide(value: (() => void) | undefined): this { + if (((this._onGeolocationHide_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onGeolocationHide_0_flag = AttributeUpdaterFlag.UPDATE + this._onGeolocationHide_0_0value = value + } else + { + this._onGeolocationHide_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onGeolocationShow(value: ((value0: OnGeolocationShowEvent) => void) | undefined): this { + if (((this._onGeolocationShow_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onGeolocationShow_0_flag = AttributeUpdaterFlag.UPDATE + this._onGeolocationShow_0_0value = value + } else + { + this._onGeolocationShow_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onRequestSelected(value: (() => void) | undefined): this { + if (((this._onRequestSelected_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onRequestSelected_0_flag = AttributeUpdaterFlag.UPDATE + this._onRequestSelected_0_0value = value + } else + { + this._onRequestSelected_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onAlert(value: ((value0: OnAlertEvent) => boolean) | undefined): this { + if (((this._onAlert_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onAlert_0_flag = AttributeUpdaterFlag.UPDATE + this._onAlert_0_0value = value + } else + { + this._onAlert_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onBeforeUnload(value: ((value0: OnBeforeUnloadEvent) => boolean) | undefined): this { + if (((this._onBeforeUnload_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onBeforeUnload_0_flag = AttributeUpdaterFlag.UPDATE + this._onBeforeUnload_0_0value = value + } else + { + this._onBeforeUnload_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onConfirm(value: ((value0: OnConfirmEvent) => boolean) | undefined): this { + if (((this._onConfirm_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onConfirm_0_flag = AttributeUpdaterFlag.UPDATE + this._onConfirm_0_0value = value + } else + { + this._onConfirm_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onPrompt(value: ((value0: OnPromptEvent) => boolean) | undefined): this { + if (((this._onPrompt_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onPrompt_0_flag = AttributeUpdaterFlag.UPDATE + this._onPrompt_0_0value = value + } else + { + this._onPrompt_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onConsole(value: ((value0: OnConsoleEvent) => boolean) | undefined): this { + if (((this._onConsole_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onConsole_0_flag = AttributeUpdaterFlag.UPDATE + this._onConsole_0_0value = value + } else + { + this._onConsole_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onErrorReceive(value: ((value0: OnErrorReceiveEvent) => void) | undefined): this { + if (((this._onErrorReceive_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onErrorReceive_0_flag = AttributeUpdaterFlag.UPDATE + this._onErrorReceive_0_0value = value + } else + { + this._onErrorReceive_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onHttpErrorReceive(value: ((value0: OnHttpErrorReceiveEvent) => void) | undefined): this { + if (((this._onHttpErrorReceive_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onHttpErrorReceive_0_flag = AttributeUpdaterFlag.UPDATE + this._onHttpErrorReceive_0_0value = value + } else + { + this._onHttpErrorReceive_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onDownloadStart(value: ((value0: OnDownloadStartEvent) => void) | undefined): this { + if (((this._onDownloadStart_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onDownloadStart_0_flag = AttributeUpdaterFlag.UPDATE + this._onDownloadStart_0_0value = value + } else + { + this._onDownloadStart_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onRefreshAccessedHistory(value: ((value0: OnRefreshAccessedHistoryEvent) => void) | undefined): this { + if (((this._onRefreshAccessedHistory_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onRefreshAccessedHistory_0_flag = AttributeUpdaterFlag.UPDATE + this._onRefreshAccessedHistory_0_0value = value + } else + { + this._onRefreshAccessedHistory_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onRenderExited(value: ((value0: OnRenderExitedEvent) => void) | undefined): this { + if (((this._onRenderExited_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onRenderExited_0_flag = AttributeUpdaterFlag.UPDATE + this._onRenderExited_0_0value = value + } else + { + this._onRenderExited_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onShowFileSelector(value: ((value0: OnShowFileSelectorEvent) => boolean) | undefined): this { + if (((this._onShowFileSelector_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onShowFileSelector_0_flag = AttributeUpdaterFlag.UPDATE + this._onShowFileSelector_0_0value = value + } else + { + this._onShowFileSelector_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onResourceLoad(value: ((value0: OnResourceLoadEvent) => void) | undefined): this { + if (((this._onResourceLoad_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onResourceLoad_0_flag = AttributeUpdaterFlag.UPDATE + this._onResourceLoad_0_0value = value + } else + { + this._onResourceLoad_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onFullScreenExit(value: (() => void) | undefined): this { + if (((this._onFullScreenExit_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onFullScreenExit_0_flag = AttributeUpdaterFlag.UPDATE + this._onFullScreenExit_0_0value = value + } else + { + this._onFullScreenExit_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onFullScreenEnter(value: OnFullScreenEnterCallback | undefined): this { + if (((this._onFullScreenEnter_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onFullScreenEnter_0_flag = AttributeUpdaterFlag.UPDATE + this._onFullScreenEnter_0_0value = value + } else + { + this._onFullScreenEnter_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onScaleChange(value: ((value0: OnScaleChangeEvent) => void) | undefined): this { + if (((this._onScaleChange_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onScaleChange_0_flag = AttributeUpdaterFlag.UPDATE + this._onScaleChange_0_0value = value + } else + { + this._onScaleChange_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onHttpAuthRequest(value: ((value0: OnHttpAuthRequestEvent) => boolean) | undefined): this { + if (((this._onHttpAuthRequest_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onHttpAuthRequest_0_flag = AttributeUpdaterFlag.UPDATE + this._onHttpAuthRequest_0_0value = value + } else + { + this._onHttpAuthRequest_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onInterceptRequest(value: ((value0: OnInterceptRequestEvent) => WebResourceResponse) | undefined): this { + if (((this._onInterceptRequest_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onInterceptRequest_0_flag = AttributeUpdaterFlag.UPDATE + this._onInterceptRequest_0_0value = value + } else + { + this._onInterceptRequest_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onPermissionRequest(value: ((value0: OnPermissionRequestEvent) => void) | undefined): this { + if (((this._onPermissionRequest_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onPermissionRequest_0_flag = AttributeUpdaterFlag.UPDATE + this._onPermissionRequest_0_0value = value + } else + { + this._onPermissionRequest_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onScreenCaptureRequest(value: ((value0: OnScreenCaptureRequestEvent) => void) | undefined): this { + if (((this._onScreenCaptureRequest_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onScreenCaptureRequest_0_flag = AttributeUpdaterFlag.UPDATE + this._onScreenCaptureRequest_0_0value = value + } else + { + this._onScreenCaptureRequest_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onContextMenuShow(value: ((value0: OnContextMenuShowEvent) => boolean) | undefined): this { + if (((this._onContextMenuShow_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onContextMenuShow_0_flag = AttributeUpdaterFlag.UPDATE + this._onContextMenuShow_0_0value = value + } else + { + this._onContextMenuShow_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onContextMenuHide(value: OnContextMenuHideCallback | undefined): this { + if (((this._onContextMenuHide_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onContextMenuHide_0_flag = AttributeUpdaterFlag.UPDATE + this._onContextMenuHide_0_0value = value + } else + { + this._onContextMenuHide_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + mediaPlayGestureAccess(value: boolean | undefined): this { + if (((this._mediaPlayGestureAccess_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._mediaPlayGestureAccess_0_0value) !== (value))) + { + this._mediaPlayGestureAccess_0_flag = AttributeUpdaterFlag.UPDATE + this._mediaPlayGestureAccess_0_0value = value + } else + { + this._mediaPlayGestureAccess_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onSearchResultReceive(value: ((value0: OnSearchResultReceiveEvent) => void) | undefined): this { + if (((this._onSearchResultReceive_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onSearchResultReceive_0_flag = AttributeUpdaterFlag.UPDATE + this._onSearchResultReceive_0_0value = value + } else + { + this._onSearchResultReceive_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onScroll(value: ((value0: OnScrollEvent) => void) | undefined): this { + if (((this._onScroll_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onScroll_0_flag = AttributeUpdaterFlag.UPDATE + this._onScroll_0_0value = value + } else + { + this._onScroll_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onSslErrorEventReceive(value: ((value0: OnSslErrorEventReceiveEvent) => void) | undefined): this { + if (((this._onSslErrorEventReceive_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onSslErrorEventReceive_0_flag = AttributeUpdaterFlag.UPDATE + this._onSslErrorEventReceive_0_0value = value + } else + { + this._onSslErrorEventReceive_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onSslErrorEvent(value: OnSslErrorEventCallback | undefined): this { + if (((this._onSslErrorEvent_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onSslErrorEvent_0_flag = AttributeUpdaterFlag.UPDATE + this._onSslErrorEvent_0_0value = value + } else + { + this._onSslErrorEvent_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onClientAuthenticationRequest(value: ((value0: OnClientAuthenticationEvent) => void) | undefined): this { + if (((this._onClientAuthenticationRequest_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onClientAuthenticationRequest_0_flag = AttributeUpdaterFlag.UPDATE + this._onClientAuthenticationRequest_0_0value = value + } else + { + this._onClientAuthenticationRequest_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onWindowNew(value: ((value0: OnWindowNewEvent) => void) | undefined): this { + if (((this._onWindowNew_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onWindowNew_0_flag = AttributeUpdaterFlag.UPDATE + this._onWindowNew_0_0value = value + } else + { + this._onWindowNew_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onWindowExit(value: (() => void) | undefined): this { + if (((this._onWindowExit_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onWindowExit_0_flag = AttributeUpdaterFlag.UPDATE + this._onWindowExit_0_0value = value + } else + { + this._onWindowExit_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + multiWindowAccess(value: boolean | undefined): this { + if (((this._multiWindowAccess_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._multiWindowAccess_0_0value) !== (value))) + { + this._multiWindowAccess_0_flag = AttributeUpdaterFlag.UPDATE + this._multiWindowAccess_0_0value = value + } else + { + this._multiWindowAccess_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onInterceptKeyEvent(value: ((event: KeyEvent) => boolean) | undefined): this { + if (((this._onInterceptKeyEvent_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onInterceptKeyEvent_0_flag = AttributeUpdaterFlag.UPDATE + this._onInterceptKeyEvent_0_0value = value + } else + { + this._onInterceptKeyEvent_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + webStandardFont(value: string | undefined): this { + if (((this._webStandardFont_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._webStandardFont_0_0value) !== (value))) + { + this._webStandardFont_0_flag = AttributeUpdaterFlag.UPDATE + this._webStandardFont_0_0value = value + } else + { + this._webStandardFont_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + webSerifFont(value: string | undefined): this { + if (((this._webSerifFont_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._webSerifFont_0_0value) !== (value))) + { + this._webSerifFont_0_flag = AttributeUpdaterFlag.UPDATE + this._webSerifFont_0_0value = value + } else + { + this._webSerifFont_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + webSansSerifFont(value: string | undefined): this { + if (((this._webSansSerifFont_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._webSansSerifFont_0_0value) !== (value))) + { + this._webSansSerifFont_0_flag = AttributeUpdaterFlag.UPDATE + this._webSansSerifFont_0_0value = value + } else + { + this._webSansSerifFont_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + webFixedFont(value: string | undefined): this { + if (((this._webFixedFont_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._webFixedFont_0_0value) !== (value))) + { + this._webFixedFont_0_flag = AttributeUpdaterFlag.UPDATE + this._webFixedFont_0_0value = value + } else + { + this._webFixedFont_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + webFantasyFont(value: string | undefined): this { + if (((this._webFantasyFont_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._webFantasyFont_0_0value) !== (value))) + { + this._webFantasyFont_0_flag = AttributeUpdaterFlag.UPDATE + this._webFantasyFont_0_0value = value + } else + { + this._webFantasyFont_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + webCursiveFont(value: string | undefined): this { + if (((this._webCursiveFont_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._webCursiveFont_0_0value) !== (value))) + { + this._webCursiveFont_0_flag = AttributeUpdaterFlag.UPDATE + this._webCursiveFont_0_0value = value + } else + { + this._webCursiveFont_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + defaultFixedFontSize(value: int32 | undefined): this { + if (((this._defaultFixedFontSize_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._defaultFixedFontSize_0_0value) !== (value))) + { + this._defaultFixedFontSize_0_flag = AttributeUpdaterFlag.UPDATE + this._defaultFixedFontSize_0_0value = value + } else + { + this._defaultFixedFontSize_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + defaultFontSize(value: int32 | undefined): this { + if (((this._defaultFontSize_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._defaultFontSize_0_0value) !== (value))) + { + this._defaultFontSize_0_flag = AttributeUpdaterFlag.UPDATE + this._defaultFontSize_0_0value = value + } else + { + this._defaultFontSize_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + minFontSize(value: int32 | undefined): this { + if (((this._minFontSize_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._minFontSize_0_0value) !== (value))) + { + this._minFontSize_0_flag = AttributeUpdaterFlag.UPDATE + this._minFontSize_0_0value = value + } else + { + this._minFontSize_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + minLogicalFontSize(value: int32 | undefined): this { + if (((this._minLogicalFontSize_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._minLogicalFontSize_0_0value) !== (value))) + { + this._minLogicalFontSize_0_flag = AttributeUpdaterFlag.UPDATE + this._minLogicalFontSize_0_0value = value + } else + { + this._minLogicalFontSize_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + defaultTextEncodingFormat(value: string | undefined): this { + if (((this._defaultTextEncodingFormat_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._defaultTextEncodingFormat_0_0value) !== (value))) + { + this._defaultTextEncodingFormat_0_flag = AttributeUpdaterFlag.UPDATE + this._defaultTextEncodingFormat_0_0value = value + } else + { + this._defaultTextEncodingFormat_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + forceDisplayScrollBar(value: boolean | undefined): this { + if (((this._forceDisplayScrollBar_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._forceDisplayScrollBar_0_0value) !== (value))) + { + this._forceDisplayScrollBar_0_flag = AttributeUpdaterFlag.UPDATE + this._forceDisplayScrollBar_0_0value = value + } else + { + this._forceDisplayScrollBar_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + blockNetwork(value: boolean | undefined): this { + if (((this._blockNetwork_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._blockNetwork_0_0value) !== (value))) + { + this._blockNetwork_0_flag = AttributeUpdaterFlag.UPDATE + this._blockNetwork_0_0value = value + } else + { + this._blockNetwork_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + horizontalScrollBarAccess(value: boolean | undefined): this { + if (((this._horizontalScrollBarAccess_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._horizontalScrollBarAccess_0_0value) !== (value))) + { + this._horizontalScrollBarAccess_0_flag = AttributeUpdaterFlag.UPDATE + this._horizontalScrollBarAccess_0_0value = value + } else + { + this._horizontalScrollBarAccess_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + verticalScrollBarAccess(value: boolean | undefined): this { + if (((this._verticalScrollBarAccess_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._verticalScrollBarAccess_0_0value) !== (value))) + { + this._verticalScrollBarAccess_0_flag = AttributeUpdaterFlag.UPDATE + this._verticalScrollBarAccess_0_0value = value + } else + { + this._verticalScrollBarAccess_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onTouchIconUrlReceived(value: ((value0: OnTouchIconUrlReceivedEvent) => void) | undefined): this { + if (((this._onTouchIconUrlReceived_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onTouchIconUrlReceived_0_flag = AttributeUpdaterFlag.UPDATE + this._onTouchIconUrlReceived_0_0value = value + } else + { + this._onTouchIconUrlReceived_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onFaviconReceived(value: ((value0: OnFaviconReceivedEvent) => void) | undefined): this { + if (((this._onFaviconReceived_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onFaviconReceived_0_flag = AttributeUpdaterFlag.UPDATE + this._onFaviconReceived_0_0value = value + } else + { + this._onFaviconReceived_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onPageVisible(value: ((value0: OnPageVisibleEvent) => void) | undefined): this { + if (((this._onPageVisible_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onPageVisible_0_flag = AttributeUpdaterFlag.UPDATE + this._onPageVisible_0_0value = value + } else + { + this._onPageVisible_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onDataResubmitted(value: ((value0: OnDataResubmittedEvent) => void) | undefined): this { + if (((this._onDataResubmitted_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onDataResubmitted_0_flag = AttributeUpdaterFlag.UPDATE + this._onDataResubmitted_0_0value = value + } else + { + this._onDataResubmitted_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + pinchSmooth(value: boolean | undefined): this { + if (((this._pinchSmooth_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._pinchSmooth_0_0value) !== (value))) + { + this._pinchSmooth_0_flag = AttributeUpdaterFlag.UPDATE + this._pinchSmooth_0_0value = value + } else + { + this._pinchSmooth_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + allowWindowOpenMethod(value: boolean | undefined): this { + if (((this._allowWindowOpenMethod_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._allowWindowOpenMethod_0_0value) !== (value))) + { + this._allowWindowOpenMethod_0_flag = AttributeUpdaterFlag.UPDATE + this._allowWindowOpenMethod_0_0value = value + } else + { + this._allowWindowOpenMethod_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onAudioStateChanged(value: ((value0: OnAudioStateChangedEvent) => void) | undefined): this { + if (((this._onAudioStateChanged_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onAudioStateChanged_0_flag = AttributeUpdaterFlag.UPDATE + this._onAudioStateChanged_0_0value = value + } else + { + this._onAudioStateChanged_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onFirstContentfulPaint(value: ((value0: OnFirstContentfulPaintEvent) => void) | undefined): this { + if (((this._onFirstContentfulPaint_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onFirstContentfulPaint_0_flag = AttributeUpdaterFlag.UPDATE + this._onFirstContentfulPaint_0_0value = value + } else + { + this._onFirstContentfulPaint_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onFirstMeaningfulPaint(value: OnFirstMeaningfulPaintCallback | undefined): this { + if (((this._onFirstMeaningfulPaint_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onFirstMeaningfulPaint_0_flag = AttributeUpdaterFlag.UPDATE + this._onFirstMeaningfulPaint_0_0value = value + } else + { + this._onFirstMeaningfulPaint_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onLargestContentfulPaint(value: OnLargestContentfulPaintCallback | undefined): this { + if (((this._onLargestContentfulPaint_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onLargestContentfulPaint_0_flag = AttributeUpdaterFlag.UPDATE + this._onLargestContentfulPaint_0_0value = value + } else + { + this._onLargestContentfulPaint_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onLoadIntercept(value: ((value0: OnLoadInterceptEvent) => boolean) | undefined): this { + if (((this._onLoadIntercept_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onLoadIntercept_0_flag = AttributeUpdaterFlag.UPDATE + this._onLoadIntercept_0_0value = value + } else + { + this._onLoadIntercept_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onControllerAttached(value: (() => void) | undefined): this { + if (((this._onControllerAttached_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onControllerAttached_0_flag = AttributeUpdaterFlag.UPDATE + this._onControllerAttached_0_0value = value + } else + { + this._onControllerAttached_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onOverScroll(value: ((value0: OnOverScrollEvent) => void) | undefined): this { + if (((this._onOverScroll_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onOverScroll_0_flag = AttributeUpdaterFlag.UPDATE + this._onOverScroll_0_0value = value + } else + { + this._onOverScroll_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onSafeBrowsingCheckResult(value: OnSafeBrowsingCheckResultCallback | undefined): this { + if (((this._onSafeBrowsingCheckResult_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onSafeBrowsingCheckResult_0_flag = AttributeUpdaterFlag.UPDATE + this._onSafeBrowsingCheckResult_0_0value = value + } else + { + this._onSafeBrowsingCheckResult_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onNavigationEntryCommitted(value: OnNavigationEntryCommittedCallback | undefined): this { + if (((this._onNavigationEntryCommitted_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onNavigationEntryCommitted_0_flag = AttributeUpdaterFlag.UPDATE + this._onNavigationEntryCommitted_0_0value = value + } else + { + this._onNavigationEntryCommitted_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onIntelligentTrackingPreventionResult(value: OnIntelligentTrackingPreventionCallback | undefined): this { + if (((this._onIntelligentTrackingPreventionResult_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onIntelligentTrackingPreventionResult_0_flag = AttributeUpdaterFlag.UPDATE + this._onIntelligentTrackingPreventionResult_0_0value = value + } else + { + this._onIntelligentTrackingPreventionResult_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + javaScriptOnDocumentStart(value: Array | undefined): this { + if (((this._javaScriptOnDocumentStart_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._javaScriptOnDocumentStart_0_flag = AttributeUpdaterFlag.UPDATE + this._javaScriptOnDocumentStart_0_0value = value + } else + { + this._javaScriptOnDocumentStart_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + javaScriptOnDocumentEnd(value: Array | undefined): this { + if (((this._javaScriptOnDocumentEnd_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._javaScriptOnDocumentEnd_0_flag = AttributeUpdaterFlag.UPDATE + this._javaScriptOnDocumentEnd_0_0value = value + } else + { + this._javaScriptOnDocumentEnd_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + layoutMode(value: WebLayoutMode | undefined): this { + if (((this._layoutMode_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._layoutMode_0_flag = AttributeUpdaterFlag.UPDATE + this._layoutMode_0_0value = value + } else + { + this._layoutMode_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + nestedScroll(value: NestedScrollOptions | NestedScrollOptionsExt | undefined): this { + if (((this._nestedScroll_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._nestedScroll_0_flag = AttributeUpdaterFlag.UPDATE + this._nestedScroll_0_0value = value + } else + { + this._nestedScroll_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + enableNativeEmbedMode(value: boolean | undefined): this { + if (((this._enableNativeEmbedMode_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._enableNativeEmbedMode_0_0value) !== (value))) + { + this._enableNativeEmbedMode_0_flag = AttributeUpdaterFlag.UPDATE + this._enableNativeEmbedMode_0_0value = value + } else + { + this._enableNativeEmbedMode_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onNativeEmbedLifecycleChange(value: ((event: NativeEmbedDataInfo) => void) | undefined): this { + if (((this._onNativeEmbedLifecycleChange_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onNativeEmbedLifecycleChange_0_flag = AttributeUpdaterFlag.UPDATE + this._onNativeEmbedLifecycleChange_0_0value = value + } else + { + this._onNativeEmbedLifecycleChange_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onNativeEmbedVisibilityChange(value: OnNativeEmbedVisibilityChangeCallback | undefined): this { + if (((this._onNativeEmbedVisibilityChange_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onNativeEmbedVisibilityChange_0_flag = AttributeUpdaterFlag.UPDATE + this._onNativeEmbedVisibilityChange_0_0value = value + } else + { + this._onNativeEmbedVisibilityChange_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onNativeEmbedGestureEvent(value: ((event: NativeEmbedTouchInfo) => void) | undefined): this { + if (((this._onNativeEmbedGestureEvent_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onNativeEmbedGestureEvent_0_flag = AttributeUpdaterFlag.UPDATE + this._onNativeEmbedGestureEvent_0_0value = value + } else + { + this._onNativeEmbedGestureEvent_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + copyOptions(value: CopyOptions | undefined): this { + if (((this._copyOptions_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._copyOptions_0_flag = AttributeUpdaterFlag.UPDATE + this._copyOptions_0_0value = value + } else + { + this._copyOptions_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onOverrideUrlLoading(value: OnOverrideUrlLoadingCallback | undefined): this { + if (((this._onOverrideUrlLoading_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onOverrideUrlLoading_0_flag = AttributeUpdaterFlag.UPDATE + this._onOverrideUrlLoading_0_0value = value + } else + { + this._onOverrideUrlLoading_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + textAutosizing(value: boolean | undefined): this { + if (((this._textAutosizing_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._textAutosizing_0_0value) !== (value))) + { + this._textAutosizing_0_flag = AttributeUpdaterFlag.UPDATE + this._textAutosizing_0_0value = value + } else + { + this._textAutosizing_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + enableNativeMediaPlayer(value: NativeMediaPlayerConfig | undefined): this { + if (((this._enableNativeMediaPlayer_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._enableNativeMediaPlayer_0_flag = AttributeUpdaterFlag.UPDATE + this._enableNativeMediaPlayer_0_0value = value + } else + { + this._enableNativeMediaPlayer_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onRenderProcessNotResponding(value: OnRenderProcessNotRespondingCallback | undefined): this { + if (((this._onRenderProcessNotResponding_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onRenderProcessNotResponding_0_flag = AttributeUpdaterFlag.UPDATE + this._onRenderProcessNotResponding_0_0value = value + } else + { + this._onRenderProcessNotResponding_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onRenderProcessResponding(value: OnRenderProcessRespondingCallback | undefined): this { + if (((this._onRenderProcessResponding_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onRenderProcessResponding_0_flag = AttributeUpdaterFlag.UPDATE + this._onRenderProcessResponding_0_0value = value + } else + { + this._onRenderProcessResponding_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onViewportFitChanged(value: OnViewportFitChangedCallback | undefined): this { + if (((this._onViewportFitChanged_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onViewportFitChanged_0_flag = AttributeUpdaterFlag.UPDATE + this._onViewportFitChanged_0_0value = value + } else + { + this._onViewportFitChanged_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onInterceptKeyboardAttach(value: WebKeyboardCallback | undefined): this { + if (((this._onInterceptKeyboardAttach_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onInterceptKeyboardAttach_0_flag = AttributeUpdaterFlag.UPDATE + this._onInterceptKeyboardAttach_0_0value = value + } else + { + this._onInterceptKeyboardAttach_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + onAdsBlocked(value: OnAdsBlockedCallback | undefined): this { + if (((this._onAdsBlocked_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._onAdsBlocked_0_flag = AttributeUpdaterFlag.UPDATE + this._onAdsBlocked_0_0value = value + } else + { + this._onAdsBlocked_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + keyboardAvoidMode(value: WebKeyboardAvoidMode | undefined): this { + if (((this._keyboardAvoidMode_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._keyboardAvoidMode_0_flag = AttributeUpdaterFlag.UPDATE + this._keyboardAvoidMode_0_0value = value + } else + { + this._keyboardAvoidMode_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + editMenuOptions(value: EditMenuOptions | undefined): this { + if (((this._editMenuOptions_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._editMenuOptions_0_flag = AttributeUpdaterFlag.UPDATE + this._editMenuOptions_0_0value = value + } else + { + this._editMenuOptions_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + enableHapticFeedback(value: boolean | undefined): this { + if (((this._enableHapticFeedback_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._enableHapticFeedback_0_0value) !== (value))) + { + this._enableHapticFeedback_0_flag = AttributeUpdaterFlag.UPDATE + this._enableHapticFeedback_0_0value = value + } else + { + this._enableHapticFeedback_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + optimizeParserBudget(value: boolean | undefined): this { + if (((this._optimizeParserBudget_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._optimizeParserBudget_0_0value) !== (value))) + { + this._optimizeParserBudget_0_flag = AttributeUpdaterFlag.UPDATE + this._optimizeParserBudget_0_0value = value + } else + { + this._optimizeParserBudget_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + enableFollowSystemFontWeight(value: boolean | undefined): this { + if (((this._enableFollowSystemFontWeight_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._enableFollowSystemFontWeight_0_0value) !== (value))) + { + this._enableFollowSystemFontWeight_0_flag = AttributeUpdaterFlag.UPDATE + this._enableFollowSystemFontWeight_0_0value = value + } else + { + this._enableFollowSystemFontWeight_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + enableWebAVSession(value: boolean | undefined): this { + if (((this._enableWebAVSession_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._enableWebAVSession_0_0value) !== (value))) + { + this._enableWebAVSession_0_flag = AttributeUpdaterFlag.UPDATE + this._enableWebAVSession_0_0value = value + } else + { + this._enableWebAVSession_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + runJavaScriptOnDocumentStart(value: Array | undefined): this { + if (((this._runJavaScriptOnDocumentStart_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._runJavaScriptOnDocumentStart_0_flag = AttributeUpdaterFlag.UPDATE + this._runJavaScriptOnDocumentStart_0_0value = value + } else + { + this._runJavaScriptOnDocumentStart_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + runJavaScriptOnDocumentEnd(value: Array | undefined): this { + if (((this._runJavaScriptOnDocumentEnd_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._runJavaScriptOnDocumentEnd_0_flag = AttributeUpdaterFlag.UPDATE + this._runJavaScriptOnDocumentEnd_0_0value = value + } else + { + this._runJavaScriptOnDocumentEnd_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + runJavaScriptOnHeadEnd(value: Array | undefined): this { + if (((this._runJavaScriptOnHeadEnd_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._runJavaScriptOnHeadEnd_0_flag = AttributeUpdaterFlag.UPDATE + this._runJavaScriptOnHeadEnd_0_0value = value + } else + { + this._runJavaScriptOnHeadEnd_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + nativeEmbedOptions(value: EmbedOptions | undefined): this { + if (((this._nativeEmbedOptions_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) + { + this._nativeEmbedOptions_0_flag = AttributeUpdaterFlag.UPDATE + this._nativeEmbedOptions_0_0value = value + } else + { + this._nativeEmbedOptions_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + registerNativeEmbedRule(tag: string | undefined, type: string | undefined): this { + if (((this._registerNativeEmbedRule_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._registerNativeEmbedRule_0_0value) !== (tag)) || ((this._registerNativeEmbedRule_0_1value) !== (type))) + { + this._registerNativeEmbedRule_0_flag = AttributeUpdaterFlag.UPDATE + this._registerNativeEmbedRule_0_0value = tag + this._registerNativeEmbedRule_0_1value = type + } else + { + this._registerNativeEmbedRule_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + bindSelectionMenu(elementType: WebElementType | undefined, content: CustomBuilder | undefined, responseType: WebResponseType | undefined, options?: SelectionMenuOptionsExt): this { + if (((this._bindSelectionMenu_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true) || (true) || (true) || (true)) + { + this._bindSelectionMenu_0_flag = AttributeUpdaterFlag.UPDATE + this._bindSelectionMenu_0_0value = elementType + this._bindSelectionMenu_0_1value = content + this._bindSelectionMenu_0_2value = responseType + this._bindSelectionMenu_0_3value = options + } else + { + this._bindSelectionMenu_0_flag = AttributeUpdaterFlag.SKIP + } + return this + } + public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { + throw new Error("Not implemented") + } +} diff --git a/arkoala-arkts/arkui/generated/WindowSceneModifier.ets b/arkoala-arkts/arkui/generated/WindowSceneModifier.ets index 40497cde1..f0329c145 100644 --- a/arkoala-arkts/arkui/generated/WindowSceneModifier.ets +++ b/arkoala-arkts/arkui/generated/WindowSceneModifier.ets @@ -20,6 +20,7 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkWindowScenePeer, WindowSceneAttribute } from "./component/windowScene" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { Position } from "./component/units" export class WindowSceneModifier extends CommonMethodModifier implements WindowSceneAttribute,AttributeModifier { diff --git a/arkoala-arkts/arkui/generated/WithThemeModifier.ets b/arkoala-arkts/arkui/generated/WithThemeModifier.ets index 85c28339a..ec63144a1 100644 --- a/arkoala-arkts/arkui/generated/WithThemeModifier.ets +++ b/arkoala-arkts/arkui/generated/WithThemeModifier.ets @@ -19,6 +19,7 @@ import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" import { ArkWithThemePeer, WithThemeAttribute } from "./component/withTheme" +import { int32 } from "@koalaui/common" export class WithThemeModifier implements WithThemeAttribute,AttributeModifier { _instanceId: number = -1; setInstanceId(instanceId: number): void { diff --git a/arkoala-arkts/arkui/generated/XComponentModifier.ets b/arkoala-arkts/arkui/generated/XComponentModifier.ets index 39a03800d..e8970572c 100644 --- a/arkoala-arkts/arkui/generated/XComponentModifier.ets +++ b/arkoala-arkts/arkui/generated/XComponentModifier.ets @@ -19,7 +19,8 @@ import { CommonMethodModifier } from "./CommonMethodModifier" import { AttributeModifier } from "#handwritten" import { AttributeUpdaterFlag } from "./AttributeUpdater" -import { ArkXComponentPeer, OnNativeLoadCallback, XComponentAttribute } from "./component/xcomponent" +import { ArkXComponentPeer, XComponentAttribute } from "./component/xcomponent" +import { int32 } from "@koalaui/common" import { CommonMethod } from "./component/common" import { VoidCallback } from "./component/units" export class XComponentModifier extends CommonMethodModifier implements XComponentAttribute,AttributeModifier { @@ -34,7 +35,7 @@ export class XComponentModifier extends CommonMethodModifier implements XCompone applyDisabledAttribute(instance: XComponentAttribute): void { } applySelectedAttribute(instance: XComponentAttribute): void { } _onLoad_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _onLoad_0_0value?: OnNativeLoadCallback | undefined + _onLoad_0_0value?: VoidCallback | undefined _onDestroy_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _onDestroy_0_0value?: VoidCallback | undefined _enableAnalyzer_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL @@ -42,16 +43,14 @@ export class XComponentModifier extends CommonMethodModifier implements XCompone _enableSecure_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL _enableSecure_0_0value?: boolean | undefined _hdrBrightness_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _hdrBrightness_0_0value?: number | undefined - _enableTransparentLayer_0_flag: AttributeUpdaterFlag = AttributeUpdaterFlag.INITIAL - _enableTransparentLayer_0_0value?: boolean | undefined + _hdrBrightness_0_0value?: double | undefined applyModifierPatch(peer: ArkXComponentPeer): void { super.applyModifierPatch(peer) if (this._onLoad_0_flag != AttributeUpdaterFlag.INITIAL) { switch (this._onLoad_0_flag) { case AttributeUpdaterFlag.UPDATE: { - peer.setOnLoadAttribute((this._onLoad_0_0value as OnNativeLoadCallback | undefined)); + peer.setOnLoadAttribute((this._onLoad_0_0value as VoidCallback | undefined)); this._onLoad_0_flag = AttributeUpdaterFlag.RESET; break; } @@ -61,7 +60,7 @@ export class XComponentModifier extends CommonMethodModifier implements XCompone } default: { this._onLoad_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setOnLoadAttribute((undefined as OnNativeLoadCallback | undefined)); + peer.setOnLoadAttribute((undefined as VoidCallback | undefined)); } } } @@ -123,7 +122,7 @@ export class XComponentModifier extends CommonMethodModifier implements XCompone { switch (this._hdrBrightness_0_flag) { case AttributeUpdaterFlag.UPDATE: { - peer.setHdrBrightnessAttribute((this._hdrBrightness_0_0value as number | undefined)); + peer.setHdrBrightnessAttribute((this._hdrBrightness_0_0value as double | undefined)); this._hdrBrightness_0_flag = AttributeUpdaterFlag.RESET; break; } @@ -133,25 +132,7 @@ export class XComponentModifier extends CommonMethodModifier implements XCompone } default: { this._hdrBrightness_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setHdrBrightnessAttribute((undefined as number | undefined)); - } - } - } - if (this._enableTransparentLayer_0_flag != AttributeUpdaterFlag.INITIAL) - { - switch (this._enableTransparentLayer_0_flag) { - case AttributeUpdaterFlag.UPDATE: { - peer.setEnableTransparentLayerAttribute((this._enableTransparentLayer_0_0value as boolean | undefined)); - this._enableTransparentLayer_0_flag = AttributeUpdaterFlag.RESET; - break; - } - case AttributeUpdaterFlag.SKIP: { - this._enableTransparentLayer_0_flag = AttributeUpdaterFlag.RESET; - break; - } - default: { - this._enableTransparentLayer_0_flag = AttributeUpdaterFlag.INITIAL; - peer.setEnableTransparentLayerAttribute((undefined as boolean | undefined)); + peer.setHdrBrightnessAttribute((undefined as double | undefined)); } } } @@ -167,7 +148,7 @@ export class XComponentModifier extends CommonMethodModifier implements XCompone break; } default: { - this.onLoad((undefined as OnNativeLoadCallback | undefined)); + this.onLoad((undefined as VoidCallback | undefined)); } } } @@ -219,25 +200,12 @@ export class XComponentModifier extends CommonMethodModifier implements XCompone break; } default: { - this.hdrBrightness((undefined as number | undefined)); - } - } - } - if (modifier._enableTransparentLayer_0_flag != AttributeUpdaterFlag.INITIAL) - { - switch (modifier._enableTransparentLayer_0_flag) { - case AttributeUpdaterFlag.UPDATE: - case AttributeUpdaterFlag.SKIP: { - this.enableTransparentLayer(modifier._enableTransparentLayer_0_0value); - break; - } - default: { - this.enableTransparentLayer((undefined as boolean | undefined)); + this.hdrBrightness((undefined as double | undefined)); } } } } - onLoad(value: OnNativeLoadCallback | undefined): this { + onLoad(value: VoidCallback | undefined): this { if (((this._onLoad_0_flag) == (AttributeUpdaterFlag.INITIAL)) || (true)) { this._onLoad_0_flag = AttributeUpdaterFlag.UPDATE @@ -281,7 +249,7 @@ export class XComponentModifier extends CommonMethodModifier implements XCompone } return this } - hdrBrightness(value: number | undefined): this { + hdrBrightness(value: double | undefined): this { if (((this._hdrBrightness_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._hdrBrightness_0_0value) !== (value))) { this._hdrBrightness_0_flag = AttributeUpdaterFlag.UPDATE @@ -292,17 +260,6 @@ export class XComponentModifier extends CommonMethodModifier implements XCompone } return this } - enableTransparentLayer(value: boolean | undefined): this { - if (((this._enableTransparentLayer_0_flag) == (AttributeUpdaterFlag.INITIAL)) || ((this._enableTransparentLayer_0_0value) !== (value))) - { - this._enableTransparentLayer_0_flag = AttributeUpdaterFlag.UPDATE - this._enableTransparentLayer_0_0value = value - } else - { - this._enableTransparentLayer_0_flag = AttributeUpdaterFlag.SKIP - } - return this - } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } diff --git a/arkoala-arkts/arkui/generated/component/actionSheet.ets b/arkoala-arkts/arkui/generated/component/actionSheet.ets index 729f51d3b..3a9cd8cc8 100644 --- a/arkoala-arkts/arkui/generated/component/actionSheet.ets +++ b/arkoala-arkts/arkui/generated/component/actionSheet.ets @@ -28,7 +28,6 @@ import { VoidCallback, ResourceStr, ResourceColor, Dimension, BorderRadiuses, Lo import { DialogButtonStyle, Color, BorderStyle } from "./enums" import { DialogAlignment } from "./alertDialog" import { LevelMode, ImmersiveMode, LevelOrder } from "./../framework/ohos.promptAction" -import { extractors } from "#handwritten" export interface DismissDialogAction { reason: DismissReason dismiss(): void diff --git a/arkoala-arkts/arkui/generated/component/alphabetIndexer.ets b/arkoala-arkts/arkui/generated/component/alphabetIndexer.ets index 45f5bef59..552f92765 100644 --- a/arkoala-arkts/arkui/generated/component/alphabetIndexer.ets +++ b/arkoala-arkts/arkui/generated/component/alphabetIndexer.ets @@ -26,7 +26,7 @@ import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { Color } from "./enums" import { Resource } from "global.resource" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -666,82 +666,82 @@ export class ArkAlphabetIndexerStyle extends ArkCommonMethodStyle implements Alp popupTitleBackground_value?: ResourceColor | undefined enableHapticFeedback_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public color(value: ResourceColor | undefined): this { + color(value: ResourceColor | undefined): this { return this } - public selectedColor(value: ResourceColor | undefined): this { + selectedColor(value: ResourceColor | undefined): this { return this } - public popupColor(value: ResourceColor | undefined): this { + popupColor(value: ResourceColor | undefined): this { return this } - public selectedBackgroundColor(value: ResourceColor | undefined): this { + selectedBackgroundColor(value: ResourceColor | undefined): this { return this } - public popupBackground(value: ResourceColor | undefined): this { + popupBackground(value: ResourceColor | undefined): this { return this } - public popupSelectedColor(value: ResourceColor | undefined): this { + popupSelectedColor(value: ResourceColor | undefined): this { return this } - public popupUnselectedColor(value: ResourceColor | undefined): this { + popupUnselectedColor(value: ResourceColor | undefined): this { return this } - public popupItemBackgroundColor(value: ResourceColor | undefined): this { + popupItemBackgroundColor(value: ResourceColor | undefined): this { return this } - public usingPopup(value: boolean | undefined): this { + usingPopup(value: boolean | undefined): this { return this } - public selectedFont(value: Font | undefined): this { + selectedFont(value: Font | undefined): this { return this } - public popupFont(value: Font | undefined): this { + popupFont(value: Font | undefined): this { return this } - public popupItemFont(value: Font | undefined): this { + popupItemFont(value: Font | undefined): this { return this } - public itemSize(value: string | number | undefined): this { + itemSize(value: string | number | undefined): this { return this } - public font(value: Font | undefined): this { + font(value: Font | undefined): this { return this } - public onSelect(value: OnAlphabetIndexerSelectCallback | undefined): this { + onSelect(value: OnAlphabetIndexerSelectCallback | undefined): this { return this } - public onRequestPopupData(value: OnAlphabetIndexerRequestPopupDataCallback | undefined): this { + onRequestPopupData(value: OnAlphabetIndexerRequestPopupDataCallback | undefined): this { return this } - public onPopupSelect(value: OnAlphabetIndexerPopupSelectCallback | undefined): this { + onPopupSelect(value: OnAlphabetIndexerPopupSelectCallback | undefined): this { return this } - public selected(value: number | Bindable | undefined): this { + selected(value: number | Bindable | undefined): this { return this } - public popupPosition(value: Position | undefined): this { + popupPosition(value: Position | undefined): this { return this } - public autoCollapse(value: boolean | undefined): this { + autoCollapse(value: boolean | undefined): this { return this } - public popupItemBorderRadius(value: number | undefined): this { + popupItemBorderRadius(value: number | undefined): this { return this } - public itemBorderRadius(value: number | undefined): this { + itemBorderRadius(value: number | undefined): this { return this } - public popupBackgroundBlurStyle(value: BlurStyle | undefined): this { + popupBackgroundBlurStyle(value: BlurStyle | undefined): this { return this } - public popupTitleBackground(value: ResourceColor | undefined): this { + popupTitleBackground(value: ResourceColor | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public alignStyle(value: IndexerAlign | undefined, offset?: Length): this { + alignStyle(value: IndexerAlign | undefined, offset?: Length): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/animator.ets b/arkoala-arkts/arkui/generated/component/animator.ets index aff457db7..54caa064c 100644 --- a/arkoala-arkts/arkui/generated/component/animator.ets +++ b/arkoala-arkts/arkui/generated/component/animator.ets @@ -25,7 +25,7 @@ import { PeerNode } from "./../PeerNode" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { AnimationStatus, FillMode, PlayMode } from "./enums" import { curves } from "./../framework/ohos.curves" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" @@ -384,46 +384,46 @@ export class ArkAnimatorStyle extends ArkCommonMethodStyle implements AnimatorAt onFinish_value?: (() => void) | undefined onFrame_value?: ((value: number) => void) | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public state(value: AnimationStatus | undefined): this { + state(value: AnimationStatus | undefined): this { return this } - public duration(value: number | undefined): this { + duration(value: number | undefined): this { return this } - public curve(value: curves.Curve | undefined): this { + curve(value: curves.Curve | undefined): this { return this } - public delay(value: number | undefined): this { + delay(value: number | undefined): this { return this } - public fillMode(value: FillMode | undefined): this { + fillMode(value: FillMode | undefined): this { return this } - public iterations(value: number | undefined): this { + iterations(value: number | undefined): this { return this } - public playMode(value: PlayMode | undefined): this { + playMode(value: PlayMode | undefined): this { return this } - public motion(value: SpringMotion | FrictionMotion | ScrollMotion | undefined): this { + motion(value: SpringMotion | FrictionMotion | ScrollMotion | undefined): this { return this } - public onStart(value: (() => void) | undefined): this { + onStart(value: (() => void) | undefined): this { return this } - public onPause(value: (() => void) | undefined): this { + onPause(value: (() => void) | undefined): this { return this } - public onRepeat(value: (() => void) | undefined): this { + onRepeat(value: (() => void) | undefined): this { return this } - public onCancel(value: (() => void) | undefined): this { + onCancel(value: (() => void) | undefined): this { return this } - public onFinish(value: (() => void) | undefined): this { + onFinish(value: (() => void) | undefined): this { return this } - public onFrame(value: ((value: number) => void) | undefined): this { + onFrame(value: ((value: number) => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/badge.ets b/arkoala-arkts/arkui/generated/component/badge.ets index 84c273919..d2dc3e951 100644 --- a/arkoala-arkts/arkui/generated/component/badge.ets +++ b/arkoala-arkts/arkui/generated/component/badge.ets @@ -22,7 +22,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -100,16 +100,16 @@ export class ArkBadgeComponent extends ArkCommonMethodComponent implements Badge getPeer(): ArkBadgePeer { return (this.peer as ArkBadgePeer) } - public setBadgeOptions(value: BadgeParamWithNumber): this { - if (this.checkPriority("setBadgeOptions")) { + public setBadgeOptions0(value: BadgeParamWithNumber): this { + if (this.checkPriority("setBadgeOptions0")) { const value_casted = value as (BadgeParamWithNumber) this.getPeer()?.setBadgeOptions0Attribute(value_casted) return this } return this } - public setBadgeOptions(value: BadgeParamWithString): this { - if (this.checkPriority("setBadgeOptions")) { + public setBadgeOptions1(value: BadgeParamWithString): this { + if (this.checkPriority("setBadgeOptions1")) { const value_casted = value as (BadgeParamWithString) this.getPeer()?.setBadgeOptions1Attribute(value_casted) return this @@ -137,7 +137,7 @@ export function Badge( return new ArkBadgeComponent() }) NodeAttach((): ArkBadgePeer => ArkBadgePeer.create(receiver), (_: ArkBadgePeer): void => { - receiver.setBadgeOptions(value) + receiver.setBadgeOptions0(value) style?.(receiver) content_?.() receiver.applyAttributesFinish() @@ -157,7 +157,7 @@ export function Badge( return new ArkBadgeComponent() }) NodeAttach((): ArkBadgePeer => ArkBadgePeer.create(receiver), (_: ArkBadgePeer): void => { - receiver.setBadgeOptions(value) + receiver.setBadgeOptions1(value) style?.(receiver) content_?.() receiver.applyAttributesFinish() diff --git a/arkoala-arkts/arkui/generated/component/blank.ets b/arkoala-arkts/arkui/generated/component/blank.ets index ecdc815d7..0924976e1 100644 --- a/arkoala-arkts/arkui/generated/component/blank.ets +++ b/arkoala-arkts/arkui/generated/component/blank.ets @@ -103,7 +103,7 @@ export interface BlankAttribute extends CommonMethod { export class ArkBlankStyle extends ArkCommonMethodStyle implements BlankAttribute { color_value?: ResourceColor | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public color(value: ResourceColor | undefined): this { + color(value: ResourceColor | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/button.ets b/arkoala-arkts/arkui/generated/component/button.ets index 876fa5a85..f87fb0ba2 100644 --- a/arkoala-arkts/arkui/generated/component/button.ets +++ b/arkoala-arkts/arkui/generated/component/button.ets @@ -26,7 +26,7 @@ import { ArkCommonMethodPeer, CommonMethod, CommonConfiguration, ArkCommonMethod import { ResourceColor, Length, ResourceStr, Font, Font_serializer } from "./units" import { Color, FontWeight, FontStyle, TextOverflow, TextHeightAdaptivePolicy } from "./enums" import { Resource } from "global.resource" -import { ContentModifier, AttributeModifier, hookButtonContentModifier, AttributeUpdater, extractors } from "#handwritten" +import { ContentModifier, AttributeModifier, hookButtonContentModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -399,46 +399,46 @@ export class ArkButtonStyle extends ArkCommonMethodStyle implements ButtonAttrib minFontScale_value?: number | Resource | undefined maxFontScale_value?: number | Resource | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public type(value: ButtonType | undefined): this { + type(value: ButtonType | undefined): this { return this } - public stateEffect(value: boolean | undefined): this { + stateEffect(value: boolean | undefined): this { return this } - public buttonStyle(value: ButtonStyleMode | undefined): this { + buttonStyle(value: ButtonStyleMode | undefined): this { return this } - public controlSize(value: ControlSize | undefined): this { + controlSize(value: ControlSize | undefined): this { return this } - public role(value: ButtonRole | undefined): this { + role(value: ButtonRole | undefined): this { return this } - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public fontSize(value: Length | undefined): this { + fontSize(value: Length | undefined): this { return this } - public fontWeight(value: number | FontWeight | string | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { return this } - public fontStyle(value: FontStyle | undefined): this { + fontStyle(value: FontStyle | undefined): this { return this } - public fontFamily(value: string | Resource | undefined): this { + fontFamily(value: string | Resource | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } - public labelStyle(value: ButtonLabelStyle | undefined): this { + labelStyle(value: ButtonLabelStyle | undefined): this { return this } - public minFontScale(value: number | Resource | undefined): this { + minFontScale(value: number | Resource | undefined): this { return this } - public maxFontScale(value: number | Resource | undefined): this { + maxFontScale(value: number | Resource | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/calendarPicker.ets b/arkoala-arkts/arkui/generated/component/calendarPicker.ets index 6302093f2..b9fdf2970 100644 --- a/arkoala-arkts/arkui/generated/component/calendarPicker.ets +++ b/arkoala-arkts/arkui/generated/component/calendarPicker.ets @@ -24,7 +24,7 @@ import { PickerTextStyle_serializer, ArkCommonMethodPeer, CommonMethod, PickerTe import { Offset_serializer, Offset, Length, VoidCallback, ResourceColor } from "./units" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { Resource } from "global.resource" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -186,16 +186,16 @@ export class ArkCalendarPickerStyle extends ArkCommonMethodStyle implements Cale onChange_value?: ((value0: Date) => void) | undefined markToday_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public textStyle(value: PickerTextStyle | undefined): this { + textStyle(value: PickerTextStyle | undefined): this { return this } - public onChange(value: ((value0: Date) => void) | undefined): this { + onChange(value: ((value0: Date) => void) | undefined): this { return this } - public markToday(value: boolean | undefined): this { + markToday(value: boolean | undefined): this { return this } - public edgeAlign(alignType: CalendarAlign | undefined, offset?: Offset): this { + edgeAlign(alignType: CalendarAlign | undefined, offset?: Offset): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/canvas.ets b/arkoala-arkts/arkui/generated/component/canvas.ets index e481073af..024bbaedc 100644 --- a/arkoala-arkts/arkui/generated/component/canvas.ets +++ b/arkoala-arkts/arkui/generated/component/canvas.ets @@ -425,16 +425,16 @@ export class ImageData implements MaterializedBase { set data(data: ArrayBuffer) { this.setData(data) } - get height(): number { + get height(): int32 { return this.getHeight() } - set height(height: number) { + set height(height: int32) { this.setHeight(height) } - get width(): number { + get width(): int32 { return this.getWidth() } - set width(width: number) { + set width(width: int32) { this.setWidth(width) } constructor(_0: boolean, _1: boolean, _2: boolean, _3: boolean, peerPtr: KPointer) { @@ -474,19 +474,19 @@ export class ImageData implements MaterializedBase { this.setData_serialize(data_casted) return } - private getHeight(): number { + private getHeight(): int32 { return this.getHeight_serialize() } - private setHeight(height: number): void { - const height_casted = height as (number) + private setHeight(height: int32): void { + const height_casted = height as (int32) this.setHeight_serialize(height_casted) return } - private getWidth(): number { + private getWidth(): int32 { return this.getWidth_serialize() } - private setWidth(width: number): void { - const width_casted = width as (number) + private setWidth(width: int32): void { + const width_casted = width as (int32) this.setWidth_serialize(width_casted) return } @@ -500,18 +500,18 @@ export class ImageData implements MaterializedBase { ArkUIGeneratedNativeModule._ImageData_setData(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - private getHeight_serialize(): number { + private getHeight_serialize(): int32 { const retval = ArkUIGeneratedNativeModule._ImageData_getHeight(this.peer!.ptr) return retval } - private setHeight_serialize(height: number): void { + private setHeight_serialize(height: int32): void { ArkUIGeneratedNativeModule._ImageData_setHeight(this.peer!.ptr, height) } - private getWidth_serialize(): number { + private getWidth_serialize(): int32 { const retval = ArkUIGeneratedNativeModule._ImageData_getWidth(this.peer!.ptr) return retval } - private setWidth_serialize(width: number): void { + private setWidth_serialize(width: int32): void { ArkUIGeneratedNativeModule._ImageData_setWidth(this.peer!.ptr, width) } } @@ -700,7 +700,7 @@ export class ArkCanvasPeer extends ArkCommonMethodPeer { component?.setPeer(_peer) return _peer } - setCanvasOptions0Attribute(context?: CanvasRenderingContext2D | DrawingRenderingContext): void { + setCanvasOptionsAttribute(context?: CanvasRenderingContext2D | DrawingRenderingContext, imageAIOptions?: ImageAIOptions): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (context !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) @@ -717,22 +717,14 @@ export class ArkCanvasPeer extends ArkCommonMethodPeer { } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } - ArkUIGeneratedNativeModule._CanvasInterface_setCanvasOptions0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - setCanvasOptions1Attribute(context: CanvasRenderingContext2D | DrawingRenderingContext, imageAIOptions: ImageAIOptions): void { - const thisSerializer : SerializerBase = SerializerBase.hold() - if (context instanceof CanvasRenderingContext2D) { - thisSerializer.writeInt8((0).toChar()) - const contextForIdx0 = context as CanvasRenderingContext2D - CanvasRenderingContext2D_serializer.write(thisSerializer, contextForIdx0) - } else if (context instanceof DrawingRenderingContext) { - thisSerializer.writeInt8((1).toChar()) - const contextForIdx1 = context as DrawingRenderingContext - DrawingRenderingContext_serializer.write(thisSerializer, contextForIdx1) + if (imageAIOptions !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const imageAIOptionsTmpValue = imageAIOptions! + ImageAIOptions_serializer.write(thisSerializer, imageAIOptionsTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) } - ImageAIOptions_serializer.write(thisSerializer, imageAIOptions) - ArkUIGeneratedNativeModule._CanvasInterface_setCanvasOptions1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CanvasInterface_setCanvasOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } setOnReadyAttribute(value: VoidCallback | undefined): void { @@ -797,10 +789,10 @@ export class ArkCanvasStyle extends ArkCommonMethodStyle implements CanvasAttrib onReady_value?: VoidCallback | undefined enableAnalyzer_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onReady(value: VoidCallback | undefined): this { + onReady(value: VoidCallback | undefined): this { return this } - public enableAnalyzer(value: boolean | undefined): this { + enableAnalyzer(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -812,19 +804,11 @@ export class ArkCanvasComponent extends ArkCommonMethodComponent implements Canv getPeer(): ArkCanvasPeer { return (this.peer as ArkCanvasPeer) } - public setCanvasOptions(context?: CanvasRenderingContext2D | DrawingRenderingContext): this { + public setCanvasOptions(context?: CanvasRenderingContext2D | DrawingRenderingContext, imageAIOptions?: ImageAIOptions): this { if (this.checkPriority("setCanvasOptions")) { const context_casted = context as (CanvasRenderingContext2D | DrawingRenderingContext | undefined) - this.getPeer()?.setCanvasOptions0Attribute(context_casted) - return this - } - return this - } - public setCanvasOptions(context: CanvasRenderingContext2D | DrawingRenderingContext, imageAIOptions: ImageAIOptions): this { - if (this.checkPriority("setCanvasOptions")) { - const context_casted = context as (CanvasRenderingContext2D | DrawingRenderingContext) - const imageAIOptions_casted = imageAIOptions as (ImageAIOptions) - this.getPeer()?.setCanvasOptions1Attribute(context_casted, imageAIOptions_casted) + const imageAIOptions_casted = imageAIOptions as (ImageAIOptions | undefined) + this.getPeer()?.setCanvasOptionsAttribute(context_casted, imageAIOptions_casted) return this } return this @@ -858,27 +842,7 @@ export class ArkCanvasComponent extends ArkCommonMethodComponent implements Canv export function Canvas( @memo style: ((attributes: CanvasAttribute) => void) | undefined, - context?: CanvasRenderingContext2D | DrawingRenderingContext, - @memo - content_?: () => void, -): void { - const receiver = remember((): ArkCanvasComponent => { - return new ArkCanvasComponent() - }) - NodeAttach((): ArkCanvasPeer => ArkCanvasPeer.create(receiver), (_: ArkCanvasPeer): void => { - receiver.setCanvasOptions(context) - style?.(receiver) - content_?.() - receiver.applyAttributesFinish() - }) -} - - -@memo -export function Canvas( - @memo - style: ((attributes: CanvasAttribute) => void) | undefined, - context: CanvasRenderingContext2D | DrawingRenderingContext, imageAIOptions: ImageAIOptions, + context?: CanvasRenderingContext2D | DrawingRenderingContext, imageAIOptions?: ImageAIOptions, @memo content_?: () => void, ): void { @@ -1098,16 +1062,16 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { set globalCompositeOperation(globalCompositeOperation: string) { this.setGlobalCompositeOperation(globalCompositeOperation) } - get fillStyle(): string | number | CanvasGradient | CanvasPattern { + get fillStyle(): string | int32 | CanvasGradient | CanvasPattern { return this.getFillStyle() } - set fillStyle(fillStyle: string | number | CanvasGradient | CanvasPattern) { + set fillStyle(fillStyle: string | int32 | CanvasGradient | CanvasPattern) { this.setFillStyle(fillStyle) } - get strokeStyle(): string | number | CanvasGradient | CanvasPattern { + get strokeStyle(): string | int32 | CanvasGradient | CanvasPattern { return this.getStrokeStyle() } - set strokeStyle(strokeStyle: string | number | CanvasGradient | CanvasPattern) { + set strokeStyle(strokeStyle: string | int32 | CanvasGradient | CanvasPattern) { this.setStrokeStyle(strokeStyle) } get filter(): string { @@ -1502,19 +1466,19 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { this.setGlobalCompositeOperation_serialize(globalCompositeOperation_casted) return } - private getFillStyle(): string | number | CanvasGradient | CanvasPattern { + private getFillStyle(): string | int32 | CanvasGradient | CanvasPattern { return this.getFillStyle_serialize() } - private setFillStyle(fillStyle: string | number | CanvasGradient | CanvasPattern): void { - const fillStyle_casted = fillStyle as (string | number | CanvasGradient | CanvasPattern) + private setFillStyle(fillStyle: string | int32 | CanvasGradient | CanvasPattern): void { + const fillStyle_casted = fillStyle as (string | int32 | CanvasGradient | CanvasPattern) this.setFillStyle_serialize(fillStyle_casted) return } - private getStrokeStyle(): string | number | CanvasGradient | CanvasPattern { + private getStrokeStyle(): string | int32 | CanvasGradient | CanvasPattern { return this.getStrokeStyle_serialize() } - private setStrokeStyle(strokeStyle: string | number | CanvasGradient | CanvasPattern): void { - const strokeStyle_casted = strokeStyle as (string | number | CanvasGradient | CanvasPattern) + private setStrokeStyle(strokeStyle: string | int32 | CanvasGradient | CanvasPattern): void { + const strokeStyle_casted = strokeStyle as (string | int32 | CanvasGradient | CanvasPattern) this.setStrokeStyle_serialize(strokeStyle_casted) return } @@ -2056,15 +2020,15 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { private setGlobalCompositeOperation_serialize(globalCompositeOperation: string): void { ArkUIGeneratedNativeModule._CanvasRenderer_setGlobalCompositeOperation(this.peer!.ptr, globalCompositeOperation) } - private getFillStyle_serialize(): string | number | CanvasGradient | CanvasPattern { + private getFillStyle_serialize(): string | int32 | CanvasGradient | CanvasPattern { const retval = ArkUIGeneratedNativeModule._CanvasRenderer_getFillStyle(this.peer!.ptr) let retvalDeserializer : DeserializerBase = new DeserializerBase(retval, retval.length) const bufferUnionSelector : int32 = retvalDeserializer.readInt8() - let buffer : string | number | CanvasGradient | CanvasPattern | undefined + let buffer : string | int32 | CanvasGradient | CanvasPattern | undefined if (bufferUnionSelector == (0).toChar()) { buffer = (retvalDeserializer.readString() as string) } else if (bufferUnionSelector == (1).toChar()) { - buffer = (retvalDeserializer.readNumber() as number) + buffer = retvalDeserializer.readInt32() } else if (bufferUnionSelector == (2).toChar()) { buffer = (CanvasGradient_serializer.read(retvalDeserializer) as CanvasGradient) } else if (bufferUnionSelector == (3).toChar()) { @@ -2072,19 +2036,19 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { } else { throw new Error("One of the branches for buffer has to be chosen through deserialisation.") } - const returnResult : string | number | CanvasGradient | CanvasPattern = (buffer as string | number | CanvasGradient | CanvasPattern) + const returnResult : string | int32 | CanvasGradient | CanvasPattern = (buffer as string | int32 | CanvasGradient | CanvasPattern) return returnResult } - private setFillStyle_serialize(fillStyle: string | number | CanvasGradient | CanvasPattern): void { + private setFillStyle_serialize(fillStyle: string | int32 | CanvasGradient | CanvasPattern): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (fillStyle instanceof string) { thisSerializer.writeInt8((0).toChar()) const fillStyleForIdx0 = fillStyle as string thisSerializer.writeString(fillStyleForIdx0) - } else if (fillStyle instanceof number) { + } else if (fillStyle instanceof int32) { thisSerializer.writeInt8((1).toChar()) - const fillStyleForIdx1 = fillStyle as number - thisSerializer.writeNumber(fillStyleForIdx1) + const fillStyleForIdx1 = fillStyle as int32 + thisSerializer.writeInt32(fillStyleForIdx1) } else if (fillStyle instanceof CanvasGradient) { thisSerializer.writeInt8((2).toChar()) const fillStyleForIdx2 = fillStyle as CanvasGradient @@ -2097,15 +2061,15 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { ArkUIGeneratedNativeModule._CanvasRenderer_setFillStyle(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - private getStrokeStyle_serialize(): string | number | CanvasGradient | CanvasPattern { + private getStrokeStyle_serialize(): string | int32 | CanvasGradient | CanvasPattern { const retval = ArkUIGeneratedNativeModule._CanvasRenderer_getStrokeStyle(this.peer!.ptr) let retvalDeserializer : DeserializerBase = new DeserializerBase(retval, retval.length) const bufferUnionSelector : int32 = retvalDeserializer.readInt8() - let buffer : string | number | CanvasGradient | CanvasPattern | undefined + let buffer : string | int32 | CanvasGradient | CanvasPattern | undefined if (bufferUnionSelector == (0).toChar()) { buffer = (retvalDeserializer.readString() as string) } else if (bufferUnionSelector == (1).toChar()) { - buffer = (retvalDeserializer.readNumber() as number) + buffer = retvalDeserializer.readInt32() } else if (bufferUnionSelector == (2).toChar()) { buffer = (CanvasGradient_serializer.read(retvalDeserializer) as CanvasGradient) } else if (bufferUnionSelector == (3).toChar()) { @@ -2113,19 +2077,19 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { } else { throw new Error("One of the branches for buffer has to be chosen through deserialisation.") } - const returnResult : string | number | CanvasGradient | CanvasPattern = (buffer as string | number | CanvasGradient | CanvasPattern) + const returnResult : string | int32 | CanvasGradient | CanvasPattern = (buffer as string | int32 | CanvasGradient | CanvasPattern) return returnResult } - private setStrokeStyle_serialize(strokeStyle: string | number | CanvasGradient | CanvasPattern): void { + private setStrokeStyle_serialize(strokeStyle: string | int32 | CanvasGradient | CanvasPattern): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (strokeStyle instanceof string) { thisSerializer.writeInt8((0).toChar()) const strokeStyleForIdx0 = strokeStyle as string thisSerializer.writeString(strokeStyleForIdx0) - } else if (strokeStyle instanceof number) { + } else if (strokeStyle instanceof int32) { thisSerializer.writeInt8((1).toChar()) - const strokeStyleForIdx1 = strokeStyle as number - thisSerializer.writeNumber(strokeStyleForIdx1) + const strokeStyleForIdx1 = strokeStyle as int32 + thisSerializer.writeInt32(strokeStyleForIdx1) } else if (strokeStyle instanceof CanvasGradient) { thisSerializer.writeInt8((2).toChar()) const strokeStyleForIdx2 = strokeStyle as CanvasGradient diff --git a/arkoala-arkts/arkui/generated/component/checkbox.ets b/arkoala-arkts/arkui/generated/component/checkbox.ets index bc39748e5..98f29820f 100644 --- a/arkoala-arkts/arkui/generated/component/checkbox.ets +++ b/arkoala-arkts/arkui/generated/component/checkbox.ets @@ -26,7 +26,7 @@ import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { Color, CheckBoxShape } from "./enums" import { Resource } from "global.resource" -import { ContentModifier, AttributeModifier, hookCheckBoxContentModifier, AttributeUpdater, extractors } from "#handwritten" +import { ContentModifier, AttributeModifier, hookCheckBoxContentModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -215,25 +215,25 @@ export class ArkCheckboxStyle extends ArkCommonMethodStyle implements CheckboxAt onChange_value?: OnCheckboxChangeCallback | undefined contentModifier_value?: ContentModifier | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public select(value: boolean | Bindable | undefined): this { + select(value: boolean | Bindable | undefined): this { return this } - public selectedColor(value: ResourceColor | undefined): this { + selectedColor(value: ResourceColor | undefined): this { return this } - public shape(value: CheckBoxShape | undefined): this { + shape(value: CheckBoxShape | undefined): this { return this } - public unselectedColor(value: ResourceColor | undefined): this { + unselectedColor(value: ResourceColor | undefined): this { return this } - public mark(value: MarkStyle | undefined): this { + mark(value: MarkStyle | undefined): this { return this } - public onChange(value: OnCheckboxChangeCallback | undefined): this { + onChange(value: OnCheckboxChangeCallback | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/checkboxgroup.ets b/arkoala-arkts/arkui/generated/component/checkboxgroup.ets index 2b82d7fac..0bc224aec 100644 --- a/arkoala-arkts/arkui/generated/component/checkboxgroup.ets +++ b/arkoala-arkts/arkui/generated/component/checkboxgroup.ets @@ -26,7 +26,7 @@ import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { Color, CheckBoxShape } from "./enums" import { Resource } from "global.resource" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -215,22 +215,22 @@ export class ArkCheckboxGroupStyle extends ArkCommonMethodStyle implements Check onChange_value?: OnCheckboxGroupChangeCallback | undefined checkboxShape_value?: CheckBoxShape | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public selectAll(value: boolean | Bindable | undefined): this { + selectAll(value: boolean | Bindable | undefined): this { return this } - public selectedColor(value: ResourceColor | undefined): this { + selectedColor(value: ResourceColor | undefined): this { return this } - public unselectedColor(value: ResourceColor | undefined): this { + unselectedColor(value: ResourceColor | undefined): this { return this } - public mark(value: MarkStyle | undefined): this { + mark(value: MarkStyle | undefined): this { return this } - public onChange(value: OnCheckboxGroupChangeCallback | undefined): this { + onChange(value: OnCheckboxGroupChangeCallback | undefined): this { return this } - public checkboxShape(value: CheckBoxShape | undefined): this { + checkboxShape(value: CheckBoxShape | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/circle.ets b/arkoala-arkts/arkui/generated/component/circle.ets index 78bdcd5e0..b35fc188f 100644 --- a/arkoala-arkts/arkui/generated/component/circle.ets +++ b/arkoala-arkts/arkui/generated/component/circle.ets @@ -22,7 +22,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonShapeMethodPeer, CommonShapeMethod, CommonMethod, ArkCommonShapeMethodComponent, ArkCommonShapeMethodStyle, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -39,12 +39,12 @@ export class ArkCirclePeer extends ArkCommonShapeMethodPeer { component?.setPeer(_peer) return _peer } - setCircleOptionsAttribute(value?: CircleOptions): void { + setCircleOptionsAttribute(options?: CircleOptions): void { const thisSerializer : SerializerBase = SerializerBase.hold() - if (value !== undefined) { + if (options !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) - const valueTmpValue = value! - CircleOptions_serializer.write(thisSerializer, valueTmpValue) + const optionsTmpValue = options! + CircleOptions_serializer.write(thisSerializer, optionsTmpValue) } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } @@ -53,6 +53,8 @@ export class ArkCirclePeer extends ArkCommonShapeMethodPeer { } } export interface CircleOptions { + width?: string | double; + height?: string | double; } export interface CircleAttribute extends CommonShapeMethod { attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { @@ -70,10 +72,10 @@ export class ArkCircleComponent extends ArkCommonShapeMethodComponent implements getPeer(): ArkCirclePeer { return (this.peer as ArkCirclePeer) } - public setCircleOptions(value?: CircleOptions): this { + public setCircleOptions(options?: CircleOptions): this { if (this.checkPriority("setCircleOptions")) { - const value_casted = value as (CircleOptions | undefined) - this.getPeer()?.setCircleOptionsAttribute(value_casted) + const options_casted = options as (CircleOptions | undefined) + this.getPeer()?.setCircleOptionsAttribute(options_casted) return this } return this @@ -91,7 +93,7 @@ export class ArkCircleComponent extends ArkCommonShapeMethodComponent implements export function Circle( @memo style: ((attributes: CircleAttribute) => void) | undefined, - value?: CircleOptions, + options?: CircleOptions, @memo content_?: () => void, ): void { @@ -99,7 +101,7 @@ export function Circle( return new ArkCircleComponent() }) NodeAttach((): ArkCirclePeer => ArkCirclePeer.create(receiver), (_: ArkCirclePeer): void => { - receiver.setCircleOptions(value) + receiver.setCircleOptions(options) style?.(receiver) content_?.() receiver.applyAttributesFinish() @@ -108,9 +110,73 @@ export function Circle( export class CircleOptions_serializer { public static write(buffer: SerializerBase, value: CircleOptions): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForWidth = value.width + if (valueHolderForWidth !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForWidthTmpValue = valueHolderForWidth! + if (valueHolderForWidthTmpValue instanceof string) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue as string + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx0) + } else if (valueHolderForWidthTmpValue instanceof double) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue as double + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx1) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForHeight = value.height + if (valueHolderForHeight !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForHeightTmpValue = valueHolderForHeight! + if (valueHolderForHeightTmpValue instanceof string) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue as string + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx0) + } else if (valueHolderForHeightTmpValue instanceof double) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue as double + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx1) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } } public static read(buffer: DeserializerBase): CircleOptions { - let value : CircleOptions = ({} as CircleOptions) + let valueDeserializer : DeserializerBase = buffer + const widthTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let widthTmpBuf : string | double | undefined + if ((widthTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const widthTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() + let widthTmpBuf_ : string | double | undefined + if (widthTmpBuf_UnionSelector == (0).toChar()) { + widthTmpBuf_ = (valueDeserializer.readString() as string) + } else if (widthTmpBuf_UnionSelector == (1).toChar()) { + widthTmpBuf_ = valueDeserializer.readFloat64() + } else { + throw new Error("One of the branches for widthTmpBuf_ has to be chosen through deserialisation.") + } + widthTmpBuf = (widthTmpBuf_ as string | double) + } + const widthTmpResult : string | double | undefined = widthTmpBuf + const heightTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let heightTmpBuf : string | double | undefined + if ((heightTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const heightTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() + let heightTmpBuf_ : string | double | undefined + if (heightTmpBuf_UnionSelector == (0).toChar()) { + heightTmpBuf_ = (valueDeserializer.readString() as string) + } else if (heightTmpBuf_UnionSelector == (1).toChar()) { + heightTmpBuf_ = valueDeserializer.readFloat64() + } else { + throw new Error("One of the branches for heightTmpBuf_ has to be chosen through deserialisation.") + } + heightTmpBuf = (heightTmpBuf_ as string | double) + } + const heightTmpResult : string | double | undefined = heightTmpBuf + let value : CircleOptions = ({width: widthTmpResult, height: heightTmpResult} as CircleOptions) return value } } diff --git a/arkoala-arkts/arkui/generated/component/column.ets b/arkoala-arkts/arkui/generated/component/column.ets index 9440797c4..bf1d0eed6 100644 --- a/arkoala-arkts/arkui/generated/component/column.ets +++ b/arkoala-arkts/arkui/generated/component/column.ets @@ -17,13 +17,13 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { SerializerBase, DeserializerBase, nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, NativeBuffer, CallbackResource, InteropNativeModule, Tags, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" -import { PointLightStyle_serializer, ArkCommonMethodPeer, CommonMethod, PointLightStyle, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" +import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { HorizontalAlign, FlexAlign } from "./enums" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -86,18 +86,6 @@ export class ArkColumnPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._ColumnAttribute_setJustifyContent(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setPointLightAttribute(value: PointLightStyle | undefined): void { - const thisSerializer : SerializerBase = SerializerBase.hold() - if (value !== undefined) { - thisSerializer.writeInt8(RuntimeType.OBJECT) - const valueTmpValue = value! - PointLightStyle_serializer.write(thisSerializer, valueTmpValue) - } else { - thisSerializer.writeInt8(RuntimeType.UNDEFINED) - } - ArkUIGeneratedNativeModule._ColumnAttribute_setPointLight(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } setReverseAttribute(value: boolean | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { @@ -125,9 +113,6 @@ export interface ColumnAttribute extends CommonMethod { justifyContent(value: FlexAlign | undefined): this { throw new Error("Unimplemented method justifyContent") } - pointLight(value: PointLightStyle | undefined): this { - throw new Error("Unimplemented method pointLight") - } reverse(value: boolean | undefined): this { throw new Error("Unimplemented method reverse") } @@ -138,19 +123,15 @@ export interface ColumnAttribute extends CommonMethod { export class ArkColumnStyle extends ArkCommonMethodStyle implements ColumnAttribute { alignItems_value?: HorizontalAlign | undefined justifyContent_value?: FlexAlign | undefined - pointLight_value?: PointLightStyle | undefined reverse_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public alignItems(value: HorizontalAlign | undefined): this { - return this - } - public justifyContent(value: FlexAlign | undefined): this { + alignItems(value: HorizontalAlign | undefined): this { return this } - public pointLight(value: PointLightStyle | undefined): this { + justifyContent(value: FlexAlign | undefined): this { return this } - public reverse(value: boolean | undefined): this { + reverse(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -186,14 +167,6 @@ export class ArkColumnComponent extends ArkCommonMethodComponent implements Colu } return this } - public pointLight(value: PointLightStyle | undefined): this { - if (this.checkPriority("pointLight")) { - const value_casted = value as (PointLightStyle | undefined) - this.getPeer()?.setPointLightAttribute(value_casted) - return this - } - return this - } public reverse(value: boolean | undefined): this { if (this.checkPriority("reverse")) { const value_casted = value as (boolean | undefined) diff --git a/arkoala-arkts/arkui/generated/component/columnSplit.ets b/arkoala-arkts/arkui/generated/component/columnSplit.ets index 4e9e0d257..1c4f5d86f 100644 --- a/arkoala-arkts/arkui/generated/component/columnSplit.ets +++ b/arkoala-arkts/arkui/generated/component/columnSplit.ets @@ -22,7 +22,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -89,10 +89,10 @@ export class ArkColumnSplitStyle extends ArkCommonMethodStyle implements ColumnS resizeable_value?: boolean | undefined divider_value?: ColumnSplitDividerStyle | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public resizeable(value: boolean | undefined): this { + resizeable(value: boolean | undefined): this { return this } - public divider(value: ColumnSplitDividerStyle | undefined): this { + divider(value: ColumnSplitDividerStyle | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/common.ets b/arkoala-arkts/arkui/generated/component/common.ets index 7530fc402..8774fd405 100644 --- a/arkoala-arkts/arkui/generated/component/common.ets +++ b/arkoala-arkts/arkui/generated/component/common.ets @@ -22,7 +22,7 @@ import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./../CallbackTransformer" import { unifiedDataChannel_Summary_serializer, unifiedDataChannel } from "./../framework/ohos.data.unifiedDataChannel" import { DrawContext, DrawContextInternal, LengthMetrics_serializer, LengthMetrics } from "./../Graphics" -import { KeyType, KeySource, Color, HitTestMode, ImageSize, Alignment, BorderStyle, ColoringStrategy, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, FocusDrawLevel, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, InteractionHand, GradientDirection, SharedTransitionEffectType, ArrowPointPosition, Placement, LineCapStyle, LineJoinStyle, BarState, CrownSensitivity, EdgeEffect, TransitionType, TextDecorationType, TextDecorationStyle, PlayMode, HorizontalAlign, VerticalAlign, FontWeight, FontStyle, TouchType, CrownAction, ClickEffectLevel, NestedScrollMode, PixelRoundCalcPolicy, ScrollSource, IlluminatedType, AccessibilityHoverType, AxisAction, AxisModel, MouseButton, MouseAction } from "./enums" +import { KeyType, KeySource, Color, HitTestMode, ImageSize, Alignment, BorderStyle, ColoringStrategy, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, FocusDrawLevel, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, InteractionHand, GradientDirection, SharedTransitionEffectType, ArrowPointPosition, Placement, LineCapStyle, LineJoinStyle, BarState, CrownSensitivity, EdgeEffect, TransitionType, TextDecorationType, TextDecorationStyle, PlayMode, VerticalAlign, HorizontalAlign, FontWeight, FontStyle, TouchType, CrownAction, ClickEffectLevel, NestedScrollMode, PixelRoundCalcPolicy, ScrollSource, IlluminatedType, AccessibilityHoverType, AxisAction, AxisModel, MouseButton, MouseAction } from "./enums" import { IntentionCode } from "./../framework/ohos.multimodalInput.intentionCode" import { Position_serializer, DirectionalEdgesT_serializer, Position, DirectionalEdgesT, ConstraintSizeOptions_serializer, ConstraintSizeOptions, ResourceColor, SizeOptions, SizeOptions_serializer, ChainWeightOptions_serializer, Padding_serializer, LocalizedPadding_serializer, BorderOptions_serializer, EdgeStyles_serializer, EdgeWidths_serializer, LocalizedEdgeWidths_serializer, EdgeColors_serializer, LocalizedEdgeColors_serializer, BorderRadiuses_serializer, LocalizedBorderRadiuses_serializer, OutlineOptions_serializer, EdgeOutlineStyles_serializer, EdgeOutlineWidths_serializer, OutlineRadiuses_serializer, Edges_serializer, LocalizedEdges_serializer, LocalizedPosition_serializer, AccessibilityOptions_serializer, Length, ChainWeightOptions, Padding, LocalizedPadding, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, VoidCallback, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, Bias, Font, Bias_serializer, Area_serializer, Font_serializer } from "./units" import { Resource_serializer } from "./../framework/resource" @@ -32,7 +32,7 @@ import { ResizableOptions_serializer, ResizableOptions } from "./image" import { uiEffect_VisualEffect_serializer, uiEffect_Filter_serializer, uiEffect_BrightnessBlender_serializer, uiEffect } from "./../framework/ohos.graphics.uiEffect" import { FocusBoxStyle_serializer, FocusBoxStyle, FocusPriority } from "./focus" import { CircleShape_serializer, EllipseShape_serializer, PathShape_serializer, RectShape_serializer, CircleShape, EllipseShape, PathShape, RectShape } from "./../framework/ohos.arkui.shape" -import { image_PixelMap_serializer, image } from "./../framework/ohos.multimedia.image" +import { image_PixelMap_serializer } from "./../framework/ohos.multimedia.image" import { Gesture_serializer, GestureInfo, BaseGestureEvent, GestureJudgeResult, GestureRecognizer, GestureType, Gesture, GestureMask, FingerInfo, GestureControl, GestureRecognizerState, EventTargetInfo } from "./gesture" import { ComponentContent_serializer, ComponentContent } from "./../ComponentContent" import { StyledString_serializer, StyledString, ImageAttachment, CustomSpan, StyleOptions, StyledStringKey, SpanStyle, StyledStringMarshallCallback, UserDataSpan, StyledStringUnmarshallCallback } from "./styledString" @@ -40,7 +40,8 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { CustomBuilder } from "./builder" import { uniformTypeDescriptor } from "./../framework/ohos.data.uniformTypeDescriptor" -import { GestureModifier, hookId, hookStateStyleImpl, hookGestureModifier, CustomStyles, ContentModifier, AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { GestureModifier, extractors, hookId, hookStateStyleImpl, hookGestureModifier, CustomStyles, ContentModifier, AttributeModifier, AttributeUpdater } from "#handwritten" +import { image } from "@ohos.multimedia.image" import { curves, curves_ICurve_serializer } from "./../framework/ohos.curves" import { SymbolGlyphModifier, SymbolGlyphModifier_serializer } from "./../SymbolGlyphModifier" import { UIContext, UIContext_serializer } from "./../framework/ohos.arkui.UIContext" @@ -4047,7 +4048,7 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_setEnabled(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setAlignRules0Attribute(value: AlignRuleOption | undefined): void { + setAlignRulesWithAlignRuleOptionTypedValueAttribute(value: AlignRuleOption | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) @@ -4056,10 +4057,10 @@ export class ArkCommonMethodPeer extends PeerNode { } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } - ArkUIGeneratedNativeModule._CommonMethod_setAlignRules0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_setAlignRulesWithAlignRuleOptionTypedValue(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setAlignRules1Attribute(value: LocalizedAlignRuleOptions | undefined): void { + setAlignRulesWithLocalizedAlignRuleOptionsTypedValueAttribute(value: LocalizedAlignRuleOptions | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) @@ -4068,7 +4069,7 @@ export class ArkCommonMethodPeer extends PeerNode { } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } - ArkUIGeneratedNativeModule._CommonMethod_setAlignRules1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_setAlignRulesWithLocalizedAlignRuleOptionsTypedValue(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } setAspectRatioAttribute(value: number | undefined): void { @@ -4463,7 +4464,7 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_setPixelStretchEffect(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setAccessibilityGroup0Attribute(value: boolean | undefined): void { + setAccessibilityGroupWithValueAttribute(value: boolean | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) @@ -4472,10 +4473,10 @@ export class ArkCommonMethodPeer extends PeerNode { } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } - ArkUIGeneratedNativeModule._CommonMethod_setAccessibilityGroup0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_setAccessibilityGroupWithValue(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setAccessibilityText0Attribute(value: string | undefined): void { + setAccessibilityTextOfStringTypeAttribute(value: string | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) @@ -4484,7 +4485,7 @@ export class ArkCommonMethodPeer extends PeerNode { } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } - ArkUIGeneratedNativeModule._CommonMethod_setAccessibilityText0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_setAccessibilityTextOfStringType(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } setAccessibilityNextFocusIdAttribute(value: string | undefined): void { @@ -4535,7 +4536,7 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_setAccessibilityScrollTriggerable(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setAccessibilityText1Attribute(value: Resource | undefined): void { + setAccessibilityTextOfResourceTypeAttribute(value: Resource | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) @@ -4544,7 +4545,7 @@ export class ArkCommonMethodPeer extends PeerNode { } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } - ArkUIGeneratedNativeModule._CommonMethod_setAccessibilityText1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_setAccessibilityTextOfResourceType(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } setAccessibilityRoleAttribute(value: AccessibilityRoleType | undefined): void { @@ -4583,7 +4584,7 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_setAccessibilityTextHint(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setAccessibilityDescription0Attribute(value: string | undefined): void { + setAccessibilityDescriptionOfStringTypeAttribute(value: string | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) @@ -4592,10 +4593,10 @@ export class ArkCommonMethodPeer extends PeerNode { } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } - ArkUIGeneratedNativeModule._CommonMethod_setAccessibilityDescription0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_setAccessibilityDescriptionOfStringType(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setAccessibilityDescription1Attribute(value: Resource | undefined): void { + setAccessibilityDescriptionOfResourceTypeAttribute(value: Resource | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) @@ -4604,7 +4605,7 @@ export class ArkCommonMethodPeer extends PeerNode { } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } - ArkUIGeneratedNativeModule._CommonMethod_setAccessibilityDescription1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_setAccessibilityDescriptionOfResourceType(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } setAccessibilityLevelAttribute(value: string | undefined): void { @@ -5821,7 +5822,7 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_setKeyboardShortcut(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setAccessibilityGroup1Attribute(isGroup: boolean | undefined, accessibilityOptions: AccessibilityOptions | undefined): void { + setAccessibilityGroupWithConfigAttribute(isGroup: boolean | undefined, config: AccessibilityOptions | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (isGroup !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) @@ -5830,14 +5831,14 @@ export class ArkCommonMethodPeer extends PeerNode { } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } - if (accessibilityOptions !== undefined) { + if (config !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) - const accessibilityOptionsTmpValue = accessibilityOptions! - AccessibilityOptions_serializer.write(thisSerializer, accessibilityOptionsTmpValue) + const configTmpValue = config! + AccessibilityOptions_serializer.write(thisSerializer, configTmpValue) } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } - ArkUIGeneratedNativeModule._CommonMethod_setAccessibilityGroup1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_setAccessibilityGroupWithConfig(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } setOnGestureRecognizerJudgeBegin1Attribute(callback_: GestureRecognizerJudgeBeginCallback | undefined, exposeInnerGesture: boolean | undefined): void { @@ -6607,9 +6608,13 @@ export interface ScaleOptions { centerX?: number | string; centerY?: number | string; } -export interface AlignRuleParam { +export interface VerticalAlignParam { + anchor: string; + align: VerticalAlign; +} +export interface HorizontalAlignParam { anchor: string; - align: T; + align: HorizontalAlign; } export interface AlignRuleOption { _stub: int32; @@ -7595,10 +7600,10 @@ export interface CommonMethod { enabled(value: boolean | undefined): this { throw new Error("Unimplemented method enabled") } - alignRules(value: AlignRuleOption | undefined): this { + alignRulesWithAlignRuleOptionTypedValue(value: AlignRuleOption | undefined): this { throw new Error("Unimplemented method alignRules") } - alignRules(value: LocalizedAlignRuleOptions | undefined): this { + alignRulesWithLocalizedAlignRuleOptionsTypedValue(value: LocalizedAlignRuleOptions | undefined): this { throw new Error("Unimplemented method alignRules") } aspectRatio(value: number | undefined): this { @@ -7688,10 +7693,10 @@ export interface CommonMethod { pixelStretchEffect(value: PixelStretchEffectOptions | undefined): this { throw new Error("Unimplemented method pixelStretchEffect") } - accessibilityGroup(value: boolean | undefined): this { + accessibilityGroupWithValue(value: boolean | undefined): this { throw new Error("Unimplemented method accessibilityGroup") } - accessibilityText(value: string | undefined): this { + accessibilityTextOfStringType(value: string | undefined): this { throw new Error("Unimplemented method accessibilityText") } accessibilityNextFocusId(value: string | undefined): this { @@ -7706,7 +7711,7 @@ export interface CommonMethod { accessibilityScrollTriggerable(value: boolean | undefined): this { throw new Error("Unimplemented method accessibilityScrollTriggerable") } - accessibilityText(value: Resource | undefined): this { + accessibilityTextOfResourceType(value: Resource | undefined): this { throw new Error("Unimplemented method accessibilityText") } accessibilityRole(value: AccessibilityRoleType | undefined): this { @@ -7718,10 +7723,10 @@ export interface CommonMethod { accessibilityTextHint(value: string | undefined): this { throw new Error("Unimplemented method accessibilityTextHint") } - accessibilityDescription(value: string | undefined): this { + accessibilityDescriptionOfStringType(value: string | undefined): this { throw new Error("Unimplemented method accessibilityDescription") } - accessibilityDescription(value: Resource | undefined): this { + accessibilityDescriptionOfResourceType(value: Resource | undefined): this { throw new Error("Unimplemented method accessibilityDescription") } accessibilityLevel(value: string | undefined): this { @@ -7898,12 +7903,16 @@ export interface CommonMethod { keyboardShortcut(value: string | FunctionKey | undefined, keys: Array | undefined, action?: (() => void)): this { throw new Error("Unimplemented method keyboardShortcut") } - accessibilityGroup(isGroup: boolean | undefined, accessibilityOptions: AccessibilityOptions | undefined): this { + accessibilityGroupWithConfig(isGroup: boolean | undefined, config: AccessibilityOptions | undefined): this { throw new Error("Unimplemented method accessibilityGroup") } onGestureRecognizerJudgeBegin(callback_: GestureRecognizerJudgeBeginCallback | undefined, exposeInnerGesture: boolean | undefined): this { throw new Error("Unimplemented method onGestureRecognizerJudgeBegin") } + overload alignRules { alignRulesWithAlignRuleOptionTypedValue, alignRulesWithLocalizedAlignRuleOptionsTypedValue } + overload accessibilityGroup { accessibilityGroupWithValue, accessibilityGroupWithConfig } + overload accessibilityText { accessibilityTextOfStringType, accessibilityTextOfResourceType } + overload accessibilityDescription { accessibilityDescriptionOfStringType, accessibilityDescriptionOfResourceType } attributeModifier(value: AttributeModifier | undefined): this { throw new Error("Unimplemented method attributeModifier") } @@ -8064,607 +8073,607 @@ export class ArkCommonMethodStyle implements CommonMethod { onTouchIntercept_value?: ((value0: TouchEvent) => HitTestMode) | undefined onSizeChange_value?: SizeChangeCallback | undefined accessibilityFocusDrawLevel_value?: FocusDrawLevel | undefined - public width(value: Length | LayoutPolicy | undefined): this { + width(value: Length | LayoutPolicy | undefined): this { return this } - public height(value: Length | LayoutPolicy | undefined): this { + height(value: Length | LayoutPolicy | undefined): this { return this } - public drawModifier(value: DrawModifier | undefined): this { + drawModifier(value: DrawModifier | undefined): this { return this } - public responseRegion(value: Array | Rectangle | undefined): this { + responseRegion(value: Array | Rectangle | undefined): this { return this } - public mouseResponseRegion(value: Array | Rectangle | undefined): this { + mouseResponseRegion(value: Array | Rectangle | undefined): this { return this } - public size(value: SizeOptions | undefined): this { + size(value: SizeOptions | undefined): this { return this } - public constraintSize(value: ConstraintSizeOptions | undefined): this { + constraintSize(value: ConstraintSizeOptions | undefined): this { return this } - public hitTestBehavior(value: HitTestMode | undefined): this { + hitTestBehavior(value: HitTestMode | undefined): this { return this } - public onChildTouchTest(value: ((value: Array) => TouchResult) | undefined): this { + onChildTouchTest(value: ((value: Array) => TouchResult) | undefined): this { return this } - public layoutWeight(value: number | string | undefined): this { + layoutWeight(value: number | string | undefined): this { return this } - public chainWeight(value: ChainWeightOptions | undefined): this { + chainWeight(value: ChainWeightOptions | undefined): this { return this } - public padding(value: Padding | Length | LocalizedPadding | undefined): this { + padding(value: Padding | Length | LocalizedPadding | undefined): this { return this } - public safeAreaPadding(value: Padding | LengthMetrics | LocalizedPadding | undefined): this { + safeAreaPadding(value: Padding | LengthMetrics | LocalizedPadding | undefined): this { return this } - public margin(value: Padding | Length | LocalizedPadding | undefined): this { + margin(value: Padding | Length | LocalizedPadding | undefined): this { return this } - public backgroundColor(value: ResourceColor | undefined): this { + backgroundColor(value: ResourceColor | undefined): this { return this } - public pixelRound(value: PixelRoundPolicy | undefined): this { + pixelRound(value: PixelRoundPolicy | undefined): this { return this } - public backgroundImageSize(value: SizeOptions | ImageSize | undefined): this { + backgroundImageSize(value: SizeOptions | ImageSize | undefined): this { return this } - public backgroundImagePosition(value: Position | Alignment | undefined): this { + backgroundImagePosition(value: Position | Alignment | undefined): this { return this } - public backgroundEffect(value: BackgroundEffectOptions | undefined): this { + backgroundEffect(value: BackgroundEffectOptions | undefined): this { return this } - public backgroundImageResizable(value: ResizableOptions | undefined): this { + backgroundImageResizable(value: ResizableOptions | undefined): this { return this } - public foregroundEffect(value: ForegroundEffectOptions | undefined): this { + foregroundEffect(value: ForegroundEffectOptions | undefined): this { return this } - public visualEffect(value: uiEffect.VisualEffect | undefined): this { + visualEffect(value: uiEffect.VisualEffect | undefined): this { return this } - public backgroundFilter(value: uiEffect.Filter | undefined): this { + backgroundFilter(value: uiEffect.Filter | undefined): this { return this } - public foregroundFilter(value: uiEffect.Filter | undefined): this { + foregroundFilter(value: uiEffect.Filter | undefined): this { return this } - public compositingFilter(value: uiEffect.Filter | undefined): this { + compositingFilter(value: uiEffect.Filter | undefined): this { return this } - public opacity(value: number | Resource | undefined): this { + opacity(value: number | Resource | undefined): this { return this } - public border(value: BorderOptions | undefined): this { + border(value: BorderOptions | undefined): this { return this } - public borderStyle(value: BorderStyle | EdgeStyles | undefined): this { + borderStyle(value: BorderStyle | EdgeStyles | undefined): this { return this } - public borderWidth(value: Length | EdgeWidths | LocalizedEdgeWidths | undefined): this { + borderWidth(value: Length | EdgeWidths | LocalizedEdgeWidths | undefined): this { return this } - public borderColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): this { + borderColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): this { return this } - public borderRadius(value: Length | BorderRadiuses | LocalizedBorderRadiuses | undefined): this { + borderRadius(value: Length | BorderRadiuses | LocalizedBorderRadiuses | undefined): this { return this } - public borderImage(value: BorderImageOption | undefined): this { + borderImage(value: BorderImageOption | undefined): this { return this } - public outline(value: OutlineOptions | undefined): this { + outline(value: OutlineOptions | undefined): this { return this } - public outlineStyle(value: OutlineStyle | EdgeOutlineStyles | undefined): this { + outlineStyle(value: OutlineStyle | EdgeOutlineStyles | undefined): this { return this } - public outlineWidth(value: Dimension | EdgeOutlineWidths | undefined): this { + outlineWidth(value: Dimension | EdgeOutlineWidths | undefined): this { return this } - public outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): this { + outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): this { return this } - public outlineRadius(value: Dimension | OutlineRadiuses | undefined): this { + outlineRadius(value: Dimension | OutlineRadiuses | undefined): this { return this } - public foregroundColor(value: ResourceColor | ColoringStrategy | undefined): this { + foregroundColor(value: ResourceColor | ColoringStrategy | undefined): this { return this } - public onClick(value: ((event: ClickEvent) => void) | undefined): this { + onClick(value: ((event: ClickEvent) => void) | undefined): this { return this } - public onHover(value: ((isHover: boolean,event: HoverEvent) => void) | undefined): this { + onHover(value: ((isHover: boolean,event: HoverEvent) => void) | undefined): this { return this } - public onHoverMove(value: ((value0: HoverEvent) => void) | undefined): this { + onHoverMove(value: ((value0: HoverEvent) => void) | undefined): this { return this } - public onAccessibilityHover(value: AccessibilityCallback | undefined): this { + onAccessibilityHover(value: AccessibilityCallback | undefined): this { return this } - public hoverEffect(value: HoverEffect | undefined): this { + hoverEffect(value: HoverEffect | undefined): this { return this } - public onMouse(value: ((event: MouseEvent) => void) | undefined): this { + onMouse(value: ((event: MouseEvent) => void) | undefined): this { return this } - public onTouch(value: ((event: TouchEvent) => void) | undefined): this { + onTouch(value: ((event: TouchEvent) => void) | undefined): this { return this } - public onKeyEvent(value: ((event: KeyEvent) => void) | undefined): this { + onKeyEvent(value: ((event: KeyEvent) => void) | undefined): this { return this } - public onDigitalCrown(value: ((value0: CrownEvent) => void) | undefined): this { + onDigitalCrown(value: ((value0: CrownEvent) => void) | undefined): this { return this } - public onKeyPreIme(value: ((value0: KeyEvent) => boolean) | undefined): this { + onKeyPreIme(value: ((value0: KeyEvent) => boolean) | undefined): this { return this } - public onKeyEventDispatch(value: ((value0: KeyEvent) => boolean) | undefined): this { + onKeyEventDispatch(value: ((value0: KeyEvent) => boolean) | undefined): this { return this } - public onFocusAxisEvent(value: ((value0: FocusAxisEvent) => void) | undefined): this { + onFocusAxisEvent(value: ((value0: FocusAxisEvent) => void) | undefined): this { return this } - public onAxisEvent(value: ((value0: AxisEvent) => void) | undefined): this { + onAxisEvent(value: ((value0: AxisEvent) => void) | undefined): this { return this } - public focusable(value: boolean | undefined): this { + focusable(value: boolean | undefined): this { return this } - public nextFocus(value: FocusMovement | undefined): this { + nextFocus(value: FocusMovement | undefined): this { return this } - public tabStop(value: boolean | undefined): this { + tabStop(value: boolean | undefined): this { return this } - public onFocus(value: (() => void) | undefined): this { + onFocus(value: (() => void) | undefined): this { return this } - public onBlur(value: (() => void) | undefined): this { + onBlur(value: (() => void) | undefined): this { return this } - public tabIndex(value: number | undefined): this { + tabIndex(value: number | undefined): this { return this } - public defaultFocus(value: boolean | undefined): this { + defaultFocus(value: boolean | undefined): this { return this } - public groupDefaultFocus(value: boolean | undefined): this { + groupDefaultFocus(value: boolean | undefined): this { return this } - public focusOnTouch(value: boolean | undefined): this { + focusOnTouch(value: boolean | undefined): this { return this } - public focusBox(value: FocusBoxStyle | undefined): this { + focusBox(value: FocusBoxStyle | undefined): this { return this } - public animation(value: AnimateParam | undefined): this { + animation(value: AnimateParam | undefined): this { return this } - public transition(value: TransitionEffect | undefined): this { + transition(value: TransitionEffect | undefined): this { return this } - public motionBlur(value: MotionBlurOptions | undefined): this { + motionBlur(value: MotionBlurOptions | undefined): this { return this } - public brightness(value: number | undefined): this { + brightness(value: number | undefined): this { return this } - public contrast(value: number | undefined): this { + contrast(value: number | undefined): this { return this } - public grayscale(value: number | undefined): this { + grayscale(value: number | undefined): this { return this } - public colorBlend(value: Color | string | Resource | undefined): this { + colorBlend(value: Color | string | Resource | undefined): this { return this } - public saturate(value: number | undefined): this { + saturate(value: number | undefined): this { return this } - public sepia(value: number | undefined): this { + sepia(value: number | undefined): this { return this } - public invert(value: number | InvertOptions | undefined): this { + invert(value: number | InvertOptions | undefined): this { return this } - public hueRotate(value: number | string | undefined): this { + hueRotate(value: number | string | undefined): this { return this } - public useShadowBatching(value: boolean | undefined): this { + useShadowBatching(value: boolean | undefined): this { return this } - public useEffect(value: boolean | undefined): this { + useEffect(value: boolean | undefined): this { return this } - public renderGroup(value: boolean | undefined): this { + renderGroup(value: boolean | undefined): this { return this } - public freeze(value: boolean | undefined): this { + freeze(value: boolean | undefined): this { return this } - public translate(value: TranslateOptions | undefined): this { + translate(value: TranslateOptions | undefined): this { return this } - public scale(value: ScaleOptions | undefined): this { + scale(value: ScaleOptions | undefined): this { return this } - public rotate(value: RotateOptions | undefined): this { + rotate(value: RotateOptions | undefined): this { return this } - public transform(value: Object | undefined): this { + transform(value: Object | undefined): this { return this } - public onAppear(value: (() => void) | undefined): this { + onAppear(value: (() => void) | undefined): this { return this } - public onDisAppear(value: (() => void) | undefined): this { + onDisAppear(value: (() => void) | undefined): this { return this } - public onAttach(value: VoidCallback | undefined): this { + onAttach(value: VoidCallback | undefined): this { return this } - public onDetach(value: VoidCallback | undefined): this { + onDetach(value: VoidCallback | undefined): this { return this } - public onAreaChange(value: ((oldValue: Area,newValue: Area) => void) | undefined): this { + onAreaChange(value: ((oldValue: Area,newValue: Area) => void) | undefined): this { return this } - public visibility(value: Visibility | undefined): this { + visibility(value: Visibility | undefined): this { return this } - public flexGrow(value: number | undefined): this { + flexGrow(value: number | undefined): this { return this } - public flexShrink(value: number | undefined): this { + flexShrink(value: number | undefined): this { return this } - public flexBasis(value: number | string | undefined): this { + flexBasis(value: number | string | undefined): this { return this } - public alignSelf(value: ItemAlign | undefined): this { + alignSelf(value: ItemAlign | undefined): this { return this } - public displayPriority(value: number | undefined): this { + displayPriority(value: number | undefined): this { return this } - public zIndex(value: number | undefined): this { + zIndex(value: number | undefined): this { return this } - public direction(value: Direction | undefined): this { + direction(value: Direction | undefined): this { return this } - public align(value: Alignment | undefined): this { + align(value: Alignment | undefined): this { return this } - public position(value: Position | Edges | LocalizedEdges | undefined): this { + position(value: Position | Edges | LocalizedEdges | undefined): this { return this } - public markAnchor(value: Position | LocalizedPosition | undefined): this { + markAnchor(value: Position | LocalizedPosition | undefined): this { return this } - public offset(value: Position | Edges | LocalizedEdges | undefined): this { + offset(value: Position | Edges | LocalizedEdges | undefined): this { return this } - public enabled(value: boolean | undefined): this { + enabled(value: boolean | undefined): this { return this } - public alignRules(value: AlignRuleOption | undefined): this { + alignRules(value: AlignRuleOption | undefined): this { return this } - public alignRules(value: LocalizedAlignRuleOptions | undefined): this { + alignRules(value: LocalizedAlignRuleOptions | undefined): this { return this } - public aspectRatio(value: number | undefined): this { + aspectRatio(value: number | undefined): this { return this } - public clickEffect(value: ClickEffect | undefined): this { + clickEffect(value: ClickEffect | undefined): this { return this } - public onDragStart(value: ((event: DragEvent,extraParams?: string) => CustomBuilder | DragItemInfo) | undefined): this { + onDragStart(value: ((event: DragEvent,extraParams?: string) => CustomBuilder | DragItemInfo) | undefined): this { return this } - public onDragEnter(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { + onDragEnter(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { return this } - public onDragMove(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { + onDragMove(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { return this } - public onDragLeave(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { + onDragLeave(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { return this } - public onDrop(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { + onDrop(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { return this } - public onDragEnd(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { + onDragEnd(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { return this } - public allowDrop(value: Array | undefined): this { + allowDrop(value: Array | undefined): this { return this } - public draggable(value: boolean | undefined): this { + draggable(value: boolean | undefined): this { return this } - public dragPreview(value: CustomBuilder | DragItemInfo | string | undefined): this { + dragPreview(value: CustomBuilder | DragItemInfo | string | undefined): this { return this } - public onPreDrag(value: ((value0: PreDragStatus) => void) | undefined): this { + onPreDrag(value: ((value0: PreDragStatus) => void) | undefined): this { return this } - public linearGradient(value: LinearGradientOptions | undefined): this { + linearGradient(value: LinearGradientOptions | undefined): this { return this } - public sweepGradient(value: SweepGradientOptions | undefined): this { + sweepGradient(value: SweepGradientOptions | undefined): this { return this } - public radialGradient(value: RadialGradientOptions | undefined): this { + radialGradient(value: RadialGradientOptions | undefined): this { return this } - public motionPath(value: MotionPathOptions | undefined): this { + motionPath(value: MotionPathOptions | undefined): this { return this } - public shadow(value: ShadowOptions | ShadowStyle | undefined): this { + shadow(value: ShadowOptions | ShadowStyle | undefined): this { return this } - public clip(value: boolean | undefined): this { + clip(value: boolean | undefined): this { return this } - public clipShape(value: CircleShape | EllipseShape | PathShape | RectShape | undefined): this { + clipShape(value: CircleShape | EllipseShape | PathShape | RectShape | undefined): this { return this } - public mask(value: ProgressMask | undefined): this { + mask(value: ProgressMask | undefined): this { return this } - public maskShape(value: CircleShape | EllipseShape | PathShape | RectShape | undefined): this { + maskShape(value: CircleShape | EllipseShape | PathShape | RectShape | undefined): this { return this } - public key(value: string | undefined): this { + key(value: string | undefined): this { return this } - public id(value: string | undefined): this { + id(value: string | undefined): this { return this } - public geometryTransition(value: string | undefined): this { + geometryTransition(value: string | undefined): this { return this } - public stateStyles(value: StateStyles | undefined): this { + stateStyles(value: StateStyles | undefined): this { return this } - public restoreId(value: number | undefined): this { + restoreId(value: number | undefined): this { return this } - public sphericalEffect(value: number | undefined): this { + sphericalEffect(value: number | undefined): this { return this } - public lightUpEffect(value: number | undefined): this { + lightUpEffect(value: number | undefined): this { return this } - public pixelStretchEffect(value: PixelStretchEffectOptions | undefined): this { + pixelStretchEffect(value: PixelStretchEffectOptions | undefined): this { return this } - public accessibilityGroup(value: boolean | undefined): this { + accessibilityGroup(value: boolean | undefined): this { return this } - public accessibilityText(value: string | undefined): this { + accessibilityText(value: string | undefined): this { return this } - public accessibilityNextFocusId(value: string | undefined): this { + accessibilityNextFocusId(value: string | undefined): this { return this } - public accessibilityDefaultFocus(value: boolean | undefined): this { + accessibilityDefaultFocus(value: boolean | undefined): this { return this } - public accessibilityUseSamePage(value: AccessibilitySamePageMode | undefined): this { + accessibilityUseSamePage(value: AccessibilitySamePageMode | undefined): this { return this } - public accessibilityScrollTriggerable(value: boolean | undefined): this { + accessibilityScrollTriggerable(value: boolean | undefined): this { return this } - public accessibilityText(value: Resource | undefined): this { + accessibilityText(value: Resource | undefined): this { return this } - public accessibilityRole(value: AccessibilityRoleType | undefined): this { + accessibilityRole(value: AccessibilityRoleType | undefined): this { return this } - public onAccessibilityFocus(value: AccessibilityFocusCallback | undefined): this { + onAccessibilityFocus(value: AccessibilityFocusCallback | undefined): this { return this } - public accessibilityTextHint(value: string | undefined): this { + accessibilityTextHint(value: string | undefined): this { return this } - public accessibilityDescription(value: string | undefined): this { + accessibilityDescription(value: string | undefined): this { return this } - public accessibilityDescription(value: Resource | undefined): this { + accessibilityDescription(value: Resource | undefined): this { return this } - public accessibilityLevel(value: string | undefined): this { + accessibilityLevel(value: string | undefined): this { return this } - public accessibilityVirtualNode(value: CustomBuilder | undefined): this { + accessibilityVirtualNode(value: CustomBuilder | undefined): this { return this } - public accessibilityChecked(value: boolean | undefined): this { + accessibilityChecked(value: boolean | undefined): this { return this } - public accessibilitySelected(value: boolean | undefined): this { + accessibilitySelected(value: boolean | undefined): this { return this } - public obscured(value: Array | undefined): this { + obscured(value: Array | undefined): this { return this } - public reuseId(value: string | undefined): this { + reuseId(value: string | undefined): this { return this } - public reuse(value: ReuseOptions | undefined): this { + reuse(value: ReuseOptions | undefined): this { return this } - public renderFit(value: RenderFit | undefined): this { + renderFit(value: RenderFit | undefined): this { return this } - public gestureModifier(value: GestureModifier | undefined): this { + gestureModifier(value: GestureModifier | undefined): this { return this } - public backgroundBrightness(value: BackgroundBrightnessOptions | undefined): this { + backgroundBrightness(value: BackgroundBrightnessOptions | undefined): this { return this } - public onGestureJudgeBegin(value: ((gestureInfo: GestureInfo,event: BaseGestureEvent) => GestureJudgeResult) | undefined): this { + onGestureJudgeBegin(value: ((gestureInfo: GestureInfo,event: BaseGestureEvent) => GestureJudgeResult) | undefined): this { return this } - public onGestureRecognizerJudgeBegin(value: GestureRecognizerJudgeBeginCallback | undefined): this { + onGestureRecognizerJudgeBegin(value: GestureRecognizerJudgeBeginCallback | undefined): this { return this } - public shouldBuiltInRecognizerParallelWith(value: ShouldBuiltInRecognizerParallelWithCallback | undefined): this { + shouldBuiltInRecognizerParallelWith(value: ShouldBuiltInRecognizerParallelWithCallback | undefined): this { return this } - public monopolizeEvents(value: boolean | undefined): this { + monopolizeEvents(value: boolean | undefined): this { return this } - public onTouchIntercept(value: ((value0: TouchEvent) => HitTestMode) | undefined): this { + onTouchIntercept(value: ((value0: TouchEvent) => HitTestMode) | undefined): this { return this } - public onSizeChange(value: SizeChangeCallback | undefined): this { + onSizeChange(value: SizeChangeCallback | undefined): this { return this } - public accessibilityFocusDrawLevel(value: FocusDrawLevel | undefined): this { + accessibilityFocusDrawLevel(value: FocusDrawLevel | undefined): this { return this } - public customProperty(name: string, value: CustomProperty): this { + customProperty(name: string, value: CustomProperty): this { return this } - public expandSafeArea(types?: Array, edges?: Array): this { + expandSafeArea(types?: Array, edges?: Array): this { return this } - public background(builder: CustomBuilder | undefined, options?: BackgroundOptions): this { + background(builder: CustomBuilder | undefined, options?: BackgroundOptions): this { return this } - public backgroundImage(src: ResourceStr | image.PixelMap | undefined, repeat?: ImageRepeat): this { + backgroundImage(src: ResourceStr | image.PixelMap | undefined, repeat?: ImageRepeat): this { return this } - public backgroundImage(src: ResourceStr | image.PixelMap | undefined, options?: BackgroundImageOptions): this { + backgroundImage(src: ResourceStr | image.PixelMap | undefined, options?: BackgroundImageOptions): this { return this } - public backgroundBlurStyle(style: BlurStyle | undefined, options?: BackgroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this { + backgroundBlurStyle(style: BlurStyle | undefined, options?: BackgroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this { return this } - public backgroundEffect(options: BackgroundEffectOptions | undefined, sysOptions?: SystemAdaptiveOptions): this { + backgroundEffect(options: BackgroundEffectOptions | undefined, sysOptions?: SystemAdaptiveOptions): this { return this } - public foregroundBlurStyle(style: BlurStyle | undefined, options?: ForegroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this { + foregroundBlurStyle(style: BlurStyle | undefined, options?: ForegroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this { return this } - public onClick(event: ((event: ClickEvent) => void) | undefined, distanceThreshold: number | undefined): this { + onClick(event: ((event: ClickEvent) => void) | undefined, distanceThreshold: number | undefined): this { return this } - public focusScopeId(id: string | undefined, isGroup?: boolean, arrowStepOut?: boolean): this { + focusScopeId(id: string | undefined, isGroup?: boolean, arrowStepOut?: boolean): this { return this } - public focusScopePriority(scopeId: string | undefined, priority?: FocusPriority): this { + focusScopePriority(scopeId: string | undefined, priority?: FocusPriority): this { return this } - public transition(effect: TransitionEffect | undefined, onFinish: TransitionFinishCallback | undefined): this { + transition(effect: TransitionEffect | undefined, onFinish: TransitionFinishCallback | undefined): this { return this } - public gesture(gesture: GestureType | undefined, mask?: GestureMask): this { + gesture(gesture: GestureType | undefined, mask?: GestureMask): this { return this } - public priorityGesture(gesture: GestureType | undefined, mask?: GestureMask): this { + priorityGesture(gesture: GestureType | undefined, mask?: GestureMask): this { return this } - public parallelGesture(gesture: GestureType | undefined, mask?: GestureMask): this { + parallelGesture(gesture: GestureType | undefined, mask?: GestureMask): this { return this } - public blur(blurRadius: number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this { + blur(blurRadius: number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this { return this } - public linearGradientBlur(value: number | undefined, options: LinearGradientBlurOptions | undefined): this { + linearGradientBlur(value: number | undefined, options: LinearGradientBlurOptions | undefined): this { return this } - public systemBarEffect(): this { + systemBarEffect(): this { return this } - public useEffect(useEffect: boolean | undefined, effectType: EffectType | undefined): this { + useEffect(useEffect: boolean | undefined, effectType: EffectType | undefined): this { return this } - public backdropBlur(radius: number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this { + backdropBlur(radius: number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this { return this } - public sharedTransition(id: string | undefined, options?: sharedTransitionOptions): this { + sharedTransition(id: string | undefined, options?: sharedTransitionOptions): this { return this } - public chainMode(direction: Axis | undefined, style: ChainStyle | undefined): this { + chainMode(direction: Axis | undefined, style: ChainStyle | undefined): this { return this } - public onDrop(eventCallback: OnDragEventCallback | undefined, dropOptions?: DropOptions): this { + onDrop(eventCallback: OnDragEventCallback | undefined, dropOptions?: DropOptions): this { return this } - public dragPreview(preview: CustomBuilder | DragItemInfo | string | undefined, config?: PreviewConfiguration): this { + dragPreview(preview: CustomBuilder | DragItemInfo | string | undefined, config?: PreviewConfiguration): this { return this } - public dragPreviewOptions(value: DragPreviewOptions | undefined, options?: DragInteractionOptions): this { + dragPreviewOptions(value: DragPreviewOptions | undefined, options?: DragInteractionOptions): this { return this } - public overlay(value: string | CustomBuilder | ComponentContent | undefined, options?: OverlayOptions): this { + overlay(value: string | CustomBuilder | ComponentContent | undefined, options?: OverlayOptions): this { return this } - public blendMode(value: BlendMode | undefined, type?: BlendApplyType): this { + blendMode(value: BlendMode | undefined, type?: BlendApplyType): this { return this } - public advancedBlendMode(effect: BlendMode | uiEffect.Blender, type?: BlendApplyType): this { + advancedBlendMode(effect: BlendMode | uiEffect.Blender, type?: BlendApplyType): this { return this } - public geometryTransition(id: string | undefined, options?: GeometryTransitionOptions): this { + geometryTransition(id: string | undefined, options?: GeometryTransitionOptions): this { return this } - public bindTips(message: TipsMessageType | undefined, options?: TipsOptions): this { + bindTips(message: TipsMessageType | undefined, options?: TipsOptions): this { return this } - public bindPopup(show: boolean | undefined, popup: PopupOptions | CustomPopupOptions | undefined): this { + bindPopup(show: boolean | undefined, popup: PopupOptions | CustomPopupOptions | undefined): this { return this } - public bindMenu(content: Array | CustomBuilder | undefined, options?: MenuOptions): this { + bindMenu(content: Array | CustomBuilder | undefined, options?: MenuOptions): this { return this } - public bindMenu(isShow: boolean | undefined, content: Array | CustomBuilder | undefined, options?: MenuOptions): this { + bindMenu(isShow: boolean | undefined, content: Array | CustomBuilder | undefined, options?: MenuOptions): this { return this } - public bindContextMenu(content: CustomBuilder | undefined, responseType: ResponseType | undefined, options?: ContextMenuOptions): this { + bindContextMenu(content: CustomBuilder | undefined, responseType: ResponseType | undefined, options?: ContextMenuOptions): this { return this } - public bindContextMenu(isShown: boolean | undefined, content: CustomBuilder | undefined, options?: ContextMenuOptions): this { + bindContextMenu(isShown: boolean | undefined, content: CustomBuilder | undefined, options?: ContextMenuOptions): this { return this } - public bindContentCover(isShow: boolean | Bindable | undefined, builder: CustomBuilder | undefined, type?: ModalTransition): this { + bindContentCover(isShow: boolean | Bindable | undefined, builder: CustomBuilder | undefined, type?: ModalTransition): this { return this } - public bindContentCover(isShow: boolean | Bindable | undefined, builder: CustomBuilder | undefined, options?: ContentCoverOptions): this { + bindContentCover(isShow: boolean | Bindable | undefined, builder: CustomBuilder | undefined, options?: ContentCoverOptions): this { return this } - public bindSheet(isShow: boolean | Bindable | undefined, builder: CustomBuilder | undefined, options?: SheetOptions): this { + bindSheet(isShow: boolean | Bindable | undefined, builder: CustomBuilder | undefined, options?: SheetOptions): this { return this } - public onVisibleAreaChange(ratios: Array | undefined, event: VisibleAreaChangeCallback | undefined): this { + onVisibleAreaChange(ratios: Array | undefined, event: VisibleAreaChangeCallback | undefined): this { return this } - public onVisibleAreaApproximateChange(options: VisibleAreaEventOptions | undefined, event: VisibleAreaChangeCallback | undefined): this { + onVisibleAreaApproximateChange(options: VisibleAreaEventOptions | undefined, event: VisibleAreaChangeCallback | undefined): this { return this } - public keyboardShortcut(value: string | FunctionKey | undefined, keys: Array | undefined, action?: (() => void)): this { + keyboardShortcut(value: string | FunctionKey | undefined, keys: Array | undefined, action?: (() => void)): this { return this } - public accessibilityGroup(isGroup: boolean | undefined, accessibilityOptions: AccessibilityOptions | undefined): this { + accessibilityGroup(isGroup: boolean | undefined, config: AccessibilityOptions | undefined): this { return this } - public onGestureRecognizerJudgeBegin(callback_: GestureRecognizerJudgeBeginCallback | undefined, exposeInnerGesture: boolean | undefined): this { + onGestureRecognizerJudgeBegin(callback_: GestureRecognizerJudgeBeginCallback | undefined, exposeInnerGesture: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | undefined): this { @@ -8734,37 +8743,37 @@ export class ArkCommonShapeMethodStyle extends ArkCommonMethodStyle implements C strokeWidth_value?: Length | undefined antiAlias_value?: boolean | undefined strokeDashArray_value?: Array | undefined - public stroke(value: ResourceColor | undefined): this { + stroke(value: ResourceColor | undefined): this { return this } - public fill(value: ResourceColor | undefined): this { + fill(value: ResourceColor | undefined): this { return this } - public strokeDashOffset(value: number | string | undefined): this { + strokeDashOffset(value: number | string | undefined): this { return this } - public strokeLineCap(value: LineCapStyle | undefined): this { + strokeLineCap(value: LineCapStyle | undefined): this { return this } - public strokeLineJoin(value: LineJoinStyle | undefined): this { + strokeLineJoin(value: LineJoinStyle | undefined): this { return this } - public strokeMiterLimit(value: number | string | undefined): this { + strokeMiterLimit(value: number | string | undefined): this { return this } - public strokeOpacity(value: number | string | Resource | undefined): this { + strokeOpacity(value: number | string | Resource | undefined): this { return this } - public fillOpacity(value: number | string | Resource | undefined): this { + fillOpacity(value: number | string | Resource | undefined): this { return this } - public strokeWidth(value: Length | undefined): this { + strokeWidth(value: Length | undefined): this { return this } - public antiAlias(value: boolean | undefined): this { + antiAlias(value: boolean | undefined): this { return this } - public strokeDashArray(value: Array | undefined): this { + strokeDashArray(value: Array | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -8882,52 +8891,52 @@ export interface ScrollableCommonMethod extends CommonMethod { } } export class ArkScrollableCommonMethodStyle extends ArkCommonMethodStyle implements ScrollableCommonMethod { - public scrollBar(value: BarState | undefined): this { + scrollBar(value: BarState | undefined): this { return this } - public scrollBarColor(value: Color | number | string | undefined): this { + scrollBarColor(value: Color | number | string | undefined): this { return this } - public scrollBarWidth(value: number | string | undefined): this { + scrollBarWidth(value: number | string | undefined): this { return this } - public nestedScroll(value: NestedScrollOptions | undefined): this { + nestedScroll(value: NestedScrollOptions | undefined): this { return this } - public enableScrollInteraction(value: boolean | undefined): this { + enableScrollInteraction(value: boolean | undefined): this { return this } - public friction(value: number | Resource | undefined): this { + friction(value: number | Resource | undefined): this { return this } - public onReachStart(value: (() => void) | undefined): this { + onReachStart(value: (() => void) | undefined): this { return this } - public onReachEnd(value: (() => void) | undefined): this { + onReachEnd(value: (() => void) | undefined): this { return this } - public onScrollStart(value: (() => void) | undefined): this { + onScrollStart(value: (() => void) | undefined): this { return this } - public onScrollStop(value: (() => void) | undefined): this { + onScrollStop(value: (() => void) | undefined): this { return this } - public flingSpeedLimit(value: number | undefined): this { + flingSpeedLimit(value: number | undefined): this { return this } - public clipContent(value: ContentClipMode | RectShape | undefined): this { + clipContent(value: ContentClipMode | RectShape | undefined): this { return this } - public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + digitalCrownSensitivity(value: CrownSensitivity | undefined): this { return this } - public backToTop(value: boolean | undefined): this { + backToTop(value: boolean | undefined): this { return this } - public edgeEffect(edgeEffect: EdgeEffect | undefined, options?: EdgeEffectOptions): this { + edgeEffect(edgeEffect: EdgeEffect | undefined, options?: EdgeEffectOptions): this { return this } - public fadingEdge(enabled: boolean | undefined, options?: FadingEdgeOptions): this { + fadingEdge(enabled: boolean | undefined, options?: FadingEdgeOptions): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -9012,7 +9021,7 @@ export interface DateRange { end?: Date; } export interface TerminationInfo { - code: number; + code: int32; want?: Want; } export type DateTimeOptions = intl.DateTimeOptions; @@ -9808,18 +9817,18 @@ export class ArkCommonMethodComponent extends ComponentBase implements CommonMet } return this } - public alignRules(value: AlignRuleOption | undefined): this { - if (this.checkPriority("alignRules")) { + public alignRulesWithAlignRuleOptionTypedValue(value: AlignRuleOption | undefined): this { + if (this.checkPriority("alignRulesWithAlignRuleOptionTypedValue")) { const value_casted = value as (AlignRuleOption | undefined) - this.getPeer()?.setAlignRules0Attribute(value_casted) + this.getPeer()?.setAlignRulesWithAlignRuleOptionTypedValueAttribute(value_casted) return this } return this } - public alignRules(value: LocalizedAlignRuleOptions | undefined): this { - if (this.checkPriority("alignRules")) { + public alignRulesWithLocalizedAlignRuleOptionsTypedValue(value: LocalizedAlignRuleOptions | undefined): this { + if (this.checkPriority("alignRulesWithLocalizedAlignRuleOptionsTypedValue")) { const value_casted = value as (LocalizedAlignRuleOptions | undefined) - this.getPeer()?.setAlignRules1Attribute(value_casted) + this.getPeer()?.setAlignRulesWithLocalizedAlignRuleOptionsTypedValueAttribute(value_casted) return this } return this @@ -10055,18 +10064,18 @@ export class ArkCommonMethodComponent extends ComponentBase implements CommonMet } return this } - public accessibilityGroup(value: boolean | undefined): this { - if (this.checkPriority("accessibilityGroup")) { + public accessibilityGroupWithValue(value: boolean | undefined): this { + if (this.checkPriority("accessibilityGroupWithValue")) { const value_casted = value as (boolean | undefined) - this.getPeer()?.setAccessibilityGroup0Attribute(value_casted) + this.getPeer()?.setAccessibilityGroupWithValueAttribute(value_casted) return this } return this } - public accessibilityText(value: string | undefined): this { - if (this.checkPriority("accessibilityText")) { + public accessibilityTextOfStringType(value: string | undefined): this { + if (this.checkPriority("accessibilityTextOfStringType")) { const value_casted = value as (string | undefined) - this.getPeer()?.setAccessibilityText0Attribute(value_casted) + this.getPeer()?.setAccessibilityTextOfStringTypeAttribute(value_casted) return this } return this @@ -10103,10 +10112,10 @@ export class ArkCommonMethodComponent extends ComponentBase implements CommonMet } return this } - public accessibilityText(value: Resource | undefined): this { - if (this.checkPriority("accessibilityText")) { + public accessibilityTextOfResourceType(value: Resource | undefined): this { + if (this.checkPriority("accessibilityTextOfResourceType")) { const value_casted = value as (Resource | undefined) - this.getPeer()?.setAccessibilityText1Attribute(value_casted) + this.getPeer()?.setAccessibilityTextOfResourceTypeAttribute(value_casted) return this } return this @@ -10135,18 +10144,18 @@ export class ArkCommonMethodComponent extends ComponentBase implements CommonMet } return this } - public accessibilityDescription(value: string | undefined): this { - if (this.checkPriority("accessibilityDescription")) { + public accessibilityDescriptionOfStringType(value: string | undefined): this { + if (this.checkPriority("accessibilityDescriptionOfStringType")) { const value_casted = value as (string | undefined) - this.getPeer()?.setAccessibilityDescription0Attribute(value_casted) + this.getPeer()?.setAccessibilityDescriptionOfStringTypeAttribute(value_casted) return this } return this } - public accessibilityDescription(value: Resource | undefined): this { - if (this.checkPriority("accessibilityDescription")) { + public accessibilityDescriptionOfResourceType(value: Resource | undefined): this { + if (this.checkPriority("accessibilityDescriptionOfResourceType")) { const value_casted = value as (Resource | undefined) - this.getPeer()?.setAccessibilityDescription1Attribute(value_casted) + this.getPeer()?.setAccessibilityDescriptionOfResourceTypeAttribute(value_casted) return this } return this @@ -10664,11 +10673,11 @@ export class ArkCommonMethodComponent extends ComponentBase implements CommonMet } return this } - public accessibilityGroup(isGroup: boolean | undefined, accessibilityOptions: AccessibilityOptions | undefined): this { - if (this.checkPriority("accessibilityGroup")) { + public accessibilityGroupWithConfig(isGroup: boolean | undefined, config: AccessibilityOptions | undefined): this { + if (this.checkPriority("accessibilityGroupWithConfig")) { const isGroup_casted = isGroup as (boolean | undefined) - const accessibilityOptions_casted = accessibilityOptions as (AccessibilityOptions | undefined) - this.getPeer()?.setAccessibilityGroup1Attribute(isGroup_casted, accessibilityOptions_casted) + const config_casted = config as (AccessibilityOptions | undefined) + this.getPeer()?.setAccessibilityGroupWithConfigAttribute(isGroup_casted, config_casted) return this } return this @@ -15078,7 +15087,7 @@ export class TerminationInfo_serializer { public static write(buffer: SerializerBase, value: TerminationInfo): void { let valueSerializer : SerializerBase = buffer const valueHolderForCode = value.code - valueSerializer.writeNumber(valueHolderForCode) + valueSerializer.writeInt32(valueHolderForCode) const valueHolderForWant = value.want if (valueHolderForWant !== undefined) { valueSerializer.writeInt8(RuntimeType.OBJECT) @@ -15090,7 +15099,7 @@ export class TerminationInfo_serializer { } public static read(buffer: DeserializerBase): TerminationInfo { let valueDeserializer : DeserializerBase = buffer - const codeTmpResult : number = (valueDeserializer.readNumber() as number) + const codeTmpResult : int32 = valueDeserializer.readInt32() const wantTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() let wantTmpBuf : Want | undefined if ((wantTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { diff --git a/arkoala-arkts/arkui/generated/component/containerSpan.ets b/arkoala-arkts/arkui/generated/component/containerSpan.ets index 2d761cc52..69ab5b04d 100644 --- a/arkoala-arkts/arkui/generated/component/containerSpan.ets +++ b/arkoala-arkts/arkui/generated/component/containerSpan.ets @@ -66,7 +66,7 @@ export interface ContainerSpanAttribute { export class ArkContainerSpanStyle implements ContainerSpanAttribute { textBackgroundStyle_value?: TextBackgroundStyle | undefined attributeModifier_value?: AttributeModifier | undefined - public textBackgroundStyle(value: TextBackgroundStyle | undefined): this { + textBackgroundStyle(value: TextBackgroundStyle | undefined): this { return this } public attributeModifier(value: AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/counter.ets b/arkoala-arkts/arkui/generated/component/counter.ets index 7cda5d906..358376b6a 100644 --- a/arkoala-arkts/arkui/generated/component/counter.ets +++ b/arkoala-arkts/arkui/generated/component/counter.ets @@ -115,16 +115,16 @@ export class ArkCounterStyle extends ArkCommonMethodStyle implements CounterAttr enableDec_value?: boolean | undefined enableInc_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onInc(value: VoidCallback | undefined): this { + onInc(value: VoidCallback | undefined): this { return this } - public onDec(value: VoidCallback | undefined): this { + onDec(value: VoidCallback | undefined): this { return this } - public enableDec(value: boolean | undefined): this { + enableDec(value: boolean | undefined): this { return this } - public enableInc(value: boolean | undefined): this { + enableInc(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/customDialogController.ets b/arkoala-arkts/arkui/generated/component/customDialogController.ets index 60c007078..013266a70 100644 --- a/arkoala-arkts/arkui/generated/component/customDialogController.ets +++ b/arkoala-arkts/arkui/generated/component/customDialogController.ets @@ -32,7 +32,6 @@ import { Resource } from "global.resource" import { Rectangle, AnimateParam, ShadowOptions, ShadowStyle, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, KeyboardAvoidMode, HoverModeAreaType, Rectangle_serializer, AnimateParam_serializer, ShadowOptions_serializer, BackgroundBlurStyleOptions_serializer, BackgroundEffectOptions_serializer } from "./common" import { LengthMetrics, LengthMetrics_serializer } from "./../Graphics" import { LevelMode, ImmersiveMode, LevelOrder, LevelOrder_serializer } from "./../framework/ohos.promptAction" -import { extractors } from "#handwritten" import { Resource_serializer } from "./../framework/resource" export class CustomDialogControllerInternal { public static fromPtr(ptr: KPointer): CustomDialogController { diff --git a/arkoala-arkts/arkui/generated/component/dataPanel.ets b/arkoala-arkts/arkui/generated/component/dataPanel.ets index f659bf334..ff26ccba5 100644 --- a/arkoala-arkts/arkui/generated/component/dataPanel.ets +++ b/arkoala-arkts/arkui/generated/component/dataPanel.ets @@ -27,7 +27,7 @@ import { ArkCommonMethodPeer, CommonMethod, MultiShadowOptions, CommonConfigurat import { ResourceColor, Length } from "./units" import { Color } from "./enums" import { Resource } from "global.resource" -import { ContentModifier, AttributeModifier, hookDataPanelContentModifier, AttributeUpdater, extractors } from "#handwritten" +import { ContentModifier, AttributeModifier, hookDataPanelContentModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" @@ -250,22 +250,22 @@ export class ArkDataPanelStyle extends ArkCommonMethodStyle implements DataPanel trackShadow_value?: DataPanelShadowOptions | undefined contentModifier_value?: ContentModifier | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public closeEffect(value: boolean | undefined): this { + closeEffect(value: boolean | undefined): this { return this } - public valueColors(value: Array | undefined): this { + valueColors(value: Array | undefined): this { return this } - public trackBackgroundColor(value: ResourceColor | undefined): this { + trackBackgroundColor(value: ResourceColor | undefined): this { return this } - public strokeWidth(value: Length | undefined): this { + strokeWidth(value: Length | undefined): this { return this } - public trackShadow(value: DataPanelShadowOptions | undefined): this { + trackShadow(value: DataPanelShadowOptions | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/datePicker.ets b/arkoala-arkts/arkui/generated/component/datePicker.ets index 4f5aa07d3..61b9aa968 100644 --- a/arkoala-arkts/arkui/generated/component/datePicker.ets +++ b/arkoala-arkts/arkui/generated/component/datePicker.ets @@ -24,7 +24,7 @@ import { PickerTextStyle_serializer, ArkCommonMethodPeer, CommonMethod, PickerTe import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { CrownSensitivity, Color } from "./enums" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" @@ -216,25 +216,25 @@ export class ArkDatePickerStyle extends ArkCommonMethodStyle implements DatePick digitalCrownSensitivity_value?: CrownSensitivity | undefined enableHapticFeedback_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public lunar(value: boolean | undefined): this { + lunar(value: boolean | undefined): this { return this } - public disappearTextStyle(value: PickerTextStyle | undefined): this { + disappearTextStyle(value: PickerTextStyle | undefined): this { return this } - public textStyle(value: PickerTextStyle | undefined): this { + textStyle(value: PickerTextStyle | undefined): this { return this } - public selectedTextStyle(value: PickerTextStyle | undefined): this { + selectedTextStyle(value: PickerTextStyle | undefined): this { return this } - public onDateChange(value: ((value0: Date) => void) | undefined): this { + onDateChange(value: ((value0: Date) => void) | undefined): this { return this } - public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + digitalCrownSensitivity(value: CrownSensitivity | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/divider.ets b/arkoala-arkts/arkui/generated/component/divider.ets index 749752ef0..37c719ecd 100644 --- a/arkoala-arkts/arkui/generated/component/divider.ets +++ b/arkoala-arkts/arkui/generated/component/divider.ets @@ -142,16 +142,16 @@ export class ArkDividerStyle extends ArkCommonMethodStyle implements DividerAttr strokeWidth_value?: number | string | undefined lineCap_value?: LineCapStyle | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public vertical(value: boolean | undefined): this { + vertical(value: boolean | undefined): this { return this } - public color(value: ResourceColor | undefined): this { + color(value: ResourceColor | undefined): this { return this } - public strokeWidth(value: number | string | undefined): this { + strokeWidth(value: number | string | undefined): this { return this } - public lineCap(value: LineCapStyle | undefined): this { + lineCap(value: LineCapStyle | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/ellipse.ets b/arkoala-arkts/arkui/generated/component/ellipse.ets index 8212915f0..c1d43fbe4 100644 --- a/arkoala-arkts/arkui/generated/component/ellipse.ets +++ b/arkoala-arkts/arkui/generated/component/ellipse.ets @@ -22,7 +22,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonShapeMethodPeer, CommonShapeMethod, CommonMethod, ArkCommonShapeMethodComponent, ArkCommonShapeMethodStyle, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -53,6 +53,8 @@ export class ArkEllipsePeer extends ArkCommonShapeMethodPeer { } } export interface EllipseOptions { + width?: string | double; + height?: string | double; } export interface EllipseAttribute extends CommonShapeMethod { attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { @@ -108,9 +110,73 @@ export function Ellipse( export class EllipseOptions_serializer { public static write(buffer: SerializerBase, value: EllipseOptions): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForWidth = value.width + if (valueHolderForWidth !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForWidthTmpValue = valueHolderForWidth! + if (valueHolderForWidthTmpValue instanceof string) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue as string + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx0) + } else if (valueHolderForWidthTmpValue instanceof double) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue as double + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx1) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForHeight = value.height + if (valueHolderForHeight !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForHeightTmpValue = valueHolderForHeight! + if (valueHolderForHeightTmpValue instanceof string) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue as string + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx0) + } else if (valueHolderForHeightTmpValue instanceof double) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue as double + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx1) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } } public static read(buffer: DeserializerBase): EllipseOptions { - let value : EllipseOptions = ({} as EllipseOptions) + let valueDeserializer : DeserializerBase = buffer + const widthTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let widthTmpBuf : string | double | undefined + if ((widthTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const widthTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() + let widthTmpBuf_ : string | double | undefined + if (widthTmpBuf_UnionSelector == (0).toChar()) { + widthTmpBuf_ = (valueDeserializer.readString() as string) + } else if (widthTmpBuf_UnionSelector == (1).toChar()) { + widthTmpBuf_ = valueDeserializer.readFloat64() + } else { + throw new Error("One of the branches for widthTmpBuf_ has to be chosen through deserialisation.") + } + widthTmpBuf = (widthTmpBuf_ as string | double) + } + const widthTmpResult : string | double | undefined = widthTmpBuf + const heightTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let heightTmpBuf : string | double | undefined + if ((heightTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const heightTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() + let heightTmpBuf_ : string | double | undefined + if (heightTmpBuf_UnionSelector == (0).toChar()) { + heightTmpBuf_ = (valueDeserializer.readString() as string) + } else if (heightTmpBuf_UnionSelector == (1).toChar()) { + heightTmpBuf_ = valueDeserializer.readFloat64() + } else { + throw new Error("One of the branches for heightTmpBuf_ has to be chosen through deserialisation.") + } + heightTmpBuf = (heightTmpBuf_ as string | double) + } + const heightTmpResult : string | double | undefined = heightTmpBuf + let value : EllipseOptions = ({width: widthTmpResult, height: heightTmpResult} as EllipseOptions) return value } } diff --git a/arkoala-arkts/arkui/generated/component/embeddedComponent.ets b/arkoala-arkts/arkui/generated/component/embeddedComponent.ets index 88ffb1aa8..1616ee5b5 100644 --- a/arkoala-arkts/arkui/generated/component/embeddedComponent.ets +++ b/arkoala-arkts/arkui/generated/component/embeddedComponent.ets @@ -42,10 +42,17 @@ export class ArkEmbeddedComponentPeer extends ArkCommonMethodPeer { component?.setPeer(_peer) return _peer } - setEmbeddedComponentOptionsAttribute(loader: Want, type: EmbeddedType): void { + setEmbeddedComponentOptionsAttribute(loader: Want, type?: EmbeddedType): void { const thisSerializer : SerializerBase = SerializerBase.hold() Want_serializer.write(thisSerializer, loader) - ArkUIGeneratedNativeModule._EmbeddedComponentInterface_setEmbeddedComponentOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length(), TypeChecker.EmbeddedType_ToNumeric(type)) + if (type !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const typeTmpValue = (type as EmbeddedType) + thisSerializer.writeInt32(TypeChecker.EmbeddedType_ToNumeric(typeTmpValue)) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._EmbeddedComponentInterface_setEmbeddedComponentOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } setOnTerminatedAttribute(value: ((value0: TerminationInfo) => void) | undefined): void { @@ -88,10 +95,10 @@ export class ArkEmbeddedComponentStyle extends ArkCommonMethodStyle implements E onTerminated_value?: ((value0: TerminationInfo) => void) | undefined onError_value?: ErrorCallback | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onTerminated(value: ((value0: TerminationInfo) => void) | undefined): this { + onTerminated(value: ((value0: TerminationInfo) => void) | undefined): this { return this } - public onError(value: ErrorCallback | undefined): this { + onError(value: ErrorCallback | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -103,10 +110,10 @@ export class ArkEmbeddedComponentComponent extends ArkCommonMethodComponent impl getPeer(): ArkEmbeddedComponentPeer { return (this.peer as ArkEmbeddedComponentPeer) } - public setEmbeddedComponentOptions(loader: Want, type: EmbeddedType): this { + public setEmbeddedComponentOptions(loader: Want, type?: EmbeddedType): this { if (this.checkPriority("setEmbeddedComponentOptions")) { const loader_casted = loader as (Want) - const type_casted = type as (EmbeddedType) + const type_casted = type as (EmbeddedType | undefined) this.getPeer()?.setEmbeddedComponentOptionsAttribute(loader_casted, type_casted) return this } @@ -141,7 +148,7 @@ export class ArkEmbeddedComponentComponent extends ArkCommonMethodComponent impl export function EmbeddedComponent( @memo style: ((attributes: EmbeddedComponentAttribute) => void) | undefined, - loader: Want, type: EmbeddedType, + loader: Want, type?: EmbeddedType, @memo content_?: () => void, ): void { diff --git a/arkoala-arkts/arkui/generated/component/extendableComponent.ets b/arkoala-arkts/arkui/generated/component/extendableComponent.ets index 7d8989e8e..c6ca27dcc 100644 --- a/arkoala-arkts/arkui/generated/component/extendableComponent.ets +++ b/arkoala-arkts/arkui/generated/component/extendableComponent.ets @@ -22,7 +22,6 @@ import { UIContext, UIContextInternal } from "./../framework/ohos.arkui.UIContex import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./../CallbackTransformer" -import { extractors } from "#handwritten" export class ExtendableComponentInternal { public static fromPtr(ptr: KPointer): ExtendableComponent { return new ExtendableComponent(ptr) diff --git a/arkoala-arkts/arkui/generated/component/flex.ets b/arkoala-arkts/arkui/generated/component/flex.ets index da8cd7249..c56bbea31 100644 --- a/arkoala-arkts/arkui/generated/component/flex.ets +++ b/arkoala-arkts/arkui/generated/component/flex.ets @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { SerializerBase, DeserializerBase, nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, NativeBuffer, CallbackResource, InteropNativeModule, Tags, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" -import { PointLightStyle_serializer, ArkCommonMethodPeer, CommonMethod, PointLightStyle, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -53,18 +53,6 @@ export class ArkFlexPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._FlexInterface_setFlexOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setPointLightAttribute(value: PointLightStyle | undefined): void { - const thisSerializer : SerializerBase = SerializerBase.hold() - if (value !== undefined) { - thisSerializer.writeInt8(RuntimeType.OBJECT) - const valueTmpValue = value! - PointLightStyle_serializer.write(thisSerializer, valueTmpValue) - } else { - thisSerializer.writeInt8(RuntimeType.UNDEFINED) - } - ArkUIGeneratedNativeModule._FlexAttribute_setPointLight(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } } export interface FlexOptions { direction?: FlexDirection; @@ -79,19 +67,12 @@ export interface FlexSpaceOptions { cross?: LengthMetrics; } export interface FlexAttribute extends CommonMethod { - pointLight(value: PointLightStyle | undefined): this { - throw new Error("Unimplemented method pointLight") - } attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Unimplemented method attributeModifier") } } export class ArkFlexStyle extends ArkCommonMethodStyle implements FlexAttribute { - pointLight_value?: PointLightStyle | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public pointLight(value: PointLightStyle | undefined): this { - return this - } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } @@ -109,14 +90,6 @@ export class ArkFlexComponent extends ArkCommonMethodComponent implements FlexAt } return this } - public pointLight(value: PointLightStyle | undefined): this { - if (this.checkPriority("pointLight")) { - const value_casted = value as (PointLightStyle | undefined) - this.getPeer()?.setPointLightAttribute(value_casted) - return this - } - return this - } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { return this } diff --git a/arkoala-arkts/arkui/generated/component/focus.ets b/arkoala-arkts/arkui/generated/component/focus.ets index 893cea77a..5b53d6265 100644 --- a/arkoala-arkts/arkui/generated/component/focus.ets +++ b/arkoala-arkts/arkui/generated/component/focus.ets @@ -21,7 +21,6 @@ import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr, SerializerBase, Des import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { LengthMetrics, ColorMetrics, LengthMetrics_serializer, ColorMetrics_serializer } from "./../Graphics" -import { extractors } from "#handwritten" import { TypeChecker } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" export interface FocusBoxStyle { diff --git a/arkoala-arkts/arkui/generated/component/folderStack.ets b/arkoala-arkts/arkui/generated/component/folderStack.ets index c86c9d5f7..5e4892234 100644 --- a/arkoala-arkts/arkui/generated/component/folderStack.ets +++ b/arkoala-arkts/arkui/generated/component/folderStack.ets @@ -23,7 +23,7 @@ import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { Alignment, FoldStatus, AppRotation } from "./enums" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -150,19 +150,19 @@ export class ArkFolderStackStyle extends ArkCommonMethodStyle implements FolderS enableAnimation_value?: boolean | undefined autoHalfFold_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public alignContent(value: Alignment | undefined): this { + alignContent(value: Alignment | undefined): this { return this } - public onFolderStateChange(value: OnFoldStatusChangeCallback | undefined): this { + onFolderStateChange(value: OnFoldStatusChangeCallback | undefined): this { return this } - public onHoverStatusChange(value: OnHoverStatusChangeCallback | undefined): this { + onHoverStatusChange(value: OnHoverStatusChangeCallback | undefined): this { return this } - public enableAnimation(value: boolean | undefined): this { + enableAnimation(value: boolean | undefined): this { return this } - public autoHalfFold(value: boolean | undefined): this { + autoHalfFold(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/stateManagement.ets b/arkoala-arkts/arkui/generated/component/forEach.ets similarity index 86% rename from arkoala-arkts/arkui/generated/component/stateManagement.ets rename to arkoala-arkts/arkui/generated/component/forEach.ets index 74fbc334d..d38e4f056 100644 --- a/arkoala-arkts/arkui/generated/component/stateManagement.ets +++ b/arkoala-arkts/arkui/generated/component/forEach.ets @@ -20,13 +20,5 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr } from "@koalaui/interop" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -export enum ColorMode { - LIGHT = 0, - DARK = 1 -} -export enum LayoutDirection { - LTR = 0, - RTL = 1, - AUTO = 2, - Auto = 2 -} +export type ItemGeneratorFunc = (item: T, index: number) => void; +export type KeyGeneratorFunc = (item: T, index: number) => string; diff --git a/arkoala-arkts/arkui/generated/component/formComponent.ets b/arkoala-arkts/arkui/generated/component/formComponent.ets index c8c2a504f..39b47f424 100644 --- a/arkoala-arkts/arkui/generated/component/formComponent.ets +++ b/arkoala-arkts/arkui/generated/component/formComponent.ets @@ -24,7 +24,7 @@ import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { Visibility } from "./enums" import { VoidCallback } from "./units" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -274,37 +274,37 @@ export class ArkFormComponentStyle extends ArkCommonMethodStyle implements FormC onLoad_value?: VoidCallback | undefined onUpdate_value?: ((value0: FormCallbackInfo) => void) | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public size(value: FormSize | undefined): this { + size(value: FormSize | undefined): this { return this } - public moduleName(value: string | undefined): this { + moduleName(value: string | undefined): this { return this } - public dimension(value: FormDimension | undefined): this { + dimension(value: FormDimension | undefined): this { return this } - public allowUpdate(value: boolean | undefined): this { + allowUpdate(value: boolean | undefined): this { return this } - public visibility(value: Visibility | undefined): this { + visibility(value: Visibility | undefined): this { return this } - public onAcquired(value: ((value0: FormCallbackInfo) => void) | undefined): this { + onAcquired(value: ((value0: FormCallbackInfo) => void) | undefined): this { return this } - public onError(value: ((value0: ErrorInformation) => void) | undefined): this { + onError(value: ((value0: ErrorInformation) => void) | undefined): this { return this } - public onRouter(value: ((value0: Object) => void) | undefined): this { + onRouter(value: ((value0: Object) => void) | undefined): this { return this } - public onUninstall(value: ((value0: FormCallbackInfo) => void) | undefined): this { + onUninstall(value: ((value0: FormCallbackInfo) => void) | undefined): this { return this } - public onLoad(value: VoidCallback | undefined): this { + onLoad(value: VoidCallback | undefined): this { return this } - public onUpdate(value: ((value0: FormCallbackInfo) => void) | undefined): this { + onUpdate(value: ((value0: FormCallbackInfo) => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/formLink.ets b/arkoala-arkts/arkui/generated/component/formLink.ets index 46a313ed1..10b8d2cd3 100644 --- a/arkoala-arkts/arkui/generated/component/formLink.ets +++ b/arkoala-arkts/arkui/generated/component/formLink.ets @@ -22,7 +22,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" diff --git a/arkoala-arkts/arkui/generated/component/gauge.ets b/arkoala-arkts/arkui/generated/component/gauge.ets index 9dd38038f..63bcfd070 100644 --- a/arkoala-arkts/arkui/generated/component/gauge.ets +++ b/arkoala-arkts/arkui/generated/component/gauge.ets @@ -28,7 +28,7 @@ import { ResourceColor, Length, ResourceStr, Dimension } from "./units" import { Color } from "./enums" import { Resource } from "global.resource" import { CustomBuilder } from "./builder" -import { ContentModifier, AttributeModifier, hookGaugeContentModifier, AttributeUpdater, extractors } from "#handwritten" +import { ContentModifier, AttributeModifier, hookGaugeContentModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -294,34 +294,34 @@ export class ArkGaugeStyle extends ArkCommonMethodStyle implements GaugeAttribut privacySensitive_value?: boolean | undefined contentModifier_value?: ContentModifier | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public value(value: number | undefined): this { + value(value: number | undefined): this { return this } - public startAngle(value: number | undefined): this { + startAngle(value: number | undefined): this { return this } - public endAngle(value: number | undefined): this { + endAngle(value: number | undefined): this { return this } - public colors(value: ResourceColor | LinearGradient | Array<[ ResourceColor | LinearGradient, number ]> | undefined): this { + colors(value: ResourceColor | LinearGradient | Array<[ ResourceColor | LinearGradient, number ]> | undefined): this { return this } - public strokeWidth(value: Length | undefined): this { + strokeWidth(value: Length | undefined): this { return this } - public description(value: CustomBuilder | undefined): this { + description(value: CustomBuilder | undefined): this { return this } - public trackShadow(value: GaugeShadowOptions | undefined): this { + trackShadow(value: GaugeShadowOptions | undefined): this { return this } - public indicator(value: GaugeIndicatorOptions | undefined): this { + indicator(value: GaugeIndicatorOptions | undefined): this { return this } - public privacySensitive(value: boolean | undefined): this { + privacySensitive(value: boolean | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/gesture.ets b/arkoala-arkts/arkui/generated/component/gesture.ets index b4a753151..e0180ec15 100644 --- a/arkoala-arkts/arkui/generated/component/gesture.ets +++ b/arkoala-arkts/arkui/generated/component/gesture.ets @@ -24,7 +24,6 @@ import { SourceTool, BaseEvent, BaseEventInternal } from "./common" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { InteractionHand } from "./enums" -import { extractors } from "#handwritten" export class EventTargetInfoInternal { public static fromPtr(ptr: KPointer): EventTargetInfo { return new EventTargetInfo(ptr) diff --git a/arkoala-arkts/arkui/generated/component/gesture.extra.ets b/arkoala-arkts/arkui/generated/component/gesture.extra.ets index f26cdc085..d21fbf441 100644 --- a/arkoala-arkts/arkui/generated/component/gesture.extra.ets +++ b/arkoala-arkts/arkui/generated/component/gesture.extra.ets @@ -24,7 +24,6 @@ import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { SourceTool } from "./common" -import { extractors } from "#handwritten" export interface GestureGroupInterface { onCancel(event: (() => void)): GestureGroupInterface } diff --git a/arkoala-arkts/arkui/generated/component/grid.ets b/arkoala-arkts/arkui/generated/component/grid.ets index 3d39fd767..71280c8f8 100644 --- a/arkoala-arkts/arkui/generated/component/grid.ets +++ b/arkoala-arkts/arkui/generated/component/grid.ets @@ -19,16 +19,16 @@ import { SerializerBase, DeserializerBase, nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, NativeBuffer, CallbackResource, InteropNativeModule, Tags, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" import { Scroller_serializer, OnScrollFrameBeginCallback, Scroller } from "./scroll" import { Resource_serializer } from "./../framework/resource" +import { NestedScrollOptions_serializer, EdgeEffectOptions_serializer, ArkScrollableCommonMethodPeer, ScrollableCommonMethod, OnItemDragStartCallback, ItemDragInfo, NestedScrollOptions, OnWillScrollCallback, OnScrollCallback, CommonMethod, EdgeEffectOptions, ArkScrollableCommonMethodComponent, ArkScrollableCommonMethodStyle, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" -import { ArkScrollableCommonMethodPeer, ScrollableCommonMethod, OnItemDragStartCallback, ItemDragInfo, OnWillScrollCallback, OnScrollCallback, CommonMethod, ArkScrollableCommonMethodComponent, ArkScrollableCommonMethodStyle, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { Length } from "./units" import { Resource } from "global.resource" +import { Color, BarState, ScrollSource, EdgeEffect } from "./enums" import { ScrollState } from "./list" -import { ScrollSource } from "./enums" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -136,6 +136,62 @@ export class ArkGridPeer extends ArkScrollableCommonMethodPeer { ArkUIGeneratedNativeModule._GridAttribute_setRowsGap(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + setScrollBarWidthAttribute(value: number | string | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + if (valueTmpValue instanceof number) { + thisSerializer.writeInt8((0).toChar()) + const valueTmpValueForIdx0 = valueTmpValue as number + thisSerializer.writeNumber(valueTmpValueForIdx0) + } else if (valueTmpValue instanceof string) { + thisSerializer.writeInt8((1).toChar()) + const valueTmpValueForIdx1 = valueTmpValue as string + thisSerializer.writeString(valueTmpValueForIdx1) + } + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._GridAttribute_setScrollBarWidth(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setScrollBarColorAttribute(value: Color | number | string | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + if (valueTmpValue instanceof Color) { + thisSerializer.writeInt8((0).toChar()) + const valueTmpValueForIdx0 = valueTmpValue as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(valueTmpValueForIdx0)) + } else if (valueTmpValue instanceof number) { + thisSerializer.writeInt8((1).toChar()) + const valueTmpValueForIdx1 = valueTmpValue as number + thisSerializer.writeNumber(valueTmpValueForIdx1) + } else if (valueTmpValue instanceof string) { + thisSerializer.writeInt8((2).toChar()) + const valueTmpValueForIdx2 = valueTmpValue as string + thisSerializer.writeString(valueTmpValueForIdx2) + } + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._GridAttribute_setScrollBarColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setScrollBarAttribute(value: BarState | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = (value as BarState) + thisSerializer.writeInt32(TypeChecker.BarState_ToNumeric(valueTmpValue)) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._GridAttribute_setScrollBar(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } setOnScrollBarUpdateAttribute(value: ((index: number,offset: number) => ComputedBarAttribute) | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { @@ -316,6 +372,50 @@ export class ArkGridPeer extends ArkScrollableCommonMethodPeer { ArkUIGeneratedNativeModule._GridAttribute_setOnItemDrop(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + setNestedScrollAttribute(value: NestedScrollOptions | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + NestedScrollOptions_serializer.write(thisSerializer, valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._GridAttribute_setNestedScroll(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setEnableScrollInteractionAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._GridAttribute_setEnableScrollInteraction(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setFrictionAttribute(value: number | Resource | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + if (valueTmpValue instanceof number) { + thisSerializer.writeInt8((0).toChar()) + const valueTmpValueForIdx0 = valueTmpValue as number + thisSerializer.writeNumber(valueTmpValueForIdx0) + } else if (valueTmpValue instanceof Resource) { + thisSerializer.writeInt8((1).toChar()) + const valueTmpValueForIdx1 = valueTmpValue as Resource + Resource_serializer.write(thisSerializer, valueTmpValueForIdx1) + } + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._GridAttribute_setFriction(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } setAlignItemsAttribute(value: GridItemAlignment | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { @@ -383,6 +483,25 @@ export class ArkGridPeer extends ArkScrollableCommonMethodPeer { ArkUIGeneratedNativeModule._GridAttribute_setCachedCount1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + setEdgeEffectAttribute(value: EdgeEffect | undefined, options?: EdgeEffectOptions): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = (value as EdgeEffect) + thisSerializer.writeInt32(TypeChecker.EdgeEffect_ToNumeric(valueTmpValue)) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + if (options !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const optionsTmpValue = options! + EdgeEffectOptions_serializer.write(thisSerializer, optionsTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._GridAttribute_setEdgeEffect(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } } export interface GridLayoutOptions { regularSize: [ number, number ]; @@ -421,6 +540,9 @@ export interface GridAttribute extends ScrollableCommonMethod { rowsGap(value: Length | undefined): this { throw new Error("Unimplemented method rowsGap") } + scrollBarWidth(value: number | string | undefined): this + scrollBarColor(value: Color | number | string | undefined): this + scrollBar(value: BarState | undefined): this onScrollBarUpdate(value: ((index: number,offset: number) => ComputedBarAttribute) | undefined): this { throw new Error("Unimplemented method onScrollBarUpdate") } @@ -466,6 +588,9 @@ export interface GridAttribute extends ScrollableCommonMethod { onItemDrop(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void) | undefined): this { throw new Error("Unimplemented method onItemDrop") } + nestedScroll(value: NestedScrollOptions | undefined): this + enableScrollInteraction(value: boolean | undefined): this + friction(value: number | Resource | undefined): this alignItems(value: GridItemAlignment | undefined): this { throw new Error("Unimplemented method alignItems") } @@ -481,6 +606,9 @@ export interface GridAttribute extends ScrollableCommonMethod { cachedCount(count: number | undefined, show: boolean | undefined): this { throw new Error("Unimplemented method cachedCount") } + edgeEffect(value: EdgeEffect | undefined, options?: EdgeEffectOptions): this { + throw new Error("Unimplemented method edgeEffect") + } attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { throw new Error("Unimplemented method attributeModifier") } @@ -490,6 +618,9 @@ export class ArkGridStyle extends ArkScrollableCommonMethodStyle implements Grid rowsTemplate_value?: string | undefined columnsGap_value?: Length | undefined rowsGap_value?: Length | undefined + scrollBarWidth_value?: number | string | undefined + scrollBarColor_value?: Color | number | string | undefined + scrollBar_value?: BarState | undefined onScrollBarUpdate_value?: ((index: number,offset: number) => ComputedBarAttribute) | undefined onScrollIndex_value?: ((first: number,last: number) => void) | undefined cachedCount_value?: number | undefined @@ -505,81 +636,105 @@ export class ArkGridStyle extends ArkScrollableCommonMethodStyle implements Grid onItemDragMove_value?: ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void) | undefined onItemDragLeave_value?: ((event: ItemDragInfo,itemIndex: number) => void) | undefined onItemDrop_value?: ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void) | undefined + nestedScroll_value?: NestedScrollOptions | undefined + enableScrollInteraction_value?: boolean | undefined + friction_value?: number | Resource | undefined alignItems_value?: GridItemAlignment | undefined onScrollFrameBegin_value?: OnScrollFrameBeginCallback | undefined onWillScroll_value?: OnWillScrollCallback | undefined onDidScroll_value?: OnScrollCallback | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public columnsTemplate(value: string | undefined): this { + columnsTemplate(value: string | undefined): this { return this } - public rowsTemplate(value: string | undefined): this { + rowsTemplate(value: string | undefined): this { return this } - public columnsGap(value: Length | undefined): this { + columnsGap(value: Length | undefined): this { return this } - public rowsGap(value: Length | undefined): this { + rowsGap(value: Length | undefined): this { return this } - public onScrollBarUpdate(value: ((index: number,offset: number) => ComputedBarAttribute) | undefined): this { + scrollBarWidth(value: number | string | undefined): this { return this } - public onScrollIndex(value: ((first: number,last: number) => void) | undefined): this { + scrollBarColor(value: Color | number | string | undefined): this { return this } - public cachedCount(value: number | undefined): this { + scrollBar(value: BarState | undefined): this { return this } - public editMode(value: boolean | undefined): this { + onScrollBarUpdate(value: ((index: number,offset: number) => ComputedBarAttribute) | undefined): this { return this } - public multiSelectable(value: boolean | undefined): this { + onScrollIndex(value: ((first: number,last: number) => void) | undefined): this { return this } - public maxCount(value: number | undefined): this { + cachedCount(value: number | undefined): this { return this } - public minCount(value: number | undefined): this { + editMode(value: boolean | undefined): this { return this } - public cellLength(value: number | undefined): this { + multiSelectable(value: boolean | undefined): this { return this } - public layoutDirection(value: GridDirection | undefined): this { + maxCount(value: number | undefined): this { return this } - public supportAnimation(value: boolean | undefined): this { + minCount(value: number | undefined): this { return this } - public onItemDragStart(value: OnItemDragStartCallback | undefined): this { + cellLength(value: number | undefined): this { return this } - public onItemDragEnter(value: ((event: ItemDragInfo) => void) | undefined): this { + layoutDirection(value: GridDirection | undefined): this { return this } - public onItemDragMove(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void) | undefined): this { + supportAnimation(value: boolean | undefined): this { return this } - public onItemDragLeave(value: ((event: ItemDragInfo,itemIndex: number) => void) | undefined): this { + onItemDragStart(value: OnItemDragStartCallback | undefined): this { return this } - public onItemDrop(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void) | undefined): this { + onItemDragEnter(value: ((event: ItemDragInfo) => void) | undefined): this { return this } - public alignItems(value: GridItemAlignment | undefined): this { + onItemDragMove(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void) | undefined): this { return this } - public onScrollFrameBegin(value: OnScrollFrameBeginCallback | undefined): this { + onItemDragLeave(value: ((event: ItemDragInfo,itemIndex: number) => void) | undefined): this { return this } - public onWillScroll(value: OnWillScrollCallback | undefined): this { + onItemDrop(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void) | undefined): this { return this } - public onDidScroll(value: OnScrollCallback | undefined): this { + nestedScroll(value: NestedScrollOptions | undefined): this { return this } - public cachedCount(count: number | undefined, show: boolean | undefined): this { + enableScrollInteraction(value: boolean | undefined): this { + return this + } + friction(value: number | Resource | undefined): this { + return this + } + alignItems(value: GridItemAlignment | undefined): this { + return this + } + onScrollFrameBegin(value: OnScrollFrameBeginCallback | undefined): this { + return this + } + onWillScroll(value: OnWillScrollCallback | undefined): this { + return this + } + onDidScroll(value: OnScrollCallback | undefined): this { + return this + } + cachedCount(count: number | undefined, show: boolean | undefined): this { + return this + } + edgeEffect(value: EdgeEffect | undefined, options?: EdgeEffectOptions): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { @@ -632,6 +787,30 @@ export class ArkGridComponent extends ArkScrollableCommonMethodComponent impleme } return this } + public scrollBarWidth(value: number | string | undefined): this { + if (this.checkPriority("scrollBarWidth")) { + const value_casted = value as (number | string | undefined) + this.getPeer()?.setScrollBarWidthAttribute(value_casted) + return this + } + return this + } + public scrollBarColor(value: Color | number | string | undefined): this { + if (this.checkPriority("scrollBarColor")) { + const value_casted = value as (Color | number | string | undefined) + this.getPeer()?.setScrollBarColorAttribute(value_casted) + return this + } + return this + } + public scrollBar(value: BarState | undefined): this { + if (this.checkPriority("scrollBar")) { + const value_casted = value as (BarState | undefined) + this.getPeer()?.setScrollBarAttribute(value_casted) + return this + } + return this + } public onScrollBarUpdate(value: ((index: number,offset: number) => ComputedBarAttribute) | undefined): this { if (this.checkPriority("onScrollBarUpdate")) { const value_casted = value as (((index: number,offset: number) => ComputedBarAttribute) | undefined) @@ -752,6 +931,30 @@ export class ArkGridComponent extends ArkScrollableCommonMethodComponent impleme } return this } + public nestedScroll(value: NestedScrollOptions | undefined): this { + if (this.checkPriority("nestedScroll")) { + const value_casted = value as (NestedScrollOptions | undefined) + this.getPeer()?.setNestedScrollAttribute(value_casted) + return this + } + return this + } + public enableScrollInteraction(value: boolean | undefined): this { + if (this.checkPriority("enableScrollInteraction")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setEnableScrollInteractionAttribute(value_casted) + return this + } + return this + } + public friction(value: number | Resource | undefined): this { + if (this.checkPriority("friction")) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.setFrictionAttribute(value_casted) + return this + } + return this + } public alignItems(value: GridItemAlignment | undefined): this { if (this.checkPriority("alignItems")) { const value_casted = value as (GridItemAlignment | undefined) @@ -793,6 +996,15 @@ export class ArkGridComponent extends ArkScrollableCommonMethodComponent impleme } return this } + public edgeEffect(value: EdgeEffect | undefined, options?: EdgeEffectOptions): this { + if (this.checkPriority("edgeEffect")) { + const value_casted = value as (EdgeEffect | undefined) + const options_casted = options as (EdgeEffectOptions | undefined) + this.getPeer()?.setEdgeEffectAttribute(value_casted, options_casted) + return this + } + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { return this } diff --git a/arkoala-arkts/arkui/generated/component/gridCol.ets b/arkoala-arkts/arkui/generated/component/gridCol.ets index 0b016ddd1..e5a6494c1 100644 --- a/arkoala-arkts/arkui/generated/component/gridCol.ets +++ b/arkoala-arkts/arkui/generated/component/gridCol.ets @@ -22,7 +22,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -144,13 +144,13 @@ export class ArkGridColStyle extends ArkCommonMethodStyle implements GridColAttr gridColOffset_value?: number | GridColColumnOption | undefined order_value?: number | GridColColumnOption | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public span(value: number | GridColColumnOption | undefined): this { + span(value: number | GridColColumnOption | undefined): this { return this } - public gridColOffset(value: number | GridColColumnOption | undefined): this { + gridColOffset(value: number | GridColColumnOption | undefined): this { return this } - public order(value: number | GridColColumnOption | undefined): this { + order(value: number | GridColColumnOption | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/gridItem.ets b/arkoala-arkts/arkui/generated/component/gridItem.ets index 8dbb73291..2c763194e 100644 --- a/arkoala-arkts/arkui/generated/component/gridItem.ets +++ b/arkoala-arkts/arkui/generated/component/gridItem.ets @@ -22,7 +22,7 @@ import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -186,25 +186,25 @@ export class ArkGridItemStyle extends ArkCommonMethodStyle implements GridItemAt selected_value?: boolean | Bindable | undefined onSelect_value?: ((isSelected: boolean) => void) | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public rowStart(value: number | undefined): this { + rowStart(value: number | undefined): this { return this } - public rowEnd(value: number | undefined): this { + rowEnd(value: number | undefined): this { return this } - public columnStart(value: number | undefined): this { + columnStart(value: number | undefined): this { return this } - public columnEnd(value: number | undefined): this { + columnEnd(value: number | undefined): this { return this } - public selectable(value: boolean | undefined): this { + selectable(value: boolean | undefined): this { return this } - public selected(value: boolean | Bindable | undefined): this { + selected(value: boolean | Bindable | undefined): this { return this } - public onSelect(value: ((isSelected: boolean) => void) | undefined): this { + onSelect(value: ((isSelected: boolean) => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/gridRow.ets b/arkoala-arkts/arkui/generated/component/gridRow.ets index d1346023b..856cd9c4c 100644 --- a/arkoala-arkts/arkui/generated/component/gridRow.ets +++ b/arkoala-arkts/arkui/generated/component/gridRow.ets @@ -23,7 +23,7 @@ import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { ItemAlign } from "./enums" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -137,10 +137,10 @@ export class ArkGridRowStyle extends ArkCommonMethodStyle implements GridRowAttr onBreakpointChange_value?: ((breakpoints: string) => void) | undefined alignItems_value?: ItemAlign | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onBreakpointChange(value: ((breakpoints: string) => void) | undefined): this { + onBreakpointChange(value: ((breakpoints: string) => void) | undefined): this { return this } - public alignItems(value: ItemAlign | undefined): this { + alignItems(value: ItemAlign | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/hyperlink.ets b/arkoala-arkts/arkui/generated/component/hyperlink.ets index f7511388e..f6869c2c5 100644 --- a/arkoala-arkts/arkui/generated/component/hyperlink.ets +++ b/arkoala-arkts/arkui/generated/component/hyperlink.ets @@ -111,7 +111,7 @@ export interface HyperlinkAttribute extends CommonMethod { export class ArkHyperlinkStyle extends ArkCommonMethodStyle implements HyperlinkAttribute { color_value?: Color | number | string | Resource | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public color(value: Color | number | string | Resource | undefined): this { + color(value: Color | number | string | Resource | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/idlize.ets b/arkoala-arkts/arkui/generated/component/idlize.ets index 9f42b1f54..8d271d89f 100644 --- a/arkoala-arkts/arkui/generated/component/idlize.ets +++ b/arkoala-arkts/arkui/generated/component/idlize.ets @@ -25,7 +25,7 @@ import { Resource_serializer } from "./../framework/resource" import { SizeOptions_serializer, Length, SizeOptions, Position_serializer, Position, ResourceColor, ResourceStr, ConstraintSizeOptions } from "./units" import { Resource } from "global.resource" import { Color } from "./enums" -import { ContentModifier, AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { ContentModifier, extractors, AttributeModifier, AttributeUpdater } from "#handwritten" import { ButtonConfiguration } from "./button" import { CheckBoxConfiguration } from "./checkbox" import { DataPanelConfiguration } from "./dataPanel" @@ -39,7 +39,7 @@ import { SliderConfiguration } from "./slider" import { TextClockConfiguration } from "./textClock" import { TextTimerConfiguration } from "./textTimer" import { ToggleConfiguration } from "./toggle" -import { image } from "./../framework/ohos.multimedia.image" +import { image } from "@ohos.multimedia.image" import { FontOptions_serializer, FontInfo_serializer } from "./../framework/ohos.font" import { FontOptions, FontInfo } from "@ohos.font" import { MeasureOptions_serializer, MeasureOptions } from "./../framework/ohos.measure" @@ -1188,13 +1188,13 @@ export class RestrictedWorker implements MaterializedBase { } private on_serialize(Type: string, listener: WorkerEventListener): void { const thisSerializer : SerializerBase = SerializerBase.hold() - WorkerEventListener_serializer.write(thisSerializer, listener) + thisSerializer.holdAndWriteCallback(listener) ArkUIGeneratedNativeModule._RestrictedWorker_on(this.peer!.ptr, Type, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } private once_serialize(Type: string, listener: WorkerEventListener): void { const thisSerializer : SerializerBase = SerializerBase.hold() - WorkerEventListener_serializer.write(thisSerializer, listener) + thisSerializer.holdAndWriteCallback(listener) ArkUIGeneratedNativeModule._RestrictedWorker_once(this.peer!.ptr, Type, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } @@ -1203,7 +1203,7 @@ export class RestrictedWorker implements MaterializedBase { if (listener !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) const listenerTmpValue = listener! - WorkerEventListener_serializer.write(thisSerializer, listenerTmpValue) + thisSerializer.holdAndWriteCallback(listenerTmpValue) } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } @@ -1215,7 +1215,7 @@ export class RestrictedWorker implements MaterializedBase { } private addEventListener_serialize(Type: string, listener: WorkerEventListener): void { const thisSerializer : SerializerBase = SerializerBase.hold() - WorkerEventListener_serializer.write(thisSerializer, listener) + thisSerializer.holdAndWriteCallback(listener) ArkUIGeneratedNativeModule._RestrictedWorker_addEventListener(this.peer!.ptr, Type, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } @@ -1231,7 +1231,7 @@ export class RestrictedWorker implements MaterializedBase { if (callback_ !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) const callback_TmpValue = callback_! - WorkerEventListener_serializer.write(thisSerializer, callback_TmpValue) + thisSerializer.holdAndWriteCallback(callback_TmpValue) } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } @@ -1786,7 +1786,7 @@ export interface ErrorEvent extends Event { export interface MessageEvents extends Event { readonly data: object; } -export type WorkerEventListener = (event: Event) => Promise; +export type WorkerEventListener = (event: Event) => void; export interface PostMessageOptions { transfer?: Array; } @@ -1881,10 +1881,10 @@ export interface CustomLayoutRoot { export class ArkCustomLayoutRootStyle implements CustomLayoutRoot { subscribeOnMeasureSize_value?: Callback_onMeasureSize_SizeResult subscribeOnPlaceChildren_value?: Callback_onPlaceChildren_Void - public subscribeOnMeasureSize(value: Callback_onMeasureSize_SizeResult): this { + subscribeOnMeasureSize(value: Callback_onMeasureSize_SizeResult): this { return this } - public subscribeOnPlaceChildren(value: Callback_onPlaceChildren_Void): this { + subscribeOnPlaceChildren(value: Callback_onPlaceChildren_Void): this { return this } public attributeModifier(value: AttributeModifier | undefined): this { @@ -2093,13 +2093,6 @@ export class TranslateResult_serializer { return value } } -export class WorkerEventListener_serializer { - public static write(buffer: SerializerBase, value: WorkerEventListener): void { - } - public static read(buffer: DeserializerBase): WorkerEventListener { - throw new Error("Interface with functions is not supported") - } -} export class BuilderNodeOptions_serializer { public static write(buffer: SerializerBase, value: BuilderNodeOptions): void { let valueSerializer : SerializerBase = buffer diff --git a/arkoala-arkts/arkui/generated/component/image.ets b/arkoala-arkts/arkui/generated/component/image.ets index e89dcf3b4..794eb3890 100644 --- a/arkoala-arkts/arkui/generated/component/image.ets +++ b/arkoala-arkts/arkui/generated/component/image.ets @@ -20,7 +20,7 @@ import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, runtimeType, RuntimeType, SerializerBase, DeserializerBase, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, nullptr, KInt, KBoolean, KStringPtr, CallbackResource, InteropNativeModule, Tags, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./../CallbackTransformer" -import { image_PixelMap_serializer, image } from "./../framework/ohos.multimedia.image" +import { image_PixelMap_serializer } from "./../framework/ohos.multimedia.image" import { Resource_serializer } from "./../framework/resource" import { DrawableDescriptor_serializer, DrawableDescriptor } from "./../framework/ohos.arkui.drawableDescriptor" import { ImageAIOptions_serializer, ImageAnalyzerConfig_serializer, ImageAnalyzerConfig, ImageAIOptions } from "./imageCommon" @@ -32,8 +32,9 @@ import { PointLightStyle_serializer, ArkCommonMethodPeer, CommonMethod, PointLig import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { Resource } from "global.resource" +import { extractors, AttributeModifier, AttributeUpdater } from "#handwritten" +import { image } from "@ohos.multimedia.image" import { Color, ImageFit, ImageRepeat, CopyOptions } from "./enums" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" @@ -680,85 +681,85 @@ export class ArkImageStyle extends ArkCommonMethodStyle implements ImageAttribut enhancedImageQuality_value?: image.ResolutionQuality | undefined orientation_value?: ImageRotateOrientation | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public alt(value: string | Resource | image.PixelMap | undefined): this { + alt(value: string | Resource | image.PixelMap | undefined): this { return this } - public matchTextDirection(value: boolean | undefined): this { + matchTextDirection(value: boolean | undefined): this { return this } - public fitOriginalSize(value: boolean | undefined): this { + fitOriginalSize(value: boolean | undefined): this { return this } - public fillColor(value: ResourceColor | ColorContent | ColorMetrics | undefined): this { + fillColor(value: ResourceColor | ColorContent | ColorMetrics | undefined): this { return this } - public objectFit(value: ImageFit | undefined): this { + objectFit(value: ImageFit | undefined): this { return this } - public imageMatrix(value: matrix4.Matrix4Transit | undefined): this { + imageMatrix(value: matrix4.Matrix4Transit | undefined): this { return this } - public objectRepeat(value: ImageRepeat | undefined): this { + objectRepeat(value: ImageRepeat | undefined): this { return this } - public autoResize(value: boolean | undefined): this { + autoResize(value: boolean | undefined): this { return this } - public renderMode(value: ImageRenderMode | undefined): this { + renderMode(value: ImageRenderMode | undefined): this { return this } - public dynamicRangeMode(value: DynamicRangeMode | undefined): this { + dynamicRangeMode(value: DynamicRangeMode | undefined): this { return this } - public interpolation(value: ImageInterpolation | undefined): this { + interpolation(value: ImageInterpolation | undefined): this { return this } - public sourceSize(value: ImageSourceSize | undefined): this { + sourceSize(value: ImageSourceSize | undefined): this { return this } - public syncLoad(value: boolean | undefined): this { + syncLoad(value: boolean | undefined): this { return this } - public colorFilter(value: ColorFilter | drawing.ColorFilter | undefined): this { + colorFilter(value: ColorFilter | drawing.ColorFilter | undefined): this { return this } - public copyOption(value: CopyOptions | undefined): this { + copyOption(value: CopyOptions | undefined): this { return this } - public draggable(value: boolean | undefined): this { + draggable(value: boolean | undefined): this { return this } - public pointLight(value: PointLightStyle | undefined): this { + pointLight(value: PointLightStyle | undefined): this { return this } - public edgeAntialiasing(value: number | undefined): this { + edgeAntialiasing(value: number | undefined): this { return this } - public onComplete(value: ImageOnCompleteCallback | undefined): this { + onComplete(value: ImageOnCompleteCallback | undefined): this { return this } - public onError(value: ImageErrorCallback | undefined): this { + onError(value: ImageErrorCallback | undefined): this { return this } - public onFinish(value: (() => void) | undefined): this { + onFinish(value: (() => void) | undefined): this { return this } - public enableAnalyzer(value: boolean | undefined): this { + enableAnalyzer(value: boolean | undefined): this { return this } - public analyzerConfig(value: ImageAnalyzerConfig | undefined): this { + analyzerConfig(value: ImageAnalyzerConfig | undefined): this { return this } - public resizable(value: ResizableOptions | undefined): this { + resizable(value: ResizableOptions | undefined): this { return this } - public privacySensitive(value: boolean | undefined): this { + privacySensitive(value: boolean | undefined): this { return this } - public enhancedImageQuality(value: image.ResolutionQuality | undefined): this { + enhancedImageQuality(value: image.ResolutionQuality | undefined): this { return this } - public orientation(value: ImageRotateOrientation | undefined): this { + orientation(value: ImageRotateOrientation | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -782,16 +783,16 @@ export class ArkImageComponent extends ArkCommonMethodComponent implements Image getPeer(): ArkImagePeer { return (this.peer as ArkImagePeer) } - public setImageOptions(src: image.PixelMap | ResourceStr | DrawableDescriptor | ImageContent): this { - if (this.checkPriority("setImageOptions")) { + public setImageOptions0(src: image.PixelMap | ResourceStr | DrawableDescriptor | ImageContent): this { + if (this.checkPriority("setImageOptions0")) { const src_casted = src as (image.PixelMap | ResourceStr | DrawableDescriptor | ImageContent) this.getPeer()?.setImageOptions0Attribute(src_casted) return this } return this } - public setImageOptions(src: image.PixelMap | ResourceStr | DrawableDescriptor, imageAIOptions: ImageAIOptions): this { - if (this.checkPriority("setImageOptions")) { + public setImageOptions1(src: image.PixelMap | ResourceStr | DrawableDescriptor, imageAIOptions: ImageAIOptions): this { + if (this.checkPriority("setImageOptions1")) { const src_casted = src as (image.PixelMap | ResourceStr | DrawableDescriptor) const imageAIOptions_casted = imageAIOptions as (ImageAIOptions) this.getPeer()?.setImageOptions1Attribute(src_casted, imageAIOptions_casted) @@ -1036,7 +1037,7 @@ export function Image( return new ArkImageComponent() }) NodeAttach((): ArkImagePeer => ArkImagePeer.create(receiver), (_: ArkImagePeer): void => { - receiver.setImageOptions(src) + receiver.setImageOptions0(src) style?.(receiver) content_?.() receiver.applyAttributesFinish() @@ -1056,7 +1057,7 @@ export function Image( return new ArkImageComponent() }) NodeAttach((): ArkImagePeer => ArkImagePeer.create(receiver), (_: ArkImagePeer): void => { - receiver.setImageOptions(src,imageAIOptions) + receiver.setImageOptions1(src,imageAIOptions) style?.(receiver) content_?.() receiver.applyAttributesFinish() diff --git a/arkoala-arkts/arkui/generated/component/imageAnimator.ets b/arkoala-arkts/arkui/generated/component/imageAnimator.ets index 5480e6ec7..fb663488e 100644 --- a/arkoala-arkts/arkui/generated/component/imageAnimator.ets +++ b/arkoala-arkts/arkui/generated/component/imageAnimator.ets @@ -23,15 +23,16 @@ import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { AnimationStatus, FillMode } from "./enums" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, extractors, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { Resource } from "global.resource" -import { image, image_PixelMap_serializer } from "./../framework/ohos.multimedia.image" +import { image } from "@ohos.multimedia.image" import { NodeAttach, remember } from "@koalaui/runtime" import { Resource_serializer } from "./../framework/resource" +import { image_PixelMap_serializer } from "./../framework/ohos.multimedia.image" export class ArkImageAnimatorPeer extends ArkCommonMethodPeer { protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { super(peerPtr, id, name, flags) @@ -274,43 +275,43 @@ export class ArkImageAnimatorStyle extends ArkCommonMethodStyle implements Image onCancel_value?: (() => void) | undefined onFinish_value?: (() => void) | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public images(value: Array | undefined): this { + images(value: Array | undefined): this { return this } - public state(value: AnimationStatus | undefined): this { + state(value: AnimationStatus | undefined): this { return this } - public duration(value: number | undefined): this { + duration(value: number | undefined): this { return this } - public reverse(value: boolean | undefined): this { + reverse(value: boolean | undefined): this { return this } - public fixedSize(value: boolean | undefined): this { + fixedSize(value: boolean | undefined): this { return this } - public fillMode(value: FillMode | undefined): this { + fillMode(value: FillMode | undefined): this { return this } - public iterations(value: number | undefined): this { + iterations(value: number | undefined): this { return this } - public monitorInvisibleArea(value: boolean | undefined): this { + monitorInvisibleArea(value: boolean | undefined): this { return this } - public onStart(value: (() => void) | undefined): this { + onStart(value: (() => void) | undefined): this { return this } - public onPause(value: (() => void) | undefined): this { + onPause(value: (() => void) | undefined): this { return this } - public onRepeat(value: (() => void) | undefined): this { + onRepeat(value: (() => void) | undefined): this { return this } - public onCancel(value: (() => void) | undefined): this { + onCancel(value: (() => void) | undefined): this { return this } - public onFinish(value: (() => void) | undefined): this { + onFinish(value: (() => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/imageCommon.ets b/arkoala-arkts/arkui/generated/component/imageCommon.ets index b375e0d2b..dc0a36089 100644 --- a/arkoala-arkts/arkui/generated/component/imageCommon.ets +++ b/arkoala-arkts/arkui/generated/component/imageCommon.ets @@ -22,7 +22,6 @@ import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { extractors } from "#handwritten" export class ImageAnalyzerControllerInternal { public static fromPtr(ptr: KPointer): ImageAnalyzerController { return new ImageAnalyzerController(ptr) diff --git a/arkoala-arkts/arkui/generated/component/imageSpan.ets b/arkoala-arkts/arkui/generated/component/imageSpan.ets index 66bc28a32..a0e531e5e 100644 --- a/arkoala-arkts/arkui/generated/component/imageSpan.ets +++ b/arkoala-arkts/arkui/generated/component/imageSpan.ets @@ -18,7 +18,7 @@ import { SerializerBase, DeserializerBase, nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, NativeBuffer, CallbackResource, InteropNativeModule, Tags, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" import { Resource_serializer } from "./../framework/resource" -import { image_PixelMap_serializer, image } from "./../framework/ohos.multimedia.image" +import { image_PixelMap_serializer } from "./../framework/ohos.multimedia.image" import { ColorFilter_serializer, ColorFilter, ResourceStr } from "./units" import { drawing_ColorFilter_serializer, drawing } from "./../framework/ohos.graphics.drawing" import { int32, int64, float32, unsafeCast } from "@koalaui/common" @@ -28,7 +28,8 @@ import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkBaseSpanPeer, BaseSpan, ArkBaseSpanComponent, ArkBaseSpanStyle } from "./span" import { ImageSpanAlignment, ImageFit } from "./enums" import { ImageErrorCallback, ImageError } from "./image" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { extractors, AttributeModifier, AttributeUpdater } from "#handwritten" +import { image } from "@ohos.multimedia.image" import { CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { Resource } from "global.resource" import { CallbackKind } from "./../framework/peers/CallbackKind" @@ -181,22 +182,22 @@ export class ArkImageSpanStyle extends ArkBaseSpanStyle implements ImageSpanAttr onError_value?: ImageErrorCallback | undefined alt_value?: image.PixelMap | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public verticalAlign(value: ImageSpanAlignment | undefined): this { + verticalAlign(value: ImageSpanAlignment | undefined): this { return this } - public colorFilter(value: ColorFilter | drawing.ColorFilter | undefined): this { + colorFilter(value: ColorFilter | drawing.ColorFilter | undefined): this { return this } - public objectFit(value: ImageFit | undefined): this { + objectFit(value: ImageFit | undefined): this { return this } - public onComplete(value: ImageCompleteCallback | undefined): this { + onComplete(value: ImageCompleteCallback | undefined): this { return this } - public onError(value: ImageErrorCallback | undefined): this { + onError(value: ImageErrorCallback | undefined): this { return this } - public alt(value: image.PixelMap | undefined): this { + alt(value: image.PixelMap | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/indicatorcomponent.ets b/arkoala-arkts/arkui/generated/component/indicatorcomponent.ets index e253d5826..41d2586f3 100644 --- a/arkoala-arkts/arkui/generated/component/indicatorcomponent.ets +++ b/arkoala-arkts/arkui/generated/component/indicatorcomponent.ets @@ -24,10 +24,10 @@ import { DotIndicator_serializer, DigitIndicator_serializer, DotIndicator, Digit import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { NodeAttach, remember } from "@koalaui/runtime" export class IndicatorComponentControllerInternal { public static fromPtr(ptr: KPointer): IndicatorComponentController { @@ -219,23 +219,22 @@ export class ArkIndicatorComponentStyle extends ArkCommonMethodStyle implements loop_value?: boolean | undefined vertical_value?: boolean | undefined onChange_value?: ((value0: number) => void) | undefined - attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public initialIndex(value: number | undefined): this { + initialIndex(value: number | undefined): this { return this } - public count(value: number | undefined): this { + count(value: number | undefined): this { return this } - public style(value: DotIndicator | DigitIndicator | undefined): this { + style(value: DotIndicator | DigitIndicator | undefined): this { return this } - public loop(value: boolean | undefined): this { + loop(value: boolean | undefined): this { return this } - public vertical(value: boolean | undefined): this { + vertical(value: boolean | undefined): this { return this } - public onChange(value: ((value0: number) => void) | undefined): this { + onChange(value: ((value0: number) => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/inspector.ets b/arkoala-arkts/arkui/generated/component/inspector.ets index 7790279fa..529a21b88 100644 --- a/arkoala-arkts/arkui/generated/component/inspector.ets +++ b/arkoala-arkts/arkui/generated/component/inspector.ets @@ -25,7 +25,7 @@ export function setAppBgColor(value: string): void { GlobalScope.setAppBgColor(value) } export namespace Profiler { - export function registerVsyncCallback(callback_: ((info: string) => void)): void { + export function registerVsyncCallback(callback_: ((value0: string) => void)): void { GlobalScope.Profiler_registerVsyncCallback(callback_) } export function unregisterVsyncCallback(): void { diff --git a/arkoala-arkts/arkui/generated/component/line.ets b/arkoala-arkts/arkui/generated/component/line.ets index 4eb6a0921..2a6e74a7b 100644 --- a/arkoala-arkts/arkui/generated/component/line.ets +++ b/arkoala-arkts/arkui/generated/component/line.ets @@ -25,7 +25,7 @@ import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonShapeMethodPeer, CommonShapeMethod, CommonMethod, ArkCommonShapeMethodComponent, ArkCommonShapeMethodStyle, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { Length } from "./units" import { Resource } from "global.resource" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -138,6 +138,8 @@ export type ShapePoint = [ Length ] export interface LineOptions { + width?: string | double; + height?: string | double; } export interface LineAttribute extends CommonShapeMethod { startPoint(value: ShapePoint | undefined): this { @@ -154,10 +156,10 @@ export class ArkLineStyle extends ArkCommonShapeMethodStyle implements LineAttri startPoint_value?: ShapePoint | undefined endPoint_value?: ShapePoint | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public startPoint(value: ShapePoint | undefined): this { + startPoint(value: ShapePoint | undefined): this { return this } - public endPoint(value: ShapePoint | undefined): this { + endPoint(value: ShapePoint | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { @@ -223,9 +225,73 @@ export function Line( export class LineOptions_serializer { public static write(buffer: SerializerBase, value: LineOptions): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForWidth = value.width + if (valueHolderForWidth !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForWidthTmpValue = valueHolderForWidth! + if (valueHolderForWidthTmpValue instanceof string) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue as string + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx0) + } else if (valueHolderForWidthTmpValue instanceof double) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue as double + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx1) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForHeight = value.height + if (valueHolderForHeight !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForHeightTmpValue = valueHolderForHeight! + if (valueHolderForHeightTmpValue instanceof string) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue as string + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx0) + } else if (valueHolderForHeightTmpValue instanceof double) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue as double + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx1) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } } public static read(buffer: DeserializerBase): LineOptions { - let value : LineOptions = ({} as LineOptions) + let valueDeserializer : DeserializerBase = buffer + const widthTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let widthTmpBuf : string | double | undefined + if ((widthTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const widthTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() + let widthTmpBuf_ : string | double | undefined + if (widthTmpBuf_UnionSelector == (0).toChar()) { + widthTmpBuf_ = (valueDeserializer.readString() as string) + } else if (widthTmpBuf_UnionSelector == (1).toChar()) { + widthTmpBuf_ = valueDeserializer.readFloat64() + } else { + throw new Error("One of the branches for widthTmpBuf_ has to be chosen through deserialisation.") + } + widthTmpBuf = (widthTmpBuf_ as string | double) + } + const widthTmpResult : string | double | undefined = widthTmpBuf + const heightTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let heightTmpBuf : string | double | undefined + if ((heightTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const heightTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() + let heightTmpBuf_ : string | double | undefined + if (heightTmpBuf_UnionSelector == (0).toChar()) { + heightTmpBuf_ = (valueDeserializer.readString() as string) + } else if (heightTmpBuf_UnionSelector == (1).toChar()) { + heightTmpBuf_ = valueDeserializer.readFloat64() + } else { + throw new Error("One of the branches for heightTmpBuf_ has to be chosen through deserialisation.") + } + heightTmpBuf = (heightTmpBuf_ as string | double) + } + const heightTmpResult : string | double | undefined = heightTmpBuf + let value : LineOptions = ({width: widthTmpResult, height: heightTmpResult} as LineOptions) return value } } diff --git a/arkoala-arkts/arkui/generated/component/linearindicator.ets b/arkoala-arkts/arkui/generated/component/linearindicator.ets index 1691da3a0..6e3c6899a 100644 --- a/arkoala-arkts/arkui/generated/component/linearindicator.ets +++ b/arkoala-arkts/arkui/generated/component/linearindicator.ets @@ -23,7 +23,7 @@ import { CallbackTransformer } from "./../CallbackTransformer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" @@ -190,13 +190,13 @@ export class ArkLinearIndicatorStyle extends ArkCommonMethodStyle implements Lin indicatorLoop_value?: boolean | undefined onChange_value?: OnLinearIndicatorChangeCallback | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public indicatorStyle(value: LinearIndicatorStyle | undefined): this { + indicatorStyle(value: LinearIndicatorStyle | undefined): this { return this } - public indicatorLoop(value: boolean | undefined): this { + indicatorLoop(value: boolean | undefined): this { return this } - public onChange(value: OnLinearIndicatorChangeCallback | undefined): this { + onChange(value: OnLinearIndicatorChangeCallback | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/list.ets b/arkoala-arkts/arkui/generated/component/list.ets index d7c9bb9c9..490c18a41 100644 --- a/arkoala-arkts/arkui/generated/component/list.ets +++ b/arkoala-arkts/arkui/generated/component/list.ets @@ -26,7 +26,7 @@ import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { Axis, ScrollSource, Color } from "./enums" import { OnScrollFrameBeginCallback, Scroller, Scroller_serializer, ScrollerInternal, ScrollAlign } from "./scroll" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { Resource } from "global.resource" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" @@ -597,85 +597,85 @@ export class ArkListStyle extends ArkScrollableCommonMethodStyle implements List onWillScroll_value?: OnWillScrollCallback | undefined onDidScroll_value?: OnScrollCallback | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public alignListItem(value: ListItemAlign | undefined): this { + alignListItem(value: ListItemAlign | undefined): this { return this } - public listDirection(value: Axis | undefined): this { + listDirection(value: Axis | undefined): this { return this } - public contentStartOffset(value: number | undefined): this { + contentStartOffset(value: number | undefined): this { return this } - public contentEndOffset(value: number | undefined): this { + contentEndOffset(value: number | undefined): this { return this } - public divider(value: ListDividerOptions | undefined): this { + divider(value: ListDividerOptions | undefined): this { return this } - public multiSelectable(value: boolean | undefined): this { + multiSelectable(value: boolean | undefined): this { return this } - public cachedCount(value: number | undefined): this { + cachedCount(value: number | undefined): this { return this } - public chainAnimation(value: boolean | undefined): this { + chainAnimation(value: boolean | undefined): this { return this } - public chainAnimationOptions(value: ChainAnimationOptions | undefined): this { + chainAnimationOptions(value: ChainAnimationOptions | undefined): this { return this } - public sticky(value: StickyStyle | undefined): this { + sticky(value: StickyStyle | undefined): this { return this } - public scrollSnapAlign(value: ScrollSnapAlign | undefined): this { + scrollSnapAlign(value: ScrollSnapAlign | undefined): this { return this } - public childrenMainSize(value: ChildrenMainSize | undefined): this { + childrenMainSize(value: ChildrenMainSize | undefined): this { return this } - public maintainVisibleContentPosition(value: boolean | undefined): this { + maintainVisibleContentPosition(value: boolean | undefined): this { return this } - public stackFromEnd(value: boolean | undefined): this { + stackFromEnd(value: boolean | undefined): this { return this } - public onScrollIndex(value: ((start: number,end: number,center: number) => void) | undefined): this { + onScrollIndex(value: ((start: number,end: number,center: number) => void) | undefined): this { return this } - public onScrollVisibleContentChange(value: OnScrollVisibleContentChangeCallback | undefined): this { + onScrollVisibleContentChange(value: OnScrollVisibleContentChangeCallback | undefined): this { return this } - public onItemMove(value: ((from: number,to: number) => boolean) | undefined): this { + onItemMove(value: ((from: number,to: number) => boolean) | undefined): this { return this } - public onItemDragStart(value: OnItemDragStartCallback | undefined): this { + onItemDragStart(value: OnItemDragStartCallback | undefined): this { return this } - public onItemDragEnter(value: ((event: ItemDragInfo) => void) | undefined): this { + onItemDragEnter(value: ((event: ItemDragInfo) => void) | undefined): this { return this } - public onItemDragMove(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void) | undefined): this { + onItemDragMove(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void) | undefined): this { return this } - public onItemDragLeave(value: ((event: ItemDragInfo,itemIndex: number) => void) | undefined): this { + onItemDragLeave(value: ((event: ItemDragInfo,itemIndex: number) => void) | undefined): this { return this } - public onItemDrop(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void) | undefined): this { + onItemDrop(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void) | undefined): this { return this } - public onScrollFrameBegin(value: OnScrollFrameBeginCallback | undefined): this { + onScrollFrameBegin(value: OnScrollFrameBeginCallback | undefined): this { return this } - public onWillScroll(value: OnWillScrollCallback | undefined): this { + onWillScroll(value: OnWillScrollCallback | undefined): this { return this } - public onDidScroll(value: OnScrollCallback | undefined): this { + onDidScroll(value: OnScrollCallback | undefined): this { return this } - public lanes(value: number | LengthConstrain | undefined, gutter?: Dimension): this { + lanes(value: number | LengthConstrain | undefined, gutter?: Dimension): this { return this } - public cachedCount(count: number | undefined, show: boolean | undefined): this { + cachedCount(count: number | undefined, show: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/listItem.ets b/arkoala-arkts/arkui/generated/component/listItem.ets index bf82b46e3..7a60e6164 100644 --- a/arkoala-arkts/arkui/generated/component/listItem.ets +++ b/arkoala-arkts/arkui/generated/component/listItem.ets @@ -22,7 +22,7 @@ import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -169,16 +169,16 @@ export class ArkListItemStyle extends ArkCommonMethodStyle implements ListItemAt swipeAction_value?: SwipeActionOptions | undefined onSelect_value?: ((isSelected: boolean) => void) | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public selectable(value: boolean | undefined): this { + selectable(value: boolean | undefined): this { return this } - public selected(value: boolean | Bindable | undefined): this { + selected(value: boolean | Bindable | undefined): this { return this } - public swipeAction(value: SwipeActionOptions | undefined): this { + swipeAction(value: SwipeActionOptions | undefined): this { return this } - public onSelect(value: ((isSelected: boolean) => void) | undefined): this { + onSelect(value: ((isSelected: boolean) => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/listItemGroup.ets b/arkoala-arkts/arkui/generated/component/listItemGroup.ets index 47a1ee1b7..382740bca 100644 --- a/arkoala-arkts/arkui/generated/component/listItemGroup.ets +++ b/arkoala-arkts/arkui/generated/component/listItemGroup.ets @@ -23,7 +23,7 @@ import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -106,10 +106,10 @@ export class ArkListItemGroupStyle extends ArkCommonMethodStyle implements ListI divider_value?: ListDividerOptions | undefined childrenMainSize_value?: ChildrenMainSize | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public divider(value: ListDividerOptions | undefined): this { + divider(value: ListDividerOptions | undefined): this { return this } - public childrenMainSize(value: ChildrenMainSize | undefined): this { + childrenMainSize(value: ChildrenMainSize | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/loadingProgress.ets b/arkoala-arkts/arkui/generated/component/loadingProgress.ets index d7ad6bb2d..0d08bbc0f 100644 --- a/arkoala-arkts/arkui/generated/component/loadingProgress.ets +++ b/arkoala-arkts/arkui/generated/component/loadingProgress.ets @@ -26,7 +26,7 @@ import { ArkCommonMethodPeer, CommonMethod, CommonConfiguration, ArkCommonMethod import { ResourceColor } from "./units" import { Color } from "./enums" import { Resource } from "global.resource" -import { ContentModifier, AttributeModifier, hookLoadingProgressContentModifier, AttributeUpdater, extractors } from "#handwritten" +import { ContentModifier, AttributeModifier, hookLoadingProgressContentModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -114,13 +114,13 @@ export class ArkLoadingProgressStyle extends ArkCommonMethodStyle implements Loa enableLoading_value?: boolean | undefined contentModifier_value?: ContentModifier | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public color(value: ResourceColor | undefined): this { + color(value: ResourceColor | undefined): this { return this } - public enableLoading(value: boolean | undefined): this { + enableLoading(value: boolean | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/marquee.ets b/arkoala-arkts/arkui/generated/component/marquee.ets index 8b4c60005..df3273f5c 100644 --- a/arkoala-arkts/arkui/generated/component/marquee.ets +++ b/arkoala-arkts/arkui/generated/component/marquee.ets @@ -26,7 +26,7 @@ import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonM import { ResourceColor, Length } from "./units" import { Color, FontWeight, MarqueeUpdateStrategy } from "./enums" import { Resource } from "global.resource" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -256,31 +256,31 @@ export class ArkMarqueeStyle extends ArkCommonMethodStyle implements MarqueeAttr onBounce_value?: (() => void) | undefined onFinish_value?: (() => void) | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public fontSize(value: Length | undefined): this { + fontSize(value: Length | undefined): this { return this } - public allowScale(value: boolean | undefined): this { + allowScale(value: boolean | undefined): this { return this } - public fontWeight(value: number | FontWeight | string | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { return this } - public fontFamily(value: string | Resource | undefined): this { + fontFamily(value: string | Resource | undefined): this { return this } - public marqueeUpdateStrategy(value: MarqueeUpdateStrategy | undefined): this { + marqueeUpdateStrategy(value: MarqueeUpdateStrategy | undefined): this { return this } - public onStart(value: (() => void) | undefined): this { + onStart(value: (() => void) | undefined): this { return this } - public onBounce(value: (() => void) | undefined): this { + onBounce(value: (() => void) | undefined): this { return this } - public onFinish(value: (() => void) | undefined): this { + onFinish(value: (() => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/matrix2d.ets b/arkoala-arkts/arkui/generated/component/matrix2d.ets index a7b491c06..cf644e458 100644 --- a/arkoala-arkts/arkui/generated/component/matrix2d.ets +++ b/arkoala-arkts/arkui/generated/component/matrix2d.ets @@ -21,7 +21,6 @@ import { LengthMetricsUnit } from "./../Graphics" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./../CallbackTransformer" -import { extractors } from "#handwritten" export class Matrix2DInternal { public static fromPtr(ptr: KPointer): Matrix2D { return new Matrix2D(false, ptr) @@ -36,43 +35,37 @@ export class Matrix2D implements MaterializedBase { return this.getScaleX() } set scaleX(scaleX: number | undefined) { - const scaleX_NonNull = (scaleX as number | undefined) - this.setScaleX(scaleX_NonNull) + this.setScaleX(scaleX) } - get rotateY(): number | undefined { - return this.getRotateY() + get scaleY(): number | undefined { + return this.getScaleY() } - set rotateY(rotateY: number | undefined) { - const rotateY_NonNull = (rotateY as number | undefined) - this.setRotateY(rotateY_NonNull) + set scaleY(scaleY: number | undefined) { + this.setScaleY(scaleY) } get rotateX(): number | undefined { return this.getRotateX() } set rotateX(rotateX: number | undefined) { - const rotateX_NonNull = (rotateX as number | undefined) - this.setRotateX(rotateX_NonNull) + this.setRotateX(rotateX) } - get scaleY(): number | undefined { - return this.getScaleY() + get rotateY(): number | undefined { + return this.getRotateY() } - set scaleY(scaleY: number | undefined) { - const scaleY_NonNull = (scaleY as number | undefined) - this.setScaleY(scaleY_NonNull) + set rotateY(rotateY: number | undefined) { + this.setRotateY(rotateY) } get translateX(): number | undefined { return this.getTranslateX() } set translateX(translateX: number | undefined) { - const translateX_NonNull = (translateX as number | undefined) - this.setTranslateX(translateX_NonNull) + this.setTranslateX(translateX) } get translateY(): number | undefined { return this.getTranslateY() } set translateY(translateY: number | undefined) { - const translateY_NonNull = (translateY as number | undefined) - this.setTranslateY(translateY_NonNull) + this.setTranslateY(translateY) } constructor(_0: boolean, peerPtr: KPointer) { this.peer = new Finalizable(peerPtr, Matrix2D.getFinalizer()) @@ -124,12 +117,12 @@ export class Matrix2D implements MaterializedBase { this.setScaleX_serialize(scaleX_casted) return } - private getRotateY(): number | undefined { - return this.getRotateY_serialize() + private getScaleY(): number | undefined { + return this.getScaleY_serialize() } - private setRotateY(rotateY: number | undefined): void { - const rotateY_casted = rotateY as (number | undefined) - this.setRotateY_serialize(rotateY_casted) + private setScaleY(scaleY: number | undefined): void { + const scaleY_casted = scaleY as (number | undefined) + this.setScaleY_serialize(scaleY_casted) return } private getRotateX(): number | undefined { @@ -140,12 +133,12 @@ export class Matrix2D implements MaterializedBase { this.setRotateX_serialize(rotateX_casted) return } - private getScaleY(): number | undefined { - return this.getScaleY_serialize() + private getRotateY(): number | undefined { + return this.getRotateY_serialize() } - private setScaleY(scaleY: number | undefined): void { - const scaleY_casted = scaleY as (number | undefined) - this.setScaleY_serialize(scaleY_casted) + private setRotateY(rotateY: number | undefined): void { + const rotateY_casted = rotateY as (number | undefined) + this.setRotateY_serialize(rotateY_casted) return } private getTranslateX(): number | undefined { @@ -260,8 +253,8 @@ export class Matrix2D implements MaterializedBase { ArkUIGeneratedNativeModule._Matrix2D_setScaleX(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - private getRotateY_serialize(): number | undefined { - const retval = ArkUIGeneratedNativeModule._Matrix2D_getRotateY(this.peer!.ptr) + private getScaleY_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._Matrix2D_getScaleY(this.peer!.ptr) let retvalDeserializer : DeserializerBase = new DeserializerBase(retval, retval.length) const buffer_runtimeType = retvalDeserializer.readInt8().toInt() let buffer : number | undefined @@ -271,16 +264,16 @@ export class Matrix2D implements MaterializedBase { const returnResult : number | undefined = buffer return returnResult } - private setRotateY_serialize(rotateY: number | undefined): void { + private setScaleY_serialize(scaleY: number | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() - if (rotateY !== undefined) { + if (scaleY !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) - const rotateYTmpValue = rotateY! - thisSerializer.writeNumber(rotateYTmpValue) + const scaleYTmpValue = scaleY! + thisSerializer.writeNumber(scaleYTmpValue) } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } - ArkUIGeneratedNativeModule._Matrix2D_setRotateY(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._Matrix2D_setScaleY(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } private getRotateX_serialize(): number | undefined { @@ -306,8 +299,8 @@ export class Matrix2D implements MaterializedBase { ArkUIGeneratedNativeModule._Matrix2D_setRotateX(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - private getScaleY_serialize(): number | undefined { - const retval = ArkUIGeneratedNativeModule._Matrix2D_getScaleY(this.peer!.ptr) + private getRotateY_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._Matrix2D_getRotateY(this.peer!.ptr) let retvalDeserializer : DeserializerBase = new DeserializerBase(retval, retval.length) const buffer_runtimeType = retvalDeserializer.readInt8().toInt() let buffer : number | undefined @@ -317,16 +310,16 @@ export class Matrix2D implements MaterializedBase { const returnResult : number | undefined = buffer return returnResult } - private setScaleY_serialize(scaleY: number | undefined): void { + private setRotateY_serialize(rotateY: number | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() - if (scaleY !== undefined) { + if (rotateY !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) - const scaleYTmpValue = scaleY! - thisSerializer.writeNumber(scaleYTmpValue) + const rotateYTmpValue = rotateY! + thisSerializer.writeNumber(rotateYTmpValue) } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } - ArkUIGeneratedNativeModule._Matrix2D_setScaleY(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._Matrix2D_setRotateY(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } private getTranslateX_serialize(): number | undefined { diff --git a/arkoala-arkts/arkui/generated/component/mediaCachedImage.ets b/arkoala-arkts/arkui/generated/component/mediaCachedImage.ets index 32105e74f..e0643c6c8 100644 --- a/arkoala-arkts/arkui/generated/component/mediaCachedImage.ets +++ b/arkoala-arkts/arkui/generated/component/mediaCachedImage.ets @@ -17,7 +17,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { SerializerBase, DeserializerBase, nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, NativeBuffer, CallbackResource, InteropNativeModule, Tags, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" -import { image_PixelMap_serializer, image } from "./../framework/ohos.multimedia.image" +import { image_PixelMap_serializer } from "./../framework/ohos.multimedia.image" import { Resource_serializer } from "./../framework/resource" import { DrawableDescriptor_serializer, DrawableDescriptor } from "./../framework/ohos.arkui.drawableDescriptor" import { int32, int64, float32, unsafeCast } from "@koalaui/common" @@ -25,8 +25,9 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkImagePeer, ImageAttribute, ArkImageComponent, ArkImageStyle } from "./image" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, extractors, AttributeUpdater } from "#handwritten" import { CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" +import { image } from "@ohos.multimedia.image" import { ResourceStr } from "./units" import { Resource } from "global.resource" import { CallbackKind } from "./../framework/peers/CallbackKind" diff --git a/arkoala-arkts/arkui/generated/component/menu.ets b/arkoala-arkts/arkui/generated/component/menu.ets index d58f91536..6465a1db4 100644 --- a/arkoala-arkts/arkui/generated/component/menu.ets +++ b/arkoala-arkts/arkui/generated/component/menu.ets @@ -191,22 +191,22 @@ export class ArkMenuStyle extends ArkCommonMethodStyle implements MenuAttribute menuItemGroupDivider_value?: DividerStyleOptions | undefined subMenuExpandingMode_value?: SubMenuExpandingMode | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public font(value: Font | undefined): this { + font(value: Font | undefined): this { return this } - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public radius(value: Dimension | BorderRadiuses | undefined): this { + radius(value: Dimension | BorderRadiuses | undefined): this { return this } - public menuItemDivider(value: DividerStyleOptions | undefined): this { + menuItemDivider(value: DividerStyleOptions | undefined): this { return this } - public menuItemGroupDivider(value: DividerStyleOptions | undefined): this { + menuItemGroupDivider(value: DividerStyleOptions | undefined): this { return this } - public subMenuExpandingMode(value: SubMenuExpandingMode | undefined): this { + subMenuExpandingMode(value: SubMenuExpandingMode | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/menuItem.ets b/arkoala-arkts/arkui/generated/component/menuItem.ets index b9c49c56c..f3a40b814 100644 --- a/arkoala-arkts/arkui/generated/component/menuItem.ets +++ b/arkoala-arkts/arkui/generated/component/menuItem.ets @@ -27,7 +27,7 @@ import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { Resource } from "global.resource" import { Color } from "./enums" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CustomBuilder } from "./builder" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" @@ -254,25 +254,25 @@ export class ArkMenuItemStyle extends ArkCommonMethodStyle implements MenuItemAt labelFont_value?: Font | undefined labelFontColor_value?: ResourceColor | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public selected(value: boolean | Bindable | undefined): this { + selected(value: boolean | Bindable | undefined): this { return this } - public selectIcon(value: boolean | ResourceStr | SymbolGlyphModifier | undefined): this { + selectIcon(value: boolean | ResourceStr | SymbolGlyphModifier | undefined): this { return this } - public onChange(value: ((selected: boolean) => void) | undefined): this { + onChange(value: ((selected: boolean) => void) | undefined): this { return this } - public contentFont(value: Font | undefined): this { + contentFont(value: Font | undefined): this { return this } - public contentFontColor(value: ResourceColor | undefined): this { + contentFontColor(value: ResourceColor | undefined): this { return this } - public labelFont(value: Font | undefined): this { + labelFont(value: Font | undefined): this { return this } - public labelFontColor(value: ResourceColor | undefined): this { + labelFontColor(value: ResourceColor | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/menuItemGroup.ets b/arkoala-arkts/arkui/generated/component/menuItemGroup.ets index 5d2f217bd..22687fb3c 100644 --- a/arkoala-arkts/arkui/generated/component/menuItemGroup.ets +++ b/arkoala-arkts/arkui/generated/component/menuItemGroup.ets @@ -22,7 +22,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" diff --git a/arkoala-arkts/arkui/generated/component/navDestination.ets b/arkoala-arkts/arkui/generated/component/navDestination.ets index ef5ca537c..11109918a 100644 --- a/arkoala-arkts/arkui/generated/component/navDestination.ets +++ b/arkoala-arkts/arkui/generated/component/navDestination.ets @@ -22,7 +22,7 @@ import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./../CallbackTransformer" import { Resource_serializer } from "./../framework/resource" -import { image_PixelMap_serializer, image } from "./../framework/ohos.multimedia.image" +import { image_PixelMap_serializer } from "./../framework/ohos.multimedia.image" import { SymbolGlyphModifier_serializer, SymbolGlyphModifier } from "./../SymbolGlyphModifier" import { window_SystemBarStyle_serializer, window } from "./../framework/ohos.window" import { Scroller_serializer, Scroller } from "./scroll" @@ -31,8 +31,9 @@ import { PeerNode } from "./../PeerNode" import { ArkCommonMethodPeer, CommonMethod, LayoutSafeAreaType, LayoutSafeAreaEdge, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { ResourceStr, Length, ResourceColor } from "./units" import { Resource } from "global.resource" +import { extractors, AttributeModifier, AttributeUpdater } from "#handwritten" +import { image } from "@ohos.multimedia.image" import { CustomBuilder } from "./builder" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" import { TitleHeight, Color } from "./enums" import { LengthMetrics } from "./../Graphics" import { TextModifier } from "./../TextModifier" @@ -929,104 +930,103 @@ export class ArkNavDestinationStyle extends ArkCommonMethodStyle implements NavD onNewParam_value?: ((value0: Object | undefined) => void) | undefined preferredOrientation_value?: Orientation | undefined enableNavigationIndicator_value?: boolean | undefined - attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public hideTitleBar(value: boolean | undefined): this { + hideTitleBar(value: boolean | undefined): this { return this } - public hideBackButton(value: boolean | undefined): this { + hideBackButton(value: boolean | undefined): this { return this } - public onShown(value: (() => void) | undefined): this { + onShown(value: (() => void) | undefined): this { return this } - public onHidden(value: (() => void) | undefined): this { + onHidden(value: (() => void) | undefined): this { return this } - public onBackPressed(value: (() => boolean) | undefined): this { + onBackPressed(value: (() => boolean) | undefined): this { return this } - public onResult(value: ((value0: Object | undefined) => void) | undefined): this { + onResult(value: ((value0: Object | undefined) => void) | undefined): this { return this } - public mode(value: NavDestinationMode | undefined): this { + mode(value: NavDestinationMode | undefined): this { return this } - public backButtonIcon(value: ResourceStr | image.PixelMap | SymbolGlyphModifier | undefined): this { + backButtonIcon(value: ResourceStr | image.PixelMap | SymbolGlyphModifier | undefined): this { return this } - public menus(value: Array | CustomBuilder | undefined): this { + menus(value: Array | CustomBuilder | undefined): this { return this } - public onReady(value: ((value0: NavDestinationContext) => void) | undefined): this { + onReady(value: ((value0: NavDestinationContext) => void) | undefined): this { return this } - public onWillAppear(value: (() => void) | undefined): this { + onWillAppear(value: (() => void) | undefined): this { return this } - public onWillDisappear(value: (() => void) | undefined): this { + onWillDisappear(value: (() => void) | undefined): this { return this } - public onWillShow(value: (() => void) | undefined): this { + onWillShow(value: (() => void) | undefined): this { return this } - public onWillHide(value: (() => void) | undefined): this { + onWillHide(value: (() => void) | undefined): this { return this } - public systemBarStyle(value: window.SystemBarStyle | undefined): this { + systemBarStyle(value: window.SystemBarStyle | undefined): this { return this } - public recoverable(value: boolean | undefined): this { + recoverable(value: boolean | undefined): this { return this } - public systemTransition(value: NavigationSystemTransitionType | undefined): this { + systemTransition(value: NavigationSystemTransitionType | undefined): this { return this } - public bindToScrollable(value: Array | undefined): this { + bindToScrollable(value: Array | undefined): this { return this } - public bindToNestedScrollable(value: Array | undefined): this { + bindToNestedScrollable(value: Array | undefined): this { return this } - public onActive(value: ((value0: NavDestinationActiveReason) => void) | undefined): this { + onActive(value: ((value0: NavDestinationActiveReason) => void) | undefined): this { return this } - public onInactive(value: ((value0: NavDestinationActiveReason) => void) | undefined): this { + onInactive(value: ((value0: NavDestinationActiveReason) => void) | undefined): this { return this } - public customTransition(value: NavDestinationTransitionDelegate | undefined): this { + customTransition(value: NavDestinationTransitionDelegate | undefined): this { return this } - public onNewParam(value: ((value0: Object | undefined) => void) | undefined): this { + onNewParam(value: ((value0: Object | undefined) => void) | undefined): this { return this } - public preferredOrientation(value: Orientation | undefined): this { + preferredOrientation(value: Orientation | undefined): this { return this } - public enableNavigationIndicator(value: boolean | undefined): this { + enableNavigationIndicator(value: boolean | undefined): this { return this } - public title(value: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource | undefined, options?: NavigationTitleOptions): this { + title(value: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource | undefined, options?: NavigationTitleOptions): this { return this } - public hideTitleBar(hide: boolean | undefined, animated: boolean | undefined): this { + hideTitleBar(hide: boolean | undefined, animated: boolean | undefined): this { return this } - public backButtonIcon(icon: ResourceStr | image.PixelMap | SymbolGlyphModifier | undefined, accessibilityText?: ResourceStr): this { + backButtonIcon(icon: ResourceStr | image.PixelMap | SymbolGlyphModifier | undefined, accessibilityText?: ResourceStr): this { return this } - public menus(items: Array | CustomBuilder | undefined, options?: NavigationMenuOptions): this { + menus(items: Array | CustomBuilder | undefined, options?: NavigationMenuOptions): this { return this } - public toolbarConfiguration(toolbarParam: Array | CustomBuilder | undefined, options?: NavigationToolbarOptions): this { + toolbarConfiguration(toolbarParam: Array | CustomBuilder | undefined, options?: NavigationToolbarOptions): this { return this } - public hideToolBar(hide: boolean | undefined, animated?: boolean): this { + hideToolBar(hide: boolean | undefined, animated?: boolean): this { return this } - public ignoreLayoutSafeArea(types?: Array, edges?: Array): this { + ignoreLayoutSafeArea(types?: Array, edges?: Array): this { return this } - public enableStatusBar(enabled: boolean | undefined, animated?: boolean): this { + enableStatusBar(enabled: boolean | undefined, animated?: boolean): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/navigation.ets b/arkoala-arkts/arkui/generated/component/navigation.ets index 8f0355085..60c90c802 100644 --- a/arkoala-arkts/arkui/generated/component/navigation.ets +++ b/arkoala-arkts/arkui/generated/component/navigation.ets @@ -23,14 +23,15 @@ import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./../CallbackTransformer" import { Resource_serializer } from "./../framework/resource" import { Bindable_Arkui_Component_Units_Length_serializer, ArkCommonMethodPeer, CommonMethod, Bindable, LayoutSafeAreaType, LayoutSafeAreaEdge, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, ArkCommonMethodComponent, ArkCommonMethodStyle, BackgroundBlurStyleOptions_serializer, BackgroundEffectOptions_serializer } from "./common" -import { image_PixelMap_serializer, image } from "./../framework/ohos.multimedia.image" +import { image_PixelMap_serializer } from "./../framework/ohos.multimedia.image" import { SymbolGlyphModifier_serializer, SymbolGlyphModifier } from "./../SymbolGlyphModifier" import { window_SystemBarStyle_serializer, window } from "./../framework/ohos.window" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { Resource } from "global.resource" +import { extractors, AttributeModifier, AttributeUpdater } from "#handwritten" +import { image } from "@ohos.multimedia.image" import { CustomBuilder, PageMapBuilder } from "./builder" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" import { TitleHeight, Color } from "./enums" import { LengthMetrics, LengthMetrics_serializer } from "./../Graphics" import { TextModifier, TextModifier_serializer } from "./../TextModifier" @@ -1124,11 +1125,8 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { component?.setPeer(_peer) return _peer } - setNavigationOptions0Attribute(): void { - ArkUIGeneratedNativeModule._NavigationInterface_setNavigationOptions0(this.peer.ptr) - } - setNavigationOptions1Attribute(pathInfos: NavPathStack): void { - ArkUIGeneratedNativeModule._NavigationInterface_setNavigationOptions1(this.peer.ptr, toPeerPtr(pathInfos)) + setNavigationOptionsAttribute(pathInfos: NavPathStack): void { + ArkUIGeneratedNativeModule._NavigationInterface_setNavigationOptions(this.peer.ptr, toPeerPtr(pathInfos)) } setNavBarWidthAttribute(value: Length | Bindable | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() @@ -1923,92 +1921,91 @@ export class ArkNavigationStyle extends ArkCommonMethodStyle implements Navigati recoverable_value?: boolean | undefined enableDragBar_value?: boolean | undefined enableModeChangeAnimation_value?: boolean | undefined - attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public navBarWidth(value: Length | Bindable | undefined): this { + navBarWidth(value: Length | Bindable | undefined): this { return this } - public navBarPosition(value: NavBarPosition | undefined): this { + navBarPosition(value: NavBarPosition | undefined): this { return this } - public navBarWidthRange(value: [ Dimension, Dimension ] | undefined): this { + navBarWidthRange(value: [ Dimension, Dimension ] | undefined): this { return this } - public minContentWidth(value: Dimension | undefined): this { + minContentWidth(value: Dimension | undefined): this { return this } - public mode(value: NavigationMode | undefined): this { + mode(value: NavigationMode | undefined): this { return this } - public backButtonIcon(value: string | image.PixelMap | Resource | SymbolGlyphModifier | undefined): this { + backButtonIcon(value: string | image.PixelMap | Resource | SymbolGlyphModifier | undefined): this { return this } - public hideNavBar(value: boolean | undefined): this { + hideNavBar(value: boolean | undefined): this { return this } - public hideTitleBar(value: boolean | undefined): this { + hideTitleBar(value: boolean | undefined): this { return this } - public hideBackButton(value: boolean | undefined): this { + hideBackButton(value: boolean | undefined): this { return this } - public titleMode(value: NavigationTitleMode | undefined): this { + titleMode(value: NavigationTitleMode | undefined): this { return this } - public menus(value: Array | CustomBuilder | undefined): this { + menus(value: Array | CustomBuilder | undefined): this { return this } - public hideToolBar(value: boolean | undefined): this { + hideToolBar(value: boolean | undefined): this { return this } - public enableToolBarAdaptation(value: boolean | undefined): this { + enableToolBarAdaptation(value: boolean | undefined): this { return this } - public onTitleModeChange(value: ((titleMode: NavigationTitleMode) => void) | undefined): this { + onTitleModeChange(value: ((titleMode: NavigationTitleMode) => void) | undefined): this { return this } - public onNavBarStateChange(value: ((isVisible: boolean) => void) | undefined): this { + onNavBarStateChange(value: ((isVisible: boolean) => void) | undefined): this { return this } - public onNavigationModeChange(value: ((mode: NavigationMode) => void) | undefined): this { + onNavigationModeChange(value: ((mode: NavigationMode) => void) | undefined): this { return this } - public navDestination(value: PageMapBuilder | undefined): this { + navDestination(value: PageMapBuilder | undefined): this { return this } - public customNavContentTransition(value: ((from: NavContentInfo,to: NavContentInfo,operation: NavigationOperation) => NavigationAnimatedTransition | undefined) | undefined): this { + customNavContentTransition(value: ((from: NavContentInfo,to: NavContentInfo,operation: NavigationOperation) => NavigationAnimatedTransition | undefined) | undefined): this { return this } - public systemBarStyle(value: window.SystemBarStyle | undefined): this { + systemBarStyle(value: window.SystemBarStyle | undefined): this { return this } - public recoverable(value: boolean | undefined): this { + recoverable(value: boolean | undefined): this { return this } - public enableDragBar(value: boolean | undefined): this { + enableDragBar(value: boolean | undefined): this { return this } - public enableModeChangeAnimation(value: boolean | undefined): this { + enableModeChangeAnimation(value: boolean | undefined): this { return this } - public backButtonIcon(icon: string | image.PixelMap | Resource | SymbolGlyphModifier | undefined, accessibilityText?: ResourceStr): this { + backButtonIcon(icon: string | image.PixelMap | Resource | SymbolGlyphModifier | undefined, accessibilityText?: ResourceStr): this { return this } - public title(value: ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle | undefined, options?: NavigationTitleOptions): this { + title(value: ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle | undefined, options?: NavigationTitleOptions): this { return this } - public hideTitleBar(hide: boolean | undefined, animated: boolean | undefined): this { + hideTitleBar(hide: boolean | undefined, animated: boolean | undefined): this { return this } - public menus(items: Array | CustomBuilder | undefined, options?: NavigationMenuOptions): this { + menus(items: Array | CustomBuilder | undefined, options?: NavigationMenuOptions): this { return this } - public toolbarConfiguration(value: Array | CustomBuilder | undefined, options?: NavigationToolbarOptions): this { + toolbarConfiguration(value: Array | CustomBuilder | undefined, options?: NavigationToolbarOptions): this { return this } - public hideToolBar(hide: boolean | undefined, animated: boolean | undefined): this { + hideToolBar(hide: boolean | undefined, animated: boolean | undefined): this { return this } - public ignoreLayoutSafeArea(types?: Array, edges?: Array): this { + ignoreLayoutSafeArea(types?: Array, edges?: Array): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -2034,17 +2031,10 @@ export class ArkNavigationComponent extends ArkCommonMethodComponent implements getPeer(): ArkNavigationPeer { return (this.peer as ArkNavigationPeer) } - public setNavigationOptions(): this { - if (this.checkPriority("setNavigationOptions")) { - this.getPeer()?.setNavigationOptions0Attribute() - return this - } - return this - } public setNavigationOptions(pathInfos: NavPathStack): this { if (this.checkPriority("setNavigationOptions")) { const pathInfos_casted = pathInfos as (NavPathStack) - this.getPeer()?.setNavigationOptions1Attribute(pathInfos_casted) + this.getPeer()?.setNavigationOptionsAttribute(pathInfos_casted) return this } return this @@ -2297,26 +2287,6 @@ export class ArkNavigationComponent extends ArkCommonMethodComponent implements } } -@memo -export function Navigation( - @memo - style: ((attributes: NavigationAttribute) => void) | undefined, - - @memo - content_?: () => void, -): void { - const receiver = remember((): ArkNavigationComponent => { - return new ArkNavigationComponent() - }) - NodeAttach((): ArkNavigationPeer => ArkNavigationPeer.create(receiver), (_: ArkNavigationPeer): void => { - receiver.setNavigationOptions() - style?.(receiver) - content_?.() - receiver.applyAttributesFinish() - }) -} - - @memo export function Navigation( @memo diff --git a/arkoala-arkts/arkui/generated/component/path.ets b/arkoala-arkts/arkui/generated/component/path.ets index d6b9f3297..3e94cb2ea 100644 --- a/arkoala-arkts/arkui/generated/component/path.ets +++ b/arkoala-arkts/arkui/generated/component/path.ets @@ -22,7 +22,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonShapeMethodPeer, CommonShapeMethod, CommonMethod, ArkCommonShapeMethodComponent, ArkCommonShapeMethodStyle, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -51,16 +51,38 @@ export class ArkPathPeer extends ArkCommonShapeMethodPeer { ArkUIGeneratedNativeModule._PathInterface_setPathOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + setCommandsAttribute(value: string | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeString(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._PathAttribute_setCommands(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } } export interface PathOptions { + width?: double | string; + height?: double | string; + commands?: string; } export interface PathAttribute extends CommonShapeMethod { + commands(value: string | undefined): this { + throw new Error("Unimplemented method commands") + } attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { throw new Error("Unimplemented method attributeModifier") } } export class ArkPathStyle extends ArkCommonShapeMethodStyle implements PathAttribute { + commands_value?: string | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined + commands(value: string | undefined): this { + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } @@ -78,6 +100,14 @@ export class ArkPathComponent extends ArkCommonShapeMethodComponent implements P } return this } + public commands(value: string | undefined): this { + if (this.checkPriority("commands")) { + const value_casted = value as (string | undefined) + this.getPeer()?.setCommandsAttribute(value_casted) + return this + } + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { return this } @@ -108,9 +138,87 @@ export function Path( export class PathOptions_serializer { public static write(buffer: SerializerBase, value: PathOptions): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForWidth = value.width + if (valueHolderForWidth !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForWidthTmpValue = valueHolderForWidth! + if (valueHolderForWidthTmpValue instanceof double) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue as double + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx0) + } else if (valueHolderForWidthTmpValue instanceof string) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue as string + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx1) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForHeight = value.height + if (valueHolderForHeight !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForHeightTmpValue = valueHolderForHeight! + if (valueHolderForHeightTmpValue instanceof double) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue as double + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx0) + } else if (valueHolderForHeightTmpValue instanceof string) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue as string + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx1) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForCommands = value.commands + if (valueHolderForCommands !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForCommandsTmpValue = valueHolderForCommands! + valueSerializer.writeString(valueHolderForCommandsTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } } public static read(buffer: DeserializerBase): PathOptions { - let value : PathOptions = ({} as PathOptions) + let valueDeserializer : DeserializerBase = buffer + const widthTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let widthTmpBuf : double | string | undefined + if ((widthTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const widthTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() + let widthTmpBuf_ : double | string | undefined + if (widthTmpBuf_UnionSelector == (0).toChar()) { + widthTmpBuf_ = valueDeserializer.readFloat64() + } else if (widthTmpBuf_UnionSelector == (1).toChar()) { + widthTmpBuf_ = (valueDeserializer.readString() as string) + } else { + throw new Error("One of the branches for widthTmpBuf_ has to be chosen through deserialisation.") + } + widthTmpBuf = (widthTmpBuf_ as double | string) + } + const widthTmpResult : double | string | undefined = widthTmpBuf + const heightTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let heightTmpBuf : double | string | undefined + if ((heightTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const heightTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() + let heightTmpBuf_ : double | string | undefined + if (heightTmpBuf_UnionSelector == (0).toChar()) { + heightTmpBuf_ = valueDeserializer.readFloat64() + } else if (heightTmpBuf_UnionSelector == (1).toChar()) { + heightTmpBuf_ = (valueDeserializer.readString() as string) + } else { + throw new Error("One of the branches for heightTmpBuf_ has to be chosen through deserialisation.") + } + heightTmpBuf = (heightTmpBuf_ as double | string) + } + const heightTmpResult : double | string | undefined = heightTmpBuf + const commandsTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let commandsTmpBuf : string | undefined + if ((commandsTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + commandsTmpBuf = (valueDeserializer.readString() as string) + } + const commandsTmpResult : string | undefined = commandsTmpBuf + let value : PathOptions = ({width: widthTmpResult, height: heightTmpResult, commands: commandsTmpResult} as PathOptions) return value } } diff --git a/arkoala-arkts/arkui/generated/component/patternLock.ets b/arkoala-arkts/arkui/generated/component/patternLock.ets index 1a8fd27c7..4c9d1841f 100644 --- a/arkoala-arkts/arkui/generated/component/patternLock.ets +++ b/arkoala-arkts/arkui/generated/component/patternLock.ets @@ -27,7 +27,7 @@ import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonM import { Length, ResourceColor } from "./units" import { Resource } from "global.resource" import { Color } from "./enums" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" @@ -431,43 +431,43 @@ export class ArkPatternLockStyle extends ArkCommonMethodStyle implements Pattern activateCircleStyle_value?: CircleStyleOptions | undefined skipUnselectedPoint_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public sideLength(value: Length | undefined): this { + sideLength(value: Length | undefined): this { return this } - public circleRadius(value: Length | undefined): this { + circleRadius(value: Length | undefined): this { return this } - public backgroundColor(value: ResourceColor | undefined): this { + backgroundColor(value: ResourceColor | undefined): this { return this } - public regularColor(value: ResourceColor | undefined): this { + regularColor(value: ResourceColor | undefined): this { return this } - public selectedColor(value: ResourceColor | undefined): this { + selectedColor(value: ResourceColor | undefined): this { return this } - public activeColor(value: ResourceColor | undefined): this { + activeColor(value: ResourceColor | undefined): this { return this } - public pathColor(value: ResourceColor | undefined): this { + pathColor(value: ResourceColor | undefined): this { return this } - public pathStrokeWidth(value: number | string | undefined): this { + pathStrokeWidth(value: number | string | undefined): this { return this } - public onPatternComplete(value: ((input: Array) => void) | undefined): this { + onPatternComplete(value: ((input: Array) => void) | undefined): this { return this } - public autoReset(value: boolean | undefined): this { + autoReset(value: boolean | undefined): this { return this } - public onDotConnect(value: ((value0: number) => void) | undefined): this { + onDotConnect(value: ((value0: number) => void) | undefined): this { return this } - public activateCircleStyle(value: CircleStyleOptions | undefined): this { + activateCircleStyle(value: CircleStyleOptions | undefined): this { return this } - public skipUnselectedPoint(value: boolean | undefined): this { + skipUnselectedPoint(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/pluginComponent.ets b/arkoala-arkts/arkui/generated/component/pluginComponent.ets index bd61f9513..aaa165d15 100644 --- a/arkoala-arkts/arkui/generated/component/pluginComponent.ets +++ b/arkoala-arkts/arkui/generated/component/pluginComponent.ets @@ -23,7 +23,7 @@ import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { VoidCallback } from "./units" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -72,15 +72,16 @@ export class ArkPluginComponentPeer extends ArkCommonMethodPeer { } } export interface PluginComponentTemplate { - source: string; - bundleName: string; + source: string | undefined; + bundleName: string | undefined; } +export type RecordData = Object | undefined; export interface PluginComponentOptions { template: PluginComponentTemplate; - data: Object | undefined; + data: RecordData; } export interface PluginErrorData { - errcode: number; + errcode: int32; msg: string; } export type PluginErrorCallback = (info: PluginErrorData) => void; @@ -99,10 +100,10 @@ export class ArkPluginComponentStyle extends ArkCommonMethodStyle implements Plu onComplete_value?: VoidCallback | undefined onError_value?: PluginErrorCallback | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onComplete(value: VoidCallback | undefined): this { + onComplete(value: VoidCallback | undefined): this { return this } - public onError(value: PluginErrorCallback | undefined): this { + onError(value: PluginErrorCallback | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -170,14 +171,36 @@ export class PluginComponentTemplate_serializer { public static write(buffer: SerializerBase, value: PluginComponentTemplate): void { let valueSerializer : SerializerBase = buffer const valueHolderForSource = value.source - valueSerializer.writeString(valueHolderForSource) + if (valueHolderForSource !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForSourceTmpValue = valueHolderForSource! + valueSerializer.writeString(valueHolderForSourceTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } const valueHolderForBundleName = value.bundleName - valueSerializer.writeString(valueHolderForBundleName) + if (valueHolderForBundleName !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForBundleNameTmpValue = valueHolderForBundleName! + valueSerializer.writeString(valueHolderForBundleNameTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } } public static read(buffer: DeserializerBase): PluginComponentTemplate { let valueDeserializer : DeserializerBase = buffer - const sourceTmpResult : string = (valueDeserializer.readString() as string) - const bundleNameTmpResult : string = (valueDeserializer.readString() as string) + const sourceTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let sourceTmpBuf : string | undefined + if ((sourceTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + sourceTmpBuf = (valueDeserializer.readString() as string) + } + const sourceTmpResult : string | undefined = sourceTmpBuf + const bundleNameTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let bundleNameTmpBuf : string | undefined + if ((bundleNameTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + bundleNameTmpBuf = (valueDeserializer.readString() as string) + } + const bundleNameTmpResult : string | undefined = bundleNameTmpBuf let value : PluginComponentTemplate = ({source: sourceTmpResult, bundleName: bundleNameTmpResult} as PluginComponentTemplate) return value } @@ -186,13 +209,13 @@ export class PluginErrorData_serializer { public static write(buffer: SerializerBase, value: PluginErrorData): void { let valueSerializer : SerializerBase = buffer const valueHolderForErrcode = value.errcode - valueSerializer.writeNumber(valueHolderForErrcode) + valueSerializer.writeInt32(valueHolderForErrcode) const valueHolderForMsg = value.msg valueSerializer.writeString(valueHolderForMsg) } public static read(buffer: DeserializerBase): PluginErrorData { let valueDeserializer : DeserializerBase = buffer - const errcodeTmpResult : number = (valueDeserializer.readNumber() as number) + const errcodeTmpResult : int32 = valueDeserializer.readInt32() const msgTmpResult : string = (valueDeserializer.readString() as string) let value : PluginErrorData = ({errcode: errcodeTmpResult, msg: msgTmpResult} as PluginErrorData) return value @@ -220,7 +243,7 @@ export class PluginComponentOptions_serializer { if ((dataTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { dataTmpBuf = (valueDeserializer.readObject() as object) } - const dataTmpResult : Object | undefined = dataTmpBuf + const dataTmpResult : RecordData = dataTmpBuf let value : PluginComponentOptions = ({template: templateTmpResult, data: dataTmpResult} as PluginComponentOptions) return value } diff --git a/arkoala-arkts/arkui/generated/component/polygon.ets b/arkoala-arkts/arkui/generated/component/polygon.ets index 703739ab2..d3041d2fb 100644 --- a/arkoala-arkts/arkui/generated/component/polygon.ets +++ b/arkoala-arkts/arkui/generated/component/polygon.ets @@ -26,7 +26,7 @@ import { ArkCommonShapeMethodPeer, CommonShapeMethod, CommonMethod, ArkCommonSha import { ShapePoint } from "./line" import { Length } from "./units" import { Resource } from "global.resource" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -100,6 +100,8 @@ export class ArkPolygonPeer extends ArkCommonShapeMethodPeer { } } export interface PolygonOptions { + width?: string | double; + height?: string | double; } export interface PolygonAttribute extends CommonShapeMethod { points(value: Array | undefined): this { @@ -112,7 +114,7 @@ export interface PolygonAttribute extends CommonShapeMethod { export class ArkPolygonStyle extends ArkCommonShapeMethodStyle implements PolygonAttribute { points_value?: Array | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public points(value: Array | undefined): this { + points(value: Array | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { @@ -170,9 +172,73 @@ export function Polygon( export class PolygonOptions_serializer { public static write(buffer: SerializerBase, value: PolygonOptions): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForWidth = value.width + if (valueHolderForWidth !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForWidthTmpValue = valueHolderForWidth! + if (valueHolderForWidthTmpValue instanceof string) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue as string + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx0) + } else if (valueHolderForWidthTmpValue instanceof double) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue as double + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx1) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForHeight = value.height + if (valueHolderForHeight !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForHeightTmpValue = valueHolderForHeight! + if (valueHolderForHeightTmpValue instanceof string) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue as string + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx0) + } else if (valueHolderForHeightTmpValue instanceof double) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue as double + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx1) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } } public static read(buffer: DeserializerBase): PolygonOptions { - let value : PolygonOptions = ({} as PolygonOptions) + let valueDeserializer : DeserializerBase = buffer + const widthTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let widthTmpBuf : string | double | undefined + if ((widthTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const widthTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() + let widthTmpBuf_ : string | double | undefined + if (widthTmpBuf_UnionSelector == (0).toChar()) { + widthTmpBuf_ = (valueDeserializer.readString() as string) + } else if (widthTmpBuf_UnionSelector == (1).toChar()) { + widthTmpBuf_ = valueDeserializer.readFloat64() + } else { + throw new Error("One of the branches for widthTmpBuf_ has to be chosen through deserialisation.") + } + widthTmpBuf = (widthTmpBuf_ as string | double) + } + const widthTmpResult : string | double | undefined = widthTmpBuf + const heightTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let heightTmpBuf : string | double | undefined + if ((heightTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const heightTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() + let heightTmpBuf_ : string | double | undefined + if (heightTmpBuf_UnionSelector == (0).toChar()) { + heightTmpBuf_ = (valueDeserializer.readString() as string) + } else if (heightTmpBuf_UnionSelector == (1).toChar()) { + heightTmpBuf_ = valueDeserializer.readFloat64() + } else { + throw new Error("One of the branches for heightTmpBuf_ has to be chosen through deserialisation.") + } + heightTmpBuf = (heightTmpBuf_ as string | double) + } + const heightTmpResult : string | double | undefined = heightTmpBuf + let value : PolygonOptions = ({width: widthTmpResult, height: heightTmpResult} as PolygonOptions) return value } } diff --git a/arkoala-arkts/arkui/generated/component/polyline.ets b/arkoala-arkts/arkui/generated/component/polyline.ets index e5724a3c2..2306640b6 100644 --- a/arkoala-arkts/arkui/generated/component/polyline.ets +++ b/arkoala-arkts/arkui/generated/component/polyline.ets @@ -26,7 +26,7 @@ import { ArkCommonShapeMethodPeer, CommonShapeMethod, CommonMethod, ArkCommonSha import { ShapePoint } from "./line" import { Length } from "./units" import { Resource } from "global.resource" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -100,6 +100,8 @@ export class ArkPolylinePeer extends ArkCommonShapeMethodPeer { } } export interface PolylineOptions { + width?: string | double; + height?: string | double; } export interface PolylineAttribute extends CommonShapeMethod { points(value: Array | undefined): this { @@ -112,7 +114,7 @@ export interface PolylineAttribute extends CommonShapeMethod { export class ArkPolylineStyle extends ArkCommonShapeMethodStyle implements PolylineAttribute { points_value?: Array | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public points(value: Array | undefined): this { + points(value: Array | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { @@ -170,9 +172,73 @@ export function Polyline( export class PolylineOptions_serializer { public static write(buffer: SerializerBase, value: PolylineOptions): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForWidth = value.width + if (valueHolderForWidth !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForWidthTmpValue = valueHolderForWidth! + if (valueHolderForWidthTmpValue instanceof string) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue as string + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx0) + } else if (valueHolderForWidthTmpValue instanceof double) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue as double + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx1) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForHeight = value.height + if (valueHolderForHeight !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForHeightTmpValue = valueHolderForHeight! + if (valueHolderForHeightTmpValue instanceof string) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue as string + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx0) + } else if (valueHolderForHeightTmpValue instanceof double) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue as double + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx1) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } } public static read(buffer: DeserializerBase): PolylineOptions { - let value : PolylineOptions = ({} as PolylineOptions) + let valueDeserializer : DeserializerBase = buffer + const widthTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let widthTmpBuf : string | double | undefined + if ((widthTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const widthTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() + let widthTmpBuf_ : string | double | undefined + if (widthTmpBuf_UnionSelector == (0).toChar()) { + widthTmpBuf_ = (valueDeserializer.readString() as string) + } else if (widthTmpBuf_UnionSelector == (1).toChar()) { + widthTmpBuf_ = valueDeserializer.readFloat64() + } else { + throw new Error("One of the branches for widthTmpBuf_ has to be chosen through deserialisation.") + } + widthTmpBuf = (widthTmpBuf_ as string | double) + } + const widthTmpResult : string | double | undefined = widthTmpBuf + const heightTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let heightTmpBuf : string | double | undefined + if ((heightTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const heightTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() + let heightTmpBuf_ : string | double | undefined + if (heightTmpBuf_UnionSelector == (0).toChar()) { + heightTmpBuf_ = (valueDeserializer.readString() as string) + } else if (heightTmpBuf_UnionSelector == (1).toChar()) { + heightTmpBuf_ = valueDeserializer.readFloat64() + } else { + throw new Error("One of the branches for heightTmpBuf_ has to be chosen through deserialisation.") + } + heightTmpBuf = (heightTmpBuf_ as string | double) + } + const heightTmpResult : string | double | undefined = heightTmpBuf + let value : PolylineOptions = ({width: widthTmpResult, height: heightTmpResult} as PolylineOptions) return value } } diff --git a/arkoala-arkts/arkui/generated/component/progress.ets b/arkoala-arkts/arkui/generated/component/progress.ets index c13c040ab..ced9c1d34 100644 --- a/arkoala-arkts/arkui/generated/component/progress.ets +++ b/arkoala-arkts/arkui/generated/component/progress.ets @@ -27,7 +27,7 @@ import { ArkCommonMethodPeer, CommonMethod, CommonConfiguration, ArkCommonMethod import { ResourceColor, Length, PX, VP, LPX, Font, Font_serializer } from "./units" import { Color } from "./enums" import { Resource } from "global.resource" -import { ContentModifier, AttributeModifier, hookProgressContentModifier, AttributeUpdater, extractors } from "#handwritten" +import { ContentModifier, AttributeModifier, hookProgressContentModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -237,19 +237,19 @@ export class ArkProgressStyle extends ArkCommonMethodStyle implements ProgressAt privacySensitive_value?: boolean | undefined contentModifier_value?: ContentModifier | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public value(value: number | undefined): this { + value(value: number | undefined): this { return this } - public color(value: ResourceColor | LinearGradient | undefined): this { + color(value: ResourceColor | LinearGradient | undefined): this { return this } - public style(value: LinearStyleOptions | RingStyleOptions | CapsuleStyleOptions | ProgressStyleOptions | undefined): this { + style(value: LinearStyleOptions | RingStyleOptions | CapsuleStyleOptions | ProgressStyleOptions | undefined): this { return this } - public privacySensitive(value: boolean | undefined): this { + privacySensitive(value: boolean | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/qrcode.ets b/arkoala-arkts/arkui/generated/component/qrcode.ets index 5952af45a..6e7024ee9 100644 --- a/arkoala-arkts/arkui/generated/component/qrcode.ets +++ b/arkoala-arkts/arkui/generated/component/qrcode.ets @@ -151,13 +151,13 @@ export class ArkQRCodeStyle extends ArkCommonMethodStyle implements QRCodeAttrib backgroundColor_value?: ResourceColor | undefined contentOpacity_value?: number | Resource | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public color(value: ResourceColor | undefined): this { + color(value: ResourceColor | undefined): this { return this } - public backgroundColor(value: ResourceColor | undefined): this { + backgroundColor(value: ResourceColor | undefined): this { return this } - public contentOpacity(value: number | Resource | undefined): this { + contentOpacity(value: number | Resource | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/radio.ets b/arkoala-arkts/arkui/generated/component/radio.ets index 7960c1a4b..3b0463f3d 100644 --- a/arkoala-arkts/arkui/generated/component/radio.ets +++ b/arkoala-arkts/arkui/generated/component/radio.ets @@ -22,7 +22,7 @@ import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" -import { ContentModifier, AttributeModifier, hookRadioContentModifier, AttributeUpdater, extractors } from "#handwritten" +import { ContentModifier, AttributeModifier, hookRadioContentModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -135,16 +135,16 @@ export class ArkRadioStyle extends ArkCommonMethodStyle implements RadioAttribut radioStyle_value?: RadioStyle | undefined contentModifier_value?: ContentModifier | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public checked(value: boolean | Bindable | undefined): this { + checked(value: boolean | Bindable | undefined): this { return this } - public onChange(value: OnRadioChangeCallback | undefined): this { + onChange(value: OnRadioChangeCallback | undefined): this { return this } - public radioStyle(value: RadioStyle | undefined): this { + radioStyle(value: RadioStyle | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/rating.ets b/arkoala-arkts/arkui/generated/component/rating.ets index 613d709a4..8b2a5eaa2 100644 --- a/arkoala-arkts/arkui/generated/component/rating.ets +++ b/arkoala-arkts/arkui/generated/component/rating.ets @@ -22,7 +22,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, Bindable, CommonConfiguration, ArkCommonMethodComponent, ArkCommonMethodStyle, Bindable_Number_serializer } from "./common" -import { ContentModifier, AttributeModifier, hookRatingContentModifier, AttributeUpdater, extractors } from "#handwritten" +import { ContentModifier, AttributeModifier, hookRatingContentModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -147,19 +147,19 @@ export class ArkRatingStyle extends ArkCommonMethodStyle implements RatingAttrib onChange_value?: OnRatingChangeCallback | undefined contentModifier_value?: ContentModifier | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public stars(value: number | undefined): this { + stars(value: number | undefined): this { return this } - public stepSize(value: number | undefined): this { + stepSize(value: number | undefined): this { return this } - public starStyle(value: StarStyleOptions | undefined): this { + starStyle(value: StarStyleOptions | undefined): this { return this } - public onChange(value: OnRatingChangeCallback | undefined): this { + onChange(value: OnRatingChangeCallback | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/rect.ets b/arkoala-arkts/arkui/generated/component/rect.ets index 3988950b6..dd946154b 100644 --- a/arkoala-arkts/arkui/generated/component/rect.ets +++ b/arkoala-arkts/arkui/generated/component/rect.ets @@ -17,20 +17,20 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { SerializerBase, DeserializerBase, nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, NativeBuffer, CallbackResource, InteropNativeModule, Tags, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" +import { Resource_serializer } from "./../framework/resource" import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonShapeMethodPeer, CommonShapeMethod, CommonMethod, ArkCommonShapeMethodComponent, ArkCommonShapeMethodStyle, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { Length } from "./units" +import { Resource } from "global.resource" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { Length } from "./units" -import { Resource } from "global.resource" import { NodeAttach, remember } from "@koalaui/runtime" -import { Resource_serializer } from "./../framework/resource" export class ArkRectPeer extends ArkCommonShapeMethodPeer { protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { super(peerPtr, id, name, flags) @@ -62,33 +62,100 @@ export class ArkRectPeer extends ArkCommonShapeMethodPeer { ArkUIGeneratedNativeModule._RectInterface_setRectOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setRadiusAttribute(value: number | string | Array | undefined): void { + setRadiusWidthAttribute(value: double | string | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + if (valueTmpValue instanceof double) { + thisSerializer.writeInt8((0).toChar()) + const valueTmpValueForIdx0 = valueTmpValue as double + thisSerializer.writeFloat64(valueTmpValueForIdx0) + } else if (valueTmpValue instanceof string) { + thisSerializer.writeInt8((1).toChar()) + const valueTmpValueForIdx1 = valueTmpValue as string + thisSerializer.writeString(valueTmpValueForIdx1) + } + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._RectAttribute_setRadiusWidth(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setRadiusHeightAttribute(value: double | string | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) const valueTmpValue = value! - if (valueTmpValue instanceof number) { + if (valueTmpValue instanceof double) { thisSerializer.writeInt8((0).toChar()) - const valueTmpValueForIdx0 = valueTmpValue as number - thisSerializer.writeNumber(valueTmpValueForIdx0) + const valueTmpValueForIdx0 = valueTmpValue as double + thisSerializer.writeFloat64(valueTmpValueForIdx0) } else if (valueTmpValue instanceof string) { thisSerializer.writeInt8((1).toChar()) const valueTmpValueForIdx1 = valueTmpValue as string thisSerializer.writeString(valueTmpValueForIdx1) - } else if (TypeChecker.isArray_Union_Number_String(valueTmpValue)) { - thisSerializer.writeInt8((2).toChar()) - const valueTmpValueForIdx2 = valueTmpValue as Array - thisSerializer.writeInt32((valueTmpValueForIdx2.length).toInt()) - for (let valueTmpValueForIdx2CounterI = 0; valueTmpValueForIdx2CounterI < valueTmpValueForIdx2.length; valueTmpValueForIdx2CounterI++) { - const valueTmpValueForIdx2TmpElement : number | string = valueTmpValueForIdx2[valueTmpValueForIdx2CounterI] - if (valueTmpValueForIdx2TmpElement instanceof number) { + } + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._RectAttribute_setRadiusHeight(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setRadiusAttribute(value: Length | Array | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + if (valueTmpValue instanceof Length) { + thisSerializer.writeInt8((0).toChar()) + const valueTmpValueForIdx0 = valueTmpValue as Length + if (valueTmpValueForIdx0 instanceof string) { + thisSerializer.writeInt8((0).toChar()) + const valueTmpValueForIdx0ForIdx0 = valueTmpValueForIdx0 as string + thisSerializer.writeString(valueTmpValueForIdx0ForIdx0) + } else if (valueTmpValueForIdx0 instanceof number) { + thisSerializer.writeInt8((1).toChar()) + const valueTmpValueForIdx0ForIdx1 = valueTmpValueForIdx0 as number + thisSerializer.writeNumber(valueTmpValueForIdx0ForIdx1) + } else if (valueTmpValueForIdx0 instanceof Resource) { + thisSerializer.writeInt8((2).toChar()) + const valueTmpValueForIdx0ForIdx2 = valueTmpValueForIdx0 as Resource + Resource_serializer.write(thisSerializer, valueTmpValueForIdx0ForIdx2) + } + } else if (TypeChecker.isArray_RadiusItem(valueTmpValue)) { + thisSerializer.writeInt8((1).toChar()) + const valueTmpValueForIdx1 = valueTmpValue as Array + thisSerializer.writeInt32((valueTmpValueForIdx1.length).toInt()) + for (let valueTmpValueForIdx1CounterI = 0; valueTmpValueForIdx1CounterI < valueTmpValueForIdx1.length; valueTmpValueForIdx1CounterI++) { + const valueTmpValueForIdx1TmpElement : RadiusItem = valueTmpValueForIdx1[valueTmpValueForIdx1CounterI] + const valueTmpValueForIdx1TmpElement_0 = valueTmpValueForIdx1TmpElement[0] + if (valueTmpValueForIdx1TmpElement_0 instanceof string) { thisSerializer.writeInt8((0).toChar()) - const valueTmpValueForIdx2TmpElementForIdx0 = valueTmpValueForIdx2TmpElement as number - thisSerializer.writeNumber(valueTmpValueForIdx2TmpElementForIdx0) - } else if (valueTmpValueForIdx2TmpElement instanceof string) { + const valueTmpValueForIdx1TmpElement_0ForIdx0 = valueTmpValueForIdx1TmpElement_0 as string + thisSerializer.writeString(valueTmpValueForIdx1TmpElement_0ForIdx0) + } else if (valueTmpValueForIdx1TmpElement_0 instanceof number) { thisSerializer.writeInt8((1).toChar()) - const valueTmpValueForIdx2TmpElementForIdx1 = valueTmpValueForIdx2TmpElement as string - thisSerializer.writeString(valueTmpValueForIdx2TmpElementForIdx1) + const valueTmpValueForIdx1TmpElement_0ForIdx1 = valueTmpValueForIdx1TmpElement_0 as number + thisSerializer.writeNumber(valueTmpValueForIdx1TmpElement_0ForIdx1) + } else if (valueTmpValueForIdx1TmpElement_0 instanceof Resource) { + thisSerializer.writeInt8((2).toChar()) + const valueTmpValueForIdx1TmpElement_0ForIdx2 = valueTmpValueForIdx1TmpElement_0 as Resource + Resource_serializer.write(thisSerializer, valueTmpValueForIdx1TmpElement_0ForIdx2) + } + const valueTmpValueForIdx1TmpElement_1 = valueTmpValueForIdx1TmpElement[1] + if (valueTmpValueForIdx1TmpElement_1 instanceof string) { + thisSerializer.writeInt8((0).toChar()) + const valueTmpValueForIdx1TmpElement_1ForIdx0 = valueTmpValueForIdx1TmpElement_1 as string + thisSerializer.writeString(valueTmpValueForIdx1TmpElement_1ForIdx0) + } else if (valueTmpValueForIdx1TmpElement_1 instanceof number) { + thisSerializer.writeInt8((1).toChar()) + const valueTmpValueForIdx1TmpElement_1ForIdx1 = valueTmpValueForIdx1TmpElement_1 as number + thisSerializer.writeNumber(valueTmpValueForIdx1TmpElement_1ForIdx1) + } else if (valueTmpValueForIdx1TmpElement_1 instanceof Resource) { + thisSerializer.writeInt8((2).toChar()) + const valueTmpValueForIdx1TmpElement_1ForIdx2 = valueTmpValueForIdx1TmpElement_1 as Resource + Resource_serializer.write(thisSerializer, valueTmpValueForIdx1TmpElement_1ForIdx2) } } } @@ -104,14 +171,24 @@ export type RadiusItem = [ Length ] export interface RectOptions { - width?: Length; - height?: Length; + width?: double | string; + height?: double | string; radius?: Length | Array; } export interface RoundedRectOptions { + width?: double | string; + height?: double | string; + radiusWidth?: double | string; + radiusHeight?: double | string; } export interface RectAttribute extends CommonShapeMethod { - radius(value: number | string | Array | undefined): this { + radiusWidth(value: double | string | undefined): this { + throw new Error("Unimplemented method radiusWidth") + } + radiusHeight(value: double | string | undefined): this { + throw new Error("Unimplemented method radiusHeight") + } + radius(value: Length | Array | undefined): this { throw new Error("Unimplemented method radius") } attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { @@ -119,9 +196,17 @@ export interface RectAttribute extends CommonShapeMethod { } } export class ArkRectStyle extends ArkCommonShapeMethodStyle implements RectAttribute { - radius_value?: number | string | Array | undefined + radiusWidth_value?: double | string | undefined + radiusHeight_value?: double | string | undefined + radius_value?: Length | Array | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public radius(value: number | string | Array | undefined): this { + radiusWidth(value: double | string | undefined): this { + return this + } + radiusHeight(value: double | string | undefined): this { + return this + } + radius(value: Length | Array | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { @@ -141,9 +226,25 @@ export class ArkRectComponent extends ArkCommonShapeMethodComponent implements R } return this } - public radius(value: number | string | Array | undefined): this { + public radiusWidth(value: double | string | undefined): this { + if (this.checkPriority("radiusWidth")) { + const value_casted = value as (double | string | undefined) + this.getPeer()?.setRadiusWidthAttribute(value_casted) + return this + } + return this + } + public radiusHeight(value: double | string | undefined): this { + if (this.checkPriority("radiusHeight")) { + const value_casted = value as (double | string | undefined) + this.getPeer()?.setRadiusHeightAttribute(value_casted) + return this + } + return this + } + public radius(value: Length | Array | undefined): this { if (this.checkPriority("radius")) { - const value_casted = value as (number | string | Array | undefined) + const value_casted = value as (Length | Array | undefined) this.getPeer()?.setRadiusAttribute(value_casted) return this } @@ -179,9 +280,135 @@ export function Rect( export class RoundedRectOptions_serializer { public static write(buffer: SerializerBase, value: RoundedRectOptions): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForWidth = value.width + if (valueHolderForWidth !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForWidthTmpValue = valueHolderForWidth! + if (valueHolderForWidthTmpValue instanceof double) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue as double + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx0) + } else if (valueHolderForWidthTmpValue instanceof string) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue as string + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx1) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForHeight = value.height + if (valueHolderForHeight !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForHeightTmpValue = valueHolderForHeight! + if (valueHolderForHeightTmpValue instanceof double) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue as double + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx0) + } else if (valueHolderForHeightTmpValue instanceof string) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue as string + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx1) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForRadiusWidth = value.radiusWidth + if (valueHolderForRadiusWidth !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForRadiusWidthTmpValue = valueHolderForRadiusWidth! + if (valueHolderForRadiusWidthTmpValue instanceof double) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForRadiusWidthTmpValueForIdx0 = valueHolderForRadiusWidthTmpValue as double + valueSerializer.writeFloat64(valueHolderForRadiusWidthTmpValueForIdx0) + } else if (valueHolderForRadiusWidthTmpValue instanceof string) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForRadiusWidthTmpValueForIdx1 = valueHolderForRadiusWidthTmpValue as string + valueSerializer.writeString(valueHolderForRadiusWidthTmpValueForIdx1) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForRadiusHeight = value.radiusHeight + if (valueHolderForRadiusHeight !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForRadiusHeightTmpValue = valueHolderForRadiusHeight! + if (valueHolderForRadiusHeightTmpValue instanceof double) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForRadiusHeightTmpValueForIdx0 = valueHolderForRadiusHeightTmpValue as double + valueSerializer.writeFloat64(valueHolderForRadiusHeightTmpValueForIdx0) + } else if (valueHolderForRadiusHeightTmpValue instanceof string) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForRadiusHeightTmpValueForIdx1 = valueHolderForRadiusHeightTmpValue as string + valueSerializer.writeString(valueHolderForRadiusHeightTmpValueForIdx1) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } } public static read(buffer: DeserializerBase): RoundedRectOptions { - let value : RoundedRectOptions = ({} as RoundedRectOptions) + let valueDeserializer : DeserializerBase = buffer + const widthTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let widthTmpBuf : double | string | undefined + if ((widthTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const widthTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() + let widthTmpBuf_ : double | string | undefined + if (widthTmpBuf_UnionSelector == (0).toChar()) { + widthTmpBuf_ = valueDeserializer.readFloat64() + } else if (widthTmpBuf_UnionSelector == (1).toChar()) { + widthTmpBuf_ = (valueDeserializer.readString() as string) + } else { + throw new Error("One of the branches for widthTmpBuf_ has to be chosen through deserialisation.") + } + widthTmpBuf = (widthTmpBuf_ as double | string) + } + const widthTmpResult : double | string | undefined = widthTmpBuf + const heightTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let heightTmpBuf : double | string | undefined + if ((heightTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const heightTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() + let heightTmpBuf_ : double | string | undefined + if (heightTmpBuf_UnionSelector == (0).toChar()) { + heightTmpBuf_ = valueDeserializer.readFloat64() + } else if (heightTmpBuf_UnionSelector == (1).toChar()) { + heightTmpBuf_ = (valueDeserializer.readString() as string) + } else { + throw new Error("One of the branches for heightTmpBuf_ has to be chosen through deserialisation.") + } + heightTmpBuf = (heightTmpBuf_ as double | string) + } + const heightTmpResult : double | string | undefined = heightTmpBuf + const radiusWidthTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let radiusWidthTmpBuf : double | string | undefined + if ((radiusWidthTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const radiusWidthTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() + let radiusWidthTmpBuf_ : double | string | undefined + if (radiusWidthTmpBuf_UnionSelector == (0).toChar()) { + radiusWidthTmpBuf_ = valueDeserializer.readFloat64() + } else if (radiusWidthTmpBuf_UnionSelector == (1).toChar()) { + radiusWidthTmpBuf_ = (valueDeserializer.readString() as string) + } else { + throw new Error("One of the branches for radiusWidthTmpBuf_ has to be chosen through deserialisation.") + } + radiusWidthTmpBuf = (radiusWidthTmpBuf_ as double | string) + } + const radiusWidthTmpResult : double | string | undefined = radiusWidthTmpBuf + const radiusHeightTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let radiusHeightTmpBuf : double | string | undefined + if ((radiusHeightTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const radiusHeightTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() + let radiusHeightTmpBuf_ : double | string | undefined + if (radiusHeightTmpBuf_UnionSelector == (0).toChar()) { + radiusHeightTmpBuf_ = valueDeserializer.readFloat64() + } else if (radiusHeightTmpBuf_UnionSelector == (1).toChar()) { + radiusHeightTmpBuf_ = (valueDeserializer.readString() as string) + } else { + throw new Error("One of the branches for radiusHeightTmpBuf_ has to be chosen through deserialisation.") + } + radiusHeightTmpBuf = (radiusHeightTmpBuf_ as double | string) + } + const radiusHeightTmpResult : double | string | undefined = radiusHeightTmpBuf + let value : RoundedRectOptions = ({width: widthTmpResult, height: heightTmpResult, radiusWidth: radiusWidthTmpResult, radiusHeight: radiusHeightTmpResult} as RoundedRectOptions) return value } } @@ -192,18 +419,14 @@ export class RectOptions_serializer { if (valueHolderForWidth !== undefined) { valueSerializer.writeInt8(RuntimeType.OBJECT) const valueHolderForWidthTmpValue = valueHolderForWidth! - if (valueHolderForWidthTmpValue instanceof string) { + if (valueHolderForWidthTmpValue instanceof double) { valueSerializer.writeInt8((0).toChar()) - const valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue as string - valueSerializer.writeString(valueHolderForWidthTmpValueForIdx0) - } else if (valueHolderForWidthTmpValue instanceof number) { + const valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue as double + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx0) + } else if (valueHolderForWidthTmpValue instanceof string) { valueSerializer.writeInt8((1).toChar()) - const valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue as number - valueSerializer.writeNumber(valueHolderForWidthTmpValueForIdx1) - } else if (valueHolderForWidthTmpValue instanceof Resource) { - valueSerializer.writeInt8((2).toChar()) - const valueHolderForWidthTmpValueForIdx2 = valueHolderForWidthTmpValue as Resource - Resource_serializer.write(valueSerializer, valueHolderForWidthTmpValueForIdx2) + const valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue as string + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx1) } } else { valueSerializer.writeInt8(RuntimeType.UNDEFINED) @@ -212,18 +435,14 @@ export class RectOptions_serializer { if (valueHolderForHeight !== undefined) { valueSerializer.writeInt8(RuntimeType.OBJECT) const valueHolderForHeightTmpValue = valueHolderForHeight! - if (valueHolderForHeightTmpValue instanceof string) { + if (valueHolderForHeightTmpValue instanceof double) { valueSerializer.writeInt8((0).toChar()) - const valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue as string - valueSerializer.writeString(valueHolderForHeightTmpValueForIdx0) - } else if (valueHolderForHeightTmpValue instanceof number) { + const valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue as double + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx0) + } else if (valueHolderForHeightTmpValue instanceof string) { valueSerializer.writeInt8((1).toChar()) - const valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue as number - valueSerializer.writeNumber(valueHolderForHeightTmpValueForIdx1) - } else if (valueHolderForHeightTmpValue instanceof Resource) { - valueSerializer.writeInt8((2).toChar()) - const valueHolderForHeightTmpValueForIdx2 = valueHolderForHeightTmpValue as Resource - Resource_serializer.write(valueSerializer, valueHolderForHeightTmpValueForIdx2) + const valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue as string + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx1) } } else { valueSerializer.writeInt8(RuntimeType.UNDEFINED) @@ -291,39 +510,35 @@ export class RectOptions_serializer { public static read(buffer: DeserializerBase): RectOptions { let valueDeserializer : DeserializerBase = buffer const widthTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() - let widthTmpBuf : Length | undefined + let widthTmpBuf : double | string | undefined if ((widthTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { const widthTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() - let widthTmpBuf_ : string | number | Resource | undefined + let widthTmpBuf_ : double | string | undefined if (widthTmpBuf_UnionSelector == (0).toChar()) { - widthTmpBuf_ = (valueDeserializer.readString() as string) + widthTmpBuf_ = valueDeserializer.readFloat64() } else if (widthTmpBuf_UnionSelector == (1).toChar()) { - widthTmpBuf_ = (valueDeserializer.readNumber() as number) - } else if (widthTmpBuf_UnionSelector == (2).toChar()) { - widthTmpBuf_ = Resource_serializer.read(valueDeserializer) + widthTmpBuf_ = (valueDeserializer.readString() as string) } else { throw new Error("One of the branches for widthTmpBuf_ has to be chosen through deserialisation.") } - widthTmpBuf = (widthTmpBuf_ as string | number | Resource) + widthTmpBuf = (widthTmpBuf_ as double | string) } - const widthTmpResult : Length | undefined = widthTmpBuf + const widthTmpResult : double | string | undefined = widthTmpBuf const heightTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() - let heightTmpBuf : Length | undefined + let heightTmpBuf : double | string | undefined if ((heightTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { const heightTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() - let heightTmpBuf_ : string | number | Resource | undefined + let heightTmpBuf_ : double | string | undefined if (heightTmpBuf_UnionSelector == (0).toChar()) { - heightTmpBuf_ = (valueDeserializer.readString() as string) + heightTmpBuf_ = valueDeserializer.readFloat64() } else if (heightTmpBuf_UnionSelector == (1).toChar()) { - heightTmpBuf_ = (valueDeserializer.readNumber() as number) - } else if (heightTmpBuf_UnionSelector == (2).toChar()) { - heightTmpBuf_ = Resource_serializer.read(valueDeserializer) + heightTmpBuf_ = (valueDeserializer.readString() as string) } else { throw new Error("One of the branches for heightTmpBuf_ has to be chosen through deserialisation.") } - heightTmpBuf = (heightTmpBuf_ as string | number | Resource) + heightTmpBuf = (heightTmpBuf_ as double | string) } - const heightTmpResult : Length | undefined = heightTmpBuf + const heightTmpResult : double | string | undefined = heightTmpBuf const radiusTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() let radiusTmpBuf : Length | Array | undefined if ((radiusTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { diff --git a/arkoala-arkts/arkui/generated/component/refresh.ets b/arkoala-arkts/arkui/generated/component/refresh.ets index b53ba7fc0..bc5a5ff17 100644 --- a/arkoala-arkts/arkui/generated/component/refresh.ets +++ b/arkoala-arkts/arkui/generated/component/refresh.ets @@ -22,7 +22,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, Bindable, ArkCommonMethodComponent, ArkCommonMethodStyle, Bindable_Boolean_serializer } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -172,22 +172,22 @@ export class ArkRefreshStyle extends ArkCommonMethodStyle implements RefreshAttr onOffsetChange_value?: ((value0: number) => void) | undefined pullDownRatio_value?: number | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onStateChange(value: ((state: RefreshStatus) => void) | undefined): this { + onStateChange(value: ((state: RefreshStatus) => void) | undefined): this { return this } - public onRefreshing(value: (() => void) | undefined): this { + onRefreshing(value: (() => void) | undefined): this { return this } - public refreshOffset(value: number | undefined): this { + refreshOffset(value: number | undefined): this { return this } - public pullToRefresh(value: boolean | undefined): this { + pullToRefresh(value: boolean | undefined): this { return this } - public onOffsetChange(value: ((value0: number) => void) | undefined): this { + onOffsetChange(value: ((value0: number) => void) | undefined): this { return this } - public pullDownRatio(value: number | undefined): this { + pullDownRatio(value: number | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/relativeContainer.ets b/arkoala-arkts/arkui/generated/component/relativeContainer.ets index 71d7c58d6..e2e8dd08b 100644 --- a/arkoala-arkts/arkui/generated/component/relativeContainer.ets +++ b/arkoala-arkts/arkui/generated/component/relativeContainer.ets @@ -22,7 +22,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -125,10 +125,10 @@ export class ArkRelativeContainerStyle extends ArkCommonMethodStyle implements R guideLine_value?: Array | undefined barrier_value?: Array | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public guideLine(value: Array | undefined): this { + guideLine(value: Array | undefined): this { return this } - public barrier(value: Array | undefined): this { + barrier(value: Array | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/remoteWindow.ets b/arkoala-arkts/arkui/generated/component/remoteWindow.ets index 9dfbd897a..fd0f28491 100644 --- a/arkoala-arkts/arkui/generated/component/remoteWindow.ets +++ b/arkoala-arkts/arkui/generated/component/remoteWindow.ets @@ -22,7 +22,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" diff --git a/arkoala-arkts/arkui/generated/component/richEditor.ets b/arkoala-arkts/arkui/generated/component/richEditor.ets index 4e636a163..142385586 100644 --- a/arkoala-arkts/arkui/generated/component/richEditor.ets +++ b/arkoala-arkts/arkui/generated/component/richEditor.ets @@ -29,18 +29,19 @@ import { VoidCallback, ResourceColor, ResourceStr, Font, Length, Dimension, Padd import { CopyOptions, Color, BarState, ResponseType, FontStyle, FontWeight, TextAlign, WordBreak, LineBreakStrategy, ImageSpanAlignment, ImageFit } from "./enums" import { Resource } from "global.resource" import { EnterKeyType, SubmitEvent } from "./textInput" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, extractors, AttributeUpdater } from "#handwritten" import { CustomBuilder } from "./builder" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { DecorationStyleInterface, DecorationStyleInterface_serializer, StyledString, StyledStringInternal, MutableStyledString, MutableStyledStringInternal } from "./styledString" import { TextBackgroundStyle, TextBackgroundStyle_serializer } from "./span" -import { image, image_PixelMap_serializer } from "./../framework/ohos.multimedia.image" +import { image } from "@ohos.multimedia.image" import { SymbolEffectStrategy, SymbolRenderingStrategy } from "./symbolglyph" import { GestureEvent, GestureEvent_serializer } from "./gesture" import { ColorMetrics, ColorMetrics_serializer } from "./../Graphics" import { NodeAttach, remember } from "@koalaui/runtime" +import { image_PixelMap_serializer } from "./../framework/ohos.multimedia.image" import { CustomNodeBuilder } from "./idlize" export class RichEditorBaseControllerInternal { public static fromPtr(ptr: KPointer): RichEditorBaseController { @@ -183,16 +184,18 @@ export class ArkRichEditorPeer extends ArkCommonMethodPeer { component?.setPeer(_peer) return _peer } - setRichEditorOptions0Attribute(value: RichEditorOptions): void { + setRichEditorOptionsAttribute(options: RichEditorOptions | RichEditorStyledStringOptions): void { const thisSerializer : SerializerBase = SerializerBase.hold() - RichEditorOptions_serializer.write(thisSerializer, value) - ArkUIGeneratedNativeModule._RichEditorInterface_setRichEditorOptions0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - setRichEditorOptions1Attribute(options: RichEditorStyledStringOptions): void { - const thisSerializer : SerializerBase = SerializerBase.hold() - RichEditorStyledStringOptions_serializer.write(thisSerializer, options) - ArkUIGeneratedNativeModule._RichEditorInterface_setRichEditorOptions1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + if (options instanceof RichEditorOptions) { + thisSerializer.writeInt8((0).toChar()) + const optionsForIdx0 = options as RichEditorOptions + RichEditorOptions_serializer.write(thisSerializer, optionsForIdx0) + } else if (options instanceof RichEditorStyledStringOptions) { + thisSerializer.writeInt8((1).toChar()) + const optionsForIdx1 = options as RichEditorStyledStringOptions + RichEditorStyledStringOptions_serializer.write(thisSerializer, optionsForIdx1) + } + ArkUIGeneratedNativeModule._RichEditorInterface_setRichEditorOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } setOnReadyAttribute(value: VoidCallback | undefined): void { @@ -1028,103 +1031,103 @@ export class ArkRichEditorStyle extends ArkCommonMethodStyle implements RichEdit keyboardAppearance_value?: KeyboardAppearance | undefined stopBackPress_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onReady(value: VoidCallback | undefined): this { + onReady(value: VoidCallback | undefined): this { return this } - public onSelect(value: ((value0: RichEditorSelection) => void) | undefined): this { + onSelect(value: ((value0: RichEditorSelection) => void) | undefined): this { return this } - public onSelectionChange(value: ((value0: RichEditorRange) => void) | undefined): this { + onSelectionChange(value: ((value0: RichEditorRange) => void) | undefined): this { return this } - public aboutToIMEInput(value: ((value0: RichEditorInsertValue) => boolean) | undefined): this { + aboutToIMEInput(value: ((value0: RichEditorInsertValue) => boolean) | undefined): this { return this } - public onIMEInputComplete(value: ((value0: RichEditorTextSpanResult) => void) | undefined): this { + onIMEInputComplete(value: ((value0: RichEditorTextSpanResult) => void) | undefined): this { return this } - public onDidIMEInput(value: ((value0: TextRange) => void) | undefined): this { + onDidIMEInput(value: ((value0: TextRange) => void) | undefined): this { return this } - public aboutToDelete(value: ((value0: RichEditorDeleteValue) => boolean) | undefined): this { + aboutToDelete(value: ((value0: RichEditorDeleteValue) => boolean) | undefined): this { return this } - public onDeleteComplete(value: VoidCallback | undefined): this { + onDeleteComplete(value: VoidCallback | undefined): this { return this } - public copyOptions(value: CopyOptions | undefined): this { + copyOptions(value: CopyOptions | undefined): this { return this } - public onPaste(value: PasteEventCallback | undefined): this { + onPaste(value: PasteEventCallback | undefined): this { return this } - public enableDataDetector(value: boolean | undefined): this { + enableDataDetector(value: boolean | undefined): this { return this } - public enablePreviewText(value: boolean | undefined): this { + enablePreviewText(value: boolean | undefined): this { return this } - public dataDetectorConfig(value: TextDataDetectorConfig | undefined): this { + dataDetectorConfig(value: TextDataDetectorConfig | undefined): this { return this } - public caretColor(value: ResourceColor | undefined): this { + caretColor(value: ResourceColor | undefined): this { return this } - public selectedBackgroundColor(value: ResourceColor | undefined): this { + selectedBackgroundColor(value: ResourceColor | undefined): this { return this } - public onEditingChange(value: ((value0: boolean) => void) | undefined): this { + onEditingChange(value: ((value0: boolean) => void) | undefined): this { return this } - public enterKeyType(value: EnterKeyType | undefined): this { + enterKeyType(value: EnterKeyType | undefined): this { return this } - public onSubmit(value: SubmitCallback | undefined): this { + onSubmit(value: SubmitCallback | undefined): this { return this } - public onWillChange(value: ((value0: RichEditorChangeValue) => boolean) | undefined): this { + onWillChange(value: ((value0: RichEditorChangeValue) => boolean) | undefined): this { return this } - public onDidChange(value: OnDidChangeCallback | undefined): this { + onDidChange(value: OnDidChangeCallback | undefined): this { return this } - public onCut(value: ((value0: CutEvent) => void) | undefined): this { + onCut(value: ((value0: CutEvent) => void) | undefined): this { return this } - public onCopy(value: ((value0: CopyEvent) => void) | undefined): this { + onCopy(value: ((value0: CopyEvent) => void) | undefined): this { return this } - public editMenuOptions(value: EditMenuOptions | undefined): this { + editMenuOptions(value: EditMenuOptions | undefined): this { return this } - public enableKeyboardOnFocus(value: boolean | undefined): this { + enableKeyboardOnFocus(value: boolean | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public barState(value: BarState | undefined): this { + barState(value: BarState | undefined): this { return this } - public maxLength(value: number | undefined): this { + maxLength(value: number | undefined): this { return this } - public maxLines(value: number | undefined): this { + maxLines(value: number | undefined): this { return this } - public keyboardAppearance(value: KeyboardAppearance | undefined): this { + keyboardAppearance(value: KeyboardAppearance | undefined): this { return this } - public stopBackPress(value: boolean | undefined): this { + stopBackPress(value: boolean | undefined): this { return this } - public bindSelectionMenu(spanType: RichEditorSpanType | undefined, content: CustomBuilder | undefined, responseType: ResponseType | RichEditorResponseType | undefined, options?: SelectionMenuOptions): this { + bindSelectionMenu(spanType: RichEditorSpanType | undefined, content: CustomBuilder | undefined, responseType: ResponseType | RichEditorResponseType | undefined, options?: SelectionMenuOptions): this { return this } - public customKeyboard(value: CustomBuilder | undefined, options?: KeyboardOptions): this { + customKeyboard(value: CustomBuilder | undefined, options?: KeyboardOptions): this { return this } - public placeholder(value: ResourceStr | undefined, style?: PlaceholderStyle): this { + placeholder(value: ResourceStr | undefined, style?: PlaceholderStyle): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -1150,18 +1153,10 @@ export class ArkRichEditorComponent extends ArkCommonMethodComponent implements getPeer(): ArkRichEditorPeer { return (this.peer as ArkRichEditorPeer) } - public setRichEditorOptions(value: RichEditorOptions): this { + public setRichEditorOptions(options: RichEditorOptions | RichEditorStyledStringOptions): this { if (this.checkPriority("setRichEditorOptions")) { - const value_casted = value as (RichEditorOptions) - this.getPeer()?.setRichEditorOptions0Attribute(value_casted) - return this - } - return this - } - public setRichEditorOptions(options: RichEditorStyledStringOptions): this { - if (this.checkPriority("setRichEditorOptions")) { - const options_casted = options as (RichEditorStyledStringOptions) - this.getPeer()?.setRichEditorOptions1Attribute(options_casted) + const options_casted = options as (RichEditorOptions | RichEditorStyledStringOptions) + this.getPeer()?.setRichEditorOptionsAttribute(options_casted) return this } return this @@ -1448,27 +1443,7 @@ export class ArkRichEditorComponent extends ArkCommonMethodComponent implements export function RichEditor( @memo style: ((attributes: RichEditorAttribute) => void) | undefined, - value: RichEditorOptions, - @memo - content_?: () => void, -): void { - const receiver = remember((): ArkRichEditorComponent => { - return new ArkRichEditorComponent() - }) - NodeAttach((): ArkRichEditorPeer => ArkRichEditorPeer.create(receiver), (_: ArkRichEditorPeer): void => { - receiver.setRichEditorOptions(value) - style?.(receiver) - content_?.() - receiver.applyAttributesFinish() - }) -} - - -@memo -export function RichEditor( - @memo - style: ((attributes: RichEditorAttribute) => void) | undefined, - options: RichEditorStyledStringOptions, + options: RichEditorOptions | RichEditorStyledStringOptions, @memo content_?: () => void, ): void { diff --git a/arkoala-arkts/arkui/generated/component/richText.ets b/arkoala-arkts/arkui/generated/component/richText.ets index ad67b2717..2d37992ba 100644 --- a/arkoala-arkts/arkui/generated/component/richText.ets +++ b/arkoala-arkts/arkui/generated/component/richText.ets @@ -82,10 +82,10 @@ export class ArkRichTextStyle extends ArkCommonMethodStyle implements RichTextAt onStart_value?: (() => void) | undefined onComplete_value?: (() => void) | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onStart(value: (() => void) | undefined): this { + onStart(value: (() => void) | undefined): this { return this } - public onComplete(value: (() => void) | undefined): this { + onComplete(value: (() => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/rootScene.ets b/arkoala-arkts/arkui/generated/component/rootScene.ets index 5901133dc..ca9438e05 100644 --- a/arkoala-arkts/arkui/generated/component/rootScene.ets +++ b/arkoala-arkts/arkui/generated/component/rootScene.ets @@ -22,7 +22,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" diff --git a/arkoala-arkts/arkui/generated/component/row.ets b/arkoala-arkts/arkui/generated/component/row.ets index c58a8e67a..8336dcb39 100644 --- a/arkoala-arkts/arkui/generated/component/row.ets +++ b/arkoala-arkts/arkui/generated/component/row.ets @@ -17,13 +17,13 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { SerializerBase, DeserializerBase, nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, NativeBuffer, CallbackResource, InteropNativeModule, Tags, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" -import { PointLightStyle_serializer, ArkCommonMethodPeer, CommonMethod, PointLightStyle, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" +import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { VerticalAlign, FlexAlign } from "./enums" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -84,18 +84,6 @@ export class ArkRowPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._RowAttribute_setJustifyContent(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setPointLightAttribute(value: PointLightStyle | undefined): void { - const thisSerializer : SerializerBase = SerializerBase.hold() - if (value !== undefined) { - thisSerializer.writeInt8(RuntimeType.OBJECT) - const valueTmpValue = value! - PointLightStyle_serializer.write(thisSerializer, valueTmpValue) - } else { - thisSerializer.writeInt8(RuntimeType.UNDEFINED) - } - ArkUIGeneratedNativeModule._RowAttribute_setPointLight(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } setReverseAttribute(value: boolean | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { @@ -122,9 +110,6 @@ export interface RowAttribute extends CommonMethod { justifyContent(value: FlexAlign | undefined): this { throw new Error("Unimplemented method justifyContent") } - pointLight(value: PointLightStyle | undefined): this { - throw new Error("Unimplemented method pointLight") - } reverse(value: boolean | undefined): this { throw new Error("Unimplemented method reverse") } @@ -135,19 +120,15 @@ export interface RowAttribute extends CommonMethod { export class ArkRowStyle extends ArkCommonMethodStyle implements RowAttribute { alignItems_value?: VerticalAlign | undefined justifyContent_value?: FlexAlign | undefined - pointLight_value?: PointLightStyle | undefined reverse_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public alignItems(value: VerticalAlign | undefined): this { - return this - } - public justifyContent(value: FlexAlign | undefined): this { + alignItems(value: VerticalAlign | undefined): this { return this } - public pointLight(value: PointLightStyle | undefined): this { + justifyContent(value: FlexAlign | undefined): this { return this } - public reverse(value: boolean | undefined): this { + reverse(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -183,14 +164,6 @@ export class ArkRowComponent extends ArkCommonMethodComponent implements RowAttr } return this } - public pointLight(value: PointLightStyle | undefined): this { - if (this.checkPriority("pointLight")) { - const value_casted = value as (PointLightStyle | undefined) - this.getPeer()?.setPointLightAttribute(value_casted) - return this - } - return this - } public reverse(value: boolean | undefined): this { if (this.checkPriority("reverse")) { const value_casted = value as (boolean | undefined) diff --git a/arkoala-arkts/arkui/generated/component/rowSplit.ets b/arkoala-arkts/arkui/generated/component/rowSplit.ets index 782444b04..5a2b3f3b3 100644 --- a/arkoala-arkts/arkui/generated/component/rowSplit.ets +++ b/arkoala-arkts/arkui/generated/component/rowSplit.ets @@ -66,7 +66,7 @@ export interface RowSplitAttribute extends CommonMethod { export class ArkRowSplitStyle extends ArkCommonMethodStyle implements RowSplitAttribute { resizeable_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public resizeable(value: boolean | undefined): this { + resizeable(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/scroll.ets b/arkoala-arkts/arkui/generated/component/scroll.ets index c5399701d..85a28997e 100644 --- a/arkoala-arkts/arkui/generated/component/scroll.ets +++ b/arkoala-arkts/arkui/generated/component/scroll.ets @@ -28,7 +28,7 @@ import { CallbackTransformer } from "./../CallbackTransformer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ScrollState, ScrollSnapAlign } from "./list" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" @@ -587,55 +587,55 @@ export class ArkScrollStyle extends ArkScrollableCommonMethodStyle implements Sc enablePaging_value?: boolean | undefined initialOffset_value?: OffsetOptions | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public scrollable(value: ScrollDirection | undefined): this { + scrollable(value: ScrollDirection | undefined): this { return this } - public onWillScroll(value: ScrollOnWillScrollCallback | undefined): this { + onWillScroll(value: ScrollOnWillScrollCallback | undefined): this { return this } - public onDidScroll(value: ScrollOnScrollCallback | undefined): this { + onDidScroll(value: ScrollOnScrollCallback | undefined): this { return this } - public onScrollEdge(value: OnScrollEdgeCallback | undefined): this { + onScrollEdge(value: OnScrollEdgeCallback | undefined): this { return this } - public onScrollStart(value: VoidCallback | undefined): this { + onScrollStart(value: VoidCallback | undefined): this { return this } - public onScrollStop(value: VoidCallback | undefined): this { + onScrollStop(value: VoidCallback | undefined): this { return this } - public scrollBar(value: BarState | undefined): this { + scrollBar(value: BarState | undefined): this { return this } - public scrollBarColor(value: Color | number | string | undefined): this { + scrollBarColor(value: Color | number | string | undefined): this { return this } - public scrollBarWidth(value: number | string | undefined): this { + scrollBarWidth(value: number | string | undefined): this { return this } - public onScrollFrameBegin(value: OnScrollFrameBeginCallback | undefined): this { + onScrollFrameBegin(value: OnScrollFrameBeginCallback | undefined): this { return this } - public nestedScroll(value: NestedScrollOptions | undefined): this { + nestedScroll(value: NestedScrollOptions | undefined): this { return this } - public enableScrollInteraction(value: boolean | undefined): this { + enableScrollInteraction(value: boolean | undefined): this { return this } - public friction(value: number | Resource | undefined): this { + friction(value: number | Resource | undefined): this { return this } - public scrollSnap(value: ScrollSnapOptions | undefined): this { + scrollSnap(value: ScrollSnapOptions | undefined): this { return this } - public enablePaging(value: boolean | undefined): this { + enablePaging(value: boolean | undefined): this { return this } - public initialOffset(value: OffsetOptions | undefined): this { + initialOffset(value: OffsetOptions | undefined): this { return this } - public edgeEffect(edgeEffect: EdgeEffect | undefined, options?: EdgeEffectOptions): this { + edgeEffect(edgeEffect: EdgeEffect | undefined, options?: EdgeEffectOptions): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/scrollBar.ets b/arkoala-arkts/arkui/generated/component/scrollBar.ets index 18acd216b..7d0442b1f 100644 --- a/arkoala-arkts/arkui/generated/component/scrollBar.ets +++ b/arkoala-arkts/arkui/generated/component/scrollBar.ets @@ -22,7 +22,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -82,7 +82,7 @@ export interface ScrollBarAttribute extends CommonMethod { export class ArkScrollBarStyle extends ArkCommonMethodStyle implements ScrollBarAttribute { enableNestedScroll_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public enableNestedScroll(value: boolean | undefined): this { + enableNestedScroll(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/search.ets b/arkoala-arkts/arkui/generated/component/search.ets index d3ba34692..38310aeda 100644 --- a/arkoala-arkts/arkui/generated/component/search.ets +++ b/arkoala-arkts/arkui/generated/component/search.ets @@ -30,7 +30,7 @@ import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { Color, CopyOptions, TextAlign } from "./enums" import { Resource } from "global.resource" import { EnterKeyType, SubmitEvent, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback } from "./textInput" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CustomBuilder } from "./builder" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" @@ -736,20 +736,12 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._SearchAttribute_setKeyboardAppearance(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setSearchButtonAttribute(value: ResourceStr | undefined, option?: SearchButtonOptions): void { + setSearchButtonAttribute(value: string | undefined, option?: SearchButtonOptions): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) const valueTmpValue = value! - if (valueTmpValue instanceof string) { - thisSerializer.writeInt8((0).toChar()) - const valueTmpValueForIdx0 = valueTmpValue as string - thisSerializer.writeString(valueTmpValueForIdx0) - } else if (valueTmpValue instanceof Resource) { - thisSerializer.writeInt8((1).toChar()) - const valueTmpValueForIdx1 = valueTmpValue as Resource - Resource_serializer.write(thisSerializer, valueTmpValueForIdx1) - } + thisSerializer.writeString(valueTmpValue) } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } @@ -981,7 +973,7 @@ export interface SearchAttribute extends CommonMethod { keyboardAppearance(value: KeyboardAppearance | undefined): this { throw new Error("Unimplemented method keyboardAppearance") } - searchButton(value: ResourceStr | undefined, option?: SearchButtonOptions): this { + searchButton(value: string | undefined, option?: SearchButtonOptions): this { throw new Error("Unimplemented method searchButton") } inputFilter(value: ResourceStr | undefined, error?: ((value0: string) => void)): this { @@ -1040,145 +1032,145 @@ export class ArkSearchStyle extends ArkCommonMethodStyle implements SearchAttrib onWillChange_value?: ((value0: EditableTextChangeValue) => boolean) | undefined keyboardAppearance_value?: KeyboardAppearance | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public searchIcon(value: IconOptions | SymbolGlyphModifier | undefined): this { + searchIcon(value: IconOptions | SymbolGlyphModifier | undefined): this { return this } - public cancelButton(value: CancelButtonOptions | CancelButtonSymbolOptions | undefined): this { + cancelButton(value: CancelButtonOptions | CancelButtonSymbolOptions | undefined): this { return this } - public textIndent(value: Dimension | undefined): this { + textIndent(value: Dimension | undefined): this { return this } - public onEditChange(value: ((value0: boolean) => void) | undefined): this { + onEditChange(value: ((value0: boolean) => void) | undefined): this { return this } - public selectedBackgroundColor(value: ResourceColor | undefined): this { + selectedBackgroundColor(value: ResourceColor | undefined): this { return this } - public caretStyle(value: CaretStyle | undefined): this { + caretStyle(value: CaretStyle | undefined): this { return this } - public placeholderColor(value: ResourceColor | undefined): this { + placeholderColor(value: ResourceColor | undefined): this { return this } - public placeholderFont(value: Font | undefined): this { + placeholderFont(value: Font | undefined): this { return this } - public textFont(value: Font | undefined): this { + textFont(value: Font | undefined): this { return this } - public enterKeyType(value: EnterKeyType | undefined): this { + enterKeyType(value: EnterKeyType | undefined): this { return this } - public onSubmit(value: ((value0: string) => void) | SearchSubmitCallback | undefined): this { + onSubmit(value: ((value0: string) => void) | SearchSubmitCallback | undefined): this { return this } - public onChange(value: EditableTextOnChangeCallback | undefined): this { + onChange(value: EditableTextOnChangeCallback | undefined): this { return this } - public onTextSelectionChange(value: OnTextSelectionChangeCallback | undefined): this { + onTextSelectionChange(value: OnTextSelectionChangeCallback | undefined): this { return this } - public onContentScroll(value: OnContentScrollCallback | undefined): this { + onContentScroll(value: OnContentScrollCallback | undefined): this { return this } - public onCopy(value: ((value0: string) => void) | undefined): this { + onCopy(value: ((value0: string) => void) | undefined): this { return this } - public onCut(value: ((value0: string) => void) | undefined): this { + onCut(value: ((value0: string) => void) | undefined): this { return this } - public onPaste(value: OnPasteCallback | undefined): this { + onPaste(value: OnPasteCallback | undefined): this { return this } - public copyOption(value: CopyOptions | undefined): this { + copyOption(value: CopyOptions | undefined): this { return this } - public maxLength(value: number | undefined): this { + maxLength(value: number | undefined): this { return this } - public textAlign(value: TextAlign | undefined): this { + textAlign(value: TextAlign | undefined): this { return this } - public enableKeyboardOnFocus(value: boolean | undefined): this { + enableKeyboardOnFocus(value: boolean | undefined): this { return this } - public selectionMenuHidden(value: boolean | undefined): this { + selectionMenuHidden(value: boolean | undefined): this { return this } - public minFontSize(value: number | string | Resource | undefined): this { + minFontSize(value: number | string | Resource | undefined): this { return this } - public maxFontSize(value: number | string | Resource | undefined): this { + maxFontSize(value: number | string | Resource | undefined): this { return this } - public minFontScale(value: number | Resource | undefined): this { + minFontScale(value: number | Resource | undefined): this { return this } - public maxFontScale(value: number | Resource | undefined): this { + maxFontScale(value: number | Resource | undefined): this { return this } - public decoration(value: TextDecorationOptions | undefined): this { + decoration(value: TextDecorationOptions | undefined): this { return this } - public letterSpacing(value: number | string | Resource | undefined): this { + letterSpacing(value: number | string | Resource | undefined): this { return this } - public lineHeight(value: number | string | Resource | undefined): this { + lineHeight(value: number | string | Resource | undefined): this { return this } - public type(value: SearchType | undefined): this { + type(value: SearchType | undefined): this { return this } - public fontFeature(value: string | undefined): this { + fontFeature(value: string | undefined): this { return this } - public onWillInsert(value: ((value0: InsertValue) => boolean) | undefined): this { + onWillInsert(value: ((value0: InsertValue) => boolean) | undefined): this { return this } - public onDidInsert(value: ((value0: InsertValue) => void) | undefined): this { + onDidInsert(value: ((value0: InsertValue) => void) | undefined): this { return this } - public onWillDelete(value: ((value0: DeleteValue) => boolean) | undefined): this { + onWillDelete(value: ((value0: DeleteValue) => boolean) | undefined): this { return this } - public onDidDelete(value: ((value0: DeleteValue) => void) | undefined): this { + onDidDelete(value: ((value0: DeleteValue) => void) | undefined): this { return this } - public editMenuOptions(value: EditMenuOptions | undefined): this { + editMenuOptions(value: EditMenuOptions | undefined): this { return this } - public enablePreviewText(value: boolean | undefined): this { + enablePreviewText(value: boolean | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public autoCapitalizationMode(value: AutoCapitalizationMode | undefined): this { + autoCapitalizationMode(value: AutoCapitalizationMode | undefined): this { return this } - public halfLeading(value: boolean | undefined): this { + halfLeading(value: boolean | undefined): this { return this } - public stopBackPress(value: boolean | undefined): this { + stopBackPress(value: boolean | undefined): this { return this } - public onWillChange(value: ((value0: EditableTextChangeValue) => boolean) | undefined): this { + onWillChange(value: ((value0: EditableTextChangeValue) => boolean) | undefined): this { return this } - public keyboardAppearance(value: KeyboardAppearance | undefined): this { + keyboardAppearance(value: KeyboardAppearance | undefined): this { return this } - public searchButton(value: ResourceStr | undefined, option?: SearchButtonOptions): this { + searchButton(value: string | undefined, option?: SearchButtonOptions): this { return this } - public inputFilter(value: ResourceStr | undefined, error?: ((value0: string) => void)): this { + inputFilter(value: ResourceStr | undefined, error?: ((value0: string) => void)): this { return this } - public customKeyboard(value: CustomBuilder | undefined, options?: KeyboardOptions): this { + customKeyboard(value: CustomBuilder | undefined, options?: KeyboardOptions): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -1550,9 +1542,9 @@ export class ArkSearchComponent extends ArkCommonMethodComponent implements Sear } return this } - public searchButton(value: ResourceStr | undefined, option?: SearchButtonOptions): this { + public searchButton(value: string | undefined, option?: SearchButtonOptions): this { if (this.checkPriority("searchButton")) { - const value_casted = value as (ResourceStr | undefined) + const value_casted = value as (string | undefined) const option_casted = option as (SearchButtonOptions | undefined) this.getPeer()?.setSearchButtonAttribute(value_casted, option_casted) return this diff --git a/arkoala-arkts/arkui/generated/component/select.ets b/arkoala-arkts/arkui/generated/component/select.ets index 1f2747fd3..66e4464a4 100644 --- a/arkoala-arkts/arkui/generated/component/select.ets +++ b/arkoala-arkts/arkui/generated/component/select.ets @@ -30,7 +30,7 @@ import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { Resource } from "global.resource" import { Color, OptionWidthMode } from "./enums" import { ControlSize } from "./button" -import { ContentModifier, AttributeModifier, hookSelectContentModifier, AttributeUpdater, extractors } from "#handwritten" +import { ContentModifier, AttributeModifier, hookSelectContentModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -545,6 +545,34 @@ export class ArkSelectPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._SelectAttribute_setMenuOutline(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + setBackgroundColorAttribute(value: ResourceColor | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + if (valueTmpValue instanceof Color) { + thisSerializer.writeInt8((0).toChar()) + const valueTmpValueForIdx0 = valueTmpValue as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(valueTmpValueForIdx0)) + } else if (valueTmpValue instanceof number) { + thisSerializer.writeInt8((1).toChar()) + const valueTmpValueForIdx1 = valueTmpValue as number + thisSerializer.writeNumber(valueTmpValueForIdx1) + } else if (valueTmpValue instanceof string) { + thisSerializer.writeInt8((2).toChar()) + const valueTmpValueForIdx2 = valueTmpValue as string + thisSerializer.writeString(valueTmpValueForIdx2) + } else if (valueTmpValue instanceof Resource) { + thisSerializer.writeInt8((3).toChar()) + const valueTmpValueForIdx3 = valueTmpValue as Resource + Resource_serializer.write(thisSerializer, valueTmpValueForIdx3) + } + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._SelectAttribute_setBackgroundColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } setMenuAlignAttribute(alignType: MenuAlignType | undefined, offset?: Offset): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (alignType !== undefined) { @@ -670,6 +698,7 @@ export interface SelectAttribute extends CommonMethod { menuOutline(value: MenuOutlineOptions | undefined): this { throw new Error("Unimplemented method menuOutline") } + backgroundColor(value: ResourceColor | undefined): this menuAlign(alignType: MenuAlignType | undefined, offset?: Offset): this { throw new Error("Unimplemented method menuAlign") } @@ -706,88 +735,92 @@ export class ArkSelectStyle extends ArkCommonMethodStyle implements SelectAttrib avoidance_value?: AvoidanceMode | undefined menuOutline_value?: MenuOutlineOptions | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public selected(value: number | Resource | Bindable | Bindable | undefined): this { + backgroundColor_value?: ResourceColor | undefined + selected(value: number | Resource | Bindable | Bindable | undefined): this { return this } - public value(value: ResourceStr | Bindable | Bindable | undefined): this { + value(value: ResourceStr | Bindable | Bindable | undefined): this { return this } - public font(value: Font | undefined): this { + font(value: Font | undefined): this { return this } - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public selectedOptionBgColor(value: ResourceColor | undefined): this { + selectedOptionBgColor(value: ResourceColor | undefined): this { return this } - public selectedOptionFont(value: Font | undefined): this { + selectedOptionFont(value: Font | undefined): this { return this } - public selectedOptionFontColor(value: ResourceColor | undefined): this { + selectedOptionFontColor(value: ResourceColor | undefined): this { return this } - public optionBgColor(value: ResourceColor | undefined): this { + optionBgColor(value: ResourceColor | undefined): this { return this } - public optionFont(value: Font | undefined): this { + optionFont(value: Font | undefined): this { return this } - public optionFontColor(value: ResourceColor | undefined): this { + optionFontColor(value: ResourceColor | undefined): this { return this } - public onSelect(value: OnSelectCallback | undefined): this { + onSelect(value: OnSelectCallback | undefined): this { return this } - public space(value: Length | undefined): this { + space(value: Length | undefined): this { return this } - public arrowPosition(value: ArrowPosition | undefined): this { + arrowPosition(value: ArrowPosition | undefined): this { return this } - public optionWidth(value: Dimension | OptionWidthMode | undefined): this { + optionWidth(value: Dimension | OptionWidthMode | undefined): this { return this } - public optionHeight(value: Dimension | undefined): this { + optionHeight(value: Dimension | undefined): this { return this } - public menuBackgroundColor(value: ResourceColor | undefined): this { + menuBackgroundColor(value: ResourceColor | undefined): this { return this } - public menuBackgroundBlurStyle(value: BlurStyle | undefined): this { + menuBackgroundBlurStyle(value: BlurStyle | undefined): this { return this } - public controlSize(value: ControlSize | undefined): this { + controlSize(value: ControlSize | undefined): this { return this } - public menuItemContentModifier(value: ContentModifier | undefined): this { + menuItemContentModifier(value: ContentModifier | undefined): this { return this } - public divider(value: DividerOptions | undefined): this { + divider(value: DividerOptions | undefined): this { return this } - public textModifier(value: TextModifier | undefined): this { + textModifier(value: TextModifier | undefined): this { return this } - public arrowModifier(value: SymbolGlyphModifier | undefined): this { + arrowModifier(value: SymbolGlyphModifier | undefined): this { return this } - public optionTextModifier(value: TextModifier | undefined): this { + optionTextModifier(value: TextModifier | undefined): this { return this } - public selectedOptionTextModifier(value: TextModifier | undefined): this { + selectedOptionTextModifier(value: TextModifier | undefined): this { return this } - public dividerStyle(value: DividerStyleOptions | undefined): this { + dividerStyle(value: DividerStyleOptions | undefined): this { return this } - public avoidance(value: AvoidanceMode | undefined): this { + avoidance(value: AvoidanceMode | undefined): this { return this } - public menuOutline(value: MenuOutlineOptions | undefined): this { + menuOutline(value: MenuOutlineOptions | undefined): this { return this } - public menuAlign(alignType: MenuAlignType | undefined, offset?: Offset): this { + backgroundColor(value: ResourceColor | undefined): this { + return this + } + menuAlign(alignType: MenuAlignType | undefined, offset?: Offset): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -1028,6 +1061,14 @@ export class ArkSelectComponent extends ArkCommonMethodComponent implements Sele } return this } + public backgroundColor(value: ResourceColor | undefined): this { + if (this.checkPriority("backgroundColor")) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.setBackgroundColorAttribute(value_casted) + return this + } + return this + } public menuAlign(alignType: MenuAlignType | undefined, offset?: Offset): this { if (this.checkPriority("menuAlign")) { const alignType_casted = alignType as (MenuAlignType | undefined) @@ -1148,7 +1189,8 @@ export class MenuItemConfiguration_serializer { const symbolIconTmpResult : SymbolGlyphModifier | undefined = symbolIconTmpBuf const selectedTmpResult : boolean = valueDeserializer.readBoolean() const indexTmpResult : number = (valueDeserializer.readNumber() as number) - throw new Error("Interface with functions is not supported") + let value : MenuItemConfiguration = ({enabled: enabledTmpResult, contentModifier: contentModifierTmpResult, value: valueTmpResult, icon: iconTmpResult, symbolIcon: symbolIconTmpResult, selected: selectedTmpResult, index: indexTmpResult} as MenuItemConfiguration) + return value } } export class SelectOption_serializer { diff --git a/arkoala-arkts/arkui/generated/component/shape.ets b/arkoala-arkts/arkui/generated/component/shape.ets index 73fd3172a..2f4bebe71 100644 --- a/arkoala-arkts/arkui/generated/component/shape.ets +++ b/arkoala-arkts/arkui/generated/component/shape.ets @@ -17,7 +17,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { SerializerBase, DeserializerBase, nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, NativeBuffer, CallbackResource, InteropNativeModule, Tags, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" -import { image_PixelMap_serializer, image } from "./../framework/ohos.multimedia.image" +import { image_PixelMap_serializer } from "./../framework/ohos.multimedia.image" import { Resource_serializer } from "./../framework/resource" import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { ComponentBase } from "./../ComponentBase" @@ -27,7 +27,8 @@ import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonM import { ResourceColor, Length } from "./units" import { Color, LineCapStyle, LineJoinStyle } from "./enums" import { Resource } from "global.resource" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, extractors, AttributeUpdater } from "#handwritten" +import { image } from "@ohos.multimedia.image" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -124,23 +125,19 @@ export class ArkShapePeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._ShapeAttribute_setFill(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setStrokeDashOffsetAttribute(value: Length | undefined): void { + setStrokeDashOffsetAttribute(value: double | string | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) const valueTmpValue = value! - if (valueTmpValue instanceof string) { + if (valueTmpValue instanceof double) { thisSerializer.writeInt8((0).toChar()) - const valueTmpValueForIdx0 = valueTmpValue as string - thisSerializer.writeString(valueTmpValueForIdx0) - } else if (valueTmpValue instanceof number) { + const valueTmpValueForIdx0 = valueTmpValue as double + thisSerializer.writeFloat64(valueTmpValueForIdx0) + } else if (valueTmpValue instanceof string) { thisSerializer.writeInt8((1).toChar()) - const valueTmpValueForIdx1 = valueTmpValue as number - thisSerializer.writeNumber(valueTmpValueForIdx1) - } else if (valueTmpValue instanceof Resource) { - thisSerializer.writeInt8((2).toChar()) - const valueTmpValueForIdx2 = valueTmpValue as Resource - Resource_serializer.write(thisSerializer, valueTmpValueForIdx2) + const valueTmpValueForIdx1 = valueTmpValue as string + thisSerializer.writeString(valueTmpValueForIdx1) } } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) @@ -200,23 +197,19 @@ export class ArkShapePeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._ShapeAttribute_setStrokeLineJoin(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setStrokeMiterLimitAttribute(value: Length | undefined): void { + setStrokeMiterLimitAttribute(value: double | string | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) const valueTmpValue = value! - if (valueTmpValue instanceof string) { + if (valueTmpValue instanceof double) { thisSerializer.writeInt8((0).toChar()) - const valueTmpValueForIdx0 = valueTmpValue as string - thisSerializer.writeString(valueTmpValueForIdx0) - } else if (valueTmpValue instanceof number) { + const valueTmpValueForIdx0 = valueTmpValue as double + thisSerializer.writeFloat64(valueTmpValueForIdx0) + } else if (valueTmpValue instanceof string) { thisSerializer.writeInt8((1).toChar()) - const valueTmpValueForIdx1 = valueTmpValue as number - thisSerializer.writeNumber(valueTmpValueForIdx1) - } else if (valueTmpValue instanceof Resource) { - thisSerializer.writeInt8((2).toChar()) - const valueTmpValueForIdx2 = valueTmpValue as Resource - Resource_serializer.write(thisSerializer, valueTmpValueForIdx2) + const valueTmpValueForIdx1 = valueTmpValue as string + thisSerializer.writeString(valueTmpValueForIdx1) } } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) @@ -224,15 +217,15 @@ export class ArkShapePeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._ShapeAttribute_setStrokeMiterLimit(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setStrokeOpacityAttribute(value: number | string | Resource | undefined): void { + setStrokeOpacityAttribute(value: double | string | Resource | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) const valueTmpValue = value! - if (valueTmpValue instanceof number) { + if (valueTmpValue instanceof double) { thisSerializer.writeInt8((0).toChar()) - const valueTmpValueForIdx0 = valueTmpValue as number - thisSerializer.writeNumber(valueTmpValueForIdx0) + const valueTmpValueForIdx0 = valueTmpValue as double + thisSerializer.writeFloat64(valueTmpValueForIdx0) } else if (valueTmpValue instanceof string) { thisSerializer.writeInt8((1).toChar()) const valueTmpValueForIdx1 = valueTmpValue as string @@ -248,15 +241,15 @@ export class ArkShapePeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._ShapeAttribute_setStrokeOpacity(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setFillOpacityAttribute(value: number | string | Resource | undefined): void { + setFillOpacityAttribute(value: double | string | Resource | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) const valueTmpValue = value! - if (valueTmpValue instanceof number) { + if (valueTmpValue instanceof double) { thisSerializer.writeInt8((0).toChar()) - const valueTmpValueForIdx0 = valueTmpValue as number - thisSerializer.writeNumber(valueTmpValueForIdx0) + const valueTmpValueForIdx0 = valueTmpValue as double + thisSerializer.writeFloat64(valueTmpValueForIdx0) } else if (valueTmpValue instanceof string) { thisSerializer.writeInt8((1).toChar()) const valueTmpValueForIdx1 = valueTmpValue as string @@ -272,23 +265,19 @@ export class ArkShapePeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._ShapeAttribute_setFillOpacity(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setStrokeWidthAttribute(value: Length | undefined): void { + setStrokeWidthAttribute(value: double | string | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) const valueTmpValue = value! - if (valueTmpValue instanceof string) { + if (valueTmpValue instanceof double) { thisSerializer.writeInt8((0).toChar()) - const valueTmpValueForIdx0 = valueTmpValue as string - thisSerializer.writeString(valueTmpValueForIdx0) - } else if (valueTmpValue instanceof number) { + const valueTmpValueForIdx0 = valueTmpValue as double + thisSerializer.writeFloat64(valueTmpValueForIdx0) + } else if (valueTmpValue instanceof string) { thisSerializer.writeInt8((1).toChar()) - const valueTmpValueForIdx1 = valueTmpValue as number - thisSerializer.writeNumber(valueTmpValueForIdx1) - } else if (valueTmpValue instanceof Resource) { - thisSerializer.writeInt8((2).toChar()) - const valueTmpValueForIdx2 = valueTmpValue as Resource - Resource_serializer.write(thisSerializer, valueTmpValueForIdx2) + const valueTmpValueForIdx1 = valueTmpValue as string + thisSerializer.writeString(valueTmpValueForIdx1) } } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) @@ -308,15 +297,15 @@ export class ArkShapePeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._ShapeAttribute_setAntiAlias(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setMeshAttribute(value: Array | undefined, column: number | undefined, row: number | undefined): void { + setMeshAttribute(value: Array | undefined, column: int32 | undefined, row: int32 | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) const valueTmpValue = value! thisSerializer.writeInt32((valueTmpValue.length).toInt()) for (let valueTmpValueCounterI = 0; valueTmpValueCounterI < valueTmpValue.length; valueTmpValueCounterI++) { - const valueTmpValueTmpElement : number = valueTmpValue[valueTmpValueCounterI] - thisSerializer.writeNumber(valueTmpValueTmpElement) + const valueTmpValueTmpElement : double = valueTmpValue[valueTmpValueCounterI] + thisSerializer.writeFloat64(valueTmpValueTmpElement) } } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) @@ -324,14 +313,14 @@ export class ArkShapePeer extends ArkCommonMethodPeer { if (column !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) const columnTmpValue = column! - thisSerializer.writeNumber(columnTmpValue) + thisSerializer.writeInt32(columnTmpValue) } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } if (row !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) const rowTmpValue = row! - thisSerializer.writeNumber(rowTmpValue) + thisSerializer.writeInt32(rowTmpValue) } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } @@ -340,10 +329,10 @@ export class ArkShapePeer extends ArkCommonMethodPeer { } } export interface ViewportRect { - x?: Length; - y?: Length; - width?: Length; - height?: Length; + x?: double | string; + y?: double | string; + width?: double | string; + height?: double | string; } export interface ShapeAttribute extends CommonMethod { viewPort(value: ViewportRect | undefined): this { @@ -355,7 +344,7 @@ export interface ShapeAttribute extends CommonMethod { fill(value: ResourceColor | undefined): this { throw new Error("Unimplemented method fill") } - strokeDashOffset(value: Length | undefined): this { + strokeDashOffset(value: double | string | undefined): this { throw new Error("Unimplemented method strokeDashOffset") } strokeDashArray(value: Array | undefined): this { @@ -367,22 +356,22 @@ export interface ShapeAttribute extends CommonMethod { strokeLineJoin(value: LineJoinStyle | undefined): this { throw new Error("Unimplemented method strokeLineJoin") } - strokeMiterLimit(value: Length | undefined): this { + strokeMiterLimit(value: double | string | undefined): this { throw new Error("Unimplemented method strokeMiterLimit") } - strokeOpacity(value: number | string | Resource | undefined): this { + strokeOpacity(value: double | string | Resource | undefined): this { throw new Error("Unimplemented method strokeOpacity") } - fillOpacity(value: number | string | Resource | undefined): this { + fillOpacity(value: double | string | Resource | undefined): this { throw new Error("Unimplemented method fillOpacity") } - strokeWidth(value: Length | undefined): this { + strokeWidth(value: double | string | undefined): this { throw new Error("Unimplemented method strokeWidth") } antiAlias(value: boolean | undefined): this { throw new Error("Unimplemented method antiAlias") } - mesh(value: Array | undefined, column: number | undefined, row: number | undefined): this { + mesh(value: Array | undefined, column: int32 | undefined, row: int32 | undefined): this { throw new Error("Unimplemented method mesh") } attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -393,53 +382,53 @@ export class ArkShapeStyle extends ArkCommonMethodStyle implements ShapeAttribut viewPort_value?: ViewportRect | undefined stroke_value?: ResourceColor | undefined fill_value?: ResourceColor | undefined - strokeDashOffset_value?: Length | undefined + strokeDashOffset_value?: double | string | undefined strokeDashArray_value?: Array | undefined strokeLineCap_value?: LineCapStyle | undefined strokeLineJoin_value?: LineJoinStyle | undefined - strokeMiterLimit_value?: Length | undefined - strokeOpacity_value?: number | string | Resource | undefined - fillOpacity_value?: number | string | Resource | undefined - strokeWidth_value?: Length | undefined + strokeMiterLimit_value?: double | string | undefined + strokeOpacity_value?: double | string | Resource | undefined + fillOpacity_value?: double | string | Resource | undefined + strokeWidth_value?: double | string | undefined antiAlias_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public viewPort(value: ViewportRect | undefined): this { + viewPort(value: ViewportRect | undefined): this { return this } - public stroke(value: ResourceColor | undefined): this { + stroke(value: ResourceColor | undefined): this { return this } - public fill(value: ResourceColor | undefined): this { + fill(value: ResourceColor | undefined): this { return this } - public strokeDashOffset(value: Length | undefined): this { + strokeDashOffset(value: double | string | undefined): this { return this } - public strokeDashArray(value: Array | undefined): this { + strokeDashArray(value: Array | undefined): this { return this } - public strokeLineCap(value: LineCapStyle | undefined): this { + strokeLineCap(value: LineCapStyle | undefined): this { return this } - public strokeLineJoin(value: LineJoinStyle | undefined): this { + strokeLineJoin(value: LineJoinStyle | undefined): this { return this } - public strokeMiterLimit(value: Length | undefined): this { + strokeMiterLimit(value: double | string | undefined): this { return this } - public strokeOpacity(value: number | string | Resource | undefined): this { + strokeOpacity(value: double | string | Resource | undefined): this { return this } - public fillOpacity(value: number | string | Resource | undefined): this { + fillOpacity(value: double | string | Resource | undefined): this { return this } - public strokeWidth(value: Length | undefined): this { + strokeWidth(value: double | string | undefined): this { return this } - public antiAlias(value: boolean | undefined): this { + antiAlias(value: boolean | undefined): this { return this } - public mesh(value: Array | undefined, column: number | undefined, row: number | undefined): this { + mesh(value: Array | undefined, column: int32 | undefined, row: int32 | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -483,9 +472,9 @@ export class ArkShapeComponent extends ArkCommonMethodComponent implements Shape } return this } - public strokeDashOffset(value: Length | undefined): this { + public strokeDashOffset(value: double | string | undefined): this { if (this.checkPriority("strokeDashOffset")) { - const value_casted = value as (Length | undefined) + const value_casted = value as (double | string | undefined) this.getPeer()?.setStrokeDashOffsetAttribute(value_casted) return this } @@ -515,33 +504,33 @@ export class ArkShapeComponent extends ArkCommonMethodComponent implements Shape } return this } - public strokeMiterLimit(value: Length | undefined): this { + public strokeMiterLimit(value: double | string | undefined): this { if (this.checkPriority("strokeMiterLimit")) { - const value_casted = value as (Length | undefined) + const value_casted = value as (double | string | undefined) this.getPeer()?.setStrokeMiterLimitAttribute(value_casted) return this } return this } - public strokeOpacity(value: number | string | Resource | undefined): this { + public strokeOpacity(value: double | string | Resource | undefined): this { if (this.checkPriority("strokeOpacity")) { - const value_casted = value as (number | string | Resource | undefined) + const value_casted = value as (double | string | Resource | undefined) this.getPeer()?.setStrokeOpacityAttribute(value_casted) return this } return this } - public fillOpacity(value: number | string | Resource | undefined): this { + public fillOpacity(value: double | string | Resource | undefined): this { if (this.checkPriority("fillOpacity")) { - const value_casted = value as (number | string | Resource | undefined) + const value_casted = value as (double | string | Resource | undefined) this.getPeer()?.setFillOpacityAttribute(value_casted) return this } return this } - public strokeWidth(value: Length | undefined): this { + public strokeWidth(value: double | string | undefined): this { if (this.checkPriority("strokeWidth")) { - const value_casted = value as (Length | undefined) + const value_casted = value as (double | string | undefined) this.getPeer()?.setStrokeWidthAttribute(value_casted) return this } @@ -555,11 +544,11 @@ export class ArkShapeComponent extends ArkCommonMethodComponent implements Shape } return this } - public mesh(value: Array | undefined, column: number | undefined, row: number | undefined): this { + public mesh(value: Array | undefined, column: int32 | undefined, row: int32 | undefined): this { if (this.checkPriority("mesh")) { - const value_casted = value as (Array | undefined) - const column_casted = column as (number | undefined) - const row_casted = row as (number | undefined) + const value_casted = value as (Array | undefined) + const column_casted = column as (int32 | undefined) + const row_casted = row as (int32 | undefined) this.getPeer()?.setMeshAttribute(value_casted, column_casted, row_casted) return this } @@ -600,18 +589,14 @@ export class ViewportRect_serializer { if (valueHolderForX !== undefined) { valueSerializer.writeInt8(RuntimeType.OBJECT) const valueHolderForXTmpValue = valueHolderForX! - if (valueHolderForXTmpValue instanceof string) { + if (valueHolderForXTmpValue instanceof double) { valueSerializer.writeInt8((0).toChar()) - const valueHolderForXTmpValueForIdx0 = valueHolderForXTmpValue as string - valueSerializer.writeString(valueHolderForXTmpValueForIdx0) - } else if (valueHolderForXTmpValue instanceof number) { + const valueHolderForXTmpValueForIdx0 = valueHolderForXTmpValue as double + valueSerializer.writeFloat64(valueHolderForXTmpValueForIdx0) + } else if (valueHolderForXTmpValue instanceof string) { valueSerializer.writeInt8((1).toChar()) - const valueHolderForXTmpValueForIdx1 = valueHolderForXTmpValue as number - valueSerializer.writeNumber(valueHolderForXTmpValueForIdx1) - } else if (valueHolderForXTmpValue instanceof Resource) { - valueSerializer.writeInt8((2).toChar()) - const valueHolderForXTmpValueForIdx2 = valueHolderForXTmpValue as Resource - Resource_serializer.write(valueSerializer, valueHolderForXTmpValueForIdx2) + const valueHolderForXTmpValueForIdx1 = valueHolderForXTmpValue as string + valueSerializer.writeString(valueHolderForXTmpValueForIdx1) } } else { valueSerializer.writeInt8(RuntimeType.UNDEFINED) @@ -620,18 +605,14 @@ export class ViewportRect_serializer { if (valueHolderForY !== undefined) { valueSerializer.writeInt8(RuntimeType.OBJECT) const valueHolderForYTmpValue = valueHolderForY! - if (valueHolderForYTmpValue instanceof string) { + if (valueHolderForYTmpValue instanceof double) { valueSerializer.writeInt8((0).toChar()) - const valueHolderForYTmpValueForIdx0 = valueHolderForYTmpValue as string - valueSerializer.writeString(valueHolderForYTmpValueForIdx0) - } else if (valueHolderForYTmpValue instanceof number) { + const valueHolderForYTmpValueForIdx0 = valueHolderForYTmpValue as double + valueSerializer.writeFloat64(valueHolderForYTmpValueForIdx0) + } else if (valueHolderForYTmpValue instanceof string) { valueSerializer.writeInt8((1).toChar()) - const valueHolderForYTmpValueForIdx1 = valueHolderForYTmpValue as number - valueSerializer.writeNumber(valueHolderForYTmpValueForIdx1) - } else if (valueHolderForYTmpValue instanceof Resource) { - valueSerializer.writeInt8((2).toChar()) - const valueHolderForYTmpValueForIdx2 = valueHolderForYTmpValue as Resource - Resource_serializer.write(valueSerializer, valueHolderForYTmpValueForIdx2) + const valueHolderForYTmpValueForIdx1 = valueHolderForYTmpValue as string + valueSerializer.writeString(valueHolderForYTmpValueForIdx1) } } else { valueSerializer.writeInt8(RuntimeType.UNDEFINED) @@ -640,18 +621,14 @@ export class ViewportRect_serializer { if (valueHolderForWidth !== undefined) { valueSerializer.writeInt8(RuntimeType.OBJECT) const valueHolderForWidthTmpValue = valueHolderForWidth! - if (valueHolderForWidthTmpValue instanceof string) { + if (valueHolderForWidthTmpValue instanceof double) { valueSerializer.writeInt8((0).toChar()) - const valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue as string - valueSerializer.writeString(valueHolderForWidthTmpValueForIdx0) - } else if (valueHolderForWidthTmpValue instanceof number) { + const valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue as double + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx0) + } else if (valueHolderForWidthTmpValue instanceof string) { valueSerializer.writeInt8((1).toChar()) - const valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue as number - valueSerializer.writeNumber(valueHolderForWidthTmpValueForIdx1) - } else if (valueHolderForWidthTmpValue instanceof Resource) { - valueSerializer.writeInt8((2).toChar()) - const valueHolderForWidthTmpValueForIdx2 = valueHolderForWidthTmpValue as Resource - Resource_serializer.write(valueSerializer, valueHolderForWidthTmpValueForIdx2) + const valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue as string + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx1) } } else { valueSerializer.writeInt8(RuntimeType.UNDEFINED) @@ -660,18 +637,14 @@ export class ViewportRect_serializer { if (valueHolderForHeight !== undefined) { valueSerializer.writeInt8(RuntimeType.OBJECT) const valueHolderForHeightTmpValue = valueHolderForHeight! - if (valueHolderForHeightTmpValue instanceof string) { + if (valueHolderForHeightTmpValue instanceof double) { valueSerializer.writeInt8((0).toChar()) - const valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue as string - valueSerializer.writeString(valueHolderForHeightTmpValueForIdx0) - } else if (valueHolderForHeightTmpValue instanceof number) { + const valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue as double + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx0) + } else if (valueHolderForHeightTmpValue instanceof string) { valueSerializer.writeInt8((1).toChar()) - const valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue as number - valueSerializer.writeNumber(valueHolderForHeightTmpValueForIdx1) - } else if (valueHolderForHeightTmpValue instanceof Resource) { - valueSerializer.writeInt8((2).toChar()) - const valueHolderForHeightTmpValueForIdx2 = valueHolderForHeightTmpValue as Resource - Resource_serializer.write(valueSerializer, valueHolderForHeightTmpValueForIdx2) + const valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue as string + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx1) } } else { valueSerializer.writeInt8(RuntimeType.UNDEFINED) @@ -680,73 +653,65 @@ export class ViewportRect_serializer { public static read(buffer: DeserializerBase): ViewportRect { let valueDeserializer : DeserializerBase = buffer const xTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() - let xTmpBuf : Length | undefined + let xTmpBuf : double | string | undefined if ((xTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { const xTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() - let xTmpBuf_ : string | number | Resource | undefined + let xTmpBuf_ : double | string | undefined if (xTmpBuf_UnionSelector == (0).toChar()) { - xTmpBuf_ = (valueDeserializer.readString() as string) + xTmpBuf_ = valueDeserializer.readFloat64() } else if (xTmpBuf_UnionSelector == (1).toChar()) { - xTmpBuf_ = (valueDeserializer.readNumber() as number) - } else if (xTmpBuf_UnionSelector == (2).toChar()) { - xTmpBuf_ = Resource_serializer.read(valueDeserializer) + xTmpBuf_ = (valueDeserializer.readString() as string) } else { throw new Error("One of the branches for xTmpBuf_ has to be chosen through deserialisation.") } - xTmpBuf = (xTmpBuf_ as string | number | Resource) + xTmpBuf = (xTmpBuf_ as double | string) } - const xTmpResult : Length | undefined = xTmpBuf + const xTmpResult : double | string | undefined = xTmpBuf const yTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() - let yTmpBuf : Length | undefined + let yTmpBuf : double | string | undefined if ((yTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { const yTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() - let yTmpBuf_ : string | number | Resource | undefined + let yTmpBuf_ : double | string | undefined if (yTmpBuf_UnionSelector == (0).toChar()) { - yTmpBuf_ = (valueDeserializer.readString() as string) + yTmpBuf_ = valueDeserializer.readFloat64() } else if (yTmpBuf_UnionSelector == (1).toChar()) { - yTmpBuf_ = (valueDeserializer.readNumber() as number) - } else if (yTmpBuf_UnionSelector == (2).toChar()) { - yTmpBuf_ = Resource_serializer.read(valueDeserializer) + yTmpBuf_ = (valueDeserializer.readString() as string) } else { throw new Error("One of the branches for yTmpBuf_ has to be chosen through deserialisation.") } - yTmpBuf = (yTmpBuf_ as string | number | Resource) + yTmpBuf = (yTmpBuf_ as double | string) } - const yTmpResult : Length | undefined = yTmpBuf + const yTmpResult : double | string | undefined = yTmpBuf const widthTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() - let widthTmpBuf : Length | undefined + let widthTmpBuf : double | string | undefined if ((widthTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { const widthTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() - let widthTmpBuf_ : string | number | Resource | undefined + let widthTmpBuf_ : double | string | undefined if (widthTmpBuf_UnionSelector == (0).toChar()) { - widthTmpBuf_ = (valueDeserializer.readString() as string) + widthTmpBuf_ = valueDeserializer.readFloat64() } else if (widthTmpBuf_UnionSelector == (1).toChar()) { - widthTmpBuf_ = (valueDeserializer.readNumber() as number) - } else if (widthTmpBuf_UnionSelector == (2).toChar()) { - widthTmpBuf_ = Resource_serializer.read(valueDeserializer) + widthTmpBuf_ = (valueDeserializer.readString() as string) } else { throw new Error("One of the branches for widthTmpBuf_ has to be chosen through deserialisation.") } - widthTmpBuf = (widthTmpBuf_ as string | number | Resource) + widthTmpBuf = (widthTmpBuf_ as double | string) } - const widthTmpResult : Length | undefined = widthTmpBuf + const widthTmpResult : double | string | undefined = widthTmpBuf const heightTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() - let heightTmpBuf : Length | undefined + let heightTmpBuf : double | string | undefined if ((heightTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { const heightTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() - let heightTmpBuf_ : string | number | Resource | undefined + let heightTmpBuf_ : double | string | undefined if (heightTmpBuf_UnionSelector == (0).toChar()) { - heightTmpBuf_ = (valueDeserializer.readString() as string) + heightTmpBuf_ = valueDeserializer.readFloat64() } else if (heightTmpBuf_UnionSelector == (1).toChar()) { - heightTmpBuf_ = (valueDeserializer.readNumber() as number) - } else if (heightTmpBuf_UnionSelector == (2).toChar()) { - heightTmpBuf_ = Resource_serializer.read(valueDeserializer) + heightTmpBuf_ = (valueDeserializer.readString() as string) } else { throw new Error("One of the branches for heightTmpBuf_ has to be chosen through deserialisation.") } - heightTmpBuf = (heightTmpBuf_ as string | number | Resource) + heightTmpBuf = (heightTmpBuf_ as double | string) } - const heightTmpResult : Length | undefined = heightTmpBuf + const heightTmpResult : double | string | undefined = heightTmpBuf let value : ViewportRect = ({x: xTmpResult, y: yTmpResult, width: widthTmpResult, height: heightTmpResult} as ViewportRect) return value } diff --git a/arkoala-arkts/arkui/generated/component/sidebar.ets b/arkoala-arkts/arkui/generated/component/sidebar.ets index 289728e06..ba1097463 100644 --- a/arkoala-arkts/arkui/generated/component/sidebar.ets +++ b/arkoala-arkts/arkui/generated/component/sidebar.ets @@ -17,7 +17,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { SerializerBase, DeserializerBase, nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, NativeBuffer, CallbackResource, InteropNativeModule, Tags, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" -import { Bindable_Boolean_serializer, Bindable_Number_serializer, DividerStyle_serializer, ArkCommonMethodPeer, CommonMethod, Bindable, DividerStyle, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" +import { Bindable_Boolean_serializer, Bindable_Arkui_Component_Units_Length_serializer, DividerStyle_serializer, ArkCommonMethodPeer, CommonMethod, Bindable, DividerStyle, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { Resource_serializer } from "./../framework/resource" import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { ComponentBase } from "./../ComponentBase" @@ -25,13 +25,14 @@ import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { Length, Dimension } from "./units" import { Resource } from "global.resource" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { image, image_PixelMap_serializer } from "./../framework/ohos.multimedia.image" +import { extractors, AttributeModifier, AttributeUpdater } from "#handwritten" +import { image } from "@ohos.multimedia.image" import { NodeAttach, remember } from "@koalaui/runtime" +import { image_PixelMap_serializer } from "./../framework/ohos.multimedia.image" export class ArkSideBarContainerPeer extends ArkCommonMethodPeer { protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { super(peerPtr, id, name, flags) @@ -111,24 +112,36 @@ export class ArkSideBarContainerPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._SideBarContainerAttribute_setOnChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setSideBarWidth0Attribute(value: number | Bindable | undefined): void { + setSideBarWidthAttribute(value: Length | Bindable | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) const valueTmpValue = value! - if (valueTmpValue instanceof number) { + if (valueTmpValue instanceof Length) { thisSerializer.writeInt8((0).toChar()) - const valueTmpValueForIdx0 = valueTmpValue as number - thisSerializer.writeNumber(valueTmpValueForIdx0) - } else if (valueTmpValue instanceof Bindable) { + const valueTmpValueForIdx0 = valueTmpValue as Length + if (valueTmpValueForIdx0 instanceof string) { + thisSerializer.writeInt8((0).toChar()) + const valueTmpValueForIdx0ForIdx0 = valueTmpValueForIdx0 as string + thisSerializer.writeString(valueTmpValueForIdx0ForIdx0) + } else if (valueTmpValueForIdx0 instanceof number) { + thisSerializer.writeInt8((1).toChar()) + const valueTmpValueForIdx0ForIdx1 = valueTmpValueForIdx0 as number + thisSerializer.writeNumber(valueTmpValueForIdx0ForIdx1) + } else if (valueTmpValueForIdx0 instanceof Resource) { + thisSerializer.writeInt8((2).toChar()) + const valueTmpValueForIdx0ForIdx2 = valueTmpValueForIdx0 as Resource + Resource_serializer.write(thisSerializer, valueTmpValueForIdx0ForIdx2) + } + } else if (valueTmpValue instanceof Bindable) { thisSerializer.writeInt8((1).toChar()) - const valueTmpValueForIdx1 = valueTmpValue as Bindable - Bindable_Number_serializer.write(thisSerializer, valueTmpValueForIdx1) + const valueTmpValueForIdx1 = valueTmpValue as Bindable + Bindable_Arkui_Component_Units_Length_serializer.write(thisSerializer, valueTmpValueForIdx1) } } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } - ArkUIGeneratedNativeModule._SideBarContainerAttribute_setSideBarWidth0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SideBarContainerAttribute_setSideBarWidth(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } setMinSideBarWidth0Attribute(value: number | undefined): void { @@ -155,30 +168,6 @@ export class ArkSideBarContainerPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._SideBarContainerAttribute_setMaxSideBarWidth0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setSideBarWidth1Attribute(value: Length | undefined): void { - const thisSerializer : SerializerBase = SerializerBase.hold() - if (value !== undefined) { - thisSerializer.writeInt8(RuntimeType.OBJECT) - const valueTmpValue = value! - if (valueTmpValue instanceof string) { - thisSerializer.writeInt8((0).toChar()) - const valueTmpValueForIdx0 = valueTmpValue as string - thisSerializer.writeString(valueTmpValueForIdx0) - } else if (valueTmpValue instanceof number) { - thisSerializer.writeInt8((1).toChar()) - const valueTmpValueForIdx1 = valueTmpValue as number - thisSerializer.writeNumber(valueTmpValueForIdx1) - } else if (valueTmpValue instanceof Resource) { - thisSerializer.writeInt8((2).toChar()) - const valueTmpValueForIdx2 = valueTmpValue as Resource - Resource_serializer.write(thisSerializer, valueTmpValueForIdx2) - } - } else { - thisSerializer.writeInt8(RuntimeType.UNDEFINED) - } - ArkUIGeneratedNativeModule._SideBarContainerAttribute_setSideBarWidth1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } setMinSideBarWidth1Attribute(value: Length | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { @@ -326,7 +315,7 @@ export interface SideBarContainerAttribute extends CommonMethod { onChange(value: ((value: boolean) => void) | undefined): this { throw new Error("Unimplemented method onChange") } - sideBarWidth(value: number | Bindable | undefined): this { + sideBarWidth(value: Length | Bindable | undefined): this { throw new Error("Unimplemented method sideBarWidth") } minSideBarWidth(value: number | undefined): this { @@ -335,9 +324,6 @@ export interface SideBarContainerAttribute extends CommonMethod { maxSideBarWidth(value: number | undefined): this { throw new Error("Unimplemented method maxSideBarWidth") } - sideBarWidth(value: Length | undefined): this { - throw new Error("Unimplemented method sideBarWidth") - } minSideBarWidth(value: Length | undefined): this { throw new Error("Unimplemented method minSideBarWidth") } @@ -365,54 +351,50 @@ export class ArkSideBarContainerStyle extends ArkCommonMethodStyle implements Si controlButton_value?: ButtonStyle | undefined showControlButton_value?: boolean | undefined onChange_value?: ((value: boolean) => void) | undefined - sideBarWidth_value?: number | Bindable | undefined + sideBarWidth_value?: Length | Bindable | undefined minSideBarWidth_value?: number | undefined maxSideBarWidth_value?: number | undefined autoHide_value?: boolean | undefined sideBarPosition_value?: SideBarPosition | undefined divider_value?: DividerStyle | undefined minContentWidth_value?: Dimension | undefined - attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public showSideBar(value: boolean | Bindable | undefined): this { - return this - } - public controlButton(value: ButtonStyle | undefined): this { + showSideBar(value: boolean | Bindable | undefined): this { return this } - public showControlButton(value: boolean | undefined): this { + controlButton(value: ButtonStyle | undefined): this { return this } - public onChange(value: ((value: boolean) => void) | undefined): this { + showControlButton(value: boolean | undefined): this { return this } - public sideBarWidth(value: number | Bindable | undefined): this { + onChange(value: ((value: boolean) => void) | undefined): this { return this } - public minSideBarWidth(value: number | undefined): this { + sideBarWidth(value: Length | Bindable | undefined): this { return this } - public maxSideBarWidth(value: number | undefined): this { + minSideBarWidth(value: number | undefined): this { return this } - public sideBarWidth(value: Length | undefined): this { + maxSideBarWidth(value: number | undefined): this { return this } - public minSideBarWidth(value: Length | undefined): this { + minSideBarWidth(value: Length | undefined): this { return this } - public maxSideBarWidth(value: Length | undefined): this { + maxSideBarWidth(value: Length | undefined): this { return this } - public autoHide(value: boolean | undefined): this { + autoHide(value: boolean | undefined): this { return this } - public sideBarPosition(value: SideBarPosition | undefined): this { + sideBarPosition(value: SideBarPosition | undefined): this { return this } - public divider(value: DividerStyle | undefined): this { + divider(value: DividerStyle | undefined): this { return this } - public minContentWidth(value: Dimension | undefined): this { + minContentWidth(value: Dimension | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -464,10 +446,10 @@ export class ArkSideBarContainerComponent extends ArkCommonMethodComponent imple } return this } - public sideBarWidth(value: number | Bindable | undefined): this { + public sideBarWidth(value: Length | Bindable | undefined): this { if (this.checkPriority("sideBarWidth")) { - const value_casted = value as (number | Bindable | undefined) - this.getPeer()?.setSideBarWidth0Attribute(value_casted) + const value_casted = value as (Length | Bindable | undefined) + this.getPeer()?.setSideBarWidthAttribute(value_casted) return this } return this @@ -488,14 +470,6 @@ export class ArkSideBarContainerComponent extends ArkCommonMethodComponent imple } return this } - public sideBarWidth(value: Length | undefined): this { - if (this.checkPriority("sideBarWidth")) { - const value_casted = value as (Length | undefined) - this.getPeer()?.setSideBarWidth1Attribute(value_casted) - return this - } - return this - } public minSideBarWidth(value: Length | undefined): this { if (this.checkPriority("minSideBarWidth")) { const value_casted = value as (Length | undefined) diff --git a/arkoala-arkts/arkui/generated/component/slider.ets b/arkoala-arkts/arkui/generated/component/slider.ets index 0b6499c21..dc32abbf4 100644 --- a/arkoala-arkts/arkui/generated/component/slider.ets +++ b/arkoala-arkts/arkui/generated/component/slider.ets @@ -27,7 +27,7 @@ import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, Bindable, CommonConfiguration, ArkCommonMethodComponent, ArkCommonMethodStyle, Bindable_Number_serializer } from "./common" import { Color, CrownSensitivity, Axis } from "./enums" import { Resource } from "global.resource" -import { ContentModifier, AttributeModifier, hookSliderContentModifier, AttributeUpdater, extractors } from "#handwritten" +import { ContentModifier, AttributeModifier, hookSliderContentModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -610,67 +610,67 @@ export class ArkSliderStyle extends ArkCommonMethodStyle implements SliderAttrib digitalCrownSensitivity_value?: CrownSensitivity | undefined enableHapticFeedback_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public blockColor(value: ResourceColor | undefined): this { + blockColor(value: ResourceColor | undefined): this { return this } - public trackColor(value: ResourceColor | LinearGradient | undefined): this { + trackColor(value: ResourceColor | LinearGradient | undefined): this { return this } - public selectedColor(value: ResourceColor | LinearGradient | undefined): this { + selectedColor(value: ResourceColor | LinearGradient | undefined): this { return this } - public showSteps(value: boolean | undefined): this { + showSteps(value: boolean | undefined): this { return this } - public trackThickness(value: Length | undefined): this { + trackThickness(value: Length | undefined): this { return this } - public onChange(value: ((value: number,mode: SliderChangeMode) => void) | undefined): this { + onChange(value: ((value: number,mode: SliderChangeMode) => void) | undefined): this { return this } - public blockBorderColor(value: ResourceColor | undefined): this { + blockBorderColor(value: ResourceColor | undefined): this { return this } - public blockBorderWidth(value: Length | undefined): this { + blockBorderWidth(value: Length | undefined): this { return this } - public stepColor(value: ResourceColor | undefined): this { + stepColor(value: ResourceColor | undefined): this { return this } - public trackBorderRadius(value: Length | undefined): this { + trackBorderRadius(value: Length | undefined): this { return this } - public selectedBorderRadius(value: Dimension | undefined): this { + selectedBorderRadius(value: Dimension | undefined): this { return this } - public blockSize(value: SizeOptions | undefined): this { + blockSize(value: SizeOptions | undefined): this { return this } - public blockStyle(value: SliderBlockStyle | undefined): this { + blockStyle(value: SliderBlockStyle | undefined): this { return this } - public stepSize(value: Length | undefined): this { + stepSize(value: Length | undefined): this { return this } - public sliderInteractionMode(value: SliderInteraction | undefined): this { + sliderInteractionMode(value: SliderInteraction | undefined): this { return this } - public minResponsiveDistance(value: number | undefined): this { + minResponsiveDistance(value: number | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } - public slideRange(value: SlideRange | undefined): this { + slideRange(value: SlideRange | undefined): this { return this } - public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + digitalCrownSensitivity(value: CrownSensitivity | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public showTips(value: boolean | undefined, content?: ResourceStr): this { + showTips(value: boolean | undefined, content?: ResourceStr): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/span.ets b/arkoala-arkts/arkui/generated/component/span.ets index 006c46525..23100f2c5 100644 --- a/arkoala-arkts/arkui/generated/component/span.ets +++ b/arkoala-arkts/arkui/generated/component/span.ets @@ -30,7 +30,7 @@ import { Font_serializer, Font, ResourceColor, Length, Dimension, BorderRadiuses import { DecorationStyleInterface_serializer, DecorationStyleInterface } from "./styledString" import { Color, FontStyle, FontWeight, TextCase } from "./enums" import { Resource } from "global.resource" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { NodeAttach, remember } from "@koalaui/runtime" @@ -326,10 +326,10 @@ export interface BaseSpan extends CommonMethod { export class ArkBaseSpanStyle extends ArkCommonMethodStyle implements BaseSpan { textBackgroundStyle_value?: TextBackgroundStyle | undefined baselineOffset_value?: LengthMetrics | undefined - public textBackgroundStyle(value: TextBackgroundStyle | undefined): this { + textBackgroundStyle(value: TextBackgroundStyle | undefined): this { return this } - public baselineOffset(value: LengthMetrics | undefined): this { + baselineOffset(value: LengthMetrics | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -387,37 +387,37 @@ export class ArkSpanStyle extends ArkBaseSpanStyle implements SpanAttribute { lineHeight_value?: Length | undefined textShadow_value?: ShadowOptions | Array | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public font(value: Font | undefined): this { + font(value: Font | undefined): this { return this } - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public fontSize(value: number | string | Resource | undefined): this { + fontSize(value: number | string | Resource | undefined): this { return this } - public fontStyle(value: FontStyle | undefined): this { + fontStyle(value: FontStyle | undefined): this { return this } - public fontWeight(value: number | FontWeight | string | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { return this } - public fontFamily(value: string | Resource | undefined): this { + fontFamily(value: string | Resource | undefined): this { return this } - public decoration(value: DecorationStyleInterface | undefined): this { + decoration(value: DecorationStyleInterface | undefined): this { return this } - public letterSpacing(value: number | string | undefined): this { + letterSpacing(value: number | string | undefined): this { return this } - public textCase(value: TextCase | undefined): this { + textCase(value: TextCase | undefined): this { return this } - public lineHeight(value: Length | undefined): this { + lineHeight(value: Length | undefined): this { return this } - public textShadow(value: ShadowOptions | Array | undefined): this { + textShadow(value: ShadowOptions | Array | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/stack.ets b/arkoala-arkts/arkui/generated/component/stack.ets index 20388cfaa..a33bf6749 100644 --- a/arkoala-arkts/arkui/generated/component/stack.ets +++ b/arkoala-arkts/arkui/generated/component/stack.ets @@ -17,13 +17,13 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { SerializerBase, DeserializerBase, nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, NativeBuffer, CallbackResource, InteropNativeModule, Tags, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" -import { PointLightStyle_serializer, ArkCommonMethodPeer, CommonMethod, PointLightStyle, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" +import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { Alignment } from "./enums" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -64,18 +64,6 @@ export class ArkStackPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._StackAttribute_setAlignContent(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setPointLightAttribute(value: PointLightStyle | undefined): void { - const thisSerializer : SerializerBase = SerializerBase.hold() - if (value !== undefined) { - thisSerializer.writeInt8(RuntimeType.OBJECT) - const valueTmpValue = value! - PointLightStyle_serializer.write(thisSerializer, valueTmpValue) - } else { - thisSerializer.writeInt8(RuntimeType.UNDEFINED) - } - ArkUIGeneratedNativeModule._StackAttribute_setPointLight(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } } export interface StackOptions { alignContent?: Alignment; @@ -84,21 +72,14 @@ export interface StackAttribute extends CommonMethod { alignContent(value: Alignment | undefined): this { throw new Error("Unimplemented method alignContent") } - pointLight(value: PointLightStyle | undefined): this { - throw new Error("Unimplemented method pointLight") - } attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Unimplemented method attributeModifier") } } export class ArkStackStyle extends ArkCommonMethodStyle implements StackAttribute { alignContent_value?: Alignment | undefined - pointLight_value?: PointLightStyle | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public alignContent(value: Alignment | undefined): this { - return this - } - public pointLight(value: PointLightStyle | undefined): this { + alignContent(value: Alignment | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -126,14 +107,6 @@ export class ArkStackComponent extends ArkCommonMethodComponent implements Stack } return this } - public pointLight(value: PointLightStyle | undefined): this { - if (this.checkPriority("pointLight")) { - const value_casted = value as (PointLightStyle | undefined) - this.getPeer()?.setPointLightAttribute(value_casted) - return this - } - return this - } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { return this } diff --git a/arkoala-arkts/arkui/generated/component/stepper.ets b/arkoala-arkts/arkui/generated/component/stepper.ets index 7dfcb767a..bfbdd31b7 100644 --- a/arkoala-arkts/arkui/generated/component/stepper.ets +++ b/arkoala-arkts/arkui/generated/component/stepper.ets @@ -22,11 +22,11 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, Bindable, ArkCommonMethodComponent, ArkCommonMethodStyle, Bindable_Number_serializer } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { NodeAttach, remember } from "@koalaui/runtime" export class ArkStepperPeer extends ArkCommonMethodPeer { protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { @@ -141,20 +141,19 @@ export class ArkStepperStyle extends ArkCommonMethodStyle implements StepperAttr onChange_value?: ((prevIndex: number,index: number) => void) | undefined onNext_value?: ((prevIndex: number,index: number) => void) | undefined onPrevious_value?: ((prevIndex: number,index: number) => void) | undefined - attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onFinish(value: (() => void) | undefined): this { + onFinish(value: (() => void) | undefined): this { return this } - public onSkip(value: (() => void) | undefined): this { + onSkip(value: (() => void) | undefined): this { return this } - public onChange(value: ((prevIndex: number,index: number) => void) | undefined): this { + onChange(value: ((prevIndex: number,index: number) => void) | undefined): this { return this } - public onNext(value: ((prevIndex: number,index: number) => void) | undefined): this { + onNext(value: ((prevIndex: number,index: number) => void) | undefined): this { return this } - public onPrevious(value: ((prevIndex: number,index: number) => void) | undefined): this { + onPrevious(value: ((prevIndex: number,index: number) => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/stepperItem.ets b/arkoala-arkts/arkui/generated/component/stepperItem.ets index 660d1fd51..d1a5b525d 100644 --- a/arkoala-arkts/arkui/generated/component/stepperItem.ets +++ b/arkoala-arkts/arkui/generated/component/stepperItem.ets @@ -22,11 +22,11 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" -import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { NodeAttach, remember } from "@koalaui/runtime" export class ArkStepperItemPeer extends ArkCommonMethodPeer { protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { @@ -107,14 +107,13 @@ export class ArkStepperItemStyle extends ArkCommonMethodStyle implements Stepper prevLabel_value?: string | undefined nextLabel_value?: string | undefined status_value?: ItemState | undefined - attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public prevLabel(value: string | undefined): this { + prevLabel(value: string | undefined): this { return this } - public nextLabel(value: string | undefined): this { + nextLabel(value: string | undefined): this { return this } - public status(value: ItemState | undefined): this { + status(value: ItemState | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/styledString.ets b/arkoala-arkts/arkui/generated/component/styledString.ets index 0f3b2acce..a25a79ed1 100644 --- a/arkoala-arkts/arkui/generated/component/styledString.ets +++ b/arkoala-arkts/arkui/generated/component/styledString.ets @@ -1093,8 +1093,8 @@ export type StyledStringMarshallingValue = UserDataSpan; export type StyledStringMarshallCallback = (marshallableVal: UserDataSpan) => ArrayBuffer; export type StyledStringUnmarshallCallback = (buf: ArrayBuffer) => UserDataSpan; export interface StyleOptions { - start?: number; - length?: number; + start?: int32; + length?: int32; styledKey: StyledStringKey; styledValue: StyledStringValue; } @@ -2167,7 +2167,7 @@ export class StyleOptions_serializer { if (valueHolderForStart !== undefined) { valueSerializer.writeInt8(RuntimeType.OBJECT) const valueHolderForStartTmpValue = valueHolderForStart! - valueSerializer.writeNumber(valueHolderForStartTmpValue) + valueSerializer.writeInt32(valueHolderForStartTmpValue) } else { valueSerializer.writeInt8(RuntimeType.UNDEFINED) } @@ -2175,7 +2175,7 @@ export class StyleOptions_serializer { if (valueHolderForLength !== undefined) { valueSerializer.writeInt8(RuntimeType.OBJECT) const valueHolderForLengthTmpValue = valueHolderForLength! - valueSerializer.writeNumber(valueHolderForLengthTmpValue) + valueSerializer.writeInt32(valueHolderForLengthTmpValue) } else { valueSerializer.writeInt8(RuntimeType.UNDEFINED) } @@ -2239,17 +2239,17 @@ export class StyleOptions_serializer { public static read(buffer: DeserializerBase): StyleOptions { let valueDeserializer : DeserializerBase = buffer const startTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() - let startTmpBuf : number | undefined + let startTmpBuf : int32 | undefined if ((startTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { - startTmpBuf = (valueDeserializer.readNumber() as number) + startTmpBuf = valueDeserializer.readInt32() } - const startTmpResult : number | undefined = startTmpBuf + const startTmpResult : int32 | undefined = startTmpBuf const lengthTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() - let lengthTmpBuf : number | undefined + let lengthTmpBuf : int32 | undefined if ((lengthTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { - lengthTmpBuf = (valueDeserializer.readNumber() as number) + lengthTmpBuf = valueDeserializer.readInt32() } - const lengthTmpResult : number | undefined = lengthTmpBuf + const lengthTmpResult : int32 | undefined = lengthTmpBuf const styledKeyTmpResult : StyledStringKey = TypeChecker.StyledStringKey_FromNumeric(valueDeserializer.readInt32()) const styledValueTmpBufUnionSelector : int32 = valueDeserializer.readInt8() let styledValueTmpBuf : TextStyle | DecorationStyle | BaselineOffsetStyle | LetterSpacingStyle | TextShadowStyle | GestureStyle | ImageAttachment | ParagraphStyle | LineHeightStyle | UrlStyle | CustomSpan | UserDataSpan | BackgroundColorStyle | undefined diff --git a/arkoala-arkts/arkui/generated/component/swiper.ets b/arkoala-arkts/arkui/generated/component/swiper.ets index b8fd1df28..7ffdb9466 100644 --- a/arkoala-arkts/arkui/generated/component/swiper.ets +++ b/arkoala-arkts/arkui/generated/component/swiper.ets @@ -28,11 +28,11 @@ import { Resource_serializer } from "./../framework/resource" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { EdgeEffect, PageFlipMode, Color } from "./enums" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" import { Resource } from "global.resource" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { NodeAttach, remember } from "@koalaui/runtime" import { LengthMetrics, LengthMetrics_serializer } from "./../Graphics" export interface SwiperContentTransitionProxy { @@ -926,95 +926,94 @@ export class ArkSwiperStyle extends ArkCommonMethodStyle implements SwiperAttrib indicatorInteractive_value?: boolean | undefined pageFlipMode_value?: PageFlipMode | undefined onContentWillScroll_value?: ContentWillScrollCallback | undefined - attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public index(value: number | Bindable | undefined): this { + index(value: number | Bindable | undefined): this { return this } - public interval(value: number | undefined): this { + interval(value: number | undefined): this { return this } - public indicator(value: IndicatorComponentController | DotIndicator | DigitIndicator | boolean | undefined): this { + indicator(value: IndicatorComponentController | DotIndicator | DigitIndicator | boolean | undefined): this { return this } - public loop(value: boolean | undefined): this { + loop(value: boolean | undefined): this { return this } - public duration(value: number | undefined): this { + duration(value: number | undefined): this { return this } - public vertical(value: boolean | undefined): this { + vertical(value: boolean | undefined): this { return this } - public itemSpace(value: number | string | undefined): this { + itemSpace(value: number | string | undefined): this { return this } - public displayMode(value: SwiperDisplayMode | undefined): this { + displayMode(value: SwiperDisplayMode | undefined): this { return this } - public cachedCount(value: number | undefined): this { + cachedCount(value: number | undefined): this { return this } - public effectMode(value: EdgeEffect | undefined): this { + effectMode(value: EdgeEffect | undefined): this { return this } - public disableSwipe(value: boolean | undefined): this { + disableSwipe(value: boolean | undefined): this { return this } - public curve(value: curves.Curve | string | curves.ICurve | undefined): this { + curve(value: curves.Curve | string | curves.ICurve | undefined): this { return this } - public onChange(value: ((value0: number) => void) | undefined): this { + onChange(value: ((value0: number) => void) | undefined): this { return this } - public onSelected(value: ((value0: number) => void) | undefined): this { + onSelected(value: ((value0: number) => void) | undefined): this { return this } - public onUnselected(value: ((value0: number) => void) | undefined): this { + onUnselected(value: ((value0: number) => void) | undefined): this { return this } - public onAnimationStart(value: OnSwiperAnimationStartCallback | undefined): this { + onAnimationStart(value: OnSwiperAnimationStartCallback | undefined): this { return this } - public onAnimationEnd(value: OnSwiperAnimationEndCallback | undefined): this { + onAnimationEnd(value: OnSwiperAnimationEndCallback | undefined): this { return this } - public onGestureSwipe(value: OnSwiperGestureSwipeCallback | undefined): this { + onGestureSwipe(value: OnSwiperGestureSwipeCallback | undefined): this { return this } - public nestedScroll(value: SwiperNestedScrollMode | undefined): this { + nestedScroll(value: SwiperNestedScrollMode | undefined): this { return this } - public customContentTransition(value: SwiperContentAnimatedTransition | undefined): this { + customContentTransition(value: SwiperContentAnimatedTransition | undefined): this { return this } - public onContentDidScroll(value: ContentDidScrollCallback | undefined): this { + onContentDidScroll(value: ContentDidScrollCallback | undefined): this { return this } - public indicatorInteractive(value: boolean | undefined): this { + indicatorInteractive(value: boolean | undefined): this { return this } - public pageFlipMode(value: PageFlipMode | undefined): this { + pageFlipMode(value: PageFlipMode | undefined): this { return this } - public onContentWillScroll(value: ContentWillScrollCallback | undefined): this { + onContentWillScroll(value: ContentWillScrollCallback | undefined): this { return this } - public autoPlay(autoPlay: boolean | undefined, options: AutoPlayOptions | undefined): this { + autoPlay(autoPlay: boolean | undefined, options: AutoPlayOptions | undefined): this { return this } - public displayArrow(value: ArrowStyle | boolean | undefined, isHoverShow?: boolean): this { + displayArrow(value: ArrowStyle | boolean | undefined, isHoverShow?: boolean): this { return this } - public cachedCount(count: number | undefined, isShown: boolean | undefined): this { + cachedCount(count: number | undefined, isShown: boolean | undefined): this { return this } - public displayCount(value: number | string | SwiperAutoFill | undefined, swipeByGroup?: boolean): this { + displayCount(value: number | string | SwiperAutoFill | undefined, swipeByGroup?: boolean): this { return this } - public prevMargin(value: Length | undefined, ignoreBlank?: boolean): this { + prevMargin(value: Length | undefined, ignoreBlank?: boolean): this { return this } - public nextMargin(value: Length | undefined, ignoreBlank?: boolean): this { + nextMargin(value: Length | undefined, ignoreBlank?: boolean): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/symbolSpan.ets b/arkoala-arkts/arkui/generated/component/symbolSpan.ets index 13f6d1b00..ec4ea4f47 100644 --- a/arkoala-arkts/arkui/generated/component/symbolSpan.ets +++ b/arkoala-arkts/arkui/generated/component/symbolSpan.ets @@ -182,19 +182,19 @@ export class ArkSymbolSpanStyle extends ArkCommonMethodStyle implements SymbolSp effectStrategy_value?: SymbolEffectStrategy | undefined renderingStrategy_value?: SymbolRenderingStrategy | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public fontSize(value: number | string | Resource | undefined): this { + fontSize(value: number | string | Resource | undefined): this { return this } - public fontColor(value: Array | undefined): this { + fontColor(value: Array | undefined): this { return this } - public fontWeight(value: number | FontWeight | string | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { return this } - public effectStrategy(value: SymbolEffectStrategy | undefined): this { + effectStrategy(value: SymbolEffectStrategy | undefined): this { return this } - public renderingStrategy(value: SymbolRenderingStrategy | undefined): this { + renderingStrategy(value: SymbolRenderingStrategy | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/symbolglyph.ets b/arkoala-arkts/arkui/generated/component/symbolglyph.ets index 807c9c753..163fcbcb5 100644 --- a/arkoala-arkts/arkui/generated/component/symbolglyph.ets +++ b/arkoala-arkts/arkui/generated/component/symbolglyph.ets @@ -27,7 +27,7 @@ import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonM import { Resource } from "global.resource" import { ResourceColor } from "./units" import { Color, FontWeight } from "./enums" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" @@ -311,28 +311,28 @@ export class ArkSymbolGlyphStyle extends ArkCommonMethodStyle implements SymbolG minFontScale_value?: number | Resource | undefined maxFontScale_value?: number | Resource | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public fontSize(value: number | string | Resource | undefined): this { + fontSize(value: number | string | Resource | undefined): this { return this } - public fontColor(value: Array | undefined): this { + fontColor(value: Array | undefined): this { return this } - public fontWeight(value: number | FontWeight | string | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { return this } - public effectStrategy(value: SymbolEffectStrategy | undefined): this { + effectStrategy(value: SymbolEffectStrategy | undefined): this { return this } - public renderingStrategy(value: SymbolRenderingStrategy | undefined): this { + renderingStrategy(value: SymbolRenderingStrategy | undefined): this { return this } - public minFontScale(value: number | Resource | undefined): this { + minFontScale(value: number | Resource | undefined): this { return this } - public maxFontScale(value: number | Resource | undefined): this { + maxFontScale(value: number | Resource | undefined): this { return this } - public symbolEffect(symbolEffect: SymbolEffect | undefined, triggerValue?: boolean | number): this { + symbolEffect(symbolEffect: SymbolEffect | undefined, triggerValue?: boolean | number): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -445,6 +445,17 @@ export function SymbolGlyph( }) } +export class PulseSymbolEffect_serializer { + public static write(buffer: SerializerBase, value: PulseSymbolEffect): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): PulseSymbolEffect { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return PulseSymbolEffectInternal.fromPtr(ptr) + } +} export class SymbolEffect_serializer { public static write(buffer: SerializerBase, value: SymbolEffect): void { let valueSerializer : SerializerBase = buffer @@ -835,6 +846,26 @@ export class HierarchicalSymbolEffect extends SymbolEffect implements Materializ thisSerializer.release() } } +export class PulseSymbolEffectInternal { + public static fromPtr(ptr: KPointer): PulseSymbolEffect { + return new PulseSymbolEffect(ptr) + } +} +export class PulseSymbolEffect extends SymbolEffect implements MaterializedBase { + constructor(peerPtr: KPointer) { + super(peerPtr) + } + constructor() { + this(PulseSymbolEffect.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._PulseSymbolEffect_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PulseSymbolEffect_getFinalizer() + } +} export class ReplaceSymbolEffectInternal { public static fromPtr(ptr: KPointer): ReplaceSymbolEffect { return new ReplaceSymbolEffect(false, ptr) diff --git a/arkoala-arkts/arkui/generated/component/tabContent.ets b/arkoala-arkts/arkui/generated/component/tabContent.ets index d563e4f50..de88d72f8 100644 --- a/arkoala-arkts/arkui/generated/component/tabContent.ets +++ b/arkoala-arkts/arkui/generated/component/tabContent.ets @@ -29,7 +29,7 @@ import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonM import { Resource } from "global.resource" import { CustomBuilder } from "./builder" import { VoidCallback, ResourceColor, Length, ResourceStr, Font, Padding, Dimension, LocalizedPadding, Font_serializer, Padding_serializer, LocalizedPadding_serializer } from "./units" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" @@ -258,13 +258,13 @@ export class ArkTabContentStyle extends ArkCommonMethodStyle implements TabConte onWillShow_value?: VoidCallback | undefined onWillHide_value?: VoidCallback | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public tabBar(value: ComponentContent | SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions | undefined): this { + tabBar(value: ComponentContent | SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions | undefined): this { return this } - public onWillShow(value: VoidCallback | undefined): this { + onWillShow(value: VoidCallback | undefined): this { return this } - public onWillHide(value: VoidCallback | undefined): this { + onWillHide(value: VoidCallback | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/tabs.ets b/arkoala-arkts/arkui/generated/component/tabs.ets index 1f38b4319..69dd1634b 100644 --- a/arkoala-arkts/arkui/generated/component/tabs.ets +++ b/arkoala-arkts/arkui/generated/component/tabs.ets @@ -27,7 +27,7 @@ import { PeerNode } from "./../PeerNode" import { Length, ResourceColor, Dimension } from "./units" import { Resource } from "global.resource" import { EdgeEffect, Color, PageFlipMode } from "./enums" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" @@ -772,88 +772,88 @@ export class ArkTabsStyle extends ArkCommonMethodStyle implements TabsAttribute barBackgroundEffect_value?: BackgroundEffectOptions | undefined onContentWillChange_value?: OnTabsContentWillChangeCallback | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public vertical(value: boolean | undefined): this { + vertical(value: boolean | undefined): this { return this } - public barPosition(value: BarPosition | undefined): this { + barPosition(value: BarPosition | undefined): this { return this } - public scrollable(value: boolean | undefined): this { + scrollable(value: boolean | undefined): this { return this } - public barWidth(value: Length | undefined): this { + barWidth(value: Length | undefined): this { return this } - public barHeight(value: Length | undefined): this { + barHeight(value: Length | undefined): this { return this } - public animationDuration(value: number | undefined): this { + animationDuration(value: number | undefined): this { return this } - public animationMode(value: AnimationMode | undefined): this { + animationMode(value: AnimationMode | undefined): this { return this } - public edgeEffect(value: EdgeEffect | undefined): this { + edgeEffect(value: EdgeEffect | undefined): this { return this } - public onChange(value: ((value0: number) => void) | undefined): this { + onChange(value: ((value0: number) => void) | undefined): this { return this } - public onSelected(value: ((value0: number) => void) | undefined): this { + onSelected(value: ((value0: number) => void) | undefined): this { return this } - public onTabBarClick(value: ((value0: number) => void) | undefined): this { + onTabBarClick(value: ((value0: number) => void) | undefined): this { return this } - public onUnselected(value: ((value0: number) => void) | undefined): this { + onUnselected(value: ((value0: number) => void) | undefined): this { return this } - public onAnimationStart(value: OnTabsAnimationStartCallback | undefined): this { + onAnimationStart(value: OnTabsAnimationStartCallback | undefined): this { return this } - public onAnimationEnd(value: OnTabsAnimationEndCallback | undefined): this { + onAnimationEnd(value: OnTabsAnimationEndCallback | undefined): this { return this } - public onGestureSwipe(value: OnTabsGestureSwipeCallback | undefined): this { + onGestureSwipe(value: OnTabsGestureSwipeCallback | undefined): this { return this } - public fadingEdge(value: boolean | undefined): this { + fadingEdge(value: boolean | undefined): this { return this } - public divider(value: DividerStyle | undefined): this { + divider(value: DividerStyle | undefined): this { return this } - public barOverlap(value: boolean | undefined): this { + barOverlap(value: boolean | undefined): this { return this } - public barBackgroundColor(value: ResourceColor | undefined): this { + barBackgroundColor(value: ResourceColor | undefined): this { return this } - public barGridAlign(value: BarGridColumnOptions | undefined): this { + barGridAlign(value: BarGridColumnOptions | undefined): this { return this } - public customContentTransition(value: TabsCustomContentTransitionCallback | undefined): this { + customContentTransition(value: TabsCustomContentTransitionCallback | undefined): this { return this } - public barBackgroundBlurStyle(value: BlurStyle | undefined): this { + barBackgroundBlurStyle(value: BlurStyle | undefined): this { return this } - public pageFlipMode(value: PageFlipMode | undefined): this { + pageFlipMode(value: PageFlipMode | undefined): this { return this } - public barBackgroundEffect(value: BackgroundEffectOptions | undefined): this { + barBackgroundEffect(value: BackgroundEffectOptions | undefined): this { return this } - public onContentWillChange(value: OnTabsContentWillChangeCallback | undefined): this { + onContentWillChange(value: OnTabsContentWillChangeCallback | undefined): this { return this } - public barMode(value: BarMode | undefined, options?: ScrollableBarModeOptions): this { + barMode(value: BarMode | undefined, options?: ScrollableBarModeOptions): this { return this } - public barBackgroundBlurStyle(style: BlurStyle | undefined, options: BackgroundBlurStyleOptions | undefined): this { + barBackgroundBlurStyle(style: BlurStyle | undefined, options: BackgroundBlurStyleOptions | undefined): this { return this } - public cachedMaxCount(count: number | undefined, mode: TabsCacheMode | undefined): this { + cachedMaxCount(count: number | undefined, mode: TabsCacheMode | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/text.ets b/arkoala-arkts/arkui/generated/component/text.ets index b09aed7d7..2996c76a5 100644 --- a/arkoala-arkts/arkui/generated/component/text.ets +++ b/arkoala-arkts/arkui/generated/component/text.ets @@ -31,7 +31,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { Color, FontStyle, TextAlign, TextCase, CopyOptions, TextHeightAdaptivePolicy, WordBreak, LineBreakStrategy, EllipsisMode, TextSelectableMode, FontWeight, TextOverflow } from "./enums" import { Resource } from "global.resource" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CustomBuilder } from "./builder" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" @@ -1029,133 +1029,133 @@ export class ArkTextStyle extends ArkCommonMethodStyle implements TextAttribute halfLeading_value?: boolean | undefined enableHapticFeedback_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public fontSize(value: number | string | Resource | undefined): this { + fontSize(value: number | string | Resource | undefined): this { return this } - public minFontSize(value: number | string | Resource | undefined): this { + minFontSize(value: number | string | Resource | undefined): this { return this } - public maxFontSize(value: number | string | Resource | undefined): this { + maxFontSize(value: number | string | Resource | undefined): this { return this } - public minFontScale(value: number | Resource | undefined): this { + minFontScale(value: number | Resource | undefined): this { return this } - public maxFontScale(value: number | Resource | undefined): this { + maxFontScale(value: number | Resource | undefined): this { return this } - public fontStyle(value: FontStyle | undefined): this { + fontStyle(value: FontStyle | undefined): this { return this } - public lineSpacing(value: LengthMetrics | undefined): this { + lineSpacing(value: LengthMetrics | undefined): this { return this } - public textAlign(value: TextAlign | undefined): this { + textAlign(value: TextAlign | undefined): this { return this } - public lineHeight(value: number | string | Resource | undefined): this { + lineHeight(value: number | string | Resource | undefined): this { return this } - public textOverflow(value: TextOverflowOptions | undefined): this { + textOverflow(value: TextOverflowOptions | undefined): this { return this } - public fontFamily(value: string | Resource | undefined): this { + fontFamily(value: string | Resource | undefined): this { return this } - public maxLines(value: number | undefined): this { + maxLines(value: number | undefined): this { return this } - public decoration(value: DecorationStyleInterface | undefined): this { + decoration(value: DecorationStyleInterface | undefined): this { return this } - public letterSpacing(value: number | string | undefined): this { + letterSpacing(value: number | string | undefined): this { return this } - public textCase(value: TextCase | undefined): this { + textCase(value: TextCase | undefined): this { return this } - public baselineOffset(value: number | string | undefined): this { + baselineOffset(value: number | string | undefined): this { return this } - public copyOption(value: CopyOptions | undefined): this { + copyOption(value: CopyOptions | undefined): this { return this } - public draggable(value: boolean | undefined): this { + draggable(value: boolean | undefined): this { return this } - public textShadow(value: ShadowOptions | Array | undefined): this { + textShadow(value: ShadowOptions | Array | undefined): this { return this } - public heightAdaptivePolicy(value: TextHeightAdaptivePolicy | undefined): this { + heightAdaptivePolicy(value: TextHeightAdaptivePolicy | undefined): this { return this } - public textIndent(value: Length | undefined): this { + textIndent(value: Length | undefined): this { return this } - public wordBreak(value: WordBreak | undefined): this { + wordBreak(value: WordBreak | undefined): this { return this } - public lineBreakStrategy(value: LineBreakStrategy | undefined): this { + lineBreakStrategy(value: LineBreakStrategy | undefined): this { return this } - public onCopy(value: ((value: string) => void) | undefined): this { + onCopy(value: ((value: string) => void) | undefined): this { return this } - public caretColor(value: ResourceColor | undefined): this { + caretColor(value: ResourceColor | undefined): this { return this } - public selectedBackgroundColor(value: ResourceColor | undefined): this { + selectedBackgroundColor(value: ResourceColor | undefined): this { return this } - public ellipsisMode(value: EllipsisMode | undefined): this { + ellipsisMode(value: EllipsisMode | undefined): this { return this } - public enableDataDetector(value: boolean | undefined): this { + enableDataDetector(value: boolean | undefined): this { return this } - public dataDetectorConfig(value: TextDataDetectorConfig | undefined): this { + dataDetectorConfig(value: TextDataDetectorConfig | undefined): this { return this } - public onTextSelectionChange(value: ((selectionStart: number,selectionEnd: number) => void) | undefined): this { + onTextSelectionChange(value: ((selectionStart: number,selectionEnd: number) => void) | undefined): this { return this } - public fontFeature(value: string | undefined): this { + fontFeature(value: string | undefined): this { return this } - public marqueeOptions(value: TextMarqueeOptions | undefined): this { + marqueeOptions(value: TextMarqueeOptions | undefined): this { return this } - public onMarqueeStateChange(value: ((value0: MarqueeState) => void) | undefined): this { + onMarqueeStateChange(value: ((value0: MarqueeState) => void) | undefined): this { return this } - public privacySensitive(value: boolean | undefined): this { + privacySensitive(value: boolean | undefined): this { return this } - public textSelectable(value: TextSelectableMode | undefined): this { + textSelectable(value: TextSelectableMode | undefined): this { return this } - public editMenuOptions(value: EditMenuOptions | undefined): this { + editMenuOptions(value: EditMenuOptions | undefined): this { return this } - public halfLeading(value: boolean | undefined): this { + halfLeading(value: boolean | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public font(fontValue: Font | undefined, options?: FontSettingOptions): this { + font(fontValue: Font | undefined, options?: FontSettingOptions): this { return this } - public fontWeight(weight: number | FontWeight | string | undefined, options?: FontSettingOptions): this { + fontWeight(weight: number | FontWeight | string | undefined, options?: FontSettingOptions): this { return this } - public selection(selectionStart: number | undefined, selectionEnd: number | undefined): this { + selection(selectionStart: number | undefined, selectionEnd: number | undefined): this { return this } - public bindSelectionMenu(spanType: TextSpanType | undefined, content: CustomBuilder | undefined, responseType: TextResponseType | undefined, options?: SelectionMenuOptions): this { + bindSelectionMenu(spanType: TextSpanType | undefined, content: CustomBuilder | undefined, responseType: TextResponseType | undefined, options?: SelectionMenuOptions): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/textArea.ets b/arkoala-arkts/arkui/generated/component/textArea.ets index 54903f1d6..7a901bf8e 100644 --- a/arkoala-arkts/arkui/generated/component/textArea.ets +++ b/arkoala-arkts/arkui/generated/component/textArea.ets @@ -30,7 +30,7 @@ import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { Color, TextAlign, FontStyle, FontWeight, TextOverflow, CopyOptions, TextContentStyle, BarState, TextHeightAdaptivePolicy, WordBreak, LineBreakStrategy, EllipsisMode } from "./enums" import { Resource } from "global.resource" import { EnterKeyType, SubmitEvent, ContentType } from "./textInput" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CustomBuilder } from "./builder" import { CallbackKind } from "./../framework/peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" @@ -216,7 +216,7 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._TextAreaAttribute_setFontStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setFontWeightAttribute(value: number | FontWeight | ResourceStr | undefined): void { + setFontWeightAttribute(value: number | FontWeight | string | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) @@ -229,18 +229,10 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { thisSerializer.writeInt8((1).toChar()) const valueTmpValueForIdx1 = valueTmpValue as FontWeight thisSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(valueTmpValueForIdx1)) - } else if (valueTmpValue instanceof ResourceStr) { + } else if (valueTmpValue instanceof string) { thisSerializer.writeInt8((2).toChar()) - const valueTmpValueForIdx2 = valueTmpValue as ResourceStr - if (valueTmpValueForIdx2 instanceof string) { - thisSerializer.writeInt8((0).toChar()) - const valueTmpValueForIdx2ForIdx0 = valueTmpValueForIdx2 as string - thisSerializer.writeString(valueTmpValueForIdx2ForIdx0) - } else if (valueTmpValueForIdx2 instanceof Resource) { - thisSerializer.writeInt8((1).toChar()) - const valueTmpValueForIdx2ForIdx1 = valueTmpValueForIdx2 as Resource - Resource_serializer.write(thisSerializer, valueTmpValueForIdx2ForIdx1) - } + const valueTmpValueForIdx2 = valueTmpValue as string + thisSerializer.writeString(valueTmpValueForIdx2) } } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) @@ -1037,7 +1029,7 @@ export interface TextAreaAttribute extends CommonMethod { fontStyle(value: FontStyle | undefined): this { throw new Error("Unimplemented method fontStyle") } - fontWeight(value: number | FontWeight | ResourceStr | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { throw new Error("Unimplemented method fontWeight") } fontFamily(value: ResourceStr | undefined): this { @@ -1206,7 +1198,7 @@ export class ArkTextAreaStyle extends ArkCommonMethodStyle implements TextAreaAt fontColor_value?: ResourceColor | undefined fontSize_value?: Length | undefined fontStyle_value?: FontStyle | undefined - fontWeight_value?: number | FontWeight | ResourceStr | undefined + fontWeight_value?: number | FontWeight | string | undefined fontFamily_value?: ResourceStr | undefined textOverflow_value?: TextOverflow | undefined textIndent_value?: Dimension | undefined @@ -1256,184 +1248,184 @@ export class ArkTextAreaStyle extends ArkCommonMethodStyle implements TextAreaAt onWillChange_value?: ((value0: EditableTextChangeValue) => boolean) | undefined keyboardAppearance_value?: KeyboardAppearance | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public placeholderColor(value: ResourceColor | undefined): this { + placeholderColor(value: ResourceColor | undefined): this { return this } - public placeholderFont(value: Font | undefined): this { + placeholderFont(value: Font | undefined): this { return this } - public enterKeyType(value: EnterKeyType | undefined): this { + enterKeyType(value: EnterKeyType | undefined): this { return this } - public textAlign(value: TextAlign | undefined): this { + textAlign(value: TextAlign | undefined): this { return this } - public caretColor(value: ResourceColor | undefined): this { + caretColor(value: ResourceColor | undefined): this { return this } - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public fontSize(value: Length | undefined): this { + fontSize(value: Length | undefined): this { return this } - public fontStyle(value: FontStyle | undefined): this { + fontStyle(value: FontStyle | undefined): this { return this } - public fontWeight(value: number | FontWeight | ResourceStr | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { return this } - public fontFamily(value: ResourceStr | undefined): this { + fontFamily(value: ResourceStr | undefined): this { return this } - public textOverflow(value: TextOverflow | undefined): this { + textOverflow(value: TextOverflow | undefined): this { return this } - public textIndent(value: Dimension | undefined): this { + textIndent(value: Dimension | undefined): this { return this } - public caretStyle(value: CaretStyle | undefined): this { + caretStyle(value: CaretStyle | undefined): this { return this } - public selectedBackgroundColor(value: ResourceColor | undefined): this { + selectedBackgroundColor(value: ResourceColor | undefined): this { return this } - public onSubmit(value: ((enterKey: EnterKeyType) => void) | TextAreaSubmitCallback | undefined): this { + onSubmit(value: ((enterKey: EnterKeyType) => void) | TextAreaSubmitCallback | undefined): this { return this } - public onChange(value: EditableTextOnChangeCallback | undefined): this { + onChange(value: EditableTextOnChangeCallback | undefined): this { return this } - public onTextSelectionChange(value: ((selectionStart: number,selectionEnd: number) => void) | undefined): this { + onTextSelectionChange(value: ((selectionStart: number,selectionEnd: number) => void) | undefined): this { return this } - public onContentScroll(value: ((selectionStart: number,selectionEnd: number) => void) | undefined): this { + onContentScroll(value: ((selectionStart: number,selectionEnd: number) => void) | undefined): this { return this } - public onEditChange(value: ((isEditing: boolean) => void) | undefined): this { + onEditChange(value: ((isEditing: boolean) => void) | undefined): this { return this } - public onCopy(value: ((value: string) => void) | undefined): this { + onCopy(value: ((value: string) => void) | undefined): this { return this } - public onCut(value: ((value: string) => void) | undefined): this { + onCut(value: ((value: string) => void) | undefined): this { return this } - public onPaste(value: ((value: string,event: PasteEvent) => void) | undefined): this { + onPaste(value: ((value: string,event: PasteEvent) => void) | undefined): this { return this } - public copyOption(value: CopyOptions | undefined): this { + copyOption(value: CopyOptions | undefined): this { return this } - public enableKeyboardOnFocus(value: boolean | undefined): this { + enableKeyboardOnFocus(value: boolean | undefined): this { return this } - public maxLength(value: number | undefined): this { + maxLength(value: number | undefined): this { return this } - public style(value: TextContentStyle | undefined): this { + style(value: TextContentStyle | undefined): this { return this } - public barState(value: BarState | undefined): this { + barState(value: BarState | undefined): this { return this } - public selectionMenuHidden(value: boolean | undefined): this { + selectionMenuHidden(value: boolean | undefined): this { return this } - public minFontSize(value: number | string | Resource | undefined): this { + minFontSize(value: number | string | Resource | undefined): this { return this } - public maxFontSize(value: number | string | Resource | undefined): this { + maxFontSize(value: number | string | Resource | undefined): this { return this } - public minFontScale(value: number | Resource | undefined): this { + minFontScale(value: number | Resource | undefined): this { return this } - public maxFontScale(value: number | Resource | undefined): this { + maxFontScale(value: number | Resource | undefined): this { return this } - public heightAdaptivePolicy(value: TextHeightAdaptivePolicy | undefined): this { + heightAdaptivePolicy(value: TextHeightAdaptivePolicy | undefined): this { return this } - public maxLines(value: number | undefined): this { + maxLines(value: number | undefined): this { return this } - public wordBreak(value: WordBreak | undefined): this { + wordBreak(value: WordBreak | undefined): this { return this } - public lineBreakStrategy(value: LineBreakStrategy | undefined): this { + lineBreakStrategy(value: LineBreakStrategy | undefined): this { return this } - public decoration(value: TextDecorationOptions | undefined): this { + decoration(value: TextDecorationOptions | undefined): this { return this } - public letterSpacing(value: number | string | Resource | undefined): this { + letterSpacing(value: number | string | Resource | undefined): this { return this } - public lineSpacing(value: LengthMetrics | undefined): this { + lineSpacing(value: LengthMetrics | undefined): this { return this } - public lineHeight(value: number | string | Resource | undefined): this { + lineHeight(value: number | string | Resource | undefined): this { return this } - public type(value: TextAreaType | undefined): this { + type(value: TextAreaType | undefined): this { return this } - public enableAutoFill(value: boolean | undefined): this { + enableAutoFill(value: boolean | undefined): this { return this } - public contentType(value: ContentType | undefined): this { + contentType(value: ContentType | undefined): this { return this } - public fontFeature(value: string | undefined): this { + fontFeature(value: string | undefined): this { return this } - public onWillInsert(value: ((value0: InsertValue) => boolean) | undefined): this { + onWillInsert(value: ((value0: InsertValue) => boolean) | undefined): this { return this } - public onDidInsert(value: ((value0: InsertValue) => void) | undefined): this { + onDidInsert(value: ((value0: InsertValue) => void) | undefined): this { return this } - public onWillDelete(value: ((value0: DeleteValue) => boolean) | undefined): this { + onWillDelete(value: ((value0: DeleteValue) => boolean) | undefined): this { return this } - public onDidDelete(value: ((value0: DeleteValue) => void) | undefined): this { + onDidDelete(value: ((value0: DeleteValue) => void) | undefined): this { return this } - public editMenuOptions(value: EditMenuOptions | undefined): this { + editMenuOptions(value: EditMenuOptions | undefined): this { return this } - public enablePreviewText(value: boolean | undefined): this { + enablePreviewText(value: boolean | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public autoCapitalizationMode(value: AutoCapitalizationMode | undefined): this { + autoCapitalizationMode(value: AutoCapitalizationMode | undefined): this { return this } - public halfLeading(value: boolean | undefined): this { + halfLeading(value: boolean | undefined): this { return this } - public ellipsisMode(value: EllipsisMode | undefined): this { + ellipsisMode(value: EllipsisMode | undefined): this { return this } - public stopBackPress(value: boolean | undefined): this { + stopBackPress(value: boolean | undefined): this { return this } - public onWillChange(value: ((value0: EditableTextChangeValue) => boolean) | undefined): this { + onWillChange(value: ((value0: EditableTextChangeValue) => boolean) | undefined): this { return this } - public keyboardAppearance(value: KeyboardAppearance | undefined): this { + keyboardAppearance(value: KeyboardAppearance | undefined): this { return this } - public inputFilter(value: ResourceStr | undefined, error?: ((value: string) => void)): this { + inputFilter(value: ResourceStr | undefined, error?: ((value: string) => void)): this { return this } - public showCounter(value: boolean | undefined, options?: InputCounterOptions): this { + showCounter(value: boolean | undefined, options?: InputCounterOptions): this { return this } - public customKeyboard(value: CustomBuilder | undefined, options?: KeyboardOptions): this { + customKeyboard(value: CustomBuilder | undefined, options?: KeyboardOptions): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -1517,9 +1509,9 @@ export class ArkTextAreaComponent extends ArkCommonMethodComponent implements Te } return this } - public fontWeight(value: number | FontWeight | ResourceStr | undefined): this { + public fontWeight(value: number | FontWeight | string | undefined): this { if (this.checkPriority("fontWeight")) { - const value_casted = value as (number | FontWeight | ResourceStr | undefined) + const value_casted = value as (number | FontWeight | string | undefined) this.getPeer()?.setFontWeightAttribute(value_casted) return this } diff --git a/arkoala-arkts/arkui/generated/component/textClock.ets b/arkoala-arkts/arkui/generated/component/textClock.ets index 6cfd5f72f..868124ce5 100644 --- a/arkoala-arkts/arkui/generated/component/textClock.ets +++ b/arkoala-arkts/arkui/generated/component/textClock.ets @@ -28,7 +28,7 @@ import { PeerNode } from "./../PeerNode" import { ResourceStr, ResourceColor, Length } from "./units" import { Resource } from "global.resource" import { Color, FontStyle, FontWeight } from "./enums" -import { ContentModifier, AttributeModifier, hookTextClockContentModifier, AttributeUpdater, extractors } from "#handwritten" +import { ContentModifier, AttributeModifier, hookTextClockContentModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" @@ -343,37 +343,37 @@ export class ArkTextClockStyle extends ArkCommonMethodStyle implements TextClock contentModifier_value?: ContentModifier | undefined dateTimeOptions_value?: intl.DateTimeOptions | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public format(value: ResourceStr | undefined): this { + format(value: ResourceStr | undefined): this { return this } - public onDateChange(value: ((value: number) => void) | undefined): this { + onDateChange(value: ((value: number) => void) | undefined): this { return this } - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public fontSize(value: Length | undefined): this { + fontSize(value: Length | undefined): this { return this } - public fontStyle(value: FontStyle | undefined): this { + fontStyle(value: FontStyle | undefined): this { return this } - public fontWeight(value: number | FontWeight | string | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { return this } - public fontFamily(value: ResourceStr | undefined): this { + fontFamily(value: ResourceStr | undefined): this { return this } - public textShadow(value: ShadowOptions | Array | undefined): this { + textShadow(value: ShadowOptions | Array | undefined): this { return this } - public fontFeature(value: string | undefined): this { + fontFeature(value: string | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } - public dateTimeOptions(value: intl.DateTimeOptions | undefined): this { + dateTimeOptions(value: intl.DateTimeOptions | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/textCommon.ets b/arkoala-arkts/arkui/generated/component/textCommon.ets index df0a8ccb4..db6d019ab 100644 --- a/arkoala-arkts/arkui/generated/component/textCommon.ets +++ b/arkoala-arkts/arkui/generated/component/textCommon.ets @@ -28,7 +28,6 @@ import { Resource } from "global.resource" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { Color, TextDecorationType, TextDecorationStyle } from "./enums" -import { extractors } from "#handwritten" export interface LayoutManager { getLineCount(): number getGlyphPositionAtCoordinate(x: number, y: number): PositionWithAffinity diff --git a/arkoala-arkts/arkui/generated/component/textInput.ets b/arkoala-arkts/arkui/generated/component/textInput.ets index a2b9eeb87..7dad4b3eb 100644 --- a/arkoala-arkts/arkui/generated/component/textInput.ets +++ b/arkoala-arkts/arkui/generated/component/textInput.ets @@ -31,7 +31,7 @@ import { PeerNode } from "./../PeerNode" import { Color, TextOverflow, FontStyle, FontWeight, CopyOptions, TextAlign, TextContentStyle, BarState, WordBreak, LineBreakStrategy, TextHeightAdaptivePolicy, EllipsisMode } from "./enums" import { Resource } from "global.resource" import { CustomBuilder } from "./builder" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" @@ -389,7 +389,7 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._TextInputAttribute_setFontStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setFontWeightAttribute(value: number | FontWeight | ResourceStr | undefined): void { + setFontWeightAttribute(value: number | FontWeight | string | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) @@ -402,18 +402,10 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { thisSerializer.writeInt8((1).toChar()) const valueTmpValueForIdx1 = valueTmpValue as FontWeight thisSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(valueTmpValueForIdx1)) - } else if (valueTmpValue instanceof ResourceStr) { + } else if (valueTmpValue instanceof string) { thisSerializer.writeInt8((2).toChar()) - const valueTmpValueForIdx2 = valueTmpValue as ResourceStr - if (valueTmpValueForIdx2 instanceof string) { - thisSerializer.writeInt8((0).toChar()) - const valueTmpValueForIdx2ForIdx0 = valueTmpValueForIdx2 as string - thisSerializer.writeString(valueTmpValueForIdx2ForIdx0) - } else if (valueTmpValueForIdx2 instanceof Resource) { - thisSerializer.writeInt8((1).toChar()) - const valueTmpValueForIdx2ForIdx1 = valueTmpValueForIdx2 as Resource - Resource_serializer.write(thisSerializer, valueTmpValueForIdx2ForIdx1) - } + const valueTmpValueForIdx2 = valueTmpValue as string + thisSerializer.writeString(valueTmpValueForIdx2) } } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) @@ -1367,7 +1359,7 @@ export interface TextInputAttribute extends CommonMethod { fontStyle(value: FontStyle | undefined): this { throw new Error("Unimplemented method fontStyle") } - fontWeight(value: number | FontWeight | ResourceStr | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { throw new Error("Unimplemented method fontWeight") } fontFamily(value: ResourceStr | undefined): this { @@ -1551,7 +1543,7 @@ export class ArkTextInputStyle extends ArkCommonMethodStyle implements TextInput fontColor_value?: ResourceColor | undefined fontSize_value?: Length | undefined fontStyle_value?: FontStyle | undefined - fontWeight_value?: number | FontWeight | ResourceStr | undefined + fontWeight_value?: number | FontWeight | string | undefined fontFamily_value?: ResourceStr | undefined onCopy_value?: ((value0: string) => void) | undefined onCut_value?: ((value0: string) => void) | undefined @@ -1603,217 +1595,217 @@ export class ArkTextInputStyle extends ArkCommonMethodStyle implements TextInput onWillChange_value?: ((value0: EditableTextChangeValue) => boolean) | undefined keyboardAppearance_value?: KeyboardAppearance | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public type(value: InputType | undefined): this { + type(value: InputType | undefined): this { return this } - public contentType(value: ContentType | undefined): this { + contentType(value: ContentType | undefined): this { return this } - public placeholderColor(value: ResourceColor | undefined): this { + placeholderColor(value: ResourceColor | undefined): this { return this } - public textOverflow(value: TextOverflow | undefined): this { + textOverflow(value: TextOverflow | undefined): this { return this } - public textIndent(value: Dimension | undefined): this { + textIndent(value: Dimension | undefined): this { return this } - public placeholderFont(value: Font | undefined): this { + placeholderFont(value: Font | undefined): this { return this } - public enterKeyType(value: EnterKeyType | undefined): this { + enterKeyType(value: EnterKeyType | undefined): this { return this } - public caretColor(value: ResourceColor | undefined): this { + caretColor(value: ResourceColor | undefined): this { return this } - public onEditChange(value: ((value0: boolean) => void) | undefined): this { + onEditChange(value: ((value0: boolean) => void) | undefined): this { return this } - public onSubmit(value: OnSubmitCallback | undefined): this { + onSubmit(value: OnSubmitCallback | undefined): this { return this } - public onChange(value: EditableTextOnChangeCallback | undefined): this { + onChange(value: EditableTextOnChangeCallback | undefined): this { return this } - public onTextSelectionChange(value: OnTextSelectionChangeCallback | undefined): this { + onTextSelectionChange(value: OnTextSelectionChangeCallback | undefined): this { return this } - public onContentScroll(value: OnContentScrollCallback | undefined): this { + onContentScroll(value: OnContentScrollCallback | undefined): this { return this } - public maxLength(value: number | undefined): this { + maxLength(value: number | undefined): this { return this } - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public fontSize(value: Length | undefined): this { + fontSize(value: Length | undefined): this { return this } - public fontStyle(value: FontStyle | undefined): this { + fontStyle(value: FontStyle | undefined): this { return this } - public fontWeight(value: number | FontWeight | ResourceStr | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { return this } - public fontFamily(value: ResourceStr | undefined): this { + fontFamily(value: ResourceStr | undefined): this { return this } - public onCopy(value: ((value0: string) => void) | undefined): this { + onCopy(value: ((value0: string) => void) | undefined): this { return this } - public onCut(value: ((value0: string) => void) | undefined): this { + onCut(value: ((value0: string) => void) | undefined): this { return this } - public onPaste(value: OnPasteCallback | undefined): this { + onPaste(value: OnPasteCallback | undefined): this { return this } - public copyOption(value: CopyOptions | undefined): this { + copyOption(value: CopyOptions | undefined): this { return this } - public showPasswordIcon(value: boolean | undefined): this { + showPasswordIcon(value: boolean | undefined): this { return this } - public textAlign(value: TextAlign | undefined): this { + textAlign(value: TextAlign | undefined): this { return this } - public style(value: TextInputStyle | TextContentStyle | undefined): this { + style(value: TextInputStyle | TextContentStyle | undefined): this { return this } - public caretStyle(value: CaretStyle | undefined): this { + caretStyle(value: CaretStyle | undefined): this { return this } - public selectedBackgroundColor(value: ResourceColor | undefined): this { + selectedBackgroundColor(value: ResourceColor | undefined): this { return this } - public caretPosition(value: number | undefined): this { + caretPosition(value: number | undefined): this { return this } - public enableKeyboardOnFocus(value: boolean | undefined): this { + enableKeyboardOnFocus(value: boolean | undefined): this { return this } - public passwordIcon(value: PasswordIcon | undefined): this { + passwordIcon(value: PasswordIcon | undefined): this { return this } - public showError(value: ResourceStr | undefined): this { + showError(value: ResourceStr | undefined): this { return this } - public showUnit(value: CustomBuilder | undefined): this { + showUnit(value: CustomBuilder | undefined): this { return this } - public showUnderline(value: boolean | undefined): this { + showUnderline(value: boolean | undefined): this { return this } - public underlineColor(value: ResourceColor | UnderlineColor | undefined): this { + underlineColor(value: ResourceColor | UnderlineColor | undefined): this { return this } - public selectionMenuHidden(value: boolean | undefined): this { + selectionMenuHidden(value: boolean | undefined): this { return this } - public barState(value: BarState | undefined): this { + barState(value: BarState | undefined): this { return this } - public maxLines(value: number | undefined): this { + maxLines(value: number | undefined): this { return this } - public wordBreak(value: WordBreak | undefined): this { + wordBreak(value: WordBreak | undefined): this { return this } - public lineBreakStrategy(value: LineBreakStrategy | undefined): this { + lineBreakStrategy(value: LineBreakStrategy | undefined): this { return this } - public cancelButton(value: CancelButtonOptions | CancelButtonSymbolOptions | undefined): this { + cancelButton(value: CancelButtonOptions | CancelButtonSymbolOptions | undefined): this { return this } - public selectAll(value: boolean | undefined): this { + selectAll(value: boolean | undefined): this { return this } - public minFontSize(value: number | string | Resource | undefined): this { + minFontSize(value: number | string | Resource | undefined): this { return this } - public maxFontSize(value: number | string | Resource | undefined): this { + maxFontSize(value: number | string | Resource | undefined): this { return this } - public minFontScale(value: number | Resource | undefined): this { + minFontScale(value: number | Resource | undefined): this { return this } - public maxFontScale(value: number | Resource | undefined): this { + maxFontScale(value: number | Resource | undefined): this { return this } - public heightAdaptivePolicy(value: TextHeightAdaptivePolicy | undefined): this { + heightAdaptivePolicy(value: TextHeightAdaptivePolicy | undefined): this { return this } - public enableAutoFill(value: boolean | undefined): this { + enableAutoFill(value: boolean | undefined): this { return this } - public decoration(value: TextDecorationOptions | undefined): this { + decoration(value: TextDecorationOptions | undefined): this { return this } - public letterSpacing(value: number | string | Resource | undefined): this { + letterSpacing(value: number | string | Resource | undefined): this { return this } - public lineHeight(value: number | string | Resource | undefined): this { + lineHeight(value: number | string | Resource | undefined): this { return this } - public passwordRules(value: string | undefined): this { + passwordRules(value: string | undefined): this { return this } - public fontFeature(value: string | undefined): this { + fontFeature(value: string | undefined): this { return this } - public showPassword(value: boolean | undefined): this { + showPassword(value: boolean | undefined): this { return this } - public onSecurityStateChange(value: ((value0: boolean) => void) | undefined): this { + onSecurityStateChange(value: ((value0: boolean) => void) | undefined): this { return this } - public onWillInsert(value: ((value0: InsertValue) => boolean) | undefined): this { + onWillInsert(value: ((value0: InsertValue) => boolean) | undefined): this { return this } - public onDidInsert(value: ((value0: InsertValue) => void) | undefined): this { + onDidInsert(value: ((value0: InsertValue) => void) | undefined): this { return this } - public onWillDelete(value: ((value0: DeleteValue) => boolean) | undefined): this { + onWillDelete(value: ((value0: DeleteValue) => boolean) | undefined): this { return this } - public onDidDelete(value: ((value0: DeleteValue) => void) | undefined): this { + onDidDelete(value: ((value0: DeleteValue) => void) | undefined): this { return this } - public editMenuOptions(value: EditMenuOptions | undefined): this { + editMenuOptions(value: EditMenuOptions | undefined): this { return this } - public enablePreviewText(value: boolean | undefined): this { + enablePreviewText(value: boolean | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public autoCapitalizationMode(value: AutoCapitalizationMode | undefined): this { + autoCapitalizationMode(value: AutoCapitalizationMode | undefined): this { return this } - public halfLeading(value: boolean | undefined): this { + halfLeading(value: boolean | undefined): this { return this } - public ellipsisMode(value: EllipsisMode | undefined): this { + ellipsisMode(value: EllipsisMode | undefined): this { return this } - public stopBackPress(value: boolean | undefined): this { + stopBackPress(value: boolean | undefined): this { return this } - public onWillChange(value: ((value0: EditableTextChangeValue) => boolean) | undefined): this { + onWillChange(value: ((value0: EditableTextChangeValue) => boolean) | undefined): this { return this } - public keyboardAppearance(value: KeyboardAppearance | undefined): this { + keyboardAppearance(value: KeyboardAppearance | undefined): this { return this } - public inputFilter(value: ResourceStr | undefined, error?: ((value0: string) => void)): this { + inputFilter(value: ResourceStr | undefined, error?: ((value0: string) => void)): this { return this } - public customKeyboard(value: CustomBuilder | undefined, options?: KeyboardOptions): this { + customKeyboard(value: CustomBuilder | undefined, options?: KeyboardOptions): this { return this } - public showCounter(value: boolean | undefined, options?: InputCounterOptions): this { + showCounter(value: boolean | undefined, options?: InputCounterOptions): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -1969,9 +1961,9 @@ export class ArkTextInputComponent extends ArkCommonMethodComponent implements T } return this } - public fontWeight(value: number | FontWeight | ResourceStr | undefined): this { + public fontWeight(value: number | FontWeight | string | undefined): this { if (this.checkPriority("fontWeight")) { - const value_casted = value as (number | FontWeight | ResourceStr | undefined) + const value_casted = value as (number | FontWeight | string | undefined) this.getPeer()?.setFontWeightAttribute(value_casted) return this } diff --git a/arkoala-arkts/arkui/generated/component/textPicker.ets b/arkoala-arkts/arkui/generated/component/textPicker.ets index 66758b1db..f5c577ac0 100644 --- a/arkoala-arkts/arkui/generated/component/textPicker.ets +++ b/arkoala-arkts/arkui/generated/component/textPicker.ets @@ -27,7 +27,7 @@ import { PeerNode } from "./../PeerNode" import { Dimension, ResourceStr, ResourceColor, Offset, Font_serializer, Font, Offset_serializer } from "./units" import { Resource } from "global.resource" import { CrownSensitivity, Color, TextOverflow } from "./enums" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" @@ -389,49 +389,49 @@ export class ArkTextPickerStyle extends ArkCommonMethodStyle implements TextPick enableHapticFeedback_value?: boolean | undefined digitalCrownSensitivity_value?: CrownSensitivity | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public defaultPickerItemHeight(value: number | string | undefined): this { + defaultPickerItemHeight(value: number | string | undefined): this { return this } - public canLoop(value: boolean | undefined): this { + canLoop(value: boolean | undefined): this { return this } - public disappearTextStyle(value: PickerTextStyle | undefined): this { + disappearTextStyle(value: PickerTextStyle | undefined): this { return this } - public textStyle(value: PickerTextStyle | undefined): this { + textStyle(value: PickerTextStyle | undefined): this { return this } - public selectedTextStyle(value: PickerTextStyle | undefined): this { + selectedTextStyle(value: PickerTextStyle | undefined): this { return this } - public disableTextStyleAnimation(value: boolean | undefined): this { + disableTextStyleAnimation(value: boolean | undefined): this { return this } - public defaultTextStyle(value: TextPickerTextStyle | undefined): this { + defaultTextStyle(value: TextPickerTextStyle | undefined): this { return this } - public onChange(value: OnTextPickerChangeCallback | undefined): this { + onChange(value: OnTextPickerChangeCallback | undefined): this { return this } - public onScrollStop(value: TextPickerScrollStopCallback | undefined): this { + onScrollStop(value: TextPickerScrollStopCallback | undefined): this { return this } - public onEnterSelectedArea(value: TextPickerEnterSelectedAreaCallback | undefined): this { + onEnterSelectedArea(value: TextPickerEnterSelectedAreaCallback | undefined): this { return this } - public selectedIndex(value: number | Array | undefined): this { + selectedIndex(value: number | Array | undefined): this { return this } - public divider(value: DividerOptions | undefined): this { + divider(value: DividerOptions | undefined): this { return this } - public gradientHeight(value: Dimension | undefined): this { + gradientHeight(value: Dimension | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + digitalCrownSensitivity(value: CrownSensitivity | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/textTimer.ets b/arkoala-arkts/arkui/generated/component/textTimer.ets index 7585c3757..cf44690a3 100644 --- a/arkoala-arkts/arkui/generated/component/textTimer.ets +++ b/arkoala-arkts/arkui/generated/component/textTimer.ets @@ -27,7 +27,7 @@ import { PeerNode } from "./../PeerNode" import { ResourceColor, Length, ResourceStr } from "./units" import { Color, FontStyle, FontWeight } from "./enums" import { Resource } from "global.resource" -import { ContentModifier, AttributeModifier, hookTextTimerContentModifier, AttributeUpdater, extractors } from "#handwritten" +import { ContentModifier, AttributeModifier, hookTextTimerContentModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" @@ -319,31 +319,31 @@ export class ArkTextTimerStyle extends ArkCommonMethodStyle implements TextTimer textShadow_value?: ShadowOptions | Array | undefined contentModifier_value?: ContentModifier | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public format(value: string | undefined): this { + format(value: string | undefined): this { return this } - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public fontSize(value: Length | undefined): this { + fontSize(value: Length | undefined): this { return this } - public fontStyle(value: FontStyle | undefined): this { + fontStyle(value: FontStyle | undefined): this { return this } - public fontWeight(value: number | FontWeight | ResourceStr | undefined): this { + fontWeight(value: number | FontWeight | ResourceStr | undefined): this { return this } - public fontFamily(value: ResourceStr | undefined): this { + fontFamily(value: ResourceStr | undefined): this { return this } - public onTimer(value: ((utc: number,elapsedTime: number) => void) | undefined): this { + onTimer(value: ((utc: number,elapsedTime: number) => void) | undefined): this { return this } - public textShadow(value: ShadowOptions | Array | undefined): this { + textShadow(value: ShadowOptions | Array | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/timePicker.ets b/arkoala-arkts/arkui/generated/component/timePicker.ets index 5d234beff..01ff9daf8 100644 --- a/arkoala-arkts/arkui/generated/component/timePicker.ets +++ b/arkoala-arkts/arkui/generated/component/timePicker.ets @@ -25,7 +25,7 @@ import { intl_DateTimeOptions_serializer, intl } from "./../framework/ohos.intl" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { CrownSensitivity, Color } from "./enums" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" @@ -280,37 +280,37 @@ export class ArkTimePickerStyle extends ArkCommonMethodStyle implements TimePick digitalCrownSensitivity_value?: CrownSensitivity | undefined enableCascade_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public useMilitaryTime(value: boolean | undefined): this { + useMilitaryTime(value: boolean | undefined): this { return this } - public loop(value: boolean | undefined): this { + loop(value: boolean | undefined): this { return this } - public disappearTextStyle(value: PickerTextStyle | undefined): this { + disappearTextStyle(value: PickerTextStyle | undefined): this { return this } - public textStyle(value: PickerTextStyle | undefined): this { + textStyle(value: PickerTextStyle | undefined): this { return this } - public selectedTextStyle(value: PickerTextStyle | undefined): this { + selectedTextStyle(value: PickerTextStyle | undefined): this { return this } - public dateTimeOptions(value: intl.DateTimeOptions | undefined): this { + dateTimeOptions(value: intl.DateTimeOptions | undefined): this { return this } - public onChange(value: OnTimePickerChangeCallback | undefined): this { + onChange(value: OnTimePickerChangeCallback | undefined): this { return this } - public onEnterSelectedArea(value: ((value0: TimePickerResult) => void) | undefined): this { + onEnterSelectedArea(value: ((value0: TimePickerResult) => void) | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + digitalCrownSensitivity(value: CrownSensitivity | undefined): this { return this } - public enableCascade(value: boolean | undefined): this { + enableCascade(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/toggle.ets b/arkoala-arkts/arkui/generated/component/toggle.ets index 96c54fa1a..b1c92b432 100644 --- a/arkoala-arkts/arkui/generated/component/toggle.ets +++ b/arkoala-arkts/arkui/generated/component/toggle.ets @@ -23,7 +23,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, CommonConfiguration, Bindable, ArkCommonMethodComponent, ArkCommonMethodStyle, Bindable_Boolean_serializer } from "./common" -import { ContentModifier, AttributeModifier, hookToggleContentModifier, AttributeUpdater, extractors } from "#handwritten" +import { ContentModifier, AttributeModifier, hookToggleContentModifier, AttributeUpdater } from "#handwritten" import { ResourceColor } from "./units" import { Color } from "./enums" import { Resource } from "global.resource" @@ -180,19 +180,19 @@ export class ArkToggleStyle extends ArkCommonMethodStyle implements ToggleAttrib switchPointColor_value?: ResourceColor | undefined switchStyle_value?: SwitchStyle | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onChange(value: ((value0: boolean) => void) | undefined): this { + onChange(value: ((value0: boolean) => void) | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } - public selectedColor(value: ResourceColor | undefined): this { + selectedColor(value: ResourceColor | undefined): this { return this } - public switchPointColor(value: ResourceColor | undefined): this { + switchPointColor(value: ResourceColor | undefined): this { return this } - public switchStyle(value: SwitchStyle | undefined): this { + switchStyle(value: SwitchStyle | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/toolbar.ets b/arkoala-arkts/arkui/generated/component/toolbar.ets new file mode 100644 index 000000000..f6af67cbb --- /dev/null +++ b/arkoala-arkts/arkui/generated/component/toolbar.ets @@ -0,0 +1,135 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { SerializerBase, DeserializerBase, nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, NativeBuffer, CallbackResource, InteropNativeModule, Tags, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" +import { int32, int64, float32, unsafeCast } from "@koalaui/common" +import { ComponentBase } from "./../ComponentBase" +import { PeerNode } from "./../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" +import { CallbackKind } from "./../framework/peers/CallbackKind" +import { CallbackTransformer } from "./../CallbackTransformer" +import { memo, memo_stable } from "@koalaui/runtime/annotations" +import { ComponentBuilder, Builder } from "@koalaui/builderLambda" +import { AttributeModifier, AttributeUpdater } from "#handwritten" +import { NodeAttach, remember } from "@koalaui/runtime" +export class ArkToolBarItemPeer extends PeerNode { + protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { + super(peerPtr, id, name, flags) + } + public static create(component?: ComponentBase, flags: int32 = 0): ArkToolBarItemPeer { + const peerId = PeerNode.nextId() + const _peerPtr = ArkUIGeneratedNativeModule._ToolBarItem_construct(peerId, flags) + const _peer = new ArkToolBarItemPeer(_peerPtr, peerId, 'ToolBarItem', flags) + component?.setPeer(_peer) + return _peer + } + setToolBarItemOptionsAttribute(options?: ToolBarItemOptions): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (options !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const optionsTmpValue = options! + ToolBarItemOptions_serializer.write(thisSerializer, optionsTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._ToolBarItemInterface_setToolBarItemOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } +} +export enum ToolBarItemPlacement { + TOP_BAR_LEADING = 0, + TOP_BAR_TRAILING = 1 +} +export interface ToolBarItemOptions { + placement?: ToolBarItemPlacement; +} +export interface ToolBarItemAttribute { + attributeModifier(value: AttributeModifier | undefined): this { + throw new Error("Unimplemented method attributeModifier") + } +} +export class ArkToolBarItemStyle implements ToolBarItemAttribute { + public attributeModifier(value: AttributeModifier | undefined): this { + throw new Error("Not implemented") + } +} + +export class ArkToolBarItemComponent extends ComponentBase implements ToolBarItemAttribute { + getPeer(): ArkToolBarItemPeer { + return (this.peer as ArkToolBarItemPeer) + } + public setToolBarItemOptions(options?: ToolBarItemOptions): this { + if (this.checkPriority("setToolBarItemOptions")) { + const options_casted = options as (ToolBarItemOptions | undefined) + this.getPeer()?.setToolBarItemOptionsAttribute(options_casted) + return this + } + return this + } + public attributeModifier(value: AttributeModifier | undefined): this { + return this + } + public applyAttributesFinish(): void { + // we call this function outside of class, so need to make it public + super.applyAttributesFinish() + } +} + +@memo +export function ToolBarItem( + @memo + style: ((attributes: ToolBarItemAttribute) => void) | undefined, + options?: ToolBarItemOptions, + @memo + content_?: () => void, +): void { + const receiver = remember((): ArkToolBarItemComponent => { + return new ArkToolBarItemComponent() + }) + NodeAttach((): ArkToolBarItemPeer => ArkToolBarItemPeer.create(receiver), (_: ArkToolBarItemPeer): void => { + receiver.setToolBarItemOptions(options) + style?.(receiver) + content_?.() + receiver.applyAttributesFinish() + }) +} + +export class ToolBarItemOptions_serializer { + public static write(buffer: SerializerBase, value: ToolBarItemOptions): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForPlacement = value.placement + if (valueHolderForPlacement !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForPlacementTmpValue = (valueHolderForPlacement as ToolBarItemPlacement) + valueSerializer.writeInt32(TypeChecker.ToolBarItemPlacement_ToNumeric(valueHolderForPlacementTmpValue)) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + } + public static read(buffer: DeserializerBase): ToolBarItemOptions { + let valueDeserializer : DeserializerBase = buffer + const placementTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let placementTmpBuf : ToolBarItemPlacement | undefined + if ((placementTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + placementTmpBuf = TypeChecker.ToolBarItemPlacement_FromNumeric(valueDeserializer.readInt32()) + } + const placementTmpResult : ToolBarItemPlacement | undefined = placementTmpBuf + let value : ToolBarItemOptions = ({placement: placementTmpResult} as ToolBarItemOptions) + return value + } +} diff --git a/arkoala-arkts/arkui/generated/component/uiExtensionComponent.ets b/arkoala-arkts/arkui/generated/component/uiExtensionComponent.ets index 7ff774a80..7a3988481 100644 --- a/arkoala-arkts/arkui/generated/component/uiExtensionComponent.ets +++ b/arkoala-arkts/arkui/generated/component/uiExtensionComponent.ets @@ -17,6 +17,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { SerializerBase, DeserializerBase, Finalizable, runtimeType, RuntimeType, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, nullptr, KInt, KBoolean, KStringPtr, CallbackResource, InteropNativeModule, Tags, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" +import { RecordData } from "./pluginComponent" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./../CallbackTransformer" @@ -25,19 +26,19 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkCommonMethodPeer, CommonMethod, TerminationInfo, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { ErrorCallback, BusinessError } from "./../framework/ohos.base" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { ComponentContent, ComponentContent_serializer } from "./../ComponentContent" import { NodeAttach, remember } from "@koalaui/runtime" export interface UIExtensionProxy { - send(data: Map): void - sendSync(data: Map): Map - onAsyncReceiverRegister(callback_: ((value0: UIExtensionProxy) => void)): void - onSyncReceiverRegister(callback_: ((value0: UIExtensionProxy) => void)): void - offAsyncReceiverRegister(callback_: ((value0: UIExtensionProxy) => void) | undefined): void - offSyncReceiverRegister(callback_: ((value0: UIExtensionProxy) => void) | undefined): void + send(data: Map): void + sendSync(data: Map): Map + onAsyncReceiverRegisterAsyncReceiverRegister(callback_: ((value0: UIExtensionProxy) => void)): void + onSyncReceiverRegisterSyncReceiverRegister(callback_: ((value0: UIExtensionProxy) => void)): void + offAsyncReceiverRegisterAsyncReceiverRegister(callback_: ((value0: UIExtensionProxy) => void) | undefined): void + offSyncReceiverRegisterSyncReceiverRegister(callback_: ((value0: UIExtensionProxy) => void) | undefined): void } export class UIExtensionProxyInternal implements MaterializedBase,UIExtensionProxy { peer?: Finalizable | undefined = undefined @@ -60,89 +61,112 @@ export class UIExtensionProxyInternal implements MaterializedBase,UIExtensionPro public static fromPtr(ptr: KPointer): UIExtensionProxyInternal { return new UIExtensionProxyInternal(ptr) } - public send(data: Map): void { - const data_casted = data as (Map) + public send(data: Map): void { + const data_casted = data as (Map) this.send_serialize(data_casted) return } - public sendSync(data: Map): Map { - const data_casted = data as (Map) + public sendSync(data: Map): Map { + const data_casted = data as (Map) return this.sendSync_serialize(data_casted) } - public onAsyncReceiverRegister(callback_: ((value0: UIExtensionProxy) => void)): void { + public onAsyncReceiverRegisterAsyncReceiverRegister(callback_: ((value0: UIExtensionProxy) => void)): void { const callback__casted = callback_ as (((value0: UIExtensionProxy) => void)) - this.onAsyncReceiverRegister_serialize(callback__casted) + this.onAsyncReceiverRegisterAsyncReceiverRegister_serialize(callback__casted) return } - public onSyncReceiverRegister(callback_: ((value0: UIExtensionProxy) => void)): void { + public onSyncReceiverRegisterSyncReceiverRegister(callback_: ((value0: UIExtensionProxy) => void)): void { const callback__casted = callback_ as (((value0: UIExtensionProxy) => void)) - this.onSyncReceiverRegister_serialize(callback__casted) + this.onSyncReceiverRegisterSyncReceiverRegister_serialize(callback__casted) return } - public offAsyncReceiverRegister(callback_?: ((value0: UIExtensionProxy) => void)): void { + public offAsyncReceiverRegisterAsyncReceiverRegister(callback_?: ((value0: UIExtensionProxy) => void)): void { const callback__casted = callback_ as (((value0: UIExtensionProxy) => void) | undefined) - this.offAsyncReceiverRegister_serialize(callback__casted) + this.offAsyncReceiverRegisterAsyncReceiverRegister_serialize(callback__casted) return } - public offSyncReceiverRegister(callback_?: ((value0: UIExtensionProxy) => void)): void { + public offSyncReceiverRegisterSyncReceiverRegister(callback_?: ((value0: UIExtensionProxy) => void)): void { const callback__casted = callback_ as (((value0: UIExtensionProxy) => void) | undefined) - this.offSyncReceiverRegister_serialize(callback__casted) + this.offSyncReceiverRegisterSyncReceiverRegister_serialize(callback__casted) return } - on(type: string, callback_: ((value0: UIExtensionProxy) => void)): void { + onAsyncReceiverRegister(type: string, callback_: ((value0: UIExtensionProxy) => void)): void { throw new Error("Improve") } - off(type: string, callback_: ((value0: UIExtensionProxy) => void)): void { + onSyncReceiverRegister(type: string, callback_: ((value0: UIExtensionProxy) => void)): void { throw new Error("Improve") } - private send_serialize(data: Map): void { + offAsyncReceiverRegister(type: string, callback_: ((value0: UIExtensionProxy) => void)): void { + throw new Error("Improve") + } + offSyncReceiverRegister(type: string, callback_: ((value0: UIExtensionProxy) => void)): void { + throw new Error("Improve") + } + private send_serialize(data: Map): void { const thisSerializer : SerializerBase = SerializerBase.hold() thisSerializer.writeInt32((data.size).toInt()) for (const pair of data) { const dataKeyVar = pair[0] const dataValueVar = pair[1] thisSerializer.writeString(dataKeyVar) - thisSerializer.holdAndWriteObject(dataValueVar) + if (dataValueVar !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const dataValueVarTmpValue = dataValueVar! + thisSerializer.holdAndWriteObject(dataValueVarTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } } ArkUIGeneratedNativeModule._UIExtensionProxy_send(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - private sendSync_serialize(data: Map): Map { + private sendSync_serialize(data: Map): Map { const thisSerializer : SerializerBase = SerializerBase.hold() thisSerializer.writeInt32((data.size).toInt()) for (const pair of data) { const dataKeyVar = pair[0] const dataValueVar = pair[1] thisSerializer.writeString(dataKeyVar) - thisSerializer.holdAndWriteObject(dataValueVar) + if (dataValueVar !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const dataValueVarTmpValue = dataValueVar! + thisSerializer.holdAndWriteObject(dataValueVarTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } } const retval = ArkUIGeneratedNativeModule._UIExtensionProxy_sendSync(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() let retvalDeserializer : DeserializerBase = new DeserializerBase(retval, retval.length) const bufferSizeVar : int32 = retvalDeserializer.readInt32() - let buffer : Map = new Map() + let buffer : Map = new Map() // TODO: TS map resize for (let bufferIVar = 0; bufferIVar < bufferSizeVar; bufferIVar++) { const bufferKeyVar : string = (retvalDeserializer.readString() as string) - const bufferValueVar : Object = (retvalDeserializer.readObject() as object) + const bufferValueVarTempBuf_runtimeType = retvalDeserializer.readInt8().toInt() + let bufferValueVarTempBuf : Object | undefined + if ((bufferValueVarTempBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + bufferValueVarTempBuf = (retvalDeserializer.readObject() as object) + } + const bufferValueVar : RecordData = bufferValueVarTempBuf buffer.set(bufferKeyVar, bufferValueVar) } - const returnResult : Map = buffer + const returnResult : Map = buffer return returnResult } - private onAsyncReceiverRegister_serialize(callback_: ((value0: UIExtensionProxy) => void)): void { + private onAsyncReceiverRegisterAsyncReceiverRegister_serialize(callback_: ((value0: UIExtensionProxy) => void)): void { const thisSerializer : SerializerBase = SerializerBase.hold() thisSerializer.holdAndWriteCallback(callback_) - ArkUIGeneratedNativeModule._UIExtensionProxy_onAsyncReceiverRegister(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._UIExtensionProxy_onAsyncReceiverRegisterAsyncReceiverRegister(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - private onSyncReceiverRegister_serialize(callback_: ((value0: UIExtensionProxy) => void)): void { + private onSyncReceiverRegisterSyncReceiverRegister_serialize(callback_: ((value0: UIExtensionProxy) => void)): void { const thisSerializer : SerializerBase = SerializerBase.hold() thisSerializer.holdAndWriteCallback(callback_) - ArkUIGeneratedNativeModule._UIExtensionProxy_onSyncReceiverRegister(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._UIExtensionProxy_onSyncReceiverRegisterSyncReceiverRegister(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - private offAsyncReceiverRegister_serialize(callback_?: ((value0: UIExtensionProxy) => void)): void { + private offAsyncReceiverRegisterAsyncReceiverRegister_serialize(callback_?: ((value0: UIExtensionProxy) => void)): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (callback_ !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) @@ -151,10 +175,10 @@ export class UIExtensionProxyInternal implements MaterializedBase,UIExtensionPro } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } - ArkUIGeneratedNativeModule._UIExtensionProxy_offAsyncReceiverRegister(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._UIExtensionProxy_offAsyncReceiverRegisterAsyncReceiverRegister(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - private offSyncReceiverRegister_serialize(callback_?: ((value0: UIExtensionProxy) => void)): void { + private offSyncReceiverRegisterSyncReceiverRegister_serialize(callback_?: ((value0: UIExtensionProxy) => void)): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (callback_ !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) @@ -163,7 +187,7 @@ export class UIExtensionProxyInternal implements MaterializedBase,UIExtensionPro } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } - ArkUIGeneratedNativeModule._UIExtensionProxy_offSyncReceiverRegister(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._UIExtensionProxy_offSyncReceiverRegisterSyncReceiverRegister(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } } @@ -203,7 +227,7 @@ export class ArkUIExtensionComponentPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._UIExtensionComponentAttribute_setOnRemoteReady(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setOnReceiveAttribute(value: ((value0: Map) => void) | undefined): void { + setOnReceiveAttribute(value: ((value0: Map) => void) | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) @@ -267,12 +291,12 @@ export interface UIExtensionOptions { dpiFollowStrategy?: DpiFollowStrategy; windowModeFollowStrategy?: WindowModeFollowStrategy; } -export type ReceiveCallback = ((value0: Map) => void); +export type ReceiveCallback = ((value0: Map) => void); export interface UIExtensionComponentAttribute extends CommonMethod { onRemoteReady(value: ((value0: UIExtensionProxy) => void) | undefined): this { throw new Error("Unimplemented method onRemoteReady") } - onReceive(value: ((value0: Map) => void) | undefined): this { + onReceive(value: ((value0: Map) => void) | undefined): this { throw new Error("Unimplemented method onReceive") } onError(value: ErrorCallback | undefined): this { @@ -290,24 +314,24 @@ export interface UIExtensionComponentAttribute extends CommonMethod { } export class ArkUIExtensionComponentStyle extends ArkCommonMethodStyle implements UIExtensionComponentAttribute { onRemoteReady_value?: ((value0: UIExtensionProxy) => void) | undefined - onReceive_value?: ((value0: Map) => void) | undefined + onReceive_value?: ((value0: Map) => void) | undefined onError_value?: ErrorCallback | undefined onTerminated_value?: ((value0: TerminationInfo) => void) | undefined onDrawReady_value?: (() => void) | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onRemoteReady(value: ((value0: UIExtensionProxy) => void) | undefined): this { + onRemoteReady(value: ((value0: UIExtensionProxy) => void) | undefined): this { return this } - public onReceive(value: ((value0: Map) => void) | undefined): this { + onReceive(value: ((value0: Map) => void) | undefined): this { return this } - public onError(value: ErrorCallback | undefined): this { + onError(value: ErrorCallback | undefined): this { return this } - public onTerminated(value: ((value0: TerminationInfo) => void) | undefined): this { + onTerminated(value: ((value0: TerminationInfo) => void) | undefined): this { return this } - public onDrawReady(value: (() => void) | undefined): this { + onDrawReady(value: (() => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -336,9 +360,9 @@ export class ArkUIExtensionComponentComponent extends ArkCommonMethodComponent i } return this } - public onReceive(value: ((value0: Map) => void) | undefined): this { + public onReceive(value: ((value0: Map) => void) | undefined): this { if (this.checkPriority("onReceive")) { - const value_casted = value as (((value0: Map) => void) | undefined) + const value_casted = value as (((value0: Map) => void) | undefined) this.getPeer()?.setOnReceiveAttribute(value_casted) return this } diff --git a/arkoala-arkts/arkui/generated/component/units.ets b/arkoala-arkts/arkui/generated/component/units.ets index b44abef22..45b730a6c 100644 --- a/arkoala-arkts/arkui/generated/component/units.ets +++ b/arkoala-arkts/arkui/generated/component/units.ets @@ -26,7 +26,6 @@ import { Resource } from "global.resource" import { LengthMetrics, LengthMetricsUnit, ColorMetrics, LengthMetrics_serializer } from "./../Graphics" import { Color, BorderStyle, FontWeight, FontStyle, DividerMode } from "./enums" import { OutlineStyle } from "./common" -import { extractors } from "#handwritten" import { Resource_serializer } from "./../framework/resource" export class ColorFilterInternal { public static fromPtr(ptr: KPointer): ColorFilter { diff --git a/arkoala-arkts/arkui/generated/component/video.ets b/arkoala-arkts/arkui/generated/component/video.ets index ad22368fa..a92ceef6a 100644 --- a/arkoala-arkts/arkui/generated/component/video.ets +++ b/arkoala-arkts/arkui/generated/component/video.ets @@ -16,25 +16,25 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! +import { SerializerBase, DeserializerBase, Finalizable, runtimeType, RuntimeType, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, nullptr, KInt, KBoolean, KStringPtr, CallbackResource, InteropNativeModule, Tags, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { Finalizable, runtimeType, RuntimeType, SerializerBase, DeserializerBase, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, nullptr, KInt, KBoolean, KStringPtr, CallbackResource, InteropNativeModule, Tags, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./../CallbackTransformer" import { ImageAnalyzerConfig_serializer, ImageAnalyzerConfig, ImageAIOptions, ImageAIOptions_serializer } from "./imageCommon" -import { ColorMetrics_serializer, ColorMetrics } from "./../Graphics" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { ImageFit } from "./enums" import { VoidCallback } from "./units" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, extractors, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { Resource } from "global.resource" -import { image, image_PixelMap_serializer } from "./../framework/ohos.multimedia.image" +import { image } from "@ohos.multimedia.image" import { NodeAttach, remember } from "@koalaui/runtime" import { Resource_serializer } from "./../framework/resource" +import { image_PixelMap_serializer } from "./../framework/ohos.multimedia.image" export class VideoControllerInternal { public static fromPtr(ptr: KPointer): VideoController { return new VideoController(ptr) @@ -70,11 +70,6 @@ export class VideoController implements MaterializedBase { this.stop_serialize() return } - public setCurrentTime(value: number): void { - const value_casted = value as (number) - this.setCurrentTime0_serialize(value_casted) - return - } public requestFullscreen(value: boolean): void { const value_casted = value as (boolean) this.requestFullscreen_serialize(value_casted) @@ -84,16 +79,22 @@ export class VideoController implements MaterializedBase { this.exitFullscreen_serialize() return } - public setCurrentTime(value: number, seekMode: SeekMode): void { - const value_casted = value as (number) + public setCurrentTimeDefault(value: double): void { + const value_casted = value as (double) + this.setCurrentTimeDefault_serialize(value_casted) + return + } + public setCurrentTimeWithMode(value: double, seekMode: SeekMode): void { + const value_casted = value as (double) const seekMode_casted = seekMode as (SeekMode) - this.setCurrentTime1_serialize(value_casted, seekMode_casted) + this.setCurrentTimeWithMode_serialize(value_casted, seekMode_casted) return } public reset(): void { this.reset_serialize() return } + overload setCurrentTime { setCurrentTimeDefault, setCurrentTimeWithMode } private start_serialize(): void { ArkUIGeneratedNativeModule._VideoController_start(this.peer!.ptr) } @@ -103,17 +104,23 @@ export class VideoController implements MaterializedBase { private stop_serialize(): void { ArkUIGeneratedNativeModule._VideoController_stop(this.peer!.ptr) } - private setCurrentTime0_serialize(value: number): void { - ArkUIGeneratedNativeModule._VideoController_setCurrentTime0(this.peer!.ptr, value) - } private requestFullscreen_serialize(value: boolean): void { ArkUIGeneratedNativeModule._VideoController_requestFullscreen(this.peer!.ptr, value ? 1 : 0) } private exitFullscreen_serialize(): void { ArkUIGeneratedNativeModule._VideoController_exitFullscreen(this.peer!.ptr) } - private setCurrentTime1_serialize(value: number, seekMode: SeekMode): void { - ArkUIGeneratedNativeModule._VideoController_setCurrentTime1(this.peer!.ptr, value, TypeChecker.SeekMode_ToNumeric(seekMode)) + private setCurrentTimeDefault_serialize(value: double): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + thisSerializer.writeFloat64(value) + ArkUIGeneratedNativeModule._VideoController_setCurrentTimeDefault(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private setCurrentTimeWithMode_serialize(value: double, seekMode: SeekMode): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + thisSerializer.writeFloat64(value) + ArkUIGeneratedNativeModule._VideoController_setCurrentTimeWithMode(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length(), TypeChecker.SeekMode_ToNumeric(seekMode)) + thisSerializer.release() } private reset_serialize(): void { ArkUIGeneratedNativeModule._VideoController_reset(this.peer!.ptr) @@ -304,7 +311,7 @@ export class ArkVideoPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._VideoAttribute_setOnError(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setOnStopAttribute(value: (() => void) | undefined): void { + setOnStopAttribute(value: VoidCallback | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) @@ -340,18 +347,6 @@ export class ArkVideoPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._VideoAttribute_setAnalyzerConfig(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setSurfaceBackgroundColorAttribute(value: ColorMetrics | undefined): void { - const thisSerializer : SerializerBase = SerializerBase.hold() - if (value !== undefined) { - thisSerializer.writeInt8(RuntimeType.OBJECT) - const valueTmpValue = value! - ColorMetrics_serializer.write(thisSerializer, valueTmpValue) - } else { - thisSerializer.writeInt8(RuntimeType.UNDEFINED) - } - ArkUIGeneratedNativeModule._VideoAttribute_setSurfaceBackgroundColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } setEnableShortcutKeyAttribute(value: boolean | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { @@ -391,17 +386,17 @@ export interface FullscreenInfo { fullscreen: boolean; } export interface PreparedInfo { - duration: number; + duration: int32; } export interface PlaybackInfo { - time: number; + time: int32; } export interface PosterOptions { showFirstFrame?: boolean; } export interface VideoOptions { src?: string | Resource; - currentProgressRate?: number | string | PlaybackSpeed; + currentProgressRate?: double | string | PlaybackSpeed; previewUri?: string | image.PixelMap | Resource; controller?: VideoController; imageAIOptions?: ImageAIOptions; @@ -450,7 +445,7 @@ export interface VideoAttribute extends CommonMethod { onError(value: (() => void) | undefined): this { throw new Error("Unimplemented method onError") } - onStop(value: (() => void) | undefined): this { + onStop(value: VoidCallback | undefined): this { throw new Error("Unimplemented method onStop") } enableAnalyzer(value: boolean | undefined): this { @@ -459,9 +454,6 @@ export interface VideoAttribute extends CommonMethod { analyzerConfig(value: ImageAnalyzerConfig | undefined): this { throw new Error("Unimplemented method analyzerConfig") } - surfaceBackgroundColor(value: ColorMetrics | undefined): this { - throw new Error("Unimplemented method surfaceBackgroundColor") - } enableShortcutKey(value: boolean | undefined): this { throw new Error("Unimplemented method enableShortcutKey") } @@ -484,67 +476,63 @@ export class ArkVideoStyle extends ArkCommonMethodStyle implements VideoAttribut onSeeked_value?: ((value0: PlaybackInfo) => void) | undefined onUpdate_value?: ((value0: PlaybackInfo) => void) | undefined onError_value?: (() => void) | undefined - onStop_value?: (() => void) | undefined + onStop_value?: VoidCallback | undefined enableAnalyzer_value?: boolean | undefined analyzerConfig_value?: ImageAnalyzerConfig | undefined - surfaceBackgroundColor_value?: ColorMetrics | undefined enableShortcutKey_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public muted(value: boolean | undefined): this { - return this - } - public autoPlay(value: boolean | undefined): this { + muted(value: boolean | undefined): this { return this } - public controls(value: boolean | undefined): this { + autoPlay(value: boolean | undefined): this { return this } - public loop(value: boolean | undefined): this { + controls(value: boolean | undefined): this { return this } - public objectFit(value: ImageFit | undefined): this { + loop(value: boolean | undefined): this { return this } - public onStart(value: VoidCallback | undefined): this { + objectFit(value: ImageFit | undefined): this { return this } - public onPause(value: VoidCallback | undefined): this { + onStart(value: VoidCallback | undefined): this { return this } - public onFinish(value: VoidCallback | undefined): this { + onPause(value: VoidCallback | undefined): this { return this } - public onFullscreenChange(value: ((value0: FullscreenInfo) => void) | undefined): this { + onFinish(value: VoidCallback | undefined): this { return this } - public onPrepared(value: ((value0: PreparedInfo) => void) | undefined): this { + onFullscreenChange(value: ((value0: FullscreenInfo) => void) | undefined): this { return this } - public onSeeking(value: ((value0: PlaybackInfo) => void) | undefined): this { + onPrepared(value: ((value0: PreparedInfo) => void) | undefined): this { return this } - public onSeeked(value: ((value0: PlaybackInfo) => void) | undefined): this { + onSeeking(value: ((value0: PlaybackInfo) => void) | undefined): this { return this } - public onUpdate(value: ((value0: PlaybackInfo) => void) | undefined): this { + onSeeked(value: ((value0: PlaybackInfo) => void) | undefined): this { return this } - public onError(value: (() => void) | undefined): this { + onUpdate(value: ((value0: PlaybackInfo) => void) | undefined): this { return this } - public onStop(value: (() => void) | undefined): this { + onError(value: (() => void) | undefined): this { return this } - public enableAnalyzer(value: boolean | undefined): this { + onStop(value: VoidCallback | undefined): this { return this } - public analyzerConfig(value: ImageAnalyzerConfig | undefined): this { + enableAnalyzer(value: boolean | undefined): this { return this } - public surfaceBackgroundColor(value: ColorMetrics | undefined): this { + analyzerConfig(value: ImageAnalyzerConfig | undefined): this { return this } - public enableShortcutKey(value: boolean | undefined): this { + enableShortcutKey(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -676,9 +664,9 @@ export class ArkVideoComponent extends ArkCommonMethodComponent implements Video } return this } - public onStop(value: (() => void) | undefined): this { + public onStop(value: VoidCallback | undefined): this { if (this.checkPriority("onStop")) { - const value_casted = value as ((() => void) | undefined) + const value_casted = value as (VoidCallback | undefined) this.getPeer()?.setOnStopAttribute(value_casted) return this } @@ -700,14 +688,6 @@ export class ArkVideoComponent extends ArkCommonMethodComponent implements Video } return this } - public surfaceBackgroundColor(value: ColorMetrics | undefined): this { - if (this.checkPriority("surfaceBackgroundColor")) { - const value_casted = value as (ColorMetrics | undefined) - this.getPeer()?.setSurfaceBackgroundColorAttribute(value_casted) - return this - } - return this - } public enableShortcutKey(value: boolean | undefined): this { if (this.checkPriority("enableShortcutKey")) { const value_casted = value as (boolean | undefined) @@ -761,11 +741,11 @@ export class PlaybackInfo_serializer { public static write(buffer: SerializerBase, value: PlaybackInfo): void { let valueSerializer : SerializerBase = buffer const valueHolderForTime = value.time - valueSerializer.writeNumber(valueHolderForTime) + valueSerializer.writeInt32(valueHolderForTime) } public static read(buffer: DeserializerBase): PlaybackInfo { let valueDeserializer : DeserializerBase = buffer - const timeTmpResult : number = (valueDeserializer.readNumber() as number) + const timeTmpResult : int32 = valueDeserializer.readInt32() let value : PlaybackInfo = ({time: timeTmpResult} as PlaybackInfo) return value } @@ -774,11 +754,11 @@ export class PreparedInfo_serializer { public static write(buffer: SerializerBase, value: PreparedInfo): void { let valueSerializer : SerializerBase = buffer const valueHolderForDuration = value.duration - valueSerializer.writeNumber(valueHolderForDuration) + valueSerializer.writeInt32(valueHolderForDuration) } public static read(buffer: DeserializerBase): PreparedInfo { let valueDeserializer : DeserializerBase = buffer - const durationTmpResult : number = (valueDeserializer.readNumber() as number) + const durationTmpResult : int32 = valueDeserializer.readInt32() let value : PreparedInfo = ({duration: durationTmpResult} as PreparedInfo) return value } @@ -841,10 +821,10 @@ export class VideoOptions_serializer { if (valueHolderForCurrentProgressRate !== undefined) { valueSerializer.writeInt8(RuntimeType.OBJECT) const valueHolderForCurrentProgressRateTmpValue = valueHolderForCurrentProgressRate! - if (valueHolderForCurrentProgressRateTmpValue instanceof number) { + if (valueHolderForCurrentProgressRateTmpValue instanceof double) { valueSerializer.writeInt8((0).toChar()) - const valueHolderForCurrentProgressRateTmpValueForIdx0 = valueHolderForCurrentProgressRateTmpValue as number - valueSerializer.writeNumber(valueHolderForCurrentProgressRateTmpValueForIdx0) + const valueHolderForCurrentProgressRateTmpValueForIdx0 = valueHolderForCurrentProgressRateTmpValue as double + valueSerializer.writeFloat64(valueHolderForCurrentProgressRateTmpValueForIdx0) } else if (valueHolderForCurrentProgressRateTmpValue instanceof string) { valueSerializer.writeInt8((1).toChar()) const valueHolderForCurrentProgressRateTmpValueForIdx1 = valueHolderForCurrentProgressRateTmpValue as string @@ -920,12 +900,12 @@ export class VideoOptions_serializer { } const srcTmpResult : string | Resource | undefined = srcTmpBuf const currentProgressRateTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() - let currentProgressRateTmpBuf : number | string | PlaybackSpeed | undefined + let currentProgressRateTmpBuf : double | string | PlaybackSpeed | undefined if ((currentProgressRateTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { const currentProgressRateTmpBuf_UnionSelector : int32 = valueDeserializer.readInt8() - let currentProgressRateTmpBuf_ : number | string | PlaybackSpeed | undefined + let currentProgressRateTmpBuf_ : double | string | PlaybackSpeed | undefined if (currentProgressRateTmpBuf_UnionSelector == (0).toChar()) { - currentProgressRateTmpBuf_ = (valueDeserializer.readNumber() as number) + currentProgressRateTmpBuf_ = valueDeserializer.readFloat64() } else if (currentProgressRateTmpBuf_UnionSelector == (1).toChar()) { currentProgressRateTmpBuf_ = (valueDeserializer.readString() as string) } else if (currentProgressRateTmpBuf_UnionSelector == (2).toChar()) { @@ -933,9 +913,9 @@ export class VideoOptions_serializer { } else { throw new Error("One of the branches for currentProgressRateTmpBuf_ has to be chosen through deserialisation.") } - currentProgressRateTmpBuf = (currentProgressRateTmpBuf_ as number | string | PlaybackSpeed) + currentProgressRateTmpBuf = (currentProgressRateTmpBuf_ as double | string | PlaybackSpeed) } - const currentProgressRateTmpResult : number | string | PlaybackSpeed | undefined = currentProgressRateTmpBuf + const currentProgressRateTmpResult : double | string | PlaybackSpeed | undefined = currentProgressRateTmpBuf const previewUriTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() let previewUriTmpBuf : string | image.PixelMap | Resource | undefined if ((previewUriTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { diff --git a/arkoala-arkts/arkui/generated/component/waterFlow.ets b/arkoala-arkts/arkui/generated/component/waterFlow.ets index 2c252cfcb..5b67d9ed8 100644 --- a/arkoala-arkts/arkui/generated/component/waterFlow.ets +++ b/arkoala-arkts/arkui/generated/component/waterFlow.ets @@ -29,7 +29,7 @@ import { Resource } from "global.resource" import { FlexDirection, ScrollSource } from "./enums" import { OnScrollFrameBeginCallback, Scroller, Scroller_serializer } from "./scroll" import { ScrollState } from "./list" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" @@ -407,40 +407,40 @@ export class ArkWaterFlowStyle extends ArkScrollableCommonMethodStyle implements onWillScroll_value?: OnWillScrollCallback | undefined onDidScroll_value?: OnScrollCallback | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public columnsTemplate(value: string | undefined): this { + columnsTemplate(value: string | undefined): this { return this } - public itemConstraintSize(value: ConstraintSizeOptions | undefined): this { + itemConstraintSize(value: ConstraintSizeOptions | undefined): this { return this } - public rowsTemplate(value: string | undefined): this { + rowsTemplate(value: string | undefined): this { return this } - public columnsGap(value: Length | undefined): this { + columnsGap(value: Length | undefined): this { return this } - public rowsGap(value: Length | undefined): this { + rowsGap(value: Length | undefined): this { return this } - public layoutDirection(value: FlexDirection | undefined): this { + layoutDirection(value: FlexDirection | undefined): this { return this } - public cachedCount(value: number | undefined): this { + cachedCount(value: number | undefined): this { return this } - public onScrollFrameBegin(value: OnScrollFrameBeginCallback | undefined): this { + onScrollFrameBegin(value: OnScrollFrameBeginCallback | undefined): this { return this } - public onScrollIndex(value: ((first: number,last: number) => void) | undefined): this { + onScrollIndex(value: ((first: number,last: number) => void) | undefined): this { return this } - public onWillScroll(value: OnWillScrollCallback | undefined): this { + onWillScroll(value: OnWillScrollCallback | undefined): this { return this } - public onDidScroll(value: OnScrollCallback | undefined): this { + onDidScroll(value: OnScrollCallback | undefined): this { return this } - public cachedCount(count: number | undefined, show: boolean | undefined): this { + cachedCount(count: number | undefined, show: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/web.ets b/arkoala-arkts/arkui/generated/component/web.ets index 350ecbedc..85f677313 100644 --- a/arkoala-arkts/arkui/generated/component/web.ets +++ b/arkoala-arkts/arkui/generated/component/web.ets @@ -17,56 +17,7009 @@ // 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, DeserializerBase, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, CallbackResource, InteropNativeModule, Tags, nullptr, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" +import { Finalizable, runtimeType, RuntimeType, SerializerBase, DeserializerBase, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, nullptr, KInt, KBoolean, KStringPtr, CallbackResource, InteropNativeModule, Tags, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./../CallbackTransformer" -import { extractors } from "#handwritten" -export class WebCookieInternal { - public static fromPtr(ptr: KPointer): WebCookie { - return new WebCookie(ptr) +import { webview, webview_WebviewController_serializer } from "./../framework/ohos.web.webview" +import { Resource_serializer } from "./../framework/resource" +import { Resource } from "global.resource" +import { NestedScrollOptions_serializer, ArkCommonMethodPeer, CommonMethod, KeyEvent, NestedScrollOptions, TouchEvent, ArkCommonMethodComponent, ArkCommonMethodStyle, TouchEvent_serializer } from "./common" +import { EditMenuOptions_serializer, EditMenuOptions, MenuType } from "./textCommon" +import { ComponentBase } from "./../ComponentBase" +import { PeerNode } from "./../PeerNode" +import { CopyOptions, NestedScrollMode } from "./enums" +import { AttributeModifier, extractors, AttributeUpdater } from "#handwritten" +import { CustomBuilder } from "./builder" +import { CallbackKind } from "./../framework/peers/CallbackKind" +import { memo, memo_stable } from "@koalaui/runtime/annotations" +import { ComponentBuilder, Builder } from "@koalaui/builderLambda" +import { Position, Position_serializer } from "./units" +import { image } from "@ohos.multimedia.image" +import { NodeAttach, remember } from "@koalaui/runtime" +import { image_PixelMap_serializer } from "./../framework/ohos.multimedia.image" +export class ClientAuthenticationHandlerInternal { + public static fromPtr(ptr: KPointer): ClientAuthenticationHandler { + return new ClientAuthenticationHandler(ptr) } } -export class WebCookie implements MaterializedBase { +export class ClientAuthenticationHandler implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } constructor(peerPtr: KPointer) { - this.peer = new Finalizable(peerPtr, WebCookie.getFinalizer()) + this.peer = new Finalizable(peerPtr, ClientAuthenticationHandler.getFinalizer()) } constructor() { - this(WebCookie.construct()) + this(ClientAuthenticationHandler.construct()) } static construct(): KPointer { - const retval = ArkUIGeneratedNativeModule._WebCookie_construct() + const retval = ArkUIGeneratedNativeModule._ClientAuthenticationHandler_construct() return retval } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._WebCookie_getFinalizer() + return ArkUIGeneratedNativeModule._ClientAuthenticationHandler_getFinalizer() } - public setCookie(): void { - this.setCookie_serialize() + public confirm(priKeyFile: string, certChainFile: string): void { + const priKeyFile_casted = priKeyFile as (string) + const certChainFile_casted = certChainFile as (string) + this.confirm0_serialize(priKeyFile_casted, certChainFile_casted) return } - public saveCookie(): void { - this.saveCookie_serialize() + public confirm(authUri: string): void { + const authUri_casted = authUri as (string) + this.confirm1_serialize(authUri_casted) return } - private setCookie_serialize(): void { - ArkUIGeneratedNativeModule._WebCookie_setCookie(this.peer!.ptr) + public cancel(): void { + this.cancel_serialize() + return } - private saveCookie_serialize(): void { - ArkUIGeneratedNativeModule._WebCookie_saveCookie(this.peer!.ptr) + public ignore(): void { + this.ignore_serialize() + return + } + private confirm0_serialize(priKeyFile: string, certChainFile: string): void { + ArkUIGeneratedNativeModule._ClientAuthenticationHandler_confirm0(this.peer!.ptr, priKeyFile, certChainFile) + } + private confirm1_serialize(authUri: string): void { + ArkUIGeneratedNativeModule._ClientAuthenticationHandler_confirm1(this.peer!.ptr, authUri) + } + private cancel_serialize(): void { + ArkUIGeneratedNativeModule._ClientAuthenticationHandler_cancel(this.peer!.ptr) + } + private ignore_serialize(): void { + ArkUIGeneratedNativeModule._ClientAuthenticationHandler_ignore(this.peer!.ptr) } } -export class WebCookie_serializer { - public static write(buffer: SerializerBase, value: WebCookie): void { - let valueSerializer : SerializerBase = buffer - valueSerializer.writePointer(toPeerPtr(value)) +export class ConsoleMessageInternal { + public static fromPtr(ptr: KPointer): ConsoleMessage { + return new ConsoleMessage(ptr) } - public static read(buffer: DeserializerBase): WebCookie { - let valueDeserializer : DeserializerBase = buffer - let ptr : KPointer = valueDeserializer.readPointer() - return WebCookieInternal.fromPtr(ptr) +} +export class ConsoleMessage implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, ConsoleMessage.getFinalizer()) + } + constructor() { + this(ConsoleMessage.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._ConsoleMessage_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._ConsoleMessage_getFinalizer() + } + public getMessage(): string { + return this.getMessage_serialize() + } + public getSourceId(): string { + return this.getSourceId_serialize() + } + public getLineNumber(): number { + return this.getLineNumber_serialize() + } + public getMessageLevel(): MessageLevel { + return this.getMessageLevel_serialize() + } + private getMessage_serialize(): string { + const retval = ArkUIGeneratedNativeModule._ConsoleMessage_getMessage(this.peer!.ptr) + return retval + } + private getSourceId_serialize(): string { + const retval = ArkUIGeneratedNativeModule._ConsoleMessage_getSourceId(this.peer!.ptr) + return retval + } + private getLineNumber_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ConsoleMessage_getLineNumber(this.peer!.ptr) + return retval + } + private getMessageLevel_serialize(): MessageLevel { + const retval = ArkUIGeneratedNativeModule._ConsoleMessage_getMessageLevel(this.peer!.ptr) + return TypeChecker.MessageLevel_FromNumeric(retval) + } +} +export class ControllerHandlerInternal { + public static fromPtr(ptr: KPointer): ControllerHandler { + return new ControllerHandler(ptr) + } +} +export class ControllerHandler implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, ControllerHandler.getFinalizer()) + } + constructor() { + this(ControllerHandler.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._ControllerHandler_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._ControllerHandler_getFinalizer() + } + public setWebController(controller: webview.WebviewController): void { + const controller_casted = controller as (webview.WebviewController) + this.setWebController_serialize(controller_casted) + return + } + private setWebController_serialize(controller: webview.WebviewController): void { + ArkUIGeneratedNativeModule._ControllerHandler_setWebController(this.peer!.ptr, toPeerPtr(controller)) + } +} +export class DataResubmissionHandlerInternal { + public static fromPtr(ptr: KPointer): DataResubmissionHandler { + return new DataResubmissionHandler(ptr) + } +} +export class DataResubmissionHandler implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, DataResubmissionHandler.getFinalizer()) + } + constructor() { + this(DataResubmissionHandler.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._DataResubmissionHandler_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._DataResubmissionHandler_getFinalizer() + } + public resend(): void { + this.resend_serialize() + return + } + public cancel(): void { + this.cancel_serialize() + return + } + private resend_serialize(): void { + ArkUIGeneratedNativeModule._DataResubmissionHandler_resend(this.peer!.ptr) + } + private cancel_serialize(): void { + ArkUIGeneratedNativeModule._DataResubmissionHandler_cancel(this.peer!.ptr) + } +} +export class EventResultInternal { + public static fromPtr(ptr: KPointer): EventResult { + return new EventResult(ptr) + } +} +export class EventResult implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, EventResult.getFinalizer()) + } + constructor() { + this(EventResult.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._EventResult_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._EventResult_getFinalizer() + } + public setGestureEventResult(result: boolean): void { + const result_casted = result as (boolean) + this.setGestureEventResult0_serialize(result_casted) + return + } + public setGestureEventResult(result: boolean, stopPropagation: boolean): void { + const result_casted = result as (boolean) + const stopPropagation_casted = stopPropagation as (boolean) + this.setGestureEventResult1_serialize(result_casted, stopPropagation_casted) + return + } + private setGestureEventResult0_serialize(result: boolean): void { + ArkUIGeneratedNativeModule._EventResult_setGestureEventResult0(this.peer!.ptr, result ? 1 : 0) + } + private setGestureEventResult1_serialize(result: boolean, stopPropagation: boolean): void { + ArkUIGeneratedNativeModule._EventResult_setGestureEventResult1(this.peer!.ptr, result ? 1 : 0, stopPropagation ? 1 : 0) + } +} +export class FileSelectorParamInternal { + public static fromPtr(ptr: KPointer): FileSelectorParam { + return new FileSelectorParam(ptr) + } +} +export class FileSelectorParam implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, FileSelectorParam.getFinalizer()) + } + constructor() { + this(FileSelectorParam.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._FileSelectorParam_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._FileSelectorParam_getFinalizer() + } + public getTitle(): string { + return this.getTitle_serialize() + } + public getMode(): FileSelectorMode { + return this.getMode_serialize() + } + public getAcceptType(): Array { + return this.getAcceptType_serialize() + } + public isCapture(): boolean { + return this.isCapture_serialize() + } + public getMimeTypes(): Array { + return this.getMimeTypes_serialize() + } + private getTitle_serialize(): string { + const retval = ArkUIGeneratedNativeModule._FileSelectorParam_getTitle(this.peer!.ptr) + return retval + } + private getMode_serialize(): FileSelectorMode { + const retval = ArkUIGeneratedNativeModule._FileSelectorParam_getMode(this.peer!.ptr) + return TypeChecker.FileSelectorMode_FromNumeric(retval) + } + private getAcceptType_serialize(): Array { + const retval = ArkUIGeneratedNativeModule._FileSelectorParam_getAcceptType(this.peer!.ptr) + let retvalDeserializer : DeserializerBase = new DeserializerBase(retval, retval.length) + const bufferLength : int32 = retvalDeserializer.readInt32() + let buffer : Array = new Array(bufferLength) + for (let bufferBufCounterI = 0; bufferBufCounterI < bufferLength; bufferBufCounterI++) { + buffer[bufferBufCounterI] = (retvalDeserializer.readString() as string) + } + const returnResult : Array = buffer + return returnResult + } + private isCapture_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._FileSelectorParam_isCapture(this.peer!.ptr) + return retval + } + private getMimeTypes_serialize(): Array { + const retval = ArkUIGeneratedNativeModule._FileSelectorParam_getMimeTypes(this.peer!.ptr) + let retvalDeserializer : DeserializerBase = new DeserializerBase(retval, retval.length) + const bufferLength : int32 = retvalDeserializer.readInt32() + let buffer : Array = new Array(bufferLength) + for (let bufferBufCounterI = 0; bufferBufCounterI < bufferLength; bufferBufCounterI++) { + buffer[bufferBufCounterI] = (retvalDeserializer.readString() as string) + } + const returnResult : Array = buffer + return returnResult + } +} +export class FileSelectorResultInternal { + public static fromPtr(ptr: KPointer): FileSelectorResult { + return new FileSelectorResult(ptr) + } +} +export class FileSelectorResult implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, FileSelectorResult.getFinalizer()) + } + constructor() { + this(FileSelectorResult.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._FileSelectorResult_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._FileSelectorResult_getFinalizer() + } + public handleFileList(fileList: Array): void { + const fileList_casted = fileList as (Array) + this.handleFileList_serialize(fileList_casted) + return + } + private handleFileList_serialize(fileList: Array): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + thisSerializer.writeInt32((fileList.length).toInt()) + for (let fileListCounterI = 0; fileListCounterI < fileList.length; fileListCounterI++) { + const fileListTmpElement : string = fileList[fileListCounterI] + thisSerializer.writeString(fileListTmpElement) + } + ArkUIGeneratedNativeModule._FileSelectorResult_handleFileList(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } +} +export class FullScreenExitHandlerInternal { + public static fromPtr(ptr: KPointer): FullScreenExitHandler { + return new FullScreenExitHandler(ptr) + } +} +export class FullScreenExitHandler implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, FullScreenExitHandler.getFinalizer()) + } + constructor() { + this(FullScreenExitHandler.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._FullScreenExitHandler_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._FullScreenExitHandler_getFinalizer() + } + public exitFullScreen(): void { + this.exitFullScreen_serialize() + return + } + private exitFullScreen_serialize(): void { + ArkUIGeneratedNativeModule._FullScreenExitHandler_exitFullScreen(this.peer!.ptr) + } +} +export class HttpAuthHandlerInternal { + public static fromPtr(ptr: KPointer): HttpAuthHandler { + return new HttpAuthHandler(ptr) + } +} +export class HttpAuthHandler implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, HttpAuthHandler.getFinalizer()) + } + constructor() { + this(HttpAuthHandler.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._HttpAuthHandler_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._HttpAuthHandler_getFinalizer() + } + public confirm(userName: string, password: string): boolean { + const userName_casted = userName as (string) + const password_casted = password as (string) + return this.confirm_serialize(userName_casted, password_casted) + } + public cancel(): void { + this.cancel_serialize() + return + } + public isHttpAuthInfoSaved(): boolean { + return this.isHttpAuthInfoSaved_serialize() + } + private confirm_serialize(userName: string, password: string): boolean { + const retval = ArkUIGeneratedNativeModule._HttpAuthHandler_confirm(this.peer!.ptr, userName, password) + return retval + } + private cancel_serialize(): void { + ArkUIGeneratedNativeModule._HttpAuthHandler_cancel(this.peer!.ptr) + } + private isHttpAuthInfoSaved_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._HttpAuthHandler_isHttpAuthInfoSaved(this.peer!.ptr) + return retval + } +} +export class JsGeolocationInternal { + public static fromPtr(ptr: KPointer): JsGeolocation { + return new JsGeolocation(ptr) + } +} +export class JsGeolocation implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, JsGeolocation.getFinalizer()) + } + constructor() { + this(JsGeolocation.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._JsGeolocation_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._JsGeolocation_getFinalizer() + } + public invoke(origin: string, allow: boolean, retain: boolean): void { + const origin_casted = origin as (string) + const allow_casted = allow as (boolean) + const retain_casted = retain as (boolean) + this.invoke_serialize(origin_casted, allow_casted, retain_casted) + return + } + private invoke_serialize(origin: string, allow: boolean, retain: boolean): void { + ArkUIGeneratedNativeModule._JsGeolocation_invoke(this.peer!.ptr, origin, allow ? 1 : 0, retain ? 1 : 0) + } +} +export class JsResultInternal { + public static fromPtr(ptr: KPointer): JsResult { + return new JsResult(ptr) + } +} +export class JsResult implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, JsResult.getFinalizer()) + } + constructor() { + this(JsResult.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._JsResult_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._JsResult_getFinalizer() + } + public handleCancel(): void { + this.handleCancel_serialize() + return + } + public handleConfirm(): void { + this.handleConfirm_serialize() + return + } + public handlePromptConfirm(result: string): void { + const result_casted = result as (string) + this.handlePromptConfirm_serialize(result_casted) + return + } + private handleCancel_serialize(): void { + ArkUIGeneratedNativeModule._JsResult_handleCancel(this.peer!.ptr) + } + private handleConfirm_serialize(): void { + ArkUIGeneratedNativeModule._JsResult_handleConfirm(this.peer!.ptr) + } + private handlePromptConfirm_serialize(result: string): void { + ArkUIGeneratedNativeModule._JsResult_handlePromptConfirm(this.peer!.ptr, result) + } +} +export class PermissionRequestInternal { + public static fromPtr(ptr: KPointer): PermissionRequest { + return new PermissionRequest(ptr) + } +} +export class PermissionRequest implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, PermissionRequest.getFinalizer()) + } + constructor() { + this(PermissionRequest.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._PermissionRequest_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PermissionRequest_getFinalizer() + } + public deny(): void { + this.deny_serialize() + return + } + public getOrigin(): string { + return this.getOrigin_serialize() + } + public getAccessibleResource(): Array { + return this.getAccessibleResource_serialize() + } + public grant(resources: Array): void { + const resources_casted = resources as (Array) + this.grant_serialize(resources_casted) + return + } + private deny_serialize(): void { + ArkUIGeneratedNativeModule._PermissionRequest_deny(this.peer!.ptr) + } + private getOrigin_serialize(): string { + const retval = ArkUIGeneratedNativeModule._PermissionRequest_getOrigin(this.peer!.ptr) + return retval + } + private getAccessibleResource_serialize(): Array { + const retval = ArkUIGeneratedNativeModule._PermissionRequest_getAccessibleResource(this.peer!.ptr) + let retvalDeserializer : DeserializerBase = new DeserializerBase(retval, retval.length) + const bufferLength : int32 = retvalDeserializer.readInt32() + let buffer : Array = new Array(bufferLength) + for (let bufferBufCounterI = 0; bufferBufCounterI < bufferLength; bufferBufCounterI++) { + buffer[bufferBufCounterI] = (retvalDeserializer.readString() as string) + } + const returnResult : Array = buffer + return returnResult + } + private grant_serialize(resources: Array): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + thisSerializer.writeInt32((resources.length).toInt()) + for (let resourcesCounterI = 0; resourcesCounterI < resources.length; resourcesCounterI++) { + const resourcesTmpElement : string = resources[resourcesCounterI] + thisSerializer.writeString(resourcesTmpElement) + } + ArkUIGeneratedNativeModule._PermissionRequest_grant(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } +} +export class ScreenCaptureHandlerInternal { + public static fromPtr(ptr: KPointer): ScreenCaptureHandler { + return new ScreenCaptureHandler(ptr) + } +} +export class ScreenCaptureHandler implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, ScreenCaptureHandler.getFinalizer()) + } + constructor() { + this(ScreenCaptureHandler.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._ScreenCaptureHandler_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._ScreenCaptureHandler_getFinalizer() + } + public getOrigin(): string { + return this.getOrigin_serialize() + } + public grant(config: ScreenCaptureConfig): void { + const config_casted = config as (ScreenCaptureConfig) + this.grant_serialize(config_casted) + return + } + public deny(): void { + this.deny_serialize() + return + } + private getOrigin_serialize(): string { + const retval = ArkUIGeneratedNativeModule._ScreenCaptureHandler_getOrigin(this.peer!.ptr) + return retval + } + private grant_serialize(config: ScreenCaptureConfig): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + ScreenCaptureConfig_serializer.write(thisSerializer, config) + ArkUIGeneratedNativeModule._ScreenCaptureHandler_grant(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private deny_serialize(): void { + ArkUIGeneratedNativeModule._ScreenCaptureHandler_deny(this.peer!.ptr) + } +} +export class SslErrorHandlerInternal { + public static fromPtr(ptr: KPointer): SslErrorHandler { + return new SslErrorHandler(ptr) + } +} +export class SslErrorHandler implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, SslErrorHandler.getFinalizer()) + } + constructor() { + this(SslErrorHandler.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._SslErrorHandler_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._SslErrorHandler_getFinalizer() + } + public handleConfirm(): void { + this.handleConfirm_serialize() + return + } + public handleCancel(): void { + this.handleCancel_serialize() + return + } + private handleConfirm_serialize(): void { + ArkUIGeneratedNativeModule._SslErrorHandler_handleConfirm(this.peer!.ptr) + } + private handleCancel_serialize(): void { + ArkUIGeneratedNativeModule._SslErrorHandler_handleCancel(this.peer!.ptr) + } +} +export class WebContextMenuParamInternal { + public static fromPtr(ptr: KPointer): WebContextMenuParam { + return new WebContextMenuParam(ptr) + } +} +export class WebContextMenuParam implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, WebContextMenuParam.getFinalizer()) + } + constructor() { + this(WebContextMenuParam.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._WebContextMenuParam_getFinalizer() + } + public x(): int32 { + return this.x_serialize() + } + public y(): int32 { + return this.y_serialize() + } + public getLinkUrl(): string { + return this.getLinkUrl_serialize() + } + public getUnfilteredLinkUrl(): string { + return this.getUnfilteredLinkUrl_serialize() + } + public getSourceUrl(): string { + return this.getSourceUrl_serialize() + } + public existsImageContents(): boolean { + return this.existsImageContents_serialize() + } + public getMediaType(): ContextMenuMediaType { + return this.getMediaType_serialize() + } + public getSelectionText(): string { + return this.getSelectionText_serialize() + } + public getSourceType(): ContextMenuSourceType { + return this.getSourceType_serialize() + } + public getInputFieldType(): ContextMenuInputFieldType { + return this.getInputFieldType_serialize() + } + public isEditable(): boolean { + return this.isEditable_serialize() + } + public getEditStateFlags(): int32 { + return this.getEditStateFlags_serialize() + } + public getPreviewWidth(): int32 { + return this.getPreviewWidth_serialize() + } + public getPreviewHeight(): int32 { + return this.getPreviewHeight_serialize() + } + private x_serialize(): int32 { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_x(this.peer!.ptr) + return retval + } + private y_serialize(): int32 { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_y(this.peer!.ptr) + return retval + } + private getLinkUrl_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getLinkUrl(this.peer!.ptr) + return retval + } + private getUnfilteredLinkUrl_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getUnfilteredLinkUrl(this.peer!.ptr) + return retval + } + private getSourceUrl_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getSourceUrl(this.peer!.ptr) + return retval + } + private existsImageContents_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_existsImageContents(this.peer!.ptr) + return retval + } + private getMediaType_serialize(): ContextMenuMediaType { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getMediaType(this.peer!.ptr) + return TypeChecker.ContextMenuMediaType_FromNumeric(retval) + } + private getSelectionText_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getSelectionText(this.peer!.ptr) + return retval + } + private getSourceType_serialize(): ContextMenuSourceType { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getSourceType(this.peer!.ptr) + return TypeChecker.ContextMenuSourceType_FromNumeric(retval) + } + private getInputFieldType_serialize(): ContextMenuInputFieldType { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getInputFieldType(this.peer!.ptr) + return TypeChecker.ContextMenuInputFieldType_FromNumeric(retval) + } + private isEditable_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_isEditable(this.peer!.ptr) + return retval + } + private getEditStateFlags_serialize(): int32 { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getEditStateFlags(this.peer!.ptr) + return retval + } + private getPreviewWidth_serialize(): int32 { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getPreviewWidth(this.peer!.ptr) + return retval + } + private getPreviewHeight_serialize(): int32 { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getPreviewHeight(this.peer!.ptr) + return retval + } +} +export class WebContextMenuResultInternal { + public static fromPtr(ptr: KPointer): WebContextMenuResult { + return new WebContextMenuResult(ptr) + } +} +export class WebContextMenuResult implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, WebContextMenuResult.getFinalizer()) + } + constructor() { + this(WebContextMenuResult.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._WebContextMenuResult_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._WebContextMenuResult_getFinalizer() + } + public closeContextMenu(): void { + this.closeContextMenu_serialize() + return + } + public copyImage(): void { + this.copyImage_serialize() + return + } + public copy(): void { + this.copy_serialize() + return + } + public paste(): void { + this.paste_serialize() + return + } + public cut(): void { + this.cut_serialize() + return + } + public selectAll(): void { + this.selectAll_serialize() + return + } + private closeContextMenu_serialize(): void { + ArkUIGeneratedNativeModule._WebContextMenuResult_closeContextMenu(this.peer!.ptr) + } + private copyImage_serialize(): void { + ArkUIGeneratedNativeModule._WebContextMenuResult_copyImage(this.peer!.ptr) + } + private copy_serialize(): void { + ArkUIGeneratedNativeModule._WebContextMenuResult_copy(this.peer!.ptr) + } + private paste_serialize(): void { + ArkUIGeneratedNativeModule._WebContextMenuResult_paste(this.peer!.ptr) + } + private cut_serialize(): void { + ArkUIGeneratedNativeModule._WebContextMenuResult_cut(this.peer!.ptr) + } + private selectAll_serialize(): void { + ArkUIGeneratedNativeModule._WebContextMenuResult_selectAll(this.peer!.ptr) + } +} +export class WebCookieInternal { + public static fromPtr(ptr: KPointer): WebCookie { + return new WebCookie(ptr) + } +} +export class WebCookie implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, WebCookie.getFinalizer()) + } + constructor() { + this(WebCookie.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._WebCookie_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._WebCookie_getFinalizer() + } + public setCookie(): void { + this.setCookie_serialize() + return + } + public saveCookie(): void { + this.saveCookie_serialize() + return + } + private setCookie_serialize(): void { + ArkUIGeneratedNativeModule._WebCookie_setCookie(this.peer!.ptr) + } + private saveCookie_serialize(): void { + ArkUIGeneratedNativeModule._WebCookie_saveCookie(this.peer!.ptr) + } +} +export class WebKeyboardControllerInternal { + public static fromPtr(ptr: KPointer): WebKeyboardController { + return new WebKeyboardController(ptr) + } +} +export class WebKeyboardController implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, WebKeyboardController.getFinalizer()) + } + constructor() { + this(WebKeyboardController.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._WebKeyboardController_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._WebKeyboardController_getFinalizer() + } + public insertText(text: string): void { + const text_casted = text as (string) + this.insertText_serialize(text_casted) + return + } + public deleteForward(length: int32): void { + const length_casted = length as (int32) + this.deleteForward_serialize(length_casted) + return + } + public deleteBackward(length: int32): void { + const length_casted = length as (int32) + this.deleteBackward_serialize(length_casted) + return + } + public sendFunctionKey(key: int32): void { + const key_casted = key as (int32) + this.sendFunctionKey_serialize(key_casted) + return + } + public close(): void { + this.close_serialize() + return + } + private insertText_serialize(text: string): void { + ArkUIGeneratedNativeModule._WebKeyboardController_insertText(this.peer!.ptr, text) + } + private deleteForward_serialize(length: int32): void { + ArkUIGeneratedNativeModule._WebKeyboardController_deleteForward(this.peer!.ptr, length) + } + private deleteBackward_serialize(length: int32): void { + ArkUIGeneratedNativeModule._WebKeyboardController_deleteBackward(this.peer!.ptr, length) + } + private sendFunctionKey_serialize(key: int32): void { + ArkUIGeneratedNativeModule._WebKeyboardController_sendFunctionKey(this.peer!.ptr, key) + } + private close_serialize(): void { + ArkUIGeneratedNativeModule._WebKeyboardController_close(this.peer!.ptr) + } +} +export class WebResourceErrorInternal { + public static fromPtr(ptr: KPointer): WebResourceError { + return new WebResourceError(ptr) + } +} +export class WebResourceError implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, WebResourceError.getFinalizer()) + } + constructor() { + this(WebResourceError.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._WebResourceError_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._WebResourceError_getFinalizer() + } + public getErrorInfo(): string { + return this.getErrorInfo_serialize() + } + public getErrorCode(): number { + return this.getErrorCode_serialize() + } + private getErrorInfo_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebResourceError_getErrorInfo(this.peer!.ptr) + return retval + } + private getErrorCode_serialize(): number { + const retval = ArkUIGeneratedNativeModule._WebResourceError_getErrorCode(this.peer!.ptr) + return retval + } +} +export class WebResourceRequestInternal { + public static fromPtr(ptr: KPointer): WebResourceRequest { + return new WebResourceRequest(ptr) + } +} +export class WebResourceRequest implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, WebResourceRequest.getFinalizer()) + } + constructor() { + this(WebResourceRequest.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._WebResourceRequest_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._WebResourceRequest_getFinalizer() + } + public getRequestHeader(): Array
{ + return this.getRequestHeader_serialize() + } + public getRequestUrl(): string { + return this.getRequestUrl_serialize() + } + public isRequestGesture(): boolean { + return this.isRequestGesture_serialize() + } + public isMainFrame(): boolean { + return this.isMainFrame_serialize() + } + public isRedirect(): boolean { + return this.isRedirect_serialize() + } + public getRequestMethod(): string { + return this.getRequestMethod_serialize() + } + private getRequestHeader_serialize(): Array
{ + const retval = ArkUIGeneratedNativeModule._WebResourceRequest_getRequestHeader(this.peer!.ptr) + let retvalDeserializer : DeserializerBase = new DeserializerBase(retval, retval.length) + const bufferLength : int32 = retvalDeserializer.readInt32() + let buffer : Array
= new Array
(bufferLength) + for (let bufferBufCounterI = 0; bufferBufCounterI < bufferLength; bufferBufCounterI++) { + buffer[bufferBufCounterI] = Header_serializer.read(retvalDeserializer) + } + const returnResult : Array
= buffer + return returnResult + } + private getRequestUrl_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebResourceRequest_getRequestUrl(this.peer!.ptr) + return retval + } + private isRequestGesture_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._WebResourceRequest_isRequestGesture(this.peer!.ptr) + return retval + } + private isMainFrame_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._WebResourceRequest_isMainFrame(this.peer!.ptr) + return retval + } + private isRedirect_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._WebResourceRequest_isRedirect(this.peer!.ptr) + return retval + } + private getRequestMethod_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebResourceRequest_getRequestMethod(this.peer!.ptr) + return retval + } +} +export class WebResourceResponseInternal { + public static fromPtr(ptr: KPointer): WebResourceResponse { + return new WebResourceResponse(ptr) + } +} +export class WebResourceResponse implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, WebResourceResponse.getFinalizer()) + } + constructor() { + this(WebResourceResponse.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._WebResourceResponse_getFinalizer() + } + public getResponseData(): string { + return this.getResponseData_serialize() + } + public getResponseDataEx(): string | number | ArrayBuffer | Resource | undefined { + return this.getResponseDataEx_serialize() + } + public getResponseEncoding(): string { + return this.getResponseEncoding_serialize() + } + public getResponseMimeType(): string { + return this.getResponseMimeType_serialize() + } + public getReasonMessage(): string { + return this.getReasonMessage_serialize() + } + public getResponseHeader(): Array
{ + return this.getResponseHeader_serialize() + } + public getResponseCode(): number { + return this.getResponseCode_serialize() + } + public setResponseData(data: string | number | Resource | ArrayBuffer): void { + const data_casted = data as (string | number | Resource | ArrayBuffer) + this.setResponseData_serialize(data_casted) + return + } + public setResponseEncoding(encoding: string): void { + const encoding_casted = encoding as (string) + this.setResponseEncoding_serialize(encoding_casted) + return + } + public setResponseMimeType(mimeType: string): void { + const mimeType_casted = mimeType as (string) + this.setResponseMimeType_serialize(mimeType_casted) + return + } + public setReasonMessage(reason: string): void { + const reason_casted = reason as (string) + this.setReasonMessage_serialize(reason_casted) + return + } + public setResponseHeader(header: Array
): void { + const header_casted = header as (Array
) + this.setResponseHeader_serialize(header_casted) + return + } + public setResponseCode(code: number): void { + const code_casted = code as (number) + this.setResponseCode_serialize(code_casted) + return + } + public setResponseIsReady(IsReady: boolean): void { + const IsReady_casted = IsReady as (boolean) + this.setResponseIsReady_serialize(IsReady_casted) + return + } + public getResponseIsReady(): boolean { + return this.getResponseIsReady_serialize() + } + private getResponseData_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseData(this.peer!.ptr) + return retval + } + private getResponseDataEx_serialize(): string | number | ArrayBuffer | Resource | undefined { + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseDataEx(this.peer!.ptr) + let retvalDeserializer : DeserializerBase = new DeserializerBase(retval, retval.length) + const buffer_runtimeType = retvalDeserializer.readInt8().toInt() + let buffer : string | number | ArrayBuffer | Resource | undefined + if ((buffer_runtimeType) != (RuntimeType.UNDEFINED)) { + const buffer_UnionSelector : int32 = retvalDeserializer.readInt8() + let buffer_ : string | number | ArrayBuffer | Resource | undefined + if (buffer_UnionSelector == (0).toChar()) { + buffer_ = (retvalDeserializer.readString() as string) + } else if (buffer_UnionSelector == (1).toChar()) { + buffer_ = (retvalDeserializer.readNumber() as number) + } else if (buffer_UnionSelector == (2).toChar()) { + buffer_ = (retvalDeserializer.readBuffer() as ArrayBuffer) + } else if (buffer_UnionSelector == (3).toChar()) { + buffer_ = Resource_serializer.read(retvalDeserializer) + } else { + throw new Error("One of the branches for buffer_ has to be chosen through deserialisation.") + } + buffer = (buffer_ as string | number | ArrayBuffer | Resource) + } + const returnResult : string | number | ArrayBuffer | Resource | undefined = buffer + return returnResult + } + private getResponseEncoding_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseEncoding(this.peer!.ptr) + return retval + } + private getResponseMimeType_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseMimeType(this.peer!.ptr) + return retval + } + private getReasonMessage_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getReasonMessage(this.peer!.ptr) + return retval + } + private getResponseHeader_serialize(): Array
{ + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseHeader(this.peer!.ptr) + let retvalDeserializer : DeserializerBase = new DeserializerBase(retval, retval.length) + const bufferLength : int32 = retvalDeserializer.readInt32() + let buffer : Array
= new Array
(bufferLength) + for (let bufferBufCounterI = 0; bufferBufCounterI < bufferLength; bufferBufCounterI++) { + buffer[bufferBufCounterI] = Header_serializer.read(retvalDeserializer) + } + const returnResult : Array
= buffer + return returnResult + } + private getResponseCode_serialize(): number { + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseCode(this.peer!.ptr) + return retval + } + private setResponseData_serialize(data: string | number | Resource | ArrayBuffer): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (data instanceof string) { + thisSerializer.writeInt8((0).toChar()) + const dataForIdx0 = data as string + thisSerializer.writeString(dataForIdx0) + } else if (data instanceof number) { + thisSerializer.writeInt8((1).toChar()) + const dataForIdx1 = data as number + thisSerializer.writeNumber(dataForIdx1) + } else if (data instanceof Resource) { + thisSerializer.writeInt8((2).toChar()) + const dataForIdx2 = data as Resource + Resource_serializer.write(thisSerializer, dataForIdx2) + } else if (data instanceof ArrayBuffer) { + thisSerializer.writeInt8((3).toChar()) + const dataForIdx3 = data as ArrayBuffer + thisSerializer.writeBuffer(dataForIdx3) + } + ArkUIGeneratedNativeModule._WebResourceResponse_setResponseData(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private setResponseEncoding_serialize(encoding: string): void { + ArkUIGeneratedNativeModule._WebResourceResponse_setResponseEncoding(this.peer!.ptr, encoding) + } + private setResponseMimeType_serialize(mimeType: string): void { + ArkUIGeneratedNativeModule._WebResourceResponse_setResponseMimeType(this.peer!.ptr, mimeType) + } + private setReasonMessage_serialize(reason: string): void { + ArkUIGeneratedNativeModule._WebResourceResponse_setReasonMessage(this.peer!.ptr, reason) + } + private setResponseHeader_serialize(header: Array
): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + thisSerializer.writeInt32((header.length).toInt()) + for (let headerCounterI = 0; headerCounterI < header.length; headerCounterI++) { + const headerTmpElement : Header = header[headerCounterI] + Header_serializer.write(thisSerializer, headerTmpElement) + } + ArkUIGeneratedNativeModule._WebResourceResponse_setResponseHeader(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private setResponseCode_serialize(code: number): void { + ArkUIGeneratedNativeModule._WebResourceResponse_setResponseCode(this.peer!.ptr, code) + } + private setResponseIsReady_serialize(IsReady: boolean): void { + ArkUIGeneratedNativeModule._WebResourceResponse_setResponseIsReady(this.peer!.ptr, IsReady ? 1 : 0) + } + private getResponseIsReady_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseIsReady(this.peer!.ptr) + return retval + } +} +export class ArkWebPeer extends ArkCommonMethodPeer { + protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { + super(peerPtr, id, name, flags) + } + public static create(component?: ComponentBase, flags: int32 = 0): ArkWebPeer { + const peerId = PeerNode.nextId() + const _peerPtr = ArkUIGeneratedNativeModule._Web_construct(peerId, flags) + const _peer = new ArkWebPeer(_peerPtr, peerId, 'Web', flags) + component?.setPeer(_peer) + return _peer + } + setWebOptionsAttribute(value: WebOptions): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + WebOptions_serializer.write(thisSerializer, value) + ArkUIGeneratedNativeModule._WebInterface_setWebOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setJavaScriptAccessAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setJavaScriptAccess(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setFileAccessAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setFileAccess(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnlineImageAccessAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnlineImageAccess(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setDomStorageAccessAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setDomStorageAccess(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setImageAccessAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setImageAccess(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setMixedModeAttribute(value: MixedMode | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = (value as MixedMode) + thisSerializer.writeInt32(TypeChecker.MixedMode_ToNumeric(valueTmpValue)) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setMixedMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setZoomAccessAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setZoomAccess(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setGeolocationAccessAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setGeolocationAccess(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setJavaScriptProxyAttribute(value: JavaScriptProxy | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + JavaScriptProxy_serializer.write(thisSerializer, valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setJavaScriptProxy(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setCacheModeAttribute(value: CacheMode | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = (value as CacheMode) + thisSerializer.writeInt32(TypeChecker.CacheMode_ToNumeric(valueTmpValue)) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setCacheMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setDarkModeAttribute(value: WebDarkMode | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = (value as WebDarkMode) + thisSerializer.writeInt32(TypeChecker.WebDarkMode_ToNumeric(valueTmpValue)) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setDarkMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setForceDarkAccessAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setForceDarkAccess(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setMediaOptionsAttribute(value: WebMediaOptions | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + WebMediaOptions_serializer.write(thisSerializer, valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setMediaOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOverviewModeAccessAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOverviewModeAccess(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOverScrollModeAttribute(value: OverScrollMode | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = (value as OverScrollMode) + thisSerializer.writeInt32(TypeChecker.OverScrollMode_ToNumeric(valueTmpValue)) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOverScrollMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setBlurOnKeyboardHideModeAttribute(value: BlurOnKeyboardHideMode | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = (value as BlurOnKeyboardHideMode) + thisSerializer.writeInt32(TypeChecker.BlurOnKeyboardHideMode_ToNumeric(valueTmpValue)) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setBlurOnKeyboardHideMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setTextZoomRatioAttribute(value: int32 | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeInt32(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setTextZoomRatio(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setDatabaseAccessAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setDatabaseAccess(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setInitialScaleAttribute(value: double | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeFloat64(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setInitialScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setMetaViewportAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setMetaViewport(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnPageEndAttribute(value: ((value0: OnPageEndEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnPageEnd(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnPageBeginAttribute(value: ((value0: OnPageBeginEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnPageBegin(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnProgressChangeAttribute(value: ((value0: OnProgressChangeEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnProgressChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnTitleReceiveAttribute(value: ((value0: OnTitleReceiveEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnTitleReceive(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnGeolocationHideAttribute(value: (() => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnGeolocationHide(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnGeolocationShowAttribute(value: ((value0: OnGeolocationShowEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnGeolocationShow(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnRequestSelectedAttribute(value: (() => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnRequestSelected(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnAlertAttribute(value: ((value0: OnAlertEvent) => boolean) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnAlert(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnBeforeUnloadAttribute(value: ((value0: OnBeforeUnloadEvent) => boolean) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnBeforeUnload(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnConfirmAttribute(value: ((value0: OnConfirmEvent) => boolean) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnConfirm(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnPromptAttribute(value: ((value0: OnPromptEvent) => boolean) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnPrompt(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnConsoleAttribute(value: ((value0: OnConsoleEvent) => boolean) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnConsole(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnErrorReceiveAttribute(value: ((value0: OnErrorReceiveEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnErrorReceive(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnHttpErrorReceiveAttribute(value: ((value0: OnHttpErrorReceiveEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnHttpErrorReceive(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnDownloadStartAttribute(value: ((value0: OnDownloadStartEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnDownloadStart(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnRefreshAccessedHistoryAttribute(value: ((value0: OnRefreshAccessedHistoryEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnRefreshAccessedHistory(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnRenderExitedAttribute(value: ((value0: OnRenderExitedEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnRenderExited(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnShowFileSelectorAttribute(value: ((value0: OnShowFileSelectorEvent) => boolean) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnShowFileSelector(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnResourceLoadAttribute(value: ((value0: OnResourceLoadEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnResourceLoad(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnFullScreenExitAttribute(value: (() => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnFullScreenExit(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnFullScreenEnterAttribute(value: OnFullScreenEnterCallback | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnFullScreenEnter(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnScaleChangeAttribute(value: ((value0: OnScaleChangeEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnScaleChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnHttpAuthRequestAttribute(value: ((value0: OnHttpAuthRequestEvent) => boolean) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnHttpAuthRequest(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnInterceptRequestAttribute(value: ((value0: OnInterceptRequestEvent) => WebResourceResponse) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnInterceptRequest(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnPermissionRequestAttribute(value: ((value0: OnPermissionRequestEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnPermissionRequest(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnScreenCaptureRequestAttribute(value: ((value0: OnScreenCaptureRequestEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnScreenCaptureRequest(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnContextMenuShowAttribute(value: ((value0: OnContextMenuShowEvent) => boolean) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnContextMenuShow(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnContextMenuHideAttribute(value: OnContextMenuHideCallback | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnContextMenuHide(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setMediaPlayGestureAccessAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setMediaPlayGestureAccess(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnSearchResultReceiveAttribute(value: ((value0: OnSearchResultReceiveEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnSearchResultReceive(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnScrollAttribute(value: ((value0: OnScrollEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnScroll(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnSslErrorEventReceiveAttribute(value: ((value0: OnSslErrorEventReceiveEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnSslErrorEventReceive(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnSslErrorEventAttribute(value: OnSslErrorEventCallback | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnSslErrorEvent(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnClientAuthenticationRequestAttribute(value: ((value0: OnClientAuthenticationEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnClientAuthenticationRequest(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnWindowNewAttribute(value: ((value0: OnWindowNewEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnWindowNew(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnWindowExitAttribute(value: (() => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnWindowExit(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setMultiWindowAccessAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setMultiWindowAccess(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnInterceptKeyEventAttribute(value: ((event: KeyEvent) => boolean) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnInterceptKeyEvent(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setWebStandardFontAttribute(value: string | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeString(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setWebStandardFont(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setWebSerifFontAttribute(value: string | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeString(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setWebSerifFont(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setWebSansSerifFontAttribute(value: string | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeString(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setWebSansSerifFont(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setWebFixedFontAttribute(value: string | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeString(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setWebFixedFont(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setWebFantasyFontAttribute(value: string | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeString(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setWebFantasyFont(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setWebCursiveFontAttribute(value: string | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeString(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setWebCursiveFont(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setDefaultFixedFontSizeAttribute(value: int32 | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeInt32(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setDefaultFixedFontSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setDefaultFontSizeAttribute(value: int32 | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeInt32(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setDefaultFontSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setMinFontSizeAttribute(value: int32 | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeInt32(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setMinFontSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setMinLogicalFontSizeAttribute(value: int32 | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeInt32(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setMinLogicalFontSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setDefaultTextEncodingFormatAttribute(value: string | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeString(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setDefaultTextEncodingFormat(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setForceDisplayScrollBarAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setForceDisplayScrollBar(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setBlockNetworkAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setBlockNetwork(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setHorizontalScrollBarAccessAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setHorizontalScrollBarAccess(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setVerticalScrollBarAccessAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setVerticalScrollBarAccess(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnTouchIconUrlReceivedAttribute(value: ((value0: OnTouchIconUrlReceivedEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnTouchIconUrlReceived(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnFaviconReceivedAttribute(value: ((value0: OnFaviconReceivedEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnFaviconReceived(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnPageVisibleAttribute(value: ((value0: OnPageVisibleEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnPageVisible(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnDataResubmittedAttribute(value: ((value0: OnDataResubmittedEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnDataResubmitted(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setPinchSmoothAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setPinchSmooth(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setAllowWindowOpenMethodAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setAllowWindowOpenMethod(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnAudioStateChangedAttribute(value: ((value0: OnAudioStateChangedEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnAudioStateChanged(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnFirstContentfulPaintAttribute(value: ((value0: OnFirstContentfulPaintEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnFirstContentfulPaint(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnFirstMeaningfulPaintAttribute(value: OnFirstMeaningfulPaintCallback | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnFirstMeaningfulPaint(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnLargestContentfulPaintAttribute(value: OnLargestContentfulPaintCallback | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnLargestContentfulPaint(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnLoadInterceptAttribute(value: ((value0: OnLoadInterceptEvent) => boolean) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnLoadIntercept(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnControllerAttachedAttribute(value: (() => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnControllerAttached(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnOverScrollAttribute(value: ((value0: OnOverScrollEvent) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnOverScroll(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnSafeBrowsingCheckResultAttribute(value: OnSafeBrowsingCheckResultCallback | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnSafeBrowsingCheckResult(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnNavigationEntryCommittedAttribute(value: OnNavigationEntryCommittedCallback | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnNavigationEntryCommitted(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnIntelligentTrackingPreventionResultAttribute(value: OnIntelligentTrackingPreventionCallback | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnIntelligentTrackingPreventionResult(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setJavaScriptOnDocumentStartAttribute(value: Array | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeInt32((valueTmpValue.length).toInt()) + for (let valueTmpValueCounterI = 0; valueTmpValueCounterI < valueTmpValue.length; valueTmpValueCounterI++) { + const valueTmpValueTmpElement : ScriptItem = valueTmpValue[valueTmpValueCounterI] + ScriptItem_serializer.write(thisSerializer, valueTmpValueTmpElement) + } + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setJavaScriptOnDocumentStart(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setJavaScriptOnDocumentEndAttribute(value: Array | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeInt32((valueTmpValue.length).toInt()) + for (let valueTmpValueCounterI = 0; valueTmpValueCounterI < valueTmpValue.length; valueTmpValueCounterI++) { + const valueTmpValueTmpElement : ScriptItem = valueTmpValue[valueTmpValueCounterI] + ScriptItem_serializer.write(thisSerializer, valueTmpValueTmpElement) + } + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setJavaScriptOnDocumentEnd(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setLayoutModeAttribute(value: WebLayoutMode | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = (value as WebLayoutMode) + thisSerializer.writeInt32(TypeChecker.WebLayoutMode_ToNumeric(valueTmpValue)) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setLayoutMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setNestedScrollAttribute(value: NestedScrollOptions | NestedScrollOptionsExt | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + if (valueTmpValue instanceof NestedScrollOptions) { + thisSerializer.writeInt8((0).toChar()) + const valueTmpValueForIdx0 = valueTmpValue as NestedScrollOptions + NestedScrollOptions_serializer.write(thisSerializer, valueTmpValueForIdx0) + } else if (valueTmpValue instanceof NestedScrollOptionsExt) { + thisSerializer.writeInt8((1).toChar()) + const valueTmpValueForIdx1 = valueTmpValue as NestedScrollOptionsExt + NestedScrollOptionsExt_serializer.write(thisSerializer, valueTmpValueForIdx1) + } + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setNestedScroll(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setEnableNativeEmbedModeAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setEnableNativeEmbedMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnNativeEmbedLifecycleChangeAttribute(value: ((event: NativeEmbedDataInfo) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnNativeEmbedLifecycleChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnNativeEmbedVisibilityChangeAttribute(value: OnNativeEmbedVisibilityChangeCallback | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnNativeEmbedVisibilityChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnNativeEmbedGestureEventAttribute(value: ((event: NativeEmbedTouchInfo) => void) | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnNativeEmbedGestureEvent(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setCopyOptionsAttribute(value: CopyOptions | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = (value as CopyOptions) + thisSerializer.writeInt32(TypeChecker.CopyOptions_ToNumeric(valueTmpValue)) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setCopyOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnOverrideUrlLoadingAttribute(value: OnOverrideUrlLoadingCallback | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnOverrideUrlLoading(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setTextAutosizingAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setTextAutosizing(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setEnableNativeMediaPlayerAttribute(value: NativeMediaPlayerConfig | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + NativeMediaPlayerConfig_serializer.write(thisSerializer, valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setEnableNativeMediaPlayer(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnRenderProcessNotRespondingAttribute(value: OnRenderProcessNotRespondingCallback | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnRenderProcessNotResponding(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnRenderProcessRespondingAttribute(value: OnRenderProcessRespondingCallback | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnRenderProcessResponding(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnViewportFitChangedAttribute(value: OnViewportFitChangedCallback | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnViewportFitChanged(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnInterceptKeyboardAttachAttribute(value: WebKeyboardCallback | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnInterceptKeyboardAttach(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOnAdsBlockedAttribute(value: OnAdsBlockedCallback | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.holdAndWriteCallback(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOnAdsBlocked(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setKeyboardAvoidModeAttribute(value: WebKeyboardAvoidMode | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = (value as WebKeyboardAvoidMode) + thisSerializer.writeInt32(TypeChecker.WebKeyboardAvoidMode_ToNumeric(valueTmpValue)) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setKeyboardAvoidMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setEditMenuOptionsAttribute(value: EditMenuOptions | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + EditMenuOptions_serializer.write(thisSerializer, valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setEditMenuOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setEnableHapticFeedbackAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setEnableHapticFeedback(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setOptimizeParserBudgetAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setOptimizeParserBudget(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setEnableFollowSystemFontWeightAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setEnableFollowSystemFontWeight(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setEnableWebAVSessionAttribute(value: boolean | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeBoolean(valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setEnableWebAVSession(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setRunJavaScriptOnDocumentStartAttribute(value: Array | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeInt32((valueTmpValue.length).toInt()) + for (let valueTmpValueCounterI = 0; valueTmpValueCounterI < valueTmpValue.length; valueTmpValueCounterI++) { + const valueTmpValueTmpElement : ScriptItem = valueTmpValue[valueTmpValueCounterI] + ScriptItem_serializer.write(thisSerializer, valueTmpValueTmpElement) + } + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setRunJavaScriptOnDocumentStart(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setRunJavaScriptOnDocumentEndAttribute(value: Array | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeInt32((valueTmpValue.length).toInt()) + for (let valueTmpValueCounterI = 0; valueTmpValueCounterI < valueTmpValue.length; valueTmpValueCounterI++) { + const valueTmpValueTmpElement : ScriptItem = valueTmpValue[valueTmpValueCounterI] + ScriptItem_serializer.write(thisSerializer, valueTmpValueTmpElement) + } + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setRunJavaScriptOnDocumentEnd(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setRunJavaScriptOnHeadEndAttribute(value: Array | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + thisSerializer.writeInt32((valueTmpValue.length).toInt()) + for (let valueTmpValueCounterI = 0; valueTmpValueCounterI < valueTmpValue.length; valueTmpValueCounterI++) { + const valueTmpValueTmpElement : ScriptItem = valueTmpValue[valueTmpValueCounterI] + ScriptItem_serializer.write(thisSerializer, valueTmpValueTmpElement) + } + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setRunJavaScriptOnHeadEnd(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setNativeEmbedOptionsAttribute(value: EmbedOptions | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (value !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const valueTmpValue = value! + EmbedOptions_serializer.write(thisSerializer, valueTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setNativeEmbedOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setRegisterNativeEmbedRuleAttribute(tag: string | undefined, type: string | undefined): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (tag !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const tagTmpValue = tag! + thisSerializer.writeString(tagTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + if (type !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const typeTmpValue = type! + thisSerializer.writeString(typeTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setRegisterNativeEmbedRule(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setBindSelectionMenuAttribute(elementType: WebElementType | undefined, content: CustomBuilder | undefined, responseType: WebResponseType | undefined, options?: SelectionMenuOptionsExt): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (elementType !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const elementTypeTmpValue = (elementType as WebElementType) + thisSerializer.writeInt32(TypeChecker.WebElementType_ToNumeric(elementTypeTmpValue)) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + if (content !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const contentTmpValue = content! + thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(contentTmpValue)) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + if (responseType !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const responseTypeTmpValue = (responseType as WebResponseType) + thisSerializer.writeInt32(TypeChecker.WebResponseType_ToNumeric(responseTypeTmpValue)) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + if (options !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const optionsTmpValue = options! + SelectionMenuOptionsExt_serializer.write(thisSerializer, optionsTmpValue) + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._WebAttribute_setBindSelectionMenu(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } +} +export type WebviewController = webview.WebviewController; +export type OnNavigationEntryCommittedCallback = (loadCommittedDetails: LoadCommittedDetails) => void; +export type OnSslErrorEventCallback = (sslErrorEvent: SslErrorEvent) => void; +export type OnLargestContentfulPaintCallback = (largestContentfulPaint: LargestContentfulPaint) => void; +export type OnFirstMeaningfulPaintCallback = (firstMeaningfulPaint: FirstMeaningfulPaint) => void; +export type OnOverrideUrlLoadingCallback = (webResourceRequest: WebResourceRequest) => boolean; +export type OnIntelligentTrackingPreventionCallback = (details: IntelligentTrackingPreventionDetails) => void; +export type OnNativeEmbedVisibilityChangeCallback = (nativeEmbedVisibilityInfo: NativeEmbedVisibilityInfo) => void; +export interface NativeMediaPlayerConfig { + enable: boolean; + shouldOverlay: boolean; +} +export type OnRenderProcessNotRespondingCallback = (data: RenderProcessNotRespondingData) => void; +export type OnRenderProcessRespondingCallback = () => void; +export type OnViewportFitChangedCallback = (viewportFit: ViewportFit) => void; +export type OnAdsBlockedCallback = (details: AdsBlockedDetails) => void; +export interface AdsBlockedDetails { + url: string; + adsBlocked: Array; +} +export interface WebKeyboardOptions { + useSystemKeyboard: boolean; + enterKeyType?: int32; + customKeyboard?: CustomBuilder; +} +export interface WebKeyboardCallbackInfo { + controller: WebKeyboardController; + attributes: Map; +} +export type WebKeyboardCallback = (keyboardCallbackInfo: WebKeyboardCallbackInfo) => WebKeyboardOptions; +export enum MessageLevel { + DEBUG = 0, + Debug = 0, + ERROR = 1, + Error = 1, + INFO = 2, + Info = 2, + LOG = 3, + Log = 3, + WARN = 4, + Warn = 4 +} +export enum MixedMode { + ALL = 0, + All = 0, + COMPATIBLE = 1, + Compatible = 1, + NONE = 2, + None = 2 +} +export type OnSafeBrowsingCheckResultCallback = (threatType: ThreatType) => void; +export enum HitTestType { + EDIT_TEXT = 0, + EditText = 0, + EMAIL = 1, + Email = 1, + HTTP_ANCHOR = 2, + HttpAnchor = 2, + HTTP_ANCHOR_IMG = 3, + HttpAnchorImg = 3, + IMG = 4, + Img = 4, + MAP = 5, + Map = 5, + PHONE = 6, + Phone = 6, + UNKNOWN = 7, + Unknown = 7 +} +export enum CacheMode { + DEFAULT = 0, + Default = 0, + NONE = 1, + None = 1, + ONLINE = 2, + Online = 2, + ONLY = 3, + Only = 3 +} +export enum OverScrollMode { + NEVER = 0, + ALWAYS = 1 +} +export enum BlurOnKeyboardHideMode { + SILENT = 0, + BLUR = 1 +} +export enum WebDarkMode { + OFF = 0, + Off = 0, + ON = 1, + On = 1, + AUTO = 2, + Auto = 2 +} +export enum WebCaptureMode { + HOME_SCREEN = 0 +} +export enum ThreatType { + THREAT_ILLEGAL = 0, + THREAT_FRAUD = 1, + THREAT_RISK = 2, + THREAT_WARNING = 3 +} +export interface WebMediaOptions { + resumeInterval?: int32; + audioExclusive?: boolean; + audioSessionType?: AudioSessionType; +} +export interface ScreenCaptureConfig { + captureMode: WebCaptureMode; +} +export interface FullScreenEnterEvent { + handler: FullScreenExitHandler; + videoWidth?: number; + videoHeight?: number; +} +export type OnFullScreenEnterCallback = (event: FullScreenEnterEvent) => void; +export enum RenderExitReason { + PROCESS_ABNORMAL_TERMINATION = 0, + ProcessAbnormalTermination = 0, + PROCESS_WAS_KILLED = 1, + ProcessWasKilled = 1, + PROCESS_CRASHED = 2, + ProcessCrashed = 2, + PROCESS_OOM = 3, + ProcessOom = 3, + PROCESS_EXIT_UNKNOWN = 4, + ProcessExitUnknown = 4 +} +export type OnContextMenuHideCallback = () => void; +export enum SslError { + INVALID = 0, + Invalid = 0, + HOST_MISMATCH = 1, + HostMismatch = 1, + DATE_INVALID = 2, + DateInvalid = 2, + UNTRUSTED = 3, + Untrusted = 3 +} +export enum FileSelectorMode { + FILE_OPEN_MODE = 0, + FileOpenMode = 0, + FILE_OPEN_MULTIPLE_MODE = 1, + FileOpenMultipleMode = 1, + FILE_OPEN_FOLDER_MODE = 2, + FileOpenFolderMode = 2, + FILE_SAVE_MODE = 3, + FileSaveMode = 3 +} +export enum WebLayoutMode { + NONE = 0, + FIT_CONTENT = 1 +} +export enum RenderProcessNotRespondingReason { + INPUT_TIMEOUT = 0, + NAVIGATION_COMMIT_TIMEOUT = 1 +} +export enum ProtectedResourceType { + MIDI_SYSEX = "'TYPE_MIDI_SYSEX'", + MidiSysex = "'TYPE_MIDI_SYSEX'", + VIDEO_CAPTURE = "'TYPE_VIDEO_CAPTURE'", + AUDIO_CAPTURE = "'TYPE_AUDIO_CAPTURE'", + SENSOR = "'TYPE_SENSOR'" +} +export enum ContextMenuSourceType { + NONE = 0, + None = 0, + MOUSE = 1, + Mouse = 1, + LONG_PRESS = 2, + LongPress = 2 +} +export enum ContextMenuMediaType { + NONE = 0, + None = 0, + IMAGE = 1, + Image = 1 +} +export enum ContextMenuInputFieldType { + NONE = 0, + None = 0, + PLAIN_TEXT = 1, + PlainText = 1, + PASSWORD = 2, + Password = 2, + NUMBER = 3, + Number = 3, + TELEPHONE = 4, + Telephone = 4, + OTHER = 5, + Other = 5 +} +export enum NativeEmbedStatus { + CREATE = 0, + UPDATE = 1, + DESTROY = 2, + ENTER_BFCACHE = 3, + LEAVE_BFCACHE = 4 +} +export enum ContextMenuEditStateFlags { + NONE = 0, + CAN_CUT = 1, + CAN_COPY = 2, + CAN_PASTE = 3, + CAN_SELECT_ALL = 4 +} +export enum WebNavigationType { + UNKNOWN = 0, + MAIN_FRAME_NEW_ENTRY = 1, + MAIN_FRAME_EXISTING_ENTRY = 2, + NAVIGATION_TYPE_NEW_SUBFRAME = 4, + NAVIGATION_TYPE_AUTO_SUBFRAME = 5 +} +export enum RenderMode { + ASYNC_RENDER = 0, + SYNC_RENDER = 1 +} +export enum ViewportFit { + AUTO = 0, + CONTAINS = 1, + COVER = 2 +} +export interface Header { + headerKey: string; + headerValue: string; +} +export interface WebOptions { + src: string | Resource; + controller: webview.WebviewController; + renderMode?: RenderMode; + incognitoMode?: boolean; + sharedRenderProcessToken?: string; +} +export interface ScriptItem { + script: string; + scriptRules: Array; +} +export interface LoadCommittedDetails { + isMainFrame: boolean; + isSameDocument: boolean; + didReplaceEntry: boolean; + navigationType: WebNavigationType; + url: string; +} +export interface IntelligentTrackingPreventionDetails { + host: string; + trackerHost: string; +} +export interface NativeEmbedInfo { + id?: string; + type?: string; + src?: string; + position?: Position; + width?: int32; + height?: int32; + url?: string; + tag?: string; + params?: Map; +} +export interface NativeEmbedDataInfo { + status?: NativeEmbedStatus; + surfaceId?: string; + embedId?: string; + info?: NativeEmbedInfo; +} +export interface NativeEmbedVisibilityInfo { + visibility: boolean; + embedId: string; +} +export interface NativeEmbedTouchInfo { + embedId?: string; + touchEvent?: TouchEvent; + result?: EventResult; +} +export interface FirstMeaningfulPaint { + navigationStartTime?: int64; + firstMeaningfulPaintTime?: int64; +} +export interface LargestContentfulPaint { + navigationStartTime?: int64; + largestImagePaintTime?: int64; + largestTextPaintTime?: int64; + imageBPP?: double; + largestImageLoadStartTime?: int64; + largestImageLoadEndTime?: int64; +} +export interface RenderProcessNotRespondingData { + jsStack: string; + pid: int32; + reason: RenderProcessNotRespondingReason; +} +export interface OnPageEndEvent { + url: string; +} +export interface OnPageBeginEvent { + url: string; +} +export interface OnProgressChangeEvent { + newProgress: int32; +} +export interface OnTitleReceiveEvent { + title: string; +} +export interface OnGeolocationShowEvent { + origin: string; + geolocation: JsGeolocation; +} +export interface OnAlertEvent { + url: string; + message: string; + result: JsResult; +} +export interface OnBeforeUnloadEvent { + url: string; + message: string; + result: JsResult; +} +export interface OnConfirmEvent { + url: string; + message: string; + result: JsResult; +} +export interface OnPromptEvent { + url: string; + message: string; + value: string; + result: JsResult; +} +export interface OnConsoleEvent { + message: ConsoleMessage; +} +export interface OnErrorReceiveEvent { + request: WebResourceRequest; + error: WebResourceError; +} +export interface OnHttpErrorReceiveEvent { + request: WebResourceRequest; + response: WebResourceResponse; +} +export interface OnDownloadStartEvent { + url: string; + userAgent: string; + contentDisposition: string; + mimetype: string; + contentLength: number; +} +export interface OnRefreshAccessedHistoryEvent { + url: string; + isRefreshed: boolean; +} +export interface OnRenderExitedEvent { + renderExitReason: RenderExitReason; +} +export interface OnShowFileSelectorEvent { + result: FileSelectorResult; + fileSelector: FileSelectorParam; +} +export interface OnResourceLoadEvent { + url: string; +} +export interface OnScaleChangeEvent { + oldScale: double; + newScale: double; +} +export interface OnHttpAuthRequestEvent { + handler: HttpAuthHandler; + host: string; + realm: string; +} +export interface OnInterceptRequestEvent { + request: WebResourceRequest; +} +export interface OnPermissionRequestEvent { + request: PermissionRequest; +} +export interface OnScreenCaptureRequestEvent { + handler: ScreenCaptureHandler; +} +export interface OnContextMenuShowEvent { + param: WebContextMenuParam; + result: WebContextMenuResult; +} +export interface OnSearchResultReceiveEvent { + activeMatchOrdinal: number; + numberOfMatches: number; + isDoneCounting: boolean; +} +export interface OnScrollEvent { + xOffset: double; + yOffset: double; +} +export interface OnSslErrorEventReceiveEvent { + handler: SslErrorHandler; + error: SslError; + certChainData?: Array; +} +export interface OnClientAuthenticationEvent { + handler: ClientAuthenticationHandler; + host: string; + port: number; + keyTypes: Array; + issuers: Array; +} +export interface OnWindowNewEvent { + isAlert: boolean; + isUserTrigger: boolean; + targetUrl: string; + handler: ControllerHandler; +} +export interface OnTouchIconUrlReceivedEvent { + url: string; + precomposed: boolean; +} +export interface OnFaviconReceivedEvent { + favicon: image.PixelMap; +} +export interface OnPageVisibleEvent { + url: string; +} +export interface OnDataResubmittedEvent { + handler: DataResubmissionHandler; +} +export interface OnAudioStateChangedEvent { + playing: boolean; +} +export interface OnFirstContentfulPaintEvent { + navigationStartTick: int64; + firstContentfulPaintMs: int64; +} +export interface OnLoadInterceptEvent { + data: WebResourceRequest; +} +export interface OnOverScrollEvent { + xOffset: double; + yOffset: double; +} +export interface JavaScriptProxy { + object_: Object; + name: string; + methodList: Array; + controller: webview.WebviewController; + asyncMethodList?: Array; + permission?: string; +} +export enum WebKeyboardAvoidMode { + RESIZE_VISUAL = 0, + RESIZE_CONTENT = 1, + OVERLAYS_CONTENT = 2 +} +export enum WebElementType { + IMAGE = 1 +} +export enum WebResponseType { + LONG_PRESS = 1 +} +export enum AudioSessionType { + AMBIENT = 3 +} +export interface SelectionMenuOptionsExt { + onAppear?: (() => void); + onDisappear?: (() => void); + preview?: CustomBuilder; + menuType?: MenuType; +} +export interface WebAttribute extends CommonMethod { + javaScriptAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method javaScriptAccess") + } + fileAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method fileAccess") + } + onlineImageAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method onlineImageAccess") + } + domStorageAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method domStorageAccess") + } + imageAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method imageAccess") + } + mixedMode(value: MixedMode | undefined): this { + throw new Error("Unimplemented method mixedMode") + } + zoomAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method zoomAccess") + } + geolocationAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method geolocationAccess") + } + javaScriptProxy(value: JavaScriptProxy | undefined): this { + throw new Error("Unimplemented method javaScriptProxy") + } + cacheMode(value: CacheMode | undefined): this { + throw new Error("Unimplemented method cacheMode") + } + darkMode(value: WebDarkMode | undefined): this { + throw new Error("Unimplemented method darkMode") + } + forceDarkAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method forceDarkAccess") + } + mediaOptions(value: WebMediaOptions | undefined): this { + throw new Error("Unimplemented method mediaOptions") + } + overviewModeAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method overviewModeAccess") + } + overScrollMode(value: OverScrollMode | undefined): this { + throw new Error("Unimplemented method overScrollMode") + } + blurOnKeyboardHideMode(value: BlurOnKeyboardHideMode | undefined): this { + throw new Error("Unimplemented method blurOnKeyboardHideMode") + } + textZoomRatio(value: int32 | undefined): this { + throw new Error("Unimplemented method textZoomRatio") + } + databaseAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method databaseAccess") + } + initialScale(value: double | undefined): this { + throw new Error("Unimplemented method initialScale") + } + metaViewport(value: boolean | undefined): this { + throw new Error("Unimplemented method metaViewport") + } + onPageEnd(value: ((value0: OnPageEndEvent) => void) | undefined): this { + throw new Error("Unimplemented method onPageEnd") + } + onPageBegin(value: ((value0: OnPageBeginEvent) => void) | undefined): this { + throw new Error("Unimplemented method onPageBegin") + } + onProgressChange(value: ((value0: OnProgressChangeEvent) => void) | undefined): this { + throw new Error("Unimplemented method onProgressChange") + } + onTitleReceive(value: ((value0: OnTitleReceiveEvent) => void) | undefined): this { + throw new Error("Unimplemented method onTitleReceive") + } + onGeolocationHide(value: (() => void) | undefined): this { + throw new Error("Unimplemented method onGeolocationHide") + } + onGeolocationShow(value: ((value0: OnGeolocationShowEvent) => void) | undefined): this { + throw new Error("Unimplemented method onGeolocationShow") + } + onRequestSelected(value: (() => void) | undefined): this { + throw new Error("Unimplemented method onRequestSelected") + } + onAlert(value: ((value0: OnAlertEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onAlert") + } + onBeforeUnload(value: ((value0: OnBeforeUnloadEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onBeforeUnload") + } + onConfirm(value: ((value0: OnConfirmEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onConfirm") + } + onPrompt(value: ((value0: OnPromptEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onPrompt") + } + onConsole(value: ((value0: OnConsoleEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onConsole") + } + onErrorReceive(value: ((value0: OnErrorReceiveEvent) => void) | undefined): this { + throw new Error("Unimplemented method onErrorReceive") + } + onHttpErrorReceive(value: ((value0: OnHttpErrorReceiveEvent) => void) | undefined): this { + throw new Error("Unimplemented method onHttpErrorReceive") + } + onDownloadStart(value: ((value0: OnDownloadStartEvent) => void) | undefined): this { + throw new Error("Unimplemented method onDownloadStart") + } + onRefreshAccessedHistory(value: ((value0: OnRefreshAccessedHistoryEvent) => void) | undefined): this { + throw new Error("Unimplemented method onRefreshAccessedHistory") + } + onRenderExited(value: ((value0: OnRenderExitedEvent) => void) | undefined): this { + throw new Error("Unimplemented method onRenderExited") + } + onShowFileSelector(value: ((value0: OnShowFileSelectorEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onShowFileSelector") + } + onResourceLoad(value: ((value0: OnResourceLoadEvent) => void) | undefined): this { + throw new Error("Unimplemented method onResourceLoad") + } + onFullScreenExit(value: (() => void) | undefined): this { + throw new Error("Unimplemented method onFullScreenExit") + } + onFullScreenEnter(value: OnFullScreenEnterCallback | undefined): this { + throw new Error("Unimplemented method onFullScreenEnter") + } + onScaleChange(value: ((value0: OnScaleChangeEvent) => void) | undefined): this { + throw new Error("Unimplemented method onScaleChange") + } + onHttpAuthRequest(value: ((value0: OnHttpAuthRequestEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onHttpAuthRequest") + } + onInterceptRequest(value: ((value0: OnInterceptRequestEvent) => WebResourceResponse) | undefined): this { + throw new Error("Unimplemented method onInterceptRequest") + } + onPermissionRequest(value: ((value0: OnPermissionRequestEvent) => void) | undefined): this { + throw new Error("Unimplemented method onPermissionRequest") + } + onScreenCaptureRequest(value: ((value0: OnScreenCaptureRequestEvent) => void) | undefined): this { + throw new Error("Unimplemented method onScreenCaptureRequest") + } + onContextMenuShow(value: ((value0: OnContextMenuShowEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onContextMenuShow") + } + onContextMenuHide(value: OnContextMenuHideCallback | undefined): this { + throw new Error("Unimplemented method onContextMenuHide") + } + mediaPlayGestureAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method mediaPlayGestureAccess") + } + onSearchResultReceive(value: ((value0: OnSearchResultReceiveEvent) => void) | undefined): this { + throw new Error("Unimplemented method onSearchResultReceive") + } + onScroll(value: ((value0: OnScrollEvent) => void) | undefined): this { + throw new Error("Unimplemented method onScroll") + } + onSslErrorEventReceive(value: ((value0: OnSslErrorEventReceiveEvent) => void) | undefined): this { + throw new Error("Unimplemented method onSslErrorEventReceive") + } + onSslErrorEvent(value: OnSslErrorEventCallback | undefined): this { + throw new Error("Unimplemented method onSslErrorEvent") + } + onClientAuthenticationRequest(value: ((value0: OnClientAuthenticationEvent) => void) | undefined): this { + throw new Error("Unimplemented method onClientAuthenticationRequest") + } + onWindowNew(value: ((value0: OnWindowNewEvent) => void) | undefined): this { + throw new Error("Unimplemented method onWindowNew") + } + onWindowExit(value: (() => void) | undefined): this { + throw new Error("Unimplemented method onWindowExit") + } + multiWindowAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method multiWindowAccess") + } + onInterceptKeyEvent(value: ((event: KeyEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onInterceptKeyEvent") + } + webStandardFont(value: string | undefined): this { + throw new Error("Unimplemented method webStandardFont") + } + webSerifFont(value: string | undefined): this { + throw new Error("Unimplemented method webSerifFont") + } + webSansSerifFont(value: string | undefined): this { + throw new Error("Unimplemented method webSansSerifFont") + } + webFixedFont(value: string | undefined): this { + throw new Error("Unimplemented method webFixedFont") + } + webFantasyFont(value: string | undefined): this { + throw new Error("Unimplemented method webFantasyFont") + } + webCursiveFont(value: string | undefined): this { + throw new Error("Unimplemented method webCursiveFont") + } + defaultFixedFontSize(value: int32 | undefined): this { + throw new Error("Unimplemented method defaultFixedFontSize") + } + defaultFontSize(value: int32 | undefined): this { + throw new Error("Unimplemented method defaultFontSize") + } + minFontSize(value: int32 | undefined): this { + throw new Error("Unimplemented method minFontSize") + } + minLogicalFontSize(value: int32 | undefined): this { + throw new Error("Unimplemented method minLogicalFontSize") + } + defaultTextEncodingFormat(value: string | undefined): this { + throw new Error("Unimplemented method defaultTextEncodingFormat") + } + forceDisplayScrollBar(value: boolean | undefined): this { + throw new Error("Unimplemented method forceDisplayScrollBar") + } + blockNetwork(value: boolean | undefined): this { + throw new Error("Unimplemented method blockNetwork") + } + horizontalScrollBarAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method horizontalScrollBarAccess") + } + verticalScrollBarAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method verticalScrollBarAccess") + } + onTouchIconUrlReceived(value: ((value0: OnTouchIconUrlReceivedEvent) => void) | undefined): this { + throw new Error("Unimplemented method onTouchIconUrlReceived") + } + onFaviconReceived(value: ((value0: OnFaviconReceivedEvent) => void) | undefined): this { + throw new Error("Unimplemented method onFaviconReceived") + } + onPageVisible(value: ((value0: OnPageVisibleEvent) => void) | undefined): this { + throw new Error("Unimplemented method onPageVisible") + } + onDataResubmitted(value: ((value0: OnDataResubmittedEvent) => void) | undefined): this { + throw new Error("Unimplemented method onDataResubmitted") + } + pinchSmooth(value: boolean | undefined): this { + throw new Error("Unimplemented method pinchSmooth") + } + allowWindowOpenMethod(value: boolean | undefined): this { + throw new Error("Unimplemented method allowWindowOpenMethod") + } + onAudioStateChanged(value: ((value0: OnAudioStateChangedEvent) => void) | undefined): this { + throw new Error("Unimplemented method onAudioStateChanged") + } + onFirstContentfulPaint(value: ((value0: OnFirstContentfulPaintEvent) => void) | undefined): this { + throw new Error("Unimplemented method onFirstContentfulPaint") + } + onFirstMeaningfulPaint(value: OnFirstMeaningfulPaintCallback | undefined): this { + throw new Error("Unimplemented method onFirstMeaningfulPaint") + } + onLargestContentfulPaint(value: OnLargestContentfulPaintCallback | undefined): this { + throw new Error("Unimplemented method onLargestContentfulPaint") + } + onLoadIntercept(value: ((value0: OnLoadInterceptEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onLoadIntercept") + } + onControllerAttached(value: (() => void) | undefined): this { + throw new Error("Unimplemented method onControllerAttached") + } + onOverScroll(value: ((value0: OnOverScrollEvent) => void) | undefined): this { + throw new Error("Unimplemented method onOverScroll") + } + onSafeBrowsingCheckResult(value: OnSafeBrowsingCheckResultCallback | undefined): this { + throw new Error("Unimplemented method onSafeBrowsingCheckResult") + } + onNavigationEntryCommitted(value: OnNavigationEntryCommittedCallback | undefined): this { + throw new Error("Unimplemented method onNavigationEntryCommitted") + } + onIntelligentTrackingPreventionResult(value: OnIntelligentTrackingPreventionCallback | undefined): this { + throw new Error("Unimplemented method onIntelligentTrackingPreventionResult") + } + javaScriptOnDocumentStart(value: Array | undefined): this { + throw new Error("Unimplemented method javaScriptOnDocumentStart") + } + javaScriptOnDocumentEnd(value: Array | undefined): this { + throw new Error("Unimplemented method javaScriptOnDocumentEnd") + } + layoutMode(value: WebLayoutMode | undefined): this { + throw new Error("Unimplemented method layoutMode") + } + nestedScroll(value: NestedScrollOptions | NestedScrollOptionsExt | undefined): this { + throw new Error("Unimplemented method nestedScroll") + } + enableNativeEmbedMode(value: boolean | undefined): this { + throw new Error("Unimplemented method enableNativeEmbedMode") + } + onNativeEmbedLifecycleChange(value: ((event: NativeEmbedDataInfo) => void) | undefined): this { + throw new Error("Unimplemented method onNativeEmbedLifecycleChange") + } + onNativeEmbedVisibilityChange(value: OnNativeEmbedVisibilityChangeCallback | undefined): this { + throw new Error("Unimplemented method onNativeEmbedVisibilityChange") + } + onNativeEmbedGestureEvent(value: ((event: NativeEmbedTouchInfo) => void) | undefined): this { + throw new Error("Unimplemented method onNativeEmbedGestureEvent") + } + copyOptions(value: CopyOptions | undefined): this { + throw new Error("Unimplemented method copyOptions") + } + onOverrideUrlLoading(value: OnOverrideUrlLoadingCallback | undefined): this { + throw new Error("Unimplemented method onOverrideUrlLoading") + } + textAutosizing(value: boolean | undefined): this { + throw new Error("Unimplemented method textAutosizing") + } + enableNativeMediaPlayer(value: NativeMediaPlayerConfig | undefined): this { + throw new Error("Unimplemented method enableNativeMediaPlayer") + } + onRenderProcessNotResponding(value: OnRenderProcessNotRespondingCallback | undefined): this { + throw new Error("Unimplemented method onRenderProcessNotResponding") + } + onRenderProcessResponding(value: OnRenderProcessRespondingCallback | undefined): this { + throw new Error("Unimplemented method onRenderProcessResponding") + } + onViewportFitChanged(value: OnViewportFitChangedCallback | undefined): this { + throw new Error("Unimplemented method onViewportFitChanged") + } + onInterceptKeyboardAttach(value: WebKeyboardCallback | undefined): this { + throw new Error("Unimplemented method onInterceptKeyboardAttach") + } + onAdsBlocked(value: OnAdsBlockedCallback | undefined): this { + throw new Error("Unimplemented method onAdsBlocked") + } + keyboardAvoidMode(value: WebKeyboardAvoidMode | undefined): this { + throw new Error("Unimplemented method keyboardAvoidMode") + } + editMenuOptions(value: EditMenuOptions | undefined): this { + throw new Error("Unimplemented method editMenuOptions") + } + enableHapticFeedback(value: boolean | undefined): this { + throw new Error("Unimplemented method enableHapticFeedback") + } + optimizeParserBudget(value: boolean | undefined): this { + throw new Error("Unimplemented method optimizeParserBudget") + } + enableFollowSystemFontWeight(value: boolean | undefined): this { + throw new Error("Unimplemented method enableFollowSystemFontWeight") + } + enableWebAVSession(value: boolean | undefined): this { + throw new Error("Unimplemented method enableWebAVSession") + } + runJavaScriptOnDocumentStart(value: Array | undefined): this { + throw new Error("Unimplemented method runJavaScriptOnDocumentStart") + } + runJavaScriptOnDocumentEnd(value: Array | undefined): this { + throw new Error("Unimplemented method runJavaScriptOnDocumentEnd") + } + runJavaScriptOnHeadEnd(value: Array | undefined): this { + throw new Error("Unimplemented method runJavaScriptOnHeadEnd") + } + nativeEmbedOptions(value: EmbedOptions | undefined): this { + throw new Error("Unimplemented method nativeEmbedOptions") + } + registerNativeEmbedRule(tag: string | undefined, type: string | undefined): this { + throw new Error("Unimplemented method registerNativeEmbedRule") + } + bindSelectionMenu(elementType: WebElementType | undefined, content: CustomBuilder | undefined, responseType: WebResponseType | undefined, options?: SelectionMenuOptionsExt): this { + throw new Error("Unimplemented method bindSelectionMenu") + } + attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { + throw new Error("Unimplemented method attributeModifier") + } +} +export class ArkWebStyle extends ArkCommonMethodStyle implements WebAttribute { + javaScriptAccess_value?: boolean | undefined + fileAccess_value?: boolean | undefined + onlineImageAccess_value?: boolean | undefined + domStorageAccess_value?: boolean | undefined + imageAccess_value?: boolean | undefined + mixedMode_value?: MixedMode | undefined + zoomAccess_value?: boolean | undefined + geolocationAccess_value?: boolean | undefined + javaScriptProxy_value?: JavaScriptProxy | undefined + cacheMode_value?: CacheMode | undefined + darkMode_value?: WebDarkMode | undefined + forceDarkAccess_value?: boolean | undefined + mediaOptions_value?: WebMediaOptions | undefined + overviewModeAccess_value?: boolean | undefined + overScrollMode_value?: OverScrollMode | undefined + blurOnKeyboardHideMode_value?: BlurOnKeyboardHideMode | undefined + textZoomRatio_value?: int32 | undefined + databaseAccess_value?: boolean | undefined + initialScale_value?: double | undefined + metaViewport_value?: boolean | undefined + onPageEnd_value?: ((value0: OnPageEndEvent) => void) | undefined + onPageBegin_value?: ((value0: OnPageBeginEvent) => void) | undefined + onProgressChange_value?: ((value0: OnProgressChangeEvent) => void) | undefined + onTitleReceive_value?: ((value0: OnTitleReceiveEvent) => void) | undefined + onGeolocationHide_value?: (() => void) | undefined + onGeolocationShow_value?: ((value0: OnGeolocationShowEvent) => void) | undefined + onRequestSelected_value?: (() => void) | undefined + onAlert_value?: ((value0: OnAlertEvent) => boolean) | undefined + onBeforeUnload_value?: ((value0: OnBeforeUnloadEvent) => boolean) | undefined + onConfirm_value?: ((value0: OnConfirmEvent) => boolean) | undefined + onPrompt_value?: ((value0: OnPromptEvent) => boolean) | undefined + onConsole_value?: ((value0: OnConsoleEvent) => boolean) | undefined + onErrorReceive_value?: ((value0: OnErrorReceiveEvent) => void) | undefined + onHttpErrorReceive_value?: ((value0: OnHttpErrorReceiveEvent) => void) | undefined + onDownloadStart_value?: ((value0: OnDownloadStartEvent) => void) | undefined + onRefreshAccessedHistory_value?: ((value0: OnRefreshAccessedHistoryEvent) => void) | undefined + onRenderExited_value?: ((value0: OnRenderExitedEvent) => void) | undefined + onShowFileSelector_value?: ((value0: OnShowFileSelectorEvent) => boolean) | undefined + onResourceLoad_value?: ((value0: OnResourceLoadEvent) => void) | undefined + onFullScreenExit_value?: (() => void) | undefined + onFullScreenEnter_value?: OnFullScreenEnterCallback | undefined + onScaleChange_value?: ((value0: OnScaleChangeEvent) => void) | undefined + onHttpAuthRequest_value?: ((value0: OnHttpAuthRequestEvent) => boolean) | undefined + onInterceptRequest_value?: ((value0: OnInterceptRequestEvent) => WebResourceResponse) | undefined + onPermissionRequest_value?: ((value0: OnPermissionRequestEvent) => void) | undefined + onScreenCaptureRequest_value?: ((value0: OnScreenCaptureRequestEvent) => void) | undefined + onContextMenuShow_value?: ((value0: OnContextMenuShowEvent) => boolean) | undefined + onContextMenuHide_value?: OnContextMenuHideCallback | undefined + mediaPlayGestureAccess_value?: boolean | undefined + onSearchResultReceive_value?: ((value0: OnSearchResultReceiveEvent) => void) | undefined + onScroll_value?: ((value0: OnScrollEvent) => void) | undefined + onSslErrorEventReceive_value?: ((value0: OnSslErrorEventReceiveEvent) => void) | undefined + onSslErrorEvent_value?: OnSslErrorEventCallback | undefined + onClientAuthenticationRequest_value?: ((value0: OnClientAuthenticationEvent) => void) | undefined + onWindowNew_value?: ((value0: OnWindowNewEvent) => void) | undefined + onWindowExit_value?: (() => void) | undefined + multiWindowAccess_value?: boolean | undefined + onInterceptKeyEvent_value?: ((event: KeyEvent) => boolean) | undefined + webStandardFont_value?: string | undefined + webSerifFont_value?: string | undefined + webSansSerifFont_value?: string | undefined + webFixedFont_value?: string | undefined + webFantasyFont_value?: string | undefined + webCursiveFont_value?: string | undefined + defaultFixedFontSize_value?: int32 | undefined + defaultFontSize_value?: int32 | undefined + minFontSize_value?: int32 | undefined + minLogicalFontSize_value?: int32 | undefined + defaultTextEncodingFormat_value?: string | undefined + forceDisplayScrollBar_value?: boolean | undefined + blockNetwork_value?: boolean | undefined + horizontalScrollBarAccess_value?: boolean | undefined + verticalScrollBarAccess_value?: boolean | undefined + onTouchIconUrlReceived_value?: ((value0: OnTouchIconUrlReceivedEvent) => void) | undefined + onFaviconReceived_value?: ((value0: OnFaviconReceivedEvent) => void) | undefined + onPageVisible_value?: ((value0: OnPageVisibleEvent) => void) | undefined + onDataResubmitted_value?: ((value0: OnDataResubmittedEvent) => void) | undefined + pinchSmooth_value?: boolean | undefined + allowWindowOpenMethod_value?: boolean | undefined + onAudioStateChanged_value?: ((value0: OnAudioStateChangedEvent) => void) | undefined + onFirstContentfulPaint_value?: ((value0: OnFirstContentfulPaintEvent) => void) | undefined + onFirstMeaningfulPaint_value?: OnFirstMeaningfulPaintCallback | undefined + onLargestContentfulPaint_value?: OnLargestContentfulPaintCallback | undefined + onLoadIntercept_value?: ((value0: OnLoadInterceptEvent) => boolean) | undefined + onControllerAttached_value?: (() => void) | undefined + onOverScroll_value?: ((value0: OnOverScrollEvent) => void) | undefined + onSafeBrowsingCheckResult_value?: OnSafeBrowsingCheckResultCallback | undefined + onNavigationEntryCommitted_value?: OnNavigationEntryCommittedCallback | undefined + onIntelligentTrackingPreventionResult_value?: OnIntelligentTrackingPreventionCallback | undefined + javaScriptOnDocumentStart_value?: Array | undefined + javaScriptOnDocumentEnd_value?: Array | undefined + layoutMode_value?: WebLayoutMode | undefined + nestedScroll_value?: NestedScrollOptions | NestedScrollOptionsExt | undefined + enableNativeEmbedMode_value?: boolean | undefined + onNativeEmbedLifecycleChange_value?: ((event: NativeEmbedDataInfo) => void) | undefined + onNativeEmbedVisibilityChange_value?: OnNativeEmbedVisibilityChangeCallback | undefined + onNativeEmbedGestureEvent_value?: ((event: NativeEmbedTouchInfo) => void) | undefined + copyOptions_value?: CopyOptions | undefined + onOverrideUrlLoading_value?: OnOverrideUrlLoadingCallback | undefined + textAutosizing_value?: boolean | undefined + enableNativeMediaPlayer_value?: NativeMediaPlayerConfig | undefined + onRenderProcessNotResponding_value?: OnRenderProcessNotRespondingCallback | undefined + onRenderProcessResponding_value?: OnRenderProcessRespondingCallback | undefined + onViewportFitChanged_value?: OnViewportFitChangedCallback | undefined + onInterceptKeyboardAttach_value?: WebKeyboardCallback | undefined + onAdsBlocked_value?: OnAdsBlockedCallback | undefined + keyboardAvoidMode_value?: WebKeyboardAvoidMode | undefined + editMenuOptions_value?: EditMenuOptions | undefined + enableHapticFeedback_value?: boolean | undefined + optimizeParserBudget_value?: boolean | undefined + enableFollowSystemFontWeight_value?: boolean | undefined + enableWebAVSession_value?: boolean | undefined + runJavaScriptOnDocumentStart_value?: Array | undefined + runJavaScriptOnDocumentEnd_value?: Array | undefined + runJavaScriptOnHeadEnd_value?: Array | undefined + nativeEmbedOptions_value?: EmbedOptions | undefined + attributeModifier_value?: AttributeModifier | AttributeModifier | undefined + javaScriptAccess(value: boolean | undefined): this { + return this + } + fileAccess(value: boolean | undefined): this { + return this + } + onlineImageAccess(value: boolean | undefined): this { + return this + } + domStorageAccess(value: boolean | undefined): this { + return this + } + imageAccess(value: boolean | undefined): this { + return this + } + mixedMode(value: MixedMode | undefined): this { + return this + } + zoomAccess(value: boolean | undefined): this { + return this + } + geolocationAccess(value: boolean | undefined): this { + return this + } + javaScriptProxy(value: JavaScriptProxy | undefined): this { + return this + } + cacheMode(value: CacheMode | undefined): this { + return this + } + darkMode(value: WebDarkMode | undefined): this { + return this + } + forceDarkAccess(value: boolean | undefined): this { + return this + } + mediaOptions(value: WebMediaOptions | undefined): this { + return this + } + overviewModeAccess(value: boolean | undefined): this { + return this + } + overScrollMode(value: OverScrollMode | undefined): this { + return this + } + blurOnKeyboardHideMode(value: BlurOnKeyboardHideMode | undefined): this { + return this + } + textZoomRatio(value: int32 | undefined): this { + return this + } + databaseAccess(value: boolean | undefined): this { + return this + } + initialScale(value: double | undefined): this { + return this + } + metaViewport(value: boolean | undefined): this { + return this + } + onPageEnd(value: ((value0: OnPageEndEvent) => void) | undefined): this { + return this + } + onPageBegin(value: ((value0: OnPageBeginEvent) => void) | undefined): this { + return this + } + onProgressChange(value: ((value0: OnProgressChangeEvent) => void) | undefined): this { + return this + } + onTitleReceive(value: ((value0: OnTitleReceiveEvent) => void) | undefined): this { + return this + } + onGeolocationHide(value: (() => void) | undefined): this { + return this + } + onGeolocationShow(value: ((value0: OnGeolocationShowEvent) => void) | undefined): this { + return this + } + onRequestSelected(value: (() => void) | undefined): this { + return this + } + onAlert(value: ((value0: OnAlertEvent) => boolean) | undefined): this { + return this + } + onBeforeUnload(value: ((value0: OnBeforeUnloadEvent) => boolean) | undefined): this { + return this + } + onConfirm(value: ((value0: OnConfirmEvent) => boolean) | undefined): this { + return this + } + onPrompt(value: ((value0: OnPromptEvent) => boolean) | undefined): this { + return this + } + onConsole(value: ((value0: OnConsoleEvent) => boolean) | undefined): this { + return this + } + onErrorReceive(value: ((value0: OnErrorReceiveEvent) => void) | undefined): this { + return this + } + onHttpErrorReceive(value: ((value0: OnHttpErrorReceiveEvent) => void) | undefined): this { + return this + } + onDownloadStart(value: ((value0: OnDownloadStartEvent) => void) | undefined): this { + return this + } + onRefreshAccessedHistory(value: ((value0: OnRefreshAccessedHistoryEvent) => void) | undefined): this { + return this + } + onRenderExited(value: ((value0: OnRenderExitedEvent) => void) | undefined): this { + return this + } + onShowFileSelector(value: ((value0: OnShowFileSelectorEvent) => boolean) | undefined): this { + return this + } + onResourceLoad(value: ((value0: OnResourceLoadEvent) => void) | undefined): this { + return this + } + onFullScreenExit(value: (() => void) | undefined): this { + return this + } + onFullScreenEnter(value: OnFullScreenEnterCallback | undefined): this { + return this + } + onScaleChange(value: ((value0: OnScaleChangeEvent) => void) | undefined): this { + return this + } + onHttpAuthRequest(value: ((value0: OnHttpAuthRequestEvent) => boolean) | undefined): this { + return this + } + onInterceptRequest(value: ((value0: OnInterceptRequestEvent) => WebResourceResponse) | undefined): this { + return this + } + onPermissionRequest(value: ((value0: OnPermissionRequestEvent) => void) | undefined): this { + return this + } + onScreenCaptureRequest(value: ((value0: OnScreenCaptureRequestEvent) => void) | undefined): this { + return this + } + onContextMenuShow(value: ((value0: OnContextMenuShowEvent) => boolean) | undefined): this { + return this + } + onContextMenuHide(value: OnContextMenuHideCallback | undefined): this { + return this + } + mediaPlayGestureAccess(value: boolean | undefined): this { + return this + } + onSearchResultReceive(value: ((value0: OnSearchResultReceiveEvent) => void) | undefined): this { + return this + } + onScroll(value: ((value0: OnScrollEvent) => void) | undefined): this { + return this + } + onSslErrorEventReceive(value: ((value0: OnSslErrorEventReceiveEvent) => void) | undefined): this { + return this + } + onSslErrorEvent(value: OnSslErrorEventCallback | undefined): this { + return this + } + onClientAuthenticationRequest(value: ((value0: OnClientAuthenticationEvent) => void) | undefined): this { + return this + } + onWindowNew(value: ((value0: OnWindowNewEvent) => void) | undefined): this { + return this + } + onWindowExit(value: (() => void) | undefined): this { + return this + } + multiWindowAccess(value: boolean | undefined): this { + return this + } + onInterceptKeyEvent(value: ((event: KeyEvent) => boolean) | undefined): this { + return this + } + webStandardFont(value: string | undefined): this { + return this + } + webSerifFont(value: string | undefined): this { + return this + } + webSansSerifFont(value: string | undefined): this { + return this + } + webFixedFont(value: string | undefined): this { + return this + } + webFantasyFont(value: string | undefined): this { + return this + } + webCursiveFont(value: string | undefined): this { + return this + } + defaultFixedFontSize(value: int32 | undefined): this { + return this + } + defaultFontSize(value: int32 | undefined): this { + return this + } + minFontSize(value: int32 | undefined): this { + return this + } + minLogicalFontSize(value: int32 | undefined): this { + return this + } + defaultTextEncodingFormat(value: string | undefined): this { + return this + } + forceDisplayScrollBar(value: boolean | undefined): this { + return this + } + blockNetwork(value: boolean | undefined): this { + return this + } + horizontalScrollBarAccess(value: boolean | undefined): this { + return this + } + verticalScrollBarAccess(value: boolean | undefined): this { + return this + } + onTouchIconUrlReceived(value: ((value0: OnTouchIconUrlReceivedEvent) => void) | undefined): this { + return this + } + onFaviconReceived(value: ((value0: OnFaviconReceivedEvent) => void) | undefined): this { + return this + } + onPageVisible(value: ((value0: OnPageVisibleEvent) => void) | undefined): this { + return this + } + onDataResubmitted(value: ((value0: OnDataResubmittedEvent) => void) | undefined): this { + return this + } + pinchSmooth(value: boolean | undefined): this { + return this + } + allowWindowOpenMethod(value: boolean | undefined): this { + return this + } + onAudioStateChanged(value: ((value0: OnAudioStateChangedEvent) => void) | undefined): this { + return this + } + onFirstContentfulPaint(value: ((value0: OnFirstContentfulPaintEvent) => void) | undefined): this { + return this + } + onFirstMeaningfulPaint(value: OnFirstMeaningfulPaintCallback | undefined): this { + return this + } + onLargestContentfulPaint(value: OnLargestContentfulPaintCallback | undefined): this { + return this + } + onLoadIntercept(value: ((value0: OnLoadInterceptEvent) => boolean) | undefined): this { + return this + } + onControllerAttached(value: (() => void) | undefined): this { + return this + } + onOverScroll(value: ((value0: OnOverScrollEvent) => void) | undefined): this { + return this + } + onSafeBrowsingCheckResult(value: OnSafeBrowsingCheckResultCallback | undefined): this { + return this + } + onNavigationEntryCommitted(value: OnNavigationEntryCommittedCallback | undefined): this { + return this + } + onIntelligentTrackingPreventionResult(value: OnIntelligentTrackingPreventionCallback | undefined): this { + return this + } + javaScriptOnDocumentStart(value: Array | undefined): this { + return this + } + javaScriptOnDocumentEnd(value: Array | undefined): this { + return this + } + layoutMode(value: WebLayoutMode | undefined): this { + return this + } + nestedScroll(value: NestedScrollOptions | NestedScrollOptionsExt | undefined): this { + return this + } + enableNativeEmbedMode(value: boolean | undefined): this { + return this + } + onNativeEmbedLifecycleChange(value: ((event: NativeEmbedDataInfo) => void) | undefined): this { + return this + } + onNativeEmbedVisibilityChange(value: OnNativeEmbedVisibilityChangeCallback | undefined): this { + return this + } + onNativeEmbedGestureEvent(value: ((event: NativeEmbedTouchInfo) => void) | undefined): this { + return this + } + copyOptions(value: CopyOptions | undefined): this { + return this + } + onOverrideUrlLoading(value: OnOverrideUrlLoadingCallback | undefined): this { + return this + } + textAutosizing(value: boolean | undefined): this { + return this + } + enableNativeMediaPlayer(value: NativeMediaPlayerConfig | undefined): this { + return this + } + onRenderProcessNotResponding(value: OnRenderProcessNotRespondingCallback | undefined): this { + return this + } + onRenderProcessResponding(value: OnRenderProcessRespondingCallback | undefined): this { + return this + } + onViewportFitChanged(value: OnViewportFitChangedCallback | undefined): this { + return this + } + onInterceptKeyboardAttach(value: WebKeyboardCallback | undefined): this { + return this + } + onAdsBlocked(value: OnAdsBlockedCallback | undefined): this { + return this + } + keyboardAvoidMode(value: WebKeyboardAvoidMode | undefined): this { + return this + } + editMenuOptions(value: EditMenuOptions | undefined): this { + return this + } + enableHapticFeedback(value: boolean | undefined): this { + return this + } + optimizeParserBudget(value: boolean | undefined): this { + return this + } + enableFollowSystemFontWeight(value: boolean | undefined): this { + return this + } + enableWebAVSession(value: boolean | undefined): this { + return this + } + runJavaScriptOnDocumentStart(value: Array | undefined): this { + return this + } + runJavaScriptOnDocumentEnd(value: Array | undefined): this { + return this + } + runJavaScriptOnHeadEnd(value: Array | undefined): this { + return this + } + nativeEmbedOptions(value: EmbedOptions | undefined): this { + return this + } + registerNativeEmbedRule(tag: string | undefined, type: string | undefined): this { + return this + } + bindSelectionMenu(elementType: WebElementType | undefined, content: CustomBuilder | undefined, responseType: WebResponseType | undefined, options?: SelectionMenuOptionsExt): this { + return this + } + public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { + throw new Error("Not implemented") + } +} +export interface SslErrorEvent { + handler: SslErrorHandler; + error: SslError; + url: string; + originalUrl: string; + referrer: string; + isFatalError: boolean; + isMainFrame: boolean; +} +export interface NestedScrollOptionsExt { + scrollUp?: NestedScrollMode; + scrollDown?: NestedScrollMode; + scrollRight?: NestedScrollMode; + scrollLeft?: NestedScrollMode; +} +export interface EmbedOptions { + supportDefaultIntrinsicSize?: boolean; +} + +export class ArkWebComponent extends ArkCommonMethodComponent implements WebAttribute { + getPeer(): ArkWebPeer { + return (this.peer as ArkWebPeer) + } + public setWebOptions(value: WebOptions): this { + if (this.checkPriority("setWebOptions")) { + const value_casted = value as (WebOptions) + this.getPeer()?.setWebOptionsAttribute(value_casted) + return this + } + return this + } + public javaScriptAccess(value: boolean | undefined): this { + if (this.checkPriority("javaScriptAccess")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setJavaScriptAccessAttribute(value_casted) + return this + } + return this + } + public fileAccess(value: boolean | undefined): this { + if (this.checkPriority("fileAccess")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setFileAccessAttribute(value_casted) + return this + } + return this + } + public onlineImageAccess(value: boolean | undefined): this { + if (this.checkPriority("onlineImageAccess")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setOnlineImageAccessAttribute(value_casted) + return this + } + return this + } + public domStorageAccess(value: boolean | undefined): this { + if (this.checkPriority("domStorageAccess")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setDomStorageAccessAttribute(value_casted) + return this + } + return this + } + public imageAccess(value: boolean | undefined): this { + if (this.checkPriority("imageAccess")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setImageAccessAttribute(value_casted) + return this + } + return this + } + public mixedMode(value: MixedMode | undefined): this { + if (this.checkPriority("mixedMode")) { + const value_casted = value as (MixedMode | undefined) + this.getPeer()?.setMixedModeAttribute(value_casted) + return this + } + return this + } + public zoomAccess(value: boolean | undefined): this { + if (this.checkPriority("zoomAccess")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setZoomAccessAttribute(value_casted) + return this + } + return this + } + public geolocationAccess(value: boolean | undefined): this { + if (this.checkPriority("geolocationAccess")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setGeolocationAccessAttribute(value_casted) + return this + } + return this + } + public javaScriptProxy(value: JavaScriptProxy | undefined): this { + if (this.checkPriority("javaScriptProxy")) { + const value_casted = value as (JavaScriptProxy | undefined) + this.getPeer()?.setJavaScriptProxyAttribute(value_casted) + return this + } + return this + } + public cacheMode(value: CacheMode | undefined): this { + if (this.checkPriority("cacheMode")) { + const value_casted = value as (CacheMode | undefined) + this.getPeer()?.setCacheModeAttribute(value_casted) + return this + } + return this + } + public darkMode(value: WebDarkMode | undefined): this { + if (this.checkPriority("darkMode")) { + const value_casted = value as (WebDarkMode | undefined) + this.getPeer()?.setDarkModeAttribute(value_casted) + return this + } + return this + } + public forceDarkAccess(value: boolean | undefined): this { + if (this.checkPriority("forceDarkAccess")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setForceDarkAccessAttribute(value_casted) + return this + } + return this + } + public mediaOptions(value: WebMediaOptions | undefined): this { + if (this.checkPriority("mediaOptions")) { + const value_casted = value as (WebMediaOptions | undefined) + this.getPeer()?.setMediaOptionsAttribute(value_casted) + return this + } + return this + } + public overviewModeAccess(value: boolean | undefined): this { + if (this.checkPriority("overviewModeAccess")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setOverviewModeAccessAttribute(value_casted) + return this + } + return this + } + public overScrollMode(value: OverScrollMode | undefined): this { + if (this.checkPriority("overScrollMode")) { + const value_casted = value as (OverScrollMode | undefined) + this.getPeer()?.setOverScrollModeAttribute(value_casted) + return this + } + return this + } + public blurOnKeyboardHideMode(value: BlurOnKeyboardHideMode | undefined): this { + if (this.checkPriority("blurOnKeyboardHideMode")) { + const value_casted = value as (BlurOnKeyboardHideMode | undefined) + this.getPeer()?.setBlurOnKeyboardHideModeAttribute(value_casted) + return this + } + return this + } + public textZoomRatio(value: int32 | undefined): this { + if (this.checkPriority("textZoomRatio")) { + const value_casted = value as (int32 | undefined) + this.getPeer()?.setTextZoomRatioAttribute(value_casted) + return this + } + return this + } + public databaseAccess(value: boolean | undefined): this { + if (this.checkPriority("databaseAccess")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setDatabaseAccessAttribute(value_casted) + return this + } + return this + } + public initialScale(value: double | undefined): this { + if (this.checkPriority("initialScale")) { + const value_casted = value as (double | undefined) + this.getPeer()?.setInitialScaleAttribute(value_casted) + return this + } + return this + } + public metaViewport(value: boolean | undefined): this { + if (this.checkPriority("metaViewport")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setMetaViewportAttribute(value_casted) + return this + } + return this + } + public onPageEnd(value: ((value0: OnPageEndEvent) => void) | undefined): this { + if (this.checkPriority("onPageEnd")) { + const value_casted = value as (((value0: OnPageEndEvent) => void) | undefined) + this.getPeer()?.setOnPageEndAttribute(value_casted) + return this + } + return this + } + public onPageBegin(value: ((value0: OnPageBeginEvent) => void) | undefined): this { + if (this.checkPriority("onPageBegin")) { + const value_casted = value as (((value0: OnPageBeginEvent) => void) | undefined) + this.getPeer()?.setOnPageBeginAttribute(value_casted) + return this + } + return this + } + public onProgressChange(value: ((value0: OnProgressChangeEvent) => void) | undefined): this { + if (this.checkPriority("onProgressChange")) { + const value_casted = value as (((value0: OnProgressChangeEvent) => void) | undefined) + this.getPeer()?.setOnProgressChangeAttribute(value_casted) + return this + } + return this + } + public onTitleReceive(value: ((value0: OnTitleReceiveEvent) => void) | undefined): this { + if (this.checkPriority("onTitleReceive")) { + const value_casted = value as (((value0: OnTitleReceiveEvent) => void) | undefined) + this.getPeer()?.setOnTitleReceiveAttribute(value_casted) + return this + } + return this + } + public onGeolocationHide(value: (() => void) | undefined): this { + if (this.checkPriority("onGeolocationHide")) { + const value_casted = value as ((() => void) | undefined) + this.getPeer()?.setOnGeolocationHideAttribute(value_casted) + return this + } + return this + } + public onGeolocationShow(value: ((value0: OnGeolocationShowEvent) => void) | undefined): this { + if (this.checkPriority("onGeolocationShow")) { + const value_casted = value as (((value0: OnGeolocationShowEvent) => void) | undefined) + this.getPeer()?.setOnGeolocationShowAttribute(value_casted) + return this + } + return this + } + public onRequestSelected(value: (() => void) | undefined): this { + if (this.checkPriority("onRequestSelected")) { + const value_casted = value as ((() => void) | undefined) + this.getPeer()?.setOnRequestSelectedAttribute(value_casted) + return this + } + return this + } + public onAlert(value: ((value0: OnAlertEvent) => boolean) | undefined): this { + if (this.checkPriority("onAlert")) { + const value_casted = value as (((value0: OnAlertEvent) => boolean) | undefined) + this.getPeer()?.setOnAlertAttribute(value_casted) + return this + } + return this + } + public onBeforeUnload(value: ((value0: OnBeforeUnloadEvent) => boolean) | undefined): this { + if (this.checkPriority("onBeforeUnload")) { + const value_casted = value as (((value0: OnBeforeUnloadEvent) => boolean) | undefined) + this.getPeer()?.setOnBeforeUnloadAttribute(value_casted) + return this + } + return this + } + public onConfirm(value: ((value0: OnConfirmEvent) => boolean) | undefined): this { + if (this.checkPriority("onConfirm")) { + const value_casted = value as (((value0: OnConfirmEvent) => boolean) | undefined) + this.getPeer()?.setOnConfirmAttribute(value_casted) + return this + } + return this + } + public onPrompt(value: ((value0: OnPromptEvent) => boolean) | undefined): this { + if (this.checkPriority("onPrompt")) { + const value_casted = value as (((value0: OnPromptEvent) => boolean) | undefined) + this.getPeer()?.setOnPromptAttribute(value_casted) + return this + } + return this + } + public onConsole(value: ((value0: OnConsoleEvent) => boolean) | undefined): this { + if (this.checkPriority("onConsole")) { + const value_casted = value as (((value0: OnConsoleEvent) => boolean) | undefined) + this.getPeer()?.setOnConsoleAttribute(value_casted) + return this + } + return this + } + public onErrorReceive(value: ((value0: OnErrorReceiveEvent) => void) | undefined): this { + if (this.checkPriority("onErrorReceive")) { + const value_casted = value as (((value0: OnErrorReceiveEvent) => void) | undefined) + this.getPeer()?.setOnErrorReceiveAttribute(value_casted) + return this + } + return this + } + public onHttpErrorReceive(value: ((value0: OnHttpErrorReceiveEvent) => void) | undefined): this { + if (this.checkPriority("onHttpErrorReceive")) { + const value_casted = value as (((value0: OnHttpErrorReceiveEvent) => void) | undefined) + this.getPeer()?.setOnHttpErrorReceiveAttribute(value_casted) + return this + } + return this + } + public onDownloadStart(value: ((value0: OnDownloadStartEvent) => void) | undefined): this { + if (this.checkPriority("onDownloadStart")) { + const value_casted = value as (((value0: OnDownloadStartEvent) => void) | undefined) + this.getPeer()?.setOnDownloadStartAttribute(value_casted) + return this + } + return this + } + public onRefreshAccessedHistory(value: ((value0: OnRefreshAccessedHistoryEvent) => void) | undefined): this { + if (this.checkPriority("onRefreshAccessedHistory")) { + const value_casted = value as (((value0: OnRefreshAccessedHistoryEvent) => void) | undefined) + this.getPeer()?.setOnRefreshAccessedHistoryAttribute(value_casted) + return this + } + return this + } + public onRenderExited(value: ((value0: OnRenderExitedEvent) => void) | undefined): this { + if (this.checkPriority("onRenderExited")) { + const value_casted = value as (((value0: OnRenderExitedEvent) => void) | undefined) + this.getPeer()?.setOnRenderExitedAttribute(value_casted) + return this + } + return this + } + public onShowFileSelector(value: ((value0: OnShowFileSelectorEvent) => boolean) | undefined): this { + if (this.checkPriority("onShowFileSelector")) { + const value_casted = value as (((value0: OnShowFileSelectorEvent) => boolean) | undefined) + this.getPeer()?.setOnShowFileSelectorAttribute(value_casted) + return this + } + return this + } + public onResourceLoad(value: ((value0: OnResourceLoadEvent) => void) | undefined): this { + if (this.checkPriority("onResourceLoad")) { + const value_casted = value as (((value0: OnResourceLoadEvent) => void) | undefined) + this.getPeer()?.setOnResourceLoadAttribute(value_casted) + return this + } + return this + } + public onFullScreenExit(value: (() => void) | undefined): this { + if (this.checkPriority("onFullScreenExit")) { + const value_casted = value as ((() => void) | undefined) + this.getPeer()?.setOnFullScreenExitAttribute(value_casted) + return this + } + return this + } + public onFullScreenEnter(value: OnFullScreenEnterCallback | undefined): this { + if (this.checkPriority("onFullScreenEnter")) { + const value_casted = value as (OnFullScreenEnterCallback | undefined) + this.getPeer()?.setOnFullScreenEnterAttribute(value_casted) + return this + } + return this + } + public onScaleChange(value: ((value0: OnScaleChangeEvent) => void) | undefined): this { + if (this.checkPriority("onScaleChange")) { + const value_casted = value as (((value0: OnScaleChangeEvent) => void) | undefined) + this.getPeer()?.setOnScaleChangeAttribute(value_casted) + return this + } + return this + } + public onHttpAuthRequest(value: ((value0: OnHttpAuthRequestEvent) => boolean) | undefined): this { + if (this.checkPriority("onHttpAuthRequest")) { + const value_casted = value as (((value0: OnHttpAuthRequestEvent) => boolean) | undefined) + this.getPeer()?.setOnHttpAuthRequestAttribute(value_casted) + return this + } + return this + } + public onInterceptRequest(value: ((value0: OnInterceptRequestEvent) => WebResourceResponse) | undefined): this { + if (this.checkPriority("onInterceptRequest")) { + const value_casted = value as (((value0: OnInterceptRequestEvent) => WebResourceResponse) | undefined) + this.getPeer()?.setOnInterceptRequestAttribute(value_casted) + return this + } + return this + } + public onPermissionRequest(value: ((value0: OnPermissionRequestEvent) => void) | undefined): this { + if (this.checkPriority("onPermissionRequest")) { + const value_casted = value as (((value0: OnPermissionRequestEvent) => void) | undefined) + this.getPeer()?.setOnPermissionRequestAttribute(value_casted) + return this + } + return this + } + public onScreenCaptureRequest(value: ((value0: OnScreenCaptureRequestEvent) => void) | undefined): this { + if (this.checkPriority("onScreenCaptureRequest")) { + const value_casted = value as (((value0: OnScreenCaptureRequestEvent) => void) | undefined) + this.getPeer()?.setOnScreenCaptureRequestAttribute(value_casted) + return this + } + return this + } + public onContextMenuShow(value: ((value0: OnContextMenuShowEvent) => boolean) | undefined): this { + if (this.checkPriority("onContextMenuShow")) { + const value_casted = value as (((value0: OnContextMenuShowEvent) => boolean) | undefined) + this.getPeer()?.setOnContextMenuShowAttribute(value_casted) + return this + } + return this + } + public onContextMenuHide(value: OnContextMenuHideCallback | undefined): this { + if (this.checkPriority("onContextMenuHide")) { + const value_casted = value as (OnContextMenuHideCallback | undefined) + this.getPeer()?.setOnContextMenuHideAttribute(value_casted) + return this + } + return this + } + public mediaPlayGestureAccess(value: boolean | undefined): this { + if (this.checkPriority("mediaPlayGestureAccess")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setMediaPlayGestureAccessAttribute(value_casted) + return this + } + return this + } + public onSearchResultReceive(value: ((value0: OnSearchResultReceiveEvent) => void) | undefined): this { + if (this.checkPriority("onSearchResultReceive")) { + const value_casted = value as (((value0: OnSearchResultReceiveEvent) => void) | undefined) + this.getPeer()?.setOnSearchResultReceiveAttribute(value_casted) + return this + } + return this + } + public onScroll(value: ((value0: OnScrollEvent) => void) | undefined): this { + if (this.checkPriority("onScroll")) { + const value_casted = value as (((value0: OnScrollEvent) => void) | undefined) + this.getPeer()?.setOnScrollAttribute(value_casted) + return this + } + return this + } + public onSslErrorEventReceive(value: ((value0: OnSslErrorEventReceiveEvent) => void) | undefined): this { + if (this.checkPriority("onSslErrorEventReceive")) { + const value_casted = value as (((value0: OnSslErrorEventReceiveEvent) => void) | undefined) + this.getPeer()?.setOnSslErrorEventReceiveAttribute(value_casted) + return this + } + return this + } + public onSslErrorEvent(value: OnSslErrorEventCallback | undefined): this { + if (this.checkPriority("onSslErrorEvent")) { + const value_casted = value as (OnSslErrorEventCallback | undefined) + this.getPeer()?.setOnSslErrorEventAttribute(value_casted) + return this + } + return this + } + public onClientAuthenticationRequest(value: ((value0: OnClientAuthenticationEvent) => void) | undefined): this { + if (this.checkPriority("onClientAuthenticationRequest")) { + const value_casted = value as (((value0: OnClientAuthenticationEvent) => void) | undefined) + this.getPeer()?.setOnClientAuthenticationRequestAttribute(value_casted) + return this + } + return this + } + public onWindowNew(value: ((value0: OnWindowNewEvent) => void) | undefined): this { + if (this.checkPriority("onWindowNew")) { + const value_casted = value as (((value0: OnWindowNewEvent) => void) | undefined) + this.getPeer()?.setOnWindowNewAttribute(value_casted) + return this + } + return this + } + public onWindowExit(value: (() => void) | undefined): this { + if (this.checkPriority("onWindowExit")) { + const value_casted = value as ((() => void) | undefined) + this.getPeer()?.setOnWindowExitAttribute(value_casted) + return this + } + return this + } + public multiWindowAccess(value: boolean | undefined): this { + if (this.checkPriority("multiWindowAccess")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setMultiWindowAccessAttribute(value_casted) + return this + } + return this + } + public onInterceptKeyEvent(value: ((event: KeyEvent) => boolean) | undefined): this { + if (this.checkPriority("onInterceptKeyEvent")) { + const value_casted = value as (((event: KeyEvent) => boolean) | undefined) + this.getPeer()?.setOnInterceptKeyEventAttribute(value_casted) + return this + } + return this + } + public webStandardFont(value: string | undefined): this { + if (this.checkPriority("webStandardFont")) { + const value_casted = value as (string | undefined) + this.getPeer()?.setWebStandardFontAttribute(value_casted) + return this + } + return this + } + public webSerifFont(value: string | undefined): this { + if (this.checkPriority("webSerifFont")) { + const value_casted = value as (string | undefined) + this.getPeer()?.setWebSerifFontAttribute(value_casted) + return this + } + return this + } + public webSansSerifFont(value: string | undefined): this { + if (this.checkPriority("webSansSerifFont")) { + const value_casted = value as (string | undefined) + this.getPeer()?.setWebSansSerifFontAttribute(value_casted) + return this + } + return this + } + public webFixedFont(value: string | undefined): this { + if (this.checkPriority("webFixedFont")) { + const value_casted = value as (string | undefined) + this.getPeer()?.setWebFixedFontAttribute(value_casted) + return this + } + return this + } + public webFantasyFont(value: string | undefined): this { + if (this.checkPriority("webFantasyFont")) { + const value_casted = value as (string | undefined) + this.getPeer()?.setWebFantasyFontAttribute(value_casted) + return this + } + return this + } + public webCursiveFont(value: string | undefined): this { + if (this.checkPriority("webCursiveFont")) { + const value_casted = value as (string | undefined) + this.getPeer()?.setWebCursiveFontAttribute(value_casted) + return this + } + return this + } + public defaultFixedFontSize(value: int32 | undefined): this { + if (this.checkPriority("defaultFixedFontSize")) { + const value_casted = value as (int32 | undefined) + this.getPeer()?.setDefaultFixedFontSizeAttribute(value_casted) + return this + } + return this + } + public defaultFontSize(value: int32 | undefined): this { + if (this.checkPriority("defaultFontSize")) { + const value_casted = value as (int32 | undefined) + this.getPeer()?.setDefaultFontSizeAttribute(value_casted) + return this + } + return this + } + public minFontSize(value: int32 | undefined): this { + if (this.checkPriority("minFontSize")) { + const value_casted = value as (int32 | undefined) + this.getPeer()?.setMinFontSizeAttribute(value_casted) + return this + } + return this + } + public minLogicalFontSize(value: int32 | undefined): this { + if (this.checkPriority("minLogicalFontSize")) { + const value_casted = value as (int32 | undefined) + this.getPeer()?.setMinLogicalFontSizeAttribute(value_casted) + return this + } + return this + } + public defaultTextEncodingFormat(value: string | undefined): this { + if (this.checkPriority("defaultTextEncodingFormat")) { + const value_casted = value as (string | undefined) + this.getPeer()?.setDefaultTextEncodingFormatAttribute(value_casted) + return this + } + return this + } + public forceDisplayScrollBar(value: boolean | undefined): this { + if (this.checkPriority("forceDisplayScrollBar")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setForceDisplayScrollBarAttribute(value_casted) + return this + } + return this + } + public blockNetwork(value: boolean | undefined): this { + if (this.checkPriority("blockNetwork")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setBlockNetworkAttribute(value_casted) + return this + } + return this + } + public horizontalScrollBarAccess(value: boolean | undefined): this { + if (this.checkPriority("horizontalScrollBarAccess")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setHorizontalScrollBarAccessAttribute(value_casted) + return this + } + return this + } + public verticalScrollBarAccess(value: boolean | undefined): this { + if (this.checkPriority("verticalScrollBarAccess")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setVerticalScrollBarAccessAttribute(value_casted) + return this + } + return this + } + public onTouchIconUrlReceived(value: ((value0: OnTouchIconUrlReceivedEvent) => void) | undefined): this { + if (this.checkPriority("onTouchIconUrlReceived")) { + const value_casted = value as (((value0: OnTouchIconUrlReceivedEvent) => void) | undefined) + this.getPeer()?.setOnTouchIconUrlReceivedAttribute(value_casted) + return this + } + return this + } + public onFaviconReceived(value: ((value0: OnFaviconReceivedEvent) => void) | undefined): this { + if (this.checkPriority("onFaviconReceived")) { + const value_casted = value as (((value0: OnFaviconReceivedEvent) => void) | undefined) + this.getPeer()?.setOnFaviconReceivedAttribute(value_casted) + return this + } + return this + } + public onPageVisible(value: ((value0: OnPageVisibleEvent) => void) | undefined): this { + if (this.checkPriority("onPageVisible")) { + const value_casted = value as (((value0: OnPageVisibleEvent) => void) | undefined) + this.getPeer()?.setOnPageVisibleAttribute(value_casted) + return this + } + return this + } + public onDataResubmitted(value: ((value0: OnDataResubmittedEvent) => void) | undefined): this { + if (this.checkPriority("onDataResubmitted")) { + const value_casted = value as (((value0: OnDataResubmittedEvent) => void) | undefined) + this.getPeer()?.setOnDataResubmittedAttribute(value_casted) + return this + } + return this + } + public pinchSmooth(value: boolean | undefined): this { + if (this.checkPriority("pinchSmooth")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setPinchSmoothAttribute(value_casted) + return this + } + return this + } + public allowWindowOpenMethod(value: boolean | undefined): this { + if (this.checkPriority("allowWindowOpenMethod")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setAllowWindowOpenMethodAttribute(value_casted) + return this + } + return this + } + public onAudioStateChanged(value: ((value0: OnAudioStateChangedEvent) => void) | undefined): this { + if (this.checkPriority("onAudioStateChanged")) { + const value_casted = value as (((value0: OnAudioStateChangedEvent) => void) | undefined) + this.getPeer()?.setOnAudioStateChangedAttribute(value_casted) + return this + } + return this + } + public onFirstContentfulPaint(value: ((value0: OnFirstContentfulPaintEvent) => void) | undefined): this { + if (this.checkPriority("onFirstContentfulPaint")) { + const value_casted = value as (((value0: OnFirstContentfulPaintEvent) => void) | undefined) + this.getPeer()?.setOnFirstContentfulPaintAttribute(value_casted) + return this + } + return this + } + public onFirstMeaningfulPaint(value: OnFirstMeaningfulPaintCallback | undefined): this { + if (this.checkPriority("onFirstMeaningfulPaint")) { + const value_casted = value as (OnFirstMeaningfulPaintCallback | undefined) + this.getPeer()?.setOnFirstMeaningfulPaintAttribute(value_casted) + return this + } + return this + } + public onLargestContentfulPaint(value: OnLargestContentfulPaintCallback | undefined): this { + if (this.checkPriority("onLargestContentfulPaint")) { + const value_casted = value as (OnLargestContentfulPaintCallback | undefined) + this.getPeer()?.setOnLargestContentfulPaintAttribute(value_casted) + return this + } + return this + } + public onLoadIntercept(value: ((value0: OnLoadInterceptEvent) => boolean) | undefined): this { + if (this.checkPriority("onLoadIntercept")) { + const value_casted = value as (((value0: OnLoadInterceptEvent) => boolean) | undefined) + this.getPeer()?.setOnLoadInterceptAttribute(value_casted) + return this + } + return this + } + public onControllerAttached(value: (() => void) | undefined): this { + if (this.checkPriority("onControllerAttached")) { + const value_casted = value as ((() => void) | undefined) + this.getPeer()?.setOnControllerAttachedAttribute(value_casted) + return this + } + return this + } + public onOverScroll(value: ((value0: OnOverScrollEvent) => void) | undefined): this { + if (this.checkPriority("onOverScroll")) { + const value_casted = value as (((value0: OnOverScrollEvent) => void) | undefined) + this.getPeer()?.setOnOverScrollAttribute(value_casted) + return this + } + return this + } + public onSafeBrowsingCheckResult(value: OnSafeBrowsingCheckResultCallback | undefined): this { + if (this.checkPriority("onSafeBrowsingCheckResult")) { + const value_casted = value as (OnSafeBrowsingCheckResultCallback | undefined) + this.getPeer()?.setOnSafeBrowsingCheckResultAttribute(value_casted) + return this + } + return this + } + public onNavigationEntryCommitted(value: OnNavigationEntryCommittedCallback | undefined): this { + if (this.checkPriority("onNavigationEntryCommitted")) { + const value_casted = value as (OnNavigationEntryCommittedCallback | undefined) + this.getPeer()?.setOnNavigationEntryCommittedAttribute(value_casted) + return this + } + return this + } + public onIntelligentTrackingPreventionResult(value: OnIntelligentTrackingPreventionCallback | undefined): this { + if (this.checkPriority("onIntelligentTrackingPreventionResult")) { + const value_casted = value as (OnIntelligentTrackingPreventionCallback | undefined) + this.getPeer()?.setOnIntelligentTrackingPreventionResultAttribute(value_casted) + return this + } + return this + } + public javaScriptOnDocumentStart(value: Array | undefined): this { + if (this.checkPriority("javaScriptOnDocumentStart")) { + const value_casted = value as (Array | undefined) + this.getPeer()?.setJavaScriptOnDocumentStartAttribute(value_casted) + return this + } + return this + } + public javaScriptOnDocumentEnd(value: Array | undefined): this { + if (this.checkPriority("javaScriptOnDocumentEnd")) { + const value_casted = value as (Array | undefined) + this.getPeer()?.setJavaScriptOnDocumentEndAttribute(value_casted) + return this + } + return this + } + public layoutMode(value: WebLayoutMode | undefined): this { + if (this.checkPriority("layoutMode")) { + const value_casted = value as (WebLayoutMode | undefined) + this.getPeer()?.setLayoutModeAttribute(value_casted) + return this + } + return this + } + public nestedScroll(value: NestedScrollOptions | NestedScrollOptionsExt | undefined): this { + if (this.checkPriority("nestedScroll")) { + const value_casted = value as (NestedScrollOptions | NestedScrollOptionsExt | undefined) + this.getPeer()?.setNestedScrollAttribute(value_casted) + return this + } + return this + } + public enableNativeEmbedMode(value: boolean | undefined): this { + if (this.checkPriority("enableNativeEmbedMode")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setEnableNativeEmbedModeAttribute(value_casted) + return this + } + return this + } + public onNativeEmbedLifecycleChange(value: ((event: NativeEmbedDataInfo) => void) | undefined): this { + if (this.checkPriority("onNativeEmbedLifecycleChange")) { + const value_casted = value as (((event: NativeEmbedDataInfo) => void) | undefined) + this.getPeer()?.setOnNativeEmbedLifecycleChangeAttribute(value_casted) + return this + } + return this + } + public onNativeEmbedVisibilityChange(value: OnNativeEmbedVisibilityChangeCallback | undefined): this { + if (this.checkPriority("onNativeEmbedVisibilityChange")) { + const value_casted = value as (OnNativeEmbedVisibilityChangeCallback | undefined) + this.getPeer()?.setOnNativeEmbedVisibilityChangeAttribute(value_casted) + return this + } + return this + } + public onNativeEmbedGestureEvent(value: ((event: NativeEmbedTouchInfo) => void) | undefined): this { + if (this.checkPriority("onNativeEmbedGestureEvent")) { + const value_casted = value as (((event: NativeEmbedTouchInfo) => void) | undefined) + this.getPeer()?.setOnNativeEmbedGestureEventAttribute(value_casted) + return this + } + return this + } + public copyOptions(value: CopyOptions | undefined): this { + if (this.checkPriority("copyOptions")) { + const value_casted = value as (CopyOptions | undefined) + this.getPeer()?.setCopyOptionsAttribute(value_casted) + return this + } + return this + } + public onOverrideUrlLoading(value: OnOverrideUrlLoadingCallback | undefined): this { + if (this.checkPriority("onOverrideUrlLoading")) { + const value_casted = value as (OnOverrideUrlLoadingCallback | undefined) + this.getPeer()?.setOnOverrideUrlLoadingAttribute(value_casted) + return this + } + return this + } + public textAutosizing(value: boolean | undefined): this { + if (this.checkPriority("textAutosizing")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setTextAutosizingAttribute(value_casted) + return this + } + return this + } + public enableNativeMediaPlayer(value: NativeMediaPlayerConfig | undefined): this { + if (this.checkPriority("enableNativeMediaPlayer")) { + const value_casted = value as (NativeMediaPlayerConfig | undefined) + this.getPeer()?.setEnableNativeMediaPlayerAttribute(value_casted) + return this + } + return this + } + public onRenderProcessNotResponding(value: OnRenderProcessNotRespondingCallback | undefined): this { + if (this.checkPriority("onRenderProcessNotResponding")) { + const value_casted = value as (OnRenderProcessNotRespondingCallback | undefined) + this.getPeer()?.setOnRenderProcessNotRespondingAttribute(value_casted) + return this + } + return this + } + public onRenderProcessResponding(value: OnRenderProcessRespondingCallback | undefined): this { + if (this.checkPriority("onRenderProcessResponding")) { + const value_casted = value as (OnRenderProcessRespondingCallback | undefined) + this.getPeer()?.setOnRenderProcessRespondingAttribute(value_casted) + return this + } + return this + } + public onViewportFitChanged(value: OnViewportFitChangedCallback | undefined): this { + if (this.checkPriority("onViewportFitChanged")) { + const value_casted = value as (OnViewportFitChangedCallback | undefined) + this.getPeer()?.setOnViewportFitChangedAttribute(value_casted) + return this + } + return this + } + public onInterceptKeyboardAttach(value: WebKeyboardCallback | undefined): this { + if (this.checkPriority("onInterceptKeyboardAttach")) { + const value_casted = value as (WebKeyboardCallback | undefined) + this.getPeer()?.setOnInterceptKeyboardAttachAttribute(value_casted) + return this + } + return this + } + public onAdsBlocked(value: OnAdsBlockedCallback | undefined): this { + if (this.checkPriority("onAdsBlocked")) { + const value_casted = value as (OnAdsBlockedCallback | undefined) + this.getPeer()?.setOnAdsBlockedAttribute(value_casted) + return this + } + return this + } + public keyboardAvoidMode(value: WebKeyboardAvoidMode | undefined): this { + if (this.checkPriority("keyboardAvoidMode")) { + const value_casted = value as (WebKeyboardAvoidMode | undefined) + this.getPeer()?.setKeyboardAvoidModeAttribute(value_casted) + return this + } + return this + } + public editMenuOptions(value: EditMenuOptions | undefined): this { + if (this.checkPriority("editMenuOptions")) { + const value_casted = value as (EditMenuOptions | undefined) + this.getPeer()?.setEditMenuOptionsAttribute(value_casted) + return this + } + return this + } + public enableHapticFeedback(value: boolean | undefined): this { + if (this.checkPriority("enableHapticFeedback")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setEnableHapticFeedbackAttribute(value_casted) + return this + } + return this + } + public optimizeParserBudget(value: boolean | undefined): this { + if (this.checkPriority("optimizeParserBudget")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setOptimizeParserBudgetAttribute(value_casted) + return this + } + return this + } + public enableFollowSystemFontWeight(value: boolean | undefined): this { + if (this.checkPriority("enableFollowSystemFontWeight")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setEnableFollowSystemFontWeightAttribute(value_casted) + return this + } + return this + } + public enableWebAVSession(value: boolean | undefined): this { + if (this.checkPriority("enableWebAVSession")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.setEnableWebAVSessionAttribute(value_casted) + return this + } + return this + } + public runJavaScriptOnDocumentStart(value: Array | undefined): this { + if (this.checkPriority("runJavaScriptOnDocumentStart")) { + const value_casted = value as (Array | undefined) + this.getPeer()?.setRunJavaScriptOnDocumentStartAttribute(value_casted) + return this + } + return this + } + public runJavaScriptOnDocumentEnd(value: Array | undefined): this { + if (this.checkPriority("runJavaScriptOnDocumentEnd")) { + const value_casted = value as (Array | undefined) + this.getPeer()?.setRunJavaScriptOnDocumentEndAttribute(value_casted) + return this + } + return this + } + public runJavaScriptOnHeadEnd(value: Array | undefined): this { + if (this.checkPriority("runJavaScriptOnHeadEnd")) { + const value_casted = value as (Array | undefined) + this.getPeer()?.setRunJavaScriptOnHeadEndAttribute(value_casted) + return this + } + return this + } + public nativeEmbedOptions(value: EmbedOptions | undefined): this { + if (this.checkPriority("nativeEmbedOptions")) { + const value_casted = value as (EmbedOptions | undefined) + this.getPeer()?.setNativeEmbedOptionsAttribute(value_casted) + return this + } + return this + } + public registerNativeEmbedRule(tag: string | undefined, type: string | undefined): this { + if (this.checkPriority("registerNativeEmbedRule")) { + const tag_casted = tag as (string | undefined) + const type_casted = type as (string | undefined) + this.getPeer()?.setRegisterNativeEmbedRuleAttribute(tag_casted, type_casted) + return this + } + return this + } + public bindSelectionMenu(elementType: WebElementType | undefined, content: CustomBuilder | undefined, responseType: WebResponseType | undefined, options?: SelectionMenuOptionsExt): this { + if (this.checkPriority("bindSelectionMenu")) { + const elementType_casted = elementType as (WebElementType | undefined) + const content_casted = content as (CustomBuilder | undefined) + const responseType_casted = responseType as (WebResponseType | undefined) + const options_casted = options as (SelectionMenuOptionsExt | undefined) + this.getPeer()?.setBindSelectionMenuAttribute(elementType_casted, content_casted, responseType_casted, options_casted) + return this + } + return this + } + public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { + return this + } + public applyAttributesFinish(): void { + // we call this function outside of class, so need to make it public + super.applyAttributesFinish() + } +} + +@memo +export function Web( + @memo + style: ((attributes: WebAttribute) => void) | undefined, + value: WebOptions, + @memo + content_?: () => void, +): void { + const receiver = remember((): ArkWebComponent => { + return new ArkWebComponent() + }) + NodeAttach((): ArkWebPeer => ArkWebPeer.create(receiver), (_: ArkWebPeer): void => { + receiver.setWebOptions(value) + style?.(receiver) + content_?.() + receiver.applyAttributesFinish() + }) +} + +export class ClientAuthenticationHandler_serializer { + public static write(buffer: SerializerBase, value: ClientAuthenticationHandler): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): ClientAuthenticationHandler { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return ClientAuthenticationHandlerInternal.fromPtr(ptr) + } +} +export class ConsoleMessage_serializer { + public static write(buffer: SerializerBase, value: ConsoleMessage): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): ConsoleMessage { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return ConsoleMessageInternal.fromPtr(ptr) + } +} +export class ControllerHandler_serializer { + public static write(buffer: SerializerBase, value: ControllerHandler): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): ControllerHandler { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return ControllerHandlerInternal.fromPtr(ptr) + } +} +export class DataResubmissionHandler_serializer { + public static write(buffer: SerializerBase, value: DataResubmissionHandler): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): DataResubmissionHandler { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return DataResubmissionHandlerInternal.fromPtr(ptr) + } +} +export class EventResult_serializer { + public static write(buffer: SerializerBase, value: EventResult): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): EventResult { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return EventResultInternal.fromPtr(ptr) + } +} +export class FileSelectorParam_serializer { + public static write(buffer: SerializerBase, value: FileSelectorParam): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): FileSelectorParam { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return FileSelectorParamInternal.fromPtr(ptr) + } +} +export class FileSelectorResult_serializer { + public static write(buffer: SerializerBase, value: FileSelectorResult): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): FileSelectorResult { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return FileSelectorResultInternal.fromPtr(ptr) + } +} +export class FullScreenExitHandler_serializer { + public static write(buffer: SerializerBase, value: FullScreenExitHandler): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): FullScreenExitHandler { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return FullScreenExitHandlerInternal.fromPtr(ptr) + } +} +export class HttpAuthHandler_serializer { + public static write(buffer: SerializerBase, value: HttpAuthHandler): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): HttpAuthHandler { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return HttpAuthHandlerInternal.fromPtr(ptr) + } +} +export class JsGeolocation_serializer { + public static write(buffer: SerializerBase, value: JsGeolocation): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): JsGeolocation { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return JsGeolocationInternal.fromPtr(ptr) + } +} +export class JsResult_serializer { + public static write(buffer: SerializerBase, value: JsResult): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): JsResult { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return JsResultInternal.fromPtr(ptr) + } +} +export class NativeMediaPlayerConfig_serializer { + public static write(buffer: SerializerBase, value: NativeMediaPlayerConfig): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForEnable = value.enable + valueSerializer.writeBoolean(valueHolderForEnable) + const valueHolderForShouldOverlay = value.shouldOverlay + valueSerializer.writeBoolean(valueHolderForShouldOverlay) + } + public static read(buffer: DeserializerBase): NativeMediaPlayerConfig { + let valueDeserializer : DeserializerBase = buffer + const enableTmpResult : boolean = valueDeserializer.readBoolean() + const shouldOverlayTmpResult : boolean = valueDeserializer.readBoolean() + let value : NativeMediaPlayerConfig = ({enable: enableTmpResult, shouldOverlay: shouldOverlayTmpResult} as NativeMediaPlayerConfig) + return value + } +} +export class OnAudioStateChangedEvent_serializer { + public static write(buffer: SerializerBase, value: OnAudioStateChangedEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForPlaying = value.playing + valueSerializer.writeBoolean(valueHolderForPlaying) + } + public static read(buffer: DeserializerBase): OnAudioStateChangedEvent { + let valueDeserializer : DeserializerBase = buffer + const playingTmpResult : boolean = valueDeserializer.readBoolean() + let value : OnAudioStateChangedEvent = ({playing: playingTmpResult} as OnAudioStateChangedEvent) + return value + } +} +export class OnConsoleEvent_serializer { + public static write(buffer: SerializerBase, value: OnConsoleEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForMessage = value.message + ConsoleMessage_serializer.write(valueSerializer, valueHolderForMessage) + } + public static read(buffer: DeserializerBase): OnConsoleEvent { + let valueDeserializer : DeserializerBase = buffer + const messageTmpResult : ConsoleMessage = (ConsoleMessage_serializer.read(valueDeserializer) as ConsoleMessage) + let value : OnConsoleEvent = ({message: messageTmpResult} as OnConsoleEvent) + return value + } +} +export class OnDataResubmittedEvent_serializer { + public static write(buffer: SerializerBase, value: OnDataResubmittedEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForHandler = value.handler + DataResubmissionHandler_serializer.write(valueSerializer, valueHolderForHandler) + } + public static read(buffer: DeserializerBase): OnDataResubmittedEvent { + let valueDeserializer : DeserializerBase = buffer + const handlerTmpResult : DataResubmissionHandler = (DataResubmissionHandler_serializer.read(valueDeserializer) as DataResubmissionHandler) + let value : OnDataResubmittedEvent = ({handler: handlerTmpResult} as OnDataResubmittedEvent) + return value + } +} +export class OnFaviconReceivedEvent_serializer { + public static write(buffer: SerializerBase, value: OnFaviconReceivedEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForFavicon = value.favicon + image_PixelMap_serializer.write(valueSerializer, valueHolderForFavicon) + } + public static read(buffer: DeserializerBase): OnFaviconReceivedEvent { + let valueDeserializer : DeserializerBase = buffer + const faviconTmpResult : image.PixelMap = (image_PixelMap_serializer.read(valueDeserializer) as image.PixelMap) + let value : OnFaviconReceivedEvent = ({favicon: faviconTmpResult} as OnFaviconReceivedEvent) + return value + } +} +export class OnFirstContentfulPaintEvent_serializer { + public static write(buffer: SerializerBase, value: OnFirstContentfulPaintEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForNavigationStartTick = value.navigationStartTick + valueSerializer.writeInt64(valueHolderForNavigationStartTick) + const valueHolderForFirstContentfulPaintMs = value.firstContentfulPaintMs + valueSerializer.writeInt64(valueHolderForFirstContentfulPaintMs) + } + public static read(buffer: DeserializerBase): OnFirstContentfulPaintEvent { + let valueDeserializer : DeserializerBase = buffer + const navigationStartTickTmpResult : int64 = valueDeserializer.readInt64() + const firstContentfulPaintMsTmpResult : int64 = valueDeserializer.readInt64() + let value : OnFirstContentfulPaintEvent = ({navigationStartTick: navigationStartTickTmpResult, firstContentfulPaintMs: firstContentfulPaintMsTmpResult} as OnFirstContentfulPaintEvent) + return value + } +} +export class OnOverScrollEvent_serializer { + public static write(buffer: SerializerBase, value: OnOverScrollEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForXOffset = value.xOffset + valueSerializer.writeFloat64(valueHolderForXOffset) + const valueHolderForYOffset = value.yOffset + valueSerializer.writeFloat64(valueHolderForYOffset) + } + public static read(buffer: DeserializerBase): OnOverScrollEvent { + let valueDeserializer : DeserializerBase = buffer + const xOffsetTmpResult : double = valueDeserializer.readFloat64() + const yOffsetTmpResult : double = valueDeserializer.readFloat64() + let value : OnOverScrollEvent = ({xOffset: xOffsetTmpResult, yOffset: yOffsetTmpResult} as OnOverScrollEvent) + return value + } +} +export class OnProgressChangeEvent_serializer { + public static write(buffer: SerializerBase, value: OnProgressChangeEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForNewProgress = value.newProgress + valueSerializer.writeInt32(valueHolderForNewProgress) + } + public static read(buffer: DeserializerBase): OnProgressChangeEvent { + let valueDeserializer : DeserializerBase = buffer + const newProgressTmpResult : int32 = valueDeserializer.readInt32() + let value : OnProgressChangeEvent = ({newProgress: newProgressTmpResult} as OnProgressChangeEvent) + return value + } +} +export class OnScaleChangeEvent_serializer { + public static write(buffer: SerializerBase, value: OnScaleChangeEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForOldScale = value.oldScale + valueSerializer.writeFloat64(valueHolderForOldScale) + const valueHolderForNewScale = value.newScale + valueSerializer.writeFloat64(valueHolderForNewScale) + } + public static read(buffer: DeserializerBase): OnScaleChangeEvent { + let valueDeserializer : DeserializerBase = buffer + const oldScaleTmpResult : double = valueDeserializer.readFloat64() + const newScaleTmpResult : double = valueDeserializer.readFloat64() + let value : OnScaleChangeEvent = ({oldScale: oldScaleTmpResult, newScale: newScaleTmpResult} as OnScaleChangeEvent) + return value + } +} +export class OnScrollEvent_serializer { + public static write(buffer: SerializerBase, value: OnScrollEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForXOffset = value.xOffset + valueSerializer.writeFloat64(valueHolderForXOffset) + const valueHolderForYOffset = value.yOffset + valueSerializer.writeFloat64(valueHolderForYOffset) + } + public static read(buffer: DeserializerBase): OnScrollEvent { + let valueDeserializer : DeserializerBase = buffer + const xOffsetTmpResult : double = valueDeserializer.readFloat64() + const yOffsetTmpResult : double = valueDeserializer.readFloat64() + let value : OnScrollEvent = ({xOffset: xOffsetTmpResult, yOffset: yOffsetTmpResult} as OnScrollEvent) + return value + } +} +export class OnSearchResultReceiveEvent_serializer { + public static write(buffer: SerializerBase, value: OnSearchResultReceiveEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForActiveMatchOrdinal = value.activeMatchOrdinal + valueSerializer.writeNumber(valueHolderForActiveMatchOrdinal) + const valueHolderForNumberOfMatches = value.numberOfMatches + valueSerializer.writeNumber(valueHolderForNumberOfMatches) + const valueHolderForIsDoneCounting = value.isDoneCounting + valueSerializer.writeBoolean(valueHolderForIsDoneCounting) + } + public static read(buffer: DeserializerBase): OnSearchResultReceiveEvent { + let valueDeserializer : DeserializerBase = buffer + const activeMatchOrdinalTmpResult : number = (valueDeserializer.readNumber() as number) + const numberOfMatchesTmpResult : number = (valueDeserializer.readNumber() as number) + const isDoneCountingTmpResult : boolean = valueDeserializer.readBoolean() + let value : OnSearchResultReceiveEvent = ({activeMatchOrdinal: activeMatchOrdinalTmpResult, numberOfMatches: numberOfMatchesTmpResult, isDoneCounting: isDoneCountingTmpResult} as OnSearchResultReceiveEvent) + return value + } +} +export class OnShowFileSelectorEvent_serializer { + public static write(buffer: SerializerBase, value: OnShowFileSelectorEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForResult = value.result + FileSelectorResult_serializer.write(valueSerializer, valueHolderForResult) + const valueHolderForFileSelector = value.fileSelector + FileSelectorParam_serializer.write(valueSerializer, valueHolderForFileSelector) + } + public static read(buffer: DeserializerBase): OnShowFileSelectorEvent { + let valueDeserializer : DeserializerBase = buffer + const resultTmpResult : FileSelectorResult = (FileSelectorResult_serializer.read(valueDeserializer) as FileSelectorResult) + const fileSelectorTmpResult : FileSelectorParam = (FileSelectorParam_serializer.read(valueDeserializer) as FileSelectorParam) + let value : OnShowFileSelectorEvent = ({result: resultTmpResult, fileSelector: fileSelectorTmpResult} as OnShowFileSelectorEvent) + return value + } +} +export class PermissionRequest_serializer { + public static write(buffer: SerializerBase, value: PermissionRequest): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): PermissionRequest { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return PermissionRequestInternal.fromPtr(ptr) + } +} +export class ScreenCaptureHandler_serializer { + public static write(buffer: SerializerBase, value: ScreenCaptureHandler): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): ScreenCaptureHandler { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return ScreenCaptureHandlerInternal.fromPtr(ptr) + } +} +export class SslErrorHandler_serializer { + public static write(buffer: SerializerBase, value: SslErrorHandler): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): SslErrorHandler { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return SslErrorHandlerInternal.fromPtr(ptr) + } +} +export class WebContextMenuParam_serializer { + public static write(buffer: SerializerBase, value: WebContextMenuParam): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): WebContextMenuParam { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return WebContextMenuParamInternal.fromPtr(ptr) + } +} +export class WebContextMenuResult_serializer { + public static write(buffer: SerializerBase, value: WebContextMenuResult): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): WebContextMenuResult { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return WebContextMenuResultInternal.fromPtr(ptr) + } +} +export class WebCookie_serializer { + public static write(buffer: SerializerBase, value: WebCookie): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): WebCookie { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return WebCookieInternal.fromPtr(ptr) + } +} +export class WebKeyboardController_serializer { + public static write(buffer: SerializerBase, value: WebKeyboardController): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): WebKeyboardController { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return WebKeyboardControllerInternal.fromPtr(ptr) + } +} +export class WebResourceError_serializer { + public static write(buffer: SerializerBase, value: WebResourceError): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): WebResourceError { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return WebResourceErrorInternal.fromPtr(ptr) + } +} +export class WebResourceRequest_serializer { + public static write(buffer: SerializerBase, value: WebResourceRequest): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): WebResourceRequest { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return WebResourceRequestInternal.fromPtr(ptr) + } +} +export class WebResourceResponse_serializer { + public static write(buffer: SerializerBase, value: WebResourceResponse): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): WebResourceResponse { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return WebResourceResponseInternal.fromPtr(ptr) + } +} +export class AdsBlockedDetails_serializer { + public static write(buffer: SerializerBase, value: AdsBlockedDetails): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForUrl = value.url + valueSerializer.writeString(valueHolderForUrl) + const valueHolderForAdsBlocked = value.adsBlocked + valueSerializer.writeInt32((valueHolderForAdsBlocked.length).toInt()) + for (let valueHolderForAdsBlockedCounterI = 0; valueHolderForAdsBlockedCounterI < valueHolderForAdsBlocked.length; valueHolderForAdsBlockedCounterI++) { + const valueHolderForAdsBlockedTmpElement : string = valueHolderForAdsBlocked[valueHolderForAdsBlockedCounterI] + valueSerializer.writeString(valueHolderForAdsBlockedTmpElement) + } + } + public static read(buffer: DeserializerBase): AdsBlockedDetails { + let valueDeserializer : DeserializerBase = buffer + const urlTmpResult : string = (valueDeserializer.readString() as string) + const adsBlockedTmpBufLength : int32 = valueDeserializer.readInt32() + let adsBlockedTmpBuf : Array = new Array(adsBlockedTmpBufLength) + for (let adsBlockedTmpBufBufCounterI = 0; adsBlockedTmpBufBufCounterI < adsBlockedTmpBufLength; adsBlockedTmpBufBufCounterI++) { + adsBlockedTmpBuf[adsBlockedTmpBufBufCounterI] = (valueDeserializer.readString() as string) + } + const adsBlockedTmpResult : Array = adsBlockedTmpBuf + let value : AdsBlockedDetails = ({url: urlTmpResult, adsBlocked: adsBlockedTmpResult} as AdsBlockedDetails) + return value + } +} +export class EmbedOptions_serializer { + public static write(buffer: SerializerBase, value: EmbedOptions): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForSupportDefaultIntrinsicSize = value.supportDefaultIntrinsicSize + if (valueHolderForSupportDefaultIntrinsicSize !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForSupportDefaultIntrinsicSizeTmpValue = valueHolderForSupportDefaultIntrinsicSize! + valueSerializer.writeBoolean(valueHolderForSupportDefaultIntrinsicSizeTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + } + public static read(buffer: DeserializerBase): EmbedOptions { + let valueDeserializer : DeserializerBase = buffer + const supportDefaultIntrinsicSizeTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let supportDefaultIntrinsicSizeTmpBuf : boolean | undefined + if ((supportDefaultIntrinsicSizeTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + supportDefaultIntrinsicSizeTmpBuf = valueDeserializer.readBoolean() + } + const supportDefaultIntrinsicSizeTmpResult : boolean | undefined = supportDefaultIntrinsicSizeTmpBuf + let value : EmbedOptions = ({supportDefaultIntrinsicSize: supportDefaultIntrinsicSizeTmpResult} as EmbedOptions) + return value + } +} +export class FirstMeaningfulPaint_serializer { + public static write(buffer: SerializerBase, value: FirstMeaningfulPaint): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForNavigationStartTime = value.navigationStartTime + if (valueHolderForNavigationStartTime !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForNavigationStartTimeTmpValue = valueHolderForNavigationStartTime! + valueSerializer.writeInt64(valueHolderForNavigationStartTimeTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForFirstMeaningfulPaintTime = value.firstMeaningfulPaintTime + if (valueHolderForFirstMeaningfulPaintTime !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForFirstMeaningfulPaintTimeTmpValue = valueHolderForFirstMeaningfulPaintTime! + valueSerializer.writeInt64(valueHolderForFirstMeaningfulPaintTimeTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + } + public static read(buffer: DeserializerBase): FirstMeaningfulPaint { + let valueDeserializer : DeserializerBase = buffer + const navigationStartTimeTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let navigationStartTimeTmpBuf : int64 | undefined + if ((navigationStartTimeTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + navigationStartTimeTmpBuf = valueDeserializer.readInt64() + } + const navigationStartTimeTmpResult : int64 | undefined = navigationStartTimeTmpBuf + const firstMeaningfulPaintTimeTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let firstMeaningfulPaintTimeTmpBuf : int64 | undefined + if ((firstMeaningfulPaintTimeTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + firstMeaningfulPaintTimeTmpBuf = valueDeserializer.readInt64() + } + const firstMeaningfulPaintTimeTmpResult : int64 | undefined = firstMeaningfulPaintTimeTmpBuf + let value : FirstMeaningfulPaint = ({navigationStartTime: navigationStartTimeTmpResult, firstMeaningfulPaintTime: firstMeaningfulPaintTimeTmpResult} as FirstMeaningfulPaint) + return value + } +} +export class FullScreenEnterEvent_serializer { + public static write(buffer: SerializerBase, value: FullScreenEnterEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForHandler = value.handler + FullScreenExitHandler_serializer.write(valueSerializer, valueHolderForHandler) + const valueHolderForVideoWidth = value.videoWidth + if (valueHolderForVideoWidth !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForVideoWidthTmpValue = valueHolderForVideoWidth! + valueSerializer.writeNumber(valueHolderForVideoWidthTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForVideoHeight = value.videoHeight + if (valueHolderForVideoHeight !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForVideoHeightTmpValue = valueHolderForVideoHeight! + valueSerializer.writeNumber(valueHolderForVideoHeightTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + } + public static read(buffer: DeserializerBase): FullScreenEnterEvent { + let valueDeserializer : DeserializerBase = buffer + const handlerTmpResult : FullScreenExitHandler = (FullScreenExitHandler_serializer.read(valueDeserializer) as FullScreenExitHandler) + const videoWidthTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let videoWidthTmpBuf : number | undefined + if ((videoWidthTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + videoWidthTmpBuf = (valueDeserializer.readNumber() as number) + } + const videoWidthTmpResult : number | undefined = videoWidthTmpBuf + const videoHeightTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let videoHeightTmpBuf : number | undefined + if ((videoHeightTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + videoHeightTmpBuf = (valueDeserializer.readNumber() as number) + } + const videoHeightTmpResult : number | undefined = videoHeightTmpBuf + let value : FullScreenEnterEvent = ({handler: handlerTmpResult, videoWidth: videoWidthTmpResult, videoHeight: videoHeightTmpResult} as FullScreenEnterEvent) + return value + } +} +export class Header_serializer { + public static write(buffer: SerializerBase, value: Header): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForHeaderKey = value.headerKey + valueSerializer.writeString(valueHolderForHeaderKey) + const valueHolderForHeaderValue = value.headerValue + valueSerializer.writeString(valueHolderForHeaderValue) + } + public static read(buffer: DeserializerBase): Header { + let valueDeserializer : DeserializerBase = buffer + const headerKeyTmpResult : string = (valueDeserializer.readString() as string) + const headerValueTmpResult : string = (valueDeserializer.readString() as string) + let value : Header = ({headerKey: headerKeyTmpResult, headerValue: headerValueTmpResult} as Header) + return value + } +} +export class IntelligentTrackingPreventionDetails_serializer { + public static write(buffer: SerializerBase, value: IntelligentTrackingPreventionDetails): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForHost = value.host + valueSerializer.writeString(valueHolderForHost) + const valueHolderForTrackerHost = value.trackerHost + valueSerializer.writeString(valueHolderForTrackerHost) + } + public static read(buffer: DeserializerBase): IntelligentTrackingPreventionDetails { + let valueDeserializer : DeserializerBase = buffer + const hostTmpResult : string = (valueDeserializer.readString() as string) + const trackerHostTmpResult : string = (valueDeserializer.readString() as string) + let value : IntelligentTrackingPreventionDetails = ({host: hostTmpResult, trackerHost: trackerHostTmpResult} as IntelligentTrackingPreventionDetails) + return value + } +} +export class JavaScriptProxy_serializer { + public static write(buffer: SerializerBase, value: JavaScriptProxy): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForObject_ = value.object_ + valueSerializer.holdAndWriteObject(valueHolderForObject_) + const valueHolderForName = value.name + valueSerializer.writeString(valueHolderForName) + const valueHolderForMethodList = value.methodList + valueSerializer.writeInt32((valueHolderForMethodList.length).toInt()) + for (let valueHolderForMethodListCounterI = 0; valueHolderForMethodListCounterI < valueHolderForMethodList.length; valueHolderForMethodListCounterI++) { + const valueHolderForMethodListTmpElement : string = valueHolderForMethodList[valueHolderForMethodListCounterI] + valueSerializer.writeString(valueHolderForMethodListTmpElement) + } + const valueHolderForController = value.controller + webview_WebviewController_serializer.write(valueSerializer, valueHolderForController) + const valueHolderForAsyncMethodList = value.asyncMethodList + if (valueHolderForAsyncMethodList !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForAsyncMethodListTmpValue = valueHolderForAsyncMethodList! + valueSerializer.writeInt32((valueHolderForAsyncMethodListTmpValue.length).toInt()) + for (let valueHolderForAsyncMethodListTmpValueCounterI = 0; valueHolderForAsyncMethodListTmpValueCounterI < valueHolderForAsyncMethodListTmpValue.length; valueHolderForAsyncMethodListTmpValueCounterI++) { + const valueHolderForAsyncMethodListTmpValueTmpElement : string = valueHolderForAsyncMethodListTmpValue[valueHolderForAsyncMethodListTmpValueCounterI] + valueSerializer.writeString(valueHolderForAsyncMethodListTmpValueTmpElement) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForPermission = value.permission + if (valueHolderForPermission !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForPermissionTmpValue = valueHolderForPermission! + valueSerializer.writeString(valueHolderForPermissionTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + } + public static read(buffer: DeserializerBase): JavaScriptProxy { + let valueDeserializer : DeserializerBase = buffer + const object_TmpResult : Object = (valueDeserializer.readObject() as object) + const nameTmpResult : string = (valueDeserializer.readString() as string) + const methodListTmpBufLength : int32 = valueDeserializer.readInt32() + let methodListTmpBuf : Array = new Array(methodListTmpBufLength) + for (let methodListTmpBufBufCounterI = 0; methodListTmpBufBufCounterI < methodListTmpBufLength; methodListTmpBufBufCounterI++) { + methodListTmpBuf[methodListTmpBufBufCounterI] = (valueDeserializer.readString() as string) + } + const methodListTmpResult : Array = methodListTmpBuf + const controllerTmpResult : webview.WebviewController = (webview_WebviewController_serializer.read(valueDeserializer) as webview.WebviewController) + const asyncMethodListTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let asyncMethodListTmpBuf : Array | undefined + if ((asyncMethodListTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const asyncMethodListTmpBuf_Length : int32 = valueDeserializer.readInt32() + let asyncMethodListTmpBuf_ : Array = new Array(asyncMethodListTmpBuf_Length) + for (let asyncMethodListTmpBuf_BufCounterI = 0; asyncMethodListTmpBuf_BufCounterI < asyncMethodListTmpBuf_Length; asyncMethodListTmpBuf_BufCounterI++) { + asyncMethodListTmpBuf_[asyncMethodListTmpBuf_BufCounterI] = (valueDeserializer.readString() as string) + } + asyncMethodListTmpBuf = asyncMethodListTmpBuf_ + } + const asyncMethodListTmpResult : Array | undefined = asyncMethodListTmpBuf + const permissionTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let permissionTmpBuf : string | undefined + if ((permissionTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + permissionTmpBuf = (valueDeserializer.readString() as string) + } + const permissionTmpResult : string | undefined = permissionTmpBuf + let value : JavaScriptProxy = ({object_: object_TmpResult, name: nameTmpResult, methodList: methodListTmpResult, controller: controllerTmpResult, asyncMethodList: asyncMethodListTmpResult, permission: permissionTmpResult} as JavaScriptProxy) + return value + } +} +export class LargestContentfulPaint_serializer { + public static write(buffer: SerializerBase, value: LargestContentfulPaint): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForNavigationStartTime = value.navigationStartTime + if (valueHolderForNavigationStartTime !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForNavigationStartTimeTmpValue = valueHolderForNavigationStartTime! + valueSerializer.writeInt64(valueHolderForNavigationStartTimeTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForLargestImagePaintTime = value.largestImagePaintTime + if (valueHolderForLargestImagePaintTime !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForLargestImagePaintTimeTmpValue = valueHolderForLargestImagePaintTime! + valueSerializer.writeInt64(valueHolderForLargestImagePaintTimeTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForLargestTextPaintTime = value.largestTextPaintTime + if (valueHolderForLargestTextPaintTime !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForLargestTextPaintTimeTmpValue = valueHolderForLargestTextPaintTime! + valueSerializer.writeInt64(valueHolderForLargestTextPaintTimeTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForImageBPP = value.imageBPP + if (valueHolderForImageBPP !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForImageBPPTmpValue = valueHolderForImageBPP! + valueSerializer.writeFloat64(valueHolderForImageBPPTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForLargestImageLoadStartTime = value.largestImageLoadStartTime + if (valueHolderForLargestImageLoadStartTime !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForLargestImageLoadStartTimeTmpValue = valueHolderForLargestImageLoadStartTime! + valueSerializer.writeInt64(valueHolderForLargestImageLoadStartTimeTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForLargestImageLoadEndTime = value.largestImageLoadEndTime + if (valueHolderForLargestImageLoadEndTime !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForLargestImageLoadEndTimeTmpValue = valueHolderForLargestImageLoadEndTime! + valueSerializer.writeInt64(valueHolderForLargestImageLoadEndTimeTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + } + public static read(buffer: DeserializerBase): LargestContentfulPaint { + let valueDeserializer : DeserializerBase = buffer + const navigationStartTimeTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let navigationStartTimeTmpBuf : int64 | undefined + if ((navigationStartTimeTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + navigationStartTimeTmpBuf = valueDeserializer.readInt64() + } + const navigationStartTimeTmpResult : int64 | undefined = navigationStartTimeTmpBuf + const largestImagePaintTimeTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let largestImagePaintTimeTmpBuf : int64 | undefined + if ((largestImagePaintTimeTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + largestImagePaintTimeTmpBuf = valueDeserializer.readInt64() + } + const largestImagePaintTimeTmpResult : int64 | undefined = largestImagePaintTimeTmpBuf + const largestTextPaintTimeTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let largestTextPaintTimeTmpBuf : int64 | undefined + if ((largestTextPaintTimeTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + largestTextPaintTimeTmpBuf = valueDeserializer.readInt64() + } + const largestTextPaintTimeTmpResult : int64 | undefined = largestTextPaintTimeTmpBuf + const imageBPPTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let imageBPPTmpBuf : double | undefined + if ((imageBPPTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + imageBPPTmpBuf = valueDeserializer.readFloat64() + } + const imageBPPTmpResult : double | undefined = imageBPPTmpBuf + const largestImageLoadStartTimeTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let largestImageLoadStartTimeTmpBuf : int64 | undefined + if ((largestImageLoadStartTimeTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + largestImageLoadStartTimeTmpBuf = valueDeserializer.readInt64() + } + const largestImageLoadStartTimeTmpResult : int64 | undefined = largestImageLoadStartTimeTmpBuf + const largestImageLoadEndTimeTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let largestImageLoadEndTimeTmpBuf : int64 | undefined + if ((largestImageLoadEndTimeTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + largestImageLoadEndTimeTmpBuf = valueDeserializer.readInt64() + } + const largestImageLoadEndTimeTmpResult : int64 | undefined = largestImageLoadEndTimeTmpBuf + let value : LargestContentfulPaint = ({navigationStartTime: navigationStartTimeTmpResult, largestImagePaintTime: largestImagePaintTimeTmpResult, largestTextPaintTime: largestTextPaintTimeTmpResult, imageBPP: imageBPPTmpResult, largestImageLoadStartTime: largestImageLoadStartTimeTmpResult, largestImageLoadEndTime: largestImageLoadEndTimeTmpResult} as LargestContentfulPaint) + return value + } +} +export class LoadCommittedDetails_serializer { + public static write(buffer: SerializerBase, value: LoadCommittedDetails): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForIsMainFrame = value.isMainFrame + valueSerializer.writeBoolean(valueHolderForIsMainFrame) + const valueHolderForIsSameDocument = value.isSameDocument + valueSerializer.writeBoolean(valueHolderForIsSameDocument) + const valueHolderForDidReplaceEntry = value.didReplaceEntry + valueSerializer.writeBoolean(valueHolderForDidReplaceEntry) + const valueHolderForNavigationType = value.navigationType + valueSerializer.writeInt32(TypeChecker.WebNavigationType_ToNumeric(valueHolderForNavigationType)) + const valueHolderForUrl = value.url + valueSerializer.writeString(valueHolderForUrl) + } + public static read(buffer: DeserializerBase): LoadCommittedDetails { + let valueDeserializer : DeserializerBase = buffer + const isMainFrameTmpResult : boolean = valueDeserializer.readBoolean() + const isSameDocumentTmpResult : boolean = valueDeserializer.readBoolean() + const didReplaceEntryTmpResult : boolean = valueDeserializer.readBoolean() + const navigationTypeTmpResult : WebNavigationType = TypeChecker.WebNavigationType_FromNumeric(valueDeserializer.readInt32()) + const urlTmpResult : string = (valueDeserializer.readString() as string) + let value : LoadCommittedDetails = ({isMainFrame: isMainFrameTmpResult, isSameDocument: isSameDocumentTmpResult, didReplaceEntry: didReplaceEntryTmpResult, navigationType: navigationTypeTmpResult, url: urlTmpResult} as LoadCommittedDetails) + return value + } +} +export class NativeEmbedVisibilityInfo_serializer { + public static write(buffer: SerializerBase, value: NativeEmbedVisibilityInfo): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForVisibility = value.visibility + valueSerializer.writeBoolean(valueHolderForVisibility) + const valueHolderForEmbedId = value.embedId + valueSerializer.writeString(valueHolderForEmbedId) + } + public static read(buffer: DeserializerBase): NativeEmbedVisibilityInfo { + let valueDeserializer : DeserializerBase = buffer + const visibilityTmpResult : boolean = valueDeserializer.readBoolean() + const embedIdTmpResult : string = (valueDeserializer.readString() as string) + let value : NativeEmbedVisibilityInfo = ({visibility: visibilityTmpResult, embedId: embedIdTmpResult} as NativeEmbedVisibilityInfo) + return value + } +} +export class NestedScrollOptionsExt_serializer { + public static write(buffer: SerializerBase, value: NestedScrollOptionsExt): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForScrollUp = value.scrollUp + if (valueHolderForScrollUp !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForScrollUpTmpValue = (valueHolderForScrollUp as NestedScrollMode) + valueSerializer.writeInt32(TypeChecker.NestedScrollMode_ToNumeric(valueHolderForScrollUpTmpValue)) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForScrollDown = value.scrollDown + if (valueHolderForScrollDown !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForScrollDownTmpValue = (valueHolderForScrollDown as NestedScrollMode) + valueSerializer.writeInt32(TypeChecker.NestedScrollMode_ToNumeric(valueHolderForScrollDownTmpValue)) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForScrollRight = value.scrollRight + if (valueHolderForScrollRight !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForScrollRightTmpValue = (valueHolderForScrollRight as NestedScrollMode) + valueSerializer.writeInt32(TypeChecker.NestedScrollMode_ToNumeric(valueHolderForScrollRightTmpValue)) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForScrollLeft = value.scrollLeft + if (valueHolderForScrollLeft !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForScrollLeftTmpValue = (valueHolderForScrollLeft as NestedScrollMode) + valueSerializer.writeInt32(TypeChecker.NestedScrollMode_ToNumeric(valueHolderForScrollLeftTmpValue)) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + } + public static read(buffer: DeserializerBase): NestedScrollOptionsExt { + let valueDeserializer : DeserializerBase = buffer + const scrollUpTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let scrollUpTmpBuf : NestedScrollMode | undefined + if ((scrollUpTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + scrollUpTmpBuf = TypeChecker.NestedScrollMode_FromNumeric(valueDeserializer.readInt32()) + } + const scrollUpTmpResult : NestedScrollMode | undefined = scrollUpTmpBuf + const scrollDownTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let scrollDownTmpBuf : NestedScrollMode | undefined + if ((scrollDownTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + scrollDownTmpBuf = TypeChecker.NestedScrollMode_FromNumeric(valueDeserializer.readInt32()) + } + const scrollDownTmpResult : NestedScrollMode | undefined = scrollDownTmpBuf + const scrollRightTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let scrollRightTmpBuf : NestedScrollMode | undefined + if ((scrollRightTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + scrollRightTmpBuf = TypeChecker.NestedScrollMode_FromNumeric(valueDeserializer.readInt32()) + } + const scrollRightTmpResult : NestedScrollMode | undefined = scrollRightTmpBuf + const scrollLeftTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let scrollLeftTmpBuf : NestedScrollMode | undefined + if ((scrollLeftTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + scrollLeftTmpBuf = TypeChecker.NestedScrollMode_FromNumeric(valueDeserializer.readInt32()) + } + const scrollLeftTmpResult : NestedScrollMode | undefined = scrollLeftTmpBuf + let value : NestedScrollOptionsExt = ({scrollUp: scrollUpTmpResult, scrollDown: scrollDownTmpResult, scrollRight: scrollRightTmpResult, scrollLeft: scrollLeftTmpResult} as NestedScrollOptionsExt) + return value + } +} +export class OnAlertEvent_serializer { + public static write(buffer: SerializerBase, value: OnAlertEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForUrl = value.url + valueSerializer.writeString(valueHolderForUrl) + const valueHolderForMessage = value.message + valueSerializer.writeString(valueHolderForMessage) + const valueHolderForResult = value.result + JsResult_serializer.write(valueSerializer, valueHolderForResult) + } + public static read(buffer: DeserializerBase): OnAlertEvent { + let valueDeserializer : DeserializerBase = buffer + const urlTmpResult : string = (valueDeserializer.readString() as string) + const messageTmpResult : string = (valueDeserializer.readString() as string) + const resultTmpResult : JsResult = (JsResult_serializer.read(valueDeserializer) as JsResult) + let value : OnAlertEvent = ({url: urlTmpResult, message: messageTmpResult, result: resultTmpResult} as OnAlertEvent) + return value + } +} +export class OnBeforeUnloadEvent_serializer { + public static write(buffer: SerializerBase, value: OnBeforeUnloadEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForUrl = value.url + valueSerializer.writeString(valueHolderForUrl) + const valueHolderForMessage = value.message + valueSerializer.writeString(valueHolderForMessage) + const valueHolderForResult = value.result + JsResult_serializer.write(valueSerializer, valueHolderForResult) + } + public static read(buffer: DeserializerBase): OnBeforeUnloadEvent { + let valueDeserializer : DeserializerBase = buffer + const urlTmpResult : string = (valueDeserializer.readString() as string) + const messageTmpResult : string = (valueDeserializer.readString() as string) + const resultTmpResult : JsResult = (JsResult_serializer.read(valueDeserializer) as JsResult) + let value : OnBeforeUnloadEvent = ({url: urlTmpResult, message: messageTmpResult, result: resultTmpResult} as OnBeforeUnloadEvent) + return value + } +} +export class OnClientAuthenticationEvent_serializer { + public static write(buffer: SerializerBase, value: OnClientAuthenticationEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForHandler = value.handler + ClientAuthenticationHandler_serializer.write(valueSerializer, valueHolderForHandler) + const valueHolderForHost = value.host + valueSerializer.writeString(valueHolderForHost) + const valueHolderForPort = value.port + valueSerializer.writeNumber(valueHolderForPort) + const valueHolderForKeyTypes = value.keyTypes + valueSerializer.writeInt32((valueHolderForKeyTypes.length).toInt()) + for (let valueHolderForKeyTypesCounterI = 0; valueHolderForKeyTypesCounterI < valueHolderForKeyTypes.length; valueHolderForKeyTypesCounterI++) { + const valueHolderForKeyTypesTmpElement : string = valueHolderForKeyTypes[valueHolderForKeyTypesCounterI] + valueSerializer.writeString(valueHolderForKeyTypesTmpElement) + } + const valueHolderForIssuers = value.issuers + valueSerializer.writeInt32((valueHolderForIssuers.length).toInt()) + for (let valueHolderForIssuersCounterI = 0; valueHolderForIssuersCounterI < valueHolderForIssuers.length; valueHolderForIssuersCounterI++) { + const valueHolderForIssuersTmpElement : string = valueHolderForIssuers[valueHolderForIssuersCounterI] + valueSerializer.writeString(valueHolderForIssuersTmpElement) + } + } + public static read(buffer: DeserializerBase): OnClientAuthenticationEvent { + let valueDeserializer : DeserializerBase = buffer + const handlerTmpResult : ClientAuthenticationHandler = (ClientAuthenticationHandler_serializer.read(valueDeserializer) as ClientAuthenticationHandler) + const hostTmpResult : string = (valueDeserializer.readString() as string) + const portTmpResult : number = (valueDeserializer.readNumber() as number) + const keyTypesTmpBufLength : int32 = valueDeserializer.readInt32() + let keyTypesTmpBuf : Array = new Array(keyTypesTmpBufLength) + for (let keyTypesTmpBufBufCounterI = 0; keyTypesTmpBufBufCounterI < keyTypesTmpBufLength; keyTypesTmpBufBufCounterI++) { + keyTypesTmpBuf[keyTypesTmpBufBufCounterI] = (valueDeserializer.readString() as string) + } + const keyTypesTmpResult : Array = keyTypesTmpBuf + const issuersTmpBufLength : int32 = valueDeserializer.readInt32() + let issuersTmpBuf : Array = new Array(issuersTmpBufLength) + for (let issuersTmpBufBufCounterI = 0; issuersTmpBufBufCounterI < issuersTmpBufLength; issuersTmpBufBufCounterI++) { + issuersTmpBuf[issuersTmpBufBufCounterI] = (valueDeserializer.readString() as string) + } + const issuersTmpResult : Array = issuersTmpBuf + let value : OnClientAuthenticationEvent = ({handler: handlerTmpResult, host: hostTmpResult, port: portTmpResult, keyTypes: keyTypesTmpResult, issuers: issuersTmpResult} as OnClientAuthenticationEvent) + return value + } +} +export class OnConfirmEvent_serializer { + public static write(buffer: SerializerBase, value: OnConfirmEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForUrl = value.url + valueSerializer.writeString(valueHolderForUrl) + const valueHolderForMessage = value.message + valueSerializer.writeString(valueHolderForMessage) + const valueHolderForResult = value.result + JsResult_serializer.write(valueSerializer, valueHolderForResult) + } + public static read(buffer: DeserializerBase): OnConfirmEvent { + let valueDeserializer : DeserializerBase = buffer + const urlTmpResult : string = (valueDeserializer.readString() as string) + const messageTmpResult : string = (valueDeserializer.readString() as string) + const resultTmpResult : JsResult = (JsResult_serializer.read(valueDeserializer) as JsResult) + let value : OnConfirmEvent = ({url: urlTmpResult, message: messageTmpResult, result: resultTmpResult} as OnConfirmEvent) + return value + } +} +export class OnContextMenuShowEvent_serializer { + public static write(buffer: SerializerBase, value: OnContextMenuShowEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForParam = value.param + WebContextMenuParam_serializer.write(valueSerializer, valueHolderForParam) + const valueHolderForResult = value.result + WebContextMenuResult_serializer.write(valueSerializer, valueHolderForResult) + } + public static read(buffer: DeserializerBase): OnContextMenuShowEvent { + let valueDeserializer : DeserializerBase = buffer + const paramTmpResult : WebContextMenuParam = (WebContextMenuParam_serializer.read(valueDeserializer) as WebContextMenuParam) + const resultTmpResult : WebContextMenuResult = (WebContextMenuResult_serializer.read(valueDeserializer) as WebContextMenuResult) + let value : OnContextMenuShowEvent = ({param: paramTmpResult, result: resultTmpResult} as OnContextMenuShowEvent) + return value + } +} +export class OnDownloadStartEvent_serializer { + public static write(buffer: SerializerBase, value: OnDownloadStartEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForUrl = value.url + valueSerializer.writeString(valueHolderForUrl) + const valueHolderForUserAgent = value.userAgent + valueSerializer.writeString(valueHolderForUserAgent) + const valueHolderForContentDisposition = value.contentDisposition + valueSerializer.writeString(valueHolderForContentDisposition) + const valueHolderForMimetype = value.mimetype + valueSerializer.writeString(valueHolderForMimetype) + const valueHolderForContentLength = value.contentLength + valueSerializer.writeNumber(valueHolderForContentLength) + } + public static read(buffer: DeserializerBase): OnDownloadStartEvent { + let valueDeserializer : DeserializerBase = buffer + const urlTmpResult : string = (valueDeserializer.readString() as string) + const userAgentTmpResult : string = (valueDeserializer.readString() as string) + const contentDispositionTmpResult : string = (valueDeserializer.readString() as string) + const mimetypeTmpResult : string = (valueDeserializer.readString() as string) + const contentLengthTmpResult : number = (valueDeserializer.readNumber() as number) + let value : OnDownloadStartEvent = ({url: urlTmpResult, userAgent: userAgentTmpResult, contentDisposition: contentDispositionTmpResult, mimetype: mimetypeTmpResult, contentLength: contentLengthTmpResult} as OnDownloadStartEvent) + return value + } +} +export class OnErrorReceiveEvent_serializer { + public static write(buffer: SerializerBase, value: OnErrorReceiveEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForRequest = value.request + WebResourceRequest_serializer.write(valueSerializer, valueHolderForRequest) + const valueHolderForError = value.error + WebResourceError_serializer.write(valueSerializer, valueHolderForError) + } + public static read(buffer: DeserializerBase): OnErrorReceiveEvent { + let valueDeserializer : DeserializerBase = buffer + const requestTmpResult : WebResourceRequest = (WebResourceRequest_serializer.read(valueDeserializer) as WebResourceRequest) + const errorTmpResult : WebResourceError = (WebResourceError_serializer.read(valueDeserializer) as WebResourceError) + let value : OnErrorReceiveEvent = ({request: requestTmpResult, error: errorTmpResult} as OnErrorReceiveEvent) + return value + } +} +export class OnGeolocationShowEvent_serializer { + public static write(buffer: SerializerBase, value: OnGeolocationShowEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForOrigin = value.origin + valueSerializer.writeString(valueHolderForOrigin) + const valueHolderForGeolocation = value.geolocation + JsGeolocation_serializer.write(valueSerializer, valueHolderForGeolocation) + } + public static read(buffer: DeserializerBase): OnGeolocationShowEvent { + let valueDeserializer : DeserializerBase = buffer + const originTmpResult : string = (valueDeserializer.readString() as string) + const geolocationTmpResult : JsGeolocation = (JsGeolocation_serializer.read(valueDeserializer) as JsGeolocation) + let value : OnGeolocationShowEvent = ({origin: originTmpResult, geolocation: geolocationTmpResult} as OnGeolocationShowEvent) + return value + } +} +export class OnHttpAuthRequestEvent_serializer { + public static write(buffer: SerializerBase, value: OnHttpAuthRequestEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForHandler = value.handler + HttpAuthHandler_serializer.write(valueSerializer, valueHolderForHandler) + const valueHolderForHost = value.host + valueSerializer.writeString(valueHolderForHost) + const valueHolderForRealm = value.realm + valueSerializer.writeString(valueHolderForRealm) + } + public static read(buffer: DeserializerBase): OnHttpAuthRequestEvent { + let valueDeserializer : DeserializerBase = buffer + const handlerTmpResult : HttpAuthHandler = (HttpAuthHandler_serializer.read(valueDeserializer) as HttpAuthHandler) + const hostTmpResult : string = (valueDeserializer.readString() as string) + const realmTmpResult : string = (valueDeserializer.readString() as string) + let value : OnHttpAuthRequestEvent = ({handler: handlerTmpResult, host: hostTmpResult, realm: realmTmpResult} as OnHttpAuthRequestEvent) + return value + } +} +export class OnHttpErrorReceiveEvent_serializer { + public static write(buffer: SerializerBase, value: OnHttpErrorReceiveEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForRequest = value.request + WebResourceRequest_serializer.write(valueSerializer, valueHolderForRequest) + const valueHolderForResponse = value.response + WebResourceResponse_serializer.write(valueSerializer, valueHolderForResponse) + } + public static read(buffer: DeserializerBase): OnHttpErrorReceiveEvent { + let valueDeserializer : DeserializerBase = buffer + const requestTmpResult : WebResourceRequest = (WebResourceRequest_serializer.read(valueDeserializer) as WebResourceRequest) + const responseTmpResult : WebResourceResponse = (WebResourceResponse_serializer.read(valueDeserializer) as WebResourceResponse) + let value : OnHttpErrorReceiveEvent = ({request: requestTmpResult, response: responseTmpResult} as OnHttpErrorReceiveEvent) + return value + } +} +export class OnInterceptRequestEvent_serializer { + public static write(buffer: SerializerBase, value: OnInterceptRequestEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForRequest = value.request + WebResourceRequest_serializer.write(valueSerializer, valueHolderForRequest) + } + public static read(buffer: DeserializerBase): OnInterceptRequestEvent { + let valueDeserializer : DeserializerBase = buffer + const requestTmpResult : WebResourceRequest = (WebResourceRequest_serializer.read(valueDeserializer) as WebResourceRequest) + let value : OnInterceptRequestEvent = ({request: requestTmpResult} as OnInterceptRequestEvent) + return value + } +} +export class OnLoadInterceptEvent_serializer { + public static write(buffer: SerializerBase, value: OnLoadInterceptEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForData = value.data + WebResourceRequest_serializer.write(valueSerializer, valueHolderForData) + } + public static read(buffer: DeserializerBase): OnLoadInterceptEvent { + let valueDeserializer : DeserializerBase = buffer + const dataTmpResult : WebResourceRequest = (WebResourceRequest_serializer.read(valueDeserializer) as WebResourceRequest) + let value : OnLoadInterceptEvent = ({data: dataTmpResult} as OnLoadInterceptEvent) + return value + } +} +export class OnPageBeginEvent_serializer { + public static write(buffer: SerializerBase, value: OnPageBeginEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForUrl = value.url + valueSerializer.writeString(valueHolderForUrl) + } + public static read(buffer: DeserializerBase): OnPageBeginEvent { + let valueDeserializer : DeserializerBase = buffer + const urlTmpResult : string = (valueDeserializer.readString() as string) + let value : OnPageBeginEvent = ({url: urlTmpResult} as OnPageBeginEvent) + return value + } +} +export class OnPageEndEvent_serializer { + public static write(buffer: SerializerBase, value: OnPageEndEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForUrl = value.url + valueSerializer.writeString(valueHolderForUrl) + } + public static read(buffer: DeserializerBase): OnPageEndEvent { + let valueDeserializer : DeserializerBase = buffer + const urlTmpResult : string = (valueDeserializer.readString() as string) + let value : OnPageEndEvent = ({url: urlTmpResult} as OnPageEndEvent) + return value + } +} +export class OnPageVisibleEvent_serializer { + public static write(buffer: SerializerBase, value: OnPageVisibleEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForUrl = value.url + valueSerializer.writeString(valueHolderForUrl) + } + public static read(buffer: DeserializerBase): OnPageVisibleEvent { + let valueDeserializer : DeserializerBase = buffer + const urlTmpResult : string = (valueDeserializer.readString() as string) + let value : OnPageVisibleEvent = ({url: urlTmpResult} as OnPageVisibleEvent) + return value + } +} +export class OnPermissionRequestEvent_serializer { + public static write(buffer: SerializerBase, value: OnPermissionRequestEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForRequest = value.request + PermissionRequest_serializer.write(valueSerializer, valueHolderForRequest) + } + public static read(buffer: DeserializerBase): OnPermissionRequestEvent { + let valueDeserializer : DeserializerBase = buffer + const requestTmpResult : PermissionRequest = (PermissionRequest_serializer.read(valueDeserializer) as PermissionRequest) + let value : OnPermissionRequestEvent = ({request: requestTmpResult} as OnPermissionRequestEvent) + return value + } +} +export class OnPromptEvent_serializer { + public static write(buffer: SerializerBase, value: OnPromptEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForUrl = value.url + valueSerializer.writeString(valueHolderForUrl) + const valueHolderForMessage = value.message + valueSerializer.writeString(valueHolderForMessage) + const valueHolderForValue = value.value + valueSerializer.writeString(valueHolderForValue) + const valueHolderForResult = value.result + JsResult_serializer.write(valueSerializer, valueHolderForResult) + } + public static read(buffer: DeserializerBase): OnPromptEvent { + let valueDeserializer : DeserializerBase = buffer + const urlTmpResult : string = (valueDeserializer.readString() as string) + const messageTmpResult : string = (valueDeserializer.readString() as string) + const valueTmpResult : string = (valueDeserializer.readString() as string) + const resultTmpResult : JsResult = (JsResult_serializer.read(valueDeserializer) as JsResult) + let value : OnPromptEvent = ({url: urlTmpResult, message: messageTmpResult, value: valueTmpResult, result: resultTmpResult} as OnPromptEvent) + return value + } +} +export class OnRefreshAccessedHistoryEvent_serializer { + public static write(buffer: SerializerBase, value: OnRefreshAccessedHistoryEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForUrl = value.url + valueSerializer.writeString(valueHolderForUrl) + const valueHolderForIsRefreshed = value.isRefreshed + valueSerializer.writeBoolean(valueHolderForIsRefreshed) + } + public static read(buffer: DeserializerBase): OnRefreshAccessedHistoryEvent { + let valueDeserializer : DeserializerBase = buffer + const urlTmpResult : string = (valueDeserializer.readString() as string) + const isRefreshedTmpResult : boolean = valueDeserializer.readBoolean() + let value : OnRefreshAccessedHistoryEvent = ({url: urlTmpResult, isRefreshed: isRefreshedTmpResult} as OnRefreshAccessedHistoryEvent) + return value + } +} +export class OnRenderExitedEvent_serializer { + public static write(buffer: SerializerBase, value: OnRenderExitedEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForRenderExitReason = value.renderExitReason + valueSerializer.writeInt32(TypeChecker.RenderExitReason_ToNumeric(valueHolderForRenderExitReason)) + } + public static read(buffer: DeserializerBase): OnRenderExitedEvent { + let valueDeserializer : DeserializerBase = buffer + const renderExitReasonTmpResult : RenderExitReason = TypeChecker.RenderExitReason_FromNumeric(valueDeserializer.readInt32()) + let value : OnRenderExitedEvent = ({renderExitReason: renderExitReasonTmpResult} as OnRenderExitedEvent) + return value + } +} +export class OnResourceLoadEvent_serializer { + public static write(buffer: SerializerBase, value: OnResourceLoadEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForUrl = value.url + valueSerializer.writeString(valueHolderForUrl) + } + public static read(buffer: DeserializerBase): OnResourceLoadEvent { + let valueDeserializer : DeserializerBase = buffer + const urlTmpResult : string = (valueDeserializer.readString() as string) + let value : OnResourceLoadEvent = ({url: urlTmpResult} as OnResourceLoadEvent) + return value + } +} +export class OnScreenCaptureRequestEvent_serializer { + public static write(buffer: SerializerBase, value: OnScreenCaptureRequestEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForHandler = value.handler + ScreenCaptureHandler_serializer.write(valueSerializer, valueHolderForHandler) + } + public static read(buffer: DeserializerBase): OnScreenCaptureRequestEvent { + let valueDeserializer : DeserializerBase = buffer + const handlerTmpResult : ScreenCaptureHandler = (ScreenCaptureHandler_serializer.read(valueDeserializer) as ScreenCaptureHandler) + let value : OnScreenCaptureRequestEvent = ({handler: handlerTmpResult} as OnScreenCaptureRequestEvent) + return value + } +} +export class OnSslErrorEventReceiveEvent_serializer { + public static write(buffer: SerializerBase, value: OnSslErrorEventReceiveEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForHandler = value.handler + SslErrorHandler_serializer.write(valueSerializer, valueHolderForHandler) + const valueHolderForError = value.error + valueSerializer.writeInt32(TypeChecker.SslError_ToNumeric(valueHolderForError)) + const valueHolderForCertChainData = value.certChainData + if (valueHolderForCertChainData !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForCertChainDataTmpValue = valueHolderForCertChainData! + valueSerializer.writeInt32((valueHolderForCertChainDataTmpValue.length).toInt()) + for (let valueHolderForCertChainDataTmpValueCounterI = 0; valueHolderForCertChainDataTmpValueCounterI < valueHolderForCertChainDataTmpValue.length; valueHolderForCertChainDataTmpValueCounterI++) { + const valueHolderForCertChainDataTmpValueTmpElement : ArrayBuffer = valueHolderForCertChainDataTmpValue[valueHolderForCertChainDataTmpValueCounterI] + valueSerializer.writeBuffer(valueHolderForCertChainDataTmpValueTmpElement) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + } + public static read(buffer: DeserializerBase): OnSslErrorEventReceiveEvent { + let valueDeserializer : DeserializerBase = buffer + const handlerTmpResult : SslErrorHandler = (SslErrorHandler_serializer.read(valueDeserializer) as SslErrorHandler) + const errorTmpResult : SslError = TypeChecker.SslError_FromNumeric(valueDeserializer.readInt32()) + const certChainDataTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let certChainDataTmpBuf : Array | undefined + if ((certChainDataTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const certChainDataTmpBuf_Length : int32 = valueDeserializer.readInt32() + let certChainDataTmpBuf_ : Array = new Array(certChainDataTmpBuf_Length) + for (let certChainDataTmpBuf_BufCounterI = 0; certChainDataTmpBuf_BufCounterI < certChainDataTmpBuf_Length; certChainDataTmpBuf_BufCounterI++) { + certChainDataTmpBuf_[certChainDataTmpBuf_BufCounterI] = (valueDeserializer.readBuffer() as ArrayBuffer) + } + certChainDataTmpBuf = certChainDataTmpBuf_ + } + const certChainDataTmpResult : Array | undefined = certChainDataTmpBuf + let value : OnSslErrorEventReceiveEvent = ({handler: handlerTmpResult, error: errorTmpResult, certChainData: certChainDataTmpResult} as OnSslErrorEventReceiveEvent) + return value + } +} +export class OnTitleReceiveEvent_serializer { + public static write(buffer: SerializerBase, value: OnTitleReceiveEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForTitle = value.title + valueSerializer.writeString(valueHolderForTitle) + } + public static read(buffer: DeserializerBase): OnTitleReceiveEvent { + let valueDeserializer : DeserializerBase = buffer + const titleTmpResult : string = (valueDeserializer.readString() as string) + let value : OnTitleReceiveEvent = ({title: titleTmpResult} as OnTitleReceiveEvent) + return value + } +} +export class OnTouchIconUrlReceivedEvent_serializer { + public static write(buffer: SerializerBase, value: OnTouchIconUrlReceivedEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForUrl = value.url + valueSerializer.writeString(valueHolderForUrl) + const valueHolderForPrecomposed = value.precomposed + valueSerializer.writeBoolean(valueHolderForPrecomposed) + } + public static read(buffer: DeserializerBase): OnTouchIconUrlReceivedEvent { + let valueDeserializer : DeserializerBase = buffer + const urlTmpResult : string = (valueDeserializer.readString() as string) + const precomposedTmpResult : boolean = valueDeserializer.readBoolean() + let value : OnTouchIconUrlReceivedEvent = ({url: urlTmpResult, precomposed: precomposedTmpResult} as OnTouchIconUrlReceivedEvent) + return value + } +} +export class OnWindowNewEvent_serializer { + public static write(buffer: SerializerBase, value: OnWindowNewEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForIsAlert = value.isAlert + valueSerializer.writeBoolean(valueHolderForIsAlert) + const valueHolderForIsUserTrigger = value.isUserTrigger + valueSerializer.writeBoolean(valueHolderForIsUserTrigger) + const valueHolderForTargetUrl = value.targetUrl + valueSerializer.writeString(valueHolderForTargetUrl) + const valueHolderForHandler = value.handler + ControllerHandler_serializer.write(valueSerializer, valueHolderForHandler) + } + public static read(buffer: DeserializerBase): OnWindowNewEvent { + let valueDeserializer : DeserializerBase = buffer + const isAlertTmpResult : boolean = valueDeserializer.readBoolean() + const isUserTriggerTmpResult : boolean = valueDeserializer.readBoolean() + const targetUrlTmpResult : string = (valueDeserializer.readString() as string) + const handlerTmpResult : ControllerHandler = (ControllerHandler_serializer.read(valueDeserializer) as ControllerHandler) + let value : OnWindowNewEvent = ({isAlert: isAlertTmpResult, isUserTrigger: isUserTriggerTmpResult, targetUrl: targetUrlTmpResult, handler: handlerTmpResult} as OnWindowNewEvent) + return value + } +} +export class RenderProcessNotRespondingData_serializer { + public static write(buffer: SerializerBase, value: RenderProcessNotRespondingData): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForJsStack = value.jsStack + valueSerializer.writeString(valueHolderForJsStack) + const valueHolderForPid = value.pid + valueSerializer.writeInt32(valueHolderForPid) + const valueHolderForReason = value.reason + valueSerializer.writeInt32(TypeChecker.RenderProcessNotRespondingReason_ToNumeric(valueHolderForReason)) + } + public static read(buffer: DeserializerBase): RenderProcessNotRespondingData { + let valueDeserializer : DeserializerBase = buffer + const jsStackTmpResult : string = (valueDeserializer.readString() as string) + const pidTmpResult : int32 = valueDeserializer.readInt32() + const reasonTmpResult : RenderProcessNotRespondingReason = TypeChecker.RenderProcessNotRespondingReason_FromNumeric(valueDeserializer.readInt32()) + let value : RenderProcessNotRespondingData = ({jsStack: jsStackTmpResult, pid: pidTmpResult, reason: reasonTmpResult} as RenderProcessNotRespondingData) + return value + } +} +export class ScreenCaptureConfig_serializer { + public static write(buffer: SerializerBase, value: ScreenCaptureConfig): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForCaptureMode = value.captureMode + valueSerializer.writeInt32(TypeChecker.WebCaptureMode_ToNumeric(valueHolderForCaptureMode)) + } + public static read(buffer: DeserializerBase): ScreenCaptureConfig { + let valueDeserializer : DeserializerBase = buffer + const captureModeTmpResult : WebCaptureMode = TypeChecker.WebCaptureMode_FromNumeric(valueDeserializer.readInt32()) + let value : ScreenCaptureConfig = ({captureMode: captureModeTmpResult} as ScreenCaptureConfig) + return value + } +} +export class ScriptItem_serializer { + public static write(buffer: SerializerBase, value: ScriptItem): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForScript = value.script + valueSerializer.writeString(valueHolderForScript) + const valueHolderForScriptRules = value.scriptRules + valueSerializer.writeInt32((valueHolderForScriptRules.length).toInt()) + for (let valueHolderForScriptRulesCounterI = 0; valueHolderForScriptRulesCounterI < valueHolderForScriptRules.length; valueHolderForScriptRulesCounterI++) { + const valueHolderForScriptRulesTmpElement : string = valueHolderForScriptRules[valueHolderForScriptRulesCounterI] + valueSerializer.writeString(valueHolderForScriptRulesTmpElement) + } + } + public static read(buffer: DeserializerBase): ScriptItem { + let valueDeserializer : DeserializerBase = buffer + const scriptTmpResult : string = (valueDeserializer.readString() as string) + const scriptRulesTmpBufLength : int32 = valueDeserializer.readInt32() + let scriptRulesTmpBuf : Array = new Array(scriptRulesTmpBufLength) + for (let scriptRulesTmpBufBufCounterI = 0; scriptRulesTmpBufBufCounterI < scriptRulesTmpBufLength; scriptRulesTmpBufBufCounterI++) { + scriptRulesTmpBuf[scriptRulesTmpBufBufCounterI] = (valueDeserializer.readString() as string) + } + const scriptRulesTmpResult : Array = scriptRulesTmpBuf + let value : ScriptItem = ({script: scriptTmpResult, scriptRules: scriptRulesTmpResult} as ScriptItem) + return value + } +} +export class SelectionMenuOptionsExt_serializer { + public static write(buffer: SerializerBase, value: SelectionMenuOptionsExt): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForOnAppear = value.onAppear + if (valueHolderForOnAppear !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForOnAppearTmpValue = valueHolderForOnAppear! + valueSerializer.holdAndWriteCallback(valueHolderForOnAppearTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForOnDisappear = value.onDisappear + if (valueHolderForOnDisappear !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForOnDisappearTmpValue = valueHolderForOnDisappear! + valueSerializer.holdAndWriteCallback(valueHolderForOnDisappearTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForPreview = value.preview + if (valueHolderForPreview !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForPreviewTmpValue = valueHolderForPreview! + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(valueHolderForPreviewTmpValue)) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForMenuType = value.menuType + if (valueHolderForMenuType !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForMenuTypeTmpValue = (valueHolderForMenuType as MenuType) + valueSerializer.writeInt32(TypeChecker.MenuType_ToNumeric(valueHolderForMenuTypeTmpValue)) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + } + public static read(buffer: DeserializerBase): SelectionMenuOptionsExt { + let valueDeserializer : DeserializerBase = buffer + const onAppearTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let onAppearTmpBuf : (() => void) | undefined + if ((onAppearTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const onAppearTmpBuf_BufResource : CallbackResource = valueDeserializer.readCallbackResource() + const onAppearTmpBuf_BufCall : KPointer = valueDeserializer.readPointer() + const onAppearTmpBuf_BufCallSync : KPointer = valueDeserializer.readPointer() + onAppearTmpBuf = ():void => { + const onAppearTmpBuf_BufArgsSerializer : SerializerBase = SerializerBase.hold(); + onAppearTmpBuf_BufArgsSerializer.writeInt32(onAppearTmpBuf_BufResource.resourceId); + onAppearTmpBuf_BufArgsSerializer.writePointer(onAppearTmpBuf_BufCall); + onAppearTmpBuf_BufArgsSerializer.writePointer(onAppearTmpBuf_BufCallSync); + InteropNativeModule._CallCallbackSync(10, -1867723152, onAppearTmpBuf_BufArgsSerializer.asBuffer(), onAppearTmpBuf_BufArgsSerializer.length()); + onAppearTmpBuf_BufArgsSerializer.release(); + return; + } + } + const onAppearTmpResult : (() => void) | undefined = onAppearTmpBuf + const onDisappearTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let onDisappearTmpBuf : (() => void) | undefined + if ((onDisappearTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const onDisappearTmpBuf_BufResource : CallbackResource = valueDeserializer.readCallbackResource() + const onDisappearTmpBuf_BufCall : KPointer = valueDeserializer.readPointer() + const onDisappearTmpBuf_BufCallSync : KPointer = valueDeserializer.readPointer() + onDisappearTmpBuf = ():void => { + const onDisappearTmpBuf_BufArgsSerializer : SerializerBase = SerializerBase.hold(); + onDisappearTmpBuf_BufArgsSerializer.writeInt32(onDisappearTmpBuf_BufResource.resourceId); + onDisappearTmpBuf_BufArgsSerializer.writePointer(onDisappearTmpBuf_BufCall); + onDisappearTmpBuf_BufArgsSerializer.writePointer(onDisappearTmpBuf_BufCallSync); + InteropNativeModule._CallCallbackSync(10, -1867723152, onDisappearTmpBuf_BufArgsSerializer.asBuffer(), onDisappearTmpBuf_BufArgsSerializer.length()); + onDisappearTmpBuf_BufArgsSerializer.release(); + return; + } + } + const onDisappearTmpResult : (() => void) | undefined = onDisappearTmpBuf + const previewTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let previewTmpBuf : CustomBuilder | undefined + if ((previewTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const previewTmpBuf_BufResource : CallbackResource = valueDeserializer.readCallbackResource() + const previewTmpBuf_BufCall : KPointer = valueDeserializer.readPointer() + const previewTmpBuf_BufCallSync : KPointer = valueDeserializer.readPointer() + previewTmpBuf = ():void => { + const previewTmpBuf_BufArgsSerializer : SerializerBase = SerializerBase.hold(); + previewTmpBuf_BufArgsSerializer.writeInt32(previewTmpBuf_BufResource.resourceId); + previewTmpBuf_BufArgsSerializer.writePointer(previewTmpBuf_BufCall); + previewTmpBuf_BufArgsSerializer.writePointer(previewTmpBuf_BufCallSync); + InteropNativeModule._CallCallbackSync(10, 737226752, previewTmpBuf_BufArgsSerializer.asBuffer(), previewTmpBuf_BufArgsSerializer.length()); + previewTmpBuf_BufArgsSerializer.release(); + return; + } + } + const previewTmpResult : CustomBuilder | undefined = previewTmpBuf + const menuTypeTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let menuTypeTmpBuf : MenuType | undefined + if ((menuTypeTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + menuTypeTmpBuf = TypeChecker.MenuType_FromNumeric(valueDeserializer.readInt32()) + } + const menuTypeTmpResult : MenuType | undefined = menuTypeTmpBuf + let value : SelectionMenuOptionsExt = ({onAppear: onAppearTmpResult, onDisappear: onDisappearTmpResult, preview: previewTmpResult, menuType: menuTypeTmpResult} as SelectionMenuOptionsExt) + return value + } +} +export class SslErrorEvent_serializer { + public static write(buffer: SerializerBase, value: SslErrorEvent): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForHandler = value.handler + SslErrorHandler_serializer.write(valueSerializer, valueHolderForHandler) + const valueHolderForError = value.error + valueSerializer.writeInt32(TypeChecker.SslError_ToNumeric(valueHolderForError)) + const valueHolderForUrl = value.url + valueSerializer.writeString(valueHolderForUrl) + const valueHolderForOriginalUrl = value.originalUrl + valueSerializer.writeString(valueHolderForOriginalUrl) + const valueHolderForReferrer = value.referrer + valueSerializer.writeString(valueHolderForReferrer) + const valueHolderForIsFatalError = value.isFatalError + valueSerializer.writeBoolean(valueHolderForIsFatalError) + const valueHolderForIsMainFrame = value.isMainFrame + valueSerializer.writeBoolean(valueHolderForIsMainFrame) + } + public static read(buffer: DeserializerBase): SslErrorEvent { + let valueDeserializer : DeserializerBase = buffer + const handlerTmpResult : SslErrorHandler = (SslErrorHandler_serializer.read(valueDeserializer) as SslErrorHandler) + const errorTmpResult : SslError = TypeChecker.SslError_FromNumeric(valueDeserializer.readInt32()) + const urlTmpResult : string = (valueDeserializer.readString() as string) + const originalUrlTmpResult : string = (valueDeserializer.readString() as string) + const referrerTmpResult : string = (valueDeserializer.readString() as string) + const isFatalErrorTmpResult : boolean = valueDeserializer.readBoolean() + const isMainFrameTmpResult : boolean = valueDeserializer.readBoolean() + let value : SslErrorEvent = ({handler: handlerTmpResult, error: errorTmpResult, url: urlTmpResult, originalUrl: originalUrlTmpResult, referrer: referrerTmpResult, isFatalError: isFatalErrorTmpResult, isMainFrame: isMainFrameTmpResult} as SslErrorEvent) + return value + } +} +export class WebKeyboardCallbackInfo_serializer { + public static write(buffer: SerializerBase, value: WebKeyboardCallbackInfo): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForController = value.controller + WebKeyboardController_serializer.write(valueSerializer, valueHolderForController) + const valueHolderForAttributes = value.attributes + valueSerializer.writeInt32((valueHolderForAttributes.size).toInt()) + for (const pair of valueHolderForAttributes) { + const valueHolderForAttributesKeyVar = pair[0] + const valueHolderForAttributesValueVar = pair[1] + valueSerializer.writeString(valueHolderForAttributesKeyVar) + valueSerializer.writeString(valueHolderForAttributesValueVar) + } + } + public static read(buffer: DeserializerBase): WebKeyboardCallbackInfo { + let valueDeserializer : DeserializerBase = buffer + const controllerTmpResult : WebKeyboardController = (WebKeyboardController_serializer.read(valueDeserializer) as WebKeyboardController) + const attributesTmpBufSizeVar : int32 = valueDeserializer.readInt32() + let attributesTmpBuf : Map = new Map() + // TODO: TS map resize + for (let attributesTmpBufIVar = 0; attributesTmpBufIVar < attributesTmpBufSizeVar; attributesTmpBufIVar++) { + const attributesTmpBufKeyVar : string = (valueDeserializer.readString() as string) + const attributesTmpBufValueVar : string = (valueDeserializer.readString() as string) + attributesTmpBuf.set(attributesTmpBufKeyVar, attributesTmpBufValueVar) + } + const attributesTmpResult : Map = attributesTmpBuf + let value : WebKeyboardCallbackInfo = ({controller: controllerTmpResult, attributes: attributesTmpResult} as WebKeyboardCallbackInfo) + return value + } +} +export class WebKeyboardOptions_serializer { + public static write(buffer: SerializerBase, value: WebKeyboardOptions): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForUseSystemKeyboard = value.useSystemKeyboard + valueSerializer.writeBoolean(valueHolderForUseSystemKeyboard) + const valueHolderForEnterKeyType = value.enterKeyType + if (valueHolderForEnterKeyType !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForEnterKeyTypeTmpValue = valueHolderForEnterKeyType! + valueSerializer.writeInt32(valueHolderForEnterKeyTypeTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForCustomKeyboard = value.customKeyboard + if (valueHolderForCustomKeyboard !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForCustomKeyboardTmpValue = valueHolderForCustomKeyboard! + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(valueHolderForCustomKeyboardTmpValue)) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + } + public static read(buffer: DeserializerBase): WebKeyboardOptions { + let valueDeserializer : DeserializerBase = buffer + const useSystemKeyboardTmpResult : boolean = valueDeserializer.readBoolean() + const enterKeyTypeTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let enterKeyTypeTmpBuf : int32 | undefined + if ((enterKeyTypeTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + enterKeyTypeTmpBuf = valueDeserializer.readInt32() + } + const enterKeyTypeTmpResult : int32 | undefined = enterKeyTypeTmpBuf + const customKeyboardTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let customKeyboardTmpBuf : CustomBuilder | undefined + if ((customKeyboardTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const customKeyboardTmpBuf_BufResource : CallbackResource = valueDeserializer.readCallbackResource() + const customKeyboardTmpBuf_BufCall : KPointer = valueDeserializer.readPointer() + const customKeyboardTmpBuf_BufCallSync : KPointer = valueDeserializer.readPointer() + customKeyboardTmpBuf = ():void => { + const customKeyboardTmpBuf_BufArgsSerializer : SerializerBase = SerializerBase.hold(); + customKeyboardTmpBuf_BufArgsSerializer.writeInt32(customKeyboardTmpBuf_BufResource.resourceId); + customKeyboardTmpBuf_BufArgsSerializer.writePointer(customKeyboardTmpBuf_BufCall); + customKeyboardTmpBuf_BufArgsSerializer.writePointer(customKeyboardTmpBuf_BufCallSync); + InteropNativeModule._CallCallbackSync(10, 737226752, customKeyboardTmpBuf_BufArgsSerializer.asBuffer(), customKeyboardTmpBuf_BufArgsSerializer.length()); + customKeyboardTmpBuf_BufArgsSerializer.release(); + return; + } + } + const customKeyboardTmpResult : CustomBuilder | undefined = customKeyboardTmpBuf + let value : WebKeyboardOptions = ({useSystemKeyboard: useSystemKeyboardTmpResult, enterKeyType: enterKeyTypeTmpResult, customKeyboard: customKeyboardTmpResult} as WebKeyboardOptions) + return value + } +} +export class WebMediaOptions_serializer { + public static write(buffer: SerializerBase, value: WebMediaOptions): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForResumeInterval = value.resumeInterval + if (valueHolderForResumeInterval !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForResumeIntervalTmpValue = valueHolderForResumeInterval! + valueSerializer.writeInt32(valueHolderForResumeIntervalTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForAudioExclusive = value.audioExclusive + if (valueHolderForAudioExclusive !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForAudioExclusiveTmpValue = valueHolderForAudioExclusive! + valueSerializer.writeBoolean(valueHolderForAudioExclusiveTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForAudioSessionType = value.audioSessionType + if (valueHolderForAudioSessionType !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForAudioSessionTypeTmpValue = (valueHolderForAudioSessionType as AudioSessionType) + valueSerializer.writeInt32(TypeChecker.AudioSessionType_ToNumeric(valueHolderForAudioSessionTypeTmpValue)) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + } + public static read(buffer: DeserializerBase): WebMediaOptions { + let valueDeserializer : DeserializerBase = buffer + const resumeIntervalTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let resumeIntervalTmpBuf : int32 | undefined + if ((resumeIntervalTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + resumeIntervalTmpBuf = valueDeserializer.readInt32() + } + const resumeIntervalTmpResult : int32 | undefined = resumeIntervalTmpBuf + const audioExclusiveTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let audioExclusiveTmpBuf : boolean | undefined + if ((audioExclusiveTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + audioExclusiveTmpBuf = valueDeserializer.readBoolean() + } + const audioExclusiveTmpResult : boolean | undefined = audioExclusiveTmpBuf + const audioSessionTypeTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let audioSessionTypeTmpBuf : AudioSessionType | undefined + if ((audioSessionTypeTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + audioSessionTypeTmpBuf = TypeChecker.AudioSessionType_FromNumeric(valueDeserializer.readInt32()) + } + const audioSessionTypeTmpResult : AudioSessionType | undefined = audioSessionTypeTmpBuf + let value : WebMediaOptions = ({resumeInterval: resumeIntervalTmpResult, audioExclusive: audioExclusiveTmpResult, audioSessionType: audioSessionTypeTmpResult} as WebMediaOptions) + return value + } +} +export class WebOptions_serializer { + public static write(buffer: SerializerBase, value: WebOptions): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForSrc = value.src + if (valueHolderForSrc instanceof string) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForSrcForIdx0 = valueHolderForSrc as string + valueSerializer.writeString(valueHolderForSrcForIdx0) + } else if (valueHolderForSrc instanceof Resource) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForSrcForIdx1 = valueHolderForSrc as Resource + Resource_serializer.write(valueSerializer, valueHolderForSrcForIdx1) + } + const valueHolderForController = value.controller + webview_WebviewController_serializer.write(valueSerializer, valueHolderForController) + const valueHolderForRenderMode = value.renderMode + if (valueHolderForRenderMode !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForRenderModeTmpValue = (valueHolderForRenderMode as RenderMode) + valueSerializer.writeInt32(TypeChecker.RenderMode_ToNumeric(valueHolderForRenderModeTmpValue)) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForIncognitoMode = value.incognitoMode + if (valueHolderForIncognitoMode !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForIncognitoModeTmpValue = valueHolderForIncognitoMode! + valueSerializer.writeBoolean(valueHolderForIncognitoModeTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForSharedRenderProcessToken = value.sharedRenderProcessToken + if (valueHolderForSharedRenderProcessToken !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForSharedRenderProcessTokenTmpValue = valueHolderForSharedRenderProcessToken! + valueSerializer.writeString(valueHolderForSharedRenderProcessTokenTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + } + public static read(buffer: DeserializerBase): WebOptions { + let valueDeserializer : DeserializerBase = buffer + const srcTmpBufUnionSelector : int32 = valueDeserializer.readInt8() + let srcTmpBuf : string | Resource | undefined + if (srcTmpBufUnionSelector == (0).toChar()) { + srcTmpBuf = (valueDeserializer.readString() as string) + } else if (srcTmpBufUnionSelector == (1).toChar()) { + srcTmpBuf = Resource_serializer.read(valueDeserializer) + } else { + throw new Error("One of the branches for srcTmpBuf has to be chosen through deserialisation.") + } + const srcTmpResult : string | Resource = (srcTmpBuf as string | Resource) + const controllerTmpResult : webview.WebviewController = (webview_WebviewController_serializer.read(valueDeserializer) as webview.WebviewController) + const renderModeTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let renderModeTmpBuf : RenderMode | undefined + if ((renderModeTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + renderModeTmpBuf = TypeChecker.RenderMode_FromNumeric(valueDeserializer.readInt32()) + } + const renderModeTmpResult : RenderMode | undefined = renderModeTmpBuf + const incognitoModeTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let incognitoModeTmpBuf : boolean | undefined + if ((incognitoModeTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + incognitoModeTmpBuf = valueDeserializer.readBoolean() + } + const incognitoModeTmpResult : boolean | undefined = incognitoModeTmpBuf + const sharedRenderProcessTokenTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let sharedRenderProcessTokenTmpBuf : string | undefined + if ((sharedRenderProcessTokenTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + sharedRenderProcessTokenTmpBuf = (valueDeserializer.readString() as string) + } + const sharedRenderProcessTokenTmpResult : string | undefined = sharedRenderProcessTokenTmpBuf + let value : WebOptions = ({src: srcTmpResult, controller: controllerTmpResult, renderMode: renderModeTmpResult, incognitoMode: incognitoModeTmpResult, sharedRenderProcessToken: sharedRenderProcessTokenTmpResult} as WebOptions) + return value + } +} +export class NativeEmbedInfo_serializer { + public static write(buffer: SerializerBase, value: NativeEmbedInfo): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForId = value.id + if (valueHolderForId !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForIdTmpValue = valueHolderForId! + valueSerializer.writeString(valueHolderForIdTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForType = value.type + if (valueHolderForType !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForTypeTmpValue = valueHolderForType! + valueSerializer.writeString(valueHolderForTypeTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForSrc = value.src + if (valueHolderForSrc !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForSrcTmpValue = valueHolderForSrc! + valueSerializer.writeString(valueHolderForSrcTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForPosition = value.position + if (valueHolderForPosition !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForPositionTmpValue = valueHolderForPosition! + Position_serializer.write(valueSerializer, valueHolderForPositionTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForWidth = value.width + if (valueHolderForWidth !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForWidthTmpValue = valueHolderForWidth! + valueSerializer.writeInt32(valueHolderForWidthTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForHeight = value.height + if (valueHolderForHeight !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForHeightTmpValue = valueHolderForHeight! + valueSerializer.writeInt32(valueHolderForHeightTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForUrl = value.url + if (valueHolderForUrl !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForUrlTmpValue = valueHolderForUrl! + valueSerializer.writeString(valueHolderForUrlTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForTag = value.tag + if (valueHolderForTag !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForTagTmpValue = valueHolderForTag! + valueSerializer.writeString(valueHolderForTagTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForParams = value.params + if (valueHolderForParams !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForParamsTmpValue = valueHolderForParams! + valueSerializer.writeInt32((valueHolderForParamsTmpValue.size).toInt()) + for (const pair of valueHolderForParamsTmpValue) { + const valueHolderForParamsTmpValueKeyVar = pair[0] + const valueHolderForParamsTmpValueValueVar = pair[1] + valueSerializer.writeString(valueHolderForParamsTmpValueKeyVar) + valueSerializer.writeString(valueHolderForParamsTmpValueValueVar) + } + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + } + public static read(buffer: DeserializerBase): NativeEmbedInfo { + let valueDeserializer : DeserializerBase = buffer + const idTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let idTmpBuf : string | undefined + if ((idTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + idTmpBuf = (valueDeserializer.readString() as string) + } + const idTmpResult : string | undefined = idTmpBuf + const typeTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let typeTmpBuf : string | undefined + if ((typeTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + typeTmpBuf = (valueDeserializer.readString() as string) + } + const typeTmpResult : string | undefined = typeTmpBuf + const srcTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let srcTmpBuf : string | undefined + if ((srcTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + srcTmpBuf = (valueDeserializer.readString() as string) + } + const srcTmpResult : string | undefined = srcTmpBuf + const positionTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let positionTmpBuf : Position | undefined + if ((positionTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + positionTmpBuf = Position_serializer.read(valueDeserializer) + } + const positionTmpResult : Position | undefined = positionTmpBuf + const widthTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let widthTmpBuf : int32 | undefined + if ((widthTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + widthTmpBuf = valueDeserializer.readInt32() + } + const widthTmpResult : int32 | undefined = widthTmpBuf + const heightTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let heightTmpBuf : int32 | undefined + if ((heightTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + heightTmpBuf = valueDeserializer.readInt32() + } + const heightTmpResult : int32 | undefined = heightTmpBuf + const urlTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let urlTmpBuf : string | undefined + if ((urlTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + urlTmpBuf = (valueDeserializer.readString() as string) + } + const urlTmpResult : string | undefined = urlTmpBuf + const tagTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let tagTmpBuf : string | undefined + if ((tagTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + tagTmpBuf = (valueDeserializer.readString() as string) + } + const tagTmpResult : string | undefined = tagTmpBuf + const paramsTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let paramsTmpBuf : Map | undefined + if ((paramsTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + const paramsTmpBuf_SizeVar : int32 = valueDeserializer.readInt32() + let paramsTmpBuf_ : Map = new Map() + // TODO: TS map resize + for (let paramsTmpBuf_IVar = 0; paramsTmpBuf_IVar < paramsTmpBuf_SizeVar; paramsTmpBuf_IVar++) { + const paramsTmpBuf_KeyVar : string = (valueDeserializer.readString() as string) + const paramsTmpBuf_ValueVar : string = (valueDeserializer.readString() as string) + paramsTmpBuf_.set(paramsTmpBuf_KeyVar, paramsTmpBuf_ValueVar) + } + paramsTmpBuf = paramsTmpBuf_ + } + const paramsTmpResult : Map | undefined = paramsTmpBuf + let value : NativeEmbedInfo = ({id: idTmpResult, type: typeTmpResult, src: srcTmpResult, position: positionTmpResult, width: widthTmpResult, height: heightTmpResult, url: urlTmpResult, tag: tagTmpResult, params: paramsTmpResult} as NativeEmbedInfo) + return value + } +} +export class NativeEmbedDataInfo_serializer { + public static write(buffer: SerializerBase, value: NativeEmbedDataInfo): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForStatus = value.status + if (valueHolderForStatus !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForStatusTmpValue = (valueHolderForStatus as NativeEmbedStatus) + valueSerializer.writeInt32(TypeChecker.NativeEmbedStatus_ToNumeric(valueHolderForStatusTmpValue)) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForSurfaceId = value.surfaceId + if (valueHolderForSurfaceId !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForSurfaceIdTmpValue = valueHolderForSurfaceId! + valueSerializer.writeString(valueHolderForSurfaceIdTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForEmbedId = value.embedId + if (valueHolderForEmbedId !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForEmbedIdTmpValue = valueHolderForEmbedId! + valueSerializer.writeString(valueHolderForEmbedIdTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForInfo = value.info + if (valueHolderForInfo !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForInfoTmpValue = valueHolderForInfo! + NativeEmbedInfo_serializer.write(valueSerializer, valueHolderForInfoTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + } + public static read(buffer: DeserializerBase): NativeEmbedDataInfo { + let valueDeserializer : DeserializerBase = buffer + const statusTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let statusTmpBuf : NativeEmbedStatus | undefined + if ((statusTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + statusTmpBuf = TypeChecker.NativeEmbedStatus_FromNumeric(valueDeserializer.readInt32()) + } + const statusTmpResult : NativeEmbedStatus | undefined = statusTmpBuf + const surfaceIdTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let surfaceIdTmpBuf : string | undefined + if ((surfaceIdTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + surfaceIdTmpBuf = (valueDeserializer.readString() as string) + } + const surfaceIdTmpResult : string | undefined = surfaceIdTmpBuf + const embedIdTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let embedIdTmpBuf : string | undefined + if ((embedIdTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + embedIdTmpBuf = (valueDeserializer.readString() as string) + } + const embedIdTmpResult : string | undefined = embedIdTmpBuf + const infoTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let infoTmpBuf : NativeEmbedInfo | undefined + if ((infoTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + infoTmpBuf = NativeEmbedInfo_serializer.read(valueDeserializer) + } + const infoTmpResult : NativeEmbedInfo | undefined = infoTmpBuf + let value : NativeEmbedDataInfo = ({status: statusTmpResult, surfaceId: surfaceIdTmpResult, embedId: embedIdTmpResult, info: infoTmpResult} as NativeEmbedDataInfo) + return value + } +} +export class NativeEmbedTouchInfo_serializer { + public static write(buffer: SerializerBase, value: NativeEmbedTouchInfo): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForEmbedId = value.embedId + if (valueHolderForEmbedId !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForEmbedIdTmpValue = valueHolderForEmbedId! + valueSerializer.writeString(valueHolderForEmbedIdTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForTouchEvent = value.touchEvent + if (valueHolderForTouchEvent !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForTouchEventTmpValue = valueHolderForTouchEvent! + TouchEvent_serializer.write(valueSerializer, valueHolderForTouchEventTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + const valueHolderForResult = value.result + if (valueHolderForResult !== undefined) { + valueSerializer.writeInt8(RuntimeType.OBJECT) + const valueHolderForResultTmpValue = valueHolderForResult! + EventResult_serializer.write(valueSerializer, valueHolderForResultTmpValue) + } else { + valueSerializer.writeInt8(RuntimeType.UNDEFINED) + } + } + public static read(buffer: DeserializerBase): NativeEmbedTouchInfo { + let valueDeserializer : DeserializerBase = buffer + const embedIdTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let embedIdTmpBuf : string | undefined + if ((embedIdTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + embedIdTmpBuf = (valueDeserializer.readString() as string) + } + const embedIdTmpResult : string | undefined = embedIdTmpBuf + const touchEventTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let touchEventTmpBuf : TouchEvent | undefined + if ((touchEventTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + touchEventTmpBuf = (TouchEvent_serializer.read(valueDeserializer) as TouchEvent) + } + const touchEventTmpResult : TouchEvent | undefined = touchEventTmpBuf + const resultTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() + let resultTmpBuf : EventResult | undefined + if ((resultTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + resultTmpBuf = (EventResult_serializer.read(valueDeserializer) as EventResult) + } + const resultTmpResult : EventResult | undefined = resultTmpBuf + let value : NativeEmbedTouchInfo = ({embedId: embedIdTmpResult, touchEvent: touchEventTmpResult, result: resultTmpResult} as NativeEmbedTouchInfo) + return value } } diff --git a/arkoala-arkts/arkui/generated/component/windowScene.ets b/arkoala-arkts/arkui/generated/component/windowScene.ets index 06914776d..5987c145c 100644 --- a/arkoala-arkts/arkui/generated/component/windowScene.ets +++ b/arkoala-arkts/arkui/generated/component/windowScene.ets @@ -74,7 +74,7 @@ export interface WindowSceneAttribute extends CommonMethod { } export class ArkWindowSceneStyle extends ArkCommonMethodStyle implements WindowSceneAttribute { attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public attractionEffect(destination: Position | undefined, fraction: number | undefined): this { + attractionEffect(destination: Position | undefined, fraction: number | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/withTheme.ets b/arkoala-arkts/arkui/generated/component/withTheme.ets index 656050e03..217483d39 100644 --- a/arkoala-arkts/arkui/generated/component/withTheme.ets +++ b/arkoala-arkts/arkui/generated/component/withTheme.ets @@ -27,7 +27,7 @@ import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { CustomTheme, CustomTheme_serializer } from "./../framework/ohos.arkui.theme" import { ThemeColorMode } from "./common" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { NodeAttach, remember } from "@koalaui/runtime" export class ArkWithThemePeer extends PeerNode { protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { diff --git a/arkoala-arkts/arkui/generated/component/xcomponent.ets b/arkoala-arkts/arkui/generated/component/xcomponent.ets index 8a568988b..6424c8fbd 100644 --- a/arkoala-arkts/arkui/generated/component/xcomponent.ets +++ b/arkoala-arkts/arkui/generated/component/xcomponent.ets @@ -25,7 +25,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle } from "./common" import { VoidCallback } from "./units" -import { AttributeModifier, AttributeUpdater, extractors } from "#handwritten" +import { AttributeModifier, AttributeUpdater } from "#handwritten" import { CallbackKind } from "./../framework/peers/CallbackKind" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" @@ -75,9 +75,6 @@ export class XComponentController implements MaterializedBase { public getXComponentSurfaceId(): string { return this.getXComponentSurfaceId_serialize() } - public getXComponentContext(): Object { - return this.getXComponentContext_serialize() - } public setXComponentSurfaceRect(rect: SurfaceRect): void { const rect_casted = rect as (SurfaceRect) this.setXComponentSurfaceRect_serialize(rect_casted) @@ -130,10 +127,6 @@ export class XComponentController implements MaterializedBase { const retval = ArkUIGeneratedNativeModule._XComponentController_getXComponentSurfaceId(this.peer!.ptr) return retval } - private getXComponentContext_serialize(): Object { - const retval = ArkUIGeneratedNativeModule._XComponentController_getXComponentContext(this.peer!.ptr) - return retval - } private setXComponentSurfaceRect_serialize(rect: SurfaceRect): void { const thisSerializer : SerializerBase = SerializerBase.hold() SurfaceRect_serializer.write(thisSerializer, rect) @@ -211,25 +204,25 @@ export class ArkXComponentPeer extends ArkCommonMethodPeer { component?.setPeer(_peer) return _peer } - setXComponentOptions0Attribute(value: XComponentParameter): void { - const thisSerializer : SerializerBase = SerializerBase.hold() - XComponentParameter_serializer.write(thisSerializer, value) - ArkUIGeneratedNativeModule._XComponentInterface_setXComponentOptions0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - setXComponentOptions1Attribute(options: XComponentOptions): void { + setXComponentOptionsAttribute(params: XComponentParameters | XComponentOptions | NativeXComponentParameters): void { const thisSerializer : SerializerBase = SerializerBase.hold() - XComponentOptions_serializer.write(thisSerializer, options) - ArkUIGeneratedNativeModule._XComponentInterface_setXComponentOptions1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - setXComponentOptions2Attribute(params: NativeXComponentParameters): void { - const thisSerializer : SerializerBase = SerializerBase.hold() - NativeXComponentParameters_serializer.write(thisSerializer, params) - ArkUIGeneratedNativeModule._XComponentInterface_setXComponentOptions2(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + if (params instanceof XComponentParameters) { + thisSerializer.writeInt8((0).toChar()) + const paramsForIdx0 = params as XComponentParameters + XComponentParameters_serializer.write(thisSerializer, paramsForIdx0) + } else if (params instanceof XComponentOptions) { + thisSerializer.writeInt8((1).toChar()) + const paramsForIdx1 = params as XComponentOptions + XComponentOptions_serializer.write(thisSerializer, paramsForIdx1) + } else if (params instanceof NativeXComponentParameters) { + thisSerializer.writeInt8((2).toChar()) + const paramsForIdx2 = params as NativeXComponentParameters + NativeXComponentParameters_serializer.write(thisSerializer, paramsForIdx2) + } + ArkUIGeneratedNativeModule._XComponentInterface_setXComponentOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setOnLoadAttribute(value: OnNativeLoadCallback | undefined): void { + setOnLoadAttribute(value: VoidCallback | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) @@ -277,37 +270,26 @@ export class ArkXComponentPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._XComponentAttribute_setEnableSecure(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setHdrBrightnessAttribute(value: number | undefined): void { + setHdrBrightnessAttribute(value: double | undefined): void { const thisSerializer : SerializerBase = SerializerBase.hold() if (value !== undefined) { thisSerializer.writeInt8(RuntimeType.OBJECT) const valueTmpValue = value! - thisSerializer.writeNumber(valueTmpValue) + thisSerializer.writeFloat64(valueTmpValue) } else { thisSerializer.writeInt8(RuntimeType.UNDEFINED) } ArkUIGeneratedNativeModule._XComponentAttribute_setHdrBrightness(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - setEnableTransparentLayerAttribute(value: boolean | undefined): void { - const thisSerializer : SerializerBase = SerializerBase.hold() - if (value !== undefined) { - thisSerializer.writeInt8(RuntimeType.OBJECT) - const valueTmpValue = value! - thisSerializer.writeBoolean(valueTmpValue) - } else { - thisSerializer.writeInt8(RuntimeType.UNDEFINED) - } - ArkUIGeneratedNativeModule._XComponentAttribute_setEnableTransparentLayer(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } } export interface SurfaceRect { - offsetX?: number; - offsetY?: number; - surfaceWidth: number; - surfaceHeight: number; + offsetX?: double; + offsetY?: double; + surfaceWidth: double; + surfaceHeight: double; } +export type NativeXComponentPointer = int64; export interface SurfaceRotationOptions { lock?: boolean; } @@ -315,15 +297,14 @@ export interface XComponentOptions { type: XComponentType; controller: XComponentController; imageAIOptions?: ImageAIOptions; - screenId?: number; + screenId?: int64; } export interface NativeXComponentParameters { type: XComponentType; imageAIOptions?: ImageAIOptions; } -export type OnNativeLoadCallback = (event?: Object) => void; export interface XComponentAttribute extends CommonMethod { - onLoad(value: OnNativeLoadCallback | undefined): this { + onLoad(value: VoidCallback | undefined): this { throw new Error("Unimplemented method onLoad") } onDestroy(value: VoidCallback | undefined): this { @@ -335,50 +316,43 @@ export interface XComponentAttribute extends CommonMethod { enableSecure(value: boolean | undefined): this { throw new Error("Unimplemented method enableSecure") } - hdrBrightness(value: number | undefined): this { + hdrBrightness(value: double | undefined): this { throw new Error("Unimplemented method hdrBrightness") } - enableTransparentLayer(value: boolean | undefined): this { - throw new Error("Unimplemented method enableTransparentLayer") - } attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Unimplemented method attributeModifier") } } export class ArkXComponentStyle extends ArkCommonMethodStyle implements XComponentAttribute { - onLoad_value?: OnNativeLoadCallback | undefined + onLoad_value?: VoidCallback | undefined onDestroy_value?: VoidCallback | undefined enableAnalyzer_value?: boolean | undefined enableSecure_value?: boolean | undefined - hdrBrightness_value?: number | undefined - enableTransparentLayer_value?: boolean | undefined + hdrBrightness_value?: double | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onLoad(value: OnNativeLoadCallback | undefined): this { + onLoad(value: VoidCallback | undefined): this { return this } - public onDestroy(value: VoidCallback | undefined): this { - return this - } - public enableAnalyzer(value: boolean | undefined): this { + onDestroy(value: VoidCallback | undefined): this { return this } - public enableSecure(value: boolean | undefined): this { + enableAnalyzer(value: boolean | undefined): this { return this } - public hdrBrightness(value: number | undefined): this { + enableSecure(value: boolean | undefined): this { return this } - public enableTransparentLayer(value: boolean | undefined): this { + hdrBrightness(value: double | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } } -export interface XComponentParameter { +export interface XComponentParameters { id: string; type: XComponentType; - libraryname?: string; + nativeXComponentHandler: ((value0: NativeXComponentPointer) => void); controller?: XComponentController; } @@ -386,33 +360,17 @@ export class ArkXComponentComponent extends ArkCommonMethodComponent implements getPeer(): ArkXComponentPeer { return (this.peer as ArkXComponentPeer) } - public setXComponentOptions(value: XComponentParameter): this { + public setXComponentOptions(params: XComponentParameters | XComponentOptions | NativeXComponentParameters): this { if (this.checkPriority("setXComponentOptions")) { - const value_casted = value as (XComponentParameter) - this.getPeer()?.setXComponentOptions0Attribute(value_casted) + const params_casted = params as (XComponentParameters | XComponentOptions | NativeXComponentParameters) + this.getPeer()?.setXComponentOptionsAttribute(params_casted) return this } return this } - public setXComponentOptions(options: XComponentOptions): this { - if (this.checkPriority("setXComponentOptions")) { - const options_casted = options as (XComponentOptions) - this.getPeer()?.setXComponentOptions1Attribute(options_casted) - return this - } - return this - } - public setXComponentOptions(params: NativeXComponentParameters): this { - if (this.checkPriority("setXComponentOptions")) { - const params_casted = params as (NativeXComponentParameters) - this.getPeer()?.setXComponentOptions2Attribute(params_casted) - return this - } - return this - } - public onLoad(value: OnNativeLoadCallback | undefined): this { + public onLoad(value: VoidCallback | undefined): this { if (this.checkPriority("onLoad")) { - const value_casted = value as (OnNativeLoadCallback | undefined) + const value_casted = value as (VoidCallback | undefined) this.getPeer()?.setOnLoadAttribute(value_casted) return this } @@ -442,22 +400,14 @@ export class ArkXComponentComponent extends ArkCommonMethodComponent implements } return this } - public hdrBrightness(value: number | undefined): this { + public hdrBrightness(value: double | undefined): this { if (this.checkPriority("hdrBrightness")) { - const value_casted = value as (number | undefined) + const value_casted = value as (double | undefined) this.getPeer()?.setHdrBrightnessAttribute(value_casted) return this } return this } - public enableTransparentLayer(value: boolean | undefined): this { - if (this.checkPriority("enableTransparentLayer")) { - const value_casted = value as (boolean | undefined) - this.getPeer()?.setEnableTransparentLayerAttribute(value_casted) - return this - } - return this - } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { return this } @@ -471,47 +421,7 @@ export class ArkXComponentComponent extends ArkCommonMethodComponent implements export function XComponent( @memo style: ((attributes: XComponentAttribute) => void) | undefined, - value: XComponentParameter, - @memo - content_?: () => void, -): void { - const receiver = remember((): ArkXComponentComponent => { - return new ArkXComponentComponent() - }) - NodeAttach((): ArkXComponentPeer => ArkXComponentPeer.create(receiver), (_: ArkXComponentPeer): void => { - receiver.setXComponentOptions(value) - style?.(receiver) - content_?.() - receiver.applyAttributesFinish() - }) -} - - -@memo -export function XComponent( - @memo - style: ((attributes: XComponentAttribute) => void) | undefined, - options: XComponentOptions, - @memo - content_?: () => void, -): void { - const receiver = remember((): ArkXComponentComponent => { - return new ArkXComponentComponent() - }) - NodeAttach((): ArkXComponentPeer => ArkXComponentPeer.create(receiver), (_: ArkXComponentPeer): void => { - receiver.setXComponentOptions(options) - style?.(receiver) - content_?.() - receiver.applyAttributesFinish() - }) -} - - -@memo -export function XComponent( - @memo - style: ((attributes: XComponentAttribute) => void) | undefined, - params: NativeXComponentParameters, + params: XComponentParameters | XComponentOptions | NativeXComponentParameters, @memo content_?: () => void, ): void { @@ -533,7 +443,7 @@ export class SurfaceRect_serializer { if (valueHolderForOffsetX !== undefined) { valueSerializer.writeInt8(RuntimeType.OBJECT) const valueHolderForOffsetXTmpValue = valueHolderForOffsetX! - valueSerializer.writeNumber(valueHolderForOffsetXTmpValue) + valueSerializer.writeFloat64(valueHolderForOffsetXTmpValue) } else { valueSerializer.writeInt8(RuntimeType.UNDEFINED) } @@ -541,31 +451,31 @@ export class SurfaceRect_serializer { if (valueHolderForOffsetY !== undefined) { valueSerializer.writeInt8(RuntimeType.OBJECT) const valueHolderForOffsetYTmpValue = valueHolderForOffsetY! - valueSerializer.writeNumber(valueHolderForOffsetYTmpValue) + valueSerializer.writeFloat64(valueHolderForOffsetYTmpValue) } else { valueSerializer.writeInt8(RuntimeType.UNDEFINED) } const valueHolderForSurfaceWidth = value.surfaceWidth - valueSerializer.writeNumber(valueHolderForSurfaceWidth) + valueSerializer.writeFloat64(valueHolderForSurfaceWidth) const valueHolderForSurfaceHeight = value.surfaceHeight - valueSerializer.writeNumber(valueHolderForSurfaceHeight) + valueSerializer.writeFloat64(valueHolderForSurfaceHeight) } public static read(buffer: DeserializerBase): SurfaceRect { let valueDeserializer : DeserializerBase = buffer const offsetXTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() - let offsetXTmpBuf : number | undefined + let offsetXTmpBuf : double | undefined if ((offsetXTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { - offsetXTmpBuf = (valueDeserializer.readNumber() as number) + offsetXTmpBuf = valueDeserializer.readFloat64() } - const offsetXTmpResult : number | undefined = offsetXTmpBuf + const offsetXTmpResult : double | undefined = offsetXTmpBuf const offsetYTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() - let offsetYTmpBuf : number | undefined + let offsetYTmpBuf : double | undefined if ((offsetYTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { - offsetYTmpBuf = (valueDeserializer.readNumber() as number) + offsetYTmpBuf = valueDeserializer.readFloat64() } - const offsetYTmpResult : number | undefined = offsetYTmpBuf - const surfaceWidthTmpResult : number = (valueDeserializer.readNumber() as number) - const surfaceHeightTmpResult : number = (valueDeserializer.readNumber() as number) + const offsetYTmpResult : double | undefined = offsetYTmpBuf + const surfaceWidthTmpResult : double = valueDeserializer.readFloat64() + const surfaceHeightTmpResult : double = valueDeserializer.readFloat64() let value : SurfaceRect = ({offsetX: offsetXTmpResult, offsetY: offsetYTmpResult, surfaceWidth: surfaceWidthTmpResult, surfaceHeight: surfaceHeightTmpResult} as SurfaceRect) return value } @@ -651,7 +561,7 @@ export class XComponentOptions_serializer { if (valueHolderForScreenId !== undefined) { valueSerializer.writeInt8(RuntimeType.OBJECT) const valueHolderForScreenIdTmpValue = valueHolderForScreenId! - valueSerializer.writeNumber(valueHolderForScreenIdTmpValue) + valueSerializer.writeInt64(valueHolderForScreenIdTmpValue) } else { valueSerializer.writeInt8(RuntimeType.UNDEFINED) } @@ -667,30 +577,24 @@ export class XComponentOptions_serializer { } const imageAIOptionsTmpResult : ImageAIOptions | undefined = imageAIOptionsTmpBuf const screenIdTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() - let screenIdTmpBuf : number | undefined + let screenIdTmpBuf : int64 | undefined if ((screenIdTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { - screenIdTmpBuf = (valueDeserializer.readNumber() as number) + screenIdTmpBuf = valueDeserializer.readInt64() } - const screenIdTmpResult : number | undefined = screenIdTmpBuf + const screenIdTmpResult : int64 | undefined = screenIdTmpBuf let value : XComponentOptions = ({type: typeTmpResult, controller: controllerTmpResult, imageAIOptions: imageAIOptionsTmpResult, screenId: screenIdTmpResult} as XComponentOptions) return value } } -export class XComponentParameter_serializer { - public static write(buffer: SerializerBase, value: XComponentParameter): void { +export class XComponentParameters_serializer { + public static write(buffer: SerializerBase, value: XComponentParameters): void { let valueSerializer : SerializerBase = buffer const valueHolderForId = value.id valueSerializer.writeString(valueHolderForId) const valueHolderForType = value.type valueSerializer.writeInt32(TypeChecker.XComponentType_ToNumeric(valueHolderForType)) - const valueHolderForLibraryname = value.libraryname - if (valueHolderForLibraryname !== undefined) { - valueSerializer.writeInt8(RuntimeType.OBJECT) - const valueHolderForLibrarynameTmpValue = valueHolderForLibraryname! - valueSerializer.writeString(valueHolderForLibrarynameTmpValue) - } else { - valueSerializer.writeInt8(RuntimeType.UNDEFINED) - } + const valueHolderForNativeXComponentHandler = value.nativeXComponentHandler + valueSerializer.holdAndWriteCallback(valueHolderForNativeXComponentHandler) const valueHolderForController = value.controller if (valueHolderForController !== undefined) { valueSerializer.writeInt8(RuntimeType.OBJECT) @@ -700,23 +604,30 @@ export class XComponentParameter_serializer { valueSerializer.writeInt8(RuntimeType.UNDEFINED) } } - public static read(buffer: DeserializerBase): XComponentParameter { + public static read(buffer: DeserializerBase): XComponentParameters { let valueDeserializer : DeserializerBase = buffer const idTmpResult : string = (valueDeserializer.readString() as string) const typeTmpResult : XComponentType = TypeChecker.XComponentType_FromNumeric(valueDeserializer.readInt32()) - const librarynameTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() - let librarynameTmpBuf : string | undefined - if ((librarynameTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { - librarynameTmpBuf = (valueDeserializer.readString() as string) + const nativeXComponentHandlerTmpBufBufResource : CallbackResource = valueDeserializer.readCallbackResource() + const nativeXComponentHandlerTmpBufBufCall : KPointer = valueDeserializer.readPointer() + const nativeXComponentHandlerTmpBufBufCallSync : KPointer = valueDeserializer.readPointer() + const nativeXComponentHandlerTmpResult : ((value0: NativeXComponentPointer) => void) = (value0: NativeXComponentPointer):void => { + const nativeXComponentHandlerTmpBufBufArgsSerializer : SerializerBase = SerializerBase.hold(); + nativeXComponentHandlerTmpBufBufArgsSerializer.writeInt32(nativeXComponentHandlerTmpBufBufResource.resourceId); + nativeXComponentHandlerTmpBufBufArgsSerializer.writePointer(nativeXComponentHandlerTmpBufBufCall); + nativeXComponentHandlerTmpBufBufArgsSerializer.writePointer(nativeXComponentHandlerTmpBufBufCallSync); + nativeXComponentHandlerTmpBufBufArgsSerializer.writeInt64(value0); + InteropNativeModule._CallCallbackSync(10, -141504638, nativeXComponentHandlerTmpBufBufArgsSerializer.asBuffer(), nativeXComponentHandlerTmpBufBufArgsSerializer.length()); + nativeXComponentHandlerTmpBufBufArgsSerializer.release(); + return; } - const librarynameTmpResult : string | undefined = librarynameTmpBuf const controllerTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() let controllerTmpBuf : XComponentController | undefined if ((controllerTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { controllerTmpBuf = (XComponentController_serializer.read(valueDeserializer) as XComponentController) } const controllerTmpResult : XComponentController | undefined = controllerTmpBuf - let value : XComponentParameter = ({id: idTmpResult, type: typeTmpResult, libraryname: librarynameTmpResult, controller: controllerTmpResult} as XComponentParameter) + let value : XComponentParameters = ({id: idTmpResult, type: typeTmpResult, nativeXComponentHandler: nativeXComponentHandlerTmpResult, controller: controllerTmpResult} as XComponentParameters) return value } } diff --git a/arkoala-arkts/arkui/generated/framework/EnumsImpl.ets b/arkoala-arkts/arkui/generated/framework/EnumsImpl.ets index ec781f6f3..1b0fa6255 100644 --- a/arkoala-arkts/arkui/generated/framework/EnumsImpl.ets +++ b/arkoala-arkts/arkui/generated/framework/EnumsImpl.ets @@ -2435,16 +2435,6 @@ export enum SliderBlockType { IMAGE = 1, SHAPE = 2 } -export enum ColorMode { - LIGHT = 0, - DARK = 1 -} -export enum LayoutDirection { - LTR = 0, - RTL = 1, - AUTO = 2, - Auto = 2 -} export enum ItemState { NORMAL = 0, Normal = 0, @@ -2686,6 +2676,10 @@ export enum ToggleType { BUTTON = 2, Button = 2 } +export enum ToolBarItemPlacement { + TOP_BAR_LEADING = 0, + TOP_BAR_TRAILING = 1 +} export enum DpiFollowStrategy { FOLLOW_HOST_DPI = 0, FOLLOW_UI_EXTENSION_ABILITY_DPI = 1 @@ -2720,6 +2714,198 @@ export enum WaterFlowLayoutMode { ALWAYS_TOP_DOWN = 0, SLIDING_WINDOW = 1 } +export enum MessageLevel { + DEBUG = 0, + Debug = 0, + ERROR = 1, + Error = 1, + INFO = 2, + Info = 2, + LOG = 3, + Log = 3, + WARN = 4, + Warn = 4 +} +export enum MixedMode { + ALL = 0, + All = 0, + COMPATIBLE = 1, + Compatible = 1, + NONE = 2, + None = 2 +} +export enum HitTestType { + EDIT_TEXT = 0, + EditText = 0, + EMAIL = 1, + Email = 1, + HTTP_ANCHOR = 2, + HttpAnchor = 2, + HTTP_ANCHOR_IMG = 3, + HttpAnchorImg = 3, + IMG = 4, + Img = 4, + MAP = 5, + Map = 5, + PHONE = 6, + Phone = 6, + UNKNOWN = 7, + Unknown = 7 +} +export enum CacheMode { + DEFAULT = 0, + Default = 0, + NONE = 1, + None = 1, + ONLINE = 2, + Online = 2, + ONLY = 3, + Only = 3 +} +export enum OverScrollMode { + NEVER = 0, + ALWAYS = 1 +} +export enum BlurOnKeyboardHideMode { + SILENT = 0, + BLUR = 1 +} +export enum WebDarkMode { + OFF = 0, + Off = 0, + ON = 1, + On = 1, + AUTO = 2, + Auto = 2 +} +export enum WebCaptureMode { + HOME_SCREEN = 0 +} +export enum ThreatType { + THREAT_ILLEGAL = 0, + THREAT_FRAUD = 1, + THREAT_RISK = 2, + THREAT_WARNING = 3 +} +export enum RenderExitReason { + PROCESS_ABNORMAL_TERMINATION = 0, + ProcessAbnormalTermination = 0, + PROCESS_WAS_KILLED = 1, + ProcessWasKilled = 1, + PROCESS_CRASHED = 2, + ProcessCrashed = 2, + PROCESS_OOM = 3, + ProcessOom = 3, + PROCESS_EXIT_UNKNOWN = 4, + ProcessExitUnknown = 4 +} +export enum SslError { + INVALID = 0, + Invalid = 0, + HOST_MISMATCH = 1, + HostMismatch = 1, + DATE_INVALID = 2, + DateInvalid = 2, + UNTRUSTED = 3, + Untrusted = 3 +} +export enum FileSelectorMode { + FILE_OPEN_MODE = 0, + FileOpenMode = 0, + FILE_OPEN_MULTIPLE_MODE = 1, + FileOpenMultipleMode = 1, + FILE_OPEN_FOLDER_MODE = 2, + FileOpenFolderMode = 2, + FILE_SAVE_MODE = 3, + FileSaveMode = 3 +} +export enum WebLayoutMode { + NONE = 0, + FIT_CONTENT = 1 +} +export enum RenderProcessNotRespondingReason { + INPUT_TIMEOUT = 0, + NAVIGATION_COMMIT_TIMEOUT = 1 +} +export enum ProtectedResourceType { + MIDI_SYSEX = "'TYPE_MIDI_SYSEX'", + MidiSysex = "'TYPE_MIDI_SYSEX'", + VIDEO_CAPTURE = "'TYPE_VIDEO_CAPTURE'", + AUDIO_CAPTURE = "'TYPE_AUDIO_CAPTURE'", + SENSOR = "'TYPE_SENSOR'" +} +export enum ContextMenuSourceType { + NONE = 0, + None = 0, + MOUSE = 1, + Mouse = 1, + LONG_PRESS = 2, + LongPress = 2 +} +export enum ContextMenuMediaType { + NONE = 0, + None = 0, + IMAGE = 1, + Image = 1 +} +export enum ContextMenuInputFieldType { + NONE = 0, + None = 0, + PLAIN_TEXT = 1, + PlainText = 1, + PASSWORD = 2, + Password = 2, + NUMBER = 3, + Number = 3, + TELEPHONE = 4, + Telephone = 4, + OTHER = 5, + Other = 5 +} +export enum NativeEmbedStatus { + CREATE = 0, + UPDATE = 1, + DESTROY = 2, + ENTER_BFCACHE = 3, + LEAVE_BFCACHE = 4 +} +export enum ContextMenuEditStateFlags { + NONE = 0, + CAN_CUT = 1, + CAN_COPY = 2, + CAN_PASTE = 3, + CAN_SELECT_ALL = 4 +} +export enum WebNavigationType { + UNKNOWN = 0, + MAIN_FRAME_NEW_ENTRY = 1, + MAIN_FRAME_EXISTING_ENTRY = 2, + NAVIGATION_TYPE_NEW_SUBFRAME = 4, + NAVIGATION_TYPE_AUTO_SUBFRAME = 5 +} +export enum RenderMode { + ASYNC_RENDER = 0, + SYNC_RENDER = 1 +} +export enum ViewportFit { + AUTO = 0, + CONTAINS = 1, + COVER = 2 +} +export enum WebKeyboardAvoidMode { + RESIZE_VISUAL = 0, + RESIZE_CONTENT = 1, + OVERLAYS_CONTENT = 2 +} +export enum WebElementType { + IMAGE = 1 +} +export enum WebResponseType { + LONG_PRESS = 1 +} +export enum AudioSessionType { + AMBIENT = 3 +} export enum PerfMonitorActionType { LAST_DOWN = 0, LAST_UP = 1, diff --git a/arkoala-arkts/arkui/generated/framework/GlobalScope.ets b/arkoala-arkts/arkui/generated/framework/GlobalScope.ets index 04774d2d8..057b0d450 100644 --- a/arkoala-arkts/arkui/generated/framework/GlobalScope.ets +++ b/arkoala-arkts/arkui/generated/framework/GlobalScope.ets @@ -180,12 +180,12 @@ export class GlobalScope { const returnResult : ComponentInfo = ComponentInfo_serializer.read(retvalDeserializer) return returnResult } - public static Profiler_registerVsyncCallback(callback_: ((info: string) => void)): void { - const callback__casted = callback_ as (((info: string) => void)) + public static Profiler_registerVsyncCallback(callback_: ((value0: string) => void)): void { + const callback__casted = callback_ as (((value0: string) => void)) GlobalScope.Profiler_registerVsyncCallback_serialize(callback__casted) return } - static Profiler_registerVsyncCallback_serialize(callback_: ((info: string) => void)): void { + static Profiler_registerVsyncCallback_serialize(callback_: ((value0: string) => void)): void { const thisSerializer : SerializerBase = SerializerBase.hold() thisSerializer.holdAndWriteCallback(callback_) ArkUIGeneratedNativeModule._GlobalScope_Profiler_registerVsyncCallback(thisSerializer.asBuffer(), thisSerializer.length()) diff --git a/arkoala-arkts/arkui/generated/framework/application.BaseContext.ets b/arkoala-arkts/arkui/generated/framework/application.BaseContext.ets index 518a24113..17d79c6e0 100644 --- a/arkoala-arkts/arkui/generated/framework/application.BaseContext.ets +++ b/arkoala-arkts/arkui/generated/framework/application.BaseContext.ets @@ -20,7 +20,6 @@ import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, runtimeType, RuntimeType, SerializerBase, DeserializerBase, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, CallbackResource, InteropNativeModule, Tags, nullptr, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./../CallbackTransformer" -import { extractors } from "#handwritten" export class BaseContextInternal { public static fromPtr(ptr: KPointer): BaseContext { return new BaseContext(ptr) diff --git a/arkoala-arkts/arkui/generated/framework/application.Context.ets b/arkoala-arkts/arkui/generated/framework/application.Context.ets index 760cc1d5e..2e981d533 100644 --- a/arkoala-arkts/arkui/generated/framework/application.Context.ets +++ b/arkoala-arkts/arkui/generated/framework/application.Context.ets @@ -20,7 +20,6 @@ import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, runtimeType, RuntimeType, SerializerBase, DeserializerBase, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, CallbackResource, InteropNativeModule, Tags, nullptr, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./../CallbackTransformer" -import { extractors } from "#handwritten" export interface Context { } export class ContextInternal implements MaterializedBase,Context { diff --git a/arkoala-arkts/arkui/generated/framework/arkts/ArkUIGeneratedNativeModule.ets b/arkoala-arkts/arkui/generated/framework/arkts/ArkUIGeneratedNativeModule.ets index 3d6e78b32..7e61f2d81 100644 --- a/arkoala-arkts/arkui/generated/framework/arkts/ArkUIGeneratedNativeModule.ets +++ b/arkoala-arkts/arkui/generated/framework/arkts/ArkUIGeneratedNativeModule.ets @@ -167,9 +167,7 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _Canvas_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct - native static _CanvasInterface_setCanvasOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _CanvasInterface_setCanvasOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CanvasInterface_setCanvasOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CanvasAttribute_setOnReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -219,8 +217,6 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _ColumnAttribute_setJustifyContent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _ColumnAttribute_setPointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct native static _ColumnAttribute_setReverse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _ColumnSplit_construct(id: KInt, flags: KInt): KPointer @@ -429,9 +425,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_setEnabled(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_setAlignRules0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_setAlignRulesWithAlignRuleOptionTypedValue(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_setAlignRules1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_setAlignRulesWithLocalizedAlignRuleOptionsTypedValue(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_setAspectRatio(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -489,9 +485,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_setPixelStretchEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_setAccessibilityGroup0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_setAccessibilityGroupWithValue(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_setAccessibilityText0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_setAccessibilityTextOfStringType(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_setAccessibilityNextFocusId(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -501,7 +497,7 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_setAccessibilityScrollTriggerable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_setAccessibilityText1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_setAccessibilityTextOfResourceType(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_setAccessibilityRole(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -509,9 +505,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_setAccessibilityTextHint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_setAccessibilityDescription0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_setAccessibilityDescriptionOfStringType(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_setAccessibilityDescription1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_setAccessibilityDescriptionOfResourceType(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_setAccessibilityLevel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -627,7 +623,7 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_setKeyboardShortcut(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_setAccessibilityGroup1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_setAccessibilityGroupWithConfig(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_setOnGestureRecognizerJudgeBegin1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -761,7 +757,7 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _EmbeddedComponent_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct - native static _EmbeddedComponentInterface_setEmbeddedComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, type: KInt): void + native static _EmbeddedComponentInterface_setEmbeddedComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _EmbeddedComponentAttribute_setOnTerminated(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -771,8 +767,6 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _FlexInterface_setFlexOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _FlexAttribute_setPointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct native static _FlowItem_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _FlowItemInterface_setFlowItemOptions(ptr: KPointer): void @@ -855,6 +849,12 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _GridAttribute_setRowsGap(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _GridAttribute_setScrollBarWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _GridAttribute_setScrollBarColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _GridAttribute_setScrollBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _GridAttribute_setOnScrollBarUpdate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _GridAttribute_setOnScrollIndex(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -885,6 +885,12 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _GridAttribute_setOnItemDrop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _GridAttribute_setNestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _GridAttribute_setEnableScrollInteraction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _GridAttribute_setFriction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _GridAttribute_setAlignItems(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _GridAttribute_setOnScrollFrameBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -895,6 +901,8 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _GridAttribute_setCachedCount1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _GridAttribute_setEdgeEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _GridCol_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _GridColInterface_setGridColOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -1299,9 +1307,7 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _Navigation_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct - native static _NavigationInterface_setNavigationOptions0(ptr: KPointer): void - @ani.unsafe.Direct - native static _NavigationInterface_setNavigationOptions1(ptr: KPointer, pathInfos: KPointer): void + native static _NavigationInterface_setNavigationOptions(ptr: KPointer, pathInfos: KPointer): void @ani.unsafe.Direct native static _NavigationAttribute_setNavBarWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -1369,6 +1375,8 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _PathInterface_setPathOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _PathAttribute_setCommands(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _PatternLock_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _PatternLockInterface_setPatternLockOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -1467,6 +1475,10 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _RectInterface_setRectOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _RectAttribute_setRadiusWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _RectAttribute_setRadiusHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _RectAttribute_setRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _Refresh_construct(id: KInt, flags: KInt): KPointer @@ -1499,9 +1511,7 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _RichEditor_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct - native static _RichEditorInterface_setRichEditorOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _RichEditorInterface_setRichEditorOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _RichEditorInterface_setRichEditorOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _RichEditorAttribute_setOnReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -1589,8 +1599,6 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _RowAttribute_setJustifyContent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _RowAttribute_setPointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct native static _RowAttribute_setReverse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _RowSplit_construct(id: KInt, flags: KInt): KPointer @@ -1801,6 +1809,8 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _SelectAttribute_setMenuOutline(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _SelectAttribute_setBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _SelectAttribute_setMenuAlign(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _Shape_construct(id: KInt, flags: KInt): KPointer @@ -1845,14 +1855,12 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _SideBarContainerAttribute_setOnChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SideBarContainerAttribute_setSideBarWidth0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SideBarContainerAttribute_setSideBarWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _SideBarContainerAttribute_setMinSideBarWidth0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _SideBarContainerAttribute_setMaxSideBarWidth0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SideBarContainerAttribute_setSideBarWidth1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct native static _SideBarContainerAttribute_setMinSideBarWidth1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _SideBarContainerAttribute_setMaxSideBarWidth1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -1947,8 +1955,6 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _StackAttribute_setAlignContent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _StackAttribute_setPointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct native static _Stepper_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _StepperInterface_setStepperOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -2617,6 +2623,10 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _ToggleAttribute_setSwitchStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _ToolBarItem_construct(id: KInt, flags: KInt): KPointer + @ani.unsafe.Direct + native static _ToolBarItemInterface_setToolBarItemOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _UIExtensionComponent_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _UIExtensionComponentInterface_setUIExtensionComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -2669,8 +2679,6 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _VideoAttribute_setAnalyzerConfig(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _VideoAttribute_setSurfaceBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct native static _VideoAttribute_setEnableShortcutKey(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _WaterFlow_construct(id: KInt, flags: KInt): KPointer @@ -2701,6 +2709,246 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _WaterFlowAttribute_setCachedCount1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _Web_construct(id: KInt, flags: KInt): KPointer + @ani.unsafe.Direct + native static _WebInterface_setWebOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setJavaScriptAccess(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setFileAccess(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnlineImageAccess(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setDomStorageAccess(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setImageAccess(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setMixedMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setZoomAccess(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setGeolocationAccess(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setJavaScriptProxy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setCacheMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setDarkMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setForceDarkAccess(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setMediaOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOverviewModeAccess(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOverScrollMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setBlurOnKeyboardHideMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setTextZoomRatio(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setDatabaseAccess(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setInitialScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setMetaViewport(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnPageEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnPageBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnProgressChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnTitleReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnGeolocationHide(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnGeolocationShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnRequestSelected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnAlert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnBeforeUnload(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnConfirm(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnPrompt(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnConsole(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnErrorReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnHttpErrorReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnDownloadStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnRefreshAccessedHistory(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnRenderExited(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnShowFileSelector(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnResourceLoad(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnFullScreenExit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnFullScreenEnter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnScaleChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnHttpAuthRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnInterceptRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnPermissionRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnScreenCaptureRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnContextMenuShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnContextMenuHide(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setMediaPlayGestureAccess(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnSearchResultReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnSslErrorEventReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnSslErrorEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnClientAuthenticationRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnWindowNew(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnWindowExit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setMultiWindowAccess(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnInterceptKeyEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setWebStandardFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setWebSerifFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setWebSansSerifFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setWebFixedFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setWebFantasyFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setWebCursiveFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setDefaultFixedFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setDefaultFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setMinFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setMinLogicalFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setDefaultTextEncodingFormat(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setForceDisplayScrollBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setBlockNetwork(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setHorizontalScrollBarAccess(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setVerticalScrollBarAccess(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnTouchIconUrlReceived(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnFaviconReceived(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnPageVisible(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnDataResubmitted(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setPinchSmooth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setAllowWindowOpenMethod(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnAudioStateChanged(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnFirstContentfulPaint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnFirstMeaningfulPaint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnLargestContentfulPaint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnLoadIntercept(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnControllerAttached(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnOverScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnSafeBrowsingCheckResult(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnNavigationEntryCommitted(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnIntelligentTrackingPreventionResult(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setJavaScriptOnDocumentStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setJavaScriptOnDocumentEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setLayoutMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setNestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setEnableNativeEmbedMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnNativeEmbedLifecycleChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnNativeEmbedVisibilityChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnNativeEmbedGestureEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setCopyOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnOverrideUrlLoading(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setTextAutosizing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setEnableNativeMediaPlayer(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnRenderProcessNotResponding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnRenderProcessResponding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnViewportFitChanged(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnInterceptKeyboardAttach(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOnAdsBlocked(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setKeyboardAvoidMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setEditMenuOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setEnableHapticFeedback(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setOptimizeParserBudget(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setEnableFollowSystemFontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setEnableWebAVSession(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setRunJavaScriptOnDocumentStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setRunJavaScriptOnDocumentEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setRunJavaScriptOnHeadEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setNativeEmbedOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setRegisterNativeEmbedRule(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_setBindSelectionMenu(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _WindowScene_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _WindowSceneInterface_setWindowSceneOptions(ptr: KPointer, persistentId: number): void @@ -2713,11 +2961,7 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _XComponent_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct - native static _XComponentInterface_setXComponentOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _XComponentInterface_setXComponentOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _XComponentInterface_setXComponentOptions2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _XComponentInterface_setXComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _XComponentAttribute_setOnLoad(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -2729,8 +2973,6 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _XComponentAttribute_setHdrBrightness(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _XComponentAttribute_setEnableTransparentLayer(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct native static _Root_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _ComponentRoot_construct(id: KInt, flags: KInt): KPointer @@ -3258,6 +3500,18 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _ClickEvent_setPreventDefault(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _ClientAuthenticationHandler_construct(): KPointer + @ani.unsafe.Direct + native static _ClientAuthenticationHandler_getFinalizer(): KPointer + @ani.unsafe.Quick + native static _ClientAuthenticationHandler_confirm0(ptr: KPointer, priKeyFile: KStringPtr, certChainFile: KStringPtr): void + @ani.unsafe.Quick + native static _ClientAuthenticationHandler_confirm1(ptr: KPointer, authUri: KStringPtr): void + @ani.unsafe.Direct + native static _ClientAuthenticationHandler_cancel(ptr: KPointer): void + @ani.unsafe.Direct + native static _ClientAuthenticationHandler_ignore(ptr: KPointer): void + @ani.unsafe.Direct native static _ColorContent_construct(): KPointer @ani.unsafe.Direct native static _ColorContent_getFinalizer(): KPointer @@ -3359,6 +3613,18 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _ComponentContent_updateConfiguration(ptr: KPointer): void @ani.unsafe.Direct + native static _ConsoleMessage_construct(): KPointer + @ani.unsafe.Direct + native static _ConsoleMessage_getFinalizer(): KPointer + @ani.unsafe.Quick + native static _ConsoleMessage_getMessage(ptr: KPointer): string + @ani.unsafe.Quick + native static _ConsoleMessage_getSourceId(ptr: KPointer): string + @ani.unsafe.Direct + native static _ConsoleMessage_getLineNumber(ptr: KPointer): number + @ani.unsafe.Direct + native static _ConsoleMessage_getMessageLevel(ptr: KPointer): int32 + @ani.unsafe.Direct native static _ContentModifierHelper_contentModifierButton(node: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _ContentModifierHelper_resetContentModifierButton(node: KPointer): void @@ -3415,6 +3681,12 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _Context_getFinalizer(): KPointer @ani.unsafe.Direct + native static _ControllerHandler_construct(): KPointer + @ani.unsafe.Direct + native static _ControllerHandler_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _ControllerHandler_setWebController(ptr: KPointer, controller: KPointer): void + @ani.unsafe.Direct native static _curves_ICurve_construct(): KPointer @ani.unsafe.Direct native static _curves_ICurve_getFinalizer(): KPointer @@ -3443,6 +3715,14 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CustomSpan_setOnDraw(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _DataResubmissionHandler_construct(): KPointer + @ani.unsafe.Direct + native static _DataResubmissionHandler_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _DataResubmissionHandler_resend(ptr: KPointer): void + @ani.unsafe.Direct + native static _DataResubmissionHandler_cancel(ptr: KPointer): void + @ani.unsafe.Direct native static _DatePickerDialog_construct(): KPointer @ani.unsafe.Direct native static _DatePickerDialog_getFinalizer(): KPointer @@ -4117,6 +4397,14 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Quick native static _EventEmulator_emitTextInputEvent(node: KPointer, text: KStringPtr): void @ani.unsafe.Direct + native static _EventResult_construct(): KPointer + @ani.unsafe.Direct + native static _EventResult_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _EventResult_setGestureEventResult0(ptr: KPointer, result: KInt): void + @ani.unsafe.Direct + native static _EventResult_setGestureEventResult1(ptr: KPointer, result: KInt, stopPropagation: KInt): void + @ani.unsafe.Direct native static _EventTargetInfo_construct(): KPointer @ani.unsafe.Direct native static _EventTargetInfo_getFinalizer(): KPointer @@ -4139,6 +4427,26 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Quick native static _ExtendableComponent_queryRouterPageInfo(ptr: KPointer): KInteropReturnBuffer @ani.unsafe.Direct + native static _FileSelectorParam_construct(): KPointer + @ani.unsafe.Direct + native static _FileSelectorParam_getFinalizer(): KPointer + @ani.unsafe.Quick + native static _FileSelectorParam_getTitle(ptr: KPointer): string + @ani.unsafe.Direct + native static _FileSelectorParam_getMode(ptr: KPointer): int32 + @ani.unsafe.Quick + native static _FileSelectorParam_getAcceptType(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _FileSelectorParam_isCapture(ptr: KPointer): boolean + @ani.unsafe.Quick + native static _FileSelectorParam_getMimeTypes(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _FileSelectorResult_construct(): KPointer + @ani.unsafe.Direct + native static _FileSelectorResult_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _FileSelectorResult_handleFileList(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _FocusAxisEvent_construct(): KPointer @ani.unsafe.Direct native static _FocusAxisEvent_getFinalizer(): KPointer @@ -4249,6 +4557,12 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _FrictionMotion_getFinalizer(): KPointer @ani.unsafe.Direct + native static _FullScreenExitHandler_construct(): KPointer + @ani.unsafe.Direct + native static _FullScreenExitHandler_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _FullScreenExitHandler_exitFullScreen(ptr: KPointer): void + @ani.unsafe.Direct native static _Gesture_construct(): KPointer @ani.unsafe.Direct native static _Gesture_getFinalizer(): KPointer @@ -4401,6 +4715,16 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _HoverEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _HttpAuthHandler_construct(): KPointer + @ani.unsafe.Direct + native static _HttpAuthHandler_getFinalizer(): KPointer + @ani.unsafe.Quick + native static _HttpAuthHandler_confirm(ptr: KPointer, userName: KStringPtr, password: KStringPtr): boolean + @ani.unsafe.Direct + native static _HttpAuthHandler_cancel(ptr: KPointer): void + @ani.unsafe.Direct + native static _HttpAuthHandler_isHttpAuthInfoSaved(ptr: KPointer): boolean + @ani.unsafe.Direct native static _ImageAnalyzerController_construct(): KPointer @ani.unsafe.Direct native static _ImageAnalyzerController_getFinalizer(): KPointer @@ -4445,13 +4769,13 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _ImageData_setData(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _ImageData_getHeight(ptr: KPointer): number + native static _ImageData_getHeight(ptr: KPointer): int32 @ani.unsafe.Direct - native static _ImageData_setHeight(ptr: KPointer, height: number): void + native static _ImageData_setHeight(ptr: KPointer, height: KInt): void @ani.unsafe.Direct - native static _ImageData_getWidth(ptr: KPointer): number + native static _ImageData_getWidth(ptr: KPointer): int32 @ani.unsafe.Direct - native static _ImageData_setWidth(ptr: KPointer, width: number): void + native static _ImageData_setWidth(ptr: KPointer, width: KInt): void @ani.unsafe.Direct native static _IndicatorComponentController_construct(): KPointer @ani.unsafe.Direct @@ -4467,6 +4791,22 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _IUIContext_freezeUINode1(id: number, isFrozen: KInt): void @ani.unsafe.Direct + native static _JsGeolocation_construct(): KPointer + @ani.unsafe.Direct + native static _JsGeolocation_getFinalizer(): KPointer + @ani.unsafe.Quick + native static _JsGeolocation_invoke(ptr: KPointer, origin: KStringPtr, allow: KInt, retain: KInt): void + @ani.unsafe.Direct + native static _JsResult_construct(): KPointer + @ani.unsafe.Direct + native static _JsResult_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _JsResult_handleCancel(ptr: KPointer): void + @ani.unsafe.Direct + native static _JsResult_handleConfirm(ptr: KPointer): void + @ani.unsafe.Quick + native static _JsResult_handlePromptConfirm(ptr: KPointer, result: KStringPtr): void + @ani.unsafe.Direct native static _KeyEvent_construct(): KPointer @ani.unsafe.Direct native static _KeyEvent_getFinalizer(): KPointer @@ -4535,14 +4875,6 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _Layoutable_setUniqueId(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _LayoutCallback_construct(): KPointer - @ani.unsafe.Direct - native static _LayoutCallback_getFinalizer(): KPointer - @ani.unsafe.Direct - native static _LayoutCallback_onPlaceChildren(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Quick - native static _LayoutCallback_onMeasureSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer - @ani.unsafe.Direct native static _LayoutChild_construct(): KPointer @ani.unsafe.Direct native static _LayoutChild_getFinalizer(): KPointer @@ -4709,17 +5041,17 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _Matrix2D_setScaleX(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Quick - native static _Matrix2D_getRotateY(ptr: KPointer): KInteropReturnBuffer + native static _Matrix2D_getScaleY(ptr: KPointer): KInteropReturnBuffer @ani.unsafe.Direct - native static _Matrix2D_setRotateY(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _Matrix2D_setScaleY(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Quick native static _Matrix2D_getRotateX(ptr: KPointer): KInteropReturnBuffer @ani.unsafe.Direct native static _Matrix2D_setRotateX(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Quick - native static _Matrix2D_getScaleY(ptr: KPointer): KInteropReturnBuffer + native static _Matrix2D_getRotateY(ptr: KPointer): KInteropReturnBuffer @ani.unsafe.Direct - native static _Matrix2D_setScaleY(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _Matrix2D_setRotateY(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Quick native static _Matrix2D_getTranslateX(ptr: KPointer): KInteropReturnBuffer @ani.unsafe.Direct @@ -5038,20 +5370,6 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _OffscreenCanvasRenderingContext2D_transferToImageBitmap(ptr: KPointer): KPointer @ani.unsafe.Direct - native static _PageLifeCycle_construct(): KPointer - @ani.unsafe.Direct - native static _PageLifeCycle_getFinalizer(): KPointer - @ani.unsafe.Direct - native static _PageLifeCycle_onPageShow(ptr: KPointer): void - @ani.unsafe.Direct - native static _PageLifeCycle_onPageHide(ptr: KPointer): void - @ani.unsafe.Direct - native static _PageLifeCycle_onBackPress(ptr: KPointer): boolean - @ani.unsafe.Direct - native static _PageLifeCycle_pageTransition(ptr: KPointer): void - @ani.unsafe.Direct - native static _PageLifeCycle_onNewParam(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct native static _PanGestureEvent_construct(): KPointer @ani.unsafe.Direct native static _PanGestureEvent_getFinalizer(): KPointer @@ -5163,6 +5481,18 @@ export class ArkUIGeneratedNativeModule { native static _PatternLockController_reset(ptr: KPointer): void @ani.unsafe.Direct native static _PatternLockController_setChallengeResult(ptr: KPointer, result: KInt): void + @ani.unsafe.Direct + native static _PermissionRequest_construct(): KPointer + @ani.unsafe.Direct + native static _PermissionRequest_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _PermissionRequest_deny(ptr: KPointer): void + @ani.unsafe.Quick + native static _PermissionRequest_getOrigin(ptr: KPointer): string + @ani.unsafe.Quick + native static _PermissionRequest_getAccessibleResource(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _PermissionRequest_grant(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Quick native static _PersistentStorageBackend_get(key: KStringPtr): KInteropReturnBuffer @ani.unsafe.Quick @@ -5236,6 +5566,10 @@ export class ArkUIGeneratedNativeModule { native static _PromptAction_updateMenu(ptr: KPointer, content: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void native static _PromptAction_closeMenu(ptr: KPointer, content: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _PulseSymbolEffect_construct(): KPointer + @ani.unsafe.Direct + native static _PulseSymbolEffect_getFinalizer(): KPointer + @ani.unsafe.Direct native static _RectShape_construct(thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct native static _RectShape_getFinalizer(): KPointer @@ -5547,6 +5881,16 @@ export class ArkUIGeneratedNativeModule { native static _Scene_load(thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _Scene_destroy(ptr: KPointer): void + @ani.unsafe.Direct + native static _ScreenCaptureHandler_construct(): KPointer + @ani.unsafe.Direct + native static _ScreenCaptureHandler_getFinalizer(): KPointer + @ani.unsafe.Quick + native static _ScreenCaptureHandler_getOrigin(ptr: KPointer): string + @ani.unsafe.Direct + native static _ScreenCaptureHandler_grant(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _ScreenCaptureHandler_deny(ptr: KPointer): void @ani.unsafe.Quick native static _ScreenshotService_requestScreenshot(target: KStringPtr, name: KStringPtr): boolean @ani.unsafe.Direct @@ -5654,6 +5998,14 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _SpringProp_getFinalizer(): KPointer @ani.unsafe.Direct + native static _SslErrorHandler_construct(): KPointer + @ani.unsafe.Direct + native static _SslErrorHandler_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _SslErrorHandler_handleConfirm(ptr: KPointer): void + @ani.unsafe.Direct + native static _SslErrorHandler_handleCancel(ptr: KPointer): void + @ani.unsafe.Direct native static _StateStylesOps_onStateStyleChange(node: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _StyledString_construct(thisArray: KSerializerBuffer, thisLength: int32): KPointer @@ -6327,13 +6679,13 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Quick native static _UIExtensionProxy_sendSync(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer @ani.unsafe.Direct - native static _UIExtensionProxy_onAsyncReceiverRegister(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _UIExtensionProxy_onAsyncReceiverRegisterAsyncReceiverRegister(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _UIExtensionProxy_onSyncReceiverRegister(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _UIExtensionProxy_onSyncReceiverRegisterSyncReceiverRegister(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _UIExtensionProxy_offAsyncReceiverRegister(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _UIExtensionProxy_offAsyncReceiverRegisterAsyncReceiverRegister(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _UIExtensionProxy_offSyncReceiverRegister(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _UIExtensionProxy_offSyncReceiverRegisterSyncReceiverRegister(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _uiObserver_DensityInfo_construct(): KPointer @ani.unsafe.Direct @@ -6399,13 +6751,13 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _VideoController_stop(ptr: KPointer): void @ani.unsafe.Direct - native static _VideoController_setCurrentTime0(ptr: KPointer, value: number): void - @ani.unsafe.Direct native static _VideoController_requestFullscreen(ptr: KPointer, value: KInt): void @ani.unsafe.Direct native static _VideoController_exitFullscreen(ptr: KPointer): void @ani.unsafe.Direct - native static _VideoController_setCurrentTime1(ptr: KPointer, value: number, seekMode: KInt): void + native static _VideoController_setCurrentTimeDefault(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _VideoController_setCurrentTimeWithMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, seekMode: KInt): void @ani.unsafe.Direct native static _VideoController_reset(ptr: KPointer): void @ani.unsafe.Direct @@ -6423,6 +6775,54 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _WaterFlowSections_length(ptr: KPointer): number @ani.unsafe.Direct + native static _WebContextMenuParam_construct(): KPointer + @ani.unsafe.Direct + native static _WebContextMenuParam_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _WebContextMenuParam_x(ptr: KPointer): int32 + @ani.unsafe.Direct + native static _WebContextMenuParam_y(ptr: KPointer): int32 + @ani.unsafe.Quick + native static _WebContextMenuParam_getLinkUrl(ptr: KPointer): string + @ani.unsafe.Quick + native static _WebContextMenuParam_getUnfilteredLinkUrl(ptr: KPointer): string + @ani.unsafe.Quick + native static _WebContextMenuParam_getSourceUrl(ptr: KPointer): string + @ani.unsafe.Direct + native static _WebContextMenuParam_existsImageContents(ptr: KPointer): boolean + @ani.unsafe.Direct + native static _WebContextMenuParam_getMediaType(ptr: KPointer): int32 + @ani.unsafe.Quick + native static _WebContextMenuParam_getSelectionText(ptr: KPointer): string + @ani.unsafe.Direct + native static _WebContextMenuParam_getSourceType(ptr: KPointer): int32 + @ani.unsafe.Direct + native static _WebContextMenuParam_getInputFieldType(ptr: KPointer): int32 + @ani.unsafe.Direct + native static _WebContextMenuParam_isEditable(ptr: KPointer): boolean + @ani.unsafe.Direct + native static _WebContextMenuParam_getEditStateFlags(ptr: KPointer): int32 + @ani.unsafe.Direct + native static _WebContextMenuParam_getPreviewWidth(ptr: KPointer): int32 + @ani.unsafe.Direct + native static _WebContextMenuParam_getPreviewHeight(ptr: KPointer): int32 + @ani.unsafe.Direct + native static _WebContextMenuResult_construct(): KPointer + @ani.unsafe.Direct + native static _WebContextMenuResult_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _WebContextMenuResult_closeContextMenu(ptr: KPointer): void + @ani.unsafe.Direct + native static _WebContextMenuResult_copyImage(ptr: KPointer): void + @ani.unsafe.Direct + native static _WebContextMenuResult_copy(ptr: KPointer): void + @ani.unsafe.Direct + native static _WebContextMenuResult_paste(ptr: KPointer): void + @ani.unsafe.Direct + native static _WebContextMenuResult_cut(ptr: KPointer): void + @ani.unsafe.Direct + native static _WebContextMenuResult_selectAll(ptr: KPointer): void + @ani.unsafe.Direct native static _WebCookie_construct(): KPointer @ani.unsafe.Direct native static _WebCookie_getFinalizer(): KPointer @@ -6431,13 +6831,91 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _WebCookie_saveCookie(ptr: KPointer): void @ani.unsafe.Direct + native static _WebKeyboardController_construct(): KPointer + @ani.unsafe.Direct + native static _WebKeyboardController_getFinalizer(): KPointer + @ani.unsafe.Quick + native static _WebKeyboardController_insertText(ptr: KPointer, text: KStringPtr): void + @ani.unsafe.Direct + native static _WebKeyboardController_deleteForward(ptr: KPointer, length: KInt): void + @ani.unsafe.Direct + native static _WebKeyboardController_deleteBackward(ptr: KPointer, length: KInt): void + @ani.unsafe.Direct + native static _WebKeyboardController_sendFunctionKey(ptr: KPointer, key: KInt): void + @ani.unsafe.Direct + native static _WebKeyboardController_close(ptr: KPointer): void + @ani.unsafe.Direct + native static _WebResourceError_construct(): KPointer + @ani.unsafe.Direct + native static _WebResourceError_getFinalizer(): KPointer + @ani.unsafe.Quick + native static _WebResourceError_getErrorInfo(ptr: KPointer): string + @ani.unsafe.Direct + native static _WebResourceError_getErrorCode(ptr: KPointer): number + @ani.unsafe.Direct + native static _WebResourceRequest_construct(): KPointer + @ani.unsafe.Direct + native static _WebResourceRequest_getFinalizer(): KPointer + @ani.unsafe.Quick + native static _WebResourceRequest_getRequestHeader(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Quick + native static _WebResourceRequest_getRequestUrl(ptr: KPointer): string + @ani.unsafe.Direct + native static _WebResourceRequest_isRequestGesture(ptr: KPointer): boolean + @ani.unsafe.Direct + native static _WebResourceRequest_isMainFrame(ptr: KPointer): boolean + @ani.unsafe.Direct + native static _WebResourceRequest_isRedirect(ptr: KPointer): boolean + @ani.unsafe.Quick + native static _WebResourceRequest_getRequestMethod(ptr: KPointer): string + @ani.unsafe.Direct + native static _WebResourceResponse_construct(): KPointer + @ani.unsafe.Direct + native static _WebResourceResponse_getFinalizer(): KPointer + @ani.unsafe.Quick + native static _WebResourceResponse_getResponseData(ptr: KPointer): string + @ani.unsafe.Quick + native static _WebResourceResponse_getResponseDataEx(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Quick + native static _WebResourceResponse_getResponseEncoding(ptr: KPointer): string + @ani.unsafe.Quick + native static _WebResourceResponse_getResponseMimeType(ptr: KPointer): string + @ani.unsafe.Quick + native static _WebResourceResponse_getReasonMessage(ptr: KPointer): string + @ani.unsafe.Quick + native static _WebResourceResponse_getResponseHeader(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _WebResourceResponse_getResponseCode(ptr: KPointer): number + @ani.unsafe.Direct + native static _WebResourceResponse_setResponseData(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Quick + native static _WebResourceResponse_setResponseEncoding(ptr: KPointer, encoding: KStringPtr): void + @ani.unsafe.Quick + native static _WebResourceResponse_setResponseMimeType(ptr: KPointer, mimeType: KStringPtr): void + @ani.unsafe.Quick + native static _WebResourceResponse_setReasonMessage(ptr: KPointer, reason: KStringPtr): void + @ani.unsafe.Direct + native static _WebResourceResponse_setResponseHeader(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebResourceResponse_setResponseCode(ptr: KPointer, code: number): void + @ani.unsafe.Direct + native static _WebResourceResponse_setResponseIsReady(ptr: KPointer, IsReady: KInt): void + @ani.unsafe.Direct + native static _WebResourceResponse_getResponseIsReady(ptr: KPointer): boolean + @ani.unsafe.Direct + native static _webview_WebviewController_construct(): KPointer + @ani.unsafe.Direct + native static _webview_WebviewController_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _webview_WebviewController_initializeWebEngine(): void + @ani.unsafe.Direct + native static _webview_WebviewController_loadUrl(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _XComponentController_construct(): KPointer @ani.unsafe.Direct native static _XComponentController_getFinalizer(): KPointer @ani.unsafe.Quick native static _XComponentController_getXComponentSurfaceId(ptr: KPointer): string - @ani.unsafe.Quick - native static _XComponentController_getXComponentContext(ptr: KPointer): Object @ani.unsafe.Direct native static _XComponentController_setXComponentSurfaceRect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Quick diff --git a/arkoala-arkts/arkui/generated/framework/arkts/type_check.ets b/arkoala-arkts/arkui/generated/framework/arkts/type_check.ets index 3b6c79c8c..ef5b5910e 100644 --- a/arkoala-arkts/arkui/generated/framework/arkts/type_check.ets +++ b/arkoala-arkts/arkui/generated/framework/arkts/type_check.ets @@ -19,18 +19,19 @@ import { KBoolean, KStringPtr, MaterializedBase } from "@koalaui/interop" import { int32 } from "@koalaui/common" import { AccessibilityHoverType, Alignment, AnimationStatus, AppRotation, ArrowPointPosition, Axis, AxisAction, AxisModel, BarState, BorderStyle, CheckBoxShape, Color, ClickEffectLevel, ColoringStrategy, CopyOptions, CrownAction, CrownSensitivity, DialogButtonStyle, Direction, DividerMode, Edge, EdgeEffect, EllipsisMode, EmbeddedType, FillMode, FlexAlign, FlexDirection, FlexWrap, FocusDrawLevel, FoldStatus, FontStyle, FontWeight, FunctionKey, GradientDirection, HeightBreakpoint, HitTestMode, HorizontalAlign, HoverEffect, IlluminatedType, ImageFit, ImageRepeat, ImageSize, ImageSpanAlignment, InteractionHand, ItemAlign, KeySource, KeyType, LineBreakStrategy, LineCapStyle, LineJoinStyle, MarqueeUpdateStrategy, ModifierKey, MouseAction, MouseButton, NestedScrollMode, ObscuredReasons, OptionWidthMode, PageFlipMode, PixelRoundCalcPolicy, PixelRoundMode, Placement, PlayMode, RelateType, RenderFit, ResponseType, ScrollSource, SharedTransitionEffectType, TextAlign, TextCase, TextContentStyle, TextDecorationStyle, TextDecorationType, TextHeightAdaptivePolicy, TextOverflow, TextSelectableMode, TitleHeight, TouchType, TransitionType, WidthBreakpoint, VerticalAlign, Visibility, Week, WordBreak, XComponentType } from "./../../component/enums" -import { AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, BlendApplyType, BlendMode, BlurStyle, BlurStyleActivePolicy, TouchEvent, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DraggingSizeChangeEffect, DragPreviewMode, DragResult, EffectEdge, EffectType, FinishCallbackType, SourceTool, HapticFeedbackMode, HoverModeAreaType, KeyboardAvoidMode, Layoutable, Measurable, GeometryInfo, SizeResult, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, RectResult, CommonConfiguration, TranslateOptions, ScaleOptions, RotateOptions, MenuPolicy, MenuPreviewMode, ModalTransition, NestedScrollOptions, OutlineStyle, PixelMapMock, PopupStateChangeParam, PreDragStatus, ProgressMask, PopupCommonOptions, MenuOptions, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollResult, ScrollSizeMode, TextContentControllerBase, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceType, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, AsymmetricTransitionOption, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, ClickEvent, KeyEvent, HoverCallback, HoverEvent, MouseEvent, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, SheetOptions, AlignRuleOption, BackgroundBrightnessOptions, BackgroundImageOptions, BackgroundOptions, Bindable, BlurOptions, ChildrenMainSize, ClickEffect, CrownEvent, DateRange, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragEvent, ModifierKeyStateGetter, Rectangle, DragInteractionOptions, DragItemInfo, DrawModifier, DropOptions, EdgeEffectOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InputCounterOptions, InvertOptions, ItemDragInfo, FractionStop, LinearGradientBlurOptions, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, MeasureResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PopupButton, PreviewConfiguration, SheetDismiss, SpringBackAction, StateStyles, SystemAdaptiveOptions, ShadowOptions, TouchObject, TouchResult, BackgroundBlurStyleOptions, BlurStyleOptions, BackgroundEffectOptions, ContentCoverOptions, BindOptions, ContextMenuAnimationOptions, AnimationNumberRange, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, PopupMaskType, ReuseOptions, ReuseIdCallback, sharedTransitionOptions, SheetTitleOptions, TerminationInfo, TextDecorationOptions, DividerStyle, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, PopupStateChangeCallback, EventTarget, FocusAxisEvent, BaseEvent, LayoutChild, PickerDialogButtonStyle, PickerTextStyle, PopupMessageOptions, TripleLengthDetents, AccessibilityHoverEvent, AxisEvent, PopupOptions } from "./../../component/common" +import { AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, BlendApplyType, BlendMode, BlurStyle, BlurStyleActivePolicy, TouchEvent, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DraggingSizeChangeEffect, DragPreviewMode, DragResult, EffectEdge, EffectType, FinishCallbackType, SourceTool, HapticFeedbackMode, HoverModeAreaType, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, RectResult, CommonConfiguration, TranslateOptions, ScaleOptions, RotateOptions, MenuPolicy, MenuPreviewMode, ModalTransition, NestedScrollOptions, OutlineStyle, PixelMapMock, PopupStateChangeParam, PreDragStatus, ProgressMask, PopupCommonOptions, MenuOptions, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollResult, ScrollSizeMode, TextContentControllerBase, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SizeResult, SourceType, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, AsymmetricTransitionOption, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, ClickEvent, KeyEvent, HoverCallback, HoverEvent, MouseEvent, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, SheetOptions, Measurable, Layoutable, AlignRuleOption, BackgroundBrightnessOptions, BackgroundImageOptions, BackgroundOptions, Bindable, BlurOptions, ChildrenMainSize, ClickEffect, CrownEvent, DateRange, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragEvent, ModifierKeyStateGetter, Rectangle, DragInteractionOptions, DragItemInfo, DrawModifier, DropOptions, EdgeEffectOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InputCounterOptions, InvertOptions, ItemDragInfo, FractionStop, LinearGradientBlurOptions, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, MeasureResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PopupButton, PreviewConfiguration, SheetDismiss, SpringBackAction, StateStyles, SystemAdaptiveOptions, ShadowOptions, TouchObject, TouchResult, BackgroundBlurStyleOptions, BlurStyleOptions, BackgroundEffectOptions, ContentCoverOptions, BindOptions, ContextMenuAnimationOptions, AnimationNumberRange, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, PopupMaskType, ReuseOptions, ReuseIdCallback, sharedTransitionOptions, SheetTitleOptions, TerminationInfo, TextDecorationOptions, DividerStyle, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, PopupStateChangeCallback, EventTarget, FocusAxisEvent, BaseEvent, GeometryInfo, LayoutChild, PickerDialogButtonStyle, PickerTextStyle, PopupMessageOptions, TripleLengthDetents, AccessibilityHoverEvent, AxisEvent, PopupOptions } from "./../../component/common" import { AnimationMode, BarMode, BarPosition, LayoutStyle, TabContentTransitionProxy, TabsAnimationEvent, TabsCacheMode, TabsController, TabContentAnimatedTransition, TabsOptions, BarGridColumnOptions, ScrollableBarModeOptions } from "./../../component/tabs" import { ArrowPosition, AvoidanceMode, MenuAlignType, MenuItemConfiguration, SelectOption, MenuOutlineOptions } from "./../../component/select" import { AttributeModifier, ContentModifier, extractors, GestureModifier, UIGestureEvent, CustomStyles } from "#handwritten" import { AttributeUpdaterFlag } from "./../../AttributeUpdater" +import { AudioSessionType, BlurOnKeyboardHideMode, CacheMode, ClientAuthenticationHandler, ConsoleMessage, MessageLevel, ContextMenuEditStateFlags, ContextMenuInputFieldType, ContextMenuMediaType, ContextMenuSourceType, ControllerHandler, DataResubmissionHandler, EventResult, FileSelectorMode, FileSelectorParam, FileSelectorResult, FullScreenExitHandler, HitTestType, HttpAuthHandler, JsGeolocation, JsResult, MixedMode, NativeEmbedStatus, NativeMediaPlayerConfig, OnAudioStateChangedEvent, OnConsoleEvent, OnDataResubmittedEvent, OnFaviconReceivedEvent, OnFirstContentfulPaintEvent, OnOverScrollEvent, OnProgressChangeEvent, OnScaleChangeEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnShowFileSelectorEvent, OverScrollMode, PermissionRequest, ProtectedResourceType, RenderExitReason, RenderMode, RenderProcessNotRespondingReason, ScreenCaptureHandler, ScreenCaptureConfig, SslError, SslErrorHandler, ThreatType, ViewportFit, WebCaptureMode, WebContextMenuParam, WebContextMenuResult, WebCookie, WebDarkMode, WebElementType, WebKeyboardAvoidMode, WebKeyboardController, WebLayoutMode, WebNavigationType, WebResourceError, Header, WebResourceRequest, WebResourceResponse, WebResponseType, AdsBlockedDetails, EmbedOptions, FirstMeaningfulPaint, FullScreenEnterEvent, IntelligentTrackingPreventionDetails, JavaScriptProxy, LargestContentfulPaint, LoadCommittedDetails, NativeEmbedVisibilityInfo, NestedScrollOptionsExt, OnAlertEvent, OnBeforeUnloadEvent, OnClientAuthenticationEvent, OnConfirmEvent, OnContextMenuShowEvent, OnDownloadStartEvent, OnErrorReceiveEvent, OnGeolocationShowEvent, OnHttpAuthRequestEvent, OnHttpErrorReceiveEvent, OnInterceptRequestEvent, OnLoadInterceptEvent, OnPageBeginEvent, OnPageEndEvent, OnPageVisibleEvent, OnPermissionRequestEvent, OnPromptEvent, OnRefreshAccessedHistoryEvent, OnRenderExitedEvent, OnResourceLoadEvent, OnScreenCaptureRequestEvent, OnSslErrorEventReceiveEvent, OnTitleReceiveEvent, OnTouchIconUrlReceivedEvent, OnWindowNewEvent, RenderProcessNotRespondingData, ScriptItem, SelectionMenuOptionsExt, SslErrorEvent, WebKeyboardCallbackInfo, WebKeyboardOptions, WebMediaOptions, WebOptions, NativeEmbedInfo, NativeEmbedDataInfo, NativeEmbedTouchInfo } from "./../../component/web" import { AutoCapitalizationMode, KeyboardAppearance, LayoutManager, PositionWithAffinity, MenuType, TextEditControllerEx, PreviewText, StyledStringController, StyledStringChangedListener, TextBaseController, TextRange, TextDataDetectorType, TextDeleteDirection, TextMenuOptions, TextMenuItemId, TextMenuShowMode, TextMenuItem, DeleteValue, EditMenuOptions, OnCreateMenuCallback, OnMenuItemClickCallback, FontSettingOptions, InsertValue, StyledStringChangeValue, OnDidChangeCallback, DecorationStyleResult, TextChangeOptions, CaretStyle, EditableTextChangeValue, TextDataDetectorConfig } from "./../../component/textCommon" import { BadgePosition, BadgeStyle, BadgeParamWithNumber, BadgeParam, BadgeParamWithString } from "./../../component/badge" import { BarrierDirection, LocalizedBarrierDirection, BarrierStyle, GuideLinePosition, GuideLineStyle } from "./../../component/relativeContainer" import { BarStyle, LaunchMode, NavBarPosition, NavigationMode, NavigationOperation, NavigationTitleMode, NavPathInfo, NavPathStack, NavigationOptions, PopInfo, NavigationInterception, ToolbarItemStatus, NavContentInfo, NavigationAnimatedTransition, NavigationTransitionProxy, InterceptionShowCallback, NavBar, InterceptionModeCallback, NavigationCommonTitle, NavigationMenuItem, UpdateTransitionCallback, ToolbarItem, MoreButtonOptions, NavigationCustomTitle, NavigationTitleOptions, NavigationMenuOptions, NavigationToolbarOptions } from "./../../component/navigation" import { BaseContext } from "./../application.BaseContext" -import { BaseShape, BuilderNodeOps, BuilderNodeOptions, CommonShape, Offset_componentutils, PerfMonitorActionType, PerfMonitorSourceType, RotateResult, ScaleResult, Scene, TranslateResult, WorkerEventListener, Event, DoubleAnimationParam, Callback_Extender_OnProgress, Callback_Extender_OnFinish, ErrorEvent, MessageEvents, PostMessageOptions, SnapshotOptions, WorkerOptions, ComponentInfo, Matrix4Result, RestrictedWorker, RestrictedWorker_onexit_Callback, RestrictedWorker_onerror_Callback, RestrictedWorker_onmessage_Callback } from "./../../component/idlize" -import { Length, SizeOptions, Position, ResourceColor, ColorFilter, ConstraintSizeOptions, ResourceStr, VoidCallback, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, EdgeStyles, VP, DividerStyleOptions, EdgeColors, LengthConstrain, Dimension, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, Offset, BorderRadiuses, EdgeOutlineWidths, Edges, EdgeWidths, Font, PX, LPX, MarkStyle, OutlineRadiuses, Padding, Area, BorderOptions, OutlineOptions } from "./../../component/units" +import { BaseShape, BuilderNodeOps, BuilderNodeOptions, CommonShape, Offset_componentutils, PerfMonitorActionType, PerfMonitorSourceType, RotateResult, ScaleResult, Scene, TranslateResult, DoubleAnimationParam, Callback_Extender_OnProgress, Callback_Extender_OnFinish, ErrorEvent, Event, MessageEvents, PostMessageOptions, SnapshotOptions, WorkerOptions, ComponentInfo, Matrix4Result, RestrictedWorker, RestrictedWorker_onexit_Callback, RestrictedWorker_onerror_Callback, RestrictedWorker_onmessage_Callback, WorkerEventListener } from "./../../component/idlize" +import { Length, SizeOptions, Position, ResourceColor, ColorFilter, ResourceStr, VoidCallback, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, EdgeStyles, ConstraintSizeOptions, VP, DividerStyleOptions, EdgeColors, LengthConstrain, Dimension, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, Offset, BorderRadiuses, EdgeOutlineWidths, Edges, EdgeWidths, Font, PX, LPX, MarkStyle, OutlineRadiuses, Padding, Area, BorderOptions, OutlineOptions } from "./../../component/units" import { Resource } from "global.resource" import { BreakpointsReference, GridRowDirection, BreakPoints, GridRowColumnOption, GridRowSizeOption, GutterOption, GridRowOptions } from "./../../component/gridRow" import { ButtonRole, ButtonStyleMode, ButtonType, ControlSize, ButtonConfiguration, ButtonTriggerClickCallback, ButtonOptions, ButtonLabelStyle } from "./../../component/button" @@ -39,14 +40,13 @@ import { CancelButtonStyle, SearchController, SearchType, CancelButtonSymbolOpti import { CanvasGradient, CanvasPath, CanvasPattern, OffscreenCanvas, ImageBitmap, RenderingContextSettings, OffscreenCanvasRenderingContext2D, Path2D, TextMetrics, DrawingRenderingContext, ImageData, CanvasRenderer, ImageSmoothingQuality, CanvasLineCap, CanvasLineJoin, CanvasDirection, CanvasTextAlign, CanvasTextBaseline, CanvasFillRule, CanvasRenderingContext2D } from "./../../component/canvas" import { Matrix2D } from "./../../component/matrix2d" import { ChainEdgeEffect, ListItemAlign, ListItemGroupArea, ListScroller, CloseSwipeActionOptions, VisibleListContentInfo, ScrollSnapAlign, ScrollState, StickyStyle, ListOptions, ChainAnimationOptions, ListDividerOptions } from "./../../component/list" -import { CircleOptions } from "./../../component/circle" import { CircleShape, ShapeSize, EllipseShape, PathShape, PathShapeOptions, RectShape, RectShapeOptions, RoundRectShapeOptions } from "./../ohos.arkui.shape" import { ColorContent, DynamicRangeMode, ImageContent, ImageInterpolation, ImageRenderMode, ImageRotateOrientation, ImageCompleteEvent, ImageSourceSize, ImageError, ResizableOptions } from "./../../component/image" import { ColorMetrics, CornerRadius, DrawContext, Size, LengthMetricsUnit, LengthUnit, ShapeClip, RoundRect, Circle, CommandPath, ShapeMask, Vector2, Vector3, LengthMetrics, Frame } from "./../../Graphics" -import { ColorMode, LayoutDirection } from "./../../component/stateManagement" import { ComponentContent } from "./../../ComponentContent" import { ContentType, EnterKeyType, InputType, SubmitEvent, TextInputController, TextInputStyle, PasswordIcon, UnderlineColor, TextInputOptions } from "./../../component/textInput" import { Context } from "./../application.Context" +import { webview } from "./../ohos.web.webview" import { curves } from "./../ohos.curves" import { CustomDialogController, CustomDialogControllerOptions } from "./../../component/customDialogController" import { DataOperationType } from "./../../component/lazyForEach" @@ -59,8 +59,7 @@ import { DrawableDescriptor } from "./../ohos.arkui.drawableDescriptor" import { image } from "@ohos.multimedia.image" import { drawing } from "./../ohos.graphics.drawing" import { common2D } from "./../ohos.graphics.common2D" -import { EffectDirection, EffectFillStyle, EffectScope, SymbolEffect, SymbolEffectStrategy, SymbolRenderingStrategy, AppearSymbolEffect, BounceSymbolEffect, DisappearSymbolEffect, HierarchicalSymbolEffect, ReplaceSymbolEffect, ScaleSymbolEffect } from "./../../component/symbolglyph" -import { EllipseOptions } from "./../../component/ellipse" +import { EffectDirection, EffectFillStyle, EffectScope, PulseSymbolEffect, SymbolEffect, SymbolEffectStrategy, SymbolRenderingStrategy, AppearSymbolEffect, BounceSymbolEffect, DisappearSymbolEffect, HierarchicalSymbolEffect, ReplaceSymbolEffect, ScaleSymbolEffect } from "./../../component/symbolglyph" import { EventTargetInfo, Gesture, GestureControl, GestureType, GestureMode, GestureJudgeResult, GestureMask, GesturePriority, GestureRecognizer, GestureRecognizerState, LongPressGestureHandlerOptions, GestureEvent, LongPressRecognizer, PanDirection, PanGestureOptions, PanGestureHandlerOptions, PanRecognizer, PinchGestureHandlerOptions, PinchRecognizer, RotationGesture, RotationGestureHandlerOptions, RotationRecognizer, ScrollableTargetInfo, SwipeDirection, SwipeGesture, SwipeGestureHandlerOptions, SwipeRecognizer, TapGestureParameters, TapRecognizer, GestureHandler, FingerInfo, GestureInfo, BaseHandlerOptions, LongPressGestureEvent, BaseGestureEvent, PanGestureEvent, PinchGestureEvent, RotationGestureEvent, SwipeGestureEvent, TapGestureEvent } from "./../../component/gesture" import { ExtendableComponent, LifeCycle } from "./../../component/extendableComponent" import { UIContext, PromptAction, TargetInfo, TextMenuController } from "./../ohos.arkui.UIContext" @@ -80,10 +79,8 @@ import { IndexerAlign, AlphabetIndexerOptions } from "./../../component/alphabet import { IndicatorComponentController } from "./../../component/indicatorcomponent" import { IntentionCode } from "./../ohos.multimodalInput.intentionCode" import { ItemState } from "./../../component/stepperItem" -import { LayoutCallback, PageLifeCycle } from "./../../component/customComponent" import { LayoutMode, SelectedMode, TabBarSymbol, TabBarIconStyle, TabBarOptions, BoardStyle, SubTabBarIndicatorStyle, TabBarLabelStyle, BottomTabBarStyle, SubTabBarStyle } from "./../../component/tabContent" import { LinearIndicatorController, LinearIndicatorStartOptions, LinearIndicatorStyle } from "./../../component/linearindicator" -import { LineOptions, ShapePoint } from "./../../component/line" import { ListItemGroupStyle, ListItemGroupOptions } from "./../../component/listItemGroup" import { ListItemStyle, SwipeActionState, SwipeEdgeEffect, ListItemOptions, SwipeActionItem, SwipeActionOptions } from "./../../component/listItem" import { Scroller, ScrollAlign, OffsetResult, OnScrollFrameBeginHandlerResult, ScrollDirection, ScrollOptions, ScrollEdgeOptions, ScrollPageOptions, ScrollToIndexOptions, ScrollAnimationOptions, OffsetOptions, ScrollSnapOptions } from "./../../component/scroll" @@ -97,18 +94,14 @@ import { Content } from "./../../Content" import { NodeController } from "./../ohos.arkui.node" import { OnFoldStatusChangeInfo, FolderStackOptions, HoverEventParam } from "./../../component/folderStack" import { PasteButtonOnClickResult, PasteDescription, PasteIconStyle } from "./../../component/pasteButton" -import { PathOptions } from "./../../component/path" import { PatternLockChallengeResult, PatternLockController, CircleStyleOptions } from "./../../component/patternLock" import { pointer } from "./../ohos.multimodalInput.pointer" -import { PolygonOptions } from "./../../component/polygon" -import { PolylineOptions } from "./../../component/polyline" import { ProgressConfiguration, ProgressStatus, ProgressStyle, ProgressType, ProgressOptions, LinearStyleOptions, ScanEffectOptions, CommonProgressStyleOptions, ProgressStyleOptions, RingStyleOptions, CapsuleStyleOptions } from "./../../component/progress" import { RadioIndicatorType, RadioConfiguration, RadioOptions, RadioStyle } from "./../../component/radio" import { RefreshStatus, RefreshOptions } from "./../../component/refresh" import { RichEditorBaseController, RichEditorTextStyle, RichEditorParagraphResult, RichEditorSpan, RichEditorController, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorRange, RichEditorImageSpanResult, RichEditorTextSpanResult, RichEditorSelection, RichEditorDeleteDirection, RichEditorOptions, RichEditorResponseType, RichEditorSpanType, RichEditorStyledStringController, RichEditorStyledStringOptions, KeyboardOptions, PreviewMenuOptions, RichEditorDeleteValue, RichEditorGesture, RichEditorInsertValue, RichEditorSpanPosition, CopyEvent, CutEvent, PasteEvent, RichEditorChangeValue, RichEditorSymbolSpanStyle, RichEditorSpanStyleOptions, RichEditorUrlStyle, SelectionMenuOptions, MenuOnAppearCallback, MenuCallback, LeadingMarginPlaceholder, PlaceholderStyle, RichEditorLayoutStyle, RichEditorParagraphStyle, RichEditorImageSpanStyle, RichEditorImageSpanStyleResult, RichEditorTextStyleResult, OnHoverCallback } from "./../../component/richEditor" import { CustomBuilder } from "./../../component/builder" import { RootSceneSession } from "./../../component/rootScene" -import { RoundedRectOptions, RadiusItem, RectOptions } from "./../../component/rect" import { RouteType, SlideEffect } from "./../../component/pageTransition" import { RowOptionsV2, RowOptions } from "./../../component/row" import { RRect, WindowAnimationTarget } from "./../../component/remoteWindow" @@ -130,30 +123,38 @@ import { TextTimerConfiguration, TextTimerController, TextTimerOptions } from ". import { ThemeControl, CustomTheme, Colors } from "./../ohos.arkui.theme" import { TimePickerDialog, TimePickerFormat, TimePickerResult, TimePickerOptions } from "./../../component/timePicker" import { ToggleType, ToggleConfiguration, SwitchStyle, ToggleOptions } from "./../../component/toggle" +import { ToolBarItemPlacement, ToolBarItemOptions } from "./../../component/toolbar" import { common, Context_getGroupDir_Callback } from "./../ohos.app.ability.common" import { uiEffect } from "./../ohos.graphics.uiEffect" +import { RecordData, PluginComponentTemplate, PluginErrorData, PluginComponentOptions } from "./../../component/pluginComponent" import { unifiedDataChannel } from "./../ohos.data.unifiedDataChannel" import { uniformTypeDescriptor } from "./../ohos.data.uniformTypeDescriptor" import { WaterFlowLayoutMode, SectionOptions, WaterFlowSections, WaterFlowOptions, GetItemMainSizeByIndex } from "./../../component/waterFlow" -import { WebCookie } from "./../../component/web" import { window } from "./../ohos.window" import { ASTCResource } from "./../../component/mediaCachedImage" import { BorderRadiuses_graphics, RenderNode } from "./../../RenderNode" import { BusinessError } from "./../ohos.base" import { CheckBoxConfiguration, CheckboxOptions } from "./../../component/checkbox" +import { CircleOptions } from "./../../component/circle" import { ColumnOptionsV2, ColumnOptions, SpaceType } from "./../../component/column" import { DismissDialogAction, SheetInfo } from "./../../component/actionSheet" +import { EllipseOptions } from "./../../component/ellipse" import { FontInfo, FontOptions } from "@ohos.font" import { FormLinkOptions } from "./../../component/formLink" import { GaugeConfiguration, GaugeOptions, GaugeShadowOptions, GaugeIndicatorOptions } from "./../../component/gauge" import { GridColColumnOption, GridColOptions } from "./../../component/gridCol" import { ImageLoadResult } from "./../../component/imageSpan" import { intl } from "./../ohos.intl" +import { LineOptions, ShapePoint } from "./../../component/line" import { MarqueeOptions } from "./../../component/marquee" -import { PluginComponentTemplate, PluginErrorData, PluginComponentOptions } from "./../../component/pluginComponent" +import { PathOptions } from "./../../component/path" +import { PolygonOptions } from "./../../component/polygon" +import { PolylineOptions } from "./../../component/polyline" import { RatingConfiguration, RatingOptions, StarStyleOptions } from "./../../component/rating" +import { RoundedRectOptions, RadiusItem, RectOptions } from "./../../component/rect" import { StackOptions } from "./../../component/stack" -import { SurfaceRect, SurfaceRotationOptions, XComponentController, NativeXComponentParameters, XComponentOptions, XComponentParameter } from "./../../component/xcomponent" +import { SurfaceRect, SurfaceRotationOptions, XComponentController, NativeXComponentParameters, XComponentOptions, XComponentParameters, NativeXComponentPointer } from "./../../component/xcomponent" +import { ViewportRect } from "./../../component/shape" import { Want } from "./../ohos.app.ability.Want" import { FlexSpaceOptions, FlexOptions } from "./../../component/flex" import { ImageFrameInfo } from "./../../component/imageAnimator" @@ -162,7 +163,6 @@ import { MenuItemGroupOptions } from "./../../component/menuItemGroup" import { MenuItemOptions } from "./../../component/menuItem" import { StepperOptions } from "./../../component/stepper" import { ColumnSplitDividerStyle } from "./../../component/columnSplit" -import { ViewportRect } from "./../../component/shape" import { TextBackgroundStyle } from "./../../component/span" import { WithThemeOptions } from "./../../component/withTheme" export class TypeChecker { @@ -193,6 +193,9 @@ export class TypeChecker { static isAdaptiveColor(value: Object | string | number | undefined): boolean { return value instanceof AdaptiveColor } + static isAdsBlockedDetails(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof AdsBlockedDetails + } static isAlignment(value: Object | string | number | undefined): boolean { return value instanceof Alignment } @@ -241,6 +244,9 @@ export class TypeChecker { static isAttributeUpdaterFlag(value: Object | string | number | undefined): boolean { return value instanceof AttributeUpdaterFlag } + static isAudioSessionType(value: Object | string | number | undefined): boolean { + return value instanceof AudioSessionType + } static isAutoCapitalizationMode(value: Object | string | number | undefined): boolean { return value instanceof AutoCapitalizationMode } @@ -340,6 +346,9 @@ export class TypeChecker { static isBlendMode(value: Object | string | number | undefined): boolean { return value instanceof BlendMode } + static isBlurOnKeyboardHideMode(value: Object | string | number | undefined): boolean { + return value instanceof BlurOnKeyboardHideMode + } static isBlurOptions(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof BlurOptions } @@ -412,6 +421,9 @@ export class TypeChecker { static isButtonType(value: Object | string | number | undefined): boolean { return value instanceof ButtonType } + static isCacheMode(value: Object | string | number | undefined): boolean { + return value instanceof CacheMode + } static isCalendarAlign(value: Object | string | number | undefined): boolean { return value instanceof CalendarAlign } @@ -490,7 +502,7 @@ export class TypeChecker { static isCircle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof Circle } - static isCircleOptions(value: Object | string | number | undefined): boolean { + static isCircleOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof CircleOptions } static isCircleShape(value: Object | string | number | undefined): boolean { @@ -508,6 +520,9 @@ export class TypeChecker { static isClickEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean): boolean { return value instanceof ClickEvent } + static isClientAuthenticationHandler(value: Object | string | number | undefined): boolean { + return value instanceof ClientAuthenticationHandler + } static isCloseSwipeActionOptions(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof CloseSwipeActionOptions } @@ -526,9 +541,6 @@ export class TypeChecker { static isColorMetrics(value: Object | string | number | undefined): boolean { return value instanceof ColorMetrics } - static isColorMode(value: Object | string | number | undefined): boolean { - return value instanceof ColorMode - } static isColors(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean, arg31: boolean, arg32: boolean, arg33: boolean, arg34: boolean, arg35: boolean, arg36: boolean, arg37: boolean, arg38: boolean, arg39: boolean, arg40: boolean, arg41: boolean, arg42: boolean, arg43: boolean, arg44: boolean, arg45: boolean, arg46: boolean, arg47: boolean, arg48: boolean, arg49: boolean, arg50: boolean): boolean { return value instanceof Colors } @@ -574,6 +586,9 @@ export class TypeChecker { static isComputedBarAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof ComputedBarAttribute } + static isConsoleMessage(value: Object | string | number | undefined): boolean { + return value instanceof ConsoleMessage + } static isConstraintSizeOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof ConstraintSizeOptions } @@ -595,9 +610,24 @@ export class TypeChecker { static isContextMenuAnimationOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof ContextMenuAnimationOptions } + static isContextMenuEditStateFlags(value: Object | string | number | undefined): boolean { + return value instanceof ContextMenuEditStateFlags + } + static isContextMenuInputFieldType(value: Object | string | number | undefined): boolean { + return value instanceof ContextMenuInputFieldType + } + static isContextMenuMediaType(value: Object | string | number | undefined): boolean { + return value instanceof ContextMenuMediaType + } static isContextMenuOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean): boolean { return value instanceof ContextMenuOptions } + static isContextMenuSourceType(value: Object | string | number | undefined): boolean { + return value instanceof ContextMenuSourceType + } + static isControllerHandler(value: Object | string | number | undefined): boolean { + return value instanceof ControllerHandler + } static isControlSize(value: Object | string | number | undefined): boolean { return value instanceof ControlSize } @@ -670,6 +700,9 @@ export class TypeChecker { static isDataPanelType(value: Object | string | number | undefined): boolean { return value instanceof DataPanelType } + static isDataResubmissionHandler(value: Object | string | number | undefined): boolean { + return value instanceof DataResubmissionHandler + } static isDatePickerDialog(value: Object | string | number | undefined): boolean { return value instanceof DatePickerDialog } @@ -973,7 +1006,7 @@ export class TypeChecker { static isEffectType(value: Object | string | number | undefined): boolean { return value instanceof EffectType } - static isEllipseOptions(value: Object | string | number | undefined): boolean { + static isEllipseOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof EllipseOptions } static isEllipseShape(value: Object | string | number | undefined): boolean { @@ -985,6 +1018,9 @@ export class TypeChecker { static isEmbeddedType(value: Object | string | number | undefined): boolean { return value instanceof EmbeddedType } + static isEmbedOptions(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof EmbedOptions + } static isEnterKeyType(value: Object | string | number | undefined): boolean { return value instanceof EnterKeyType } @@ -997,6 +1033,9 @@ export class TypeChecker { static isEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof Event } + static isEventResult(value: Object | string | number | undefined): boolean { + return value instanceof EventResult + } static isEventTarget(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof EventTarget } @@ -1012,6 +1051,15 @@ export class TypeChecker { static isFadingEdgeOptions(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof FadingEdgeOptions } + static isFileSelectorMode(value: Object | string | number | undefined): boolean { + return value instanceof FileSelectorMode + } + static isFileSelectorParam(value: Object | string | number | undefined): boolean { + return value instanceof FileSelectorParam + } + static isFileSelectorResult(value: Object | string | number | undefined): boolean { + return value instanceof FileSelectorResult + } static isFillMode(value: Object | string | number | undefined): boolean { return value instanceof FillMode } @@ -1021,6 +1069,9 @@ export class TypeChecker { static isFinishCallbackType(value: Object | string | number | undefined): boolean { return value instanceof FinishCallbackType } + static isFirstMeaningfulPaint(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof FirstMeaningfulPaint + } static isFlexAlign(value: Object | string | number | undefined): boolean { return value instanceof FlexAlign } @@ -1111,6 +1162,12 @@ export class TypeChecker { static isFrictionMotion(value: Object | string | number | undefined): boolean { return value instanceof FrictionMotion } + static isFullScreenEnterEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof FullScreenEnterEvent + } + static isFullScreenExitHandler(value: Object | string | number | undefined): boolean { + return value instanceof FullScreenExitHandler + } static isFullscreenInfo(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof FullscreenInfo } @@ -1225,6 +1282,9 @@ export class TypeChecker { static isHapticFeedbackMode(value: Object | string | number | undefined): boolean { return value instanceof HapticFeedbackMode } + static isHeader(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof Header + } static isHeightBreakpoint(value: Object | string | number | undefined): boolean { return value instanceof HeightBreakpoint } @@ -1237,6 +1297,9 @@ export class TypeChecker { static isHitTestMode(value: Object | string | number | undefined): boolean { return value instanceof HitTestMode } + static isHitTestType(value: Object | string | number | undefined): boolean { + return value instanceof HitTestType + } static isHorizontalAlign(value: Object | string | number | undefined): boolean { return value instanceof HorizontalAlign } @@ -1252,6 +1315,9 @@ export class TypeChecker { static isHoverModeAreaType(value: Object | string | number | undefined): boolean { return value instanceof HoverModeAreaType } + static isHttpAuthHandler(value: Object | string | number | undefined): boolean { + return value instanceof HttpAuthHandler + } static isIconOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof IconOptions } @@ -1348,6 +1414,9 @@ export class TypeChecker { static isInsertValue(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof InsertValue } + static isIntelligentTrackingPreventionDetails(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof IntelligentTrackingPreventionDetails + } static isIntentionCode(value: Object | string | number | undefined): boolean { return value instanceof IntentionCode } @@ -1369,6 +1438,15 @@ export class TypeChecker { static isItemState(value: Object | string | number | undefined): boolean { return value instanceof ItemState } + static isJavaScriptProxy(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean): boolean { + return value instanceof JavaScriptProxy + } + static isJsGeolocation(value: Object | string | number | undefined): boolean { + return value instanceof JsGeolocation + } + static isJsResult(value: Object | string | number | undefined): boolean { + return value instanceof JsResult + } static isKeyboardAppearance(value: Object | string | number | undefined): boolean { return value instanceof KeyboardAppearance } @@ -1390,24 +1468,21 @@ export class TypeChecker { static isKeyType(value: Object | string | number | undefined): boolean { return value instanceof KeyType } + static isLargestContentfulPaint(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean): boolean { + return value instanceof LargestContentfulPaint + } static isLaunchMode(value: Object | string | number | undefined): boolean { return value instanceof LaunchMode } static isLayoutable(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof Layoutable } - static isLayoutCallback(value: Object | string | number | undefined): boolean { - return value instanceof LayoutCallback - } static isLayoutChild(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof LayoutChild } static isLayoutConstraint(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof LayoutConstraint } - static isLayoutDirection(value: Object | string | number | undefined): boolean { - return value instanceof LayoutDirection - } static isLayoutManager(value: Object | string | number | undefined): boolean { return value instanceof LayoutManager } @@ -1489,7 +1564,7 @@ export class TypeChecker { static isLineJoinStyle(value: Object | string | number | undefined): boolean { return value instanceof LineJoinStyle } - static isLineOptions(value: Object | string | number | undefined): boolean { + static isLineOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof LineOptions } static isListDividerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { @@ -1519,6 +1594,9 @@ export class TypeChecker { static isListScroller(value: Object | string | number | undefined): boolean { return value instanceof ListScroller } + static isLoadCommittedDetails(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { + return value instanceof LoadCommittedDetails + } static isLoadingProgressConfiguration(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof LoadingProgressConfiguration } @@ -1636,6 +1714,12 @@ export class TypeChecker { static isMessageEvents(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof MessageEvents } + static isMessageLevel(value: Object | string | number | undefined): boolean { + return value instanceof MessageLevel + } + static isMixedMode(value: Object | string | number | undefined): boolean { + return value instanceof MixedMode + } static isModalTransition(value: Object | string | number | undefined): boolean { return value instanceof ModalTransition } @@ -1666,6 +1750,24 @@ export class TypeChecker { static isMutableStyledString(value: Object | string | number | undefined): boolean { return value instanceof MutableStyledString } + static isNativeEmbedDataInfo(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { + return value instanceof NativeEmbedDataInfo + } + static isNativeEmbedInfo(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean): boolean { + return value instanceof NativeEmbedInfo + } + static isNativeEmbedStatus(value: Object | string | number | undefined): boolean { + return value instanceof NativeEmbedStatus + } + static isNativeEmbedTouchInfo(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof NativeEmbedTouchInfo + } + static isNativeEmbedVisibilityInfo(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof NativeEmbedVisibilityInfo + } + static isNativeMediaPlayerConfig(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof NativeMediaPlayerConfig + } static isNativeXComponentParameters(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof NativeXComponentParameters } @@ -1753,6 +1855,9 @@ export class TypeChecker { static isNestedScrollOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof NestedScrollOptions } + static isNestedScrollOptionsExt(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { + return value instanceof NestedScrollOptionsExt + } static isNodeContent(value: Object | string | number | undefined): boolean { return value instanceof NodeContent } @@ -1780,12 +1885,120 @@ export class TypeChecker { static isOffsetResult(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof OffsetResult } + static isOnAlertEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof OnAlertEvent + } + static isOnAudioStateChangedEvent(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof OnAudioStateChangedEvent + } + static isOnBeforeUnloadEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof OnBeforeUnloadEvent + } + static isOnClientAuthenticationEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { + return value instanceof OnClientAuthenticationEvent + } + static isOnConfirmEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof OnConfirmEvent + } + static isOnConsoleEvent(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof OnConsoleEvent + } + static isOnContextMenuShowEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof OnContextMenuShowEvent + } + static isOnDataResubmittedEvent(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof OnDataResubmittedEvent + } + static isOnDownloadStartEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { + return value instanceof OnDownloadStartEvent + } + static isOnErrorReceiveEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof OnErrorReceiveEvent + } + static isOnFaviconReceivedEvent(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof OnFaviconReceivedEvent + } + static isOnFirstContentfulPaintEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof OnFirstContentfulPaintEvent + } static isOnFoldStatusChangeInfo(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof OnFoldStatusChangeInfo } + static isOnGeolocationShowEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof OnGeolocationShowEvent + } + static isOnHttpAuthRequestEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof OnHttpAuthRequestEvent + } + static isOnHttpErrorReceiveEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof OnHttpErrorReceiveEvent + } + static isOnInterceptRequestEvent(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof OnInterceptRequestEvent + } + static isOnLoadInterceptEvent(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof OnLoadInterceptEvent + } + static isOnOverScrollEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof OnOverScrollEvent + } + static isOnPageBeginEvent(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof OnPageBeginEvent + } + static isOnPageEndEvent(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof OnPageEndEvent + } + static isOnPageVisibleEvent(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof OnPageVisibleEvent + } + static isOnPermissionRequestEvent(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof OnPermissionRequestEvent + } + static isOnProgressChangeEvent(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof OnProgressChangeEvent + } + static isOnPromptEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { + return value instanceof OnPromptEvent + } + static isOnRefreshAccessedHistoryEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof OnRefreshAccessedHistoryEvent + } + static isOnRenderExitedEvent(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof OnRenderExitedEvent + } + static isOnResourceLoadEvent(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof OnResourceLoadEvent + } + static isOnScaleChangeEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof OnScaleChangeEvent + } + static isOnScreenCaptureRequestEvent(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof OnScreenCaptureRequestEvent + } + static isOnScrollEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof OnScrollEvent + } static isOnScrollFrameBeginHandlerResult(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof OnScrollFrameBeginHandlerResult } + static isOnSearchResultReceiveEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof OnSearchResultReceiveEvent + } + static isOnShowFileSelectorEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof OnShowFileSelectorEvent + } + static isOnSslErrorEventReceiveEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof OnSslErrorEventReceiveEvent + } + static isOnTitleReceiveEvent(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof OnTitleReceiveEvent + } + static isOnTouchIconUrlReceivedEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof OnTouchIconUrlReceivedEvent + } + static isOnWindowNewEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { + return value instanceof OnWindowNewEvent + } static isOptionWidthMode(value: Object | string | number | undefined): boolean { return value instanceof OptionWidthMode } @@ -1804,15 +2017,15 @@ export class TypeChecker { static isOverlayOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof OverlayOptions } + static isOverScrollMode(value: Object | string | number | undefined): boolean { + return value instanceof OverScrollMode + } static isPadding(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof Padding } static isPageFlipMode(value: Object | string | number | undefined): boolean { return value instanceof PageFlipMode } - static isPageLifeCycle(value: Object | string | number | undefined): boolean { - return value instanceof PageLifeCycle - } static isPanDirection(value: Object | string | number | undefined): boolean { return value instanceof PanDirection } @@ -1867,7 +2080,7 @@ export class TypeChecker { static isPath2D(value: Object | string | number | undefined): boolean { return value instanceof Path2D } - static isPathOptions(value: Object | string | number | undefined): boolean { + static isPathOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof PathOptions } static isPathShape(value: Object | string | number | undefined): boolean { @@ -1888,6 +2101,9 @@ export class TypeChecker { static isPerfMonitorSourceType(value: Object | string | number | undefined): boolean { return value instanceof PerfMonitorSourceType } + static isPermissionRequest(value: Object | string | number | undefined): boolean { + return value instanceof PermissionRequest + } static isPickerDialogButtonStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean): boolean { return value instanceof PickerDialogButtonStyle } @@ -1954,10 +2170,10 @@ export class TypeChecker { static isPointLightStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof PointLightStyle } - static isPolygonOptions(value: Object | string | number | undefined): boolean { + static isPolygonOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof PolygonOptions } - static isPolylineOptions(value: Object | string | number | undefined): boolean { + static isPolylineOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof PolylineOptions } static isPopInfo(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { @@ -2032,6 +2248,12 @@ export class TypeChecker { static isPromptAction(value: Object | string | number | undefined): boolean { return value instanceof PromptAction } + static isProtectedResourceType(value: Object | string | number | undefined): boolean { + return value instanceof ProtectedResourceType + } + static isPulseSymbolEffect(value: Object | string | number | undefined): boolean { + return value instanceof PulseSymbolEffect + } static isRadialGradientOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof RadialGradientOptions } @@ -2077,15 +2299,27 @@ export class TypeChecker { static isRelateType(value: Object | string | number | undefined): boolean { return value instanceof RelateType } + static isRenderExitReason(value: Object | string | number | undefined): boolean { + return value instanceof RenderExitReason + } static isRenderFit(value: Object | string | number | undefined): boolean { return value instanceof RenderFit } static isRenderingContextSettings(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof RenderingContextSettings } + static isRenderMode(value: Object | string | number | undefined): boolean { + return value instanceof RenderMode + } static isRenderNode(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean): boolean { return value instanceof RenderNode } + static isRenderProcessNotRespondingData(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof RenderProcessNotRespondingData + } + static isRenderProcessNotRespondingReason(value: Object | string | number | undefined): boolean { + return value instanceof RenderProcessNotRespondingReason + } static isRepeatMode(value: Object | string | number | undefined): boolean { return value instanceof RepeatMode } @@ -2236,7 +2470,7 @@ export class TypeChecker { static isRotationRecognizer(value: Object | string | number | undefined): boolean { return value instanceof RotationRecognizer } - static isRoundedRectOptions(value: Object | string | number | undefined): boolean { + static isRoundedRectOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof RoundedRectOptions } static isRoundRect(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { @@ -2287,6 +2521,15 @@ export class TypeChecker { static isScene(value: Object | string | number | undefined): boolean { return value instanceof Scene } + static isScreenCaptureConfig(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof ScreenCaptureConfig + } + static isScreenCaptureHandler(value: Object | string | number | undefined): boolean { + return value instanceof ScreenCaptureHandler + } + static isScriptItem(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof ScriptItem + } static isScrollableBarModeOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof ScrollableBarModeOptions } @@ -2371,6 +2614,9 @@ export class TypeChecker { static isSelectionMenuOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean): boolean { return value instanceof SelectionMenuOptions } + static isSelectionMenuOptionsExt(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { + return value instanceof SelectionMenuOptionsExt + } static isSelectionOptions(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof SelectionOptions } @@ -2488,6 +2734,15 @@ export class TypeChecker { static isSpringProp(value: Object | string | number | undefined): boolean { return value instanceof SpringProp } + static isSslError(value: Object | string | number | undefined): boolean { + return value instanceof SslError + } + static isSslErrorEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean): boolean { + return value instanceof SslErrorEvent + } + static isSslErrorHandler(value: Object | string | number | undefined): boolean { + return value instanceof SslErrorHandler + } static isStackOptions(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof StackOptions } @@ -2950,6 +3205,9 @@ export class TypeChecker { static isThemeControl(value: Object | string | number | undefined): boolean { return value instanceof ThemeControl } + static isThreatType(value: Object | string | number | undefined): boolean { + return value instanceof ThreatType + } static isTimePickerDialog(value: Object | string | number | undefined): boolean { return value instanceof TimePickerDialog } @@ -2980,6 +3238,12 @@ export class TypeChecker { static isToolbarItem(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean): boolean { return value instanceof ToolbarItem } + static isToolBarItemOptions(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof ToolBarItemOptions + } + static isToolBarItemPlacement(value: Object | string | number | undefined): boolean { + return value instanceof ToolBarItemPlacement + } static isToolbarItemStatus(value: Object | string | number | undefined): boolean { return value instanceof ToolbarItemStatus } @@ -3112,6 +3376,9 @@ export class TypeChecker { static isVideoOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean): boolean { return value instanceof VideoOptions } + static isViewportFit(value: Object | string | number | undefined): boolean { + return value instanceof ViewportFit + } static isViewportRect(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof ViewportRect } @@ -3136,9 +3403,66 @@ export class TypeChecker { static isWaterFlowSections(value: Object | string | number | undefined): boolean { return value instanceof WaterFlowSections } + static isWebCaptureMode(value: Object | string | number | undefined): boolean { + return value instanceof WebCaptureMode + } + static isWebContextMenuParam(value: Object | string | number | undefined): boolean { + return value instanceof WebContextMenuParam + } + static isWebContextMenuResult(value: Object | string | number | undefined): boolean { + return value instanceof WebContextMenuResult + } static isWebCookie(value: Object | string | number | undefined): boolean { return value instanceof WebCookie } + static isWebDarkMode(value: Object | string | number | undefined): boolean { + return value instanceof WebDarkMode + } + static isWebElementType(value: Object | string | number | undefined): boolean { + return value instanceof WebElementType + } + static isWebKeyboardAvoidMode(value: Object | string | number | undefined): boolean { + return value instanceof WebKeyboardAvoidMode + } + static isWebKeyboardCallbackInfo(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof WebKeyboardCallbackInfo + } + static isWebKeyboardController(value: Object | string | number | undefined): boolean { + return value instanceof WebKeyboardController + } + static isWebKeyboardOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof WebKeyboardOptions + } + static isWebLayoutMode(value: Object | string | number | undefined): boolean { + return value instanceof WebLayoutMode + } + static isWebMediaOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof WebMediaOptions + } + static isWebNavigationType(value: Object | string | number | undefined): boolean { + return value instanceof WebNavigationType + } + static isWebOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { + return value instanceof WebOptions + } + static isWebResourceError(value: Object | string | number | undefined): boolean { + return value instanceof WebResourceError + } + static isWebResourceRequest(value: Object | string | number | undefined): boolean { + return value instanceof WebResourceRequest + } + static isWebResourceResponse(value: Object | string | number | undefined): boolean { + return value instanceof WebResourceResponse + } + static isWebResponseType(value: Object | string | number | undefined): boolean { + return value instanceof WebResponseType + } + static iswebview_WebHeader(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof webview.WebHeader + } + static iswebview_WebviewController(value: Object | string | number | undefined): boolean { + return value instanceof webview.WebviewController + } static isWeek(value: Object | string | number | undefined): boolean { return value instanceof Week } @@ -3163,9 +3487,6 @@ export class TypeChecker { static isWordBreak(value: Object | string | number | undefined): boolean { return value instanceof WordBreak } - static isWorkerEventListener(value: Object | string | number | undefined): boolean { - return value instanceof WorkerEventListener - } static isWorkerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof WorkerOptions } @@ -3175,8 +3496,8 @@ export class TypeChecker { static isXComponentOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof XComponentOptions } - static isXComponentParameter(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { - return value instanceof XComponentParameter + static isXComponentParameters(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { + return value instanceof XComponentParameters } static isXComponentType(value: Object | string | number | undefined): boolean { return value instanceof XComponentType @@ -3247,6 +3568,12 @@ export class TypeChecker { static AttributeUpdaterFlag_FromNumeric(ordinal: int32): AttributeUpdaterFlag { return AttributeUpdaterFlag.fromValue(ordinal) } + static AudioSessionType_ToNumeric(value: AudioSessionType): int32 { + return value.valueOf() + } + static AudioSessionType_FromNumeric(ordinal: int32): AudioSessionType { + return AudioSessionType.fromValue(ordinal) + } static AutoCapitalizationMode_ToNumeric(value: AutoCapitalizationMode): int32 { return value.valueOf() } @@ -3325,6 +3652,12 @@ export class TypeChecker { static BlendMode_FromNumeric(ordinal: int32): BlendMode { return BlendMode.fromValue(ordinal) } + static BlurOnKeyboardHideMode_ToNumeric(value: BlurOnKeyboardHideMode): int32 { + return value.valueOf() + } + static BlurOnKeyboardHideMode_FromNumeric(ordinal: int32): BlurOnKeyboardHideMode { + return BlurOnKeyboardHideMode.fromValue(ordinal) + } static BlurStyle_ToNumeric(value: BlurStyle): int32 { return value.valueOf() } @@ -3367,6 +3700,12 @@ export class TypeChecker { static ButtonType_FromNumeric(ordinal: int32): ButtonType { return ButtonType.fromValue(ordinal) } + static CacheMode_ToNumeric(value: CacheMode): int32 { + return value.valueOf() + } + static CacheMode_FromNumeric(ordinal: int32): CacheMode { + return CacheMode.fromValue(ordinal) + } static CalendarAlign_ToNumeric(value: CalendarAlign): int32 { return value.valueOf() } @@ -3415,12 +3754,6 @@ export class TypeChecker { static ColoringStrategy_FromNumeric(ordinal: int32): ColoringStrategy { return ColoringStrategy.values()[ordinal] } - static ColorMode_ToNumeric(value: ColorMode): int32 { - return value.valueOf() - } - static ColorMode_FromNumeric(ordinal: int32): ColorMode { - return ColorMode.fromValue(ordinal) - } static ContentClipMode_ToNumeric(value: ContentClipMode): int32 { return value.valueOf() } @@ -3433,6 +3766,30 @@ export class TypeChecker { static ContentType_FromNumeric(ordinal: int32): ContentType { return ContentType.fromValue(ordinal) } + static ContextMenuEditStateFlags_ToNumeric(value: ContextMenuEditStateFlags): int32 { + return value.valueOf() + } + static ContextMenuEditStateFlags_FromNumeric(ordinal: int32): ContextMenuEditStateFlags { + return ContextMenuEditStateFlags.fromValue(ordinal) + } + static ContextMenuInputFieldType_ToNumeric(value: ContextMenuInputFieldType): int32 { + return value.valueOf() + } + static ContextMenuInputFieldType_FromNumeric(ordinal: int32): ContextMenuInputFieldType { + return ContextMenuInputFieldType.fromValue(ordinal) + } + static ContextMenuMediaType_ToNumeric(value: ContextMenuMediaType): int32 { + return value.valueOf() + } + static ContextMenuMediaType_FromNumeric(ordinal: int32): ContextMenuMediaType { + return ContextMenuMediaType.fromValue(ordinal) + } + static ContextMenuSourceType_ToNumeric(value: ContextMenuSourceType): int32 { + return value.valueOf() + } + static ContextMenuSourceType_FromNumeric(ordinal: int32): ContextMenuSourceType { + return ContextMenuSourceType.fromValue(ordinal) + } static ControlSize_ToNumeric(value: ControlSize): int32 { return value.getOrdinal() } @@ -3757,6 +4114,12 @@ export class TypeChecker { static EnterKeyType_FromNumeric(ordinal: int32): EnterKeyType { return EnterKeyType.fromValue(ordinal) } + static FileSelectorMode_ToNumeric(value: FileSelectorMode): int32 { + return value.valueOf() + } + static FileSelectorMode_FromNumeric(ordinal: int32): FileSelectorMode { + return FileSelectorMode.fromValue(ordinal) + } static FillMode_ToNumeric(value: FillMode): int32 { return value.valueOf() } @@ -3925,6 +4288,12 @@ export class TypeChecker { static HitTestMode_FromNumeric(ordinal: int32): HitTestMode { return HitTestMode.fromValue(ordinal) } + static HitTestType_ToNumeric(value: HitTestType): int32 { + return value.valueOf() + } + static HitTestType_FromNumeric(ordinal: int32): HitTestType { + return HitTestType.fromValue(ordinal) + } static HorizontalAlign_ToNumeric(value: HorizontalAlign): int32 { return value.valueOf() } @@ -4087,12 +4456,6 @@ export class TypeChecker { static LaunchMode_FromNumeric(ordinal: int32): LaunchMode { return LaunchMode.fromValue(ordinal) } - static LayoutDirection_ToNumeric(value: LayoutDirection): int32 { - return value.valueOf() - } - static LayoutDirection_FromNumeric(ordinal: int32): LayoutDirection { - return LayoutDirection.fromValue(ordinal) - } static LayoutMode_ToNumeric(value: LayoutMode): int32 { return value.valueOf() } @@ -4231,6 +4594,18 @@ export class TypeChecker { static MenuType_FromNumeric(ordinal: int32): MenuType { return MenuType.fromValue(ordinal) } + static MessageLevel_ToNumeric(value: MessageLevel): int32 { + return value.valueOf() + } + static MessageLevel_FromNumeric(ordinal: int32): MessageLevel { + return MessageLevel.fromValue(ordinal) + } + static MixedMode_ToNumeric(value: MixedMode): int32 { + return value.valueOf() + } + static MixedMode_FromNumeric(ordinal: int32): MixedMode { + return MixedMode.fromValue(ordinal) + } static ModalTransition_ToNumeric(value: ModalTransition): int32 { return value.valueOf() } @@ -4255,6 +4630,12 @@ export class TypeChecker { static MouseButton_FromNumeric(ordinal: int32): MouseButton { return MouseButton.fromValue(ordinal) } + static NativeEmbedStatus_ToNumeric(value: NativeEmbedStatus): int32 { + return value.valueOf() + } + static NativeEmbedStatus_FromNumeric(ordinal: int32): NativeEmbedStatus { + return NativeEmbedStatus.fromValue(ordinal) + } static NavBarPosition_ToNumeric(value: NavBarPosition): int32 { return value.valueOf() } @@ -4327,6 +4708,12 @@ export class TypeChecker { static OutlineStyle_FromNumeric(ordinal: int32): OutlineStyle { return OutlineStyle.fromValue(ordinal) } + static OverScrollMode_ToNumeric(value: OverScrollMode): int32 { + return value.valueOf() + } + static OverScrollMode_FromNumeric(ordinal: int32): OverScrollMode { + return OverScrollMode.fromValue(ordinal) + } static PageFlipMode_ToNumeric(value: PageFlipMode): int32 { return value.valueOf() } @@ -4453,6 +4840,12 @@ export class TypeChecker { static ProgressType_FromNumeric(ordinal: int32): ProgressType { return ProgressType.fromValue(ordinal) } + static ProtectedResourceType_ToNumeric(value: ProtectedResourceType): int32 { + return value.getOrdinal() + } + static ProtectedResourceType_FromNumeric(ordinal: int32): ProtectedResourceType { + return ProtectedResourceType.values()[ordinal] + } static RadioIndicatorType_ToNumeric(value: RadioIndicatorType): int32 { return value.valueOf() } @@ -4471,12 +4864,30 @@ export class TypeChecker { static RelateType_FromNumeric(ordinal: int32): RelateType { return RelateType.fromValue(ordinal) } + static RenderExitReason_ToNumeric(value: RenderExitReason): int32 { + return value.valueOf() + } + static RenderExitReason_FromNumeric(ordinal: int32): RenderExitReason { + return RenderExitReason.fromValue(ordinal) + } static RenderFit_ToNumeric(value: RenderFit): int32 { return value.valueOf() } static RenderFit_FromNumeric(ordinal: int32): RenderFit { return RenderFit.fromValue(ordinal) } + static RenderMode_ToNumeric(value: RenderMode): int32 { + return value.valueOf() + } + static RenderMode_FromNumeric(ordinal: int32): RenderMode { + return RenderMode.fromValue(ordinal) + } + static RenderProcessNotRespondingReason_ToNumeric(value: RenderProcessNotRespondingReason): int32 { + return value.valueOf() + } + static RenderProcessNotRespondingReason_FromNumeric(ordinal: int32): RenderProcessNotRespondingReason { + return RenderProcessNotRespondingReason.fromValue(ordinal) + } static RepeatMode_ToNumeric(value: RepeatMode): int32 { return value.valueOf() } @@ -4711,6 +5122,12 @@ export class TypeChecker { static SourceType_FromNumeric(ordinal: int32): SourceType { return SourceType.fromValue(ordinal) } + static SslError_ToNumeric(value: SslError): int32 { + return value.valueOf() + } + static SslError_FromNumeric(ordinal: int32): SslError { + return SslError.fromValue(ordinal) + } static StickyStyle_ToNumeric(value: StickyStyle): int32 { return value.valueOf() } @@ -4981,6 +5398,12 @@ export class TypeChecker { static ThemeColorMode_FromNumeric(ordinal: int32): ThemeColorMode { return ThemeColorMode.fromValue(ordinal) } + static ThreatType_ToNumeric(value: ThreatType): int32 { + return value.valueOf() + } + static ThreatType_FromNumeric(ordinal: int32): ThreatType { + return ThreatType.fromValue(ordinal) + } static TimePickerFormat_ToNumeric(value: TimePickerFormat): int32 { return value.valueOf() } @@ -4999,6 +5422,12 @@ export class TypeChecker { static ToggleType_FromNumeric(ordinal: int32): ToggleType { return ToggleType.fromValue(ordinal) } + static ToolBarItemPlacement_ToNumeric(value: ToolBarItemPlacement): int32 { + return value.valueOf() + } + static ToolBarItemPlacement_FromNumeric(ordinal: int32): ToolBarItemPlacement { + return ToolBarItemPlacement.fromValue(ordinal) + } static ToolbarItemStatus_ToNumeric(value: ToolbarItemStatus): int32 { return value.valueOf() } @@ -5071,6 +5500,12 @@ export class TypeChecker { static VerticalAlign_FromNumeric(ordinal: int32): VerticalAlign { return VerticalAlign.fromValue(ordinal) } + static ViewportFit_ToNumeric(value: ViewportFit): int32 { + return value.valueOf() + } + static ViewportFit_FromNumeric(ordinal: int32): ViewportFit { + return ViewportFit.fromValue(ordinal) + } static Visibility_ToNumeric(value: Visibility): int32 { return value.valueOf() } @@ -5083,6 +5518,48 @@ export class TypeChecker { static WaterFlowLayoutMode_FromNumeric(ordinal: int32): WaterFlowLayoutMode { return WaterFlowLayoutMode.fromValue(ordinal) } + static WebCaptureMode_ToNumeric(value: WebCaptureMode): int32 { + return value.valueOf() + } + static WebCaptureMode_FromNumeric(ordinal: int32): WebCaptureMode { + return WebCaptureMode.fromValue(ordinal) + } + static WebDarkMode_ToNumeric(value: WebDarkMode): int32 { + return value.valueOf() + } + static WebDarkMode_FromNumeric(ordinal: int32): WebDarkMode { + return WebDarkMode.fromValue(ordinal) + } + static WebElementType_ToNumeric(value: WebElementType): int32 { + return value.valueOf() + } + static WebElementType_FromNumeric(ordinal: int32): WebElementType { + return WebElementType.fromValue(ordinal) + } + static WebKeyboardAvoidMode_ToNumeric(value: WebKeyboardAvoidMode): int32 { + return value.valueOf() + } + static WebKeyboardAvoidMode_FromNumeric(ordinal: int32): WebKeyboardAvoidMode { + return WebKeyboardAvoidMode.fromValue(ordinal) + } + static WebLayoutMode_ToNumeric(value: WebLayoutMode): int32 { + return value.valueOf() + } + static WebLayoutMode_FromNumeric(ordinal: int32): WebLayoutMode { + return WebLayoutMode.fromValue(ordinal) + } + static WebNavigationType_ToNumeric(value: WebNavigationType): int32 { + return value.valueOf() + } + static WebNavigationType_FromNumeric(ordinal: int32): WebNavigationType { + return WebNavigationType.fromValue(ordinal) + } + static WebResponseType_ToNumeric(value: WebResponseType): int32 { + return value.valueOf() + } + static WebResponseType_FromNumeric(ordinal: int32): WebResponseType { + return WebResponseType.fromValue(ordinal) + } static Week_ToNumeric(value: Week): int32 { return value.valueOf() } @@ -5137,6 +5614,9 @@ export class TypeChecker { static isArray_drawing_TextBlobRunBuffer(value: Object | string | number | undefined): boolean { return value instanceof Array } + static isArray_String(value: Object | string | number | undefined): boolean { + return value instanceof Array + } static isArray_SourceTool(value: Object | string | number | undefined): boolean { return value instanceof Array } @@ -5146,18 +5626,9 @@ export class TypeChecker { static isArray_ImageAnalyzerType(value: Object | string | number | undefined): boolean { return value instanceof Array } - static isArray_Layoutable(value: Object | string | number | undefined): boolean { - return value instanceof Array - } - static isArray_Measurable(value: Object | string | number | undefined): boolean { - return value instanceof Array - } static isArray_ColorStop(value: Object | string | number | undefined): boolean { return value instanceof Array } - static isArray_String(value: Object | string | number | undefined): boolean { - return value instanceof Array - } static isArray_Opt_Object(value: Object | string | number | undefined): boolean { return value instanceof Array } @@ -5197,12 +5668,24 @@ export class TypeChecker { static isArray_SectionOptions(value: Object | string | number | undefined): boolean { return value instanceof Array } + static isArray_Header(value: Object | string | number | undefined): boolean { + return value instanceof Array + } + static isArray_webview_WebHeader(value: Object | string | number | undefined): boolean { + return value instanceof Array + } static isArray_TextMenuItem(value: Object | string | number | undefined): boolean { return value instanceof Array } static isArray_TouchTestInfo(value: Object | string | number | undefined): boolean { return value instanceof Array } + static isArray_Measurable(value: Object | string | number | undefined): boolean { + return value instanceof Array + } + static isArray_Layoutable(value: Object | string | number | undefined): boolean { + return value instanceof Array + } static isArray_NavDestinationTransition(value: Object | string | number | undefined): boolean { return value instanceof Array } @@ -5215,9 +5698,15 @@ export class TypeChecker { static isArray_Tuple_ResourceColor_Number(value: Object | string | number | undefined): boolean { return value instanceof Array } + static isArray_Buffer(value: Object | string | number | undefined): boolean { + return value instanceof Array + } static isArray_Object(value: Object | string | number | undefined): boolean { return value instanceof Array } + static isArray_Union_String_I32_I64_F64_Resource(value: Object | string | number | undefined): boolean { + return value instanceof Array + } static isArray_Union_RichEditorTextSpanResult_RichEditorImageSpanResult(value: Object | string | number | undefined): boolean { return value instanceof Array } @@ -5233,9 +5722,6 @@ export class TypeChecker { static isArray_DragPreviewMode(value: Object | string | number | undefined): boolean { return value instanceof Array } - static isArray_Buffer(value: Object | string | number | undefined): boolean { - return value instanceof Array - } static isArray_RichEditorTextSpanResult(value: Object | string | number | undefined): boolean { return value instanceof Array } @@ -5362,4 +5848,10 @@ export class TypeChecker { static isArray_BarrierStyle(value: Object | string | number | undefined): boolean { return value instanceof Array } + static isArray_Float64(value: Object | string | number | undefined): boolean { + return value instanceof Array + } + static isArray_ScriptItem(value: Object | string | number | undefined): boolean { + return value instanceof Array + } } diff --git a/arkoala-arkts/arkui/generated/framework/index.ets b/arkoala-arkts/arkui/generated/framework/index.ets index a835e5896..fcf988c65 100644 --- a/arkoala-arkts/arkui/generated/framework/index.ets +++ b/arkoala-arkts/arkui/generated/framework/index.ets @@ -116,9 +116,11 @@ export * from "./../TextPickerModifier" export * from "./../TextTimerModifier" export * from "./../TimePickerModifier" export * from "./../ToggleModifier" +export * from "./../ToolBarItemModifier" export * from "./../UIExtensionComponentModifier" export * from "./../VideoModifier" export * from "./../WaterFlowModifier" +export * from "./../WebModifier" export * from "./../WindowSceneModifier" export * from "./../WithThemeModifier" export * from "./../XComponentModifier" @@ -154,6 +156,7 @@ export * from "./../component/flex" export * from "./../component/flowItem" export * from "./../component/focus" export * from "./../component/folderStack" +export * from "./../component/forEach" export * from "./../component/formComponent" export * from "./../component/formLink" export * from "./../component/gauge" @@ -205,7 +208,6 @@ export * from "./../component/rect" export * from "./../component/refresh" export * from "./../component/relativeContainer" export * from "./../component/remoteWindow" -export * from "./../component/repeat" export * from "./../component/richEditor" export * from "./../component/richText" export * from "./../component/rootScene" @@ -223,7 +225,6 @@ export * from "./../component/sidebar" export * from "./../component/slider" export * from "./../component/span" export * from "./../component/stack" -export * from "./../component/stateManagement" export * from "./../component/stepper" export * from "./../component/stepperItem" export * from "./../component/styledString" @@ -241,6 +242,7 @@ export * from "./../component/textPicker" export * from "./../component/textTimer" export * from "./../component/timePicker" export * from "./../component/toggle" +export * from "./../component/toolbar" export * from "./../component/uiExtensionComponent" export * from "./../component/units" export * from "./../component/video" diff --git a/arkoala-arkts/arkui/generated/framework/ohos.app.ability.Want.ets b/arkoala-arkts/arkui/generated/framework/ohos.app.ability.Want.ets index d5677ff85..fc5536373 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.app.ability.Want.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.app.ability.Want.ets @@ -20,7 +20,6 @@ import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr, SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { extractors } from "#handwritten" import { TypeChecker } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" export interface Want { diff --git a/arkoala-arkts/arkui/generated/framework/ohos.app.ability.common.ets b/arkoala-arkts/arkui/generated/framework/ohos.app.ability.common.ets index 5ce275623..bce2c03c9 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.app.ability.common.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.app.ability.common.ets @@ -20,7 +20,6 @@ import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr, SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KSerializerBuffer, KUint8ArrayPtr, Finalizable } from "@koalaui/interop" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { extractors } from "#handwritten" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" import { BaseContext, BaseContextInternal } from "./application.BaseContext" diff --git a/arkoala-arkts/arkui/generated/framework/ohos.arkui.UIContext.ets b/arkoala-arkts/arkui/generated/framework/ohos.arkui.UIContext.ets index fbba08c0a..179f63331 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.arkui.UIContext.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.arkui.UIContext.ets @@ -30,7 +30,6 @@ import { drawing } from "./ohos.graphics.drawing" import { WidthBreakpoint, HeightBreakpoint } from "./../component/enums" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { extractors } from "#handwritten" export class PromptActionInternal { public static fromPtr(ptr: KPointer): PromptAction { return new PromptAction(ptr) diff --git a/arkoala-arkts/arkui/generated/framework/ohos.arkui.drawableDescriptor.ets b/arkoala-arkts/arkui/generated/framework/ohos.arkui.drawableDescriptor.ets index 638ecb77a..2b97c6988 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.arkui.drawableDescriptor.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.arkui.drawableDescriptor.ets @@ -22,7 +22,6 @@ import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, runtimeType, RuntimeType, SerializerBase, DeserializerBase, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, CallbackResource, InteropNativeModule, Tags, nullptr, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./../CallbackTransformer" -import { extractors } from "#handwritten" export class DrawableDescriptorInternal { public static fromPtr(ptr: KPointer): DrawableDescriptor { return new DrawableDescriptor(ptr) diff --git a/arkoala-arkts/arkui/generated/framework/ohos.arkui.node.ets b/arkoala-arkts/arkui/generated/framework/ohos.arkui.node.ets index 9727a8433..f348f9fef 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.arkui.node.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.arkui.node.ets @@ -20,7 +20,6 @@ import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr, SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { extractors } from "#handwritten" import { TypeChecker } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" export interface Content { diff --git a/arkoala-arkts/arkui/generated/framework/ohos.arkui.observer.ets b/arkoala-arkts/arkui/generated/framework/ohos.arkui.observer.ets index cd5377276..4b95b7cb5 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.arkui.observer.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.arkui.observer.ets @@ -18,16 +18,15 @@ import { SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KPointer, NativeBuffer, KSerializerBuffer, KUint8ArrayPtr, Finalizable, KInt, KBoolean, KStringPtr } from "@koalaui/interop" import { int32, int64, float32, unsafeCast } from "@koalaui/common" -import { extractors } from "#handwritten" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" -import { NavPathStack_serializer, NavPathStack, NavigationOperation, NavBar } from "./../component/navigation" +import { NavPathStack_serializer, NavPathStack, NavBar, NavigationOperation } from "./../component/navigation" import { Resource_serializer } from "./resource" import { ResourceStr } from "./../component/units" +import { Resource } from "global.resource" import { UIContext, UIContextInternal } from "./ohos.arkui.UIContext" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { Resource } from "global.resource" export class uiObserver_DensityInfo_serializer { public static write(buffer: SerializerBase, value: uiObserver.DensityInfo): void { let valueSerializer : SerializerBase = buffer diff --git a/arkoala-arkts/arkui/generated/framework/ohos.arkui.shape.ets b/arkoala-arkts/arkui/generated/framework/ohos.arkui.shape.ets index b5b0ce937..779c4aff5 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.arkui.shape.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.arkui.shape.ets @@ -26,7 +26,6 @@ import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { extractors } from "#handwritten" export class CircleShapeInternal { public static fromPtr(ptr: KPointer): CircleShape { return new CircleShape(false, ptr) diff --git a/arkoala-arkts/arkui/generated/framework/ohos.arkui.theme.ets b/arkoala-arkts/arkui/generated/framework/ohos.arkui.theme.ets index cb7bed79e..ccb9ec62f 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.arkui.theme.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.arkui.theme.ets @@ -25,7 +25,6 @@ import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { ResourceColor } from "./../component/units" import { Color } from "./../component/enums" import { Resource } from "global.resource" -import { extractors } from "#handwritten" import { Resource_serializer } from "./resource" export class ThemeControlInternal { public static fromPtr(ptr: KPointer): ThemeControl { diff --git a/arkoala-arkts/arkui/generated/framework/ohos.base.ets b/arkoala-arkts/arkui/generated/framework/ohos.base.ets index d4b2aab63..eadfc6164 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.base.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.base.ets @@ -20,7 +20,6 @@ import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr, SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KSerializerBuffer, KUint8ArrayPtr } from "@koalaui/interop" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { extractors } from "#handwritten" import { TypeChecker } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" export type ErrorCallback = (error: BusinessError) => void; diff --git a/arkoala-arkts/arkui/generated/framework/ohos.curves.ets b/arkoala-arkts/arkui/generated/framework/ohos.curves.ets index 8ebf689fe..64b0c3e55 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.curves.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.curves.ets @@ -18,7 +18,6 @@ import { SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KPointer, NativeBuffer, KSerializerBuffer, KUint8ArrayPtr, Finalizable, KInt, KBoolean, KStringPtr } from "@koalaui/interop" import { int32, int64, float32, unsafeCast } from "@koalaui/common" -import { extractors } from "#handwritten" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" diff --git a/arkoala-arkts/arkui/generated/framework/ohos.data.unifiedDataChannel.ets b/arkoala-arkts/arkui/generated/framework/ohos.data.unifiedDataChannel.ets index f64b8e1bd..181041d76 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.data.unifiedDataChannel.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.data.unifiedDataChannel.ets @@ -18,7 +18,6 @@ import { SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KPointer, NativeBuffer, KSerializerBuffer, KUint8ArrayPtr, Finalizable, KInt, KBoolean, KStringPtr } from "@koalaui/interop" import { int32, int64, float32, unsafeCast } from "@koalaui/common" -import { extractors } from "#handwritten" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" diff --git a/arkoala-arkts/arkui/generated/framework/ohos.font.ets b/arkoala-arkts/arkui/generated/framework/ohos.font.ets index db01dd850..f99497549 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.font.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.font.ets @@ -19,7 +19,6 @@ import { FontInfo, FontOptions } from "@ohos.font" 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 { extractors } from "#handwritten" import { TypeChecker } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" import { Resource_serializer } from "./resource" diff --git a/arkoala-arkts/arkui/generated/framework/ohos.graphics.common2D.ets b/arkoala-arkts/arkui/generated/framework/ohos.graphics.common2D.ets index 07a9a4898..61e453086 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.graphics.common2D.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.graphics.common2D.ets @@ -18,7 +18,6 @@ import { SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KPointer, NativeBuffer, KSerializerBuffer, KUint8ArrayPtr, KInt, KBoolean, KStringPtr } from "@koalaui/interop" import { int32, int64, float32, unsafeCast } from "@koalaui/common" -import { extractors } from "#handwritten" import { TypeChecker } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" diff --git a/arkoala-arkts/arkui/generated/framework/ohos.graphics.drawing.ets b/arkoala-arkts/arkui/generated/framework/ohos.graphics.drawing.ets index 63d7fae94..5c1750737 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.graphics.drawing.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.graphics.drawing.ets @@ -18,7 +18,6 @@ import { SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KPointer, NativeBuffer, KSerializerBuffer, KUint8ArrayPtr, Finalizable, KInt, KBoolean, KStringPtr } from "@koalaui/interop" import { int32, int64, float32, unsafeCast } from "@koalaui/common" -import { extractors } from "#handwritten" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" import { common2D_Color_serializer, common2D, common2D_Rect_serializer, common2D_Point3d_serializer, common2D_Point_serializer } from "./ohos.graphics.common2D" diff --git a/arkoala-arkts/arkui/generated/framework/ohos.graphics.text.ets b/arkoala-arkts/arkui/generated/framework/ohos.graphics.text.ets index 4fad7f0f7..8d7b5f03b 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.graphics.text.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.graphics.text.ets @@ -18,7 +18,6 @@ import { SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KPointer, NativeBuffer, KSerializerBuffer, KUint8ArrayPtr, Finalizable, KInt, KBoolean, KStringPtr } from "@koalaui/interop" import { int32, int64, float32, unsafeCast } from "@koalaui/common" -import { extractors } from "#handwritten" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" import { common2D_Color_serializer, common2D, common2D_Rect_serializer, common2D_Point_serializer } from "./ohos.graphics.common2D" diff --git a/arkoala-arkts/arkui/generated/framework/ohos.graphics.uiEffect.ets b/arkoala-arkts/arkui/generated/framework/ohos.graphics.uiEffect.ets index db2ba9ab2..9132988d3 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.graphics.uiEffect.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.graphics.uiEffect.ets @@ -18,7 +18,6 @@ import { SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KPointer, NativeBuffer, KSerializerBuffer, KUint8ArrayPtr, Finalizable, KInt, KBoolean, KStringPtr } from "@koalaui/interop" import { int32, int64, float32, unsafeCast } from "@koalaui/common" -import { extractors } from "#handwritten" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" diff --git a/arkoala-arkts/arkui/generated/framework/ohos.intl.ets b/arkoala-arkts/arkui/generated/framework/ohos.intl.ets index d25161998..b536e238b 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.intl.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.intl.ets @@ -18,7 +18,6 @@ import { SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KPointer, NativeBuffer, KSerializerBuffer, KUint8ArrayPtr, KInt, KBoolean, KStringPtr } from "@koalaui/interop" import { int32, int64, float32, unsafeCast } from "@koalaui/common" -import { extractors } from "#handwritten" import { TypeChecker } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" diff --git a/arkoala-arkts/arkui/generated/framework/ohos.matrix4.ets b/arkoala-arkts/arkui/generated/framework/ohos.matrix4.ets index e8b86f768..0beb470db 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.matrix4.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.matrix4.ets @@ -18,7 +18,6 @@ import { SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KPointer, NativeBuffer, KSerializerBuffer, KUint8ArrayPtr, Finalizable, KInt, KBoolean, KStringPtr } from "@koalaui/interop" import { int32, int64, float32, unsafeCast } from "@koalaui/common" -import { extractors } from "#handwritten" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" import { common2D_Point_serializer, common2D } from "./ohos.graphics.common2D" diff --git a/arkoala-arkts/arkui/generated/framework/ohos.measure.ets b/arkoala-arkts/arkui/generated/framework/ohos.measure.ets index b2a8bb60f..9a01cfedd 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.measure.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.measure.ets @@ -24,7 +24,6 @@ import { Resource } from "global.resource" import { FontStyle, FontWeight, TextOverflow, TextCase } from "./../component/enums" import { text } from "./ohos.graphics.text" import { Resource_serializer } from "./resource" -import { extractors } from "#handwritten" import { TypeChecker } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" export interface MeasureOptions { diff --git a/arkoala-arkts/arkui/generated/framework/ohos.promptAction.ets b/arkoala-arkts/arkui/generated/framework/ohos.promptAction.ets index 506760751..06aa92f59 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.promptAction.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.promptAction.ets @@ -22,7 +22,6 @@ import { unsafeCast, int32, int64, float32 } from "@koalaui/common" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { extractors } from "#handwritten" export class LevelOrderInternal { public static fromPtr(ptr: KPointer): LevelOrder { return new LevelOrder(ptr) diff --git a/arkoala-arkts/arkui/generated/framework/ohos.web.webview.ets b/arkoala-arkts/arkui/generated/framework/ohos.web.webview.ets new file mode 100644 index 000000000..71c8c7e65 --- /dev/null +++ b/arkoala-arkts/arkui/generated/framework/ohos.web.webview.ets @@ -0,0 +1,121 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// 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, Finalizable, KInt, KBoolean, KStringPtr } from "@koalaui/interop" +import { int32, int64, float32, unsafeCast } from "@koalaui/common" +import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { CallbackTransformer } from "./../CallbackTransformer" +import { Resource_serializer } from "./resource" +import { Resource } from "global.resource" +import { memo, memo_stable } from "@koalaui/runtime/annotations" +import { ComponentBuilder, Builder } from "@koalaui/builderLambda" +export class webview_WebHeader_serializer { + public static write(buffer: SerializerBase, value: webview.WebHeader): void { + let valueSerializer : SerializerBase = buffer + const valueHolderForHeaderKey = value.headerKey + valueSerializer.writeString(valueHolderForHeaderKey) + const valueHolderForHeaderValue = value.headerValue + valueSerializer.writeString(valueHolderForHeaderValue) + } + public static read(buffer: DeserializerBase): webview.WebHeader { + let valueDeserializer : DeserializerBase = buffer + const headerKeyTmpResult : string = (valueDeserializer.readString() as string) + const headerValueTmpResult : string = (valueDeserializer.readString() as string) + let value : webview.WebHeader = ({headerKey: headerKeyTmpResult, headerValue: headerValueTmpResult} as webview.WebHeader) + return value + } +} +export class webview_WebviewController_serializer { + public static write(buffer: SerializerBase, value: webview.WebviewController): void { + let valueSerializer : SerializerBase = buffer + valueSerializer.writePointer(toPeerPtr(value)) + } + public static read(buffer: DeserializerBase): webview.WebviewController { + let valueDeserializer : DeserializerBase = buffer + let ptr : KPointer = valueDeserializer.readPointer() + return webview.WebviewControllerInternal.fromPtr(ptr) + } +} +export namespace webview { + export class WebviewControllerInternal { + public static fromPtr(ptr: KPointer): webview.WebviewController { + return new webview.WebviewController(ptr) + } + } + export class WebviewController implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + constructor(peerPtr: KPointer) { + this.peer = new Finalizable(peerPtr, WebviewController.getFinalizer()) + } + constructor() { + this(WebviewController.construct()) + } + static construct(): KPointer { + const retval = ArkUIGeneratedNativeModule._webview_WebviewController_construct() + return retval + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._webview_WebviewController_getFinalizer() + } + private static initializeWebEngine_serialize(): void { + ArkUIGeneratedNativeModule._webview_WebviewController_initializeWebEngine() + } + public static initializeWebEngine(): void { + WebviewController.initializeWebEngine_serialize() + return + } + public loadUrl(url: string | Resource, headers?: Array): void { + const url_casted = url as (string | Resource) + const headers_casted = headers as (Array | undefined) + this.loadUrl_serialize(url_casted, headers_casted) + return + } + private loadUrl_serialize(url: string | Resource, headers?: Array): void { + const thisSerializer : SerializerBase = SerializerBase.hold() + if (url instanceof string) { + thisSerializer.writeInt8((0).toChar()) + const urlForIdx0 = url as string + thisSerializer.writeString(urlForIdx0) + } else if (url instanceof Resource) { + thisSerializer.writeInt8((1).toChar()) + const urlForIdx1 = url as Resource + Resource_serializer.write(thisSerializer, urlForIdx1) + } + if (headers !== undefined) { + thisSerializer.writeInt8(RuntimeType.OBJECT) + const headersTmpValue = headers! + thisSerializer.writeInt32((headersTmpValue.length).toInt()) + for (let headersTmpValueCounterI = 0; headersTmpValueCounterI < headersTmpValue.length; headersTmpValueCounterI++) { + const headersTmpValueTmpElement : WebHeader = headersTmpValue[headersTmpValueCounterI] + webview_WebHeader_serializer.write(thisSerializer, headersTmpValueTmpElement) + } + } else { + thisSerializer.writeInt8(RuntimeType.UNDEFINED) + } + ArkUIGeneratedNativeModule._webview_WebviewController_loadUrl(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + } + export interface WebHeader { + headerKey: string; + headerValue: string; + } +} diff --git a/arkoala-arkts/arkui/generated/framework/ohos.window.ets b/arkoala-arkts/arkui/generated/framework/ohos.window.ets index 58dd94b8f..541d9190e 100644 --- a/arkoala-arkts/arkui/generated/framework/ohos.window.ets +++ b/arkoala-arkts/arkui/generated/framework/ohos.window.ets @@ -18,7 +18,6 @@ import { SerializerBase, DeserializerBase, CallbackResource, InteropNativeModule, MaterializedBase, Tags, RuntimeType, runtimeType, toPeerPtr, nullptr, KPointer, NativeBuffer, KSerializerBuffer, KUint8ArrayPtr, KInt, KBoolean, KStringPtr } from "@koalaui/interop" import { int32, int64, float32, unsafeCast } from "@koalaui/common" -import { extractors } from "#handwritten" import { TypeChecker } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" import { memo, memo_stable } from "@koalaui/runtime/annotations" diff --git a/arkoala-arkts/arkui/generated/framework/peers/CallbackDeserializeCall.ets b/arkoala-arkts/arkui/generated/framework/peers/CallbackDeserializeCall.ets index 4a068156b..34e9c8f06 100644 --- a/arkoala-arkts/arkui/generated/framework/peers/CallbackDeserializeCall.ets +++ b/arkoala-arkts/arkui/generated/framework/peers/CallbackDeserializeCall.ets @@ -30,12 +30,13 @@ import { DrawContext_serializer, DrawContext } from "./../../Graphics" import { ErrorInformation_serializer, FormCallbackInfo_serializer, ErrorInformation, FormCallbackInfo } from "./../../component/formComponent" import { FullscreenInfo_serializer, PlaybackInfo_serializer, PreparedInfo_serializer, FullscreenInfo, PlaybackInfo, PreparedInfo } from "./../../component/video" import { GestureEvent_serializer, GestureInfo_serializer, BaseGestureEvent_serializer, GestureRecognizer_serializer, RotationGesture_serializer, SwipeGesture_serializer, GestureEvent, GestureInfo, BaseGestureEvent, GestureJudgeResult, GestureRecognizer, RotationGesture, SwipeGesture } from "./../../component/gesture" +import { NativeEmbedDataInfo_serializer, NativeEmbedTouchInfo_serializer, OnAlertEvent_serializer, OnAudioStateChangedEvent_serializer, OnBeforeUnloadEvent_serializer, OnClientAuthenticationEvent_serializer, OnConfirmEvent_serializer, OnConsoleEvent_serializer, OnContextMenuShowEvent_serializer, OnDataResubmittedEvent_serializer, OnDownloadStartEvent_serializer, OnErrorReceiveEvent_serializer, OnFaviconReceivedEvent_serializer, OnFirstContentfulPaintEvent_serializer, OnGeolocationShowEvent_serializer, OnHttpAuthRequestEvent_serializer, OnHttpErrorReceiveEvent_serializer, OnInterceptRequestEvent_serializer, WebResourceResponse_serializer, OnLoadInterceptEvent_serializer, OnOverScrollEvent_serializer, OnPageBeginEvent_serializer, OnPageEndEvent_serializer, OnPageVisibleEvent_serializer, OnPermissionRequestEvent_serializer, OnProgressChangeEvent_serializer, OnPromptEvent_serializer, OnRefreshAccessedHistoryEvent_serializer, OnRenderExitedEvent_serializer, OnResourceLoadEvent_serializer, OnScaleChangeEvent_serializer, OnScreenCaptureRequestEvent_serializer, OnScrollEvent_serializer, OnSearchResultReceiveEvent_serializer, OnShowFileSelectorEvent_serializer, OnSslErrorEventReceiveEvent_serializer, OnTitleReceiveEvent_serializer, OnTouchIconUrlReceivedEvent_serializer, OnWindowNewEvent_serializer, WebKeyboardOptions_serializer, AdsBlockedDetails_serializer, FirstMeaningfulPaint_serializer, FullScreenEnterEvent_serializer, IntelligentTrackingPreventionDetails_serializer, LargestContentfulPaint_serializer, NativeEmbedVisibilityInfo_serializer, LoadCommittedDetails_serializer, WebResourceRequest_serializer, RenderProcessNotRespondingData_serializer, SslErrorEvent_serializer, WebKeyboardCallbackInfo_serializer, NativeEmbedDataInfo, NativeEmbedTouchInfo, OnAlertEvent, OnAudioStateChangedEvent, OnBeforeUnloadEvent, OnClientAuthenticationEvent, OnConfirmEvent, OnConsoleEvent, OnContextMenuShowEvent, OnDataResubmittedEvent, OnDownloadStartEvent, OnErrorReceiveEvent, OnFaviconReceivedEvent, OnFirstContentfulPaintEvent, OnGeolocationShowEvent, OnHttpAuthRequestEvent, OnHttpErrorReceiveEvent, OnInterceptRequestEvent, WebResourceResponse, OnLoadInterceptEvent, OnOverScrollEvent, OnPageBeginEvent, OnPageEndEvent, OnPageVisibleEvent, OnPermissionRequestEvent, OnProgressChangeEvent, OnPromptEvent, OnRefreshAccessedHistoryEvent, OnRenderExitedEvent, OnResourceLoadEvent, OnScaleChangeEvent, OnScreenCaptureRequestEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnShowFileSelectorEvent, OnSslErrorEventReceiveEvent, OnTitleReceiveEvent, OnTouchIconUrlReceivedEvent, OnWindowNewEvent, WebKeyboardOptions, OnAdsBlockedCallback, AdsBlockedDetails, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, FirstMeaningfulPaint, OnFullScreenEnterCallback, FullScreenEnterEvent, OnIntelligentTrackingPreventionCallback, IntelligentTrackingPreventionDetails, OnLargestContentfulPaintCallback, LargestContentfulPaint, OnNativeEmbedVisibilityChangeCallback, NativeEmbedVisibilityInfo, OnNavigationEntryCommittedCallback, LoadCommittedDetails, OnOverrideUrlLoadingCallback, WebResourceRequest, OnRenderProcessNotRespondingCallback, RenderProcessNotRespondingData, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, ThreatType, OnSslErrorEventCallback, SslErrorEvent, OnViewportFitChangedCallback, ViewportFit, WebKeyboardCallback, WebKeyboardCallbackInfo } from "./../../component/web" import { NavDestinationContext_serializer, NavDestinationTransition_serializer, NavDestinationActiveReason, NavDestinationContext, NavDestinationTransition, NavDestinationTransitionDelegate } from "./../../component/navDestination" import { NavigationTransitionProxy_serializer, NavigationAnimatedTransition_serializer, PopInfo_serializer, NavContentInfo_serializer, NavigationMode, NavigationTitleMode, NavigationTransitionProxy, NavigationAnimatedTransition, PopInfo, InterceptionModeCallback, InterceptionShowCallback, NavBar, NavigationOperation, NavContentInfo, UpdateTransitionCallback } from "./../../component/navigation" import { OnScrollFrameBeginHandlerResult_serializer, OffsetResult_serializer, OnScrollFrameBeginHandlerResult, OffsetResult, OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollOnScrollCallback, ScrollOnWillScrollCallback } from "./../../component/scroll" -import { Scene_serializer, ErrorEvent_serializer, MessageEvents_serializer, Callback_CreateItem, Callback_Extender_OnFinish, Callback_Extender_OnProgress, Callback_onMeasureSize_SizeResult, Callback_onPlaceChildren_Void, Scene, Callback_RangeUpdate, Callback_StateStylesChange, CustomNodeBuilder, NavExtender_OnUpdateStack, RestrictedWorker_onerror_Callback, ErrorEvent, RestrictedWorker_onexit_Callback, RestrictedWorker_onmessage_Callback, MessageEvents } from "./../../component/idlize" +import { Scene_serializer, ErrorEvent_serializer, MessageEvents_serializer, Event_serializer, Callback_CreateItem, Callback_Extender_OnFinish, Callback_Extender_OnProgress, Callback_onMeasureSize_SizeResult, Callback_onPlaceChildren_Void, Scene, Callback_RangeUpdate, Callback_StateStylesChange, CustomNodeBuilder, NavExtender_OnUpdateStack, RestrictedWorker_onerror_Callback, ErrorEvent, RestrictedWorker_onexit_Callback, RestrictedWorker_onmessage_Callback, MessageEvents, WorkerEventListener, Event } from "./../../component/idlize" import { TabContentAnimatedTransition_serializer, TabContentTransitionProxy_serializer, TabsAnimationEvent_serializer, TabContentAnimatedTransition, TabContentTransitionProxy, OnTabsAnimationEndCallback, TabsAnimationEvent, OnTabsAnimationStartCallback, OnTabsContentWillChangeCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback } from "./../../component/tabs" -import { SurfaceRect_serializer, SurfaceRect, OnNativeLoadCallback } from "./../../component/xcomponent" +import { SurfaceRect_serializer, NativeXComponentPointer, SurfaceRect } from "./../../component/xcomponent" import { SwiperContentTransitionProxy_serializer, SwiperContentWillScrollResult_serializer, SwiperAnimationEvent_serializer, SwiperContentTransitionProxy, ContentDidScrollCallback, ContentWillScrollCallback, SwiperContentWillScrollResult, OnSwiperAnimationEndCallback, SwiperAnimationEvent, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback } from "./../../component/swiper" import { Resource_serializer } from "./../resource" import { TextPickerResult_serializer, TextPickerResult, OnTextPickerChangeCallback, TextPickerEnterSelectedAreaCallback, TextPickerScrollStopCallback } from "./../../component/textPicker" @@ -53,7 +54,7 @@ import { CheckboxGroupResult_serializer, OnCheckboxGroupChangeCallback, Checkbox import { OnFoldStatusChangeInfo_serializer, HoverEventParam_serializer, OnFoldStatusChangeCallback, OnFoldStatusChangeInfo, OnHoverStatusChangeCallback, HoverEventParam } from "./../../component/folderStack" import { VisibleListContentInfo_serializer, ScrollState, OnScrollVisibleContentChangeCallback, VisibleListContentInfo } from "./../../component/list" import { SubmitEvent_serializer, EnterKeyType, OnContentScrollCallback, OnPasteCallback, OnSubmitCallback, SubmitEvent, OnTextSelectionChangeCallback } from "./../../component/textInput" -import { PluginErrorData_serializer, PluginErrorCallback, PluginErrorData } from "./../../component/pluginComponent" +import { PluginErrorData_serializer, RecordData, PluginErrorCallback, PluginErrorData } from "./../../component/pluginComponent" import { ProgressConfiguration_serializer, ProgressConfiguration } from "./../../component/progress" import { RadioConfiguration_serializer, OnRadioChangeCallback, RadioConfiguration } from "./../../component/radio" import { RatingConfiguration_serializer, OnRatingChangeCallback, RatingConfiguration } from "./../../component/rating" @@ -77,7 +78,6 @@ import { Resource } from "global.resource" import { Context_getGroupDir_Callback } from "./../ohos.app.ability.common" import { GetItemMainSizeByIndex } from "./../../component/waterFlow" import { OnAlphabetIndexerPopupSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerSelectCallback } from "./../../component/alphabetIndexer" -import { OnLazyLoadingFunc, OnTotalCountFunc } from "./../../component/repeat" import { OnLinearIndicatorChangeCallback } from "./../../component/linearindicator" import { PageTransitionCallback, RouteType } from "./../../component/pageTransition" import { SearchSubmitCallback } from "./../../component/search" @@ -613,18 +613,23 @@ export function deserializeAndCallCallback_KeyEvent_Void(thisDeserializer: Deser let event : KeyEvent = (KeyEvent_serializer.read(thisDeserializer) as KeyEvent) _call(event) } -export function deserializeAndCallCallback_Map_String_Object_Void(thisDeserializer: DeserializerBase): void { +export function deserializeAndCallCallback_Map_String_RecordData_Void(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: Map) => void)) + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: Map) => void)) const value0TmpBufSizeVar : int32 = thisDeserializer.readInt32() - let value0TmpBuf : Map = new Map() + let value0TmpBuf : Map = new Map() // TODO: TS map resize for (let value0TmpBufIVar = 0; value0TmpBufIVar < value0TmpBufSizeVar; value0TmpBufIVar++) { const value0TmpBufKeyVar : string = (thisDeserializer.readString() as string) - const value0TmpBufValueVar : Object = (thisDeserializer.readObject() as object) + const value0TmpBufValueVarTempBuf_runtimeType = thisDeserializer.readInt8().toInt() + let value0TmpBufValueVarTempBuf : Object | undefined + if ((value0TmpBufValueVarTempBuf_runtimeType) != (RuntimeType.UNDEFINED)) { + value0TmpBufValueVarTempBuf = (thisDeserializer.readObject() as object) + } + const value0TmpBufValueVar : RecordData = value0TmpBufValueVarTempBuf value0TmpBuf.set(value0TmpBufKeyVar, value0TmpBufValueVar) } - let value0 : Map = value0TmpBuf + let value0 : Map = value0TmpBuf _call(value0) } export function deserializeAndCallCallback_MarqueeState_Void(thisDeserializer: DeserializerBase): void { @@ -639,6 +644,24 @@ export function deserializeAndCallCallback_MouseEvent_Void(thisDeserializer: Des let event : MouseEvent = (MouseEvent_serializer.read(thisDeserializer) as MouseEvent) _call(event) } +export function deserializeAndCallCallback_NativeEmbedDataInfo_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((event: NativeEmbedDataInfo) => void)) + let event : NativeEmbedDataInfo = NativeEmbedDataInfo_serializer.read(thisDeserializer) + _call(event) +} +export function deserializeAndCallCallback_NativeEmbedTouchInfo_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((event: NativeEmbedTouchInfo) => void)) + let event : NativeEmbedTouchInfo = NativeEmbedTouchInfo_serializer.read(thisDeserializer) + _call(event) +} +export function deserializeAndCallCallback_NativeXComponentPointer_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: NativeXComponentPointer) => void)) + let value0 : NativeXComponentPointer = thisDeserializer.readInt64() + _call(value0) +} export function deserializeAndCallCallback_NavDestinationActiveReason_Void(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: NavDestinationActiveReason) => void)) @@ -849,6 +872,220 @@ export function deserializeAndCallCallback_Object_Void(thisDeserializer: Deseria let value0 : Object = (thisDeserializer.readObject() as object) _call(value0) } +export function deserializeAndCallCallback_OnAlertEvent_Boolean(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnAlertEvent) => boolean)) + let value0 : OnAlertEvent = OnAlertEvent_serializer.read(thisDeserializer) + const continuationBufferBufResource : CallbackResource = thisDeserializer.readCallbackResource() + const continuationBufferBufCall : KPointer = thisDeserializer.readPointer() + const continuationBufferBufCallSync : KPointer = thisDeserializer.readPointer() + let continuationResult : ((value0: boolean) => void) = (value0: boolean):void => { + const continuationBufferBufArgsSerializer : SerializerBase = SerializerBase.hold(); + continuationBufferBufArgsSerializer.writeInt32(continuationBufferBufResource.resourceId); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCall); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCallSync); + continuationBufferBufArgsSerializer.writeBoolean(value0); + InteropNativeModule._CallCallbackSync(10, 313269291, continuationBufferBufArgsSerializer.asBuffer(), continuationBufferBufArgsSerializer.length()); + continuationBufferBufArgsSerializer.release(); + return; + } + const _callResult = _call(value0) + continuationResult(_callResult) +} +export function deserializeAndCallCallback_OnAudioStateChangedEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnAudioStateChangedEvent) => void)) + let value0 : OnAudioStateChangedEvent = OnAudioStateChangedEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnBeforeUnloadEvent_Boolean(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnBeforeUnloadEvent) => boolean)) + let value0 : OnBeforeUnloadEvent = OnBeforeUnloadEvent_serializer.read(thisDeserializer) + const continuationBufferBufResource : CallbackResource = thisDeserializer.readCallbackResource() + const continuationBufferBufCall : KPointer = thisDeserializer.readPointer() + const continuationBufferBufCallSync : KPointer = thisDeserializer.readPointer() + let continuationResult : ((value0: boolean) => void) = (value0: boolean):void => { + const continuationBufferBufArgsSerializer : SerializerBase = SerializerBase.hold(); + continuationBufferBufArgsSerializer.writeInt32(continuationBufferBufResource.resourceId); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCall); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCallSync); + continuationBufferBufArgsSerializer.writeBoolean(value0); + InteropNativeModule._CallCallbackSync(10, 313269291, continuationBufferBufArgsSerializer.asBuffer(), continuationBufferBufArgsSerializer.length()); + continuationBufferBufArgsSerializer.release(); + return; + } + const _callResult = _call(value0) + continuationResult(_callResult) +} +export function deserializeAndCallCallback_OnClientAuthenticationEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnClientAuthenticationEvent) => void)) + let value0 : OnClientAuthenticationEvent = OnClientAuthenticationEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnConfirmEvent_Boolean(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnConfirmEvent) => boolean)) + let value0 : OnConfirmEvent = OnConfirmEvent_serializer.read(thisDeserializer) + const continuationBufferBufResource : CallbackResource = thisDeserializer.readCallbackResource() + const continuationBufferBufCall : KPointer = thisDeserializer.readPointer() + const continuationBufferBufCallSync : KPointer = thisDeserializer.readPointer() + let continuationResult : ((value0: boolean) => void) = (value0: boolean):void => { + const continuationBufferBufArgsSerializer : SerializerBase = SerializerBase.hold(); + continuationBufferBufArgsSerializer.writeInt32(continuationBufferBufResource.resourceId); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCall); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCallSync); + continuationBufferBufArgsSerializer.writeBoolean(value0); + InteropNativeModule._CallCallbackSync(10, 313269291, continuationBufferBufArgsSerializer.asBuffer(), continuationBufferBufArgsSerializer.length()); + continuationBufferBufArgsSerializer.release(); + return; + } + const _callResult = _call(value0) + continuationResult(_callResult) +} +export function deserializeAndCallCallback_OnConsoleEvent_Boolean(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnConsoleEvent) => boolean)) + let value0 : OnConsoleEvent = OnConsoleEvent_serializer.read(thisDeserializer) + const continuationBufferBufResource : CallbackResource = thisDeserializer.readCallbackResource() + const continuationBufferBufCall : KPointer = thisDeserializer.readPointer() + const continuationBufferBufCallSync : KPointer = thisDeserializer.readPointer() + let continuationResult : ((value0: boolean) => void) = (value0: boolean):void => { + const continuationBufferBufArgsSerializer : SerializerBase = SerializerBase.hold(); + continuationBufferBufArgsSerializer.writeInt32(continuationBufferBufResource.resourceId); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCall); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCallSync); + continuationBufferBufArgsSerializer.writeBoolean(value0); + InteropNativeModule._CallCallbackSync(10, 313269291, continuationBufferBufArgsSerializer.asBuffer(), continuationBufferBufArgsSerializer.length()); + continuationBufferBufArgsSerializer.release(); + return; + } + const _callResult = _call(value0) + continuationResult(_callResult) +} +export function deserializeAndCallCallback_OnContextMenuShowEvent_Boolean(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnContextMenuShowEvent) => boolean)) + let value0 : OnContextMenuShowEvent = OnContextMenuShowEvent_serializer.read(thisDeserializer) + const continuationBufferBufResource : CallbackResource = thisDeserializer.readCallbackResource() + const continuationBufferBufCall : KPointer = thisDeserializer.readPointer() + const continuationBufferBufCallSync : KPointer = thisDeserializer.readPointer() + let continuationResult : ((value0: boolean) => void) = (value0: boolean):void => { + const continuationBufferBufArgsSerializer : SerializerBase = SerializerBase.hold(); + continuationBufferBufArgsSerializer.writeInt32(continuationBufferBufResource.resourceId); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCall); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCallSync); + continuationBufferBufArgsSerializer.writeBoolean(value0); + InteropNativeModule._CallCallbackSync(10, 313269291, continuationBufferBufArgsSerializer.asBuffer(), continuationBufferBufArgsSerializer.length()); + continuationBufferBufArgsSerializer.release(); + return; + } + const _callResult = _call(value0) + continuationResult(_callResult) +} +export function deserializeAndCallCallback_OnDataResubmittedEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnDataResubmittedEvent) => void)) + let value0 : OnDataResubmittedEvent = OnDataResubmittedEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnDownloadStartEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnDownloadStartEvent) => void)) + let value0 : OnDownloadStartEvent = OnDownloadStartEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnErrorReceiveEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnErrorReceiveEvent) => void)) + let value0 : OnErrorReceiveEvent = OnErrorReceiveEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnFaviconReceivedEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnFaviconReceivedEvent) => void)) + let value0 : OnFaviconReceivedEvent = OnFaviconReceivedEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnFirstContentfulPaintEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnFirstContentfulPaintEvent) => void)) + let value0 : OnFirstContentfulPaintEvent = OnFirstContentfulPaintEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnGeolocationShowEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnGeolocationShowEvent) => void)) + let value0 : OnGeolocationShowEvent = OnGeolocationShowEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnHttpAuthRequestEvent_Boolean(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnHttpAuthRequestEvent) => boolean)) + let value0 : OnHttpAuthRequestEvent = OnHttpAuthRequestEvent_serializer.read(thisDeserializer) + const continuationBufferBufResource : CallbackResource = thisDeserializer.readCallbackResource() + const continuationBufferBufCall : KPointer = thisDeserializer.readPointer() + const continuationBufferBufCallSync : KPointer = thisDeserializer.readPointer() + let continuationResult : ((value0: boolean) => void) = (value0: boolean):void => { + const continuationBufferBufArgsSerializer : SerializerBase = SerializerBase.hold(); + continuationBufferBufArgsSerializer.writeInt32(continuationBufferBufResource.resourceId); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCall); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCallSync); + continuationBufferBufArgsSerializer.writeBoolean(value0); + InteropNativeModule._CallCallbackSync(10, 313269291, continuationBufferBufArgsSerializer.asBuffer(), continuationBufferBufArgsSerializer.length()); + continuationBufferBufArgsSerializer.release(); + return; + } + const _callResult = _call(value0) + continuationResult(_callResult) +} +export function deserializeAndCallCallback_OnHttpErrorReceiveEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnHttpErrorReceiveEvent) => void)) + let value0 : OnHttpErrorReceiveEvent = OnHttpErrorReceiveEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnInterceptRequestEvent_WebResourceResponse(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnInterceptRequestEvent) => WebResourceResponse)) + let value0 : OnInterceptRequestEvent = OnInterceptRequestEvent_serializer.read(thisDeserializer) + const continuationBufferBufResource : CallbackResource = thisDeserializer.readCallbackResource() + const continuationBufferBufCall : KPointer = thisDeserializer.readPointer() + const continuationBufferBufCallSync : KPointer = thisDeserializer.readPointer() + let continuationResult : ((value: WebResourceResponse) => void) = (value: WebResourceResponse):void => { + const continuationBufferBufArgsSerializer : SerializerBase = SerializerBase.hold(); + continuationBufferBufArgsSerializer.writeInt32(continuationBufferBufResource.resourceId); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCall); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCallSync); + WebResourceResponse_serializer.write(continuationBufferBufArgsSerializer, value); + InteropNativeModule._CallCallbackSync(10, 831645046, continuationBufferBufArgsSerializer.asBuffer(), continuationBufferBufArgsSerializer.length()); + continuationBufferBufArgsSerializer.release(); + return; + } + const _callResult = _call(value0) + continuationResult(_callResult) +} +export function deserializeAndCallCallback_OnLoadInterceptEvent_Boolean(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnLoadInterceptEvent) => boolean)) + let value0 : OnLoadInterceptEvent = OnLoadInterceptEvent_serializer.read(thisDeserializer) + const continuationBufferBufResource : CallbackResource = thisDeserializer.readCallbackResource() + const continuationBufferBufCall : KPointer = thisDeserializer.readPointer() + const continuationBufferBufCallSync : KPointer = thisDeserializer.readPointer() + let continuationResult : ((value0: boolean) => void) = (value0: boolean):void => { + const continuationBufferBufArgsSerializer : SerializerBase = SerializerBase.hold(); + continuationBufferBufArgsSerializer.writeInt32(continuationBufferBufResource.resourceId); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCall); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCallSync); + continuationBufferBufArgsSerializer.writeBoolean(value0); + InteropNativeModule._CallCallbackSync(10, 313269291, continuationBufferBufArgsSerializer.asBuffer(), continuationBufferBufArgsSerializer.length()); + continuationBufferBufArgsSerializer.release(); + return; + } + const _callResult = _call(value0) + continuationResult(_callResult) +} export function deserializeAndCallCallback_onMeasureSize_SizeResult(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as Callback_onMeasureSize_SizeResult) @@ -876,6 +1113,36 @@ export function deserializeAndCallCallback_onMeasureSize_SizeResult(thisDeserial const _callResult = _call(selfLayoutInfo, children, constraint) continuationResult(_callResult) } +export function deserializeAndCallCallback_OnOverScrollEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnOverScrollEvent) => void)) + let value0 : OnOverScrollEvent = OnOverScrollEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnPageBeginEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnPageBeginEvent) => void)) + let value0 : OnPageBeginEvent = OnPageBeginEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnPageEndEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnPageEndEvent) => void)) + let value0 : OnPageEndEvent = OnPageEndEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnPageVisibleEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnPageVisibleEvent) => void)) + let value0 : OnPageVisibleEvent = OnPageVisibleEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnPermissionRequestEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnPermissionRequestEvent) => void)) + let value0 : OnPermissionRequestEvent = OnPermissionRequestEvent_serializer.read(thisDeserializer) + _call(value0) +} export function deserializeAndCallCallback_onPlaceChildren_Void(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as Callback_onPlaceChildren_Void) @@ -889,12 +1156,124 @@ export function deserializeAndCallCallback_onPlaceChildren_Void(thisDeserializer let constraint : ConstraintSizeOptions = ConstraintSizeOptions_serializer.read(thisDeserializer) _call(selfLayoutInfo, children, constraint) } +export function deserializeAndCallCallback_OnProgressChangeEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnProgressChangeEvent) => void)) + let value0 : OnProgressChangeEvent = OnProgressChangeEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnPromptEvent_Boolean(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnPromptEvent) => boolean)) + let value0 : OnPromptEvent = OnPromptEvent_serializer.read(thisDeserializer) + const continuationBufferBufResource : CallbackResource = thisDeserializer.readCallbackResource() + const continuationBufferBufCall : KPointer = thisDeserializer.readPointer() + const continuationBufferBufCallSync : KPointer = thisDeserializer.readPointer() + let continuationResult : ((value0: boolean) => void) = (value0: boolean):void => { + const continuationBufferBufArgsSerializer : SerializerBase = SerializerBase.hold(); + continuationBufferBufArgsSerializer.writeInt32(continuationBufferBufResource.resourceId); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCall); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCallSync); + continuationBufferBufArgsSerializer.writeBoolean(value0); + InteropNativeModule._CallCallbackSync(10, 313269291, continuationBufferBufArgsSerializer.asBuffer(), continuationBufferBufArgsSerializer.length()); + continuationBufferBufArgsSerializer.release(); + return; + } + const _callResult = _call(value0) + continuationResult(_callResult) +} +export function deserializeAndCallCallback_OnRefreshAccessedHistoryEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnRefreshAccessedHistoryEvent) => void)) + let value0 : OnRefreshAccessedHistoryEvent = OnRefreshAccessedHistoryEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnRenderExitedEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnRenderExitedEvent) => void)) + let value0 : OnRenderExitedEvent = OnRenderExitedEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnResourceLoadEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnResourceLoadEvent) => void)) + let value0 : OnResourceLoadEvent = OnResourceLoadEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnScaleChangeEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnScaleChangeEvent) => void)) + let value0 : OnScaleChangeEvent = OnScaleChangeEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnScreenCaptureRequestEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnScreenCaptureRequestEvent) => void)) + let value0 : OnScreenCaptureRequestEvent = OnScreenCaptureRequestEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnScrollEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnScrollEvent) => void)) + let value0 : OnScrollEvent = OnScrollEvent_serializer.read(thisDeserializer) + _call(value0) +} export function deserializeAndCallCallback_OnScrollFrameBeginHandlerResult_Void(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: OnScrollFrameBeginHandlerResult) => void)) let value : OnScrollFrameBeginHandlerResult = OnScrollFrameBeginHandlerResult_serializer.read(thisDeserializer) _call(value) } +export function deserializeAndCallCallback_OnSearchResultReceiveEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnSearchResultReceiveEvent) => void)) + let value0 : OnSearchResultReceiveEvent = OnSearchResultReceiveEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnShowFileSelectorEvent_Boolean(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnShowFileSelectorEvent) => boolean)) + let value0 : OnShowFileSelectorEvent = OnShowFileSelectorEvent_serializer.read(thisDeserializer) + const continuationBufferBufResource : CallbackResource = thisDeserializer.readCallbackResource() + const continuationBufferBufCall : KPointer = thisDeserializer.readPointer() + const continuationBufferBufCallSync : KPointer = thisDeserializer.readPointer() + let continuationResult : ((value0: boolean) => void) = (value0: boolean):void => { + const continuationBufferBufArgsSerializer : SerializerBase = SerializerBase.hold(); + continuationBufferBufArgsSerializer.writeInt32(continuationBufferBufResource.resourceId); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCall); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCallSync); + continuationBufferBufArgsSerializer.writeBoolean(value0); + InteropNativeModule._CallCallbackSync(10, 313269291, continuationBufferBufArgsSerializer.asBuffer(), continuationBufferBufArgsSerializer.length()); + continuationBufferBufArgsSerializer.release(); + return; + } + const _callResult = _call(value0) + continuationResult(_callResult) +} +export function deserializeAndCallCallback_OnSslErrorEventReceiveEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnSslErrorEventReceiveEvent) => void)) + let value0 : OnSslErrorEventReceiveEvent = OnSslErrorEventReceiveEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnTitleReceiveEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnTitleReceiveEvent) => void)) + let value0 : OnTitleReceiveEvent = OnTitleReceiveEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnTouchIconUrlReceivedEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnTouchIconUrlReceivedEvent) => void)) + let value0 : OnTouchIconUrlReceivedEvent = OnTouchIconUrlReceivedEvent_serializer.read(thisDeserializer) + _call(value0) +} +export function deserializeAndCallCallback_OnWindowNewEvent_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value0: OnWindowNewEvent) => void)) + let value0 : OnWindowNewEvent = OnWindowNewEvent_serializer.read(thisDeserializer) + _call(value0) +} export function deserializeAndCallCallback_Opt_Array_FontDescriptor_Opt_Array_String_Void(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value?: Array | undefined,error?: Array | undefined) => void)) @@ -1633,6 +2012,18 @@ export function deserializeAndCallCallback_Void(thisDeserializer: DeserializerBa const _call = (ResourceHolder.instance().get(_resourceId) as (() => void)) _call() } +export function deserializeAndCallCallback_WebKeyboardOptions_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value: WebKeyboardOptions) => void)) + let value : WebKeyboardOptions = WebKeyboardOptions_serializer.read(thisDeserializer) + _call(value) +} +export function deserializeAndCallCallback_WebResourceResponse_Void(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value: WebResourceResponse) => void)) + let value : WebResourceResponse = (WebResourceResponse_serializer.read(thisDeserializer) as WebResourceResponse) + _call(value) +} export function deserializeAndCallCheckBoxModifierBuilder(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parentNode: KPointer,config: CheckBoxConfiguration) => KPointer)) @@ -2002,6 +2393,12 @@ export function deserializeAndCallNavExtender_OnUpdateStack(thisDeserializer: De const _call = (ResourceHolder.instance().get(_resourceId) as NavExtender_OnUpdateStack) _call() } +export function deserializeAndCallOnAdsBlockedCallback(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnAdsBlockedCallback) + let details : AdsBlockedDetails = AdsBlockedDetails_serializer.read(thisDeserializer) + _call(details) +} export function deserializeAndCallOnAlphabetIndexerPopupSelectCallback(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnAlphabetIndexerPopupSelectCallback) @@ -2057,6 +2454,11 @@ export function deserializeAndCallOnContentScrollCallback(thisDeserializer: Dese let totalOffsetY : number = (thisDeserializer.readNumber() as number) _call(totalOffsetX, totalOffsetY) } +export function deserializeAndCallOnContextMenuHideCallback(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnContextMenuHideCallback) + _call() +} export function deserializeAndCallOnCreateMenuCallback(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnCreateMenuCallback) @@ -2105,12 +2507,24 @@ export function deserializeAndCallOnDragEventCallback(thisDeserializer: Deserial let extraParams : string | undefined = extraParamsTmpBuf _call(event, extraParams) } +export function deserializeAndCallOnFirstMeaningfulPaintCallback(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnFirstMeaningfulPaintCallback) + let firstMeaningfulPaint : FirstMeaningfulPaint = FirstMeaningfulPaint_serializer.read(thisDeserializer) + _call(firstMeaningfulPaint) +} export function deserializeAndCallOnFoldStatusChangeCallback(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnFoldStatusChangeCallback) let event : OnFoldStatusChangeInfo = OnFoldStatusChangeInfo_serializer.read(thisDeserializer) _call(event) } +export function deserializeAndCallOnFullScreenEnterCallback(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnFullScreenEnterCallback) + let event : FullScreenEnterEvent = FullScreenEnterEvent_serializer.read(thisDeserializer) + _call(event) +} export function deserializeAndCallOnHoverCallback(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnHoverCallback) @@ -2124,6 +2538,12 @@ export function deserializeAndCallOnHoverStatusChangeCallback(thisDeserializer: let param : HoverEventParam = HoverEventParam_serializer.read(thisDeserializer) _call(param) } +export function deserializeAndCallOnIntelligentTrackingPreventionCallback(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnIntelligentTrackingPreventionCallback) + let details : IntelligentTrackingPreventionDetails = IntelligentTrackingPreventionDetails_serializer.read(thisDeserializer) + _call(details) +} export function deserializeAndCallOnItemDragStartCallback(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnItemDragStartCallback) @@ -2151,11 +2571,11 @@ export function deserializeAndCallOnItemDragStartCallback(thisDeserializer: Dese const _callResult = _call(event, itemIndex) continuationResult(_callResult) } -export function deserializeAndCallOnLazyLoadingFunc(thisDeserializer: DeserializerBase): void { +export function deserializeAndCallOnLargestContentfulPaintCallback(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as OnLazyLoadingFunc) - let index : number = (thisDeserializer.readNumber() as number) - _call(index) + const _call = (ResourceHolder.instance().get(_resourceId) as OnLargestContentfulPaintCallback) + let largestContentfulPaint : LargestContentfulPaint = LargestContentfulPaint_serializer.read(thisDeserializer) + _call(largestContentfulPaint) } export function deserializeAndCallOnLinearIndicatorChangeCallback(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() @@ -2192,16 +2612,37 @@ export function deserializeAndCallOnMoveHandler(thisDeserializer: DeserializerBa let to : number = (thisDeserializer.readNumber() as number) _call(from, to) } -export function deserializeAndCallOnNativeLoadCallback(thisDeserializer: DeserializerBase): void { +export function deserializeAndCallOnNativeEmbedVisibilityChangeCallback(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as OnNativeLoadCallback) - const eventTmpBuf_runtimeType = thisDeserializer.readInt8().toInt() - let eventTmpBuf : Object | undefined - if ((eventTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { - eventTmpBuf = (thisDeserializer.readObject() as object) + const _call = (ResourceHolder.instance().get(_resourceId) as OnNativeEmbedVisibilityChangeCallback) + let nativeEmbedVisibilityInfo : NativeEmbedVisibilityInfo = NativeEmbedVisibilityInfo_serializer.read(thisDeserializer) + _call(nativeEmbedVisibilityInfo) +} +export function deserializeAndCallOnNavigationEntryCommittedCallback(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnNavigationEntryCommittedCallback) + let loadCommittedDetails : LoadCommittedDetails = LoadCommittedDetails_serializer.read(thisDeserializer) + _call(loadCommittedDetails) +} +export function deserializeAndCallOnOverrideUrlLoadingCallback(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnOverrideUrlLoadingCallback) + let webResourceRequest : WebResourceRequest = (WebResourceRequest_serializer.read(thisDeserializer) as WebResourceRequest) + const continuationBufferBufResource : CallbackResource = thisDeserializer.readCallbackResource() + const continuationBufferBufCall : KPointer = thisDeserializer.readPointer() + const continuationBufferBufCallSync : KPointer = thisDeserializer.readPointer() + let continuationResult : ((value0: boolean) => void) = (value0: boolean):void => { + const continuationBufferBufArgsSerializer : SerializerBase = SerializerBase.hold(); + continuationBufferBufArgsSerializer.writeInt32(continuationBufferBufResource.resourceId); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCall); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCallSync); + continuationBufferBufArgsSerializer.writeBoolean(value0); + InteropNativeModule._CallCallbackSync(10, 313269291, continuationBufferBufArgsSerializer.asBuffer(), continuationBufferBufArgsSerializer.length()); + continuationBufferBufArgsSerializer.release(); + return; } - let event : Object | undefined = eventTmpBuf - _call(event) + const _callResult = _call(webResourceRequest) + continuationResult(_callResult) } export function deserializeAndCallOnPasteCallback(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() @@ -2222,6 +2663,23 @@ export function deserializeAndCallOnRatingChangeCallback(thisDeserializer: Deser let rating : number = (thisDeserializer.readNumber() as number) _call(rating) } +export function deserializeAndCallOnRenderProcessNotRespondingCallback(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnRenderProcessNotRespondingCallback) + let data : RenderProcessNotRespondingData = RenderProcessNotRespondingData_serializer.read(thisDeserializer) + _call(data) +} +export function deserializeAndCallOnRenderProcessRespondingCallback(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnRenderProcessRespondingCallback) + _call() +} +export function deserializeAndCallOnSafeBrowsingCheckResultCallback(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnSafeBrowsingCheckResultCallback) + let threatType : ThreatType = TypeChecker.ThreatType_FromNumeric(thisDeserializer.readInt32()) + _call(threatType) +} export function deserializeAndCallOnScrollCallback(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnScrollCallback) @@ -2270,6 +2728,12 @@ export function deserializeAndCallOnSelectCallback(thisDeserializer: Deserialize let selectStr : string = (thisDeserializer.readString() as string) _call(index, selectStr) } +export function deserializeAndCallOnSslErrorEventCallback(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnSslErrorEventCallback) + let sslErrorEvent : SslErrorEvent = SslErrorEvent_serializer.read(thisDeserializer) + _call(sslErrorEvent) +} export function deserializeAndCallOnSubmitCallback(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnSubmitCallback) @@ -2390,24 +2854,11 @@ export function deserializeAndCallOnTimePickerChangeCallback(thisDeserializer: D let result : TimePickerResult = TimePickerResult_serializer.read(thisDeserializer) _call(result) } -export function deserializeAndCallOnTotalCountFunc(thisDeserializer: DeserializerBase): void { +export function deserializeAndCallOnViewportFitChangedCallback(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as OnTotalCountFunc) - const continuationBufferBufResource : CallbackResource = thisDeserializer.readCallbackResource() - const continuationBufferBufCall : KPointer = thisDeserializer.readPointer() - const continuationBufferBufCallSync : KPointer = thisDeserializer.readPointer() - let continuationResult : ((value: number) => void) = (value: number):void => { - const continuationBufferBufArgsSerializer : SerializerBase = SerializerBase.hold(); - continuationBufferBufArgsSerializer.writeInt32(continuationBufferBufResource.resourceId); - continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCall); - continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCallSync); - continuationBufferBufArgsSerializer.writeNumber(value); - InteropNativeModule._CallCallbackSync(10, 36519084, continuationBufferBufArgsSerializer.asBuffer(), continuationBufferBufArgsSerializer.length()); - continuationBufferBufArgsSerializer.release(); - return; - } - const _callResult = _call() - continuationResult(_callResult) + const _call = (ResourceHolder.instance().get(_resourceId) as OnViewportFitChangedCallback) + let viewportFit : ViewportFit = TypeChecker.ViewportFit_FromNumeric(thisDeserializer.readInt32()) + _call(viewportFit) } export function deserializeAndCallOnWillScrollCallback(thisDeserializer: DeserializerBase): void { const _resourceId : int32 = thisDeserializer.readInt32() @@ -3015,6 +3466,32 @@ export function deserializeAndCallVoidCallback(thisDeserializer: DeserializerBas const _call = (ResourceHolder.instance().get(_resourceId) as VoidCallback) _call() } +export function deserializeAndCallWebKeyboardCallback(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as WebKeyboardCallback) + let keyboardCallbackInfo : WebKeyboardCallbackInfo = WebKeyboardCallbackInfo_serializer.read(thisDeserializer) + const continuationBufferBufResource : CallbackResource = thisDeserializer.readCallbackResource() + const continuationBufferBufCall : KPointer = thisDeserializer.readPointer() + const continuationBufferBufCallSync : KPointer = thisDeserializer.readPointer() + let continuationResult : ((value: WebKeyboardOptions) => void) = (value: WebKeyboardOptions):void => { + const continuationBufferBufArgsSerializer : SerializerBase = SerializerBase.hold(); + continuationBufferBufArgsSerializer.writeInt32(continuationBufferBufResource.resourceId); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCall); + continuationBufferBufArgsSerializer.writePointer(continuationBufferBufCallSync); + WebKeyboardOptions_serializer.write(continuationBufferBufArgsSerializer, value); + InteropNativeModule._CallCallbackSync(10, -1376223390, continuationBufferBufArgsSerializer.asBuffer(), continuationBufferBufArgsSerializer.length()); + continuationBufferBufArgsSerializer.release(); + return; + } + const _callResult = _call(keyboardCallbackInfo) + continuationResult(_callResult) +} +export function deserializeAndCallWorkerEventListener(thisDeserializer: DeserializerBase): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as WorkerEventListener) + let event : Event = Event_serializer.read(thisDeserializer) + _call(event) +} export function deserializeAndCallCallback(thisDeserializer: DeserializerBase): void { const kind : int32 = thisDeserializer.readInt32() switch ((kind as CallbackKind)) { @@ -3076,9 +3553,12 @@ export function deserializeAndCallCallback(thisDeserializer: DeserializerBase): case CallbackKind.Kind_Callback_ItemDragInfo_Void: return deserializeAndCallCallback_ItemDragInfo_Void(thisDeserializer); case CallbackKind.Kind_Callback_KeyEvent_Boolean: return deserializeAndCallCallback_KeyEvent_Boolean(thisDeserializer); case CallbackKind.Kind_Callback_KeyEvent_Void: return deserializeAndCallCallback_KeyEvent_Void(thisDeserializer); - case CallbackKind.Kind_Callback_Map_String_Object_Void: return deserializeAndCallCallback_Map_String_Object_Void(thisDeserializer); + case CallbackKind.Kind_Callback_Map_String_RecordData_Void: return deserializeAndCallCallback_Map_String_RecordData_Void(thisDeserializer); case CallbackKind.Kind_Callback_MarqueeState_Void: return deserializeAndCallCallback_MarqueeState_Void(thisDeserializer); case CallbackKind.Kind_Callback_MouseEvent_Void: return deserializeAndCallCallback_MouseEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_NativeEmbedDataInfo_Void: return deserializeAndCallCallback_NativeEmbedDataInfo_Void(thisDeserializer); + case CallbackKind.Kind_Callback_NativeEmbedTouchInfo_Void: return deserializeAndCallCallback_NativeEmbedTouchInfo_Void(thisDeserializer); + case CallbackKind.Kind_Callback_NativeXComponentPointer_Void: return deserializeAndCallCallback_NativeXComponentPointer_Void(thisDeserializer); case CallbackKind.Kind_Callback_NavDestinationActiveReason_Void: return deserializeAndCallCallback_NavDestinationActiveReason_Void(thisDeserializer); case CallbackKind.Kind_Callback_NavDestinationContext_Void: return deserializeAndCallCallback_NavDestinationContext_Void(thisDeserializer); case CallbackKind.Kind_Callback_NavDestinationInfo_Void: return deserializeAndCallCallback_NavDestinationInfo_Void(thisDeserializer); @@ -3097,9 +3577,45 @@ export function deserializeAndCallCallback(thisDeserializer: DeserializerBase): case CallbackKind.Kind_Callback_Number_Tuple_Number_Number_Number_Number: return deserializeAndCallCallback_Number_Tuple_Number_Number_Number_Number(thisDeserializer); case CallbackKind.Kind_Callback_Number_Void: return deserializeAndCallCallback_Number_Void(thisDeserializer); case CallbackKind.Kind_Callback_Object_Void: return deserializeAndCallCallback_Object_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnAlertEvent_Boolean: return deserializeAndCallCallback_OnAlertEvent_Boolean(thisDeserializer); + case CallbackKind.Kind_Callback_OnAudioStateChangedEvent_Void: return deserializeAndCallCallback_OnAudioStateChangedEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnBeforeUnloadEvent_Boolean: return deserializeAndCallCallback_OnBeforeUnloadEvent_Boolean(thisDeserializer); + case CallbackKind.Kind_Callback_OnClientAuthenticationEvent_Void: return deserializeAndCallCallback_OnClientAuthenticationEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnConfirmEvent_Boolean: return deserializeAndCallCallback_OnConfirmEvent_Boolean(thisDeserializer); + case CallbackKind.Kind_Callback_OnConsoleEvent_Boolean: return deserializeAndCallCallback_OnConsoleEvent_Boolean(thisDeserializer); + case CallbackKind.Kind_Callback_OnContextMenuShowEvent_Boolean: return deserializeAndCallCallback_OnContextMenuShowEvent_Boolean(thisDeserializer); + case CallbackKind.Kind_Callback_OnDataResubmittedEvent_Void: return deserializeAndCallCallback_OnDataResubmittedEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnDownloadStartEvent_Void: return deserializeAndCallCallback_OnDownloadStartEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnErrorReceiveEvent_Void: return deserializeAndCallCallback_OnErrorReceiveEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnFaviconReceivedEvent_Void: return deserializeAndCallCallback_OnFaviconReceivedEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnFirstContentfulPaintEvent_Void: return deserializeAndCallCallback_OnFirstContentfulPaintEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnGeolocationShowEvent_Void: return deserializeAndCallCallback_OnGeolocationShowEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnHttpAuthRequestEvent_Boolean: return deserializeAndCallCallback_OnHttpAuthRequestEvent_Boolean(thisDeserializer); + case CallbackKind.Kind_Callback_OnHttpErrorReceiveEvent_Void: return deserializeAndCallCallback_OnHttpErrorReceiveEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnInterceptRequestEvent_WebResourceResponse: return deserializeAndCallCallback_OnInterceptRequestEvent_WebResourceResponse(thisDeserializer); + case CallbackKind.Kind_Callback_OnLoadInterceptEvent_Boolean: return deserializeAndCallCallback_OnLoadInterceptEvent_Boolean(thisDeserializer); case CallbackKind.Kind_Callback_onMeasureSize_SizeResult: return deserializeAndCallCallback_onMeasureSize_SizeResult(thisDeserializer); + case CallbackKind.Kind_Callback_OnOverScrollEvent_Void: return deserializeAndCallCallback_OnOverScrollEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnPageBeginEvent_Void: return deserializeAndCallCallback_OnPageBeginEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnPageEndEvent_Void: return deserializeAndCallCallback_OnPageEndEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnPageVisibleEvent_Void: return deserializeAndCallCallback_OnPageVisibleEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnPermissionRequestEvent_Void: return deserializeAndCallCallback_OnPermissionRequestEvent_Void(thisDeserializer); case CallbackKind.Kind_Callback_onPlaceChildren_Void: return deserializeAndCallCallback_onPlaceChildren_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnProgressChangeEvent_Void: return deserializeAndCallCallback_OnProgressChangeEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnPromptEvent_Boolean: return deserializeAndCallCallback_OnPromptEvent_Boolean(thisDeserializer); + case CallbackKind.Kind_Callback_OnRefreshAccessedHistoryEvent_Void: return deserializeAndCallCallback_OnRefreshAccessedHistoryEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnRenderExitedEvent_Void: return deserializeAndCallCallback_OnRenderExitedEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnResourceLoadEvent_Void: return deserializeAndCallCallback_OnResourceLoadEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnScaleChangeEvent_Void: return deserializeAndCallCallback_OnScaleChangeEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnScreenCaptureRequestEvent_Void: return deserializeAndCallCallback_OnScreenCaptureRequestEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnScrollEvent_Void: return deserializeAndCallCallback_OnScrollEvent_Void(thisDeserializer); case CallbackKind.Kind_Callback_OnScrollFrameBeginHandlerResult_Void: return deserializeAndCallCallback_OnScrollFrameBeginHandlerResult_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnSearchResultReceiveEvent_Void: return deserializeAndCallCallback_OnSearchResultReceiveEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnShowFileSelectorEvent_Boolean: return deserializeAndCallCallback_OnShowFileSelectorEvent_Boolean(thisDeserializer); + case CallbackKind.Kind_Callback_OnSslErrorEventReceiveEvent_Void: return deserializeAndCallCallback_OnSslErrorEventReceiveEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnTitleReceiveEvent_Void: return deserializeAndCallCallback_OnTitleReceiveEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnTouchIconUrlReceivedEvent_Void: return deserializeAndCallCallback_OnTouchIconUrlReceivedEvent_Void(thisDeserializer); + case CallbackKind.Kind_Callback_OnWindowNewEvent_Void: return deserializeAndCallCallback_OnWindowNewEvent_Void(thisDeserializer); case CallbackKind.Kind_Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void: return deserializeAndCallCallback_Opt_Array_FontDescriptor_Opt_Array_String_Void(thisDeserializer); case CallbackKind.Kind_Callback_Opt_Array_NavDestinationTransition_Void: return deserializeAndCallCallback_Opt_Array_NavDestinationTransition_Void(thisDeserializer); case CallbackKind.Kind_Callback_Opt_Array_String_Opt_Array_String_Void: return deserializeAndCallCallback_Opt_Array_String_Opt_Array_String_Void(thisDeserializer); @@ -3168,6 +3684,8 @@ export function deserializeAndCallCallback(thisDeserializer: DeserializerBase): case CallbackKind.Kind_Callback_Union_CustomBuilder_DragItemInfo_Void: return deserializeAndCallCallback_Union_CustomBuilder_DragItemInfo_Void(thisDeserializer); case CallbackKind.Kind_Callback_Union_Object_Undefined_Void: return deserializeAndCallCallback_Union_Object_Undefined_Void(thisDeserializer); case CallbackKind.Kind_Callback_Void: return deserializeAndCallCallback_Void(thisDeserializer); + case CallbackKind.Kind_Callback_WebKeyboardOptions_Void: return deserializeAndCallCallback_WebKeyboardOptions_Void(thisDeserializer); + case CallbackKind.Kind_Callback_WebResourceResponse_Void: return deserializeAndCallCallback_WebResourceResponse_Void(thisDeserializer); case CallbackKind.Kind_CheckBoxModifierBuilder: return deserializeAndCallCheckBoxModifierBuilder(thisDeserializer); case CallbackKind.Kind_ContentDidScrollCallback: return deserializeAndCallContentDidScrollCallback(thisDeserializer); case CallbackKind.Kind_ContentWillScrollCallback: return deserializeAndCallContentWillScrollCallback(thisDeserializer); @@ -3192,32 +3710,43 @@ export function deserializeAndCallCallback(thisDeserializer: DeserializerBase): case CallbackKind.Kind_ModifierKeyStateGetter: return deserializeAndCallModifierKeyStateGetter(thisDeserializer); case CallbackKind.Kind_NavDestinationTransitionDelegate: return deserializeAndCallNavDestinationTransitionDelegate(thisDeserializer); case CallbackKind.Kind_NavExtender_OnUpdateStack: return deserializeAndCallNavExtender_OnUpdateStack(thisDeserializer); + case CallbackKind.Kind_OnAdsBlockedCallback: return deserializeAndCallOnAdsBlockedCallback(thisDeserializer); case CallbackKind.Kind_OnAlphabetIndexerPopupSelectCallback: return deserializeAndCallOnAlphabetIndexerPopupSelectCallback(thisDeserializer); case CallbackKind.Kind_OnAlphabetIndexerRequestPopupDataCallback: return deserializeAndCallOnAlphabetIndexerRequestPopupDataCallback(thisDeserializer); case CallbackKind.Kind_OnAlphabetIndexerSelectCallback: return deserializeAndCallOnAlphabetIndexerSelectCallback(thisDeserializer); case CallbackKind.Kind_OnCheckboxChangeCallback: return deserializeAndCallOnCheckboxChangeCallback(thisDeserializer); case CallbackKind.Kind_OnCheckboxGroupChangeCallback: return deserializeAndCallOnCheckboxGroupChangeCallback(thisDeserializer); case CallbackKind.Kind_OnContentScrollCallback: return deserializeAndCallOnContentScrollCallback(thisDeserializer); + case CallbackKind.Kind_OnContextMenuHideCallback: return deserializeAndCallOnContextMenuHideCallback(thisDeserializer); case CallbackKind.Kind_OnCreateMenuCallback: return deserializeAndCallOnCreateMenuCallback(thisDeserializer); case CallbackKind.Kind_OnDidChangeCallback: return deserializeAndCallOnDidChangeCallback(thisDeserializer); case CallbackKind.Kind_OnDragEventCallback: return deserializeAndCallOnDragEventCallback(thisDeserializer); + case CallbackKind.Kind_OnFirstMeaningfulPaintCallback: return deserializeAndCallOnFirstMeaningfulPaintCallback(thisDeserializer); case CallbackKind.Kind_OnFoldStatusChangeCallback: return deserializeAndCallOnFoldStatusChangeCallback(thisDeserializer); + case CallbackKind.Kind_OnFullScreenEnterCallback: return deserializeAndCallOnFullScreenEnterCallback(thisDeserializer); case CallbackKind.Kind_OnHoverCallback: return deserializeAndCallOnHoverCallback(thisDeserializer); case CallbackKind.Kind_OnHoverStatusChangeCallback: return deserializeAndCallOnHoverStatusChangeCallback(thisDeserializer); + case CallbackKind.Kind_OnIntelligentTrackingPreventionCallback: return deserializeAndCallOnIntelligentTrackingPreventionCallback(thisDeserializer); case CallbackKind.Kind_OnItemDragStartCallback: return deserializeAndCallOnItemDragStartCallback(thisDeserializer); - case CallbackKind.Kind_OnLazyLoadingFunc: return deserializeAndCallOnLazyLoadingFunc(thisDeserializer); + case CallbackKind.Kind_OnLargestContentfulPaintCallback: return deserializeAndCallOnLargestContentfulPaintCallback(thisDeserializer); case CallbackKind.Kind_OnLinearIndicatorChangeCallback: return deserializeAndCallOnLinearIndicatorChangeCallback(thisDeserializer); case CallbackKind.Kind_OnMenuItemClickCallback: return deserializeAndCallOnMenuItemClickCallback(thisDeserializer); case CallbackKind.Kind_OnMoveHandler: return deserializeAndCallOnMoveHandler(thisDeserializer); - case CallbackKind.Kind_OnNativeLoadCallback: return deserializeAndCallOnNativeLoadCallback(thisDeserializer); + case CallbackKind.Kind_OnNativeEmbedVisibilityChangeCallback: return deserializeAndCallOnNativeEmbedVisibilityChangeCallback(thisDeserializer); + case CallbackKind.Kind_OnNavigationEntryCommittedCallback: return deserializeAndCallOnNavigationEntryCommittedCallback(thisDeserializer); + case CallbackKind.Kind_OnOverrideUrlLoadingCallback: return deserializeAndCallOnOverrideUrlLoadingCallback(thisDeserializer); case CallbackKind.Kind_OnPasteCallback: return deserializeAndCallOnPasteCallback(thisDeserializer); case CallbackKind.Kind_OnRadioChangeCallback: return deserializeAndCallOnRadioChangeCallback(thisDeserializer); case CallbackKind.Kind_OnRatingChangeCallback: return deserializeAndCallOnRatingChangeCallback(thisDeserializer); + case CallbackKind.Kind_OnRenderProcessNotRespondingCallback: return deserializeAndCallOnRenderProcessNotRespondingCallback(thisDeserializer); + case CallbackKind.Kind_OnRenderProcessRespondingCallback: return deserializeAndCallOnRenderProcessRespondingCallback(thisDeserializer); + case CallbackKind.Kind_OnSafeBrowsingCheckResultCallback: return deserializeAndCallOnSafeBrowsingCheckResultCallback(thisDeserializer); case CallbackKind.Kind_OnScrollCallback: return deserializeAndCallOnScrollCallback(thisDeserializer); case CallbackKind.Kind_OnScrollEdgeCallback: return deserializeAndCallOnScrollEdgeCallback(thisDeserializer); case CallbackKind.Kind_OnScrollFrameBeginCallback: return deserializeAndCallOnScrollFrameBeginCallback(thisDeserializer); case CallbackKind.Kind_OnScrollVisibleContentChangeCallback: return deserializeAndCallOnScrollVisibleContentChangeCallback(thisDeserializer); case CallbackKind.Kind_OnSelectCallback: return deserializeAndCallOnSelectCallback(thisDeserializer); + case CallbackKind.Kind_OnSslErrorEventCallback: return deserializeAndCallOnSslErrorEventCallback(thisDeserializer); case CallbackKind.Kind_OnSubmitCallback: return deserializeAndCallOnSubmitCallback(thisDeserializer); case CallbackKind.Kind_OnSwiperAnimationEndCallback: return deserializeAndCallOnSwiperAnimationEndCallback(thisDeserializer); case CallbackKind.Kind_OnSwiperAnimationStartCallback: return deserializeAndCallOnSwiperAnimationStartCallback(thisDeserializer); @@ -3229,7 +3758,7 @@ export function deserializeAndCallCallback(thisDeserializer: DeserializerBase): case CallbackKind.Kind_OnTextPickerChangeCallback: return deserializeAndCallOnTextPickerChangeCallback(thisDeserializer); case CallbackKind.Kind_OnTextSelectionChangeCallback: return deserializeAndCallOnTextSelectionChangeCallback(thisDeserializer); case CallbackKind.Kind_OnTimePickerChangeCallback: return deserializeAndCallOnTimePickerChangeCallback(thisDeserializer); - case CallbackKind.Kind_OnTotalCountFunc: return deserializeAndCallOnTotalCountFunc(thisDeserializer); + case CallbackKind.Kind_OnViewportFitChangedCallback: return deserializeAndCallOnViewportFitChangedCallback(thisDeserializer); case CallbackKind.Kind_OnWillScrollCallback: return deserializeAndCallOnWillScrollCallback(thisDeserializer); case CallbackKind.Kind_PageMapBuilder: return deserializeAndCallPageMapBuilder(thisDeserializer); case CallbackKind.Kind_PageTransitionCallback: return deserializeAndCallPageTransitionCallback(thisDeserializer); @@ -3268,6 +3797,8 @@ export function deserializeAndCallCallback(thisDeserializer: DeserializerBase): case CallbackKind.Kind_UpdateTransitionCallback: return deserializeAndCallUpdateTransitionCallback(thisDeserializer); case CallbackKind.Kind_VisibleAreaChangeCallback: return deserializeAndCallVisibleAreaChangeCallback(thisDeserializer); case CallbackKind.Kind_VoidCallback: return deserializeAndCallVoidCallback(thisDeserializer); + case CallbackKind.Kind_WebKeyboardCallback: return deserializeAndCallWebKeyboardCallback(thisDeserializer); + case CallbackKind.Kind_WorkerEventListener: return deserializeAndCallWorkerEventListener(thisDeserializer); } throw new Error("Unknown callback kind") } diff --git a/arkoala-arkts/arkui/generated/framework/peers/CallbackKind.ets b/arkoala-arkts/arkui/generated/framework/peers/CallbackKind.ets index 55a0caeca..d92550943 100644 --- a/arkoala-arkts/arkui/generated/framework/peers/CallbackKind.ets +++ b/arkoala-arkts/arkui/generated/framework/peers/CallbackKind.ets @@ -58,9 +58,12 @@ export enum CallbackKind { Kind_Callback_ItemDragInfo_Void = 137353252, Kind_Callback_KeyEvent_Boolean = -2061548092, Kind_Callback_KeyEvent_Void = 707696468, - Kind_Callback_Map_String_Object_Void = -1146723341, + Kind_Callback_Map_String_RecordData_Void = -1389599429, Kind_Callback_MarqueeState_Void = -716263454, Kind_Callback_MouseEvent_Void = -1382640094, + Kind_Callback_NativeEmbedDataInfo_Void = 477481563, + Kind_Callback_NativeEmbedTouchInfo_Void = -1090303858, + Kind_Callback_NativeXComponentPointer_Void = -141504638, Kind_Callback_NavDestinationActiveReason_Void = 634825762, Kind_Callback_NavDestinationContext_Void = -1642725259, Kind_Callback_NavDestinationInfo_Void = 605007940, @@ -79,9 +82,45 @@ export enum CallbackKind { Kind_Callback_Number_Tuple_Number_Number_Number_Number = 1618565120, Kind_Callback_Number_Void = 36519084, Kind_Callback_Object_Void = -1782529222, + Kind_Callback_OnAlertEvent_Boolean = 806070428, + Kind_Callback_OnAudioStateChangedEvent_Void = -1559789631, + Kind_Callback_OnBeforeUnloadEvent_Boolean = -873162122, + Kind_Callback_OnClientAuthenticationEvent_Void = 608991355, + Kind_Callback_OnConfirmEvent_Boolean = 317864672, + Kind_Callback_OnConsoleEvent_Boolean = 893367077, + Kind_Callback_OnContextMenuShowEvent_Boolean = 332449533, + Kind_Callback_OnDataResubmittedEvent_Void = 118631204, + Kind_Callback_OnDownloadStartEvent_Void = 1834611702, + Kind_Callback_OnErrorReceiveEvent_Void = -1792851375, + Kind_Callback_OnFaviconReceivedEvent_Void = -243916553, + Kind_Callback_OnFirstContentfulPaintEvent_Void = -1852060212, + Kind_Callback_OnGeolocationShowEvent_Void = -941896815, + Kind_Callback_OnHttpAuthRequestEvent_Boolean = 780282803, + Kind_Callback_OnHttpErrorReceiveEvent_Void = -2066745559, + Kind_Callback_OnInterceptRequestEvent_WebResourceResponse = 1442698200, + Kind_Callback_OnLoadInterceptEvent_Boolean = 1231444306, Kind_Callback_onMeasureSize_SizeResult = -1356285653, + Kind_Callback_OnOverScrollEvent_Void = -860386431, + Kind_Callback_OnPageBeginEvent_Void = -2040193994, + Kind_Callback_OnPageEndEvent_Void = -130135362, + Kind_Callback_OnPageVisibleEvent_Void = 1805946367, + Kind_Callback_OnPermissionRequestEvent_Void = 529980696, Kind_Callback_onPlaceChildren_Void = -738620506, + Kind_Callback_OnProgressChangeEvent_Void = 1018740377, + Kind_Callback_OnPromptEvent_Boolean = -1826742986, + Kind_Callback_OnRefreshAccessedHistoryEvent_Void = 1978364344, + Kind_Callback_OnRenderExitedEvent_Void = -1413785559, + Kind_Callback_OnResourceLoadEvent_Void = 793995118, + Kind_Callback_OnScaleChangeEvent_Void = -1782102148, + Kind_Callback_OnScreenCaptureRequestEvent_Void = -1972321573, + Kind_Callback_OnScrollEvent_Void = -172908881, Kind_Callback_OnScrollFrameBeginHandlerResult_Void = 1637092936, + Kind_Callback_OnSearchResultReceiveEvent_Void = -1495570, + Kind_Callback_OnShowFileSelectorEvent_Boolean = -636069598, + Kind_Callback_OnSslErrorEventReceiveEvent_Void = 1624791665, + Kind_Callback_OnTitleReceiveEvent_Void = -318085495, + Kind_Callback_OnTouchIconUrlReceivedEvent_Void = 1657893064, + Kind_Callback_OnWindowNewEvent_Void = -2052382574, Kind_Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void = -296989211, Kind_Callback_Opt_Array_NavDestinationTransition_Void = 406871767, Kind_Callback_Opt_Array_String_Opt_Array_String_Void = 287839344, @@ -150,6 +189,8 @@ export enum CallbackKind { Kind_Callback_Union_CustomBuilder_DragItemInfo_Void = -620935067, Kind_Callback_Union_Object_Undefined_Void = 411311059, Kind_Callback_Void = -1867723152, + Kind_Callback_WebKeyboardOptions_Void = -1376223390, + Kind_Callback_WebResourceResponse_Void = 831645046, Kind_CheckBoxModifierBuilder = 1317697111, Kind_ContentDidScrollCallback = 1532328438, Kind_ContentWillScrollCallback = -2146044511, @@ -174,32 +215,43 @@ export enum CallbackKind { Kind_ModifierKeyStateGetter = -1026503952, Kind_NavDestinationTransitionDelegate = -1066063065, Kind_NavExtender_OnUpdateStack = -588228933, + Kind_OnAdsBlockedCallback = 1572284740, Kind_OnAlphabetIndexerPopupSelectCallback = 726938390, Kind_OnAlphabetIndexerRequestPopupDataCallback = -1956514817, Kind_OnAlphabetIndexerSelectCallback = -1189721220, Kind_OnCheckboxChangeCallback = -1198592337, Kind_OnCheckboxGroupChangeCallback = -1053064240, Kind_OnContentScrollCallback = -419979106, + Kind_OnContextMenuHideCallback = 1788572278, Kind_OnCreateMenuCallback = 312701677, Kind_OnDidChangeCallback = 1648184341, Kind_OnDragEventCallback = 1451593190, + Kind_OnFirstMeaningfulPaintCallback = 767275770, Kind_OnFoldStatusChangeCallback = 2050387049, + Kind_OnFullScreenEnterCallback = 81230317, Kind_OnHoverCallback = -2025767812, Kind_OnHoverStatusChangeCallback = 9040430, + Kind_OnIntelligentTrackingPreventionCallback = -1377876844, Kind_OnItemDragStartCallback = 949409727, - Kind_OnLazyLoadingFunc = -405536347, + Kind_OnLargestContentfulPaintCallback = 1390640532, Kind_OnLinearIndicatorChangeCallback = -968773856, Kind_OnMenuItemClickCallback = -1106041422, Kind_OnMoveHandler = -1200281222, - Kind_OnNativeLoadCallback = -823037763, + Kind_OnNativeEmbedVisibilityChangeCallback = -1641338704, + Kind_OnNavigationEntryCommittedCallback = -398722176, + Kind_OnOverrideUrlLoadingCallback = 865258467, Kind_OnPasteCallback = 1738363337, Kind_OnRadioChangeCallback = 511412333, Kind_OnRatingChangeCallback = -551895045, + Kind_OnRenderProcessNotRespondingCallback = 47282303, + Kind_OnRenderProcessRespondingCallback = 1334389194, + Kind_OnSafeBrowsingCheckResultCallback = -1099824577, Kind_OnScrollCallback = -160015401, Kind_OnScrollEdgeCallback = -1259214476, Kind_OnScrollFrameBeginCallback = -2133791987, Kind_OnScrollVisibleContentChangeCallback = 625641334, Kind_OnSelectCallback = -1486869198, + Kind_OnSslErrorEventCallback = -399603614, Kind_OnSubmitCallback = -1961646162, Kind_OnSwiperAnimationEndCallback = -143686583, Kind_OnSwiperAnimationStartCallback = 876602502, @@ -211,7 +263,7 @@ export enum CallbackKind { Kind_OnTextPickerChangeCallback = -1902343417, Kind_OnTextSelectionChangeCallback = 695228737, Kind_OnTimePickerChangeCallback = 994429103, - Kind_OnTotalCountFunc = 782080172, + Kind_OnViewportFitChangedCallback = 1847083191, Kind_OnWillScrollCallback = 1483622345, Kind_PageMapBuilder = 256377244, Kind_PageTransitionCallback = 1627123591, @@ -249,5 +301,7 @@ export enum CallbackKind { Kind_Type_NavigationAttribute_customNavContentTransition = -1209910992, Kind_UpdateTransitionCallback = -448105339, Kind_VisibleAreaChangeCallback = 541663396, - Kind_VoidCallback = -2038961969 + Kind_VoidCallback = -2038961969, + Kind_WebKeyboardCallback = -1829763354, + Kind_WorkerEventListener = 27710614 } \ No newline at end of file diff --git a/arkoala-arkts/arkui/generated/framework/resource.ets b/arkoala-arkts/arkui/generated/framework/resource.ets index 0746663f9..90ffcdb25 100644 --- a/arkoala-arkts/arkui/generated/framework/resource.ets +++ b/arkoala-arkts/arkui/generated/framework/resource.ets @@ -19,7 +19,6 @@ import { Resource } from "global.resource" 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 { extractors } from "#handwritten" import { TypeChecker } from "#components" import { CallbackTransformer } from "./../CallbackTransformer" export class Resource_serializer { @@ -37,8 +36,28 @@ export class Resource_serializer { const valueHolderForParamsTmpValue = valueHolderForParams! valueSerializer.writeInt32((valueHolderForParamsTmpValue.length).toInt()) for (let valueHolderForParamsTmpValueCounterI = 0; valueHolderForParamsTmpValueCounterI < valueHolderForParamsTmpValue.length; valueHolderForParamsTmpValueCounterI++) { - const valueHolderForParamsTmpValueTmpElement : string = valueHolderForParamsTmpValue[valueHolderForParamsTmpValueCounterI] - valueSerializer.writeString(valueHolderForParamsTmpValueTmpElement) + const valueHolderForParamsTmpValueTmpElement : string | int32 | int64 | double | Resource = valueHolderForParamsTmpValue[valueHolderForParamsTmpValueCounterI] + if (valueHolderForParamsTmpValueTmpElement instanceof string) { + valueSerializer.writeInt8((0).toChar()) + const valueHolderForParamsTmpValueTmpElementForIdx0 = valueHolderForParamsTmpValueTmpElement as string + valueSerializer.writeString(valueHolderForParamsTmpValueTmpElementForIdx0) + } else if (valueHolderForParamsTmpValueTmpElement instanceof int32) { + valueSerializer.writeInt8((1).toChar()) + const valueHolderForParamsTmpValueTmpElementForIdx1 = valueHolderForParamsTmpValueTmpElement as int32 + valueSerializer.writeInt32(valueHolderForParamsTmpValueTmpElementForIdx1) + } else if (valueHolderForParamsTmpValueTmpElement instanceof int64) { + valueSerializer.writeInt8((2).toChar()) + const valueHolderForParamsTmpValueTmpElementForIdx2 = valueHolderForParamsTmpValueTmpElement as int64 + valueSerializer.writeInt64(valueHolderForParamsTmpValueTmpElementForIdx2) + } else if (valueHolderForParamsTmpValueTmpElement instanceof double) { + valueSerializer.writeInt8((3).toChar()) + const valueHolderForParamsTmpValueTmpElementForIdx3 = valueHolderForParamsTmpValueTmpElement as double + valueSerializer.writeFloat64(valueHolderForParamsTmpValueTmpElementForIdx3) + } else if (valueHolderForParamsTmpValueTmpElement instanceof Resource) { + valueSerializer.writeInt8((4).toChar()) + const valueHolderForParamsTmpValueTmpElementForIdx4 = valueHolderForParamsTmpValueTmpElement as Resource + Resource_serializer.write(valueSerializer, valueHolderForParamsTmpValueTmpElementForIdx4) + } } } else { valueSerializer.writeInt8(RuntimeType.UNDEFINED) @@ -58,16 +77,31 @@ export class Resource_serializer { const moduleNameTmpResult : string = (valueDeserializer.readString() as string) const idTmpResult : int64 = valueDeserializer.readInt64() const paramsTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() - let paramsTmpBuf : Array | undefined + let paramsTmpBuf : Array | undefined if ((paramsTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { const paramsTmpBuf_Length : int32 = valueDeserializer.readInt32() - let paramsTmpBuf_ : Array = new Array(paramsTmpBuf_Length) + let paramsTmpBuf_ : Array = new Array(paramsTmpBuf_Length) for (let paramsTmpBuf_BufCounterI = 0; paramsTmpBuf_BufCounterI < paramsTmpBuf_Length; paramsTmpBuf_BufCounterI++) { - paramsTmpBuf_[paramsTmpBuf_BufCounterI] = (valueDeserializer.readString() as string) + const paramsTmpBuf_TempBufUnionSelector : int32 = valueDeserializer.readInt8() + let paramsTmpBuf_TempBuf : string | int32 | int64 | double | Resource | undefined + if (paramsTmpBuf_TempBufUnionSelector == (0).toChar()) { + paramsTmpBuf_TempBuf = (valueDeserializer.readString() as string) + } else if (paramsTmpBuf_TempBufUnionSelector == (1).toChar()) { + paramsTmpBuf_TempBuf = valueDeserializer.readInt32() + } else if (paramsTmpBuf_TempBufUnionSelector == (2).toChar()) { + paramsTmpBuf_TempBuf = valueDeserializer.readInt64() + } else if (paramsTmpBuf_TempBufUnionSelector == (3).toChar()) { + paramsTmpBuf_TempBuf = valueDeserializer.readFloat64() + } else if (paramsTmpBuf_TempBufUnionSelector == (4).toChar()) { + paramsTmpBuf_TempBuf = Resource_serializer.read(valueDeserializer) + } else { + throw new Error("One of the branches for paramsTmpBuf_TempBuf has to be chosen through deserialisation.") + } + paramsTmpBuf_[paramsTmpBuf_BufCounterI] = (paramsTmpBuf_TempBuf as string | int32 | int64 | double | Resource) } paramsTmpBuf = paramsTmpBuf_ } - const paramsTmpResult : Array | undefined = paramsTmpBuf + const paramsTmpResult : Array | undefined = paramsTmpBuf const typeTmpBuf_runtimeType = valueDeserializer.readInt8().toInt() let typeTmpBuf : int32 | undefined if ((typeTmpBuf_runtimeType) != (RuntimeType.UNDEFINED)) { diff --git a/arkoala-arkts/arkui/sdk/component/alphabetIndexer.ets b/arkoala-arkts/arkui/sdk/component/alphabetIndexer.ets index b94a29d35..9ee790e4a 100644 --- a/arkoala-arkts/arkui/sdk/component/alphabetIndexer.ets +++ b/arkoala-arkts/arkui/sdk/component/alphabetIndexer.ets @@ -150,82 +150,82 @@ export class ArkAlphabetIndexerStyle extends ArkCommonMethodStyle implements Alp popupTitleBackground_value?: ResourceColor | undefined enableHapticFeedback_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public color(value: ResourceColor | undefined): this { + color(value: ResourceColor | undefined): this { return this } - public selectedColor(value: ResourceColor | undefined): this { + selectedColor(value: ResourceColor | undefined): this { return this } - public popupColor(value: ResourceColor | undefined): this { + popupColor(value: ResourceColor | undefined): this { return this } - public selectedBackgroundColor(value: ResourceColor | undefined): this { + selectedBackgroundColor(value: ResourceColor | undefined): this { return this } - public popupBackground(value: ResourceColor | undefined): this { + popupBackground(value: ResourceColor | undefined): this { return this } - public popupSelectedColor(value: ResourceColor | undefined): this { + popupSelectedColor(value: ResourceColor | undefined): this { return this } - public popupUnselectedColor(value: ResourceColor | undefined): this { + popupUnselectedColor(value: ResourceColor | undefined): this { return this } - public popupItemBackgroundColor(value: ResourceColor | undefined): this { + popupItemBackgroundColor(value: ResourceColor | undefined): this { return this } - public usingPopup(value: boolean | undefined): this { + usingPopup(value: boolean | undefined): this { return this } - public selectedFont(value: Font | undefined): this { + selectedFont(value: Font | undefined): this { return this } - public popupFont(value: Font | undefined): this { + popupFont(value: Font | undefined): this { return this } - public popupItemFont(value: Font | undefined): this { + popupItemFont(value: Font | undefined): this { return this } - public itemSize(value: string | number | undefined): this { + itemSize(value: string | number | undefined): this { return this } - public font(value: Font | undefined): this { + font(value: Font | undefined): this { return this } - public onSelect(value: OnAlphabetIndexerSelectCallback | undefined): this { + onSelect(value: OnAlphabetIndexerSelectCallback | undefined): this { return this } - public onRequestPopupData(value: OnAlphabetIndexerRequestPopupDataCallback | undefined): this { + onRequestPopupData(value: OnAlphabetIndexerRequestPopupDataCallback | undefined): this { return this } - public onPopupSelect(value: OnAlphabetIndexerPopupSelectCallback | undefined): this { + onPopupSelect(value: OnAlphabetIndexerPopupSelectCallback | undefined): this { return this } - public selected(value: number | Bindable | undefined): this { + selected(value: number | Bindable | undefined): this { return this } - public popupPosition(value: Position | undefined): this { + popupPosition(value: Position | undefined): this { return this } - public autoCollapse(value: boolean | undefined): this { + autoCollapse(value: boolean | undefined): this { return this } - public popupItemBorderRadius(value: number | undefined): this { + popupItemBorderRadius(value: number | undefined): this { return this } - public itemBorderRadius(value: number | undefined): this { + itemBorderRadius(value: number | undefined): this { return this } - public popupBackgroundBlurStyle(value: BlurStyle | undefined): this { + popupBackgroundBlurStyle(value: BlurStyle | undefined): this { return this } - public popupTitleBackground(value: ResourceColor | undefined): this { + popupTitleBackground(value: ResourceColor | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public alignStyle(value: IndexerAlign | undefined, offset?: Length): this { + alignStyle(value: IndexerAlign | undefined, offset?: Length): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/animator.ets b/arkoala-arkts/arkui/sdk/component/animator.ets index b90495def..5d435c482 100644 --- a/arkoala-arkts/arkui/sdk/component/animator.ets +++ b/arkoala-arkts/arkui/sdk/component/animator.ets @@ -99,46 +99,46 @@ export class ArkAnimatorStyle extends ArkCommonMethodStyle implements AnimatorAt onFinish_value?: (() => void) | undefined onFrame_value?: ((value: number) => void) | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public state(value: AnimationStatus | undefined): this { + state(value: AnimationStatus | undefined): this { return this } - public duration(value: number | undefined): this { + duration(value: number | undefined): this { return this } - public curve(value: curves.Curve | undefined): this { + curve(value: curves.Curve | undefined): this { return this } - public delay(value: number | undefined): this { + delay(value: number | undefined): this { return this } - public fillMode(value: FillMode | undefined): this { + fillMode(value: FillMode | undefined): this { return this } - public iterations(value: number | undefined): this { + iterations(value: number | undefined): this { return this } - public playMode(value: PlayMode | undefined): this { + playMode(value: PlayMode | undefined): this { return this } - public motion(value: SpringMotion | FrictionMotion | ScrollMotion | undefined): this { + motion(value: SpringMotion | FrictionMotion | ScrollMotion | undefined): this { return this } - public onStart(value: (() => void) | undefined): this { + onStart(value: (() => void) | undefined): this { return this } - public onPause(value: (() => void) | undefined): this { + onPause(value: (() => void) | undefined): this { return this } - public onRepeat(value: (() => void) | undefined): this { + onRepeat(value: (() => void) | undefined): this { return this } - public onCancel(value: (() => void) | undefined): this { + onCancel(value: (() => void) | undefined): this { return this } - public onFinish(value: (() => void) | undefined): this { + onFinish(value: (() => void) | undefined): this { return this } - public onFrame(value: ((value: number) => void) | undefined): this { + onFrame(value: ((value: number) => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/blank.ets b/arkoala-arkts/arkui/sdk/component/blank.ets index 80cd2123c..cee2c5442 100644 --- a/arkoala-arkts/arkui/sdk/component/blank.ets +++ b/arkoala-arkts/arkui/sdk/component/blank.ets @@ -36,7 +36,7 @@ export interface BlankAttribute extends CommonMethod { export class ArkBlankStyle extends ArkCommonMethodStyle implements BlankAttribute { color_value?: ResourceColor | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public color(value: ResourceColor | undefined): this { + color(value: ResourceColor | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/builder.ets b/arkoala-arkts/arkui/sdk/component/builder.ets index 6019001d6..bc4ed2407 100644 --- a/arkoala-arkts/arkui/sdk/component/builder.ets +++ b/arkoala-arkts/arkui/sdk/component/builder.ets @@ -20,6 +20,8 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer } from "@koalaui/interop" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -export type CustomBuilder = @Builder () => void; +export type CustomBuilder = @Builder +@memo +() => void; export type CustomBuilderT = @Builder (t: T) => void; export type PageMapBuilder = @Builder (name: string, param: Object | undefined) => void; diff --git a/arkoala-arkts/arkui/sdk/component/button.ets b/arkoala-arkts/arkui/sdk/component/button.ets index e2c83701a..fa5da4fc8 100644 --- a/arkoala-arkts/arkui/sdk/component/button.ets +++ b/arkoala-arkts/arkui/sdk/component/button.ets @@ -131,46 +131,46 @@ export class ArkButtonStyle extends ArkCommonMethodStyle implements ButtonAttrib minFontScale_value?: number | Resource | undefined maxFontScale_value?: number | Resource | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public type(value: ButtonType | undefined): this { + type(value: ButtonType | undefined): this { return this } - public stateEffect(value: boolean | undefined): this { + stateEffect(value: boolean | undefined): this { return this } - public buttonStyle(value: ButtonStyleMode | undefined): this { + buttonStyle(value: ButtonStyleMode | undefined): this { return this } - public controlSize(value: ControlSize | undefined): this { + controlSize(value: ControlSize | undefined): this { return this } - public role(value: ButtonRole | undefined): this { + role(value: ButtonRole | undefined): this { return this } - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public fontSize(value: Length | undefined): this { + fontSize(value: Length | undefined): this { return this } - public fontWeight(value: number | FontWeight | string | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { return this } - public fontStyle(value: FontStyle | undefined): this { + fontStyle(value: FontStyle | undefined): this { return this } - public fontFamily(value: string | Resource | undefined): this { + fontFamily(value: string | Resource | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } - public labelStyle(value: ButtonLabelStyle | undefined): this { + labelStyle(value: ButtonLabelStyle | undefined): this { return this } - public minFontScale(value: number | Resource | undefined): this { + minFontScale(value: number | Resource | undefined): this { return this } - public maxFontScale(value: number | Resource | undefined): this { + maxFontScale(value: number | Resource | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/calendarPicker.ets b/arkoala-arkts/arkui/sdk/component/calendarPicker.ets index 3fae68bed..750f1bffb 100644 --- a/arkoala-arkts/arkui/sdk/component/calendarPicker.ets +++ b/arkoala-arkts/arkui/sdk/component/calendarPicker.ets @@ -59,16 +59,16 @@ export class ArkCalendarPickerStyle extends ArkCommonMethodStyle implements Cale onChange_value?: ((value0: Date) => void) | undefined markToday_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public textStyle(value: PickerTextStyle | undefined): this { + textStyle(value: PickerTextStyle | undefined): this { return this } - public onChange(value: ((value0: Date) => void) | undefined): this { + onChange(value: ((value0: Date) => void) | undefined): this { return this } - public markToday(value: boolean | undefined): this { + markToday(value: boolean | undefined): this { return this } - public edgeAlign(alignType: CalendarAlign | undefined, offset?: Offset): this { + edgeAlign(alignType: CalendarAlign | undefined, offset?: Offset): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/canvas.ets b/arkoala-arkts/arkui/sdk/component/canvas.ets index 665afd182..d4bc652cb 100644 --- a/arkoala-arkts/arkui/sdk/component/canvas.ets +++ b/arkoala-arkts/arkui/sdk/component/canvas.ets @@ -87,8 +87,8 @@ export declare class ImageBitmap { export declare class ImageData { constructor(width: number, height: number, data: ArrayBuffer | undefined, unit: LengthMetricsUnit | undefined) get data():ArrayBuffer; - get height():number; - get width():number; + get height():int32; + get width():int32; } export declare class RenderingContextSettings { constructor(antialias: boolean | undefined) @@ -103,10 +103,10 @@ export declare class CanvasRenderer extends CanvasPath { set globalAlpha(val:number); get globalCompositeOperation():string; set globalCompositeOperation(val:string); - get fillStyle():string | number | CanvasGradient | CanvasPattern; - set fillStyle(val:string | number | CanvasGradient | CanvasPattern); - get strokeStyle():string | number | CanvasGradient | CanvasPattern; - set strokeStyle(val:string | number | CanvasGradient | CanvasPattern); + get fillStyle():string | int32 | CanvasGradient | CanvasPattern; + set fillStyle(val:string | int32 | CanvasGradient | CanvasPattern); + get strokeStyle():string | int32 | CanvasGradient | CanvasPattern; + set strokeStyle(val:string | int32 | CanvasGradient | CanvasPattern); get filter():string; set filter(val:string); get imageSmoothingEnabled():boolean; @@ -226,10 +226,10 @@ export class ArkCanvasStyle extends ArkCommonMethodStyle implements CanvasAttrib onReady_value?: VoidCallback | undefined enableAnalyzer_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onReady(value: VoidCallback | undefined): this { + onReady(value: VoidCallback | undefined): this { return this } - public enableAnalyzer(value: boolean | undefined): this { + enableAnalyzer(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -240,14 +240,7 @@ export class ArkCanvasStyle extends ArkCommonMethodStyle implements CanvasAttrib @memo @ComponentBuilder export function Canvas( - context?: CanvasRenderingContext2D | DrawingRenderingContext, - @memo - content_?: () => void, -): CanvasAttribute { throw new Error("")} -@memo -@ComponentBuilder -export function Canvas( - context: CanvasRenderingContext2D | DrawingRenderingContext, imageAIOptions: ImageAIOptions, + context?: CanvasRenderingContext2D | DrawingRenderingContext, imageAIOptions?: ImageAIOptions, @memo content_?: () => void, ): CanvasAttribute { throw new Error("")} diff --git a/arkoala-arkts/arkui/sdk/component/checkbox.ets b/arkoala-arkts/arkui/sdk/component/checkbox.ets index 74611304c..da06f3606 100644 --- a/arkoala-arkts/arkui/sdk/component/checkbox.ets +++ b/arkoala-arkts/arkui/sdk/component/checkbox.ets @@ -72,25 +72,25 @@ export class ArkCheckboxStyle extends ArkCommonMethodStyle implements CheckboxAt onChange_value?: OnCheckboxChangeCallback | undefined contentModifier_value?: ContentModifier | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public select(value: boolean | Bindable | undefined): this { + select(value: boolean | Bindable | undefined): this { return this } - public selectedColor(value: ResourceColor | undefined): this { + selectedColor(value: ResourceColor | undefined): this { return this } - public shape(value: CheckBoxShape | undefined): this { + shape(value: CheckBoxShape | undefined): this { return this } - public unselectedColor(value: ResourceColor | undefined): this { + unselectedColor(value: ResourceColor | undefined): this { return this } - public mark(value: MarkStyle | undefined): this { + mark(value: MarkStyle | undefined): this { return this } - public onChange(value: OnCheckboxChangeCallback | undefined): this { + onChange(value: OnCheckboxChangeCallback | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/checkboxgroup.ets b/arkoala-arkts/arkui/sdk/component/checkboxgroup.ets index 5f0e7d990..2ee99a398 100644 --- a/arkoala-arkts/arkui/sdk/component/checkboxgroup.ets +++ b/arkoala-arkts/arkui/sdk/component/checkboxgroup.ets @@ -72,22 +72,22 @@ export class ArkCheckboxGroupStyle extends ArkCommonMethodStyle implements Check onChange_value?: OnCheckboxGroupChangeCallback | undefined checkboxShape_value?: CheckBoxShape | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public selectAll(value: boolean | Bindable | undefined): this { + selectAll(value: boolean | Bindable | undefined): this { return this } - public selectedColor(value: ResourceColor | undefined): this { + selectedColor(value: ResourceColor | undefined): this { return this } - public unselectedColor(value: ResourceColor | undefined): this { + unselectedColor(value: ResourceColor | undefined): this { return this } - public mark(value: MarkStyle | undefined): this { + mark(value: MarkStyle | undefined): this { return this } - public onChange(value: OnCheckboxGroupChangeCallback | undefined): this { + onChange(value: OnCheckboxGroupChangeCallback | undefined): this { return this } - public checkboxShape(value: CheckBoxShape | undefined): this { + checkboxShape(value: CheckBoxShape | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/circle.ets b/arkoala-arkts/arkui/sdk/component/circle.ets index 3e2ed3826..1586dce0d 100644 --- a/arkoala-arkts/arkui/sdk/component/circle.ets +++ b/arkoala-arkts/arkui/sdk/component/circle.ets @@ -23,6 +23,8 @@ import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { CommonShapeMethod, CommonMethod, ArkCommonShapeMethodStyle, ArkCommonMethodStyle } from "./common" import { AttributeModifier, AttributeUpdater } from "./../handwritten" export declare interface CircleOptions { + width?: string | double; + height?: string | double; } export interface CircleAttribute extends CommonShapeMethod { attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { @@ -39,7 +41,7 @@ export class ArkCircleStyle extends ArkCommonShapeMethodStyle implements CircleA @memo @ComponentBuilder export function Circle( - value?: CircleOptions, + options?: CircleOptions, @memo content_?: () => void, ): CircleAttribute { throw new Error("")} diff --git a/arkoala-arkts/arkui/sdk/component/column.ets b/arkoala-arkts/arkui/sdk/component/column.ets index 8881e46b1..1221be50e 100644 --- a/arkoala-arkts/arkui/sdk/component/column.ets +++ b/arkoala-arkts/arkui/sdk/component/column.ets @@ -21,7 +21,7 @@ import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr } from "@koalaui/int import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { Resource } from "global.resource" -import { CommonMethod, PointLightStyle, ArkCommonMethodStyle } from "./common" +import { CommonMethod, ArkCommonMethodStyle } from "./common" import { HorizontalAlign, FlexAlign } from "./enums" import { AttributeModifier, AttributeUpdater } from "./../handwritten" export type SpaceType = string | number | Resource; @@ -38,9 +38,6 @@ export interface ColumnAttribute extends CommonMethod { justifyContent(value: FlexAlign | undefined): this { throw new Error("Unimplemented method justifyContent") } - pointLight(value: PointLightStyle | undefined): this { - throw new Error("Unimplemented method pointLight") - } reverse(value: boolean | undefined): this { throw new Error("Unimplemented method reverse") } @@ -51,19 +48,15 @@ export interface ColumnAttribute extends CommonMethod { export class ArkColumnStyle extends ArkCommonMethodStyle implements ColumnAttribute { alignItems_value?: HorizontalAlign | undefined justifyContent_value?: FlexAlign | undefined - pointLight_value?: PointLightStyle | undefined reverse_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public alignItems(value: HorizontalAlign | undefined): this { - return this - } - public justifyContent(value: FlexAlign | undefined): this { + alignItems(value: HorizontalAlign | undefined): this { return this } - public pointLight(value: PointLightStyle | undefined): this { + justifyContent(value: FlexAlign | undefined): this { return this } - public reverse(value: boolean | undefined): this { + reverse(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/columnSplit.ets b/arkoala-arkts/arkui/sdk/component/columnSplit.ets index 75e7ccbe8..81281a495 100644 --- a/arkoala-arkts/arkui/sdk/component/columnSplit.ets +++ b/arkoala-arkts/arkui/sdk/component/columnSplit.ets @@ -43,10 +43,10 @@ export class ArkColumnSplitStyle extends ArkCommonMethodStyle implements ColumnS resizeable_value?: boolean | undefined divider_value?: ColumnSplitDividerStyle | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public resizeable(value: boolean | undefined): this { + resizeable(value: boolean | undefined): this { return this } - public divider(value: ColumnSplitDividerStyle | undefined): this { + divider(value: ColumnSplitDividerStyle | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/common.ets b/arkoala-arkts/arkui/sdk/component/common.ets index e5d29788d..f02c6de1c 100644 --- a/arkoala-arkts/arkui/sdk/component/common.ets +++ b/arkoala-arkts/arkui/sdk/component/common.ets @@ -20,7 +20,7 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr } from "@koalaui/interop" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { TransitionType, TextDecorationType, Color, TextDecorationStyle, PlayMode, SharedTransitionEffectType, GradientDirection, HorizontalAlign, VerticalAlign, FontWeight, FontStyle, ColoringStrategy, InteractionHand, MouseButton, MouseAction, AccessibilityHoverType, TouchType, AxisAction, KeyType, KeySource, AxisModel, CrownAction, BorderStyle, Placement, ArrowPointPosition, ClickEffectLevel, NestedScrollMode, ImageRepeat, Alignment, HitTestMode, ImageSize, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, FocusDrawLevel, Axis, ResponseType, FunctionKey, ModifierKey, LineCapStyle, LineJoinStyle, PixelRoundCalcPolicy, BarState, CrownSensitivity, EdgeEffect, ScrollSource, IlluminatedType } from "./enums" +import { TransitionType, TextDecorationType, Color, TextDecorationStyle, PlayMode, SharedTransitionEffectType, GradientDirection, VerticalAlign, HorizontalAlign, FontWeight, FontStyle, ColoringStrategy, InteractionHand, MouseButton, MouseAction, AccessibilityHoverType, TouchType, AxisAction, KeyType, KeySource, AxisModel, CrownAction, BorderStyle, Placement, ArrowPointPosition, ClickEffectLevel, NestedScrollMode, ImageRepeat, Alignment, HitTestMode, ImageSize, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, FocusDrawLevel, Axis, ResponseType, FunctionKey, ModifierKey, LineCapStyle, LineJoinStyle, PixelRoundCalcPolicy, BarState, CrownSensitivity, EdgeEffect, ScrollSource, IlluminatedType } from "./enums" import { Position, ConstraintSizeOptions, ResourceColor, Length, Bias, Area, Font, BorderRadiuses, EdgeWidths, LocalizedEdgeWidths, SizeOptions, VoidCallback, ResourceStr, Dimension, EdgeColors, LocalizedEdgeColors, EdgeStyles, LocalizedBorderRadiuses, Padding, EdgeOutlineWidths, ChainWeightOptions, LocalizedPadding, BorderOptions, OutlineOptions, EdgeOutlineStyles, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, DirectionalEdgesT } from "./units" import { Resource } from "global.resource" import { Context } from "./../framework/application.Context" @@ -304,9 +304,13 @@ export declare interface ScaleOptions { centerX?: number | string; centerY?: number | string; } -export declare interface AlignRuleParam { +export declare interface VerticalAlignParam { anchor: string; - align: T; + align: VerticalAlign; +} +export declare interface HorizontalAlignParam { + anchor: string; + align: HorizontalAlign; } export declare interface AlignRuleOption { _stub: int32; @@ -1453,10 +1457,10 @@ export interface CommonMethod { enabled(value: boolean | undefined): this { throw new Error("Unimplemented method enabled") } - alignRules(value: AlignRuleOption | undefined): this { + alignRulesWithAlignRuleOptionTypedValue(value: AlignRuleOption | undefined): this { throw new Error("Unimplemented method alignRules") } - alignRules(value: LocalizedAlignRuleOptions | undefined): this { + alignRulesWithLocalizedAlignRuleOptionsTypedValue(value: LocalizedAlignRuleOptions | undefined): this { throw new Error("Unimplemented method alignRules") } aspectRatio(value: number | undefined): this { @@ -1546,10 +1550,10 @@ export interface CommonMethod { pixelStretchEffect(value: PixelStretchEffectOptions | undefined): this { throw new Error("Unimplemented method pixelStretchEffect") } - accessibilityGroup(value: boolean | undefined): this { + accessibilityGroupWithValue(value: boolean | undefined): this { throw new Error("Unimplemented method accessibilityGroup") } - accessibilityText(value: string | undefined): this { + accessibilityTextOfStringType(value: string | undefined): this { throw new Error("Unimplemented method accessibilityText") } accessibilityNextFocusId(value: string | undefined): this { @@ -1564,7 +1568,7 @@ export interface CommonMethod { accessibilityScrollTriggerable(value: boolean | undefined): this { throw new Error("Unimplemented method accessibilityScrollTriggerable") } - accessibilityText(value: Resource | undefined): this { + accessibilityTextOfResourceType(value: Resource | undefined): this { throw new Error("Unimplemented method accessibilityText") } accessibilityRole(value: AccessibilityRoleType | undefined): this { @@ -1576,10 +1580,10 @@ export interface CommonMethod { accessibilityTextHint(value: string | undefined): this { throw new Error("Unimplemented method accessibilityTextHint") } - accessibilityDescription(value: string | undefined): this { + accessibilityDescriptionOfStringType(value: string | undefined): this { throw new Error("Unimplemented method accessibilityDescription") } - accessibilityDescription(value: Resource | undefined): this { + accessibilityDescriptionOfResourceType(value: Resource | undefined): this { throw new Error("Unimplemented method accessibilityDescription") } accessibilityLevel(value: string | undefined): this { @@ -1756,12 +1760,16 @@ export interface CommonMethod { keyboardShortcut(value: string | FunctionKey | undefined, keys: Array | undefined, action?: (() => void)): this { throw new Error("Unimplemented method keyboardShortcut") } - accessibilityGroup(isGroup: boolean | undefined, accessibilityOptions: AccessibilityOptions | undefined): this { + accessibilityGroupWithConfig(isGroup: boolean | undefined, config: AccessibilityOptions | undefined): this { throw new Error("Unimplemented method accessibilityGroup") } onGestureRecognizerJudgeBegin(callback_: GestureRecognizerJudgeBeginCallback | undefined, exposeInnerGesture: boolean | undefined): this { throw new Error("Unimplemented method onGestureRecognizerJudgeBegin") } + overload alignRules { alignRulesWithAlignRuleOptionTypedValue, alignRulesWithLocalizedAlignRuleOptionsTypedValue } + overload accessibilityGroup { accessibilityGroupWithValue, accessibilityGroupWithConfig } + overload accessibilityText { accessibilityTextOfStringType, accessibilityTextOfResourceType } + overload accessibilityDescription { accessibilityDescriptionOfStringType, accessibilityDescriptionOfResourceType } attributeModifier(value: AttributeModifier | undefined): this { throw new Error("Unimplemented method attributeModifier") } @@ -1922,607 +1930,607 @@ export class ArkCommonMethodStyle implements CommonMethod { onTouchIntercept_value?: ((value0: TouchEvent) => HitTestMode) | undefined onSizeChange_value?: SizeChangeCallback | undefined accessibilityFocusDrawLevel_value?: FocusDrawLevel | undefined - public width(value: Length | LayoutPolicy | undefined): this { + width(value: Length | LayoutPolicy | undefined): this { return this } - public height(value: Length | LayoutPolicy | undefined): this { + height(value: Length | LayoutPolicy | undefined): this { return this } - public drawModifier(value: DrawModifier | undefined): this { + drawModifier(value: DrawModifier | undefined): this { return this } - public responseRegion(value: Array | Rectangle | undefined): this { + responseRegion(value: Array | Rectangle | undefined): this { return this } - public mouseResponseRegion(value: Array | Rectangle | undefined): this { + mouseResponseRegion(value: Array | Rectangle | undefined): this { return this } - public size(value: SizeOptions | undefined): this { + size(value: SizeOptions | undefined): this { return this } - public constraintSize(value: ConstraintSizeOptions | undefined): this { + constraintSize(value: ConstraintSizeOptions | undefined): this { return this } - public hitTestBehavior(value: HitTestMode | undefined): this { + hitTestBehavior(value: HitTestMode | undefined): this { return this } - public onChildTouchTest(value: ((value: Array) => TouchResult) | undefined): this { + onChildTouchTest(value: ((value: Array) => TouchResult) | undefined): this { return this } - public layoutWeight(value: number | string | undefined): this { + layoutWeight(value: number | string | undefined): this { return this } - public chainWeight(value: ChainWeightOptions | undefined): this { + chainWeight(value: ChainWeightOptions | undefined): this { return this } - public padding(value: Padding | Length | LocalizedPadding | undefined): this { + padding(value: Padding | Length | LocalizedPadding | undefined): this { return this } - public safeAreaPadding(value: Padding | LengthMetrics | LocalizedPadding | undefined): this { + safeAreaPadding(value: Padding | LengthMetrics | LocalizedPadding | undefined): this { return this } - public margin(value: Padding | Length | LocalizedPadding | undefined): this { + margin(value: Padding | Length | LocalizedPadding | undefined): this { return this } - public backgroundColor(value: ResourceColor | undefined): this { + backgroundColor(value: ResourceColor | undefined): this { return this } - public pixelRound(value: PixelRoundPolicy | undefined): this { + pixelRound(value: PixelRoundPolicy | undefined): this { return this } - public backgroundImageSize(value: SizeOptions | ImageSize | undefined): this { + backgroundImageSize(value: SizeOptions | ImageSize | undefined): this { return this } - public backgroundImagePosition(value: Position | Alignment | undefined): this { + backgroundImagePosition(value: Position | Alignment | undefined): this { return this } - public backgroundEffect(value: BackgroundEffectOptions | undefined): this { + backgroundEffect(value: BackgroundEffectOptions | undefined): this { return this } - public backgroundImageResizable(value: ResizableOptions | undefined): this { + backgroundImageResizable(value: ResizableOptions | undefined): this { return this } - public foregroundEffect(value: ForegroundEffectOptions | undefined): this { + foregroundEffect(value: ForegroundEffectOptions | undefined): this { return this } - public visualEffect(value: uiEffect.VisualEffect | undefined): this { + visualEffect(value: uiEffect.VisualEffect | undefined): this { return this } - public backgroundFilter(value: uiEffect.Filter | undefined): this { + backgroundFilter(value: uiEffect.Filter | undefined): this { return this } - public foregroundFilter(value: uiEffect.Filter | undefined): this { + foregroundFilter(value: uiEffect.Filter | undefined): this { return this } - public compositingFilter(value: uiEffect.Filter | undefined): this { + compositingFilter(value: uiEffect.Filter | undefined): this { return this } - public opacity(value: number | Resource | undefined): this { + opacity(value: number | Resource | undefined): this { return this } - public border(value: BorderOptions | undefined): this { + border(value: BorderOptions | undefined): this { return this } - public borderStyle(value: BorderStyle | EdgeStyles | undefined): this { + borderStyle(value: BorderStyle | EdgeStyles | undefined): this { return this } - public borderWidth(value: Length | EdgeWidths | LocalizedEdgeWidths | undefined): this { + borderWidth(value: Length | EdgeWidths | LocalizedEdgeWidths | undefined): this { return this } - public borderColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): this { + borderColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): this { return this } - public borderRadius(value: Length | BorderRadiuses | LocalizedBorderRadiuses | undefined): this { + borderRadius(value: Length | BorderRadiuses | LocalizedBorderRadiuses | undefined): this { return this } - public borderImage(value: BorderImageOption | undefined): this { + borderImage(value: BorderImageOption | undefined): this { return this } - public outline(value: OutlineOptions | undefined): this { + outline(value: OutlineOptions | undefined): this { return this } - public outlineStyle(value: OutlineStyle | EdgeOutlineStyles | undefined): this { + outlineStyle(value: OutlineStyle | EdgeOutlineStyles | undefined): this { return this } - public outlineWidth(value: Dimension | EdgeOutlineWidths | undefined): this { + outlineWidth(value: Dimension | EdgeOutlineWidths | undefined): this { return this } - public outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): this { + outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): this { return this } - public outlineRadius(value: Dimension | OutlineRadiuses | undefined): this { + outlineRadius(value: Dimension | OutlineRadiuses | undefined): this { return this } - public foregroundColor(value: ResourceColor | ColoringStrategy | undefined): this { + foregroundColor(value: ResourceColor | ColoringStrategy | undefined): this { return this } - public onClick(value: ((event: ClickEvent) => void) | undefined): this { + onClick(value: ((event: ClickEvent) => void) | undefined): this { return this } - public onHover(value: ((isHover: boolean,event: HoverEvent) => void) | undefined): this { + onHover(value: ((isHover: boolean,event: HoverEvent) => void) | undefined): this { return this } - public onHoverMove(value: ((value0: HoverEvent) => void) | undefined): this { + onHoverMove(value: ((value0: HoverEvent) => void) | undefined): this { return this } - public onAccessibilityHover(value: AccessibilityCallback | undefined): this { + onAccessibilityHover(value: AccessibilityCallback | undefined): this { return this } - public hoverEffect(value: HoverEffect | undefined): this { + hoverEffect(value: HoverEffect | undefined): this { return this } - public onMouse(value: ((event: MouseEvent) => void) | undefined): this { + onMouse(value: ((event: MouseEvent) => void) | undefined): this { return this } - public onTouch(value: ((event: TouchEvent) => void) | undefined): this { + onTouch(value: ((event: TouchEvent) => void) | undefined): this { return this } - public onKeyEvent(value: ((event: KeyEvent) => void) | undefined): this { + onKeyEvent(value: ((event: KeyEvent) => void) | undefined): this { return this } - public onDigitalCrown(value: ((value0: CrownEvent) => void) | undefined): this { + onDigitalCrown(value: ((value0: CrownEvent) => void) | undefined): this { return this } - public onKeyPreIme(value: ((value0: KeyEvent) => boolean) | undefined): this { + onKeyPreIme(value: ((value0: KeyEvent) => boolean) | undefined): this { return this } - public onKeyEventDispatch(value: ((value0: KeyEvent) => boolean) | undefined): this { + onKeyEventDispatch(value: ((value0: KeyEvent) => boolean) | undefined): this { return this } - public onFocusAxisEvent(value: ((value0: FocusAxisEvent) => void) | undefined): this { + onFocusAxisEvent(value: ((value0: FocusAxisEvent) => void) | undefined): this { return this } - public onAxisEvent(value: ((value0: AxisEvent) => void) | undefined): this { + onAxisEvent(value: ((value0: AxisEvent) => void) | undefined): this { return this } - public focusable(value: boolean | undefined): this { + focusable(value: boolean | undefined): this { return this } - public nextFocus(value: FocusMovement | undefined): this { + nextFocus(value: FocusMovement | undefined): this { return this } - public tabStop(value: boolean | undefined): this { + tabStop(value: boolean | undefined): this { return this } - public onFocus(value: (() => void) | undefined): this { + onFocus(value: (() => void) | undefined): this { return this } - public onBlur(value: (() => void) | undefined): this { + onBlur(value: (() => void) | undefined): this { return this } - public tabIndex(value: number | undefined): this { + tabIndex(value: number | undefined): this { return this } - public defaultFocus(value: boolean | undefined): this { + defaultFocus(value: boolean | undefined): this { return this } - public groupDefaultFocus(value: boolean | undefined): this { + groupDefaultFocus(value: boolean | undefined): this { return this } - public focusOnTouch(value: boolean | undefined): this { + focusOnTouch(value: boolean | undefined): this { return this } - public focusBox(value: FocusBoxStyle | undefined): this { + focusBox(value: FocusBoxStyle | undefined): this { return this } - public animation(value: AnimateParam | undefined): this { + animation(value: AnimateParam | undefined): this { return this } - public transition(value: TransitionEffect | undefined): this { + transition(value: TransitionEffect | undefined): this { return this } - public motionBlur(value: MotionBlurOptions | undefined): this { + motionBlur(value: MotionBlurOptions | undefined): this { return this } - public brightness(value: number | undefined): this { + brightness(value: number | undefined): this { return this } - public contrast(value: number | undefined): this { + contrast(value: number | undefined): this { return this } - public grayscale(value: number | undefined): this { + grayscale(value: number | undefined): this { return this } - public colorBlend(value: Color | string | Resource | undefined): this { + colorBlend(value: Color | string | Resource | undefined): this { return this } - public saturate(value: number | undefined): this { + saturate(value: number | undefined): this { return this } - public sepia(value: number | undefined): this { + sepia(value: number | undefined): this { return this } - public invert(value: number | InvertOptions | undefined): this { + invert(value: number | InvertOptions | undefined): this { return this } - public hueRotate(value: number | string | undefined): this { + hueRotate(value: number | string | undefined): this { return this } - public useShadowBatching(value: boolean | undefined): this { + useShadowBatching(value: boolean | undefined): this { return this } - public useEffect(value: boolean | undefined): this { + useEffect(value: boolean | undefined): this { return this } - public renderGroup(value: boolean | undefined): this { + renderGroup(value: boolean | undefined): this { return this } - public freeze(value: boolean | undefined): this { + freeze(value: boolean | undefined): this { return this } - public translate(value: TranslateOptions | undefined): this { + translate(value: TranslateOptions | undefined): this { return this } - public scale(value: ScaleOptions | undefined): this { + scale(value: ScaleOptions | undefined): this { return this } - public rotate(value: RotateOptions | undefined): this { + rotate(value: RotateOptions | undefined): this { return this } - public transform(value: Object | undefined): this { + transform(value: Object | undefined): this { return this } - public onAppear(value: (() => void) | undefined): this { + onAppear(value: (() => void) | undefined): this { return this } - public onDisAppear(value: (() => void) | undefined): this { + onDisAppear(value: (() => void) | undefined): this { return this } - public onAttach(value: VoidCallback | undefined): this { + onAttach(value: VoidCallback | undefined): this { return this } - public onDetach(value: VoidCallback | undefined): this { + onDetach(value: VoidCallback | undefined): this { return this } - public onAreaChange(value: ((oldValue: Area,newValue: Area) => void) | undefined): this { + onAreaChange(value: ((oldValue: Area,newValue: Area) => void) | undefined): this { return this } - public visibility(value: Visibility | undefined): this { + visibility(value: Visibility | undefined): this { return this } - public flexGrow(value: number | undefined): this { + flexGrow(value: number | undefined): this { return this } - public flexShrink(value: number | undefined): this { + flexShrink(value: number | undefined): this { return this } - public flexBasis(value: number | string | undefined): this { + flexBasis(value: number | string | undefined): this { return this } - public alignSelf(value: ItemAlign | undefined): this { + alignSelf(value: ItemAlign | undefined): this { return this } - public displayPriority(value: number | undefined): this { + displayPriority(value: number | undefined): this { return this } - public zIndex(value: number | undefined): this { + zIndex(value: number | undefined): this { return this } - public direction(value: Direction | undefined): this { + direction(value: Direction | undefined): this { return this } - public align(value: Alignment | undefined): this { + align(value: Alignment | undefined): this { return this } - public position(value: Position | Edges | LocalizedEdges | undefined): this { + position(value: Position | Edges | LocalizedEdges | undefined): this { return this } - public markAnchor(value: Position | LocalizedPosition | undefined): this { + markAnchor(value: Position | LocalizedPosition | undefined): this { return this } - public offset(value: Position | Edges | LocalizedEdges | undefined): this { + offset(value: Position | Edges | LocalizedEdges | undefined): this { return this } - public enabled(value: boolean | undefined): this { + enabled(value: boolean | undefined): this { return this } - public alignRules(value: AlignRuleOption | undefined): this { + alignRules(value: AlignRuleOption | undefined): this { return this } - public alignRules(value: LocalizedAlignRuleOptions | undefined): this { + alignRules(value: LocalizedAlignRuleOptions | undefined): this { return this } - public aspectRatio(value: number | undefined): this { + aspectRatio(value: number | undefined): this { return this } - public clickEffect(value: ClickEffect | undefined): this { + clickEffect(value: ClickEffect | undefined): this { return this } - public onDragStart(value: ((event: DragEvent,extraParams?: string) => CustomBuilder | DragItemInfo) | undefined): this { + onDragStart(value: ((event: DragEvent,extraParams?: string) => CustomBuilder | DragItemInfo) | undefined): this { return this } - public onDragEnter(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { + onDragEnter(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { return this } - public onDragMove(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { + onDragMove(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { return this } - public onDragLeave(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { + onDragLeave(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { return this } - public onDrop(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { + onDrop(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { return this } - public onDragEnd(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { + onDragEnd(value: ((event: DragEvent,extraParams?: string) => void) | undefined): this { return this } - public allowDrop(value: Array | undefined): this { + allowDrop(value: Array | undefined): this { return this } - public draggable(value: boolean | undefined): this { + draggable(value: boolean | undefined): this { return this } - public dragPreview(value: CustomBuilder | DragItemInfo | string | undefined): this { + dragPreview(value: CustomBuilder | DragItemInfo | string | undefined): this { return this } - public onPreDrag(value: ((value0: PreDragStatus) => void) | undefined): this { + onPreDrag(value: ((value0: PreDragStatus) => void) | undefined): this { return this } - public linearGradient(value: LinearGradientOptions | undefined): this { + linearGradient(value: LinearGradientOptions | undefined): this { return this } - public sweepGradient(value: SweepGradientOptions | undefined): this { + sweepGradient(value: SweepGradientOptions | undefined): this { return this } - public radialGradient(value: RadialGradientOptions | undefined): this { + radialGradient(value: RadialGradientOptions | undefined): this { return this } - public motionPath(value: MotionPathOptions | undefined): this { + motionPath(value: MotionPathOptions | undefined): this { return this } - public shadow(value: ShadowOptions | ShadowStyle | undefined): this { + shadow(value: ShadowOptions | ShadowStyle | undefined): this { return this } - public clip(value: boolean | undefined): this { + clip(value: boolean | undefined): this { return this } - public clipShape(value: CircleShape | EllipseShape | PathShape | RectShape | undefined): this { + clipShape(value: CircleShape | EllipseShape | PathShape | RectShape | undefined): this { return this } - public mask(value: ProgressMask | undefined): this { + mask(value: ProgressMask | undefined): this { return this } - public maskShape(value: CircleShape | EllipseShape | PathShape | RectShape | undefined): this { + maskShape(value: CircleShape | EllipseShape | PathShape | RectShape | undefined): this { return this } - public key(value: string | undefined): this { + key(value: string | undefined): this { return this } - public id(value: string | undefined): this { + id(value: string | undefined): this { return this } - public geometryTransition(value: string | undefined): this { + geometryTransition(value: string | undefined): this { return this } - public stateStyles(value: StateStyles | undefined): this { + stateStyles(value: StateStyles | undefined): this { return this } - public restoreId(value: number | undefined): this { + restoreId(value: number | undefined): this { return this } - public sphericalEffect(value: number | undefined): this { + sphericalEffect(value: number | undefined): this { return this } - public lightUpEffect(value: number | undefined): this { + lightUpEffect(value: number | undefined): this { return this } - public pixelStretchEffect(value: PixelStretchEffectOptions | undefined): this { + pixelStretchEffect(value: PixelStretchEffectOptions | undefined): this { return this } - public accessibilityGroup(value: boolean | undefined): this { + accessibilityGroup(value: boolean | undefined): this { return this } - public accessibilityText(value: string | undefined): this { + accessibilityText(value: string | undefined): this { return this } - public accessibilityNextFocusId(value: string | undefined): this { + accessibilityNextFocusId(value: string | undefined): this { return this } - public accessibilityDefaultFocus(value: boolean | undefined): this { + accessibilityDefaultFocus(value: boolean | undefined): this { return this } - public accessibilityUseSamePage(value: AccessibilitySamePageMode | undefined): this { + accessibilityUseSamePage(value: AccessibilitySamePageMode | undefined): this { return this } - public accessibilityScrollTriggerable(value: boolean | undefined): this { + accessibilityScrollTriggerable(value: boolean | undefined): this { return this } - public accessibilityText(value: Resource | undefined): this { + accessibilityText(value: Resource | undefined): this { return this } - public accessibilityRole(value: AccessibilityRoleType | undefined): this { + accessibilityRole(value: AccessibilityRoleType | undefined): this { return this } - public onAccessibilityFocus(value: AccessibilityFocusCallback | undefined): this { + onAccessibilityFocus(value: AccessibilityFocusCallback | undefined): this { return this } - public accessibilityTextHint(value: string | undefined): this { + accessibilityTextHint(value: string | undefined): this { return this } - public accessibilityDescription(value: string | undefined): this { + accessibilityDescription(value: string | undefined): this { return this } - public accessibilityDescription(value: Resource | undefined): this { + accessibilityDescription(value: Resource | undefined): this { return this } - public accessibilityLevel(value: string | undefined): this { + accessibilityLevel(value: string | undefined): this { return this } - public accessibilityVirtualNode(value: CustomBuilder | undefined): this { + accessibilityVirtualNode(value: CustomBuilder | undefined): this { return this } - public accessibilityChecked(value: boolean | undefined): this { + accessibilityChecked(value: boolean | undefined): this { return this } - public accessibilitySelected(value: boolean | undefined): this { + accessibilitySelected(value: boolean | undefined): this { return this } - public obscured(value: Array | undefined): this { + obscured(value: Array | undefined): this { return this } - public reuseId(value: string | undefined): this { + reuseId(value: string | undefined): this { return this } - public reuse(value: ReuseOptions | undefined): this { + reuse(value: ReuseOptions | undefined): this { return this } - public renderFit(value: RenderFit | undefined): this { + renderFit(value: RenderFit | undefined): this { return this } - public gestureModifier(value: GestureModifier | undefined): this { + gestureModifier(value: GestureModifier | undefined): this { return this } - public backgroundBrightness(value: BackgroundBrightnessOptions | undefined): this { + backgroundBrightness(value: BackgroundBrightnessOptions | undefined): this { return this } - public onGestureJudgeBegin(value: ((gestureInfo: GestureInfo,event: BaseGestureEvent) => GestureJudgeResult) | undefined): this { + onGestureJudgeBegin(value: ((gestureInfo: GestureInfo,event: BaseGestureEvent) => GestureJudgeResult) | undefined): this { return this } - public onGestureRecognizerJudgeBegin(value: GestureRecognizerJudgeBeginCallback | undefined): this { + onGestureRecognizerJudgeBegin(value: GestureRecognizerJudgeBeginCallback | undefined): this { return this } - public shouldBuiltInRecognizerParallelWith(value: ShouldBuiltInRecognizerParallelWithCallback | undefined): this { + shouldBuiltInRecognizerParallelWith(value: ShouldBuiltInRecognizerParallelWithCallback | undefined): this { return this } - public monopolizeEvents(value: boolean | undefined): this { + monopolizeEvents(value: boolean | undefined): this { return this } - public onTouchIntercept(value: ((value0: TouchEvent) => HitTestMode) | undefined): this { + onTouchIntercept(value: ((value0: TouchEvent) => HitTestMode) | undefined): this { return this } - public onSizeChange(value: SizeChangeCallback | undefined): this { + onSizeChange(value: SizeChangeCallback | undefined): this { return this } - public accessibilityFocusDrawLevel(value: FocusDrawLevel | undefined): this { + accessibilityFocusDrawLevel(value: FocusDrawLevel | undefined): this { return this } - public customProperty(name: string, value: CustomProperty): this { + customProperty(name: string, value: CustomProperty): this { return this } - public expandSafeArea(types?: Array, edges?: Array): this { + expandSafeArea(types?: Array, edges?: Array): this { return this } - public background(builder: CustomBuilder | undefined, options?: BackgroundOptions): this { + background(builder: CustomBuilder | undefined, options?: BackgroundOptions): this { return this } - public backgroundImage(src: ResourceStr | image.PixelMap | undefined, repeat?: ImageRepeat): this { + backgroundImage(src: ResourceStr | image.PixelMap | undefined, repeat?: ImageRepeat): this { return this } - public backgroundImage(src: ResourceStr | image.PixelMap | undefined, options?: BackgroundImageOptions): this { + backgroundImage(src: ResourceStr | image.PixelMap | undefined, options?: BackgroundImageOptions): this { return this } - public backgroundBlurStyle(style: BlurStyle | undefined, options?: BackgroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this { + backgroundBlurStyle(style: BlurStyle | undefined, options?: BackgroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this { return this } - public backgroundEffect(options: BackgroundEffectOptions | undefined, sysOptions?: SystemAdaptiveOptions): this { + backgroundEffect(options: BackgroundEffectOptions | undefined, sysOptions?: SystemAdaptiveOptions): this { return this } - public foregroundBlurStyle(style: BlurStyle | undefined, options?: ForegroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this { + foregroundBlurStyle(style: BlurStyle | undefined, options?: ForegroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this { return this } - public onClick(event: ((event: ClickEvent) => void) | undefined, distanceThreshold: number | undefined): this { + onClick(event: ((event: ClickEvent) => void) | undefined, distanceThreshold: number | undefined): this { return this } - public focusScopeId(id: string | undefined, isGroup?: boolean, arrowStepOut?: boolean): this { + focusScopeId(id: string | undefined, isGroup?: boolean, arrowStepOut?: boolean): this { return this } - public focusScopePriority(scopeId: string | undefined, priority?: FocusPriority): this { + focusScopePriority(scopeId: string | undefined, priority?: FocusPriority): this { return this } - public transition(effect: TransitionEffect | undefined, onFinish: TransitionFinishCallback | undefined): this { + transition(effect: TransitionEffect | undefined, onFinish: TransitionFinishCallback | undefined): this { return this } - public gesture(gesture: GestureType | undefined, mask?: GestureMask): this { + gesture(gesture: GestureType | undefined, mask?: GestureMask): this { return this } - public priorityGesture(gesture: GestureType | undefined, mask?: GestureMask): this { + priorityGesture(gesture: GestureType | undefined, mask?: GestureMask): this { return this } - public parallelGesture(gesture: GestureType | undefined, mask?: GestureMask): this { + parallelGesture(gesture: GestureType | undefined, mask?: GestureMask): this { return this } - public blur(blurRadius: number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this { + blur(blurRadius: number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this { return this } - public linearGradientBlur(value: number | undefined, options: LinearGradientBlurOptions | undefined): this { + linearGradientBlur(value: number | undefined, options: LinearGradientBlurOptions | undefined): this { return this } - public systemBarEffect(): this { + systemBarEffect(): this { return this } - public useEffect(useEffect: boolean | undefined, effectType: EffectType | undefined): this { + useEffect(useEffect: boolean | undefined, effectType: EffectType | undefined): this { return this } - public backdropBlur(radius: number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this { + backdropBlur(radius: number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this { return this } - public sharedTransition(id: string | undefined, options?: sharedTransitionOptions): this { + sharedTransition(id: string | undefined, options?: sharedTransitionOptions): this { return this } - public chainMode(direction: Axis | undefined, style: ChainStyle | undefined): this { + chainMode(direction: Axis | undefined, style: ChainStyle | undefined): this { return this } - public onDrop(eventCallback: OnDragEventCallback | undefined, dropOptions?: DropOptions): this { + onDrop(eventCallback: OnDragEventCallback | undefined, dropOptions?: DropOptions): this { return this } - public dragPreview(preview: CustomBuilder | DragItemInfo | string | undefined, config?: PreviewConfiguration): this { + dragPreview(preview: CustomBuilder | DragItemInfo | string | undefined, config?: PreviewConfiguration): this { return this } - public dragPreviewOptions(value: DragPreviewOptions | undefined, options?: DragInteractionOptions): this { + dragPreviewOptions(value: DragPreviewOptions | undefined, options?: DragInteractionOptions): this { return this } - public overlay(value: string | CustomBuilder | ComponentContent | undefined, options?: OverlayOptions): this { + overlay(value: string | CustomBuilder | ComponentContent | undefined, options?: OverlayOptions): this { return this } - public blendMode(value: BlendMode | undefined, type?: BlendApplyType): this { + blendMode(value: BlendMode | undefined, type?: BlendApplyType): this { return this } - public advancedBlendMode(effect: BlendMode | uiEffect.Blender, type?: BlendApplyType): this { + advancedBlendMode(effect: BlendMode | uiEffect.Blender, type?: BlendApplyType): this { return this } - public geometryTransition(id: string | undefined, options?: GeometryTransitionOptions): this { + geometryTransition(id: string | undefined, options?: GeometryTransitionOptions): this { return this } - public bindTips(message: TipsMessageType | undefined, options?: TipsOptions): this { + bindTips(message: TipsMessageType | undefined, options?: TipsOptions): this { return this } - public bindPopup(show: boolean | undefined, popup: PopupOptions | CustomPopupOptions | undefined): this { + bindPopup(show: boolean | undefined, popup: PopupOptions | CustomPopupOptions | undefined): this { return this } - public bindMenu(content: Array | CustomBuilder | undefined, options?: MenuOptions): this { + bindMenu(content: Array | CustomBuilder | undefined, options?: MenuOptions): this { return this } - public bindMenu(isShow: boolean | undefined, content: Array | CustomBuilder | undefined, options?: MenuOptions): this { + bindMenu(isShow: boolean | undefined, content: Array | CustomBuilder | undefined, options?: MenuOptions): this { return this } - public bindContextMenu(content: CustomBuilder | undefined, responseType: ResponseType | undefined, options?: ContextMenuOptions): this { + bindContextMenu(content: CustomBuilder | undefined, responseType: ResponseType | undefined, options?: ContextMenuOptions): this { return this } - public bindContextMenu(isShown: boolean | undefined, content: CustomBuilder | undefined, options?: ContextMenuOptions): this { + bindContextMenu(isShown: boolean | undefined, content: CustomBuilder | undefined, options?: ContextMenuOptions): this { return this } - public bindContentCover(isShow: boolean | Bindable | undefined, builder: CustomBuilder | undefined, type?: ModalTransition): this { + bindContentCover(isShow: boolean | Bindable | undefined, builder: CustomBuilder | undefined, type?: ModalTransition): this { return this } - public bindContentCover(isShow: boolean | Bindable | undefined, builder: CustomBuilder | undefined, options?: ContentCoverOptions): this { + bindContentCover(isShow: boolean | Bindable | undefined, builder: CustomBuilder | undefined, options?: ContentCoverOptions): this { return this } - public bindSheet(isShow: boolean | Bindable | undefined, builder: CustomBuilder | undefined, options?: SheetOptions): this { + bindSheet(isShow: boolean | Bindable | undefined, builder: CustomBuilder | undefined, options?: SheetOptions): this { return this } - public onVisibleAreaChange(ratios: Array | undefined, event: VisibleAreaChangeCallback | undefined): this { + onVisibleAreaChange(ratios: Array | undefined, event: VisibleAreaChangeCallback | undefined): this { return this } - public onVisibleAreaApproximateChange(options: VisibleAreaEventOptions | undefined, event: VisibleAreaChangeCallback | undefined): this { + onVisibleAreaApproximateChange(options: VisibleAreaEventOptions | undefined, event: VisibleAreaChangeCallback | undefined): this { return this } - public keyboardShortcut(value: string | FunctionKey | undefined, keys: Array | undefined, action?: (() => void)): this { + keyboardShortcut(value: string | FunctionKey | undefined, keys: Array | undefined, action?: (() => void)): this { return this } - public accessibilityGroup(isGroup: boolean | undefined, accessibilityOptions: AccessibilityOptions | undefined): this { + accessibilityGroup(isGroup: boolean | undefined, config: AccessibilityOptions | undefined): this { return this } - public onGestureRecognizerJudgeBegin(callback_: GestureRecognizerJudgeBeginCallback | undefined, exposeInnerGesture: boolean | undefined): this { + onGestureRecognizerJudgeBegin(callback_: GestureRecognizerJudgeBeginCallback | undefined, exposeInnerGesture: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | undefined): this { @@ -2592,37 +2600,37 @@ export class ArkCommonShapeMethodStyle extends ArkCommonMethodStyle implements C strokeWidth_value?: Length | undefined antiAlias_value?: boolean | undefined strokeDashArray_value?: Array | undefined - public stroke(value: ResourceColor | undefined): this { + stroke(value: ResourceColor | undefined): this { return this } - public fill(value: ResourceColor | undefined): this { + fill(value: ResourceColor | undefined): this { return this } - public strokeDashOffset(value: number | string | undefined): this { + strokeDashOffset(value: number | string | undefined): this { return this } - public strokeLineCap(value: LineCapStyle | undefined): this { + strokeLineCap(value: LineCapStyle | undefined): this { return this } - public strokeLineJoin(value: LineJoinStyle | undefined): this { + strokeLineJoin(value: LineJoinStyle | undefined): this { return this } - public strokeMiterLimit(value: number | string | undefined): this { + strokeMiterLimit(value: number | string | undefined): this { return this } - public strokeOpacity(value: number | string | Resource | undefined): this { + strokeOpacity(value: number | string | Resource | undefined): this { return this } - public fillOpacity(value: number | string | Resource | undefined): this { + fillOpacity(value: number | string | Resource | undefined): this { return this } - public strokeWidth(value: Length | undefined): this { + strokeWidth(value: Length | undefined): this { return this } - public antiAlias(value: boolean | undefined): this { + antiAlias(value: boolean | undefined): this { return this } - public strokeDashArray(value: Array | undefined): this { + strokeDashArray(value: Array | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -2766,52 +2774,52 @@ export interface ScrollableCommonMethod extends CommonMethod { } } export class ArkScrollableCommonMethodStyle extends ArkCommonMethodStyle implements ScrollableCommonMethod { - public scrollBar(value: BarState | undefined): this { + scrollBar(value: BarState | undefined): this { return this } - public scrollBarColor(value: Color | number | string | undefined): this { + scrollBarColor(value: Color | number | string | undefined): this { return this } - public scrollBarWidth(value: number | string | undefined): this { + scrollBarWidth(value: number | string | undefined): this { return this } - public nestedScroll(value: NestedScrollOptions | undefined): this { + nestedScroll(value: NestedScrollOptions | undefined): this { return this } - public enableScrollInteraction(value: boolean | undefined): this { + enableScrollInteraction(value: boolean | undefined): this { return this } - public friction(value: number | Resource | undefined): this { + friction(value: number | Resource | undefined): this { return this } - public onReachStart(value: (() => void) | undefined): this { + onReachStart(value: (() => void) | undefined): this { return this } - public onReachEnd(value: (() => void) | undefined): this { + onReachEnd(value: (() => void) | undefined): this { return this } - public onScrollStart(value: (() => void) | undefined): this { + onScrollStart(value: (() => void) | undefined): this { return this } - public onScrollStop(value: (() => void) | undefined): this { + onScrollStop(value: (() => void) | undefined): this { return this } - public flingSpeedLimit(value: number | undefined): this { + flingSpeedLimit(value: number | undefined): this { return this } - public clipContent(value: ContentClipMode | RectShape | undefined): this { + clipContent(value: ContentClipMode | RectShape | undefined): this { return this } - public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + digitalCrownSensitivity(value: CrownSensitivity | undefined): this { return this } - public backToTop(value: boolean | undefined): this { + backToTop(value: boolean | undefined): this { return this } - public edgeEffect(edgeEffect: EdgeEffect | undefined, options?: EdgeEffectOptions): this { + edgeEffect(edgeEffect: EdgeEffect | undefined, options?: EdgeEffectOptions): this { return this } - public fadingEdge(enabled: boolean | undefined, options?: FadingEdgeOptions): this { + fadingEdge(enabled: boolean | undefined, options?: FadingEdgeOptions): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -2920,7 +2928,7 @@ export declare interface DateRange { end?: Date; } export declare interface TerminationInfo { - code: number; + code: int32; want?: Want; } export type DateTimeOptions = intl.DateTimeOptions; diff --git a/arkoala-arkts/arkui/sdk/component/containerSpan.ets b/arkoala-arkts/arkui/sdk/component/containerSpan.ets index 3145f44af..6f50a7472 100644 --- a/arkoala-arkts/arkui/sdk/component/containerSpan.ets +++ b/arkoala-arkts/arkui/sdk/component/containerSpan.ets @@ -33,7 +33,7 @@ export interface ContainerSpanAttribute { export class ArkContainerSpanStyle implements ContainerSpanAttribute { textBackgroundStyle_value?: TextBackgroundStyle | undefined attributeModifier_value?: AttributeModifier | undefined - public textBackgroundStyle(value: TextBackgroundStyle | undefined): this { + textBackgroundStyle(value: TextBackgroundStyle | undefined): this { return this } public attributeModifier(value: AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/counter.ets b/arkoala-arkts/arkui/sdk/component/counter.ets index 9886e38ea..bafc39e2b 100644 --- a/arkoala-arkts/arkui/sdk/component/counter.ets +++ b/arkoala-arkts/arkui/sdk/component/counter.ets @@ -46,16 +46,16 @@ export class ArkCounterStyle extends ArkCommonMethodStyle implements CounterAttr enableDec_value?: boolean | undefined enableInc_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onInc(value: VoidCallback | undefined): this { + onInc(value: VoidCallback | undefined): this { return this } - public onDec(value: VoidCallback | undefined): this { + onDec(value: VoidCallback | undefined): this { return this } - public enableDec(value: boolean | undefined): this { + enableDec(value: boolean | undefined): this { return this } - public enableInc(value: boolean | undefined): this { + enableInc(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/dataPanel.ets b/arkoala-arkts/arkui/sdk/component/dataPanel.ets index a7bd168a4..ea746682f 100644 --- a/arkoala-arkts/arkui/sdk/component/dataPanel.ets +++ b/arkoala-arkts/arkui/sdk/component/dataPanel.ets @@ -81,22 +81,22 @@ export class ArkDataPanelStyle extends ArkCommonMethodStyle implements DataPanel trackShadow_value?: DataPanelShadowOptions | undefined contentModifier_value?: ContentModifier | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public closeEffect(value: boolean | undefined): this { + closeEffect(value: boolean | undefined): this { return this } - public valueColors(value: Array | undefined): this { + valueColors(value: Array | undefined): this { return this } - public trackBackgroundColor(value: ResourceColor | undefined): this { + trackBackgroundColor(value: ResourceColor | undefined): this { return this } - public strokeWidth(value: Length | undefined): this { + strokeWidth(value: Length | undefined): this { return this } - public trackShadow(value: DataPanelShadowOptions | undefined): this { + trackShadow(value: DataPanelShadowOptions | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/datePicker.ets b/arkoala-arkts/arkui/sdk/component/datePicker.ets index 866bfb39c..0f147b91c 100644 --- a/arkoala-arkts/arkui/sdk/component/datePicker.ets +++ b/arkoala-arkts/arkui/sdk/component/datePicker.ets @@ -78,25 +78,25 @@ export class ArkDatePickerStyle extends ArkCommonMethodStyle implements DatePick digitalCrownSensitivity_value?: CrownSensitivity | undefined enableHapticFeedback_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public lunar(value: boolean | undefined): this { + lunar(value: boolean | undefined): this { return this } - public disappearTextStyle(value: PickerTextStyle | undefined): this { + disappearTextStyle(value: PickerTextStyle | undefined): this { return this } - public textStyle(value: PickerTextStyle | undefined): this { + textStyle(value: PickerTextStyle | undefined): this { return this } - public selectedTextStyle(value: PickerTextStyle | undefined): this { + selectedTextStyle(value: PickerTextStyle | undefined): this { return this } - public onDateChange(value: ((value0: Date) => void) | undefined): this { + onDateChange(value: ((value0: Date) => void) | undefined): this { return this } - public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + digitalCrownSensitivity(value: CrownSensitivity | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/divider.ets b/arkoala-arkts/arkui/sdk/component/divider.ets index eaea25487..e3aa05d6e 100644 --- a/arkoala-arkts/arkui/sdk/component/divider.ets +++ b/arkoala-arkts/arkui/sdk/component/divider.ets @@ -48,16 +48,16 @@ export class ArkDividerStyle extends ArkCommonMethodStyle implements DividerAttr strokeWidth_value?: number | string | undefined lineCap_value?: LineCapStyle | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public vertical(value: boolean | undefined): this { + vertical(value: boolean | undefined): this { return this } - public color(value: ResourceColor | undefined): this { + color(value: ResourceColor | undefined): this { return this } - public strokeWidth(value: number | string | undefined): this { + strokeWidth(value: number | string | undefined): this { return this } - public lineCap(value: LineCapStyle | undefined): this { + lineCap(value: LineCapStyle | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/ellipse.ets b/arkoala-arkts/arkui/sdk/component/ellipse.ets index d8fbed139..679058ae7 100644 --- a/arkoala-arkts/arkui/sdk/component/ellipse.ets +++ b/arkoala-arkts/arkui/sdk/component/ellipse.ets @@ -23,6 +23,8 @@ import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { CommonShapeMethod, CommonMethod, ArkCommonShapeMethodStyle, ArkCommonMethodStyle } from "./common" import { AttributeModifier, AttributeUpdater } from "./../handwritten" export declare interface EllipseOptions { + width?: string | double; + height?: string | double; } export interface EllipseAttribute extends CommonShapeMethod { attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/embeddedComponent.ets b/arkoala-arkts/arkui/sdk/component/embeddedComponent.ets index 19e31f0c9..39a686506 100644 --- a/arkoala-arkts/arkui/sdk/component/embeddedComponent.ets +++ b/arkoala-arkts/arkui/sdk/component/embeddedComponent.ets @@ -40,10 +40,10 @@ export class ArkEmbeddedComponentStyle extends ArkCommonMethodStyle implements E onTerminated_value?: ((value0: TerminationInfo) => void) | undefined onError_value?: ErrorCallback | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onTerminated(value: ((value0: TerminationInfo) => void) | undefined): this { + onTerminated(value: ((value0: TerminationInfo) => void) | undefined): this { return this } - public onError(value: ErrorCallback | undefined): this { + onError(value: ErrorCallback | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -54,7 +54,7 @@ export class ArkEmbeddedComponentStyle extends ArkCommonMethodStyle implements E @memo @ComponentBuilder export function EmbeddedComponent( - loader: Want, type: EmbeddedType, + loader: Want, type?: EmbeddedType, @memo content_?: () => void, ): EmbeddedComponentAttribute { throw new Error("")} diff --git a/arkoala-arkts/arkui/sdk/component/extendableComponent.ets b/arkoala-arkts/arkui/sdk/component/extendableComponent.ets index 4a7c4c5f8..30faf1e01 100644 --- a/arkoala-arkts/arkui/sdk/component/extendableComponent.ets +++ b/arkoala-arkts/arkui/sdk/component/extendableComponent.ets @@ -26,10 +26,9 @@ export declare interface LifeCycle { aboutToAppear(): void aboutToDisappear(): void onDidBuild(): void - @memo build(): void } -export declare abstract class ExtendableComponent implements LifeCycle { +export declare class ExtendableComponent implements LifeCycle { constructor() getUIContext(): UIContext getUniqueId(): int32 diff --git a/arkoala-arkts/arkui/sdk/component/flex.ets b/arkoala-arkts/arkui/sdk/component/flex.ets index 4fb8ef948..526a6d4fe 100644 --- a/arkoala-arkts/arkui/sdk/component/flex.ets +++ b/arkoala-arkts/arkui/sdk/component/flex.ets @@ -22,7 +22,7 @@ import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { FlexDirection, FlexWrap, FlexAlign, ItemAlign } from "./enums" import { LengthMetrics } from "./../Graphics" -import { CommonMethod, PointLightStyle, ArkCommonMethodStyle } from "./common" +import { CommonMethod, ArkCommonMethodStyle } from "./common" import { AttributeModifier, AttributeUpdater } from "./../handwritten" export declare interface FlexOptions { direction?: FlexDirection; @@ -37,19 +37,12 @@ export declare interface FlexSpaceOptions { cross?: LengthMetrics; } export interface FlexAttribute extends CommonMethod { - pointLight(value: PointLightStyle | undefined): this { - throw new Error("Unimplemented method pointLight") - } attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Unimplemented method attributeModifier") } } export class ArkFlexStyle extends ArkCommonMethodStyle implements FlexAttribute { - pointLight_value?: PointLightStyle | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public pointLight(value: PointLightStyle | undefined): this { - return this - } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } diff --git a/arkoala-arkts/arkui/sdk/component/folderStack.ets b/arkoala-arkts/arkui/sdk/component/folderStack.ets index fc034226e..4b50eb210 100644 --- a/arkoala-arkts/arkui/sdk/component/folderStack.ets +++ b/arkoala-arkts/arkui/sdk/component/folderStack.ets @@ -60,19 +60,19 @@ export class ArkFolderStackStyle extends ArkCommonMethodStyle implements FolderS enableAnimation_value?: boolean | undefined autoHalfFold_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public alignContent(value: Alignment | undefined): this { + alignContent(value: Alignment | undefined): this { return this } - public onFolderStateChange(value: OnFoldStatusChangeCallback | undefined): this { + onFolderStateChange(value: OnFoldStatusChangeCallback | undefined): this { return this } - public onHoverStatusChange(value: OnHoverStatusChangeCallback | undefined): this { + onHoverStatusChange(value: OnHoverStatusChangeCallback | undefined): this { return this } - public enableAnimation(value: boolean | undefined): this { + enableAnimation(value: boolean | undefined): this { return this } - public autoHalfFold(value: boolean | undefined): this { + autoHalfFold(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/stateManagement.ets b/arkoala-arkts/arkui/sdk/component/forEach.ets similarity index 86% rename from arkoala-arkts/arkui/sdk/component/stateManagement.ets rename to arkoala-arkts/arkui/sdk/component/forEach.ets index 0de995ece..7268764e3 100644 --- a/arkoala-arkts/arkui/sdk/component/stateManagement.ets +++ b/arkoala-arkts/arkui/sdk/component/forEach.ets @@ -20,13 +20,5 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer } from "@koalaui/interop" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -export enum ColorMode { - LIGHT = 0, - DARK = 1 -} -export enum LayoutDirection { - LTR = 0, - RTL = 1, - AUTO = 2, - Auto = 2 -} +export type ItemGeneratorFunc = (item: T, index: number) => void; +export type KeyGeneratorFunc = (item: T, index: number) => string; diff --git a/arkoala-arkts/arkui/sdk/component/formComponent.ets b/arkoala-arkts/arkui/sdk/component/formComponent.ets index f20a91bd6..d998bdd70 100644 --- a/arkoala-arkts/arkui/sdk/component/formComponent.ets +++ b/arkoala-arkts/arkui/sdk/component/formComponent.ets @@ -118,37 +118,37 @@ export class ArkFormComponentStyle extends ArkCommonMethodStyle implements FormC onLoad_value?: VoidCallback | undefined onUpdate_value?: ((value0: FormCallbackInfo) => void) | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public size(value: FormSize | undefined): this { + size(value: FormSize | undefined): this { return this } - public moduleName(value: string | undefined): this { + moduleName(value: string | undefined): this { return this } - public dimension(value: FormDimension | undefined): this { + dimension(value: FormDimension | undefined): this { return this } - public allowUpdate(value: boolean | undefined): this { + allowUpdate(value: boolean | undefined): this { return this } - public visibility(value: Visibility | undefined): this { + visibility(value: Visibility | undefined): this { return this } - public onAcquired(value: ((value0: FormCallbackInfo) => void) | undefined): this { + onAcquired(value: ((value0: FormCallbackInfo) => void) | undefined): this { return this } - public onError(value: ((value0: ErrorInformation) => void) | undefined): this { + onError(value: ((value0: ErrorInformation) => void) | undefined): this { return this } - public onRouter(value: ((value0: Object) => void) | undefined): this { + onRouter(value: ((value0: Object) => void) | undefined): this { return this } - public onUninstall(value: ((value0: FormCallbackInfo) => void) | undefined): this { + onUninstall(value: ((value0: FormCallbackInfo) => void) | undefined): this { return this } - public onLoad(value: VoidCallback | undefined): this { + onLoad(value: VoidCallback | undefined): this { return this } - public onUpdate(value: ((value0: FormCallbackInfo) => void) | undefined): this { + onUpdate(value: ((value0: FormCallbackInfo) => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/gauge.ets b/arkoala-arkts/arkui/sdk/component/gauge.ets index 6323b2f8a..03435c789 100644 --- a/arkoala-arkts/arkui/sdk/component/gauge.ets +++ b/arkoala-arkts/arkui/sdk/component/gauge.ets @@ -90,34 +90,34 @@ export class ArkGaugeStyle extends ArkCommonMethodStyle implements GaugeAttribut privacySensitive_value?: boolean | undefined contentModifier_value?: ContentModifier | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public value(value: number | undefined): this { + value(value: number | undefined): this { return this } - public startAngle(value: number | undefined): this { + startAngle(value: number | undefined): this { return this } - public endAngle(value: number | undefined): this { + endAngle(value: number | undefined): this { return this } - public colors(value: ResourceColor | LinearGradient | Array<[ ResourceColor | LinearGradient, number ]> | undefined): this { + colors(value: ResourceColor | LinearGradient | Array<[ ResourceColor | LinearGradient, number ]> | undefined): this { return this } - public strokeWidth(value: Length | undefined): this { + strokeWidth(value: Length | undefined): this { return this } - public description(value: CustomBuilder | undefined): this { + description(value: CustomBuilder | undefined): this { return this } - public trackShadow(value: GaugeShadowOptions | undefined): this { + trackShadow(value: GaugeShadowOptions | undefined): this { return this } - public indicator(value: GaugeIndicatorOptions | undefined): this { + indicator(value: GaugeIndicatorOptions | undefined): this { return this } - public privacySensitive(value: boolean | undefined): this { + privacySensitive(value: boolean | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/grid.ets b/arkoala-arkts/arkui/sdk/component/grid.ets index 3af36f9af..c92cfee3d 100644 --- a/arkoala-arkts/arkui/sdk/component/grid.ets +++ b/arkoala-arkts/arkui/sdk/component/grid.ets @@ -20,12 +20,12 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr } from "@koalaui/interop" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { ItemDragInfo, ScrollableCommonMethod, OnItemDragStartCallback, OnWillScrollCallback, OnScrollCallback, CommonMethod, ArkScrollableCommonMethodStyle, ArkCommonMethodStyle } from "./common" +import { ItemDragInfo, ScrollableCommonMethod, OnItemDragStartCallback, NestedScrollOptions, OnWillScrollCallback, OnScrollCallback, CommonMethod, EdgeEffectOptions, ArkScrollableCommonMethodStyle, ArkCommonMethodStyle } from "./common" import { Length } from "./units" import { Resource } from "global.resource" +import { Color, BarState, ScrollSource, EdgeEffect } from "./enums" import { OnScrollFrameBeginCallback, Scroller } from "./scroll" import { ScrollState } from "./list" -import { ScrollSource } from "./enums" import { AttributeModifier, AttributeUpdater } from "./../handwritten" export declare interface GridLayoutOptions { regularSize: [ number, number ]; @@ -64,6 +64,9 @@ export interface GridAttribute extends ScrollableCommonMethod { rowsGap(value: Length | undefined): this { throw new Error("Unimplemented method rowsGap") } + scrollBarWidth(value: number | string | undefined): this + scrollBarColor(value: Color | number | string | undefined): this + scrollBar(value: BarState | undefined): this onScrollBarUpdate(value: ((index: number,offset: number) => ComputedBarAttribute) | undefined): this { throw new Error("Unimplemented method onScrollBarUpdate") } @@ -109,6 +112,9 @@ export interface GridAttribute extends ScrollableCommonMethod { onItemDrop(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void) | undefined): this { throw new Error("Unimplemented method onItemDrop") } + nestedScroll(value: NestedScrollOptions | undefined): this + enableScrollInteraction(value: boolean | undefined): this + friction(value: number | Resource | undefined): this alignItems(value: GridItemAlignment | undefined): this { throw new Error("Unimplemented method alignItems") } @@ -124,6 +130,9 @@ export interface GridAttribute extends ScrollableCommonMethod { cachedCount(count: number | undefined, show: boolean | undefined): this { throw new Error("Unimplemented method cachedCount") } + edgeEffect(value: EdgeEffect | undefined, options?: EdgeEffectOptions): this { + throw new Error("Unimplemented method edgeEffect") + } attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { throw new Error("Unimplemented method attributeModifier") } @@ -133,6 +142,9 @@ export class ArkGridStyle extends ArkScrollableCommonMethodStyle implements Grid rowsTemplate_value?: string | undefined columnsGap_value?: Length | undefined rowsGap_value?: Length | undefined + scrollBarWidth_value?: number | string | undefined + scrollBarColor_value?: Color | number | string | undefined + scrollBar_value?: BarState | undefined onScrollBarUpdate_value?: ((index: number,offset: number) => ComputedBarAttribute) | undefined onScrollIndex_value?: ((first: number,last: number) => void) | undefined cachedCount_value?: number | undefined @@ -148,81 +160,105 @@ export class ArkGridStyle extends ArkScrollableCommonMethodStyle implements Grid onItemDragMove_value?: ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void) | undefined onItemDragLeave_value?: ((event: ItemDragInfo,itemIndex: number) => void) | undefined onItemDrop_value?: ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void) | undefined + nestedScroll_value?: NestedScrollOptions | undefined + enableScrollInteraction_value?: boolean | undefined + friction_value?: number | Resource | undefined alignItems_value?: GridItemAlignment | undefined onScrollFrameBegin_value?: OnScrollFrameBeginCallback | undefined onWillScroll_value?: OnWillScrollCallback | undefined onDidScroll_value?: OnScrollCallback | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public columnsTemplate(value: string | undefined): this { + columnsTemplate(value: string | undefined): this { return this } - public rowsTemplate(value: string | undefined): this { + rowsTemplate(value: string | undefined): this { return this } - public columnsGap(value: Length | undefined): this { + columnsGap(value: Length | undefined): this { return this } - public rowsGap(value: Length | undefined): this { + rowsGap(value: Length | undefined): this { return this } - public onScrollBarUpdate(value: ((index: number,offset: number) => ComputedBarAttribute) | undefined): this { + scrollBarWidth(value: number | string | undefined): this { return this } - public onScrollIndex(value: ((first: number,last: number) => void) | undefined): this { + scrollBarColor(value: Color | number | string | undefined): this { return this } - public cachedCount(value: number | undefined): this { + scrollBar(value: BarState | undefined): this { return this } - public editMode(value: boolean | undefined): this { + onScrollBarUpdate(value: ((index: number,offset: number) => ComputedBarAttribute) | undefined): this { return this } - public multiSelectable(value: boolean | undefined): this { + onScrollIndex(value: ((first: number,last: number) => void) | undefined): this { return this } - public maxCount(value: number | undefined): this { + cachedCount(value: number | undefined): this { return this } - public minCount(value: number | undefined): this { + editMode(value: boolean | undefined): this { return this } - public cellLength(value: number | undefined): this { + multiSelectable(value: boolean | undefined): this { return this } - public layoutDirection(value: GridDirection | undefined): this { + maxCount(value: number | undefined): this { return this } - public supportAnimation(value: boolean | undefined): this { + minCount(value: number | undefined): this { return this } - public onItemDragStart(value: OnItemDragStartCallback | undefined): this { + cellLength(value: number | undefined): this { return this } - public onItemDragEnter(value: ((event: ItemDragInfo) => void) | undefined): this { + layoutDirection(value: GridDirection | undefined): this { return this } - public onItemDragMove(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void) | undefined): this { + supportAnimation(value: boolean | undefined): this { return this } - public onItemDragLeave(value: ((event: ItemDragInfo,itemIndex: number) => void) | undefined): this { + onItemDragStart(value: OnItemDragStartCallback | undefined): this { return this } - public onItemDrop(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void) | undefined): this { + onItemDragEnter(value: ((event: ItemDragInfo) => void) | undefined): this { return this } - public alignItems(value: GridItemAlignment | undefined): this { + onItemDragMove(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void) | undefined): this { return this } - public onScrollFrameBegin(value: OnScrollFrameBeginCallback | undefined): this { + onItemDragLeave(value: ((event: ItemDragInfo,itemIndex: number) => void) | undefined): this { return this } - public onWillScroll(value: OnWillScrollCallback | undefined): this { + onItemDrop(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void) | undefined): this { return this } - public onDidScroll(value: OnScrollCallback | undefined): this { + nestedScroll(value: NestedScrollOptions | undefined): this { + return this + } + enableScrollInteraction(value: boolean | undefined): this { + return this + } + friction(value: number | Resource | undefined): this { + return this + } + alignItems(value: GridItemAlignment | undefined): this { + return this + } + onScrollFrameBegin(value: OnScrollFrameBeginCallback | undefined): this { + return this + } + onWillScroll(value: OnWillScrollCallback | undefined): this { + return this + } + onDidScroll(value: OnScrollCallback | undefined): this { + return this + } + cachedCount(count: number | undefined, show: boolean | undefined): this { return this } - public cachedCount(count: number | undefined, show: boolean | undefined): this { + edgeEffect(value: EdgeEffect | undefined, options?: EdgeEffectOptions): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/gridCol.ets b/arkoala-arkts/arkui/sdk/component/gridCol.ets index a0f0e296c..78aa42d86 100644 --- a/arkoala-arkts/arkui/sdk/component/gridCol.ets +++ b/arkoala-arkts/arkui/sdk/component/gridCol.ets @@ -54,13 +54,13 @@ export class ArkGridColStyle extends ArkCommonMethodStyle implements GridColAttr gridColOffset_value?: number | GridColColumnOption | undefined order_value?: number | GridColColumnOption | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public span(value: number | GridColColumnOption | undefined): this { + span(value: number | GridColColumnOption | undefined): this { return this } - public gridColOffset(value: number | GridColColumnOption | undefined): this { + gridColOffset(value: number | GridColColumnOption | undefined): this { return this } - public order(value: number | GridColColumnOption | undefined): this { + order(value: number | GridColColumnOption | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/gridItem.ets b/arkoala-arkts/arkui/sdk/component/gridItem.ets index 227d6e9de..2512fe777 100644 --- a/arkoala-arkts/arkui/sdk/component/gridItem.ets +++ b/arkoala-arkts/arkui/sdk/component/gridItem.ets @@ -64,25 +64,25 @@ export class ArkGridItemStyle extends ArkCommonMethodStyle implements GridItemAt selected_value?: boolean | Bindable | undefined onSelect_value?: ((isSelected: boolean) => void) | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public rowStart(value: number | undefined): this { + rowStart(value: number | undefined): this { return this } - public rowEnd(value: number | undefined): this { + rowEnd(value: number | undefined): this { return this } - public columnStart(value: number | undefined): this { + columnStart(value: number | undefined): this { return this } - public columnEnd(value: number | undefined): this { + columnEnd(value: number | undefined): this { return this } - public selectable(value: boolean | undefined): this { + selectable(value: boolean | undefined): this { return this } - public selected(value: boolean | Bindable | undefined): this { + selected(value: boolean | Bindable | undefined): this { return this } - public onSelect(value: ((isSelected: boolean) => void) | undefined): this { + onSelect(value: ((isSelected: boolean) => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/gridRow.ets b/arkoala-arkts/arkui/sdk/component/gridRow.ets index 81c03c835..dc76fa2ee 100644 --- a/arkoala-arkts/arkui/sdk/component/gridRow.ets +++ b/arkoala-arkts/arkui/sdk/component/gridRow.ets @@ -82,10 +82,10 @@ export class ArkGridRowStyle extends ArkCommonMethodStyle implements GridRowAttr onBreakpointChange_value?: ((breakpoints: string) => void) | undefined alignItems_value?: ItemAlign | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onBreakpointChange(value: ((breakpoints: string) => void) | undefined): this { + onBreakpointChange(value: ((breakpoints: string) => void) | undefined): this { return this } - public alignItems(value: ItemAlign | undefined): this { + alignItems(value: ItemAlign | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/hyperlink.ets b/arkoala-arkts/arkui/sdk/component/hyperlink.ets index 3b57d712e..5fbdd5c4a 100644 --- a/arkoala-arkts/arkui/sdk/component/hyperlink.ets +++ b/arkoala-arkts/arkui/sdk/component/hyperlink.ets @@ -35,7 +35,7 @@ export interface HyperlinkAttribute extends CommonMethod { export class ArkHyperlinkStyle extends ArkCommonMethodStyle implements HyperlinkAttribute { color_value?: Color | number | string | Resource | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public color(value: Color | number | string | Resource | undefined): this { + color(value: Color | number | string | Resource | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/idlize.ets b/arkoala-arkts/arkui/sdk/component/idlize.ets index 506811296..efee530e1 100644 --- a/arkoala-arkts/arkui/sdk/component/idlize.ets +++ b/arkoala-arkts/arkui/sdk/component/idlize.ets @@ -246,7 +246,7 @@ export declare interface ErrorEvent extends Event { export declare interface MessageEvents extends Event { readonly data: object; } -export type WorkerEventListener = (event: Event) => Promise; +export type WorkerEventListener = (event: Event) => void; export declare interface PostMessageOptions { transfer?: Array; } @@ -422,10 +422,10 @@ export interface CustomLayoutRoot { export class ArkCustomLayoutRootStyle implements CustomLayoutRoot { subscribeOnMeasureSize_value?: Callback_onMeasureSize_SizeResult subscribeOnPlaceChildren_value?: Callback_onPlaceChildren_Void - public subscribeOnMeasureSize(value: Callback_onMeasureSize_SizeResult): this { + subscribeOnMeasureSize(value: Callback_onMeasureSize_SizeResult): this { return this } - public subscribeOnPlaceChildren(value: Callback_onPlaceChildren_Void): this { + subscribeOnPlaceChildren(value: Callback_onPlaceChildren_Void): this { return this } public attributeModifier(value: AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/image.ets b/arkoala-arkts/arkui/sdk/component/image.ets index ae19374b6..6191b048f 100644 --- a/arkoala-arkts/arkui/sdk/component/image.ets +++ b/arkoala-arkts/arkui/sdk/component/image.ets @@ -203,85 +203,85 @@ export class ArkImageStyle extends ArkCommonMethodStyle implements ImageAttribut enhancedImageQuality_value?: image.ResolutionQuality | undefined orientation_value?: ImageRotateOrientation | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public alt(value: string | Resource | image.PixelMap | undefined): this { + alt(value: string | Resource | image.PixelMap | undefined): this { return this } - public matchTextDirection(value: boolean | undefined): this { + matchTextDirection(value: boolean | undefined): this { return this } - public fitOriginalSize(value: boolean | undefined): this { + fitOriginalSize(value: boolean | undefined): this { return this } - public fillColor(value: ResourceColor | ColorContent | ColorMetrics | undefined): this { + fillColor(value: ResourceColor | ColorContent | ColorMetrics | undefined): this { return this } - public objectFit(value: ImageFit | undefined): this { + objectFit(value: ImageFit | undefined): this { return this } - public imageMatrix(value: matrix4.Matrix4Transit | undefined): this { + imageMatrix(value: matrix4.Matrix4Transit | undefined): this { return this } - public objectRepeat(value: ImageRepeat | undefined): this { + objectRepeat(value: ImageRepeat | undefined): this { return this } - public autoResize(value: boolean | undefined): this { + autoResize(value: boolean | undefined): this { return this } - public renderMode(value: ImageRenderMode | undefined): this { + renderMode(value: ImageRenderMode | undefined): this { return this } - public dynamicRangeMode(value: DynamicRangeMode | undefined): this { + dynamicRangeMode(value: DynamicRangeMode | undefined): this { return this } - public interpolation(value: ImageInterpolation | undefined): this { + interpolation(value: ImageInterpolation | undefined): this { return this } - public sourceSize(value: ImageSourceSize | undefined): this { + sourceSize(value: ImageSourceSize | undefined): this { return this } - public syncLoad(value: boolean | undefined): this { + syncLoad(value: boolean | undefined): this { return this } - public colorFilter(value: ColorFilter | drawing.ColorFilter | undefined): this { + colorFilter(value: ColorFilter | drawing.ColorFilter | undefined): this { return this } - public copyOption(value: CopyOptions | undefined): this { + copyOption(value: CopyOptions | undefined): this { return this } - public draggable(value: boolean | undefined): this { + draggable(value: boolean | undefined): this { return this } - public pointLight(value: PointLightStyle | undefined): this { + pointLight(value: PointLightStyle | undefined): this { return this } - public edgeAntialiasing(value: number | undefined): this { + edgeAntialiasing(value: number | undefined): this { return this } - public onComplete(value: ImageOnCompleteCallback | undefined): this { + onComplete(value: ImageOnCompleteCallback | undefined): this { return this } - public onError(value: ImageErrorCallback | undefined): this { + onError(value: ImageErrorCallback | undefined): this { return this } - public onFinish(value: (() => void) | undefined): this { + onFinish(value: (() => void) | undefined): this { return this } - public enableAnalyzer(value: boolean | undefined): this { + enableAnalyzer(value: boolean | undefined): this { return this } - public analyzerConfig(value: ImageAnalyzerConfig | undefined): this { + analyzerConfig(value: ImageAnalyzerConfig | undefined): this { return this } - public resizable(value: ResizableOptions | undefined): this { + resizable(value: ResizableOptions | undefined): this { return this } - public privacySensitive(value: boolean | undefined): this { + privacySensitive(value: boolean | undefined): this { return this } - public enhancedImageQuality(value: image.ResolutionQuality | undefined): this { + enhancedImageQuality(value: image.ResolutionQuality | undefined): this { return this } - public orientation(value: ImageRotateOrientation | undefined): this { + orientation(value: ImageRotateOrientation | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/imageAnimator.ets b/arkoala-arkts/arkui/sdk/component/imageAnimator.ets index 7d5790028..a1cc4d706 100644 --- a/arkoala-arkts/arkui/sdk/component/imageAnimator.ets +++ b/arkoala-arkts/arkui/sdk/component/imageAnimator.ets @@ -92,43 +92,43 @@ export class ArkImageAnimatorStyle extends ArkCommonMethodStyle implements Image onCancel_value?: (() => void) | undefined onFinish_value?: (() => void) | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public images(value: Array | undefined): this { + images(value: Array | undefined): this { return this } - public state(value: AnimationStatus | undefined): this { + state(value: AnimationStatus | undefined): this { return this } - public duration(value: number | undefined): this { + duration(value: number | undefined): this { return this } - public reverse(value: boolean | undefined): this { + reverse(value: boolean | undefined): this { return this } - public fixedSize(value: boolean | undefined): this { + fixedSize(value: boolean | undefined): this { return this } - public fillMode(value: FillMode | undefined): this { + fillMode(value: FillMode | undefined): this { return this } - public iterations(value: number | undefined): this { + iterations(value: number | undefined): this { return this } - public monitorInvisibleArea(value: boolean | undefined): this { + monitorInvisibleArea(value: boolean | undefined): this { return this } - public onStart(value: (() => void) | undefined): this { + onStart(value: (() => void) | undefined): this { return this } - public onPause(value: (() => void) | undefined): this { + onPause(value: (() => void) | undefined): this { return this } - public onRepeat(value: (() => void) | undefined): this { + onRepeat(value: (() => void) | undefined): this { return this } - public onCancel(value: (() => void) | undefined): this { + onCancel(value: (() => void) | undefined): this { return this } - public onFinish(value: (() => void) | undefined): this { + onFinish(value: (() => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/imageSpan.ets b/arkoala-arkts/arkui/sdk/component/imageSpan.ets index 3926734a7..5cb5b0395 100644 --- a/arkoala-arkts/arkui/sdk/component/imageSpan.ets +++ b/arkoala-arkts/arkui/sdk/component/imageSpan.ets @@ -60,22 +60,22 @@ export class ArkImageSpanStyle extends ArkBaseSpanStyle implements ImageSpanAttr onError_value?: ImageErrorCallback | undefined alt_value?: image.PixelMap | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public verticalAlign(value: ImageSpanAlignment | undefined): this { + verticalAlign(value: ImageSpanAlignment | undefined): this { return this } - public colorFilter(value: ColorFilter | drawing.ColorFilter | undefined): this { + colorFilter(value: ColorFilter | drawing.ColorFilter | undefined): this { return this } - public objectFit(value: ImageFit | undefined): this { + objectFit(value: ImageFit | undefined): this { return this } - public onComplete(value: ImageCompleteCallback | undefined): this { + onComplete(value: ImageCompleteCallback | undefined): this { return this } - public onError(value: ImageErrorCallback | undefined): this { + onError(value: ImageErrorCallback | undefined): this { return this } - public alt(value: image.PixelMap | undefined): this { + alt(value: image.PixelMap | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/indicatorcomponent.ets b/arkoala-arkts/arkui/sdk/component/indicatorcomponent.ets index 52d280e67..435e1e327 100644 --- a/arkoala-arkts/arkui/sdk/component/indicatorcomponent.ets +++ b/arkoala-arkts/arkui/sdk/component/indicatorcomponent.ets @@ -59,23 +59,22 @@ export class ArkIndicatorComponentStyle extends ArkCommonMethodStyle implements loop_value?: boolean | undefined vertical_value?: boolean | undefined onChange_value?: ((value0: number) => void) | undefined - attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public initialIndex(value: number | undefined): this { + initialIndex(value: number | undefined): this { return this } - public count(value: number | undefined): this { + count(value: number | undefined): this { return this } - public style(value: DotIndicator | DigitIndicator | undefined): this { + style(value: DotIndicator | DigitIndicator | undefined): this { return this } - public loop(value: boolean | undefined): this { + loop(value: boolean | undefined): this { return this } - public vertical(value: boolean | undefined): this { + vertical(value: boolean | undefined): this { return this } - public onChange(value: ((value0: number) => void) | undefined): this { + onChange(value: ((value0: number) => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/line.ets b/arkoala-arkts/arkui/sdk/component/line.ets index 9ca4403c3..624692fc8 100644 --- a/arkoala-arkts/arkui/sdk/component/line.ets +++ b/arkoala-arkts/arkui/sdk/component/line.ets @@ -29,6 +29,8 @@ export type ShapePoint = [ Length ] export declare interface LineOptions { + width?: string | double; + height?: string | double; } export interface LineAttribute extends CommonShapeMethod { startPoint(value: ShapePoint | undefined): this { @@ -45,10 +47,10 @@ export class ArkLineStyle extends ArkCommonShapeMethodStyle implements LineAttri startPoint_value?: ShapePoint | undefined endPoint_value?: ShapePoint | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public startPoint(value: ShapePoint | undefined): this { + startPoint(value: ShapePoint | undefined): this { return this } - public endPoint(value: ShapePoint | undefined): this { + endPoint(value: ShapePoint | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/linearindicator.ets b/arkoala-arkts/arkui/sdk/component/linearindicator.ets index d29494477..491e8c6f1 100644 --- a/arkoala-arkts/arkui/sdk/component/linearindicator.ets +++ b/arkoala-arkts/arkui/sdk/component/linearindicator.ets @@ -60,13 +60,13 @@ export class ArkLinearIndicatorStyle extends ArkCommonMethodStyle implements Lin indicatorLoop_value?: boolean | undefined onChange_value?: OnLinearIndicatorChangeCallback | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public indicatorStyle(value: LinearIndicatorStyle | undefined): this { + indicatorStyle(value: LinearIndicatorStyle | undefined): this { return this } - public indicatorLoop(value: boolean | undefined): this { + indicatorLoop(value: boolean | undefined): this { return this } - public onChange(value: OnLinearIndicatorChangeCallback | undefined): this { + onChange(value: OnLinearIndicatorChangeCallback | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/list.ets b/arkoala-arkts/arkui/sdk/component/list.ets index d5b8ffaaf..a962b24b2 100644 --- a/arkoala-arkts/arkui/sdk/component/list.ets +++ b/arkoala-arkts/arkui/sdk/component/list.ets @@ -215,85 +215,85 @@ export class ArkListStyle extends ArkScrollableCommonMethodStyle implements List onWillScroll_value?: OnWillScrollCallback | undefined onDidScroll_value?: OnScrollCallback | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public alignListItem(value: ListItemAlign | undefined): this { + alignListItem(value: ListItemAlign | undefined): this { return this } - public listDirection(value: Axis | undefined): this { + listDirection(value: Axis | undefined): this { return this } - public contentStartOffset(value: number | undefined): this { + contentStartOffset(value: number | undefined): this { return this } - public contentEndOffset(value: number | undefined): this { + contentEndOffset(value: number | undefined): this { return this } - public divider(value: ListDividerOptions | undefined): this { + divider(value: ListDividerOptions | undefined): this { return this } - public multiSelectable(value: boolean | undefined): this { + multiSelectable(value: boolean | undefined): this { return this } - public cachedCount(value: number | undefined): this { + cachedCount(value: number | undefined): this { return this } - public chainAnimation(value: boolean | undefined): this { + chainAnimation(value: boolean | undefined): this { return this } - public chainAnimationOptions(value: ChainAnimationOptions | undefined): this { + chainAnimationOptions(value: ChainAnimationOptions | undefined): this { return this } - public sticky(value: StickyStyle | undefined): this { + sticky(value: StickyStyle | undefined): this { return this } - public scrollSnapAlign(value: ScrollSnapAlign | undefined): this { + scrollSnapAlign(value: ScrollSnapAlign | undefined): this { return this } - public childrenMainSize(value: ChildrenMainSize | undefined): this { + childrenMainSize(value: ChildrenMainSize | undefined): this { return this } - public maintainVisibleContentPosition(value: boolean | undefined): this { + maintainVisibleContentPosition(value: boolean | undefined): this { return this } - public stackFromEnd(value: boolean | undefined): this { + stackFromEnd(value: boolean | undefined): this { return this } - public onScrollIndex(value: ((start: number,end: number,center: number) => void) | undefined): this { + onScrollIndex(value: ((start: number,end: number,center: number) => void) | undefined): this { return this } - public onScrollVisibleContentChange(value: OnScrollVisibleContentChangeCallback | undefined): this { + onScrollVisibleContentChange(value: OnScrollVisibleContentChangeCallback | undefined): this { return this } - public onItemMove(value: ((from: number,to: number) => boolean) | undefined): this { + onItemMove(value: ((from: number,to: number) => boolean) | undefined): this { return this } - public onItemDragStart(value: OnItemDragStartCallback | undefined): this { + onItemDragStart(value: OnItemDragStartCallback | undefined): this { return this } - public onItemDragEnter(value: ((event: ItemDragInfo) => void) | undefined): this { + onItemDragEnter(value: ((event: ItemDragInfo) => void) | undefined): this { return this } - public onItemDragMove(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void) | undefined): this { + onItemDragMove(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void) | undefined): this { return this } - public onItemDragLeave(value: ((event: ItemDragInfo,itemIndex: number) => void) | undefined): this { + onItemDragLeave(value: ((event: ItemDragInfo,itemIndex: number) => void) | undefined): this { return this } - public onItemDrop(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void) | undefined): this { + onItemDrop(value: ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void) | undefined): this { return this } - public onScrollFrameBegin(value: OnScrollFrameBeginCallback | undefined): this { + onScrollFrameBegin(value: OnScrollFrameBeginCallback | undefined): this { return this } - public onWillScroll(value: OnWillScrollCallback | undefined): this { + onWillScroll(value: OnWillScrollCallback | undefined): this { return this } - public onDidScroll(value: OnScrollCallback | undefined): this { + onDidScroll(value: OnScrollCallback | undefined): this { return this } - public lanes(value: number | LengthConstrain | undefined, gutter?: Dimension): this { + lanes(value: number | LengthConstrain | undefined, gutter?: Dimension): this { return this } - public cachedCount(count: number | undefined, show: boolean | undefined): this { + cachedCount(count: number | undefined, show: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/listItem.ets b/arkoala-arkts/arkui/sdk/component/listItem.ets index 244f9b7ca..a2aa5219e 100644 --- a/arkoala-arkts/arkui/sdk/component/listItem.ets +++ b/arkoala-arkts/arkui/sdk/component/listItem.ets @@ -82,16 +82,16 @@ export class ArkListItemStyle extends ArkCommonMethodStyle implements ListItemAt swipeAction_value?: SwipeActionOptions | undefined onSelect_value?: ((isSelected: boolean) => void) | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public selectable(value: boolean | undefined): this { + selectable(value: boolean | undefined): this { return this } - public selected(value: boolean | Bindable | undefined): this { + selected(value: boolean | Bindable | undefined): this { return this } - public swipeAction(value: SwipeActionOptions | undefined): this { + swipeAction(value: SwipeActionOptions | undefined): this { return this } - public onSelect(value: ((isSelected: boolean) => void) | undefined): this { + onSelect(value: ((isSelected: boolean) => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/listItemGroup.ets b/arkoala-arkts/arkui/sdk/component/listItemGroup.ets index 27c41636a..4b497c9ed 100644 --- a/arkoala-arkts/arkui/sdk/component/listItemGroup.ets +++ b/arkoala-arkts/arkui/sdk/component/listItemGroup.ets @@ -52,10 +52,10 @@ export class ArkListItemGroupStyle extends ArkCommonMethodStyle implements ListI divider_value?: ListDividerOptions | undefined childrenMainSize_value?: ChildrenMainSize | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public divider(value: ListDividerOptions | undefined): this { + divider(value: ListDividerOptions | undefined): this { return this } - public childrenMainSize(value: ChildrenMainSize | undefined): this { + childrenMainSize(value: ChildrenMainSize | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/loadingProgress.ets b/arkoala-arkts/arkui/sdk/component/loadingProgress.ets index 04f038829..cf98161a1 100644 --- a/arkoala-arkts/arkui/sdk/component/loadingProgress.ets +++ b/arkoala-arkts/arkui/sdk/component/loadingProgress.ets @@ -52,13 +52,13 @@ export class ArkLoadingProgressStyle extends ArkCommonMethodStyle implements Loa enableLoading_value?: boolean | undefined contentModifier_value?: ContentModifier | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public color(value: ResourceColor | undefined): this { + color(value: ResourceColor | undefined): this { return this } - public enableLoading(value: boolean | undefined): this { + enableLoading(value: boolean | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/marquee.ets b/arkoala-arkts/arkui/sdk/component/marquee.ets index 486fd223e..519838a17 100644 --- a/arkoala-arkts/arkui/sdk/component/marquee.ets +++ b/arkoala-arkts/arkui/sdk/component/marquee.ets @@ -75,31 +75,31 @@ export class ArkMarqueeStyle extends ArkCommonMethodStyle implements MarqueeAttr onBounce_value?: (() => void) | undefined onFinish_value?: (() => void) | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public fontSize(value: Length | undefined): this { + fontSize(value: Length | undefined): this { return this } - public allowScale(value: boolean | undefined): this { + allowScale(value: boolean | undefined): this { return this } - public fontWeight(value: number | FontWeight | string | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { return this } - public fontFamily(value: string | Resource | undefined): this { + fontFamily(value: string | Resource | undefined): this { return this } - public marqueeUpdateStrategy(value: MarqueeUpdateStrategy | undefined): this { + marqueeUpdateStrategy(value: MarqueeUpdateStrategy | undefined): this { return this } - public onStart(value: (() => void) | undefined): this { + onStart(value: (() => void) | undefined): this { return this } - public onBounce(value: (() => void) | undefined): this { + onBounce(value: (() => void) | undefined): this { return this } - public onFinish(value: (() => void) | undefined): this { + onFinish(value: (() => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/matrix2d.ets b/arkoala-arkts/arkui/sdk/component/matrix2d.ets index 5cf62ca06..92fcecd74 100644 --- a/arkoala-arkts/arkui/sdk/component/matrix2d.ets +++ b/arkoala-arkts/arkui/sdk/component/matrix2d.ets @@ -24,12 +24,18 @@ import { LengthMetricsUnit } from "./../Graphics" export declare class Matrix2D { constructor() constructor(unit: LengthMetricsUnit) - scaleX?: number | undefined; - rotateY?: number | undefined; - rotateX?: number | undefined; - scaleY?: number | undefined; - translateX?: number | undefined; - translateY?: number | undefined; + get scaleX():number | undefined; + set scaleX(val:number | undefined); + get scaleY():number | undefined; + set scaleY(val:number | undefined); + get rotateX():number | undefined; + set rotateX(val:number | undefined); + get rotateY():number | undefined; + set rotateY(val:number | undefined); + get translateX():number | undefined; + set translateX(val:number | undefined); + get translateY():number | undefined; + set translateY(val:number | undefined); identity(): Matrix2D invert(): Matrix2D rotate(degree: number, rx?: number, ry?: number): Matrix2D diff --git a/arkoala-arkts/arkui/sdk/component/menu.ets b/arkoala-arkts/arkui/sdk/component/menu.ets index b6a7174ea..1999dab9f 100644 --- a/arkoala-arkts/arkui/sdk/component/menu.ets +++ b/arkoala-arkts/arkui/sdk/component/menu.ets @@ -61,22 +61,22 @@ export class ArkMenuStyle extends ArkCommonMethodStyle implements MenuAttribute menuItemGroupDivider_value?: DividerStyleOptions | undefined subMenuExpandingMode_value?: SubMenuExpandingMode | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public font(value: Font | undefined): this { + font(value: Font | undefined): this { return this } - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public radius(value: Dimension | BorderRadiuses | undefined): this { + radius(value: Dimension | BorderRadiuses | undefined): this { return this } - public menuItemDivider(value: DividerStyleOptions | undefined): this { + menuItemDivider(value: DividerStyleOptions | undefined): this { return this } - public menuItemGroupDivider(value: DividerStyleOptions | undefined): this { + menuItemGroupDivider(value: DividerStyleOptions | undefined): this { return this } - public subMenuExpandingMode(value: SubMenuExpandingMode | undefined): this { + subMenuExpandingMode(value: SubMenuExpandingMode | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/menuItem.ets b/arkoala-arkts/arkui/sdk/component/menuItem.ets index df6c8069f..9ea7b2ecf 100644 --- a/arkoala-arkts/arkui/sdk/component/menuItem.ets +++ b/arkoala-arkts/arkui/sdk/component/menuItem.ets @@ -71,25 +71,25 @@ export class ArkMenuItemStyle extends ArkCommonMethodStyle implements MenuItemAt labelFont_value?: Font | undefined labelFontColor_value?: ResourceColor | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public selected(value: boolean | Bindable | undefined): this { + selected(value: boolean | Bindable | undefined): this { return this } - public selectIcon(value: boolean | ResourceStr | SymbolGlyphModifier | undefined): this { + selectIcon(value: boolean | ResourceStr | SymbolGlyphModifier | undefined): this { return this } - public onChange(value: ((selected: boolean) => void) | undefined): this { + onChange(value: ((selected: boolean) => void) | undefined): this { return this } - public contentFont(value: Font | undefined): this { + contentFont(value: Font | undefined): this { return this } - public contentFontColor(value: ResourceColor | undefined): this { + contentFontColor(value: ResourceColor | undefined): this { return this } - public labelFont(value: Font | undefined): this { + labelFont(value: Font | undefined): this { return this } - public labelFontColor(value: ResourceColor | undefined): this { + labelFontColor(value: ResourceColor | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/navDestination.ets b/arkoala-arkts/arkui/sdk/component/navDestination.ets index 0f1da6dd4..0d4c08ec5 100644 --- a/arkoala-arkts/arkui/sdk/component/navDestination.ets +++ b/arkoala-arkts/arkui/sdk/component/navDestination.ets @@ -215,104 +215,103 @@ export class ArkNavDestinationStyle extends ArkCommonMethodStyle implements NavD onNewParam_value?: ((value0: Object | undefined) => void) | undefined preferredOrientation_value?: Orientation | undefined enableNavigationIndicator_value?: boolean | undefined - attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public hideTitleBar(value: boolean | undefined): this { + hideTitleBar(value: boolean | undefined): this { return this } - public hideBackButton(value: boolean | undefined): this { + hideBackButton(value: boolean | undefined): this { return this } - public onShown(value: (() => void) | undefined): this { + onShown(value: (() => void) | undefined): this { return this } - public onHidden(value: (() => void) | undefined): this { + onHidden(value: (() => void) | undefined): this { return this } - public onBackPressed(value: (() => boolean) | undefined): this { + onBackPressed(value: (() => boolean) | undefined): this { return this } - public onResult(value: ((value0: Object | undefined) => void) | undefined): this { + onResult(value: ((value0: Object | undefined) => void) | undefined): this { return this } - public mode(value: NavDestinationMode | undefined): this { + mode(value: NavDestinationMode | undefined): this { return this } - public backButtonIcon(value: ResourceStr | image.PixelMap | SymbolGlyphModifier | undefined): this { + backButtonIcon(value: ResourceStr | image.PixelMap | SymbolGlyphModifier | undefined): this { return this } - public menus(value: Array | CustomBuilder | undefined): this { + menus(value: Array | CustomBuilder | undefined): this { return this } - public onReady(value: ((value0: NavDestinationContext) => void) | undefined): this { + onReady(value: ((value0: NavDestinationContext) => void) | undefined): this { return this } - public onWillAppear(value: (() => void) | undefined): this { + onWillAppear(value: (() => void) | undefined): this { return this } - public onWillDisappear(value: (() => void) | undefined): this { + onWillDisappear(value: (() => void) | undefined): this { return this } - public onWillShow(value: (() => void) | undefined): this { + onWillShow(value: (() => void) | undefined): this { return this } - public onWillHide(value: (() => void) | undefined): this { + onWillHide(value: (() => void) | undefined): this { return this } - public systemBarStyle(value: window.SystemBarStyle | undefined): this { + systemBarStyle(value: window.SystemBarStyle | undefined): this { return this } - public recoverable(value: boolean | undefined): this { + recoverable(value: boolean | undefined): this { return this } - public systemTransition(value: NavigationSystemTransitionType | undefined): this { + systemTransition(value: NavigationSystemTransitionType | undefined): this { return this } - public bindToScrollable(value: Array | undefined): this { + bindToScrollable(value: Array | undefined): this { return this } - public bindToNestedScrollable(value: Array | undefined): this { + bindToNestedScrollable(value: Array | undefined): this { return this } - public onActive(value: ((value0: NavDestinationActiveReason) => void) | undefined): this { + onActive(value: ((value0: NavDestinationActiveReason) => void) | undefined): this { return this } - public onInactive(value: ((value0: NavDestinationActiveReason) => void) | undefined): this { + onInactive(value: ((value0: NavDestinationActiveReason) => void) | undefined): this { return this } - public customTransition(value: NavDestinationTransitionDelegate | undefined): this { + customTransition(value: NavDestinationTransitionDelegate | undefined): this { return this } - public onNewParam(value: ((value0: Object | undefined) => void) | undefined): this { + onNewParam(value: ((value0: Object | undefined) => void) | undefined): this { return this } - public preferredOrientation(value: Orientation | undefined): this { + preferredOrientation(value: Orientation | undefined): this { return this } - public enableNavigationIndicator(value: boolean | undefined): this { + enableNavigationIndicator(value: boolean | undefined): this { return this } - public title(value: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource | undefined, options?: NavigationTitleOptions): this { + title(value: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource | undefined, options?: NavigationTitleOptions): this { return this } - public hideTitleBar(hide: boolean | undefined, animated: boolean | undefined): this { + hideTitleBar(hide: boolean | undefined, animated: boolean | undefined): this { return this } - public backButtonIcon(icon: ResourceStr | image.PixelMap | SymbolGlyphModifier | undefined, accessibilityText?: ResourceStr): this { + backButtonIcon(icon: ResourceStr | image.PixelMap | SymbolGlyphModifier | undefined, accessibilityText?: ResourceStr): this { return this } - public menus(items: Array | CustomBuilder | undefined, options?: NavigationMenuOptions): this { + menus(items: Array | CustomBuilder | undefined, options?: NavigationMenuOptions): this { return this } - public toolbarConfiguration(toolbarParam: Array | CustomBuilder | undefined, options?: NavigationToolbarOptions): this { + toolbarConfiguration(toolbarParam: Array | CustomBuilder | undefined, options?: NavigationToolbarOptions): this { return this } - public hideToolBar(hide: boolean | undefined, animated?: boolean): this { + hideToolBar(hide: boolean | undefined, animated?: boolean): this { return this } - public ignoreLayoutSafeArea(types?: Array, edges?: Array): this { + ignoreLayoutSafeArea(types?: Array, edges?: Array): this { return this } - public enableStatusBar(enabled: boolean | undefined, animated?: boolean): this { + enableStatusBar(enabled: boolean | undefined, animated?: boolean): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/navigation.ets b/arkoala-arkts/arkui/sdk/component/navigation.ets index 5f1dc64ce..9a029c39a 100644 --- a/arkoala-arkts/arkui/sdk/component/navigation.ets +++ b/arkoala-arkts/arkui/sdk/component/navigation.ets @@ -302,92 +302,91 @@ export class ArkNavigationStyle extends ArkCommonMethodStyle implements Navigati recoverable_value?: boolean | undefined enableDragBar_value?: boolean | undefined enableModeChangeAnimation_value?: boolean | undefined - attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public navBarWidth(value: Length | Bindable | undefined): this { + navBarWidth(value: Length | Bindable | undefined): this { return this } - public navBarPosition(value: NavBarPosition | undefined): this { + navBarPosition(value: NavBarPosition | undefined): this { return this } - public navBarWidthRange(value: [ Dimension, Dimension ] | undefined): this { + navBarWidthRange(value: [ Dimension, Dimension ] | undefined): this { return this } - public minContentWidth(value: Dimension | undefined): this { + minContentWidth(value: Dimension | undefined): this { return this } - public mode(value: NavigationMode | undefined): this { + mode(value: NavigationMode | undefined): this { return this } - public backButtonIcon(value: string | image.PixelMap | Resource | SymbolGlyphModifier | undefined): this { + backButtonIcon(value: string | image.PixelMap | Resource | SymbolGlyphModifier | undefined): this { return this } - public hideNavBar(value: boolean | undefined): this { + hideNavBar(value: boolean | undefined): this { return this } - public hideTitleBar(value: boolean | undefined): this { + hideTitleBar(value: boolean | undefined): this { return this } - public hideBackButton(value: boolean | undefined): this { + hideBackButton(value: boolean | undefined): this { return this } - public titleMode(value: NavigationTitleMode | undefined): this { + titleMode(value: NavigationTitleMode | undefined): this { return this } - public menus(value: Array | CustomBuilder | undefined): this { + menus(value: Array | CustomBuilder | undefined): this { return this } - public hideToolBar(value: boolean | undefined): this { + hideToolBar(value: boolean | undefined): this { return this } - public enableToolBarAdaptation(value: boolean | undefined): this { + enableToolBarAdaptation(value: boolean | undefined): this { return this } - public onTitleModeChange(value: ((titleMode: NavigationTitleMode) => void) | undefined): this { + onTitleModeChange(value: ((titleMode: NavigationTitleMode) => void) | undefined): this { return this } - public onNavBarStateChange(value: ((isVisible: boolean) => void) | undefined): this { + onNavBarStateChange(value: ((isVisible: boolean) => void) | undefined): this { return this } - public onNavigationModeChange(value: ((mode: NavigationMode) => void) | undefined): this { + onNavigationModeChange(value: ((mode: NavigationMode) => void) | undefined): this { return this } - public navDestination(value: PageMapBuilder | undefined): this { + navDestination(value: PageMapBuilder | undefined): this { return this } - public customNavContentTransition(value: ((from: NavContentInfo,to: NavContentInfo,operation: NavigationOperation) => NavigationAnimatedTransition | undefined) | undefined): this { + customNavContentTransition(value: ((from: NavContentInfo,to: NavContentInfo,operation: NavigationOperation) => NavigationAnimatedTransition | undefined) | undefined): this { return this } - public systemBarStyle(value: window.SystemBarStyle | undefined): this { + systemBarStyle(value: window.SystemBarStyle | undefined): this { return this } - public recoverable(value: boolean | undefined): this { + recoverable(value: boolean | undefined): this { return this } - public enableDragBar(value: boolean | undefined): this { + enableDragBar(value: boolean | undefined): this { return this } - public enableModeChangeAnimation(value: boolean | undefined): this { + enableModeChangeAnimation(value: boolean | undefined): this { return this } - public backButtonIcon(icon: string | image.PixelMap | Resource | SymbolGlyphModifier | undefined, accessibilityText?: ResourceStr): this { + backButtonIcon(icon: string | image.PixelMap | Resource | SymbolGlyphModifier | undefined, accessibilityText?: ResourceStr): this { return this } - public title(value: ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle | undefined, options?: NavigationTitleOptions): this { + title(value: ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle | undefined, options?: NavigationTitleOptions): this { return this } - public hideTitleBar(hide: boolean | undefined, animated: boolean | undefined): this { + hideTitleBar(hide: boolean | undefined, animated: boolean | undefined): this { return this } - public menus(items: Array | CustomBuilder | undefined, options?: NavigationMenuOptions): this { + menus(items: Array | CustomBuilder | undefined, options?: NavigationMenuOptions): this { return this } - public toolbarConfiguration(value: Array | CustomBuilder | undefined, options?: NavigationToolbarOptions): this { + toolbarConfiguration(value: Array | CustomBuilder | undefined, options?: NavigationToolbarOptions): this { return this } - public hideToolBar(hide: boolean | undefined, animated: boolean | undefined): this { + hideToolBar(hide: boolean | undefined, animated: boolean | undefined): this { return this } - public ignoreLayoutSafeArea(types?: Array, edges?: Array): this { + ignoreLayoutSafeArea(types?: Array, edges?: Array): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -417,13 +416,6 @@ export declare interface NavContentInfo { navDestinationId?: string; } -@memo -@ComponentBuilder -export function Navigation( - - @memo - content_?: () => void, -): NavigationAttribute { throw new Error("")} @memo @ComponentBuilder export function Navigation( diff --git a/arkoala-arkts/arkui/sdk/component/path.ets b/arkoala-arkts/arkui/sdk/component/path.ets index c0bdd4ab8..5484dc673 100644 --- a/arkoala-arkts/arkui/sdk/component/path.ets +++ b/arkoala-arkts/arkui/sdk/component/path.ets @@ -23,14 +23,24 @@ import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { CommonShapeMethod, CommonMethod, ArkCommonShapeMethodStyle, ArkCommonMethodStyle } from "./common" import { AttributeModifier, AttributeUpdater } from "./../handwritten" export declare interface PathOptions { + width?: double | string; + height?: double | string; + commands?: string; } export interface PathAttribute extends CommonShapeMethod { + commands(value: string | undefined): this { + throw new Error("Unimplemented method commands") + } attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { throw new Error("Unimplemented method attributeModifier") } } export class ArkPathStyle extends ArkCommonShapeMethodStyle implements PathAttribute { + commands_value?: string | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined + commands(value: string | undefined): this { + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } diff --git a/arkoala-arkts/arkui/sdk/component/patternLock.ets b/arkoala-arkts/arkui/sdk/component/patternLock.ets index b7a4d8faa..4d611c726 100644 --- a/arkoala-arkts/arkui/sdk/component/patternLock.ets +++ b/arkoala-arkts/arkui/sdk/component/patternLock.ets @@ -98,43 +98,43 @@ export class ArkPatternLockStyle extends ArkCommonMethodStyle implements Pattern activateCircleStyle_value?: CircleStyleOptions | undefined skipUnselectedPoint_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public sideLength(value: Length | undefined): this { + sideLength(value: Length | undefined): this { return this } - public circleRadius(value: Length | undefined): this { + circleRadius(value: Length | undefined): this { return this } - public backgroundColor(value: ResourceColor | undefined): this { + backgroundColor(value: ResourceColor | undefined): this { return this } - public regularColor(value: ResourceColor | undefined): this { + regularColor(value: ResourceColor | undefined): this { return this } - public selectedColor(value: ResourceColor | undefined): this { + selectedColor(value: ResourceColor | undefined): this { return this } - public activeColor(value: ResourceColor | undefined): this { + activeColor(value: ResourceColor | undefined): this { return this } - public pathColor(value: ResourceColor | undefined): this { + pathColor(value: ResourceColor | undefined): this { return this } - public pathStrokeWidth(value: number | string | undefined): this { + pathStrokeWidth(value: number | string | undefined): this { return this } - public onPatternComplete(value: ((input: Array) => void) | undefined): this { + onPatternComplete(value: ((input: Array) => void) | undefined): this { return this } - public autoReset(value: boolean | undefined): this { + autoReset(value: boolean | undefined): this { return this } - public onDotConnect(value: ((value0: number) => void) | undefined): this { + onDotConnect(value: ((value0: number) => void) | undefined): this { return this } - public activateCircleStyle(value: CircleStyleOptions | undefined): this { + activateCircleStyle(value: CircleStyleOptions | undefined): this { return this } - public skipUnselectedPoint(value: boolean | undefined): this { + skipUnselectedPoint(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/pluginComponent.ets b/arkoala-arkts/arkui/sdk/component/pluginComponent.ets index cc030660a..5988ffcae 100644 --- a/arkoala-arkts/arkui/sdk/component/pluginComponent.ets +++ b/arkoala-arkts/arkui/sdk/component/pluginComponent.ets @@ -24,15 +24,16 @@ import { CommonMethod, ArkCommonMethodStyle } from "./common" import { VoidCallback } from "./units" import { AttributeModifier, AttributeUpdater } from "./../handwritten" export declare interface PluginComponentTemplate { - source: string; - bundleName: string; + source: string | undefined; + bundleName: string | undefined; } +export type RecordData = Object | undefined; export declare interface PluginComponentOptions { template: PluginComponentTemplate; - data: Object | undefined; + data: RecordData; } export declare interface PluginErrorData { - errcode: number; + errcode: int32; msg: string; } export type PluginErrorCallback = (info: PluginErrorData) => void; @@ -51,10 +52,10 @@ export class ArkPluginComponentStyle extends ArkCommonMethodStyle implements Plu onComplete_value?: VoidCallback | undefined onError_value?: PluginErrorCallback | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onComplete(value: VoidCallback | undefined): this { + onComplete(value: VoidCallback | undefined): this { return this } - public onError(value: PluginErrorCallback | undefined): this { + onError(value: PluginErrorCallback | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/polygon.ets b/arkoala-arkts/arkui/sdk/component/polygon.ets index e727afa8d..69ac65f83 100644 --- a/arkoala-arkts/arkui/sdk/component/polygon.ets +++ b/arkoala-arkts/arkui/sdk/component/polygon.ets @@ -26,6 +26,8 @@ import { Length } from "./units" import { Resource } from "global.resource" import { AttributeModifier, AttributeUpdater } from "./../handwritten" export declare interface PolygonOptions { + width?: string | double; + height?: string | double; } export interface PolygonAttribute extends CommonShapeMethod { points(value: Array | undefined): this { @@ -38,7 +40,7 @@ export interface PolygonAttribute extends CommonShapeMethod { export class ArkPolygonStyle extends ArkCommonShapeMethodStyle implements PolygonAttribute { points_value?: Array | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public points(value: Array | undefined): this { + points(value: Array | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/polyline.ets b/arkoala-arkts/arkui/sdk/component/polyline.ets index 79085ee32..1c919b3ea 100644 --- a/arkoala-arkts/arkui/sdk/component/polyline.ets +++ b/arkoala-arkts/arkui/sdk/component/polyline.ets @@ -26,6 +26,8 @@ import { Length } from "./units" import { Resource } from "global.resource" import { AttributeModifier, AttributeUpdater } from "./../handwritten" export declare interface PolylineOptions { + width?: string | double; + height?: string | double; } export interface PolylineAttribute extends CommonShapeMethod { points(value: Array | undefined): this { @@ -38,7 +40,7 @@ export interface PolylineAttribute extends CommonShapeMethod { export class ArkPolylineStyle extends ArkCommonShapeMethodStyle implements PolylineAttribute { points_value?: Array | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public points(value: Array | undefined): this { + points(value: Array | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/progress.ets b/arkoala-arkts/arkui/sdk/component/progress.ets index ca7b3f87e..37fc1353e 100644 --- a/arkoala-arkts/arkui/sdk/component/progress.ets +++ b/arkoala-arkts/arkui/sdk/component/progress.ets @@ -124,19 +124,19 @@ export class ArkProgressStyle extends ArkCommonMethodStyle implements ProgressAt privacySensitive_value?: boolean | undefined contentModifier_value?: ContentModifier | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public value(value: number | undefined): this { + value(value: number | undefined): this { return this } - public color(value: ResourceColor | LinearGradient | undefined): this { + color(value: ResourceColor | LinearGradient | undefined): this { return this } - public style(value: LinearStyleOptions | RingStyleOptions | CapsuleStyleOptions | ProgressStyleOptions | undefined): this { + style(value: LinearStyleOptions | RingStyleOptions | CapsuleStyleOptions | ProgressStyleOptions | undefined): this { return this } - public privacySensitive(value: boolean | undefined): this { + privacySensitive(value: boolean | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/qrcode.ets b/arkoala-arkts/arkui/sdk/component/qrcode.ets index 8a46cd35f..65e027ee1 100644 --- a/arkoala-arkts/arkui/sdk/component/qrcode.ets +++ b/arkoala-arkts/arkui/sdk/component/qrcode.ets @@ -42,13 +42,13 @@ export class ArkQRCodeStyle extends ArkCommonMethodStyle implements QRCodeAttrib backgroundColor_value?: ResourceColor | undefined contentOpacity_value?: number | Resource | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public color(value: ResourceColor | undefined): this { + color(value: ResourceColor | undefined): this { return this } - public backgroundColor(value: ResourceColor | undefined): this { + backgroundColor(value: ResourceColor | undefined): this { return this } - public contentOpacity(value: number | Resource | undefined): this { + contentOpacity(value: number | Resource | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/radio.ets b/arkoala-arkts/arkui/sdk/component/radio.ets index 0f31edc35..f08d9f98b 100644 --- a/arkoala-arkts/arkui/sdk/component/radio.ets +++ b/arkoala-arkts/arkui/sdk/component/radio.ets @@ -66,16 +66,16 @@ export class ArkRadioStyle extends ArkCommonMethodStyle implements RadioAttribut radioStyle_value?: RadioStyle | undefined contentModifier_value?: ContentModifier | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public checked(value: boolean | Bindable | undefined): this { + checked(value: boolean | Bindable | undefined): this { return this } - public onChange(value: OnRadioChangeCallback | undefined): this { + onChange(value: OnRadioChangeCallback | undefined): this { return this } - public radioStyle(value: RadioStyle | undefined): this { + radioStyle(value: RadioStyle | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/rating.ets b/arkoala-arkts/arkui/sdk/component/rating.ets index 6c9c7f284..c3ecba599 100644 --- a/arkoala-arkts/arkui/sdk/component/rating.ets +++ b/arkoala-arkts/arkui/sdk/component/rating.ets @@ -68,19 +68,19 @@ export class ArkRatingStyle extends ArkCommonMethodStyle implements RatingAttrib onChange_value?: OnRatingChangeCallback | undefined contentModifier_value?: ContentModifier | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public stars(value: number | undefined): this { + stars(value: number | undefined): this { return this } - public stepSize(value: number | undefined): this { + stepSize(value: number | undefined): this { return this } - public starStyle(value: StarStyleOptions | undefined): this { + starStyle(value: StarStyleOptions | undefined): this { return this } - public onChange(value: OnRatingChangeCallback | undefined): this { + onChange(value: OnRatingChangeCallback | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/rect.ets b/arkoala-arkts/arkui/sdk/component/rect.ets index 1858cd2bf..346404783 100644 --- a/arkoala-arkts/arkui/sdk/component/rect.ets +++ b/arkoala-arkts/arkui/sdk/component/rect.ets @@ -29,14 +29,24 @@ export type RadiusItem = [ Length ] export declare interface RectOptions { - width?: Length; - height?: Length; + width?: double | string; + height?: double | string; radius?: Length | Array; } export declare interface RoundedRectOptions { + width?: double | string; + height?: double | string; + radiusWidth?: double | string; + radiusHeight?: double | string; } export interface RectAttribute extends CommonShapeMethod { - radius(value: number | string | Array | undefined): this { + radiusWidth(value: double | string | undefined): this { + throw new Error("Unimplemented method radiusWidth") + } + radiusHeight(value: double | string | undefined): this { + throw new Error("Unimplemented method radiusHeight") + } + radius(value: Length | Array | undefined): this { throw new Error("Unimplemented method radius") } attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { @@ -44,9 +54,17 @@ export interface RectAttribute extends CommonShapeMethod { } } export class ArkRectStyle extends ArkCommonShapeMethodStyle implements RectAttribute { - radius_value?: number | string | Array | undefined + radiusWidth_value?: double | string | undefined + radiusHeight_value?: double | string | undefined + radius_value?: Length | Array | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public radius(value: number | string | Array | undefined): this { + radiusWidth(value: double | string | undefined): this { + return this + } + radiusHeight(value: double | string | undefined): this { + return this + } + radius(value: Length | Array | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/refresh.ets b/arkoala-arkts/arkui/sdk/component/refresh.ets index de3ba6923..53ed077ef 100644 --- a/arkoala-arkts/arkui/sdk/component/refresh.ets +++ b/arkoala-arkts/arkui/sdk/component/refresh.ets @@ -75,22 +75,22 @@ export class ArkRefreshStyle extends ArkCommonMethodStyle implements RefreshAttr onOffsetChange_value?: ((value0: number) => void) | undefined pullDownRatio_value?: number | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onStateChange(value: ((state: RefreshStatus) => void) | undefined): this { + onStateChange(value: ((state: RefreshStatus) => void) | undefined): this { return this } - public onRefreshing(value: (() => void) | undefined): this { + onRefreshing(value: (() => void) | undefined): this { return this } - public refreshOffset(value: number | undefined): this { + refreshOffset(value: number | undefined): this { return this } - public pullToRefresh(value: boolean | undefined): this { + pullToRefresh(value: boolean | undefined): this { return this } - public onOffsetChange(value: ((value0: number) => void) | undefined): this { + onOffsetChange(value: ((value0: number) => void) | undefined): this { return this } - public pullDownRatio(value: number | undefined): this { + pullDownRatio(value: number | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/relativeContainer.ets b/arkoala-arkts/arkui/sdk/component/relativeContainer.ets index 7904cfe96..fab3bb15d 100644 --- a/arkoala-arkts/arkui/sdk/component/relativeContainer.ets +++ b/arkoala-arkts/arkui/sdk/component/relativeContainer.ets @@ -71,10 +71,10 @@ export class ArkRelativeContainerStyle extends ArkCommonMethodStyle implements R guideLine_value?: Array | undefined barrier_value?: Array | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public guideLine(value: Array | undefined): this { + guideLine(value: Array | undefined): this { return this } - public barrier(value: Array | undefined): this { + barrier(value: Array | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/richEditor.ets b/arkoala-arkts/arkui/sdk/component/richEditor.ets index 2c886da2c..f1349f01e 100644 --- a/arkoala-arkts/arkui/sdk/component/richEditor.ets +++ b/arkoala-arkts/arkui/sdk/component/richEditor.ets @@ -423,103 +423,103 @@ export class ArkRichEditorStyle extends ArkCommonMethodStyle implements RichEdit keyboardAppearance_value?: KeyboardAppearance | undefined stopBackPress_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onReady(value: VoidCallback | undefined): this { + onReady(value: VoidCallback | undefined): this { return this } - public onSelect(value: ((value0: RichEditorSelection) => void) | undefined): this { + onSelect(value: ((value0: RichEditorSelection) => void) | undefined): this { return this } - public onSelectionChange(value: ((value0: RichEditorRange) => void) | undefined): this { + onSelectionChange(value: ((value0: RichEditorRange) => void) | undefined): this { return this } - public aboutToIMEInput(value: ((value0: RichEditorInsertValue) => boolean) | undefined): this { + aboutToIMEInput(value: ((value0: RichEditorInsertValue) => boolean) | undefined): this { return this } - public onIMEInputComplete(value: ((value0: RichEditorTextSpanResult) => void) | undefined): this { + onIMEInputComplete(value: ((value0: RichEditorTextSpanResult) => void) | undefined): this { return this } - public onDidIMEInput(value: ((value0: TextRange) => void) | undefined): this { + onDidIMEInput(value: ((value0: TextRange) => void) | undefined): this { return this } - public aboutToDelete(value: ((value0: RichEditorDeleteValue) => boolean) | undefined): this { + aboutToDelete(value: ((value0: RichEditorDeleteValue) => boolean) | undefined): this { return this } - public onDeleteComplete(value: VoidCallback | undefined): this { + onDeleteComplete(value: VoidCallback | undefined): this { return this } - public copyOptions(value: CopyOptions | undefined): this { + copyOptions(value: CopyOptions | undefined): this { return this } - public onPaste(value: PasteEventCallback | undefined): this { + onPaste(value: PasteEventCallback | undefined): this { return this } - public enableDataDetector(value: boolean | undefined): this { + enableDataDetector(value: boolean | undefined): this { return this } - public enablePreviewText(value: boolean | undefined): this { + enablePreviewText(value: boolean | undefined): this { return this } - public dataDetectorConfig(value: TextDataDetectorConfig | undefined): this { + dataDetectorConfig(value: TextDataDetectorConfig | undefined): this { return this } - public caretColor(value: ResourceColor | undefined): this { + caretColor(value: ResourceColor | undefined): this { return this } - public selectedBackgroundColor(value: ResourceColor | undefined): this { + selectedBackgroundColor(value: ResourceColor | undefined): this { return this } - public onEditingChange(value: ((value0: boolean) => void) | undefined): this { + onEditingChange(value: ((value0: boolean) => void) | undefined): this { return this } - public enterKeyType(value: EnterKeyType | undefined): this { + enterKeyType(value: EnterKeyType | undefined): this { return this } - public onSubmit(value: SubmitCallback | undefined): this { + onSubmit(value: SubmitCallback | undefined): this { return this } - public onWillChange(value: ((value0: RichEditorChangeValue) => boolean) | undefined): this { + onWillChange(value: ((value0: RichEditorChangeValue) => boolean) | undefined): this { return this } - public onDidChange(value: OnDidChangeCallback | undefined): this { + onDidChange(value: OnDidChangeCallback | undefined): this { return this } - public onCut(value: ((value0: CutEvent) => void) | undefined): this { + onCut(value: ((value0: CutEvent) => void) | undefined): this { return this } - public onCopy(value: ((value0: CopyEvent) => void) | undefined): this { + onCopy(value: ((value0: CopyEvent) => void) | undefined): this { return this } - public editMenuOptions(value: EditMenuOptions | undefined): this { + editMenuOptions(value: EditMenuOptions | undefined): this { return this } - public enableKeyboardOnFocus(value: boolean | undefined): this { + enableKeyboardOnFocus(value: boolean | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public barState(value: BarState | undefined): this { + barState(value: BarState | undefined): this { return this } - public maxLength(value: number | undefined): this { + maxLength(value: number | undefined): this { return this } - public maxLines(value: number | undefined): this { + maxLines(value: number | undefined): this { return this } - public keyboardAppearance(value: KeyboardAppearance | undefined): this { + keyboardAppearance(value: KeyboardAppearance | undefined): this { return this } - public stopBackPress(value: boolean | undefined): this { + stopBackPress(value: boolean | undefined): this { return this } - public bindSelectionMenu(spanType: RichEditorSpanType | undefined, content: CustomBuilder | undefined, responseType: ResponseType | RichEditorResponseType | undefined, options?: SelectionMenuOptions): this { + bindSelectionMenu(spanType: RichEditorSpanType | undefined, content: CustomBuilder | undefined, responseType: ResponseType | RichEditorResponseType | undefined, options?: SelectionMenuOptions): this { return this } - public customKeyboard(value: CustomBuilder | undefined, options?: KeyboardOptions): this { + customKeyboard(value: CustomBuilder | undefined, options?: KeyboardOptions): this { return this } - public placeholder(value: ResourceStr | undefined, style?: PlaceholderStyle): this { + placeholder(value: ResourceStr | undefined, style?: PlaceholderStyle): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -544,14 +544,7 @@ export type OnHoverCallback = (status: boolean, event: HoverEvent) => void; @memo @ComponentBuilder export function RichEditor( - value: RichEditorOptions, - @memo - content_?: () => void, -): RichEditorAttribute { throw new Error("")} -@memo -@ComponentBuilder -export function RichEditor( - options: RichEditorStyledStringOptions, + options: RichEditorOptions | RichEditorStyledStringOptions, @memo content_?: () => void, ): RichEditorAttribute { throw new Error("")} diff --git a/arkoala-arkts/arkui/sdk/component/richText.ets b/arkoala-arkts/arkui/sdk/component/richText.ets index 45befc8c8..5dc3a50ca 100644 --- a/arkoala-arkts/arkui/sdk/component/richText.ets +++ b/arkoala-arkts/arkui/sdk/component/richText.ets @@ -37,10 +37,10 @@ export class ArkRichTextStyle extends ArkCommonMethodStyle implements RichTextAt onStart_value?: (() => void) | undefined onComplete_value?: (() => void) | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onStart(value: (() => void) | undefined): this { + onStart(value: (() => void) | undefined): this { return this } - public onComplete(value: (() => void) | undefined): this { + onComplete(value: (() => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/row.ets b/arkoala-arkts/arkui/sdk/component/row.ets index 442c44996..fd11d1a80 100644 --- a/arkoala-arkts/arkui/sdk/component/row.ets +++ b/arkoala-arkts/arkui/sdk/component/row.ets @@ -20,7 +20,7 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr } from "@koalaui/interop" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { CommonMethod, PointLightStyle, ArkCommonMethodStyle } from "./common" +import { CommonMethod, ArkCommonMethodStyle } from "./common" import { VerticalAlign, FlexAlign } from "./enums" import { AttributeModifier, AttributeUpdater } from "./../handwritten" export declare interface RowOptions { @@ -36,9 +36,6 @@ export interface RowAttribute extends CommonMethod { justifyContent(value: FlexAlign | undefined): this { throw new Error("Unimplemented method justifyContent") } - pointLight(value: PointLightStyle | undefined): this { - throw new Error("Unimplemented method pointLight") - } reverse(value: boolean | undefined): this { throw new Error("Unimplemented method reverse") } @@ -49,19 +46,15 @@ export interface RowAttribute extends CommonMethod { export class ArkRowStyle extends ArkCommonMethodStyle implements RowAttribute { alignItems_value?: VerticalAlign | undefined justifyContent_value?: FlexAlign | undefined - pointLight_value?: PointLightStyle | undefined reverse_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public alignItems(value: VerticalAlign | undefined): this { - return this - } - public justifyContent(value: FlexAlign | undefined): this { + alignItems(value: VerticalAlign | undefined): this { return this } - public pointLight(value: PointLightStyle | undefined): this { + justifyContent(value: FlexAlign | undefined): this { return this } - public reverse(value: boolean | undefined): this { + reverse(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/rowSplit.ets b/arkoala-arkts/arkui/sdk/component/rowSplit.ets index 3c829bd10..f42fe11e5 100644 --- a/arkoala-arkts/arkui/sdk/component/rowSplit.ets +++ b/arkoala-arkts/arkui/sdk/component/rowSplit.ets @@ -33,7 +33,7 @@ export interface RowSplitAttribute extends CommonMethod { export class ArkRowSplitStyle extends ArkCommonMethodStyle implements RowSplitAttribute { resizeable_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public resizeable(value: boolean | undefined): this { + resizeable(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/scroll.ets b/arkoala-arkts/arkui/sdk/component/scroll.ets index c9cda4889..5e80f8736 100644 --- a/arkoala-arkts/arkui/sdk/component/scroll.ets +++ b/arkoala-arkts/arkui/sdk/component/scroll.ets @@ -152,55 +152,55 @@ export class ArkScrollStyle extends ArkScrollableCommonMethodStyle implements Sc enablePaging_value?: boolean | undefined initialOffset_value?: OffsetOptions | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public scrollable(value: ScrollDirection | undefined): this { + scrollable(value: ScrollDirection | undefined): this { return this } - public onWillScroll(value: ScrollOnWillScrollCallback | undefined): this { + onWillScroll(value: ScrollOnWillScrollCallback | undefined): this { return this } - public onDidScroll(value: ScrollOnScrollCallback | undefined): this { + onDidScroll(value: ScrollOnScrollCallback | undefined): this { return this } - public onScrollEdge(value: OnScrollEdgeCallback | undefined): this { + onScrollEdge(value: OnScrollEdgeCallback | undefined): this { return this } - public onScrollStart(value: VoidCallback | undefined): this { + onScrollStart(value: VoidCallback | undefined): this { return this } - public onScrollStop(value: VoidCallback | undefined): this { + onScrollStop(value: VoidCallback | undefined): this { return this } - public scrollBar(value: BarState | undefined): this { + scrollBar(value: BarState | undefined): this { return this } - public scrollBarColor(value: Color | number | string | undefined): this { + scrollBarColor(value: Color | number | string | undefined): this { return this } - public scrollBarWidth(value: number | string | undefined): this { + scrollBarWidth(value: number | string | undefined): this { return this } - public onScrollFrameBegin(value: OnScrollFrameBeginCallback | undefined): this { + onScrollFrameBegin(value: OnScrollFrameBeginCallback | undefined): this { return this } - public nestedScroll(value: NestedScrollOptions | undefined): this { + nestedScroll(value: NestedScrollOptions | undefined): this { return this } - public enableScrollInteraction(value: boolean | undefined): this { + enableScrollInteraction(value: boolean | undefined): this { return this } - public friction(value: number | Resource | undefined): this { + friction(value: number | Resource | undefined): this { return this } - public scrollSnap(value: ScrollSnapOptions | undefined): this { + scrollSnap(value: ScrollSnapOptions | undefined): this { return this } - public enablePaging(value: boolean | undefined): this { + enablePaging(value: boolean | undefined): this { return this } - public initialOffset(value: OffsetOptions | undefined): this { + initialOffset(value: OffsetOptions | undefined): this { return this } - public edgeEffect(edgeEffect: EdgeEffect | undefined, options?: EdgeEffectOptions): this { + edgeEffect(edgeEffect: EdgeEffect | undefined, options?: EdgeEffectOptions): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/scrollBar.ets b/arkoala-arkts/arkui/sdk/component/scrollBar.ets index 18c07f3e0..4d6ba4d16 100644 --- a/arkoala-arkts/arkui/sdk/component/scrollBar.ets +++ b/arkoala-arkts/arkui/sdk/component/scrollBar.ets @@ -46,7 +46,7 @@ export interface ScrollBarAttribute extends CommonMethod { export class ArkScrollBarStyle extends ArkCommonMethodStyle implements ScrollBarAttribute { enableNestedScroll_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public enableNestedScroll(value: boolean | undefined): this { + enableNestedScroll(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/search.ets b/arkoala-arkts/arkui/sdk/component/search.ets index f6c425eb0..8845ccf72 100644 --- a/arkoala-arkts/arkui/sdk/component/search.ets +++ b/arkoala-arkts/arkui/sdk/component/search.ets @@ -207,7 +207,7 @@ export interface SearchAttribute extends CommonMethod { keyboardAppearance(value: KeyboardAppearance | undefined): this { throw new Error("Unimplemented method keyboardAppearance") } - searchButton(value: ResourceStr | undefined, option?: SearchButtonOptions): this { + searchButton(value: string | undefined, option?: SearchButtonOptions): this { throw new Error("Unimplemented method searchButton") } inputFilter(value: ResourceStr | undefined, error?: ((value0: string) => void)): this { @@ -266,145 +266,145 @@ export class ArkSearchStyle extends ArkCommonMethodStyle implements SearchAttrib onWillChange_value?: ((value0: EditableTextChangeValue) => boolean) | undefined keyboardAppearance_value?: KeyboardAppearance | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public searchIcon(value: IconOptions | SymbolGlyphModifier | undefined): this { + searchIcon(value: IconOptions | SymbolGlyphModifier | undefined): this { return this } - public cancelButton(value: CancelButtonOptions | CancelButtonSymbolOptions | undefined): this { + cancelButton(value: CancelButtonOptions | CancelButtonSymbolOptions | undefined): this { return this } - public textIndent(value: Dimension | undefined): this { + textIndent(value: Dimension | undefined): this { return this } - public onEditChange(value: ((value0: boolean) => void) | undefined): this { + onEditChange(value: ((value0: boolean) => void) | undefined): this { return this } - public selectedBackgroundColor(value: ResourceColor | undefined): this { + selectedBackgroundColor(value: ResourceColor | undefined): this { return this } - public caretStyle(value: CaretStyle | undefined): this { + caretStyle(value: CaretStyle | undefined): this { return this } - public placeholderColor(value: ResourceColor | undefined): this { + placeholderColor(value: ResourceColor | undefined): this { return this } - public placeholderFont(value: Font | undefined): this { + placeholderFont(value: Font | undefined): this { return this } - public textFont(value: Font | undefined): this { + textFont(value: Font | undefined): this { return this } - public enterKeyType(value: EnterKeyType | undefined): this { + enterKeyType(value: EnterKeyType | undefined): this { return this } - public onSubmit(value: ((value0: string) => void) | SearchSubmitCallback | undefined): this { + onSubmit(value: ((value0: string) => void) | SearchSubmitCallback | undefined): this { return this } - public onChange(value: EditableTextOnChangeCallback | undefined): this { + onChange(value: EditableTextOnChangeCallback | undefined): this { return this } - public onTextSelectionChange(value: OnTextSelectionChangeCallback | undefined): this { + onTextSelectionChange(value: OnTextSelectionChangeCallback | undefined): this { return this } - public onContentScroll(value: OnContentScrollCallback | undefined): this { + onContentScroll(value: OnContentScrollCallback | undefined): this { return this } - public onCopy(value: ((value0: string) => void) | undefined): this { + onCopy(value: ((value0: string) => void) | undefined): this { return this } - public onCut(value: ((value0: string) => void) | undefined): this { + onCut(value: ((value0: string) => void) | undefined): this { return this } - public onPaste(value: OnPasteCallback | undefined): this { + onPaste(value: OnPasteCallback | undefined): this { return this } - public copyOption(value: CopyOptions | undefined): this { + copyOption(value: CopyOptions | undefined): this { return this } - public maxLength(value: number | undefined): this { + maxLength(value: number | undefined): this { return this } - public textAlign(value: TextAlign | undefined): this { + textAlign(value: TextAlign | undefined): this { return this } - public enableKeyboardOnFocus(value: boolean | undefined): this { + enableKeyboardOnFocus(value: boolean | undefined): this { return this } - public selectionMenuHidden(value: boolean | undefined): this { + selectionMenuHidden(value: boolean | undefined): this { return this } - public minFontSize(value: number | string | Resource | undefined): this { + minFontSize(value: number | string | Resource | undefined): this { return this } - public maxFontSize(value: number | string | Resource | undefined): this { + maxFontSize(value: number | string | Resource | undefined): this { return this } - public minFontScale(value: number | Resource | undefined): this { + minFontScale(value: number | Resource | undefined): this { return this } - public maxFontScale(value: number | Resource | undefined): this { + maxFontScale(value: number | Resource | undefined): this { return this } - public decoration(value: TextDecorationOptions | undefined): this { + decoration(value: TextDecorationOptions | undefined): this { return this } - public letterSpacing(value: number | string | Resource | undefined): this { + letterSpacing(value: number | string | Resource | undefined): this { return this } - public lineHeight(value: number | string | Resource | undefined): this { + lineHeight(value: number | string | Resource | undefined): this { return this } - public type(value: SearchType | undefined): this { + type(value: SearchType | undefined): this { return this } - public fontFeature(value: string | undefined): this { + fontFeature(value: string | undefined): this { return this } - public onWillInsert(value: ((value0: InsertValue) => boolean) | undefined): this { + onWillInsert(value: ((value0: InsertValue) => boolean) | undefined): this { return this } - public onDidInsert(value: ((value0: InsertValue) => void) | undefined): this { + onDidInsert(value: ((value0: InsertValue) => void) | undefined): this { return this } - public onWillDelete(value: ((value0: DeleteValue) => boolean) | undefined): this { + onWillDelete(value: ((value0: DeleteValue) => boolean) | undefined): this { return this } - public onDidDelete(value: ((value0: DeleteValue) => void) | undefined): this { + onDidDelete(value: ((value0: DeleteValue) => void) | undefined): this { return this } - public editMenuOptions(value: EditMenuOptions | undefined): this { + editMenuOptions(value: EditMenuOptions | undefined): this { return this } - public enablePreviewText(value: boolean | undefined): this { + enablePreviewText(value: boolean | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public autoCapitalizationMode(value: AutoCapitalizationMode | undefined): this { + autoCapitalizationMode(value: AutoCapitalizationMode | undefined): this { return this } - public halfLeading(value: boolean | undefined): this { + halfLeading(value: boolean | undefined): this { return this } - public stopBackPress(value: boolean | undefined): this { + stopBackPress(value: boolean | undefined): this { return this } - public onWillChange(value: ((value0: EditableTextChangeValue) => boolean) | undefined): this { + onWillChange(value: ((value0: EditableTextChangeValue) => boolean) | undefined): this { return this } - public keyboardAppearance(value: KeyboardAppearance | undefined): this { + keyboardAppearance(value: KeyboardAppearance | undefined): this { return this } - public searchButton(value: ResourceStr | undefined, option?: SearchButtonOptions): this { + searchButton(value: string | undefined, option?: SearchButtonOptions): this { return this } - public inputFilter(value: ResourceStr | undefined, error?: ((value0: string) => void)): this { + inputFilter(value: ResourceStr | undefined, error?: ((value0: string) => void)): this { return this } - public customKeyboard(value: CustomBuilder | undefined, options?: KeyboardOptions): this { + customKeyboard(value: CustomBuilder | undefined, options?: KeyboardOptions): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/select.ets b/arkoala-arkts/arkui/sdk/component/select.ets index c10729f92..3b2229109 100644 --- a/arkoala-arkts/arkui/sdk/component/select.ets +++ b/arkoala-arkts/arkui/sdk/component/select.ets @@ -134,6 +134,7 @@ export interface SelectAttribute extends CommonMethod { menuOutline(value: MenuOutlineOptions | undefined): this { throw new Error("Unimplemented method menuOutline") } + backgroundColor(value: ResourceColor | undefined): this menuAlign(alignType: MenuAlignType | undefined, offset?: Offset): this { throw new Error("Unimplemented method menuAlign") } @@ -170,88 +171,92 @@ export class ArkSelectStyle extends ArkCommonMethodStyle implements SelectAttrib avoidance_value?: AvoidanceMode | undefined menuOutline_value?: MenuOutlineOptions | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public selected(value: number | Resource | Bindable | Bindable | undefined): this { + backgroundColor_value?: ResourceColor | undefined + selected(value: number | Resource | Bindable | Bindable | undefined): this { return this } - public value(value: ResourceStr | Bindable | Bindable | undefined): this { + value(value: ResourceStr | Bindable | Bindable | undefined): this { return this } - public font(value: Font | undefined): this { + font(value: Font | undefined): this { return this } - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public selectedOptionBgColor(value: ResourceColor | undefined): this { + selectedOptionBgColor(value: ResourceColor | undefined): this { return this } - public selectedOptionFont(value: Font | undefined): this { + selectedOptionFont(value: Font | undefined): this { return this } - public selectedOptionFontColor(value: ResourceColor | undefined): this { + selectedOptionFontColor(value: ResourceColor | undefined): this { return this } - public optionBgColor(value: ResourceColor | undefined): this { + optionBgColor(value: ResourceColor | undefined): this { return this } - public optionFont(value: Font | undefined): this { + optionFont(value: Font | undefined): this { return this } - public optionFontColor(value: ResourceColor | undefined): this { + optionFontColor(value: ResourceColor | undefined): this { return this } - public onSelect(value: OnSelectCallback | undefined): this { + onSelect(value: OnSelectCallback | undefined): this { return this } - public space(value: Length | undefined): this { + space(value: Length | undefined): this { + return this + } + arrowPosition(value: ArrowPosition | undefined): this { return this } - public arrowPosition(value: ArrowPosition | undefined): this { + optionWidth(value: Dimension | OptionWidthMode | undefined): this { return this } - public optionWidth(value: Dimension | OptionWidthMode | undefined): this { + optionHeight(value: Dimension | undefined): this { return this } - public optionHeight(value: Dimension | undefined): this { + menuBackgroundColor(value: ResourceColor | undefined): this { return this } - public menuBackgroundColor(value: ResourceColor | undefined): this { + menuBackgroundBlurStyle(value: BlurStyle | undefined): this { return this } - public menuBackgroundBlurStyle(value: BlurStyle | undefined): this { + controlSize(value: ControlSize | undefined): this { return this } - public controlSize(value: ControlSize | undefined): this { + menuItemContentModifier(value: ContentModifier | undefined): this { return this } - public menuItemContentModifier(value: ContentModifier | undefined): this { + divider(value: DividerOptions | undefined): this { return this } - public divider(value: DividerOptions | undefined): this { + textModifier(value: TextModifier | undefined): this { return this } - public textModifier(value: TextModifier | undefined): this { + arrowModifier(value: SymbolGlyphModifier | undefined): this { return this } - public arrowModifier(value: SymbolGlyphModifier | undefined): this { + optionTextModifier(value: TextModifier | undefined): this { return this } - public optionTextModifier(value: TextModifier | undefined): this { + selectedOptionTextModifier(value: TextModifier | undefined): this { return this } - public selectedOptionTextModifier(value: TextModifier | undefined): this { + dividerStyle(value: DividerStyleOptions | undefined): this { return this } - public dividerStyle(value: DividerStyleOptions | undefined): this { + avoidance(value: AvoidanceMode | undefined): this { return this } - public avoidance(value: AvoidanceMode | undefined): this { + menuOutline(value: MenuOutlineOptions | undefined): this { return this } - public menuOutline(value: MenuOutlineOptions | undefined): this { + backgroundColor(value: ResourceColor | undefined): this { return this } - public menuAlign(alignType: MenuAlignType | undefined, offset?: Offset): this { + menuAlign(alignType: MenuAlignType | undefined, offset?: Offset): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/shape.ets b/arkoala-arkts/arkui/sdk/component/shape.ets index 10046ddba..89a44d272 100644 --- a/arkoala-arkts/arkui/sdk/component/shape.ets +++ b/arkoala-arkts/arkui/sdk/component/shape.ets @@ -20,17 +20,17 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr } from "@koalaui/interop" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -import { Length, ResourceColor } from "./units" -import { Resource } from "global.resource" import { CommonMethod, ArkCommonMethodStyle } from "./common" +import { ResourceColor, Length } from "./units" import { Color, LineCapStyle, LineJoinStyle } from "./enums" +import { Resource } from "global.resource" import { AttributeModifier, extractors, AttributeUpdater } from "./../handwritten" import { image } from "@ohos.multimedia.image" export declare interface ViewportRect { - x?: Length; - y?: Length; - width?: Length; - height?: Length; + x?: double | string; + y?: double | string; + width?: double | string; + height?: double | string; } export interface ShapeAttribute extends CommonMethod { viewPort(value: ViewportRect | undefined): this { @@ -42,7 +42,7 @@ export interface ShapeAttribute extends CommonMethod { fill(value: ResourceColor | undefined): this { throw new Error("Unimplemented method fill") } - strokeDashOffset(value: Length | undefined): this { + strokeDashOffset(value: double | string | undefined): this { throw new Error("Unimplemented method strokeDashOffset") } strokeDashArray(value: Array | undefined): this { @@ -54,22 +54,22 @@ export interface ShapeAttribute extends CommonMethod { strokeLineJoin(value: LineJoinStyle | undefined): this { throw new Error("Unimplemented method strokeLineJoin") } - strokeMiterLimit(value: Length | undefined): this { + strokeMiterLimit(value: double | string | undefined): this { throw new Error("Unimplemented method strokeMiterLimit") } - strokeOpacity(value: number | string | Resource | undefined): this { + strokeOpacity(value: double | string | Resource | undefined): this { throw new Error("Unimplemented method strokeOpacity") } - fillOpacity(value: number | string | Resource | undefined): this { + fillOpacity(value: double | string | Resource | undefined): this { throw new Error("Unimplemented method fillOpacity") } - strokeWidth(value: Length | undefined): this { + strokeWidth(value: double | string | undefined): this { throw new Error("Unimplemented method strokeWidth") } antiAlias(value: boolean | undefined): this { throw new Error("Unimplemented method antiAlias") } - mesh(value: Array | undefined, column: number | undefined, row: number | undefined): this { + mesh(value: Array | undefined, column: int32 | undefined, row: int32 | undefined): this { throw new Error("Unimplemented method mesh") } attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -80,53 +80,53 @@ export class ArkShapeStyle extends ArkCommonMethodStyle implements ShapeAttribut viewPort_value?: ViewportRect | undefined stroke_value?: ResourceColor | undefined fill_value?: ResourceColor | undefined - strokeDashOffset_value?: Length | undefined + strokeDashOffset_value?: double | string | undefined strokeDashArray_value?: Array | undefined strokeLineCap_value?: LineCapStyle | undefined strokeLineJoin_value?: LineJoinStyle | undefined - strokeMiterLimit_value?: Length | undefined - strokeOpacity_value?: number | string | Resource | undefined - fillOpacity_value?: number | string | Resource | undefined - strokeWidth_value?: Length | undefined + strokeMiterLimit_value?: double | string | undefined + strokeOpacity_value?: double | string | Resource | undefined + fillOpacity_value?: double | string | Resource | undefined + strokeWidth_value?: double | string | undefined antiAlias_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public viewPort(value: ViewportRect | undefined): this { + viewPort(value: ViewportRect | undefined): this { return this } - public stroke(value: ResourceColor | undefined): this { + stroke(value: ResourceColor | undefined): this { return this } - public fill(value: ResourceColor | undefined): this { + fill(value: ResourceColor | undefined): this { return this } - public strokeDashOffset(value: Length | undefined): this { + strokeDashOffset(value: double | string | undefined): this { return this } - public strokeDashArray(value: Array | undefined): this { + strokeDashArray(value: Array | undefined): this { return this } - public strokeLineCap(value: LineCapStyle | undefined): this { + strokeLineCap(value: LineCapStyle | undefined): this { return this } - public strokeLineJoin(value: LineJoinStyle | undefined): this { + strokeLineJoin(value: LineJoinStyle | undefined): this { return this } - public strokeMiterLimit(value: Length | undefined): this { + strokeMiterLimit(value: double | string | undefined): this { return this } - public strokeOpacity(value: number | string | Resource | undefined): this { + strokeOpacity(value: double | string | Resource | undefined): this { return this } - public fillOpacity(value: number | string | Resource | undefined): this { + fillOpacity(value: double | string | Resource | undefined): this { return this } - public strokeWidth(value: Length | undefined): this { + strokeWidth(value: double | string | undefined): this { return this } - public antiAlias(value: boolean | undefined): this { + antiAlias(value: boolean | undefined): this { return this } - public mesh(value: Array | undefined, column: number | undefined, row: number | undefined): this { + mesh(value: Array | undefined, column: int32 | undefined, row: int32 | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/sidebar.ets b/arkoala-arkts/arkui/sdk/component/sidebar.ets index 3c1b63baa..31c79d85b 100644 --- a/arkoala-arkts/arkui/sdk/component/sidebar.ets +++ b/arkoala-arkts/arkui/sdk/component/sidebar.ets @@ -63,7 +63,7 @@ export interface SideBarContainerAttribute extends CommonMethod { onChange(value: ((value: boolean) => void) | undefined): this { throw new Error("Unimplemented method onChange") } - sideBarWidth(value: number | Bindable | undefined): this { + sideBarWidth(value: Length | Bindable | undefined): this { throw new Error("Unimplemented method sideBarWidth") } minSideBarWidth(value: number | undefined): this { @@ -72,9 +72,6 @@ export interface SideBarContainerAttribute extends CommonMethod { maxSideBarWidth(value: number | undefined): this { throw new Error("Unimplemented method maxSideBarWidth") } - sideBarWidth(value: Length | undefined): this { - throw new Error("Unimplemented method sideBarWidth") - } minSideBarWidth(value: Length | undefined): this { throw new Error("Unimplemented method minSideBarWidth") } @@ -102,54 +99,50 @@ export class ArkSideBarContainerStyle extends ArkCommonMethodStyle implements Si controlButton_value?: ButtonStyle | undefined showControlButton_value?: boolean | undefined onChange_value?: ((value: boolean) => void) | undefined - sideBarWidth_value?: number | Bindable | undefined + sideBarWidth_value?: Length | Bindable | undefined minSideBarWidth_value?: number | undefined maxSideBarWidth_value?: number | undefined autoHide_value?: boolean | undefined sideBarPosition_value?: SideBarPosition | undefined divider_value?: DividerStyle | undefined minContentWidth_value?: Dimension | undefined - attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public showSideBar(value: boolean | Bindable | undefined): this { - return this - } - public controlButton(value: ButtonStyle | undefined): this { + showSideBar(value: boolean | Bindable | undefined): this { return this } - public showControlButton(value: boolean | undefined): this { + controlButton(value: ButtonStyle | undefined): this { return this } - public onChange(value: ((value: boolean) => void) | undefined): this { + showControlButton(value: boolean | undefined): this { return this } - public sideBarWidth(value: number | Bindable | undefined): this { + onChange(value: ((value: boolean) => void) | undefined): this { return this } - public minSideBarWidth(value: number | undefined): this { + sideBarWidth(value: Length | Bindable | undefined): this { return this } - public maxSideBarWidth(value: number | undefined): this { + minSideBarWidth(value: number | undefined): this { return this } - public sideBarWidth(value: Length | undefined): this { + maxSideBarWidth(value: number | undefined): this { return this } - public minSideBarWidth(value: Length | undefined): this { + minSideBarWidth(value: Length | undefined): this { return this } - public maxSideBarWidth(value: Length | undefined): this { + maxSideBarWidth(value: Length | undefined): this { return this } - public autoHide(value: boolean | undefined): this { + autoHide(value: boolean | undefined): this { return this } - public sideBarPosition(value: SideBarPosition | undefined): this { + sideBarPosition(value: SideBarPosition | undefined): this { return this } - public divider(value: DividerStyle | undefined): this { + divider(value: DividerStyle | undefined): this { return this } - public minContentWidth(value: Dimension | undefined): this { + minContentWidth(value: Dimension | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/slider.ets b/arkoala-arkts/arkui/sdk/component/slider.ets index 418e99944..dda2dbdd1 100644 --- a/arkoala-arkts/arkui/sdk/component/slider.ets +++ b/arkoala-arkts/arkui/sdk/component/slider.ets @@ -168,67 +168,67 @@ export class ArkSliderStyle extends ArkCommonMethodStyle implements SliderAttrib digitalCrownSensitivity_value?: CrownSensitivity | undefined enableHapticFeedback_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public blockColor(value: ResourceColor | undefined): this { + blockColor(value: ResourceColor | undefined): this { return this } - public trackColor(value: ResourceColor | LinearGradient | undefined): this { + trackColor(value: ResourceColor | LinearGradient | undefined): this { return this } - public selectedColor(value: ResourceColor | LinearGradient | undefined): this { + selectedColor(value: ResourceColor | LinearGradient | undefined): this { return this } - public showSteps(value: boolean | undefined): this { + showSteps(value: boolean | undefined): this { return this } - public trackThickness(value: Length | undefined): this { + trackThickness(value: Length | undefined): this { return this } - public onChange(value: ((value: number,mode: SliderChangeMode) => void) | undefined): this { + onChange(value: ((value: number,mode: SliderChangeMode) => void) | undefined): this { return this } - public blockBorderColor(value: ResourceColor | undefined): this { + blockBorderColor(value: ResourceColor | undefined): this { return this } - public blockBorderWidth(value: Length | undefined): this { + blockBorderWidth(value: Length | undefined): this { return this } - public stepColor(value: ResourceColor | undefined): this { + stepColor(value: ResourceColor | undefined): this { return this } - public trackBorderRadius(value: Length | undefined): this { + trackBorderRadius(value: Length | undefined): this { return this } - public selectedBorderRadius(value: Dimension | undefined): this { + selectedBorderRadius(value: Dimension | undefined): this { return this } - public blockSize(value: SizeOptions | undefined): this { + blockSize(value: SizeOptions | undefined): this { return this } - public blockStyle(value: SliderBlockStyle | undefined): this { + blockStyle(value: SliderBlockStyle | undefined): this { return this } - public stepSize(value: Length | undefined): this { + stepSize(value: Length | undefined): this { return this } - public sliderInteractionMode(value: SliderInteraction | undefined): this { + sliderInteractionMode(value: SliderInteraction | undefined): this { return this } - public minResponsiveDistance(value: number | undefined): this { + minResponsiveDistance(value: number | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } - public slideRange(value: SlideRange | undefined): this { + slideRange(value: SlideRange | undefined): this { return this } - public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + digitalCrownSensitivity(value: CrownSensitivity | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public showTips(value: boolean | undefined, content?: ResourceStr): this { + showTips(value: boolean | undefined, content?: ResourceStr): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/span.ets b/arkoala-arkts/arkui/sdk/component/span.ets index fb04d1a94..7cad422a6 100644 --- a/arkoala-arkts/arkui/sdk/component/span.ets +++ b/arkoala-arkts/arkui/sdk/component/span.ets @@ -45,10 +45,10 @@ export interface BaseSpan extends CommonMethod { export class ArkBaseSpanStyle extends ArkCommonMethodStyle implements BaseSpan { textBackgroundStyle_value?: TextBackgroundStyle | undefined baselineOffset_value?: LengthMetrics | undefined - public textBackgroundStyle(value: TextBackgroundStyle | undefined): this { + textBackgroundStyle(value: TextBackgroundStyle | undefined): this { return this } - public baselineOffset(value: LengthMetrics | undefined): this { + baselineOffset(value: LengthMetrics | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -106,37 +106,37 @@ export class ArkSpanStyle extends ArkBaseSpanStyle implements SpanAttribute { lineHeight_value?: Length | undefined textShadow_value?: ShadowOptions | Array | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public font(value: Font | undefined): this { + font(value: Font | undefined): this { return this } - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public fontSize(value: number | string | Resource | undefined): this { + fontSize(value: number | string | Resource | undefined): this { return this } - public fontStyle(value: FontStyle | undefined): this { + fontStyle(value: FontStyle | undefined): this { return this } - public fontWeight(value: number | FontWeight | string | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { return this } - public fontFamily(value: string | Resource | undefined): this { + fontFamily(value: string | Resource | undefined): this { return this } - public decoration(value: DecorationStyleInterface | undefined): this { + decoration(value: DecorationStyleInterface | undefined): this { return this } - public letterSpacing(value: number | string | undefined): this { + letterSpacing(value: number | string | undefined): this { return this } - public textCase(value: TextCase | undefined): this { + textCase(value: TextCase | undefined): this { return this } - public lineHeight(value: Length | undefined): this { + lineHeight(value: Length | undefined): this { return this } - public textShadow(value: ShadowOptions | Array | undefined): this { + textShadow(value: ShadowOptions | Array | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/stack.ets b/arkoala-arkts/arkui/sdk/component/stack.ets index 05dac281a..5deb06cdc 100644 --- a/arkoala-arkts/arkui/sdk/component/stack.ets +++ b/arkoala-arkts/arkui/sdk/component/stack.ets @@ -21,7 +21,7 @@ import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr } from "@koalaui/int import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { Alignment } from "./enums" -import { CommonMethod, PointLightStyle, ArkCommonMethodStyle } from "./common" +import { CommonMethod, ArkCommonMethodStyle } from "./common" import { AttributeModifier, AttributeUpdater } from "./../handwritten" export declare interface StackOptions { alignContent?: Alignment; @@ -30,21 +30,14 @@ export interface StackAttribute extends CommonMethod { alignContent(value: Alignment | undefined): this { throw new Error("Unimplemented method alignContent") } - pointLight(value: PointLightStyle | undefined): this { - throw new Error("Unimplemented method pointLight") - } attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Unimplemented method attributeModifier") } } export class ArkStackStyle extends ArkCommonMethodStyle implements StackAttribute { alignContent_value?: Alignment | undefined - pointLight_value?: PointLightStyle | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public alignContent(value: Alignment | undefined): this { - return this - } - public pointLight(value: PointLightStyle | undefined): this { + alignContent(value: Alignment | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/stepper.ets b/arkoala-arkts/arkui/sdk/component/stepper.ets index a78cad62a..754780e3e 100644 --- a/arkoala-arkts/arkui/sdk/component/stepper.ets +++ b/arkoala-arkts/arkui/sdk/component/stepper.ets @@ -51,20 +51,19 @@ export class ArkStepperStyle extends ArkCommonMethodStyle implements StepperAttr onChange_value?: ((prevIndex: number,index: number) => void) | undefined onNext_value?: ((prevIndex: number,index: number) => void) | undefined onPrevious_value?: ((prevIndex: number,index: number) => void) | undefined - attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onFinish(value: (() => void) | undefined): this { + onFinish(value: (() => void) | undefined): this { return this } - public onSkip(value: (() => void) | undefined): this { + onSkip(value: (() => void) | undefined): this { return this } - public onChange(value: ((prevIndex: number,index: number) => void) | undefined): this { + onChange(value: ((prevIndex: number,index: number) => void) | undefined): this { return this } - public onNext(value: ((prevIndex: number,index: number) => void) | undefined): this { + onNext(value: ((prevIndex: number,index: number) => void) | undefined): this { return this } - public onPrevious(value: ((prevIndex: number,index: number) => void) | undefined): this { + onPrevious(value: ((prevIndex: number,index: number) => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/stepperItem.ets b/arkoala-arkts/arkui/sdk/component/stepperItem.ets index 1b773af05..f9e4e45bf 100644 --- a/arkoala-arkts/arkui/sdk/component/stepperItem.ets +++ b/arkoala-arkts/arkui/sdk/component/stepperItem.ets @@ -50,14 +50,13 @@ export class ArkStepperItemStyle extends ArkCommonMethodStyle implements Stepper prevLabel_value?: string | undefined nextLabel_value?: string | undefined status_value?: ItemState | undefined - attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public prevLabel(value: string | undefined): this { + prevLabel(value: string | undefined): this { return this } - public nextLabel(value: string | undefined): this { + nextLabel(value: string | undefined): this { return this } - public status(value: ItemState | undefined): this { + status(value: ItemState | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/styledString.ets b/arkoala-arkts/arkui/sdk/component/styledString.ets index 467b8fbac..0e274a093 100644 --- a/arkoala-arkts/arkui/sdk/component/styledString.ets +++ b/arkoala-arkts/arkui/sdk/component/styledString.ets @@ -47,8 +47,8 @@ export declare class StyledString { static unmarshalling(buffer: ArrayBuffer, callback_?: StyledStringUnmarshallCallback): Promise } export declare interface StyleOptions { - start?: number; - length?: number; + start?: int32; + length?: int32; styledKey: StyledStringKey; styledValue: StyledStringValue; } diff --git a/arkoala-arkts/arkui/sdk/component/swiper.ets b/arkoala-arkts/arkui/sdk/component/swiper.ets index ad333d7f8..f310ea423 100644 --- a/arkoala-arkts/arkui/sdk/component/swiper.ets +++ b/arkoala-arkts/arkui/sdk/component/swiper.ets @@ -196,95 +196,94 @@ export class ArkSwiperStyle extends ArkCommonMethodStyle implements SwiperAttrib indicatorInteractive_value?: boolean | undefined pageFlipMode_value?: PageFlipMode | undefined onContentWillScroll_value?: ContentWillScrollCallback | undefined - attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public index(value: number | Bindable | undefined): this { + index(value: number | Bindable | undefined): this { return this } - public interval(value: number | undefined): this { + interval(value: number | undefined): this { return this } - public indicator(value: IndicatorComponentController | DotIndicator | DigitIndicator | boolean | undefined): this { + indicator(value: IndicatorComponentController | DotIndicator | DigitIndicator | boolean | undefined): this { return this } - public loop(value: boolean | undefined): this { + loop(value: boolean | undefined): this { return this } - public duration(value: number | undefined): this { + duration(value: number | undefined): this { return this } - public vertical(value: boolean | undefined): this { + vertical(value: boolean | undefined): this { return this } - public itemSpace(value: number | string | undefined): this { + itemSpace(value: number | string | undefined): this { return this } - public displayMode(value: SwiperDisplayMode | undefined): this { + displayMode(value: SwiperDisplayMode | undefined): this { return this } - public cachedCount(value: number | undefined): this { + cachedCount(value: number | undefined): this { return this } - public effectMode(value: EdgeEffect | undefined): this { + effectMode(value: EdgeEffect | undefined): this { return this } - public disableSwipe(value: boolean | undefined): this { + disableSwipe(value: boolean | undefined): this { return this } - public curve(value: curves.Curve | string | curves.ICurve | undefined): this { + curve(value: curves.Curve | string | curves.ICurve | undefined): this { return this } - public onChange(value: ((value0: number) => void) | undefined): this { + onChange(value: ((value0: number) => void) | undefined): this { return this } - public onSelected(value: ((value0: number) => void) | undefined): this { + onSelected(value: ((value0: number) => void) | undefined): this { return this } - public onUnselected(value: ((value0: number) => void) | undefined): this { + onUnselected(value: ((value0: number) => void) | undefined): this { return this } - public onAnimationStart(value: OnSwiperAnimationStartCallback | undefined): this { + onAnimationStart(value: OnSwiperAnimationStartCallback | undefined): this { return this } - public onAnimationEnd(value: OnSwiperAnimationEndCallback | undefined): this { + onAnimationEnd(value: OnSwiperAnimationEndCallback | undefined): this { return this } - public onGestureSwipe(value: OnSwiperGestureSwipeCallback | undefined): this { + onGestureSwipe(value: OnSwiperGestureSwipeCallback | undefined): this { return this } - public nestedScroll(value: SwiperNestedScrollMode | undefined): this { + nestedScroll(value: SwiperNestedScrollMode | undefined): this { return this } - public customContentTransition(value: SwiperContentAnimatedTransition | undefined): this { + customContentTransition(value: SwiperContentAnimatedTransition | undefined): this { return this } - public onContentDidScroll(value: ContentDidScrollCallback | undefined): this { + onContentDidScroll(value: ContentDidScrollCallback | undefined): this { return this } - public indicatorInteractive(value: boolean | undefined): this { + indicatorInteractive(value: boolean | undefined): this { return this } - public pageFlipMode(value: PageFlipMode | undefined): this { + pageFlipMode(value: PageFlipMode | undefined): this { return this } - public onContentWillScroll(value: ContentWillScrollCallback | undefined): this { + onContentWillScroll(value: ContentWillScrollCallback | undefined): this { return this } - public autoPlay(autoPlay: boolean | undefined, options: AutoPlayOptions | undefined): this { + autoPlay(autoPlay: boolean | undefined, options: AutoPlayOptions | undefined): this { return this } - public displayArrow(value: ArrowStyle | boolean | undefined, isHoverShow?: boolean): this { + displayArrow(value: ArrowStyle | boolean | undefined, isHoverShow?: boolean): this { return this } - public cachedCount(count: number | undefined, isShown: boolean | undefined): this { + cachedCount(count: number | undefined, isShown: boolean | undefined): this { return this } - public displayCount(value: number | string | SwiperAutoFill | undefined, swipeByGroup?: boolean): this { + displayCount(value: number | string | SwiperAutoFill | undefined, swipeByGroup?: boolean): this { return this } - public prevMargin(value: Length | undefined, ignoreBlank?: boolean): this { + prevMargin(value: Length | undefined, ignoreBlank?: boolean): this { return this } - public nextMargin(value: Length | undefined, ignoreBlank?: boolean): this { + nextMargin(value: Length | undefined, ignoreBlank?: boolean): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/symbolSpan.ets b/arkoala-arkts/arkui/sdk/component/symbolSpan.ets index 1d9eaa3ae..8e1863358 100644 --- a/arkoala-arkts/arkui/sdk/component/symbolSpan.ets +++ b/arkoala-arkts/arkui/sdk/component/symbolSpan.ets @@ -53,19 +53,19 @@ export class ArkSymbolSpanStyle extends ArkCommonMethodStyle implements SymbolSp effectStrategy_value?: SymbolEffectStrategy | undefined renderingStrategy_value?: SymbolRenderingStrategy | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public fontSize(value: number | string | Resource | undefined): this { + fontSize(value: number | string | Resource | undefined): this { return this } - public fontColor(value: Array | undefined): this { + fontColor(value: Array | undefined): this { return this } - public fontWeight(value: number | FontWeight | string | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { return this } - public effectStrategy(value: SymbolEffectStrategy | undefined): this { + effectStrategy(value: SymbolEffectStrategy | undefined): this { return this } - public renderingStrategy(value: SymbolRenderingStrategy | undefined): this { + renderingStrategy(value: SymbolRenderingStrategy | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/symbolglyph.ets b/arkoala-arkts/arkui/sdk/component/symbolglyph.ets index 14b897b35..014c49e0e 100644 --- a/arkoala-arkts/arkui/sdk/component/symbolglyph.ets +++ b/arkoala-arkts/arkui/sdk/component/symbolglyph.ets @@ -76,6 +76,9 @@ export declare class ReplaceSymbolEffect extends SymbolEffect { constructor(scope: EffectScope | undefined) scope?: EffectScope | undefined; } +export declare class PulseSymbolEffect extends SymbolEffect { + constructor() +} export interface SymbolGlyphAttribute extends CommonMethod { fontSize(value: number | string | Resource | undefined): this { throw new Error("Unimplemented method fontSize") @@ -114,28 +117,28 @@ export class ArkSymbolGlyphStyle extends ArkCommonMethodStyle implements SymbolG minFontScale_value?: number | Resource | undefined maxFontScale_value?: number | Resource | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public fontSize(value: number | string | Resource | undefined): this { + fontSize(value: number | string | Resource | undefined): this { return this } - public fontColor(value: Array | undefined): this { + fontColor(value: Array | undefined): this { return this } - public fontWeight(value: number | FontWeight | string | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { return this } - public effectStrategy(value: SymbolEffectStrategy | undefined): this { + effectStrategy(value: SymbolEffectStrategy | undefined): this { return this } - public renderingStrategy(value: SymbolRenderingStrategy | undefined): this { + renderingStrategy(value: SymbolRenderingStrategy | undefined): this { return this } - public minFontScale(value: number | Resource | undefined): this { + minFontScale(value: number | Resource | undefined): this { return this } - public maxFontScale(value: number | Resource | undefined): this { + maxFontScale(value: number | Resource | undefined): this { return this } - public symbolEffect(symbolEffect: SymbolEffect | undefined, triggerValue?: boolean | number): this { + symbolEffect(symbolEffect: SymbolEffect | undefined, triggerValue?: boolean | number): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/tabContent.ets b/arkoala-arkts/arkui/sdk/component/tabContent.ets index 3f4ee3d6c..dc2f8c438 100644 --- a/arkoala-arkts/arkui/sdk/component/tabContent.ets +++ b/arkoala-arkts/arkui/sdk/component/tabContent.ets @@ -93,13 +93,13 @@ export class ArkTabContentStyle extends ArkCommonMethodStyle implements TabConte onWillShow_value?: VoidCallback | undefined onWillHide_value?: VoidCallback | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public tabBar(value: ComponentContent | SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions | undefined): this { + tabBar(value: ComponentContent | SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions | undefined): this { return this } - public onWillShow(value: VoidCallback | undefined): this { + onWillShow(value: VoidCallback | undefined): this { return this } - public onWillHide(value: VoidCallback | undefined): this { + onWillHide(value: VoidCallback | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/tabs.ets b/arkoala-arkts/arkui/sdk/component/tabs.ets index 7507165f6..85818b204 100644 --- a/arkoala-arkts/arkui/sdk/component/tabs.ets +++ b/arkoala-arkts/arkui/sdk/component/tabs.ets @@ -202,88 +202,88 @@ export class ArkTabsStyle extends ArkCommonMethodStyle implements TabsAttribute barBackgroundEffect_value?: BackgroundEffectOptions | undefined onContentWillChange_value?: OnTabsContentWillChangeCallback | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public vertical(value: boolean | undefined): this { + vertical(value: boolean | undefined): this { return this } - public barPosition(value: BarPosition | undefined): this { + barPosition(value: BarPosition | undefined): this { return this } - public scrollable(value: boolean | undefined): this { + scrollable(value: boolean | undefined): this { return this } - public barWidth(value: Length | undefined): this { + barWidth(value: Length | undefined): this { return this } - public barHeight(value: Length | undefined): this { + barHeight(value: Length | undefined): this { return this } - public animationDuration(value: number | undefined): this { + animationDuration(value: number | undefined): this { return this } - public animationMode(value: AnimationMode | undefined): this { + animationMode(value: AnimationMode | undefined): this { return this } - public edgeEffect(value: EdgeEffect | undefined): this { + edgeEffect(value: EdgeEffect | undefined): this { return this } - public onChange(value: ((value0: number) => void) | undefined): this { + onChange(value: ((value0: number) => void) | undefined): this { return this } - public onSelected(value: ((value0: number) => void) | undefined): this { + onSelected(value: ((value0: number) => void) | undefined): this { return this } - public onTabBarClick(value: ((value0: number) => void) | undefined): this { + onTabBarClick(value: ((value0: number) => void) | undefined): this { return this } - public onUnselected(value: ((value0: number) => void) | undefined): this { + onUnselected(value: ((value0: number) => void) | undefined): this { return this } - public onAnimationStart(value: OnTabsAnimationStartCallback | undefined): this { + onAnimationStart(value: OnTabsAnimationStartCallback | undefined): this { return this } - public onAnimationEnd(value: OnTabsAnimationEndCallback | undefined): this { + onAnimationEnd(value: OnTabsAnimationEndCallback | undefined): this { return this } - public onGestureSwipe(value: OnTabsGestureSwipeCallback | undefined): this { + onGestureSwipe(value: OnTabsGestureSwipeCallback | undefined): this { return this } - public fadingEdge(value: boolean | undefined): this { + fadingEdge(value: boolean | undefined): this { return this } - public divider(value: DividerStyle | undefined): this { + divider(value: DividerStyle | undefined): this { return this } - public barOverlap(value: boolean | undefined): this { + barOverlap(value: boolean | undefined): this { return this } - public barBackgroundColor(value: ResourceColor | undefined): this { + barBackgroundColor(value: ResourceColor | undefined): this { return this } - public barGridAlign(value: BarGridColumnOptions | undefined): this { + barGridAlign(value: BarGridColumnOptions | undefined): this { return this } - public customContentTransition(value: TabsCustomContentTransitionCallback | undefined): this { + customContentTransition(value: TabsCustomContentTransitionCallback | undefined): this { return this } - public barBackgroundBlurStyle(value: BlurStyle | undefined): this { + barBackgroundBlurStyle(value: BlurStyle | undefined): this { return this } - public pageFlipMode(value: PageFlipMode | undefined): this { + pageFlipMode(value: PageFlipMode | undefined): this { return this } - public barBackgroundEffect(value: BackgroundEffectOptions | undefined): this { + barBackgroundEffect(value: BackgroundEffectOptions | undefined): this { return this } - public onContentWillChange(value: OnTabsContentWillChangeCallback | undefined): this { + onContentWillChange(value: OnTabsContentWillChangeCallback | undefined): this { return this } - public barMode(value: BarMode | undefined, options?: ScrollableBarModeOptions): this { + barMode(value: BarMode | undefined, options?: ScrollableBarModeOptions): this { return this } - public barBackgroundBlurStyle(style: BlurStyle | undefined, options: BackgroundBlurStyleOptions | undefined): this { + barBackgroundBlurStyle(style: BlurStyle | undefined, options: BackgroundBlurStyleOptions | undefined): this { return this } - public cachedMaxCount(count: number | undefined, mode: TabsCacheMode | undefined): this { + cachedMaxCount(count: number | undefined, mode: TabsCacheMode | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/text.ets b/arkoala-arkts/arkui/sdk/component/text.ets index 2d89678f3..40df00b67 100644 --- a/arkoala-arkts/arkui/sdk/component/text.ets +++ b/arkoala-arkts/arkui/sdk/component/text.ets @@ -206,133 +206,133 @@ export class ArkTextStyle extends ArkCommonMethodStyle implements TextAttribute halfLeading_value?: boolean | undefined enableHapticFeedback_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public fontSize(value: number | string | Resource | undefined): this { + fontSize(value: number | string | Resource | undefined): this { return this } - public minFontSize(value: number | string | Resource | undefined): this { + minFontSize(value: number | string | Resource | undefined): this { return this } - public maxFontSize(value: number | string | Resource | undefined): this { + maxFontSize(value: number | string | Resource | undefined): this { return this } - public minFontScale(value: number | Resource | undefined): this { + minFontScale(value: number | Resource | undefined): this { return this } - public maxFontScale(value: number | Resource | undefined): this { + maxFontScale(value: number | Resource | undefined): this { return this } - public fontStyle(value: FontStyle | undefined): this { + fontStyle(value: FontStyle | undefined): this { return this } - public lineSpacing(value: LengthMetrics | undefined): this { + lineSpacing(value: LengthMetrics | undefined): this { return this } - public textAlign(value: TextAlign | undefined): this { + textAlign(value: TextAlign | undefined): this { return this } - public lineHeight(value: number | string | Resource | undefined): this { + lineHeight(value: number | string | Resource | undefined): this { return this } - public textOverflow(value: TextOverflowOptions | undefined): this { + textOverflow(value: TextOverflowOptions | undefined): this { return this } - public fontFamily(value: string | Resource | undefined): this { + fontFamily(value: string | Resource | undefined): this { return this } - public maxLines(value: number | undefined): this { + maxLines(value: number | undefined): this { return this } - public decoration(value: DecorationStyleInterface | undefined): this { + decoration(value: DecorationStyleInterface | undefined): this { return this } - public letterSpacing(value: number | string | undefined): this { + letterSpacing(value: number | string | undefined): this { return this } - public textCase(value: TextCase | undefined): this { + textCase(value: TextCase | undefined): this { return this } - public baselineOffset(value: number | string | undefined): this { + baselineOffset(value: number | string | undefined): this { return this } - public copyOption(value: CopyOptions | undefined): this { + copyOption(value: CopyOptions | undefined): this { return this } - public draggable(value: boolean | undefined): this { + draggable(value: boolean | undefined): this { return this } - public textShadow(value: ShadowOptions | Array | undefined): this { + textShadow(value: ShadowOptions | Array | undefined): this { return this } - public heightAdaptivePolicy(value: TextHeightAdaptivePolicy | undefined): this { + heightAdaptivePolicy(value: TextHeightAdaptivePolicy | undefined): this { return this } - public textIndent(value: Length | undefined): this { + textIndent(value: Length | undefined): this { return this } - public wordBreak(value: WordBreak | undefined): this { + wordBreak(value: WordBreak | undefined): this { return this } - public lineBreakStrategy(value: LineBreakStrategy | undefined): this { + lineBreakStrategy(value: LineBreakStrategy | undefined): this { return this } - public onCopy(value: ((value: string) => void) | undefined): this { + onCopy(value: ((value: string) => void) | undefined): this { return this } - public caretColor(value: ResourceColor | undefined): this { + caretColor(value: ResourceColor | undefined): this { return this } - public selectedBackgroundColor(value: ResourceColor | undefined): this { + selectedBackgroundColor(value: ResourceColor | undefined): this { return this } - public ellipsisMode(value: EllipsisMode | undefined): this { + ellipsisMode(value: EllipsisMode | undefined): this { return this } - public enableDataDetector(value: boolean | undefined): this { + enableDataDetector(value: boolean | undefined): this { return this } - public dataDetectorConfig(value: TextDataDetectorConfig | undefined): this { + dataDetectorConfig(value: TextDataDetectorConfig | undefined): this { return this } - public onTextSelectionChange(value: ((selectionStart: number,selectionEnd: number) => void) | undefined): this { + onTextSelectionChange(value: ((selectionStart: number,selectionEnd: number) => void) | undefined): this { return this } - public fontFeature(value: string | undefined): this { + fontFeature(value: string | undefined): this { return this } - public marqueeOptions(value: TextMarqueeOptions | undefined): this { + marqueeOptions(value: TextMarqueeOptions | undefined): this { return this } - public onMarqueeStateChange(value: ((value0: MarqueeState) => void) | undefined): this { + onMarqueeStateChange(value: ((value0: MarqueeState) => void) | undefined): this { return this } - public privacySensitive(value: boolean | undefined): this { + privacySensitive(value: boolean | undefined): this { return this } - public textSelectable(value: TextSelectableMode | undefined): this { + textSelectable(value: TextSelectableMode | undefined): this { return this } - public editMenuOptions(value: EditMenuOptions | undefined): this { + editMenuOptions(value: EditMenuOptions | undefined): this { return this } - public halfLeading(value: boolean | undefined): this { + halfLeading(value: boolean | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public font(fontValue: Font | undefined, options?: FontSettingOptions): this { + font(fontValue: Font | undefined, options?: FontSettingOptions): this { return this } - public fontWeight(weight: number | FontWeight | string | undefined, options?: FontSettingOptions): this { + fontWeight(weight: number | FontWeight | string | undefined, options?: FontSettingOptions): this { return this } - public selection(selectionStart: number | undefined, selectionEnd: number | undefined): this { + selection(selectionStart: number | undefined, selectionEnd: number | undefined): this { return this } - public bindSelectionMenu(spanType: TextSpanType | undefined, content: CustomBuilder | undefined, responseType: TextResponseType | undefined, options?: SelectionMenuOptions): this { + bindSelectionMenu(spanType: TextSpanType | undefined, content: CustomBuilder | undefined, responseType: TextResponseType | undefined, options?: SelectionMenuOptions): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/textArea.ets b/arkoala-arkts/arkui/sdk/component/textArea.ets index ef323932f..786202e51 100644 --- a/arkoala-arkts/arkui/sdk/component/textArea.ets +++ b/arkoala-arkts/arkui/sdk/component/textArea.ets @@ -75,7 +75,7 @@ export interface TextAreaAttribute extends CommonMethod { fontStyle(value: FontStyle | undefined): this { throw new Error("Unimplemented method fontStyle") } - fontWeight(value: number | FontWeight | ResourceStr | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { throw new Error("Unimplemented method fontWeight") } fontFamily(value: ResourceStr | undefined): this { @@ -244,7 +244,7 @@ export class ArkTextAreaStyle extends ArkCommonMethodStyle implements TextAreaAt fontColor_value?: ResourceColor | undefined fontSize_value?: Length | undefined fontStyle_value?: FontStyle | undefined - fontWeight_value?: number | FontWeight | ResourceStr | undefined + fontWeight_value?: number | FontWeight | string | undefined fontFamily_value?: ResourceStr | undefined textOverflow_value?: TextOverflow | undefined textIndent_value?: Dimension | undefined @@ -294,184 +294,184 @@ export class ArkTextAreaStyle extends ArkCommonMethodStyle implements TextAreaAt onWillChange_value?: ((value0: EditableTextChangeValue) => boolean) | undefined keyboardAppearance_value?: KeyboardAppearance | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public placeholderColor(value: ResourceColor | undefined): this { + placeholderColor(value: ResourceColor | undefined): this { return this } - public placeholderFont(value: Font | undefined): this { + placeholderFont(value: Font | undefined): this { return this } - public enterKeyType(value: EnterKeyType | undefined): this { + enterKeyType(value: EnterKeyType | undefined): this { return this } - public textAlign(value: TextAlign | undefined): this { + textAlign(value: TextAlign | undefined): this { return this } - public caretColor(value: ResourceColor | undefined): this { + caretColor(value: ResourceColor | undefined): this { return this } - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public fontSize(value: Length | undefined): this { + fontSize(value: Length | undefined): this { return this } - public fontStyle(value: FontStyle | undefined): this { + fontStyle(value: FontStyle | undefined): this { return this } - public fontWeight(value: number | FontWeight | ResourceStr | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { return this } - public fontFamily(value: ResourceStr | undefined): this { + fontFamily(value: ResourceStr | undefined): this { return this } - public textOverflow(value: TextOverflow | undefined): this { + textOverflow(value: TextOverflow | undefined): this { return this } - public textIndent(value: Dimension | undefined): this { + textIndent(value: Dimension | undefined): this { return this } - public caretStyle(value: CaretStyle | undefined): this { + caretStyle(value: CaretStyle | undefined): this { return this } - public selectedBackgroundColor(value: ResourceColor | undefined): this { + selectedBackgroundColor(value: ResourceColor | undefined): this { return this } - public onSubmit(value: ((enterKey: EnterKeyType) => void) | TextAreaSubmitCallback | undefined): this { + onSubmit(value: ((enterKey: EnterKeyType) => void) | TextAreaSubmitCallback | undefined): this { return this } - public onChange(value: EditableTextOnChangeCallback | undefined): this { + onChange(value: EditableTextOnChangeCallback | undefined): this { return this } - public onTextSelectionChange(value: ((selectionStart: number,selectionEnd: number) => void) | undefined): this { + onTextSelectionChange(value: ((selectionStart: number,selectionEnd: number) => void) | undefined): this { return this } - public onContentScroll(value: ((selectionStart: number,selectionEnd: number) => void) | undefined): this { + onContentScroll(value: ((selectionStart: number,selectionEnd: number) => void) | undefined): this { return this } - public onEditChange(value: ((isEditing: boolean) => void) | undefined): this { + onEditChange(value: ((isEditing: boolean) => void) | undefined): this { return this } - public onCopy(value: ((value: string) => void) | undefined): this { + onCopy(value: ((value: string) => void) | undefined): this { return this } - public onCut(value: ((value: string) => void) | undefined): this { + onCut(value: ((value: string) => void) | undefined): this { return this } - public onPaste(value: ((value: string,event: PasteEvent) => void) | undefined): this { + onPaste(value: ((value: string,event: PasteEvent) => void) | undefined): this { return this } - public copyOption(value: CopyOptions | undefined): this { + copyOption(value: CopyOptions | undefined): this { return this } - public enableKeyboardOnFocus(value: boolean | undefined): this { + enableKeyboardOnFocus(value: boolean | undefined): this { return this } - public maxLength(value: number | undefined): this { + maxLength(value: number | undefined): this { return this } - public style(value: TextContentStyle | undefined): this { + style(value: TextContentStyle | undefined): this { return this } - public barState(value: BarState | undefined): this { + barState(value: BarState | undefined): this { return this } - public selectionMenuHidden(value: boolean | undefined): this { + selectionMenuHidden(value: boolean | undefined): this { return this } - public minFontSize(value: number | string | Resource | undefined): this { + minFontSize(value: number | string | Resource | undefined): this { return this } - public maxFontSize(value: number | string | Resource | undefined): this { + maxFontSize(value: number | string | Resource | undefined): this { return this } - public minFontScale(value: number | Resource | undefined): this { + minFontScale(value: number | Resource | undefined): this { return this } - public maxFontScale(value: number | Resource | undefined): this { + maxFontScale(value: number | Resource | undefined): this { return this } - public heightAdaptivePolicy(value: TextHeightAdaptivePolicy | undefined): this { + heightAdaptivePolicy(value: TextHeightAdaptivePolicy | undefined): this { return this } - public maxLines(value: number | undefined): this { + maxLines(value: number | undefined): this { return this } - public wordBreak(value: WordBreak | undefined): this { + wordBreak(value: WordBreak | undefined): this { return this } - public lineBreakStrategy(value: LineBreakStrategy | undefined): this { + lineBreakStrategy(value: LineBreakStrategy | undefined): this { return this } - public decoration(value: TextDecorationOptions | undefined): this { + decoration(value: TextDecorationOptions | undefined): this { return this } - public letterSpacing(value: number | string | Resource | undefined): this { + letterSpacing(value: number | string | Resource | undefined): this { return this } - public lineSpacing(value: LengthMetrics | undefined): this { + lineSpacing(value: LengthMetrics | undefined): this { return this } - public lineHeight(value: number | string | Resource | undefined): this { + lineHeight(value: number | string | Resource | undefined): this { return this } - public type(value: TextAreaType | undefined): this { + type(value: TextAreaType | undefined): this { return this } - public enableAutoFill(value: boolean | undefined): this { + enableAutoFill(value: boolean | undefined): this { return this } - public contentType(value: ContentType | undefined): this { + contentType(value: ContentType | undefined): this { return this } - public fontFeature(value: string | undefined): this { + fontFeature(value: string | undefined): this { return this } - public onWillInsert(value: ((value0: InsertValue) => boolean) | undefined): this { + onWillInsert(value: ((value0: InsertValue) => boolean) | undefined): this { return this } - public onDidInsert(value: ((value0: InsertValue) => void) | undefined): this { + onDidInsert(value: ((value0: InsertValue) => void) | undefined): this { return this } - public onWillDelete(value: ((value0: DeleteValue) => boolean) | undefined): this { + onWillDelete(value: ((value0: DeleteValue) => boolean) | undefined): this { return this } - public onDidDelete(value: ((value0: DeleteValue) => void) | undefined): this { + onDidDelete(value: ((value0: DeleteValue) => void) | undefined): this { return this } - public editMenuOptions(value: EditMenuOptions | undefined): this { + editMenuOptions(value: EditMenuOptions | undefined): this { return this } - public enablePreviewText(value: boolean | undefined): this { + enablePreviewText(value: boolean | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public autoCapitalizationMode(value: AutoCapitalizationMode | undefined): this { + autoCapitalizationMode(value: AutoCapitalizationMode | undefined): this { return this } - public halfLeading(value: boolean | undefined): this { + halfLeading(value: boolean | undefined): this { return this } - public ellipsisMode(value: EllipsisMode | undefined): this { + ellipsisMode(value: EllipsisMode | undefined): this { return this } - public stopBackPress(value: boolean | undefined): this { + stopBackPress(value: boolean | undefined): this { return this } - public onWillChange(value: ((value0: EditableTextChangeValue) => boolean) | undefined): this { + onWillChange(value: ((value0: EditableTextChangeValue) => boolean) | undefined): this { return this } - public keyboardAppearance(value: KeyboardAppearance | undefined): this { + keyboardAppearance(value: KeyboardAppearance | undefined): this { return this } - public inputFilter(value: ResourceStr | undefined, error?: ((value: string) => void)): this { + inputFilter(value: ResourceStr | undefined, error?: ((value: string) => void)): this { return this } - public showCounter(value: boolean | undefined, options?: InputCounterOptions): this { + showCounter(value: boolean | undefined, options?: InputCounterOptions): this { return this } - public customKeyboard(value: CustomBuilder | undefined, options?: KeyboardOptions): this { + customKeyboard(value: CustomBuilder | undefined, options?: KeyboardOptions): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/textClock.ets b/arkoala-arkts/arkui/sdk/component/textClock.ets index c64be14a1..1bc744f2f 100644 --- a/arkoala-arkts/arkui/sdk/component/textClock.ets +++ b/arkoala-arkts/arkui/sdk/component/textClock.ets @@ -91,37 +91,37 @@ export class ArkTextClockStyle extends ArkCommonMethodStyle implements TextClock contentModifier_value?: ContentModifier | undefined dateTimeOptions_value?: intl.DateTimeOptions | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public format(value: ResourceStr | undefined): this { + format(value: ResourceStr | undefined): this { return this } - public onDateChange(value: ((value: number) => void) | undefined): this { + onDateChange(value: ((value: number) => void) | undefined): this { return this } - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public fontSize(value: Length | undefined): this { + fontSize(value: Length | undefined): this { return this } - public fontStyle(value: FontStyle | undefined): this { + fontStyle(value: FontStyle | undefined): this { return this } - public fontWeight(value: number | FontWeight | string | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { return this } - public fontFamily(value: ResourceStr | undefined): this { + fontFamily(value: ResourceStr | undefined): this { return this } - public textShadow(value: ShadowOptions | Array | undefined): this { + textShadow(value: ShadowOptions | Array | undefined): this { return this } - public fontFeature(value: string | undefined): this { + fontFeature(value: string | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } - public dateTimeOptions(value: intl.DateTimeOptions | undefined): this { + dateTimeOptions(value: intl.DateTimeOptions | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/textInput.ets b/arkoala-arkts/arkui/sdk/component/textInput.ets index 0962e194b..f400cf60d 100644 --- a/arkoala-arkts/arkui/sdk/component/textInput.ets +++ b/arkoala-arkts/arkui/sdk/component/textInput.ets @@ -183,7 +183,7 @@ export interface TextInputAttribute extends CommonMethod { fontStyle(value: FontStyle | undefined): this { throw new Error("Unimplemented method fontStyle") } - fontWeight(value: number | FontWeight | ResourceStr | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { throw new Error("Unimplemented method fontWeight") } fontFamily(value: ResourceStr | undefined): this { @@ -367,7 +367,7 @@ export class ArkTextInputStyle extends ArkCommonMethodStyle implements TextInput fontColor_value?: ResourceColor | undefined fontSize_value?: Length | undefined fontStyle_value?: FontStyle | undefined - fontWeight_value?: number | FontWeight | ResourceStr | undefined + fontWeight_value?: number | FontWeight | string | undefined fontFamily_value?: ResourceStr | undefined onCopy_value?: ((value0: string) => void) | undefined onCut_value?: ((value0: string) => void) | undefined @@ -419,217 +419,217 @@ export class ArkTextInputStyle extends ArkCommonMethodStyle implements TextInput onWillChange_value?: ((value0: EditableTextChangeValue) => boolean) | undefined keyboardAppearance_value?: KeyboardAppearance | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public type(value: InputType | undefined): this { + type(value: InputType | undefined): this { return this } - public contentType(value: ContentType | undefined): this { + contentType(value: ContentType | undefined): this { return this } - public placeholderColor(value: ResourceColor | undefined): this { + placeholderColor(value: ResourceColor | undefined): this { return this } - public textOverflow(value: TextOverflow | undefined): this { + textOverflow(value: TextOverflow | undefined): this { return this } - public textIndent(value: Dimension | undefined): this { + textIndent(value: Dimension | undefined): this { return this } - public placeholderFont(value: Font | undefined): this { + placeholderFont(value: Font | undefined): this { return this } - public enterKeyType(value: EnterKeyType | undefined): this { + enterKeyType(value: EnterKeyType | undefined): this { return this } - public caretColor(value: ResourceColor | undefined): this { + caretColor(value: ResourceColor | undefined): this { return this } - public onEditChange(value: ((value0: boolean) => void) | undefined): this { + onEditChange(value: ((value0: boolean) => void) | undefined): this { return this } - public onSubmit(value: OnSubmitCallback | undefined): this { + onSubmit(value: OnSubmitCallback | undefined): this { return this } - public onChange(value: EditableTextOnChangeCallback | undefined): this { + onChange(value: EditableTextOnChangeCallback | undefined): this { return this } - public onTextSelectionChange(value: OnTextSelectionChangeCallback | undefined): this { + onTextSelectionChange(value: OnTextSelectionChangeCallback | undefined): this { return this } - public onContentScroll(value: OnContentScrollCallback | undefined): this { + onContentScroll(value: OnContentScrollCallback | undefined): this { return this } - public maxLength(value: number | undefined): this { + maxLength(value: number | undefined): this { return this } - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public fontSize(value: Length | undefined): this { + fontSize(value: Length | undefined): this { return this } - public fontStyle(value: FontStyle | undefined): this { + fontStyle(value: FontStyle | undefined): this { return this } - public fontWeight(value: number | FontWeight | ResourceStr | undefined): this { + fontWeight(value: number | FontWeight | string | undefined): this { return this } - public fontFamily(value: ResourceStr | undefined): this { + fontFamily(value: ResourceStr | undefined): this { return this } - public onCopy(value: ((value0: string) => void) | undefined): this { + onCopy(value: ((value0: string) => void) | undefined): this { return this } - public onCut(value: ((value0: string) => void) | undefined): this { + onCut(value: ((value0: string) => void) | undefined): this { return this } - public onPaste(value: OnPasteCallback | undefined): this { + onPaste(value: OnPasteCallback | undefined): this { return this } - public copyOption(value: CopyOptions | undefined): this { + copyOption(value: CopyOptions | undefined): this { return this } - public showPasswordIcon(value: boolean | undefined): this { + showPasswordIcon(value: boolean | undefined): this { return this } - public textAlign(value: TextAlign | undefined): this { + textAlign(value: TextAlign | undefined): this { return this } - public style(value: TextInputStyle | TextContentStyle | undefined): this { + style(value: TextInputStyle | TextContentStyle | undefined): this { return this } - public caretStyle(value: CaretStyle | undefined): this { + caretStyle(value: CaretStyle | undefined): this { return this } - public selectedBackgroundColor(value: ResourceColor | undefined): this { + selectedBackgroundColor(value: ResourceColor | undefined): this { return this } - public caretPosition(value: number | undefined): this { + caretPosition(value: number | undefined): this { return this } - public enableKeyboardOnFocus(value: boolean | undefined): this { + enableKeyboardOnFocus(value: boolean | undefined): this { return this } - public passwordIcon(value: PasswordIcon | undefined): this { + passwordIcon(value: PasswordIcon | undefined): this { return this } - public showError(value: ResourceStr | undefined): this { + showError(value: ResourceStr | undefined): this { return this } - public showUnit(value: CustomBuilder | undefined): this { + showUnit(value: CustomBuilder | undefined): this { return this } - public showUnderline(value: boolean | undefined): this { + showUnderline(value: boolean | undefined): this { return this } - public underlineColor(value: ResourceColor | UnderlineColor | undefined): this { + underlineColor(value: ResourceColor | UnderlineColor | undefined): this { return this } - public selectionMenuHidden(value: boolean | undefined): this { + selectionMenuHidden(value: boolean | undefined): this { return this } - public barState(value: BarState | undefined): this { + barState(value: BarState | undefined): this { return this } - public maxLines(value: number | undefined): this { + maxLines(value: number | undefined): this { return this } - public wordBreak(value: WordBreak | undefined): this { + wordBreak(value: WordBreak | undefined): this { return this } - public lineBreakStrategy(value: LineBreakStrategy | undefined): this { + lineBreakStrategy(value: LineBreakStrategy | undefined): this { return this } - public cancelButton(value: CancelButtonOptions | CancelButtonSymbolOptions | undefined): this { + cancelButton(value: CancelButtonOptions | CancelButtonSymbolOptions | undefined): this { return this } - public selectAll(value: boolean | undefined): this { + selectAll(value: boolean | undefined): this { return this } - public minFontSize(value: number | string | Resource | undefined): this { + minFontSize(value: number | string | Resource | undefined): this { return this } - public maxFontSize(value: number | string | Resource | undefined): this { + maxFontSize(value: number | string | Resource | undefined): this { return this } - public minFontScale(value: number | Resource | undefined): this { + minFontScale(value: number | Resource | undefined): this { return this } - public maxFontScale(value: number | Resource | undefined): this { + maxFontScale(value: number | Resource | undefined): this { return this } - public heightAdaptivePolicy(value: TextHeightAdaptivePolicy | undefined): this { + heightAdaptivePolicy(value: TextHeightAdaptivePolicy | undefined): this { return this } - public enableAutoFill(value: boolean | undefined): this { + enableAutoFill(value: boolean | undefined): this { return this } - public decoration(value: TextDecorationOptions | undefined): this { + decoration(value: TextDecorationOptions | undefined): this { return this } - public letterSpacing(value: number | string | Resource | undefined): this { + letterSpacing(value: number | string | Resource | undefined): this { return this } - public lineHeight(value: number | string | Resource | undefined): this { + lineHeight(value: number | string | Resource | undefined): this { return this } - public passwordRules(value: string | undefined): this { + passwordRules(value: string | undefined): this { return this } - public fontFeature(value: string | undefined): this { + fontFeature(value: string | undefined): this { return this } - public showPassword(value: boolean | undefined): this { + showPassword(value: boolean | undefined): this { return this } - public onSecurityStateChange(value: ((value0: boolean) => void) | undefined): this { + onSecurityStateChange(value: ((value0: boolean) => void) | undefined): this { return this } - public onWillInsert(value: ((value0: InsertValue) => boolean) | undefined): this { + onWillInsert(value: ((value0: InsertValue) => boolean) | undefined): this { return this } - public onDidInsert(value: ((value0: InsertValue) => void) | undefined): this { + onDidInsert(value: ((value0: InsertValue) => void) | undefined): this { return this } - public onWillDelete(value: ((value0: DeleteValue) => boolean) | undefined): this { + onWillDelete(value: ((value0: DeleteValue) => boolean) | undefined): this { return this } - public onDidDelete(value: ((value0: DeleteValue) => void) | undefined): this { + onDidDelete(value: ((value0: DeleteValue) => void) | undefined): this { return this } - public editMenuOptions(value: EditMenuOptions | undefined): this { + editMenuOptions(value: EditMenuOptions | undefined): this { return this } - public enablePreviewText(value: boolean | undefined): this { + enablePreviewText(value: boolean | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public autoCapitalizationMode(value: AutoCapitalizationMode | undefined): this { + autoCapitalizationMode(value: AutoCapitalizationMode | undefined): this { return this } - public halfLeading(value: boolean | undefined): this { + halfLeading(value: boolean | undefined): this { return this } - public ellipsisMode(value: EllipsisMode | undefined): this { + ellipsisMode(value: EllipsisMode | undefined): this { return this } - public stopBackPress(value: boolean | undefined): this { + stopBackPress(value: boolean | undefined): this { return this } - public onWillChange(value: ((value0: EditableTextChangeValue) => boolean) | undefined): this { + onWillChange(value: ((value0: EditableTextChangeValue) => boolean) | undefined): this { return this } - public keyboardAppearance(value: KeyboardAppearance | undefined): this { + keyboardAppearance(value: KeyboardAppearance | undefined): this { return this } - public inputFilter(value: ResourceStr | undefined, error?: ((value0: string) => void)): this { + inputFilter(value: ResourceStr | undefined, error?: ((value0: string) => void)): this { return this } - public customKeyboard(value: CustomBuilder | undefined, options?: KeyboardOptions): this { + customKeyboard(value: CustomBuilder | undefined, options?: KeyboardOptions): this { return this } - public showCounter(value: boolean | undefined, options?: InputCounterOptions): this { + showCounter(value: boolean | undefined, options?: InputCounterOptions): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/textPicker.ets b/arkoala-arkts/arkui/sdk/component/textPicker.ets index af7012dbe..cfed792c3 100644 --- a/arkoala-arkts/arkui/sdk/component/textPicker.ets +++ b/arkoala-arkts/arkui/sdk/component/textPicker.ets @@ -122,49 +122,49 @@ export class ArkTextPickerStyle extends ArkCommonMethodStyle implements TextPick enableHapticFeedback_value?: boolean | undefined digitalCrownSensitivity_value?: CrownSensitivity | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public defaultPickerItemHeight(value: number | string | undefined): this { + defaultPickerItemHeight(value: number | string | undefined): this { return this } - public canLoop(value: boolean | undefined): this { + canLoop(value: boolean | undefined): this { return this } - public disappearTextStyle(value: PickerTextStyle | undefined): this { + disappearTextStyle(value: PickerTextStyle | undefined): this { return this } - public textStyle(value: PickerTextStyle | undefined): this { + textStyle(value: PickerTextStyle | undefined): this { return this } - public selectedTextStyle(value: PickerTextStyle | undefined): this { + selectedTextStyle(value: PickerTextStyle | undefined): this { return this } - public disableTextStyleAnimation(value: boolean | undefined): this { + disableTextStyleAnimation(value: boolean | undefined): this { return this } - public defaultTextStyle(value: TextPickerTextStyle | undefined): this { + defaultTextStyle(value: TextPickerTextStyle | undefined): this { return this } - public onChange(value: OnTextPickerChangeCallback | undefined): this { + onChange(value: OnTextPickerChangeCallback | undefined): this { return this } - public onScrollStop(value: TextPickerScrollStopCallback | undefined): this { + onScrollStop(value: TextPickerScrollStopCallback | undefined): this { return this } - public onEnterSelectedArea(value: TextPickerEnterSelectedAreaCallback | undefined): this { + onEnterSelectedArea(value: TextPickerEnterSelectedAreaCallback | undefined): this { return this } - public selectedIndex(value: number | Array | undefined): this { + selectedIndex(value: number | Array | undefined): this { return this } - public divider(value: DividerOptions | undefined): this { + divider(value: DividerOptions | undefined): this { return this } - public gradientHeight(value: Dimension | undefined): this { + gradientHeight(value: Dimension | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + digitalCrownSensitivity(value: CrownSensitivity | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/textTimer.ets b/arkoala-arkts/arkui/sdk/component/textTimer.ets index d13637636..8f1d4cd41 100644 --- a/arkoala-arkts/arkui/sdk/component/textTimer.ets +++ b/arkoala-arkts/arkui/sdk/component/textTimer.ets @@ -85,31 +85,31 @@ export class ArkTextTimerStyle extends ArkCommonMethodStyle implements TextTimer textShadow_value?: ShadowOptions | Array | undefined contentModifier_value?: ContentModifier | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public format(value: string | undefined): this { + format(value: string | undefined): this { return this } - public fontColor(value: ResourceColor | undefined): this { + fontColor(value: ResourceColor | undefined): this { return this } - public fontSize(value: Length | undefined): this { + fontSize(value: Length | undefined): this { return this } - public fontStyle(value: FontStyle | undefined): this { + fontStyle(value: FontStyle | undefined): this { return this } - public fontWeight(value: number | FontWeight | ResourceStr | undefined): this { + fontWeight(value: number | FontWeight | ResourceStr | undefined): this { return this } - public fontFamily(value: ResourceStr | undefined): this { + fontFamily(value: ResourceStr | undefined): this { return this } - public onTimer(value: ((utc: number,elapsedTime: number) => void) | undefined): this { + onTimer(value: ((utc: number,elapsedTime: number) => void) | undefined): this { return this } - public textShadow(value: ShadowOptions | Array | undefined): this { + textShadow(value: ShadowOptions | Array | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/timePicker.ets b/arkoala-arkts/arkui/sdk/component/timePicker.ets index 693fe7c5d..b84d1a19c 100644 --- a/arkoala-arkts/arkui/sdk/component/timePicker.ets +++ b/arkoala-arkts/arkui/sdk/component/timePicker.ets @@ -94,37 +94,37 @@ export class ArkTimePickerStyle extends ArkCommonMethodStyle implements TimePick digitalCrownSensitivity_value?: CrownSensitivity | undefined enableCascade_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public useMilitaryTime(value: boolean | undefined): this { + useMilitaryTime(value: boolean | undefined): this { return this } - public loop(value: boolean | undefined): this { + loop(value: boolean | undefined): this { return this } - public disappearTextStyle(value: PickerTextStyle | undefined): this { + disappearTextStyle(value: PickerTextStyle | undefined): this { return this } - public textStyle(value: PickerTextStyle | undefined): this { + textStyle(value: PickerTextStyle | undefined): this { return this } - public selectedTextStyle(value: PickerTextStyle | undefined): this { + selectedTextStyle(value: PickerTextStyle | undefined): this { return this } - public dateTimeOptions(value: intl.DateTimeOptions | undefined): this { + dateTimeOptions(value: intl.DateTimeOptions | undefined): this { return this } - public onChange(value: OnTimePickerChangeCallback | undefined): this { + onChange(value: OnTimePickerChangeCallback | undefined): this { return this } - public onEnterSelectedArea(value: ((value0: TimePickerResult) => void) | undefined): this { + onEnterSelectedArea(value: ((value0: TimePickerResult) => void) | undefined): this { return this } - public enableHapticFeedback(value: boolean | undefined): this { + enableHapticFeedback(value: boolean | undefined): this { return this } - public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + digitalCrownSensitivity(value: CrownSensitivity | undefined): this { return this } - public enableCascade(value: boolean | undefined): this { + enableCascade(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/toggle.ets b/arkoala-arkts/arkui/sdk/component/toggle.ets index 18baab634..65b2d41a9 100644 --- a/arkoala-arkts/arkui/sdk/component/toggle.ets +++ b/arkoala-arkts/arkui/sdk/component/toggle.ets @@ -75,19 +75,19 @@ export class ArkToggleStyle extends ArkCommonMethodStyle implements ToggleAttrib switchPointColor_value?: ResourceColor | undefined switchStyle_value?: SwitchStyle | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onChange(value: ((value0: boolean) => void) | undefined): this { + onChange(value: ((value0: boolean) => void) | undefined): this { return this } - public contentModifier(value: ContentModifier | undefined): this { + contentModifier(value: ContentModifier | undefined): this { return this } - public selectedColor(value: ResourceColor | undefined): this { + selectedColor(value: ResourceColor | undefined): this { return this } - public switchPointColor(value: ResourceColor | undefined): this { + switchPointColor(value: ResourceColor | undefined): this { return this } - public switchStyle(value: SwitchStyle | undefined): this { + switchStyle(value: SwitchStyle | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/generated/component/repeat.ets b/arkoala-arkts/arkui/sdk/component/toolbar.ets similarity index 54% rename from arkoala-arkts/arkui/generated/component/repeat.ets rename to arkoala-arkts/arkui/sdk/component/toolbar.ets index 5a11b4be0..8cfdd7596 100644 --- a/arkoala-arkts/arkui/generated/component/repeat.ets +++ b/arkoala-arkts/arkui/sdk/component/toolbar.ets @@ -20,17 +20,29 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr } from "@koalaui/interop" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -export type RepeatArray = Array; -export type OnLazyLoadingFunc = (index: number) => void; -export type KeyGeneratorFunc = (item: T, index: number) => string; -export type OnTotalCountFunc = () => number; -export interface VirtualScrollOptions { - totalCount?: number; - reusable?: boolean; - onLazyLoading?: OnLazyLoadingFunc; - onTotalCount?: OnTotalCountFunc; - disableVirtualScroll?: boolean; +import { AttributeModifier, AttributeUpdater } from "./../handwritten" +export enum ToolBarItemPlacement { + TOP_BAR_LEADING = 0, + TOP_BAR_TRAILING = 1 } -export interface TemplateOptions { - cachedCount?: number; +export declare interface ToolBarItemOptions { + placement?: ToolBarItemPlacement; } +export interface ToolBarItemAttribute { + attributeModifier(value: AttributeModifier | undefined): this { + throw new Error("Unimplemented method attributeModifier") + } +} +export class ArkToolBarItemStyle implements ToolBarItemAttribute { + public attributeModifier(value: AttributeModifier | undefined): this { + throw new Error("Not implemented") + } +} + +@memo +@ComponentBuilder +export function ToolBarItem( + options?: ToolBarItemOptions, + @memo + content_?: () => void, +): ToolBarItemAttribute { throw new Error("")} diff --git a/arkoala-arkts/arkui/sdk/component/uiExtensionComponent.ets b/arkoala-arkts/arkui/sdk/component/uiExtensionComponent.ets index fb42cea38..0dd0f6d57 100644 --- a/arkoala-arkts/arkui/sdk/component/uiExtensionComponent.ets +++ b/arkoala-arkts/arkui/sdk/component/uiExtensionComponent.ets @@ -21,6 +21,7 @@ import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr } from "@koalaui/int import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" import { ComponentContent } from "./../ComponentContent" +import { RecordData } from "./pluginComponent" import { TerminationInfo, CommonMethod, ArkCommonMethodStyle } from "./common" import { ErrorCallback, BusinessError } from "./../framework/ohos.base" import { AttributeModifier, AttributeUpdater } from "./../handwritten" @@ -40,20 +41,20 @@ export declare interface UIExtensionOptions { dpiFollowStrategy?: DpiFollowStrategy; windowModeFollowStrategy?: WindowModeFollowStrategy; } -export type ReceiveCallback = ((value0: Map) => void); +export type ReceiveCallback = ((value0: Map) => void); export declare interface UIExtensionProxy { - send(data: Map): void - sendSync(data: Map): Map - onAsyncReceiverRegister(callback_: ((value0: UIExtensionProxy) => void)): void - onSyncReceiverRegister(callback_: ((value0: UIExtensionProxy) => void)): void - offAsyncReceiverRegister(callback_?: ((value0: UIExtensionProxy) => void)): void - offSyncReceiverRegister(callback_?: ((value0: UIExtensionProxy) => void)): void + send(data: Map): void + sendSync(data: Map): Map + onAsyncReceiverRegisterAsyncReceiverRegister(callback_: ((value0: UIExtensionProxy) => void)): void + onSyncReceiverRegisterSyncReceiverRegister(callback_: ((value0: UIExtensionProxy) => void)): void + offAsyncReceiverRegisterAsyncReceiverRegister(callback_?: ((value0: UIExtensionProxy) => void)): void + offSyncReceiverRegisterSyncReceiverRegister(callback_?: ((value0: UIExtensionProxy) => void)): void } export interface UIExtensionComponentAttribute extends CommonMethod { onRemoteReady(value: ((value0: UIExtensionProxy) => void) | undefined): this { throw new Error("Unimplemented method onRemoteReady") } - onReceive(value: ((value0: Map) => void) | undefined): this { + onReceive(value: ((value0: Map) => void) | undefined): this { throw new Error("Unimplemented method onReceive") } onError(value: ErrorCallback | undefined): this { @@ -71,24 +72,24 @@ export interface UIExtensionComponentAttribute extends CommonMethod { } export class ArkUIExtensionComponentStyle extends ArkCommonMethodStyle implements UIExtensionComponentAttribute { onRemoteReady_value?: ((value0: UIExtensionProxy) => void) | undefined - onReceive_value?: ((value0: Map) => void) | undefined + onReceive_value?: ((value0: Map) => void) | undefined onError_value?: ErrorCallback | undefined onTerminated_value?: ((value0: TerminationInfo) => void) | undefined onDrawReady_value?: (() => void) | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onRemoteReady(value: ((value0: UIExtensionProxy) => void) | undefined): this { + onRemoteReady(value: ((value0: UIExtensionProxy) => void) | undefined): this { return this } - public onReceive(value: ((value0: Map) => void) | undefined): this { + onReceive(value: ((value0: Map) => void) | undefined): this { return this } - public onError(value: ErrorCallback | undefined): this { + onError(value: ErrorCallback | undefined): this { return this } - public onTerminated(value: ((value0: TerminationInfo) => void) | undefined): this { + onTerminated(value: ((value0: TerminationInfo) => void) | undefined): this { return this } - public onDrawReady(value: (() => void) | undefined): this { + onDrawReady(value: (() => void) | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/video.ets b/arkoala-arkts/arkui/sdk/component/video.ets index ccb762df9..b570b58cc 100644 --- a/arkoala-arkts/arkui/sdk/component/video.ets +++ b/arkoala-arkts/arkui/sdk/component/video.ets @@ -27,7 +27,6 @@ import { ImageAIOptions, ImageAnalyzerConfig } from "./imageCommon" import { CommonMethod, ArkCommonMethodStyle } from "./common" import { ImageFit } from "./enums" import { VoidCallback } from "./units" -import { ColorMetrics } from "./../Graphics" export enum SeekMode { PREVIOUS_KEYFRAME = 0, PreviousKeyframe = 0, @@ -54,17 +53,17 @@ export declare interface FullscreenInfo { fullscreen: boolean; } export declare interface PreparedInfo { - duration: number; + duration: int32; } export declare interface PlaybackInfo { - time: number; + time: int32; } export declare interface PosterOptions { showFirstFrame?: boolean; } export declare interface VideoOptions { src?: string | Resource; - currentProgressRate?: number | string | PlaybackSpeed; + currentProgressRate?: double | string | PlaybackSpeed; previewUri?: string | image.PixelMap | Resource; controller?: VideoController; imageAIOptions?: ImageAIOptions; @@ -75,9 +74,9 @@ export declare class VideoController { start(): void pause(): void stop(): void - setCurrentTime(value: number, seekMode?: SeekMode): void requestFullscreen(value: boolean): void exitFullscreen(): void + setCurrentTime(value: double, seekMode?: SeekMode): void reset(): void } export interface VideoAttribute extends CommonMethod { @@ -123,7 +122,7 @@ export interface VideoAttribute extends CommonMethod { onError(value: (() => void) | undefined): this { throw new Error("Unimplemented method onError") } - onStop(value: (() => void) | undefined): this { + onStop(value: VoidCallback | undefined): this { throw new Error("Unimplemented method onStop") } enableAnalyzer(value: boolean | undefined): this { @@ -132,9 +131,6 @@ export interface VideoAttribute extends CommonMethod { analyzerConfig(value: ImageAnalyzerConfig | undefined): this { throw new Error("Unimplemented method analyzerConfig") } - surfaceBackgroundColor(value: ColorMetrics | undefined): this { - throw new Error("Unimplemented method surfaceBackgroundColor") - } enableShortcutKey(value: boolean | undefined): this { throw new Error("Unimplemented method enableShortcutKey") } @@ -157,67 +153,63 @@ export class ArkVideoStyle extends ArkCommonMethodStyle implements VideoAttribut onSeeked_value?: ((value0: PlaybackInfo) => void) | undefined onUpdate_value?: ((value0: PlaybackInfo) => void) | undefined onError_value?: (() => void) | undefined - onStop_value?: (() => void) | undefined + onStop_value?: VoidCallback | undefined enableAnalyzer_value?: boolean | undefined analyzerConfig_value?: ImageAnalyzerConfig | undefined - surfaceBackgroundColor_value?: ColorMetrics | undefined enableShortcutKey_value?: boolean | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public muted(value: boolean | undefined): this { - return this - } - public autoPlay(value: boolean | undefined): this { + muted(value: boolean | undefined): this { return this } - public controls(value: boolean | undefined): this { + autoPlay(value: boolean | undefined): this { return this } - public loop(value: boolean | undefined): this { + controls(value: boolean | undefined): this { return this } - public objectFit(value: ImageFit | undefined): this { + loop(value: boolean | undefined): this { return this } - public onStart(value: VoidCallback | undefined): this { + objectFit(value: ImageFit | undefined): this { return this } - public onPause(value: VoidCallback | undefined): this { + onStart(value: VoidCallback | undefined): this { return this } - public onFinish(value: VoidCallback | undefined): this { + onPause(value: VoidCallback | undefined): this { return this } - public onFullscreenChange(value: ((value0: FullscreenInfo) => void) | undefined): this { + onFinish(value: VoidCallback | undefined): this { return this } - public onPrepared(value: ((value0: PreparedInfo) => void) | undefined): this { + onFullscreenChange(value: ((value0: FullscreenInfo) => void) | undefined): this { return this } - public onSeeking(value: ((value0: PlaybackInfo) => void) | undefined): this { + onPrepared(value: ((value0: PreparedInfo) => void) | undefined): this { return this } - public onSeeked(value: ((value0: PlaybackInfo) => void) | undefined): this { + onSeeking(value: ((value0: PlaybackInfo) => void) | undefined): this { return this } - public onUpdate(value: ((value0: PlaybackInfo) => void) | undefined): this { + onSeeked(value: ((value0: PlaybackInfo) => void) | undefined): this { return this } - public onError(value: (() => void) | undefined): this { + onUpdate(value: ((value0: PlaybackInfo) => void) | undefined): this { return this } - public onStop(value: (() => void) | undefined): this { + onError(value: (() => void) | undefined): this { return this } - public enableAnalyzer(value: boolean | undefined): this { + onStop(value: VoidCallback | undefined): this { return this } - public analyzerConfig(value: ImageAnalyzerConfig | undefined): this { + enableAnalyzer(value: boolean | undefined): this { return this } - public surfaceBackgroundColor(value: ColorMetrics | undefined): this { + analyzerConfig(value: ImageAnalyzerConfig | undefined): this { return this } - public enableShortcutKey(value: boolean | undefined): this { + enableShortcutKey(value: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/waterFlow.ets b/arkoala-arkts/arkui/sdk/component/waterFlow.ets index bafed6f66..eeb32d6b8 100644 --- a/arkoala-arkts/arkui/sdk/component/waterFlow.ets +++ b/arkoala-arkts/arkui/sdk/component/waterFlow.ets @@ -111,40 +111,40 @@ export class ArkWaterFlowStyle extends ArkScrollableCommonMethodStyle implements onWillScroll_value?: OnWillScrollCallback | undefined onDidScroll_value?: OnScrollCallback | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public columnsTemplate(value: string | undefined): this { + columnsTemplate(value: string | undefined): this { return this } - public itemConstraintSize(value: ConstraintSizeOptions | undefined): this { + itemConstraintSize(value: ConstraintSizeOptions | undefined): this { return this } - public rowsTemplate(value: string | undefined): this { + rowsTemplate(value: string | undefined): this { return this } - public columnsGap(value: Length | undefined): this { + columnsGap(value: Length | undefined): this { return this } - public rowsGap(value: Length | undefined): this { + rowsGap(value: Length | undefined): this { return this } - public layoutDirection(value: FlexDirection | undefined): this { + layoutDirection(value: FlexDirection | undefined): this { return this } - public cachedCount(value: number | undefined): this { + cachedCount(value: number | undefined): this { return this } - public onScrollFrameBegin(value: OnScrollFrameBeginCallback | undefined): this { + onScrollFrameBegin(value: OnScrollFrameBeginCallback | undefined): this { return this } - public onScrollIndex(value: ((first: number,last: number) => void) | undefined): this { + onScrollIndex(value: ((first: number,last: number) => void) | undefined): this { return this } - public onWillScroll(value: OnWillScrollCallback | undefined): this { + onWillScroll(value: OnWillScrollCallback | undefined): this { return this } - public onDidScroll(value: OnScrollCallback | undefined): this { + onDidScroll(value: OnScrollCallback | undefined): this { return this } - public cachedCount(count: number | undefined, show: boolean | undefined): this { + cachedCount(count: number | undefined, show: boolean | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/web.ets b/arkoala-arkts/arkui/sdk/component/web.ets index 44cb2c953..b7c258173 100644 --- a/arkoala-arkts/arkui/sdk/component/web.ets +++ b/arkoala-arkts/arkui/sdk/component/web.ets @@ -17,10 +17,1488 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { int32, int64, float32 } from "@koalaui/common" -import { KInt, KPointer, KBoolean, NativeBuffer } from "@koalaui/interop" +import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr } from "@koalaui/interop" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" +import { webview } from "./../framework/ohos.web.webview" +import { CustomBuilder } from "./builder" +import { Resource } from "global.resource" +import { Position } from "./units" +import { TouchEvent, KeyEvent, CommonMethod, NestedScrollOptions, ArkCommonMethodStyle } from "./common" +import { extractors, AttributeModifier, AttributeUpdater } from "./../handwritten" +import { image } from "@ohos.multimedia.image" +import { MenuType, EditMenuOptions } from "./textCommon" +import { CopyOptions, NestedScrollMode } from "./enums" export declare class WebCookie { setCookie(): void saveCookie(): void } +export type WebviewController = webview.WebviewController; +export type OnNavigationEntryCommittedCallback = (loadCommittedDetails: LoadCommittedDetails) => void; +export type OnSslErrorEventCallback = (sslErrorEvent: SslErrorEvent) => void; +export type OnLargestContentfulPaintCallback = (largestContentfulPaint: LargestContentfulPaint) => void; +export type OnFirstMeaningfulPaintCallback = (firstMeaningfulPaint: FirstMeaningfulPaint) => void; +export type OnOverrideUrlLoadingCallback = (webResourceRequest: WebResourceRequest) => boolean; +export type OnIntelligentTrackingPreventionCallback = (details: IntelligentTrackingPreventionDetails) => void; +export type OnNativeEmbedVisibilityChangeCallback = (nativeEmbedVisibilityInfo: NativeEmbedVisibilityInfo) => void; +export declare interface NativeMediaPlayerConfig { + enable: boolean; + shouldOverlay: boolean; +} +export type OnRenderProcessNotRespondingCallback = (data: RenderProcessNotRespondingData) => void; +export type OnRenderProcessRespondingCallback = () => void; +export type OnViewportFitChangedCallback = (viewportFit: ViewportFit) => void; +export type OnAdsBlockedCallback = (details: AdsBlockedDetails) => void; +export declare interface AdsBlockedDetails { + url: string; + adsBlocked: Array; +} +export declare interface WebKeyboardOptions { + useSystemKeyboard: boolean; + enterKeyType?: int32; + customKeyboard?: CustomBuilder; +} +export declare class WebKeyboardController { + constructor() + insertText(text: string): void + deleteForward(length: int32): void + deleteBackward(length: int32): void + sendFunctionKey(key: int32): void + close(): void +} +export declare interface WebKeyboardCallbackInfo { + controller: WebKeyboardController; + attributes: Map; +} +export type WebKeyboardCallback = (keyboardCallbackInfo: WebKeyboardCallbackInfo) => WebKeyboardOptions; +export enum MessageLevel { + DEBUG = 0, + Debug = 0, + ERROR = 1, + Error = 1, + INFO = 2, + Info = 2, + LOG = 3, + Log = 3, + WARN = 4, + Warn = 4 +} +export enum MixedMode { + ALL = 0, + All = 0, + COMPATIBLE = 1, + Compatible = 1, + NONE = 2, + None = 2 +} +export type OnSafeBrowsingCheckResultCallback = (threatType: ThreatType) => void; +export enum HitTestType { + EDIT_TEXT = 0, + EditText = 0, + EMAIL = 1, + Email = 1, + HTTP_ANCHOR = 2, + HttpAnchor = 2, + HTTP_ANCHOR_IMG = 3, + HttpAnchorImg = 3, + IMG = 4, + Img = 4, + MAP = 5, + Map = 5, + PHONE = 6, + Phone = 6, + UNKNOWN = 7, + Unknown = 7 +} +export enum CacheMode { + DEFAULT = 0, + Default = 0, + NONE = 1, + None = 1, + ONLINE = 2, + Online = 2, + ONLY = 3, + Only = 3 +} +export enum OverScrollMode { + NEVER = 0, + ALWAYS = 1 +} +export enum BlurOnKeyboardHideMode { + SILENT = 0, + BLUR = 1 +} +export enum WebDarkMode { + OFF = 0, + Off = 0, + ON = 1, + On = 1, + AUTO = 2, + Auto = 2 +} +export enum WebCaptureMode { + HOME_SCREEN = 0 +} +export enum ThreatType { + THREAT_ILLEGAL = 0, + THREAT_FRAUD = 1, + THREAT_RISK = 2, + THREAT_WARNING = 3 +} +export declare interface WebMediaOptions { + resumeInterval?: int32; + audioExclusive?: boolean; + audioSessionType?: AudioSessionType; +} +export declare interface ScreenCaptureConfig { + captureMode: WebCaptureMode; +} +export declare class FullScreenExitHandler { + constructor() + exitFullScreen(): void +} +export declare interface FullScreenEnterEvent { + handler: FullScreenExitHandler; + videoWidth?: number; + videoHeight?: number; +} +export type OnFullScreenEnterCallback = (event: FullScreenEnterEvent) => void; +export enum RenderExitReason { + PROCESS_ABNORMAL_TERMINATION = 0, + ProcessAbnormalTermination = 0, + PROCESS_WAS_KILLED = 1, + ProcessWasKilled = 1, + PROCESS_CRASHED = 2, + ProcessCrashed = 2, + PROCESS_OOM = 3, + ProcessOom = 3, + PROCESS_EXIT_UNKNOWN = 4, + ProcessExitUnknown = 4 +} +export type OnContextMenuHideCallback = () => void; +export enum SslError { + INVALID = 0, + Invalid = 0, + HOST_MISMATCH = 1, + HostMismatch = 1, + DATE_INVALID = 2, + DateInvalid = 2, + UNTRUSTED = 3, + Untrusted = 3 +} +export enum FileSelectorMode { + FILE_OPEN_MODE = 0, + FileOpenMode = 0, + FILE_OPEN_MULTIPLE_MODE = 1, + FileOpenMultipleMode = 1, + FILE_OPEN_FOLDER_MODE = 2, + FileOpenFolderMode = 2, + FILE_SAVE_MODE = 3, + FileSaveMode = 3 +} +export enum WebLayoutMode { + NONE = 0, + FIT_CONTENT = 1 +} +export enum RenderProcessNotRespondingReason { + INPUT_TIMEOUT = 0, + NAVIGATION_COMMIT_TIMEOUT = 1 +} +export declare class FileSelectorParam { + constructor() + getTitle(): string + getMode(): FileSelectorMode + getAcceptType(): Array + isCapture(): boolean + getMimeTypes(): Array +} +export declare class JsResult { + constructor() + handleCancel(): void + handleConfirm(): void + handlePromptConfirm(result: string): void +} +export declare class FileSelectorResult { + constructor() + handleFileList(fileList: Array): void +} +export declare class HttpAuthHandler { + constructor() + confirm(userName: string, password: string): boolean + cancel(): void + isHttpAuthInfoSaved(): boolean +} +export declare class SslErrorHandler { + constructor() + handleConfirm(): void + handleCancel(): void +} +export declare class ClientAuthenticationHandler { + constructor() + confirm(priKeyFile_authUri: string, certChainFile?: string): void + cancel(): void + ignore(): void +} +export enum ProtectedResourceType { + MIDI_SYSEX = "'TYPE_MIDI_SYSEX'", + MidiSysex = "'TYPE_MIDI_SYSEX'", + VIDEO_CAPTURE = "'TYPE_VIDEO_CAPTURE'", + AUDIO_CAPTURE = "'TYPE_AUDIO_CAPTURE'", + SENSOR = "'TYPE_SENSOR'" +} +export declare class PermissionRequest { + constructor() + deny(): void + getOrigin(): string + getAccessibleResource(): Array + grant(resources: Array): void +} +export declare class ScreenCaptureHandler { + constructor() + getOrigin(): string + grant(config: ScreenCaptureConfig): void + deny(): void +} +export declare class DataResubmissionHandler { + constructor() + resend(): void + cancel(): void +} +export declare class ControllerHandler { + constructor() + setWebController(controller: webview.WebviewController): void +} +export enum ContextMenuSourceType { + NONE = 0, + None = 0, + MOUSE = 1, + Mouse = 1, + LONG_PRESS = 2, + LongPress = 2 +} +export enum ContextMenuMediaType { + NONE = 0, + None = 0, + IMAGE = 1, + Image = 1 +} +export enum ContextMenuInputFieldType { + NONE = 0, + None = 0, + PLAIN_TEXT = 1, + PlainText = 1, + PASSWORD = 2, + Password = 2, + NUMBER = 3, + Number = 3, + TELEPHONE = 4, + Telephone = 4, + OTHER = 5, + Other = 5 +} +export enum NativeEmbedStatus { + CREATE = 0, + UPDATE = 1, + DESTROY = 2, + ENTER_BFCACHE = 3, + LEAVE_BFCACHE = 4 +} +export enum ContextMenuEditStateFlags { + NONE = 0, + CAN_CUT = 1, + CAN_COPY = 2, + CAN_PASTE = 3, + CAN_SELECT_ALL = 4 +} +export enum WebNavigationType { + UNKNOWN = 0, + MAIN_FRAME_NEW_ENTRY = 1, + MAIN_FRAME_EXISTING_ENTRY = 2, + NAVIGATION_TYPE_NEW_SUBFRAME = 4, + NAVIGATION_TYPE_AUTO_SUBFRAME = 5 +} +export enum RenderMode { + ASYNC_RENDER = 0, + SYNC_RENDER = 1 +} +export enum ViewportFit { + AUTO = 0, + CONTAINS = 1, + COVER = 2 +} +export declare class WebContextMenuParam { + constructor() + x(): int32 + y(): int32 + getLinkUrl(): string + getUnfilteredLinkUrl(): string + getSourceUrl(): string + existsImageContents(): boolean + getMediaType(): ContextMenuMediaType + getSelectionText(): string + getSourceType(): ContextMenuSourceType + getInputFieldType(): ContextMenuInputFieldType + isEditable(): boolean + getEditStateFlags(): int32 + getPreviewWidth(): int32 + getPreviewHeight(): int32 +} +export declare class WebContextMenuResult { + constructor() + closeContextMenu(): void + copyImage(): void + copy(): void + paste(): void + cut(): void + selectAll(): void +} +export declare class ConsoleMessage { + constructor() + getMessage(): string + getSourceId(): string + getLineNumber(): number + getMessageLevel(): MessageLevel +} +export declare class WebResourceRequest { + constructor() + getRequestHeader(): Array
+ getRequestUrl(): string + isRequestGesture(): boolean + isMainFrame(): boolean + isRedirect(): boolean + getRequestMethod(): string +} +export declare class WebResourceResponse { + constructor() + getResponseData(): string + getResponseDataEx(): string | number | ArrayBuffer | Resource | undefined + getResponseEncoding(): string + getResponseMimeType(): string + getReasonMessage(): string + getResponseHeader(): Array
+ getResponseCode(): number + setResponseData(data: string | number | Resource | ArrayBuffer): void + setResponseEncoding(encoding: string): void + setResponseMimeType(mimeType: string): void + setReasonMessage(reason: string): void + setResponseHeader(header: Array
): void + setResponseCode(code: number): void + setResponseIsReady(IsReady: boolean): void + getResponseIsReady(): boolean +} +export declare interface Header { + headerKey: string; + headerValue: string; +} +export declare class WebResourceError { + constructor() + getErrorInfo(): string + getErrorCode(): number +} +export declare class JsGeolocation { + constructor() + invoke(origin: string, allow: boolean, retain: boolean): void +} +export declare class EventResult { + constructor() + setGestureEventResult(result: boolean, stopPropagation?: boolean): void +} +export declare interface WebOptions { + src: string | Resource; + controller: webview.WebviewController; + renderMode?: RenderMode; + incognitoMode?: boolean; + sharedRenderProcessToken?: string; +} +export declare interface ScriptItem { + script: string; + scriptRules: Array; +} +export declare interface LoadCommittedDetails { + isMainFrame: boolean; + isSameDocument: boolean; + didReplaceEntry: boolean; + navigationType: WebNavigationType; + url: string; +} +export declare interface IntelligentTrackingPreventionDetails { + host: string; + trackerHost: string; +} +export declare interface NativeEmbedInfo { + id?: string; + type?: string; + src?: string; + position?: Position; + width?: int32; + height?: int32; + url?: string; + tag?: string; + params?: Map; +} +export declare interface NativeEmbedDataInfo { + status?: NativeEmbedStatus; + surfaceId?: string; + embedId?: string; + info?: NativeEmbedInfo; +} +export declare interface NativeEmbedVisibilityInfo { + visibility: boolean; + embedId: string; +} +export declare interface NativeEmbedTouchInfo { + embedId?: string; + touchEvent?: TouchEvent; + result?: EventResult; +} +export declare interface FirstMeaningfulPaint { + navigationStartTime?: int64; + firstMeaningfulPaintTime?: int64; +} +export declare interface LargestContentfulPaint { + navigationStartTime?: int64; + largestImagePaintTime?: int64; + largestTextPaintTime?: int64; + imageBPP?: double; + largestImageLoadStartTime?: int64; + largestImageLoadEndTime?: int64; +} +export declare interface RenderProcessNotRespondingData { + jsStack: string; + pid: int32; + reason: RenderProcessNotRespondingReason; +} +export declare interface OnPageEndEvent { + url: string; +} +export declare interface OnPageBeginEvent { + url: string; +} +export declare interface OnProgressChangeEvent { + newProgress: int32; +} +export declare interface OnTitleReceiveEvent { + title: string; +} +export declare interface OnGeolocationShowEvent { + origin: string; + geolocation: JsGeolocation; +} +export declare interface OnAlertEvent { + url: string; + message: string; + result: JsResult; +} +export declare interface OnBeforeUnloadEvent { + url: string; + message: string; + result: JsResult; +} +export declare interface OnConfirmEvent { + url: string; + message: string; + result: JsResult; +} +export declare interface OnPromptEvent { + url: string; + message: string; + value: string; + result: JsResult; +} +export declare interface OnConsoleEvent { + message: ConsoleMessage; +} +export declare interface OnErrorReceiveEvent { + request: WebResourceRequest; + error: WebResourceError; +} +export declare interface OnHttpErrorReceiveEvent { + request: WebResourceRequest; + response: WebResourceResponse; +} +export declare interface OnDownloadStartEvent { + url: string; + userAgent: string; + contentDisposition: string; + mimetype: string; + contentLength: number; +} +export declare interface OnRefreshAccessedHistoryEvent { + url: string; + isRefreshed: boolean; +} +export declare interface OnRenderExitedEvent { + renderExitReason: RenderExitReason; +} +export declare interface OnShowFileSelectorEvent { + result: FileSelectorResult; + fileSelector: FileSelectorParam; +} +export declare interface OnResourceLoadEvent { + url: string; +} +export declare interface OnScaleChangeEvent { + oldScale: double; + newScale: double; +} +export declare interface OnHttpAuthRequestEvent { + handler: HttpAuthHandler; + host: string; + realm: string; +} +export declare interface OnInterceptRequestEvent { + request: WebResourceRequest; +} +export declare interface OnPermissionRequestEvent { + request: PermissionRequest; +} +export declare interface OnScreenCaptureRequestEvent { + handler: ScreenCaptureHandler; +} +export declare interface OnContextMenuShowEvent { + param: WebContextMenuParam; + result: WebContextMenuResult; +} +export declare interface OnSearchResultReceiveEvent { + activeMatchOrdinal: number; + numberOfMatches: number; + isDoneCounting: boolean; +} +export declare interface OnScrollEvent { + xOffset: double; + yOffset: double; +} +export declare interface OnSslErrorEventReceiveEvent { + handler: SslErrorHandler; + error: SslError; + certChainData?: Array; +} +export declare interface OnClientAuthenticationEvent { + handler: ClientAuthenticationHandler; + host: string; + port: number; + keyTypes: Array; + issuers: Array; +} +export declare interface OnWindowNewEvent { + isAlert: boolean; + isUserTrigger: boolean; + targetUrl: string; + handler: ControllerHandler; +} +export declare interface OnTouchIconUrlReceivedEvent { + url: string; + precomposed: boolean; +} +export declare interface OnFaviconReceivedEvent { + favicon: image.PixelMap; +} +export declare interface OnPageVisibleEvent { + url: string; +} +export declare interface OnDataResubmittedEvent { + handler: DataResubmissionHandler; +} +export declare interface OnAudioStateChangedEvent { + playing: boolean; +} +export declare interface OnFirstContentfulPaintEvent { + navigationStartTick: int64; + firstContentfulPaintMs: int64; +} +export declare interface OnLoadInterceptEvent { + data: WebResourceRequest; +} +export declare interface OnOverScrollEvent { + xOffset: double; + yOffset: double; +} +export declare interface JavaScriptProxy { + object_: Object; + name: string; + methodList: Array; + controller: webview.WebviewController; + asyncMethodList?: Array; + permission?: string; +} +export enum WebKeyboardAvoidMode { + RESIZE_VISUAL = 0, + RESIZE_CONTENT = 1, + OVERLAYS_CONTENT = 2 +} +export enum WebElementType { + IMAGE = 1 +} +export enum WebResponseType { + LONG_PRESS = 1 +} +export enum AudioSessionType { + AMBIENT = 3 +} +export declare interface SelectionMenuOptionsExt { + onAppear?: (() => void); + onDisappear?: (() => void); + preview?: CustomBuilder; + menuType?: MenuType; +} +export interface WebAttribute extends CommonMethod { + javaScriptAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method javaScriptAccess") + } + fileAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method fileAccess") + } + onlineImageAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method onlineImageAccess") + } + domStorageAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method domStorageAccess") + } + imageAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method imageAccess") + } + mixedMode(value: MixedMode | undefined): this { + throw new Error("Unimplemented method mixedMode") + } + zoomAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method zoomAccess") + } + geolocationAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method geolocationAccess") + } + javaScriptProxy(value: JavaScriptProxy | undefined): this { + throw new Error("Unimplemented method javaScriptProxy") + } + cacheMode(value: CacheMode | undefined): this { + throw new Error("Unimplemented method cacheMode") + } + darkMode(value: WebDarkMode | undefined): this { + throw new Error("Unimplemented method darkMode") + } + forceDarkAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method forceDarkAccess") + } + mediaOptions(value: WebMediaOptions | undefined): this { + throw new Error("Unimplemented method mediaOptions") + } + overviewModeAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method overviewModeAccess") + } + overScrollMode(value: OverScrollMode | undefined): this { + throw new Error("Unimplemented method overScrollMode") + } + blurOnKeyboardHideMode(value: BlurOnKeyboardHideMode | undefined): this { + throw new Error("Unimplemented method blurOnKeyboardHideMode") + } + textZoomRatio(value: int32 | undefined): this { + throw new Error("Unimplemented method textZoomRatio") + } + databaseAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method databaseAccess") + } + initialScale(value: double | undefined): this { + throw new Error("Unimplemented method initialScale") + } + metaViewport(value: boolean | undefined): this { + throw new Error("Unimplemented method metaViewport") + } + onPageEnd(value: ((value0: OnPageEndEvent) => void) | undefined): this { + throw new Error("Unimplemented method onPageEnd") + } + onPageBegin(value: ((value0: OnPageBeginEvent) => void) | undefined): this { + throw new Error("Unimplemented method onPageBegin") + } + onProgressChange(value: ((value0: OnProgressChangeEvent) => void) | undefined): this { + throw new Error("Unimplemented method onProgressChange") + } + onTitleReceive(value: ((value0: OnTitleReceiveEvent) => void) | undefined): this { + throw new Error("Unimplemented method onTitleReceive") + } + onGeolocationHide(value: (() => void) | undefined): this { + throw new Error("Unimplemented method onGeolocationHide") + } + onGeolocationShow(value: ((value0: OnGeolocationShowEvent) => void) | undefined): this { + throw new Error("Unimplemented method onGeolocationShow") + } + onRequestSelected(value: (() => void) | undefined): this { + throw new Error("Unimplemented method onRequestSelected") + } + onAlert(value: ((value0: OnAlertEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onAlert") + } + onBeforeUnload(value: ((value0: OnBeforeUnloadEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onBeforeUnload") + } + onConfirm(value: ((value0: OnConfirmEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onConfirm") + } + onPrompt(value: ((value0: OnPromptEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onPrompt") + } + onConsole(value: ((value0: OnConsoleEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onConsole") + } + onErrorReceive(value: ((value0: OnErrorReceiveEvent) => void) | undefined): this { + throw new Error("Unimplemented method onErrorReceive") + } + onHttpErrorReceive(value: ((value0: OnHttpErrorReceiveEvent) => void) | undefined): this { + throw new Error("Unimplemented method onHttpErrorReceive") + } + onDownloadStart(value: ((value0: OnDownloadStartEvent) => void) | undefined): this { + throw new Error("Unimplemented method onDownloadStart") + } + onRefreshAccessedHistory(value: ((value0: OnRefreshAccessedHistoryEvent) => void) | undefined): this { + throw new Error("Unimplemented method onRefreshAccessedHistory") + } + onRenderExited(value: ((value0: OnRenderExitedEvent) => void) | undefined): this { + throw new Error("Unimplemented method onRenderExited") + } + onShowFileSelector(value: ((value0: OnShowFileSelectorEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onShowFileSelector") + } + onResourceLoad(value: ((value0: OnResourceLoadEvent) => void) | undefined): this { + throw new Error("Unimplemented method onResourceLoad") + } + onFullScreenExit(value: (() => void) | undefined): this { + throw new Error("Unimplemented method onFullScreenExit") + } + onFullScreenEnter(value: OnFullScreenEnterCallback | undefined): this { + throw new Error("Unimplemented method onFullScreenEnter") + } + onScaleChange(value: ((value0: OnScaleChangeEvent) => void) | undefined): this { + throw new Error("Unimplemented method onScaleChange") + } + onHttpAuthRequest(value: ((value0: OnHttpAuthRequestEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onHttpAuthRequest") + } + onInterceptRequest(value: ((value0: OnInterceptRequestEvent) => WebResourceResponse) | undefined): this { + throw new Error("Unimplemented method onInterceptRequest") + } + onPermissionRequest(value: ((value0: OnPermissionRequestEvent) => void) | undefined): this { + throw new Error("Unimplemented method onPermissionRequest") + } + onScreenCaptureRequest(value: ((value0: OnScreenCaptureRequestEvent) => void) | undefined): this { + throw new Error("Unimplemented method onScreenCaptureRequest") + } + onContextMenuShow(value: ((value0: OnContextMenuShowEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onContextMenuShow") + } + onContextMenuHide(value: OnContextMenuHideCallback | undefined): this { + throw new Error("Unimplemented method onContextMenuHide") + } + mediaPlayGestureAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method mediaPlayGestureAccess") + } + onSearchResultReceive(value: ((value0: OnSearchResultReceiveEvent) => void) | undefined): this { + throw new Error("Unimplemented method onSearchResultReceive") + } + onScroll(value: ((value0: OnScrollEvent) => void) | undefined): this { + throw new Error("Unimplemented method onScroll") + } + onSslErrorEventReceive(value: ((value0: OnSslErrorEventReceiveEvent) => void) | undefined): this { + throw new Error("Unimplemented method onSslErrorEventReceive") + } + onSslErrorEvent(value: OnSslErrorEventCallback | undefined): this { + throw new Error("Unimplemented method onSslErrorEvent") + } + onClientAuthenticationRequest(value: ((value0: OnClientAuthenticationEvent) => void) | undefined): this { + throw new Error("Unimplemented method onClientAuthenticationRequest") + } + onWindowNew(value: ((value0: OnWindowNewEvent) => void) | undefined): this { + throw new Error("Unimplemented method onWindowNew") + } + onWindowExit(value: (() => void) | undefined): this { + throw new Error("Unimplemented method onWindowExit") + } + multiWindowAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method multiWindowAccess") + } + onInterceptKeyEvent(value: ((event: KeyEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onInterceptKeyEvent") + } + webStandardFont(value: string | undefined): this { + throw new Error("Unimplemented method webStandardFont") + } + webSerifFont(value: string | undefined): this { + throw new Error("Unimplemented method webSerifFont") + } + webSansSerifFont(value: string | undefined): this { + throw new Error("Unimplemented method webSansSerifFont") + } + webFixedFont(value: string | undefined): this { + throw new Error("Unimplemented method webFixedFont") + } + webFantasyFont(value: string | undefined): this { + throw new Error("Unimplemented method webFantasyFont") + } + webCursiveFont(value: string | undefined): this { + throw new Error("Unimplemented method webCursiveFont") + } + defaultFixedFontSize(value: int32 | undefined): this { + throw new Error("Unimplemented method defaultFixedFontSize") + } + defaultFontSize(value: int32 | undefined): this { + throw new Error("Unimplemented method defaultFontSize") + } + minFontSize(value: int32 | undefined): this { + throw new Error("Unimplemented method minFontSize") + } + minLogicalFontSize(value: int32 | undefined): this { + throw new Error("Unimplemented method minLogicalFontSize") + } + defaultTextEncodingFormat(value: string | undefined): this { + throw new Error("Unimplemented method defaultTextEncodingFormat") + } + forceDisplayScrollBar(value: boolean | undefined): this { + throw new Error("Unimplemented method forceDisplayScrollBar") + } + blockNetwork(value: boolean | undefined): this { + throw new Error("Unimplemented method blockNetwork") + } + horizontalScrollBarAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method horizontalScrollBarAccess") + } + verticalScrollBarAccess(value: boolean | undefined): this { + throw new Error("Unimplemented method verticalScrollBarAccess") + } + onTouchIconUrlReceived(value: ((value0: OnTouchIconUrlReceivedEvent) => void) | undefined): this { + throw new Error("Unimplemented method onTouchIconUrlReceived") + } + onFaviconReceived(value: ((value0: OnFaviconReceivedEvent) => void) | undefined): this { + throw new Error("Unimplemented method onFaviconReceived") + } + onPageVisible(value: ((value0: OnPageVisibleEvent) => void) | undefined): this { + throw new Error("Unimplemented method onPageVisible") + } + onDataResubmitted(value: ((value0: OnDataResubmittedEvent) => void) | undefined): this { + throw new Error("Unimplemented method onDataResubmitted") + } + pinchSmooth(value: boolean | undefined): this { + throw new Error("Unimplemented method pinchSmooth") + } + allowWindowOpenMethod(value: boolean | undefined): this { + throw new Error("Unimplemented method allowWindowOpenMethod") + } + onAudioStateChanged(value: ((value0: OnAudioStateChangedEvent) => void) | undefined): this { + throw new Error("Unimplemented method onAudioStateChanged") + } + onFirstContentfulPaint(value: ((value0: OnFirstContentfulPaintEvent) => void) | undefined): this { + throw new Error("Unimplemented method onFirstContentfulPaint") + } + onFirstMeaningfulPaint(value: OnFirstMeaningfulPaintCallback | undefined): this { + throw new Error("Unimplemented method onFirstMeaningfulPaint") + } + onLargestContentfulPaint(value: OnLargestContentfulPaintCallback | undefined): this { + throw new Error("Unimplemented method onLargestContentfulPaint") + } + onLoadIntercept(value: ((value0: OnLoadInterceptEvent) => boolean) | undefined): this { + throw new Error("Unimplemented method onLoadIntercept") + } + onControllerAttached(value: (() => void) | undefined): this { + throw new Error("Unimplemented method onControllerAttached") + } + onOverScroll(value: ((value0: OnOverScrollEvent) => void) | undefined): this { + throw new Error("Unimplemented method onOverScroll") + } + onSafeBrowsingCheckResult(value: OnSafeBrowsingCheckResultCallback | undefined): this { + throw new Error("Unimplemented method onSafeBrowsingCheckResult") + } + onNavigationEntryCommitted(value: OnNavigationEntryCommittedCallback | undefined): this { + throw new Error("Unimplemented method onNavigationEntryCommitted") + } + onIntelligentTrackingPreventionResult(value: OnIntelligentTrackingPreventionCallback | undefined): this { + throw new Error("Unimplemented method onIntelligentTrackingPreventionResult") + } + javaScriptOnDocumentStart(value: Array | undefined): this { + throw new Error("Unimplemented method javaScriptOnDocumentStart") + } + javaScriptOnDocumentEnd(value: Array | undefined): this { + throw new Error("Unimplemented method javaScriptOnDocumentEnd") + } + layoutMode(value: WebLayoutMode | undefined): this { + throw new Error("Unimplemented method layoutMode") + } + nestedScroll(value: NestedScrollOptions | NestedScrollOptionsExt | undefined): this { + throw new Error("Unimplemented method nestedScroll") + } + enableNativeEmbedMode(value: boolean | undefined): this { + throw new Error("Unimplemented method enableNativeEmbedMode") + } + onNativeEmbedLifecycleChange(value: ((event: NativeEmbedDataInfo) => void) | undefined): this { + throw new Error("Unimplemented method onNativeEmbedLifecycleChange") + } + onNativeEmbedVisibilityChange(value: OnNativeEmbedVisibilityChangeCallback | undefined): this { + throw new Error("Unimplemented method onNativeEmbedVisibilityChange") + } + onNativeEmbedGestureEvent(value: ((event: NativeEmbedTouchInfo) => void) | undefined): this { + throw new Error("Unimplemented method onNativeEmbedGestureEvent") + } + copyOptions(value: CopyOptions | undefined): this { + throw new Error("Unimplemented method copyOptions") + } + onOverrideUrlLoading(value: OnOverrideUrlLoadingCallback | undefined): this { + throw new Error("Unimplemented method onOverrideUrlLoading") + } + textAutosizing(value: boolean | undefined): this { + throw new Error("Unimplemented method textAutosizing") + } + enableNativeMediaPlayer(value: NativeMediaPlayerConfig | undefined): this { + throw new Error("Unimplemented method enableNativeMediaPlayer") + } + onRenderProcessNotResponding(value: OnRenderProcessNotRespondingCallback | undefined): this { + throw new Error("Unimplemented method onRenderProcessNotResponding") + } + onRenderProcessResponding(value: OnRenderProcessRespondingCallback | undefined): this { + throw new Error("Unimplemented method onRenderProcessResponding") + } + onViewportFitChanged(value: OnViewportFitChangedCallback | undefined): this { + throw new Error("Unimplemented method onViewportFitChanged") + } + onInterceptKeyboardAttach(value: WebKeyboardCallback | undefined): this { + throw new Error("Unimplemented method onInterceptKeyboardAttach") + } + onAdsBlocked(value: OnAdsBlockedCallback | undefined): this { + throw new Error("Unimplemented method onAdsBlocked") + } + keyboardAvoidMode(value: WebKeyboardAvoidMode | undefined): this { + throw new Error("Unimplemented method keyboardAvoidMode") + } + editMenuOptions(value: EditMenuOptions | undefined): this { + throw new Error("Unimplemented method editMenuOptions") + } + enableHapticFeedback(value: boolean | undefined): this { + throw new Error("Unimplemented method enableHapticFeedback") + } + optimizeParserBudget(value: boolean | undefined): this { + throw new Error("Unimplemented method optimizeParserBudget") + } + enableFollowSystemFontWeight(value: boolean | undefined): this { + throw new Error("Unimplemented method enableFollowSystemFontWeight") + } + enableWebAVSession(value: boolean | undefined): this { + throw new Error("Unimplemented method enableWebAVSession") + } + runJavaScriptOnDocumentStart(value: Array | undefined): this { + throw new Error("Unimplemented method runJavaScriptOnDocumentStart") + } + runJavaScriptOnDocumentEnd(value: Array | undefined): this { + throw new Error("Unimplemented method runJavaScriptOnDocumentEnd") + } + runJavaScriptOnHeadEnd(value: Array | undefined): this { + throw new Error("Unimplemented method runJavaScriptOnHeadEnd") + } + nativeEmbedOptions(value: EmbedOptions | undefined): this { + throw new Error("Unimplemented method nativeEmbedOptions") + } + registerNativeEmbedRule(tag: string | undefined, type: string | undefined): this { + throw new Error("Unimplemented method registerNativeEmbedRule") + } + bindSelectionMenu(elementType: WebElementType | undefined, content: CustomBuilder | undefined, responseType: WebResponseType | undefined, options?: SelectionMenuOptionsExt): this { + throw new Error("Unimplemented method bindSelectionMenu") + } + attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { + throw new Error("Unimplemented method attributeModifier") + } +} +export class ArkWebStyle extends ArkCommonMethodStyle implements WebAttribute { + javaScriptAccess_value?: boolean | undefined + fileAccess_value?: boolean | undefined + onlineImageAccess_value?: boolean | undefined + domStorageAccess_value?: boolean | undefined + imageAccess_value?: boolean | undefined + mixedMode_value?: MixedMode | undefined + zoomAccess_value?: boolean | undefined + geolocationAccess_value?: boolean | undefined + javaScriptProxy_value?: JavaScriptProxy | undefined + cacheMode_value?: CacheMode | undefined + darkMode_value?: WebDarkMode | undefined + forceDarkAccess_value?: boolean | undefined + mediaOptions_value?: WebMediaOptions | undefined + overviewModeAccess_value?: boolean | undefined + overScrollMode_value?: OverScrollMode | undefined + blurOnKeyboardHideMode_value?: BlurOnKeyboardHideMode | undefined + textZoomRatio_value?: int32 | undefined + databaseAccess_value?: boolean | undefined + initialScale_value?: double | undefined + metaViewport_value?: boolean | undefined + onPageEnd_value?: ((value0: OnPageEndEvent) => void) | undefined + onPageBegin_value?: ((value0: OnPageBeginEvent) => void) | undefined + onProgressChange_value?: ((value0: OnProgressChangeEvent) => void) | undefined + onTitleReceive_value?: ((value0: OnTitleReceiveEvent) => void) | undefined + onGeolocationHide_value?: (() => void) | undefined + onGeolocationShow_value?: ((value0: OnGeolocationShowEvent) => void) | undefined + onRequestSelected_value?: (() => void) | undefined + onAlert_value?: ((value0: OnAlertEvent) => boolean) | undefined + onBeforeUnload_value?: ((value0: OnBeforeUnloadEvent) => boolean) | undefined + onConfirm_value?: ((value0: OnConfirmEvent) => boolean) | undefined + onPrompt_value?: ((value0: OnPromptEvent) => boolean) | undefined + onConsole_value?: ((value0: OnConsoleEvent) => boolean) | undefined + onErrorReceive_value?: ((value0: OnErrorReceiveEvent) => void) | undefined + onHttpErrorReceive_value?: ((value0: OnHttpErrorReceiveEvent) => void) | undefined + onDownloadStart_value?: ((value0: OnDownloadStartEvent) => void) | undefined + onRefreshAccessedHistory_value?: ((value0: OnRefreshAccessedHistoryEvent) => void) | undefined + onRenderExited_value?: ((value0: OnRenderExitedEvent) => void) | undefined + onShowFileSelector_value?: ((value0: OnShowFileSelectorEvent) => boolean) | undefined + onResourceLoad_value?: ((value0: OnResourceLoadEvent) => void) | undefined + onFullScreenExit_value?: (() => void) | undefined + onFullScreenEnter_value?: OnFullScreenEnterCallback | undefined + onScaleChange_value?: ((value0: OnScaleChangeEvent) => void) | undefined + onHttpAuthRequest_value?: ((value0: OnHttpAuthRequestEvent) => boolean) | undefined + onInterceptRequest_value?: ((value0: OnInterceptRequestEvent) => WebResourceResponse) | undefined + onPermissionRequest_value?: ((value0: OnPermissionRequestEvent) => void) | undefined + onScreenCaptureRequest_value?: ((value0: OnScreenCaptureRequestEvent) => void) | undefined + onContextMenuShow_value?: ((value0: OnContextMenuShowEvent) => boolean) | undefined + onContextMenuHide_value?: OnContextMenuHideCallback | undefined + mediaPlayGestureAccess_value?: boolean | undefined + onSearchResultReceive_value?: ((value0: OnSearchResultReceiveEvent) => void) | undefined + onScroll_value?: ((value0: OnScrollEvent) => void) | undefined + onSslErrorEventReceive_value?: ((value0: OnSslErrorEventReceiveEvent) => void) | undefined + onSslErrorEvent_value?: OnSslErrorEventCallback | undefined + onClientAuthenticationRequest_value?: ((value0: OnClientAuthenticationEvent) => void) | undefined + onWindowNew_value?: ((value0: OnWindowNewEvent) => void) | undefined + onWindowExit_value?: (() => void) | undefined + multiWindowAccess_value?: boolean | undefined + onInterceptKeyEvent_value?: ((event: KeyEvent) => boolean) | undefined + webStandardFont_value?: string | undefined + webSerifFont_value?: string | undefined + webSansSerifFont_value?: string | undefined + webFixedFont_value?: string | undefined + webFantasyFont_value?: string | undefined + webCursiveFont_value?: string | undefined + defaultFixedFontSize_value?: int32 | undefined + defaultFontSize_value?: int32 | undefined + minFontSize_value?: int32 | undefined + minLogicalFontSize_value?: int32 | undefined + defaultTextEncodingFormat_value?: string | undefined + forceDisplayScrollBar_value?: boolean | undefined + blockNetwork_value?: boolean | undefined + horizontalScrollBarAccess_value?: boolean | undefined + verticalScrollBarAccess_value?: boolean | undefined + onTouchIconUrlReceived_value?: ((value0: OnTouchIconUrlReceivedEvent) => void) | undefined + onFaviconReceived_value?: ((value0: OnFaviconReceivedEvent) => void) | undefined + onPageVisible_value?: ((value0: OnPageVisibleEvent) => void) | undefined + onDataResubmitted_value?: ((value0: OnDataResubmittedEvent) => void) | undefined + pinchSmooth_value?: boolean | undefined + allowWindowOpenMethod_value?: boolean | undefined + onAudioStateChanged_value?: ((value0: OnAudioStateChangedEvent) => void) | undefined + onFirstContentfulPaint_value?: ((value0: OnFirstContentfulPaintEvent) => void) | undefined + onFirstMeaningfulPaint_value?: OnFirstMeaningfulPaintCallback | undefined + onLargestContentfulPaint_value?: OnLargestContentfulPaintCallback | undefined + onLoadIntercept_value?: ((value0: OnLoadInterceptEvent) => boolean) | undefined + onControllerAttached_value?: (() => void) | undefined + onOverScroll_value?: ((value0: OnOverScrollEvent) => void) | undefined + onSafeBrowsingCheckResult_value?: OnSafeBrowsingCheckResultCallback | undefined + onNavigationEntryCommitted_value?: OnNavigationEntryCommittedCallback | undefined + onIntelligentTrackingPreventionResult_value?: OnIntelligentTrackingPreventionCallback | undefined + javaScriptOnDocumentStart_value?: Array | undefined + javaScriptOnDocumentEnd_value?: Array | undefined + layoutMode_value?: WebLayoutMode | undefined + nestedScroll_value?: NestedScrollOptions | NestedScrollOptionsExt | undefined + enableNativeEmbedMode_value?: boolean | undefined + onNativeEmbedLifecycleChange_value?: ((event: NativeEmbedDataInfo) => void) | undefined + onNativeEmbedVisibilityChange_value?: OnNativeEmbedVisibilityChangeCallback | undefined + onNativeEmbedGestureEvent_value?: ((event: NativeEmbedTouchInfo) => void) | undefined + copyOptions_value?: CopyOptions | undefined + onOverrideUrlLoading_value?: OnOverrideUrlLoadingCallback | undefined + textAutosizing_value?: boolean | undefined + enableNativeMediaPlayer_value?: NativeMediaPlayerConfig | undefined + onRenderProcessNotResponding_value?: OnRenderProcessNotRespondingCallback | undefined + onRenderProcessResponding_value?: OnRenderProcessRespondingCallback | undefined + onViewportFitChanged_value?: OnViewportFitChangedCallback | undefined + onInterceptKeyboardAttach_value?: WebKeyboardCallback | undefined + onAdsBlocked_value?: OnAdsBlockedCallback | undefined + keyboardAvoidMode_value?: WebKeyboardAvoidMode | undefined + editMenuOptions_value?: EditMenuOptions | undefined + enableHapticFeedback_value?: boolean | undefined + optimizeParserBudget_value?: boolean | undefined + enableFollowSystemFontWeight_value?: boolean | undefined + enableWebAVSession_value?: boolean | undefined + runJavaScriptOnDocumentStart_value?: Array | undefined + runJavaScriptOnDocumentEnd_value?: Array | undefined + runJavaScriptOnHeadEnd_value?: Array | undefined + nativeEmbedOptions_value?: EmbedOptions | undefined + attributeModifier_value?: AttributeModifier | AttributeModifier | undefined + javaScriptAccess(value: boolean | undefined): this { + return this + } + fileAccess(value: boolean | undefined): this { + return this + } + onlineImageAccess(value: boolean | undefined): this { + return this + } + domStorageAccess(value: boolean | undefined): this { + return this + } + imageAccess(value: boolean | undefined): this { + return this + } + mixedMode(value: MixedMode | undefined): this { + return this + } + zoomAccess(value: boolean | undefined): this { + return this + } + geolocationAccess(value: boolean | undefined): this { + return this + } + javaScriptProxy(value: JavaScriptProxy | undefined): this { + return this + } + cacheMode(value: CacheMode | undefined): this { + return this + } + darkMode(value: WebDarkMode | undefined): this { + return this + } + forceDarkAccess(value: boolean | undefined): this { + return this + } + mediaOptions(value: WebMediaOptions | undefined): this { + return this + } + overviewModeAccess(value: boolean | undefined): this { + return this + } + overScrollMode(value: OverScrollMode | undefined): this { + return this + } + blurOnKeyboardHideMode(value: BlurOnKeyboardHideMode | undefined): this { + return this + } + textZoomRatio(value: int32 | undefined): this { + return this + } + databaseAccess(value: boolean | undefined): this { + return this + } + initialScale(value: double | undefined): this { + return this + } + metaViewport(value: boolean | undefined): this { + return this + } + onPageEnd(value: ((value0: OnPageEndEvent) => void) | undefined): this { + return this + } + onPageBegin(value: ((value0: OnPageBeginEvent) => void) | undefined): this { + return this + } + onProgressChange(value: ((value0: OnProgressChangeEvent) => void) | undefined): this { + return this + } + onTitleReceive(value: ((value0: OnTitleReceiveEvent) => void) | undefined): this { + return this + } + onGeolocationHide(value: (() => void) | undefined): this { + return this + } + onGeolocationShow(value: ((value0: OnGeolocationShowEvent) => void) | undefined): this { + return this + } + onRequestSelected(value: (() => void) | undefined): this { + return this + } + onAlert(value: ((value0: OnAlertEvent) => boolean) | undefined): this { + return this + } + onBeforeUnload(value: ((value0: OnBeforeUnloadEvent) => boolean) | undefined): this { + return this + } + onConfirm(value: ((value0: OnConfirmEvent) => boolean) | undefined): this { + return this + } + onPrompt(value: ((value0: OnPromptEvent) => boolean) | undefined): this { + return this + } + onConsole(value: ((value0: OnConsoleEvent) => boolean) | undefined): this { + return this + } + onErrorReceive(value: ((value0: OnErrorReceiveEvent) => void) | undefined): this { + return this + } + onHttpErrorReceive(value: ((value0: OnHttpErrorReceiveEvent) => void) | undefined): this { + return this + } + onDownloadStart(value: ((value0: OnDownloadStartEvent) => void) | undefined): this { + return this + } + onRefreshAccessedHistory(value: ((value0: OnRefreshAccessedHistoryEvent) => void) | undefined): this { + return this + } + onRenderExited(value: ((value0: OnRenderExitedEvent) => void) | undefined): this { + return this + } + onShowFileSelector(value: ((value0: OnShowFileSelectorEvent) => boolean) | undefined): this { + return this + } + onResourceLoad(value: ((value0: OnResourceLoadEvent) => void) | undefined): this { + return this + } + onFullScreenExit(value: (() => void) | undefined): this { + return this + } + onFullScreenEnter(value: OnFullScreenEnterCallback | undefined): this { + return this + } + onScaleChange(value: ((value0: OnScaleChangeEvent) => void) | undefined): this { + return this + } + onHttpAuthRequest(value: ((value0: OnHttpAuthRequestEvent) => boolean) | undefined): this { + return this + } + onInterceptRequest(value: ((value0: OnInterceptRequestEvent) => WebResourceResponse) | undefined): this { + return this + } + onPermissionRequest(value: ((value0: OnPermissionRequestEvent) => void) | undefined): this { + return this + } + onScreenCaptureRequest(value: ((value0: OnScreenCaptureRequestEvent) => void) | undefined): this { + return this + } + onContextMenuShow(value: ((value0: OnContextMenuShowEvent) => boolean) | undefined): this { + return this + } + onContextMenuHide(value: OnContextMenuHideCallback | undefined): this { + return this + } + mediaPlayGestureAccess(value: boolean | undefined): this { + return this + } + onSearchResultReceive(value: ((value0: OnSearchResultReceiveEvent) => void) | undefined): this { + return this + } + onScroll(value: ((value0: OnScrollEvent) => void) | undefined): this { + return this + } + onSslErrorEventReceive(value: ((value0: OnSslErrorEventReceiveEvent) => void) | undefined): this { + return this + } + onSslErrorEvent(value: OnSslErrorEventCallback | undefined): this { + return this + } + onClientAuthenticationRequest(value: ((value0: OnClientAuthenticationEvent) => void) | undefined): this { + return this + } + onWindowNew(value: ((value0: OnWindowNewEvent) => void) | undefined): this { + return this + } + onWindowExit(value: (() => void) | undefined): this { + return this + } + multiWindowAccess(value: boolean | undefined): this { + return this + } + onInterceptKeyEvent(value: ((event: KeyEvent) => boolean) | undefined): this { + return this + } + webStandardFont(value: string | undefined): this { + return this + } + webSerifFont(value: string | undefined): this { + return this + } + webSansSerifFont(value: string | undefined): this { + return this + } + webFixedFont(value: string | undefined): this { + return this + } + webFantasyFont(value: string | undefined): this { + return this + } + webCursiveFont(value: string | undefined): this { + return this + } + defaultFixedFontSize(value: int32 | undefined): this { + return this + } + defaultFontSize(value: int32 | undefined): this { + return this + } + minFontSize(value: int32 | undefined): this { + return this + } + minLogicalFontSize(value: int32 | undefined): this { + return this + } + defaultTextEncodingFormat(value: string | undefined): this { + return this + } + forceDisplayScrollBar(value: boolean | undefined): this { + return this + } + blockNetwork(value: boolean | undefined): this { + return this + } + horizontalScrollBarAccess(value: boolean | undefined): this { + return this + } + verticalScrollBarAccess(value: boolean | undefined): this { + return this + } + onTouchIconUrlReceived(value: ((value0: OnTouchIconUrlReceivedEvent) => void) | undefined): this { + return this + } + onFaviconReceived(value: ((value0: OnFaviconReceivedEvent) => void) | undefined): this { + return this + } + onPageVisible(value: ((value0: OnPageVisibleEvent) => void) | undefined): this { + return this + } + onDataResubmitted(value: ((value0: OnDataResubmittedEvent) => void) | undefined): this { + return this + } + pinchSmooth(value: boolean | undefined): this { + return this + } + allowWindowOpenMethod(value: boolean | undefined): this { + return this + } + onAudioStateChanged(value: ((value0: OnAudioStateChangedEvent) => void) | undefined): this { + return this + } + onFirstContentfulPaint(value: ((value0: OnFirstContentfulPaintEvent) => void) | undefined): this { + return this + } + onFirstMeaningfulPaint(value: OnFirstMeaningfulPaintCallback | undefined): this { + return this + } + onLargestContentfulPaint(value: OnLargestContentfulPaintCallback | undefined): this { + return this + } + onLoadIntercept(value: ((value0: OnLoadInterceptEvent) => boolean) | undefined): this { + return this + } + onControllerAttached(value: (() => void) | undefined): this { + return this + } + onOverScroll(value: ((value0: OnOverScrollEvent) => void) | undefined): this { + return this + } + onSafeBrowsingCheckResult(value: OnSafeBrowsingCheckResultCallback | undefined): this { + return this + } + onNavigationEntryCommitted(value: OnNavigationEntryCommittedCallback | undefined): this { + return this + } + onIntelligentTrackingPreventionResult(value: OnIntelligentTrackingPreventionCallback | undefined): this { + return this + } + javaScriptOnDocumentStart(value: Array | undefined): this { + return this + } + javaScriptOnDocumentEnd(value: Array | undefined): this { + return this + } + layoutMode(value: WebLayoutMode | undefined): this { + return this + } + nestedScroll(value: NestedScrollOptions | NestedScrollOptionsExt | undefined): this { + return this + } + enableNativeEmbedMode(value: boolean | undefined): this { + return this + } + onNativeEmbedLifecycleChange(value: ((event: NativeEmbedDataInfo) => void) | undefined): this { + return this + } + onNativeEmbedVisibilityChange(value: OnNativeEmbedVisibilityChangeCallback | undefined): this { + return this + } + onNativeEmbedGestureEvent(value: ((event: NativeEmbedTouchInfo) => void) | undefined): this { + return this + } + copyOptions(value: CopyOptions | undefined): this { + return this + } + onOverrideUrlLoading(value: OnOverrideUrlLoadingCallback | undefined): this { + return this + } + textAutosizing(value: boolean | undefined): this { + return this + } + enableNativeMediaPlayer(value: NativeMediaPlayerConfig | undefined): this { + return this + } + onRenderProcessNotResponding(value: OnRenderProcessNotRespondingCallback | undefined): this { + return this + } + onRenderProcessResponding(value: OnRenderProcessRespondingCallback | undefined): this { + return this + } + onViewportFitChanged(value: OnViewportFitChangedCallback | undefined): this { + return this + } + onInterceptKeyboardAttach(value: WebKeyboardCallback | undefined): this { + return this + } + onAdsBlocked(value: OnAdsBlockedCallback | undefined): this { + return this + } + keyboardAvoidMode(value: WebKeyboardAvoidMode | undefined): this { + return this + } + editMenuOptions(value: EditMenuOptions | undefined): this { + return this + } + enableHapticFeedback(value: boolean | undefined): this { + return this + } + optimizeParserBudget(value: boolean | undefined): this { + return this + } + enableFollowSystemFontWeight(value: boolean | undefined): this { + return this + } + enableWebAVSession(value: boolean | undefined): this { + return this + } + runJavaScriptOnDocumentStart(value: Array | undefined): this { + return this + } + runJavaScriptOnDocumentEnd(value: Array | undefined): this { + return this + } + runJavaScriptOnHeadEnd(value: Array | undefined): this { + return this + } + nativeEmbedOptions(value: EmbedOptions | undefined): this { + return this + } + registerNativeEmbedRule(tag: string | undefined, type: string | undefined): this { + return this + } + bindSelectionMenu(elementType: WebElementType | undefined, content: CustomBuilder | undefined, responseType: WebResponseType | undefined, options?: SelectionMenuOptionsExt): this { + return this + } + public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { + throw new Error("Not implemented") + } +} +export declare interface SslErrorEvent { + handler: SslErrorHandler; + error: SslError; + url: string; + originalUrl: string; + referrer: string; + isFatalError: boolean; + isMainFrame: boolean; +} +export declare interface NestedScrollOptionsExt { + scrollUp?: NestedScrollMode; + scrollDown?: NestedScrollMode; + scrollRight?: NestedScrollMode; + scrollLeft?: NestedScrollMode; +} +export declare interface EmbedOptions { + supportDefaultIntrinsicSize?: boolean; +} + +@memo +@ComponentBuilder +export function Web( + value: WebOptions, + @memo + content_?: () => void, +): WebAttribute { throw new Error("")} diff --git a/arkoala-arkts/arkui/sdk/component/windowScene.ets b/arkoala-arkts/arkui/sdk/component/windowScene.ets index d8607d188..a9527e21d 100644 --- a/arkoala-arkts/arkui/sdk/component/windowScene.ets +++ b/arkoala-arkts/arkui/sdk/component/windowScene.ets @@ -33,7 +33,7 @@ export interface WindowSceneAttribute extends CommonMethod { } export class ArkWindowSceneStyle extends ArkCommonMethodStyle implements WindowSceneAttribute { attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public attractionEffect(destination: Position | undefined, fraction: number | undefined): this { + attractionEffect(destination: Position | undefined, fraction: number | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { diff --git a/arkoala-arkts/arkui/sdk/component/xcomponent.ets b/arkoala-arkts/arkui/sdk/component/xcomponent.ets index 7f3c068b0..d43220ae6 100644 --- a/arkoala-arkts/arkui/sdk/component/xcomponent.ets +++ b/arkoala-arkts/arkui/sdk/component/xcomponent.ets @@ -26,11 +26,12 @@ import { CommonMethod, ArkCommonMethodStyle } from "./common" import { VoidCallback } from "./units" import { AttributeModifier, AttributeUpdater } from "./../handwritten" export declare interface SurfaceRect { - offsetX?: number; - offsetY?: number; - surfaceWidth: number; - surfaceHeight: number; + offsetX?: double; + offsetY?: double; + surfaceWidth: double; + surfaceHeight: double; } +export type NativeXComponentPointer = int64; export declare interface SurfaceRotationOptions { lock?: boolean; } @@ -40,7 +41,6 @@ export declare class XComponentController { onSurfaceChanged: ((surfaceId: string,rect: SurfaceRect) => void); onSurfaceDestroyed: ((surfaceId: string) => void); getXComponentSurfaceId(): string - getXComponentContext(): Object setXComponentSurfaceRect(rect: SurfaceRect): void getXComponentSurfaceRect(): SurfaceRect setXComponentSurfaceRotation(rotationOptions: SurfaceRotationOptions): void @@ -52,15 +52,14 @@ export declare interface XComponentOptions { type: XComponentType; controller: XComponentController; imageAIOptions?: ImageAIOptions; - screenId?: number; + screenId?: int64; } export declare interface NativeXComponentParameters { type: XComponentType; imageAIOptions?: ImageAIOptions; } -export type OnNativeLoadCallback = (event?: Object) => void; export interface XComponentAttribute extends CommonMethod { - onLoad(value: OnNativeLoadCallback | undefined): this { + onLoad(value: VoidCallback | undefined): this { throw new Error("Unimplemented method onLoad") } onDestroy(value: VoidCallback | undefined): this { @@ -72,71 +71,50 @@ export interface XComponentAttribute extends CommonMethod { enableSecure(value: boolean | undefined): this { throw new Error("Unimplemented method enableSecure") } - hdrBrightness(value: number | undefined): this { + hdrBrightness(value: double | undefined): this { throw new Error("Unimplemented method hdrBrightness") } - enableTransparentLayer(value: boolean | undefined): this { - throw new Error("Unimplemented method enableTransparentLayer") - } attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Unimplemented method attributeModifier") } } export class ArkXComponentStyle extends ArkCommonMethodStyle implements XComponentAttribute { - onLoad_value?: OnNativeLoadCallback | undefined + onLoad_value?: VoidCallback | undefined onDestroy_value?: VoidCallback | undefined enableAnalyzer_value?: boolean | undefined enableSecure_value?: boolean | undefined - hdrBrightness_value?: number | undefined - enableTransparentLayer_value?: boolean | undefined + hdrBrightness_value?: double | undefined attributeModifier_value?: AttributeModifier | AttributeModifier | undefined - public onLoad(value: OnNativeLoadCallback | undefined): this { - return this - } - public onDestroy(value: VoidCallback | undefined): this { + onLoad(value: VoidCallback | undefined): this { return this } - public enableAnalyzer(value: boolean | undefined): this { + onDestroy(value: VoidCallback | undefined): this { return this } - public enableSecure(value: boolean | undefined): this { + enableAnalyzer(value: boolean | undefined): this { return this } - public hdrBrightness(value: number | undefined): this { + enableSecure(value: boolean | undefined): this { return this } - public enableTransparentLayer(value: boolean | undefined): this { + hdrBrightness(value: double | undefined): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } } -export declare interface XComponentParameter { +export declare interface XComponentParameters { id: string; type: XComponentType; - libraryname?: string; + nativeXComponentHandler: ((value0: NativeXComponentPointer) => void); controller?: XComponentController; } @memo @ComponentBuilder export function XComponent( - value: XComponentParameter, - @memo - content_?: () => void, -): XComponentAttribute { throw new Error("")} -@memo -@ComponentBuilder -export function XComponent( - options: XComponentOptions, - @memo - content_?: () => void, -): XComponentAttribute { throw new Error("")} -@memo -@ComponentBuilder -export function XComponent( - params: NativeXComponentParameters, + params: XComponentParameters | XComponentOptions | NativeXComponentParameters, @memo content_?: () => void, ): XComponentAttribute { throw new Error("")} diff --git a/arkoala-arkts/arkui/sdk/framework/index.ets b/arkoala-arkts/arkui/sdk/framework/index.ets index f132bc778..b05a61496 100644 --- a/arkoala-arkts/arkui/sdk/framework/index.ets +++ b/arkoala-arkts/arkui/sdk/framework/index.ets @@ -35,7 +35,6 @@ export * from "./../component/common" export * from "./../component/containerSpan" export * from "./../component/contentSlot" export * from "./../component/counter" -export * from "./../component/customComponent" export * from "./../component/customDialogController" export * from "./../component/dataPanel" export * from "./../component/datePicker" @@ -49,6 +48,7 @@ export * from "./../component/flex" export * from "./../component/flowItem" export * from "./../component/focus" export * from "./../component/folderStack" +export * from "./../component/forEach" export * from "./../component/formComponent" export * from "./../component/formLink" export * from "./../component/gauge" @@ -100,7 +100,6 @@ export * from "./../component/rect" export * from "./../component/refresh" export * from "./../component/relativeContainer" export * from "./../component/remoteWindow" -export * from "./../component/repeat" export * from "./../component/richEditor" export * from "./../component/richText" export * from "./../component/rootScene" @@ -118,7 +117,6 @@ export * from "./../component/sidebar" export * from "./../component/slider" export * from "./../component/span" export * from "./../component/stack" -export * from "./../component/stateManagement" export * from "./../component/stepper" export * from "./../component/stepperItem" export * from "./../component/styledString" @@ -136,6 +134,7 @@ export * from "./../component/textPicker" export * from "./../component/textTimer" export * from "./../component/timePicker" export * from "./../component/toggle" +export * from "./../component/toolbar" export * from "./../component/uiExtensionComponent" export * from "./../component/units" export * from "./../component/video" diff --git a/arkoala-arkts/arkui/sdk/component/repeat.ets b/arkoala-arkts/arkui/sdk/framework/ohos.web.webview.ets similarity index 65% rename from arkoala-arkts/arkui/sdk/component/repeat.ets rename to arkoala-arkts/arkui/sdk/framework/ohos.web.webview.ets index 62d367db7..27e0f171c 100644 --- a/arkoala-arkts/arkui/sdk/component/repeat.ets +++ b/arkoala-arkts/arkui/sdk/framework/ohos.web.webview.ets @@ -20,17 +20,14 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer } from "@koalaui/interop" import { memo, memo_stable } from "@koalaui/runtime/annotations" import { ComponentBuilder, Builder } from "@koalaui/builderLambda" -export type RepeatArray = Array; -export type OnLazyLoadingFunc = (index: number) => void; -export type KeyGeneratorFunc = (item: T, index: number) => string; -export type OnTotalCountFunc = () => number; -export declare interface VirtualScrollOptions { - totalCount?: number; - reusable?: boolean; - onLazyLoading?: OnLazyLoadingFunc; - onTotalCount?: OnTotalCountFunc; - disableVirtualScroll?: boolean; -} -export declare interface TemplateOptions { - cachedCount?: number; +import { Resource } from "global.resource" +export declare namespace webview { + export interface WebHeader { + headerKey: string; + headerValue: string; + } + export class WebviewController { + static initializeWebEngine(): void + loadUrl(url: string | Resource, headers?: Array): void + } } diff --git a/arkoala-arkts/arkui/src/Storage.ets b/arkoala-arkts/arkui/src/Storage.ets index 3de57f505..9242afb8c 100644 --- a/arkoala-arkts/arkui/src/Storage.ets +++ b/arkoala-arkts/arkui/src/Storage.ets @@ -17,7 +17,7 @@ import { observableProxy } from "@koalaui/common" import { MutableState, GlobalStateManager } from "@koalaui/runtime" import { AbstractProperty, SubscribedAbstractProperty } from "./ArkState" import { EnvironmentBackend } from "./stateManagement.ets" -import { ColorMode, LayoutDirection } from "#generated" +import { ColorMode, LayoutDirection } from "#handwritten" import { int32, float32 } from "@koalaui/common" ///// ArkUI ///// see common_ts_ets_api.d.ts ///// diff --git a/arkoala-arkts/arkui/src/component/stateManagement.ets b/arkoala-arkts/arkui/src/component/stateManagement.ets new file mode 100644 index 000000000..eac50f603 --- /dev/null +++ b/arkoala-arkts/arkui/src/component/stateManagement.ets @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +export enum ColorMode { + LIGHT = 0, + DARK = 1 +} +export enum LayoutDirection { + LTR = 0, + RTL = 1, + AUTO = 2, + Auto = 2 +} diff --git a/arkoala-arkts/arkui/src/index.ets b/arkoala-arkts/arkui/src/index.ets index e9c44db20..7768797b4 100644 --- a/arkoala-arkts/arkui/src/index.ets +++ b/arkoala-arkts/arkui/src/index.ets @@ -38,3 +38,4 @@ export * from "./ContentModifierHooks" export * from "./TestApiHooks" export * from "./ArkStateStyle" export * from "./component/customComponent" +export * from "./component/stateManagement" diff --git a/arkoala-arkts/arkui/src/resources.ets b/arkoala-arkts/arkui/src/resources.ets index 9211b9804..444743e27 100644 --- a/arkoala-arkts/arkui/src/resources.ets +++ b/arkoala-arkts/arkui/src/resources.ets @@ -21,13 +21,13 @@ import { ArkUIGeneratedNativeModule } from "#components"; class ArkResource implements Resource { bundleName: string = ""; moduleName: string = ""; - params?: Array; + params?: Array; type?: int32 | undefined; _id: int64 = -1; constructor(resourceName: string, bundleName: string, moduleName: string) { this.bundleName = bundleName; this.moduleName = moduleName; - this.params = new Array(resourceName); + this.params = new Array(resourceName); this._id = -1; const param: string = resourceName.split(".")[1]; this.type = 20000; @@ -81,7 +81,7 @@ export function _rawfile(bundleName: string, moduleName: string, name: string): return { "id": 0, "type": 30000, - "params": new Array(name), + "params": new Array(name), "bundleName": bundleName, "moduleName": moduleName } as Resource diff --git a/arkoala-arkts/framework/native/src/generated/Serializers.h b/arkoala-arkts/framework/native/src/generated/Serializers.h index ecddedf01..a8f043808 100644 --- a/arkoala-arkts/framework/native/src/generated/Serializers.h +++ b/arkoala-arkts/framework/native/src/generated/Serializers.h @@ -456,6 +456,35 @@ inline Ark_RuntimeType runtimeType(const Opt_AttributeUpdaterFlag& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_AudioSessionType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_AudioSessionType value) { + result->append("Ark_AudioSessionType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_AudioSessionType* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_AudioSessionType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_AutoCapitalizationMode& value) { return INTEROP_RUNTIME_NUMBER; @@ -802,43 +831,16 @@ inline Ark_RuntimeType runtimeType(const Opt_BaseContext& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BaseCustomComponent& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_BaseCustomComponent value) { - WriteToString(result, static_cast(value)); -} -template <> -inline void WriteToString(std::string* result, const Opt_BaseCustomComponent* value) { - result->append("{.tag="); - result->append(tagNameExact(reinterpret_cast(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_BaseCustomComponent& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_BaseCustomDialog& value) +inline Ark_RuntimeType runtimeType(const Ark_BaseShape& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BaseCustomDialog value) { +inline void WriteToString(std::string* result, const Ark_BaseShape value) { WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_BaseCustomDialog* value) { +inline void WriteToString(std::string* result, const Opt_BaseShape* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -851,21 +853,23 @@ inline void WriteToString(std::string* result, const Opt_BaseCustomDialog* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BaseCustomDialog& value) +inline Ark_RuntimeType runtimeType(const Opt_BaseShape& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BaseShape& value) +inline Ark_RuntimeType runtimeType(const Ark_BlendApplyType& value) { - return INTEROP_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_BaseShape value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_BlendApplyType value) { + result->append("Ark_BlendApplyType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_BaseShape* value) { +inline void WriteToString(std::string* result, const Opt_BlendApplyType* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -878,23 +882,23 @@ inline void WriteToString(std::string* result, const Opt_BaseShape* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BaseShape& value) +inline Ark_RuntimeType runtimeType(const Opt_BlendApplyType& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BlendApplyType& value) +inline Ark_RuntimeType runtimeType(const Ark_BlendMode& value) { return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_BlendApplyType value) { - result->append("Ark_BlendApplyType("); +inline void WriteToString(std::string* result, const Ark_BlendMode value) { + result->append("Ark_BlendMode("); WriteToString(result, (Ark_Int32) value); result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_BlendApplyType* value) { +inline void WriteToString(std::string* result, const Opt_BlendMode* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -907,23 +911,23 @@ inline void WriteToString(std::string* result, const Opt_BlendApplyType* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BlendApplyType& value) +inline Ark_RuntimeType runtimeType(const Opt_BlendMode& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BlendMode& value) +inline Ark_RuntimeType runtimeType(const Ark_BlurOnKeyboardHideMode& value) { return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_BlendMode value) { - result->append("Ark_BlendMode("); +inline void WriteToString(std::string* result, const Ark_BlurOnKeyboardHideMode value) { + result->append("Ark_BlurOnKeyboardHideMode("); WriteToString(result, (Ark_Int32) value); result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_BlendMode* value) { +inline void WriteToString(std::string* result, const Opt_BlurOnKeyboardHideMode* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -936,7 +940,7 @@ inline void WriteToString(std::string* result, const Opt_BlendMode* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BlendMode& value) +inline Ark_RuntimeType runtimeType(const Opt_BlurOnKeyboardHideMode& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -1217,6 +1221,35 @@ inline Ark_RuntimeType runtimeType(const Opt_ButtonType& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_CacheMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +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_CacheMode* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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 Ark_CalendarAlign& value) { return INTEROP_RUNTIME_NUMBER; @@ -1470,22 +1503,21 @@ 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 Ark_CircleOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_CircleShape& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CircleOptions* value) { - result->append("{"); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_CircleShape value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_CircleOptions* value) { +inline void WriteToString(std::string* result, const Opt_CircleShape* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -1493,21 +1525,23 @@ inline void WriteToString(std::string* result, const Opt_CircleOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CircleOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_CircleShape& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CircleShape& value) +inline Ark_RuntimeType runtimeType(const Ark_ClickEffectLevel& value) { - return INTEROP_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_CircleShape value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_ClickEffectLevel value) { + result->append("Ark_ClickEffectLevel("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_CircleShape* value) { +inline void WriteToString(std::string* result, const Opt_ClickEffectLevel* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -1520,23 +1554,21 @@ inline void WriteToString(std::string* result, const Opt_CircleShape* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CircleShape& value) +inline Ark_RuntimeType runtimeType(const Opt_ClickEffectLevel& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ClickEffectLevel& value) +inline Ark_RuntimeType runtimeType(const Ark_ClientAuthenticationHandler& value) { - return INTEROP_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ClickEffectLevel value) { - result->append("Ark_ClickEffectLevel("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const Ark_ClientAuthenticationHandler value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_ClickEffectLevel* value) { +inline void WriteToString(std::string* result, const Opt_ClientAuthenticationHandler* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -1549,7 +1581,7 @@ inline void WriteToString(std::string* result, const Opt_ClickEffectLevel* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ClickEffectLevel& value) +inline Ark_RuntimeType runtimeType(const Opt_ClientAuthenticationHandler& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -1693,18 +1725,16 @@ inline Ark_RuntimeType runtimeType(const Opt_ColorMetrics& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ColorMode& value) +inline Ark_RuntimeType runtimeType(const Ark_CommonShape& value) { - return INTEROP_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ColorMode value) { - result->append("Ark_ColorMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const Ark_CommonShape value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_ColorMode* value) { +inline void WriteToString(std::string* result, const Opt_CommonShape* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -1717,21 +1747,21 @@ inline void WriteToString(std::string* result, const Opt_ColorMode* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ColorMode& value) +inline Ark_RuntimeType runtimeType(const Opt_CommonShape& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CommonShape& value) +inline Ark_RuntimeType runtimeType(const Ark_ComponentContent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CommonShape value) { +inline void WriteToString(std::string* result, const Ark_ComponentContent value) { WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_CommonShape* value) { +inline void WriteToString(std::string* result, const Opt_ComponentContent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -1744,21 +1774,21 @@ inline void WriteToString(std::string* result, const Opt_CommonShape* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CommonShape& value) +inline Ark_RuntimeType runtimeType(const Opt_ComponentContent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ComponentContent& value) +inline Ark_RuntimeType runtimeType(const Ark_ConsoleMessage& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ComponentContent value) { +inline void WriteToString(std::string* result, const Ark_ConsoleMessage value) { WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_ComponentContent* value) { +inline void WriteToString(std::string* result, const Opt_ConsoleMessage* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -1771,7 +1801,7 @@ inline void WriteToString(std::string* result, const Opt_ComponentContent* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ComponentContent& value) +inline Ark_RuntimeType runtimeType(const Opt_ConsoleMessage& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -1861,6 +1891,149 @@ inline Ark_RuntimeType runtimeType(const Opt_Context& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_ContextMenuEditStateFlags& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ContextMenuEditStateFlags value) { + result->append("Ark_ContextMenuEditStateFlags("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ContextMenuEditStateFlags* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ContextMenuEditStateFlags& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ContextMenuInputFieldType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ContextMenuInputFieldType value) { + result->append("Ark_ContextMenuInputFieldType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ContextMenuInputFieldType* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ContextMenuInputFieldType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ContextMenuMediaType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ContextMenuMediaType value) { + result->append("Ark_ContextMenuMediaType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ContextMenuMediaType* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ContextMenuMediaType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ContextMenuSourceType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ContextMenuSourceType value) { + result->append("Ark_ContextMenuSourceType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ContextMenuSourceType* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ContextMenuSourceType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ControllerHandler& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ControllerHandler value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_ControllerHandler* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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_ControlSize& value) { return INTEROP_RUNTIME_NUMBER; @@ -2061,33 +2234,6 @@ inline Ark_RuntimeType runtimeType(const Opt_curves_ICurve& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CustomComponentV2& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_CustomComponentV2 value) { - WriteToString(result, static_cast(value)); -} -template <> -inline void WriteToString(std::string* result, const Opt_CustomComponentV2* value) { - result->append("{.tag="); - result->append(tagNameExact(reinterpret_cast(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_CustomComponentV2& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_CustomDialogController& value) { return INTEROP_RUNTIME_OBJECT; @@ -2191,6 +2337,33 @@ inline Ark_RuntimeType runtimeType(const Opt_DataPanelType& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_DataResubmissionHandler& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DataResubmissionHandler value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_DataResubmissionHandler* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DataResubmissionHandler& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline void WriteToString(std::string* result, const Opt_Date* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); @@ -4052,34 +4225,6 @@ inline Ark_RuntimeType runtimeType(const Opt_EffectType& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_EllipseOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_EllipseOptions* value) { - result->append("{"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_EllipseOptions* value) { - result->append("{.tag="); - result->append(tagNameExact(reinterpret_cast(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_EllipseOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_EllipseShape& value) { return INTEROP_RUNTIME_OBJECT; @@ -4194,6 +4339,33 @@ 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 Ark_EventResult& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_EventResult value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_EventResult* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_EventResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_EventTargetInfo& value) { return INTEROP_RUNTIME_OBJECT; @@ -4248,6 +4420,89 @@ inline Ark_RuntimeType runtimeType(const Opt_ExtendableComponent& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_FileSelectorMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_FileSelectorMode value) { + result->append("Ark_FileSelectorMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_FileSelectorMode* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_FileSelectorMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_FileSelectorParam& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_FileSelectorParam value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_FileSelectorParam* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_FileSelectorParam& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_FileSelectorResult& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_FileSelectorResult value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_FileSelectorResult* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_FileSelectorResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_FillMode& value) { return INTEROP_RUNTIME_NUMBER; @@ -4760,6 +5015,33 @@ inline Ark_RuntimeType runtimeType(const Opt_FrictionMotion& 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(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_FullscreenInfo& value) { return INTEROP_RUNTIME_OBJECT; @@ -5406,6 +5688,35 @@ 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_HitTestType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_HitTestType value) { + result->append("Ark_HitTestType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_HitTestType* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_HitTestType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_HorizontalAlign& value) { return INTEROP_RUNTIME_NUMBER; @@ -5493,6 +5804,33 @@ inline Ark_RuntimeType runtimeType(const Opt_HoverModeAreaType& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_HttpAuthHandler& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_HttpAuthHandler value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_HttpAuthHandler* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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_IlluminatedType& value) { return INTEROP_RUNTIME_NUMBER; @@ -6119,6 +6457,60 @@ inline Ark_RuntimeType runtimeType(const Opt_ItemState& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_JsGeolocation& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_JsGeolocation value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_JsGeolocation* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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_JsResult& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_JsResult value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_JsResult* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_JsResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_KeyboardAppearance& value) { return INTEROP_RUNTIME_NUMBER; @@ -6293,62 +6685,6 @@ inline Ark_RuntimeType runtimeType(const Opt_LaunchMode& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LayoutCallback& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_LayoutCallback value) { - WriteToString(result, static_cast(value)); -} -template <> -inline void WriteToString(std::string* result, const Opt_LayoutCallback* value) { - result->append("{.tag="); - result->append(tagNameExact(reinterpret_cast(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_LayoutCallback& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_LayoutDirection& value) -{ - return INTEROP_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_LayoutDirection value) { - result->append("Ark_LayoutDirection("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_LayoutDirection* value) { - result->append("{.tag="); - result->append(tagNameExact(reinterpret_cast(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_LayoutDirection& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_LayoutManager& value) { return INTEROP_RUNTIME_OBJECT; @@ -6801,34 +7137,6 @@ inline Ark_RuntimeType runtimeType(const Opt_LineJoinStyle& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LineOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_LineOptions* value) { - result->append("{"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_LineOptions* value) { - result->append("{.tag="); - result->append(tagNameExact(reinterpret_cast(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_LineOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_ListItemAlign& value) { return INTEROP_RUNTIME_NUMBER; @@ -7069,33 +7377,6 @@ inline Ark_RuntimeType runtimeType(const Opt_LocalizedBarrierDirection& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LocalStorage& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_LocalStorage value) { - WriteToString(result, static_cast(value)); -} -template <> -inline void WriteToString(std::string* result, const Opt_LocalStorage* value) { - result->append("{.tag="); - result->append(tagNameExact(reinterpret_cast(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_LocalStorage& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_LongPressGestureInterface& value) { return INTEROP_RUNTIME_OBJECT; @@ -7380,6 +7661,64 @@ 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_MessageLevel& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_MessageLevel value) { + result->append("Ark_MessageLevel("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_MessageLevel* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_MessageLevel& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_MixedMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +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_MixedMode* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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_ModalTransition& value) { return INTEROP_RUNTIME_NUMBER; @@ -7496,6 +7835,70 @@ inline Ark_RuntimeType runtimeType(const Opt_MouseButton& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedStatus& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_NativeEmbedStatus value) { + result->append("Ark_NativeEmbedStatus("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_NativeEmbedStatus* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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_NativeMediaPlayerConfig& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_NativeMediaPlayerConfig* value) { + result->append("{"); + // 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_NativeMediaPlayerConfig* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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_NativePointer& value) { return INTEROP_RUNTIME_OBJECT; @@ -8064,6 +8467,165 @@ inline Ark_RuntimeType runtimeType(const Opt_OffsetResult& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_OnAudioStateChangedEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_OnAudioStateChangedEvent* value) { + result->append("{"); + // Ark_Boolean playing + result->append(".playing="); + WriteToString(result, value->playing); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_OnAudioStateChangedEvent* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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 Ark_OnConsoleEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_OnConsoleEvent* value) { + result->append("{"); + // Ark_ConsoleMessage message + result->append(".message="); + WriteToString(result, value->message); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_OnConsoleEvent* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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 Ark_OnDataResubmittedEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_OnDataResubmittedEvent* value) { + result->append("{"); + // Ark_DataResubmissionHandler handler + result->append(".handler="); + WriteToString(result, value->handler); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_OnDataResubmittedEvent* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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 Ark_OnFaviconReceivedEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_OnFaviconReceivedEvent* value) { + result->append("{"); + // Ark_image_PixelMap favicon + result->append(".favicon="); + WriteToString(result, value->favicon); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_OnFaviconReceivedEvent* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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 Ark_OnFirstContentfulPaintEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_OnFirstContentfulPaintEvent* value) { + result->append("{"); + // Ark_Int64 navigationStartTick + result->append(".navigationStartTick="); + WriteToString(result, value->navigationStartTick); + // Ark_Int64 firstContentfulPaintMs + 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(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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_OnFoldStatusChangeInfo& value) { return INTEROP_RUNTIME_OBJECT; @@ -8095,6 +8657,142 @@ inline Ark_RuntimeType runtimeType(const Opt_OnFoldStatusChangeInfo& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_OnOverScrollEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_OnOverScrollEvent* value) { + result->append("{"); + // Ark_Float64 xOffset + result->append(".xOffset="); + WriteToString(result, value->xOffset); + // Ark_Float64 yOffset + result->append(", "); + result->append(".yOffset="); + WriteToString(result, value->yOffset); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_OnOverScrollEvent* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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 Ark_OnProgressChangeEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_OnProgressChangeEvent* value) { + result->append("{"); + // Ark_Int32 newProgress + result->append(".newProgress="); + WriteToString(result, value->newProgress); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_OnProgressChangeEvent* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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 Ark_OnScaleChangeEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_OnScaleChangeEvent* value) { + result->append("{"); + // Ark_Float64 oldScale + result->append(".oldScale="); + WriteToString(result, value->oldScale); + // Ark_Float64 newScale + result->append(", "); + result->append(".newScale="); + WriteToString(result, value->newScale); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_OnScaleChangeEvent* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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 Ark_OnScrollEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_OnScrollEvent* value) { + result->append("{"); + // Ark_Float64 xOffset + result->append(".xOffset="); + WriteToString(result, value->xOffset); + // Ark_Float64 yOffset + result->append(", "); + result->append(".yOffset="); + WriteToString(result, value->yOffset); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_OnScrollEvent* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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 Ark_OnScrollFrameBeginHandlerResult& value) { return INTEROP_RUNTIME_OBJECT; @@ -8126,6 +8824,80 @@ inline Ark_RuntimeType runtimeType(const Opt_OnScrollFrameBeginHandlerResult& va 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) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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 Ark_OnShowFileSelectorEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_OnShowFileSelectorEvent* 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); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_OnShowFileSelectorEvent* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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 Ark_OptionWidthMode& value) { return INTEROP_RUNTIME_NUMBER; @@ -8184,18 +8956,18 @@ inline Ark_RuntimeType runtimeType(const Opt_OutlineStyle& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PageFlipMode& value) +inline Ark_RuntimeType runtimeType(const Ark_OverScrollMode& value) { return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_PageFlipMode value) { - result->append("Ark_PageFlipMode("); +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_PageFlipMode* value) { +inline void WriteToString(std::string* result, const Opt_OverScrollMode* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -8208,21 +8980,23 @@ inline void WriteToString(std::string* result, const Opt_PageFlipMode* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PageFlipMode& 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_PageLifeCycle& value) +inline Ark_RuntimeType runtimeType(const Ark_PageFlipMode& value) { - return INTEROP_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_PageLifeCycle value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_PageFlipMode value) { + result->append("Ark_PageFlipMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_PageLifeCycle* value) { +inline void WriteToString(std::string* result, const Opt_PageFlipMode* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -8235,7 +9009,7 @@ inline void WriteToString(std::string* result, const Opt_PageLifeCycle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PageLifeCycle& value) +inline Ark_RuntimeType runtimeType(const Opt_PageFlipMode& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -8551,34 +9325,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Path2D& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PathOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_PathOptions* value) { - result->append("{"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_PathOptions* value) { - result->append("{.tag="); - result->append(tagNameExact(reinterpret_cast(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_PathOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_PathShape& value) { return INTEROP_RUNTIME_OBJECT; @@ -8720,6 +9466,33 @@ inline Ark_RuntimeType runtimeType(const Opt_PerfMonitorSourceType& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_PermissionRequest& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PermissionRequest value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_PermissionRequest* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PermissionRequest& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_PinchGestureInterface& value) { return INTEROP_RUNTIME_OBJECT; @@ -8895,9 +9668,9 @@ inline Ark_RuntimeType runtimeType(const Ark_PlaybackInfo& value) template <> inline void WriteToString(std::string* result, const Ark_PlaybackInfo* value) { result->append("{"); - // Ark_Number time + // Ark_Int32 time result->append(".time="); - WriteToString(result, &value->time); + WriteToString(result, value->time); result->append("}"); } template <> @@ -9006,62 +9779,6 @@ inline Ark_RuntimeType runtimeType(const Opt_pointer_PointerStyle& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PolygonOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_PolygonOptions* value) { - result->append("{"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_PolygonOptions* value) { - result->append("{.tag="); - result->append(tagNameExact(reinterpret_cast(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -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_PolylineOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_PolylineOptions* value) { - result->append("{"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_PolylineOptions* value) { - result->append("{.tag="); - result->append(tagNameExact(reinterpret_cast(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_PolylineOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_PopupStateChangeParam& value) { return INTEROP_RUNTIME_OBJECT; @@ -9160,9 +9877,9 @@ inline Ark_RuntimeType runtimeType(const Ark_PreparedInfo& value) template <> inline void WriteToString(std::string* result, const Ark_PreparedInfo* value) { result->append("{"); - // Ark_Number duration + // Ark_Int32 duration result->append(".duration="); - WriteToString(result, &value->duration); + WriteToString(result, value->duration); result->append("}"); } template <> @@ -9368,6 +10085,62 @@ inline Ark_RuntimeType runtimeType(const Opt_PromptAction& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_ProtectedResourceType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ProtectedResourceType value) { + result->append("Ark_ProtectedResourceType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ProtectedResourceType* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ProtectedResourceType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_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(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_RadioIndicatorType& value) { return INTEROP_RUNTIME_NUMBER; @@ -9525,6 +10298,35 @@ inline Ark_RuntimeType runtimeType(const Opt_RelateType& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_RenderExitReason& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_RenderExitReason value) { + result->append("Ark_RenderExitReason("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RenderExitReason* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RenderExitReason& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_RenderFit& value) { return INTEROP_RUNTIME_NUMBER; @@ -9554,6 +10356,64 @@ inline Ark_RuntimeType runtimeType(const Opt_RenderFit& 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; +} +template <> +inline void WriteToString(std::string* result, const Ark_RenderMode value) { + result->append("Ark_RenderMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RenderMode* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RenderMode& 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(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_RepeatMode& value) { return INTEROP_RUNTIME_NUMBER; @@ -9975,34 +10835,6 @@ inline Ark_RuntimeType runtimeType(const Opt_RotationRecognizer& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RoundedRectOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_RoundedRectOptions* value) { - result->append("{"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_RoundedRectOptions* value) { - result->append("{.tag="); - result->append(tagNameExact(reinterpret_cast(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_RoundedRectOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_RouteType& value) { return INTEROP_RUNTIME_NUMBER; @@ -10329,6 +11161,33 @@ inline Ark_RuntimeType runtimeType(const Opt_Scene& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_ScreenCaptureHandler& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ScreenCaptureHandler value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_ScreenCaptureHandler* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ScreenCaptureHandler& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollableTargetInfo& value) { return INTEROP_RUNTIME_OBJECT; @@ -11454,6 +12313,62 @@ 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 Ark_SslError& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_SslError value) { + result->append("Ark_SslError("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SslError* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SslError& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SslErrorHandler& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SslErrorHandler value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_SslErrorHandler* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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 Ark_StickyStyle& value) { return INTEROP_RUNTIME_NUMBER; @@ -14222,6 +15137,35 @@ inline Ark_RuntimeType runtimeType(const Opt_ThemeControl& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_ThreatType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ThreatType value) { + result->append("Ark_ThreatType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ThreatType* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ThreatType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_TimePickerDialog& value) { return INTEROP_RUNTIME_OBJECT; @@ -14375,6 +15319,35 @@ inline Ark_RuntimeType runtimeType(const Opt_ToggleType& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_ToolBarItemPlacement& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ToolBarItemPlacement value) { + result->append("Ark_ToolBarItemPlacement("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ToolBarItemPlacement* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ToolBarItemPlacement& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_ToolbarItemStatus& value) { return INTEROP_RUNTIME_NUMBER; @@ -15528,6 +16501,102 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_Curve_String_ICurve& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_F64_String& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_F64_String: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_F64_String* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_Float64 + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, value->value0); + } + // Ark_String + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_F64_String* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_F64_String& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_F64_String_PlaybackSpeed& 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_F64_String_PlaybackSpeed: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_F64_String_PlaybackSpeed* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_Float64 + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, value->value0); + } + // Ark_String + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_PlaybackSpeed + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, value->value2); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_F64_String_PlaybackSpeed* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_F64_String_PlaybackSpeed& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Union_FontWeight_Number_String& value) { switch (value.selector) { @@ -15816,17 +16885,16 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String_FontWeight& val return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Number_String_PlaybackSpeed& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Number_TextCase& 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_Number_String_PlaybackSpeed: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_Number_TextCase: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Number_String_PlaybackSpeed* value) { +inline void WriteToString(std::string* result, const Ark_Union_Number_TextCase* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -15836,20 +16904,15 @@ inline void WriteToString(std::string* result, const Ark_Union_Number_String_Pla result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_String + // Ark_TextCase if (value->selector == 1) { result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_PlaybackSpeed - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, value->value2); + WriteToString(result, value->value1); } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Number_String_PlaybackSpeed* value) { +inline void WriteToString(std::string* result, const Opt_Union_Number_TextCase* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -15862,21 +16925,21 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_String_Pla result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String_PlaybackSpeed& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_TextCase& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Number_TextCase& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Number_TextOverflow& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Number_TextCase: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_Number_TextOverflow: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Number_TextCase* value) { +inline void WriteToString(std::string* result, const Ark_Union_Number_TextOverflow* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -15886,7 +16949,7 @@ inline void WriteToString(std::string* result, const Ark_Union_Number_TextCase* result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_TextCase + // Ark_TextOverflow if (value->selector == 1) { result->append(".value1="); WriteToString(result, value->value1); @@ -15894,7 +16957,7 @@ inline void WriteToString(std::string* result, const Ark_Union_Number_TextCase* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Number_TextCase* value) { +inline void WriteToString(std::string* result, const Opt_Union_Number_TextOverflow* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -15907,39 +16970,39 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_TextCase* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_TextCase& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_TextOverflow& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Number_TextOverflow& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_PixelMap_String& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Number_TextOverflow: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_PixelMap_String: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Number_TextOverflow* value) { +inline void WriteToString(std::string* result, const Ark_Union_PixelMap_String* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_Number + // Ark_image_PixelMap if (value->selector == 0) { result->append(".value0="); - WriteToString(result, &value->value0); + WriteToString(result, value->value0); } - // Ark_TextOverflow + // Ark_String 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_Number_TextOverflow* value) { +inline void WriteToString(std::string* result, const Opt_Union_PixelMap_String* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -15952,39 +17015,39 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_TextOverfl result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_TextOverflow& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_PixelMap_String& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_PixelMap_String& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_ResponseType_RichEditorResponseType& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_PixelMap_String: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_ResponseType_RichEditorResponseType: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_PixelMap_String* value) { +inline void WriteToString(std::string* result, const Ark_Union_ResponseType_RichEditorResponseType* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_image_PixelMap + // Ark_ResponseType if (value->selector == 0) { result->append(".value0="); WriteToString(result, value->value0); } - // Ark_String + // Ark_RichEditorResponseType 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_PixelMap_String* value) { +inline void WriteToString(std::string* result, const Opt_Union_ResponseType_RichEditorResponseType* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -15997,39 +17060,39 @@ inline void WriteToString(std::string* result, const Opt_Union_PixelMap_String* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_PixelMap_String& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_ResponseType_RichEditorResponseType& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_ResponseType_RichEditorResponseType& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_RichEditorOptions_RichEditorStyledStringOptions& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_ResponseType_RichEditorResponseType: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_RichEditorOptions_RichEditorStyledStringOptions: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_ResponseType_RichEditorResponseType* value) { +inline void WriteToString(std::string* result, const Ark_Union_RichEditorOptions_RichEditorStyledStringOptions* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_ResponseType + // Ark_RichEditorOptions if (value->selector == 0) { result->append(".value0="); - WriteToString(result, value->value0); + WriteToString(result, &value->value0); } - // Ark_RichEditorResponseType + // Ark_RichEditorStyledStringOptions 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_ResponseType_RichEditorResponseType* value) { +inline void WriteToString(std::string* result, const Opt_Union_RichEditorOptions_RichEditorStyledStringOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -16042,7 +17105,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ResponseType_Rich result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_ResponseType_RichEditorResponseType& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_RichEditorOptions_RichEditorStyledStringOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -16098,16 +17161,16 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_SpringMotion_FrictionMotion_S return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_String_FunctionKey& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_String_F64& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_String_FunctionKey: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_String_F64: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_String_FunctionKey* value) { +inline void WriteToString(std::string* result, const Ark_Union_String_F64* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -16117,7 +17180,7 @@ inline void WriteToString(std::string* result, const Ark_Union_String_FunctionKe result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_FunctionKey + // Ark_Float64 if (value->selector == 1) { result->append(".value1="); WriteToString(result, value->value1); @@ -16125,7 +17188,7 @@ inline void WriteToString(std::string* result, const Ark_Union_String_FunctionKe result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_String_FunctionKey* value) { +inline void WriteToString(std::string* result, const Opt_Union_String_F64* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -16138,21 +17201,21 @@ inline void WriteToString(std::string* result, const Opt_Union_String_FunctionKe result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_FunctionKey& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_String_F64& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_String_Number& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_String_FunctionKey& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_String_Number: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_String_FunctionKey: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_String_Number* value) { +inline void WriteToString(std::string* result, const Ark_Union_String_FunctionKey* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -16162,15 +17225,15 @@ inline void WriteToString(std::string* result, const Ark_Union_String_Number* va result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_Number + // Ark_FunctionKey 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_String_Number* value) { +inline void WriteToString(std::string* result, const Opt_Union_String_FunctionKey* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -16183,23 +17246,23 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Number* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number& value) +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_Union_String_Number_CanvasGradient_CanvasPattern& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_String_I32_CanvasGradient_CanvasPattern& 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_CanvasGradient_CanvasPattern: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_String_I32_CanvasGradient_CanvasPattern: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_String_Number_CanvasGradient_CanvasPattern* value) { +inline void WriteToString(std::string* result, const Ark_Union_String_I32_CanvasGradient_CanvasPattern* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -16209,10 +17272,10 @@ inline void WriteToString(std::string* result, const Ark_Union_String_Number_Can result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_Number + // Ark_Int32 if (value->selector == 1) { result->append(".value1="); - WriteToString(result, &value->value1); + WriteToString(result, value->value1); } // Ark_CanvasGradient if (value->selector == 2) { @@ -16227,7 +17290,52 @@ inline void WriteToString(std::string* result, const Ark_Union_String_Number_Can result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_String_Number_CanvasGradient_CanvasPattern* value) { +inline void WriteToString(std::string* result, const Opt_Union_String_I32_CanvasGradient_CanvasPattern* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_String_I32_CanvasGradient_CanvasPattern& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_String_Number& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_String_Number: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_String_Number* 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); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_String_Number* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -16240,7 +17348,7 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Number_Can result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number_CanvasGradient_CanvasPattern& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -16519,6 +17627,35 @@ inline Ark_RuntimeType runtimeType(const Opt_VideoController& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_ViewportFit& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ViewportFit value) { + result->append("Ark_ViewportFit("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ViewportFit* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ViewportFit& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Visibility& value) { return INTEROP_RUNTIME_NUMBER; @@ -16649,6 +17786,89 @@ inline Ark_RuntimeType runtimeType(const Opt_WaterFlowSections& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_WebCaptureMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebCaptureMode value) { + result->append("Ark_WebCaptureMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebCaptureMode* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WebCaptureMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_WebContextMenuParam& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebContextMenuParam value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebContextMenuParam* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WebContextMenuParam& 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; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebContextMenuResult value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebContextMenuResult* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WebContextMenuResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_WebCookie& value) { return INTEROP_RUNTIME_OBJECT; @@ -16676,6 +17896,350 @@ inline Ark_RuntimeType runtimeType(const Opt_WebCookie& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_WebDarkMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +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_WebDarkMode* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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 Ark_WebElementType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebElementType value) { + result->append("Ark_WebElementType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebElementType* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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_WebKeyboardAvoidMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebKeyboardAvoidMode value) { + result->append("Ark_WebKeyboardAvoidMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebKeyboardAvoidMode* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardAvoidMode& value) +{ + return (value.tag != 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(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_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(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WebLayoutMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_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(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_WebResourceError& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebResourceError value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebResourceError* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WebResourceError& 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; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebResourceRequest value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebResourceRequest* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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_WebResourceResponse& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebResourceResponse value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebResourceResponse* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WebResourceResponse& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_WebResponseType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebResponseType value) { + result->append("Ark_WebResponseType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebResponseType* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WebResponseType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_webview_WebHeader& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_webview_WebHeader* value) { + result->append("{"); + // Ark_String headerKey + result->append(".headerKey="); + WriteToString(result, &value->headerKey); + // Ark_String headerValue + result->append(", "); + result->append(".headerValue="); + WriteToString(result, &value->headerValue); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_webview_WebHeader* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_webview_WebHeader& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_webview_WebviewController& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_webview_WebviewController value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_webview_WebviewController* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_webview_WebviewController& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Week& value) { return INTEROP_RUNTIME_NUMBER; @@ -16864,34 +18428,6 @@ inline Ark_RuntimeType runtimeType(const Opt_WordBreak& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WorkerEventListener& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_WorkerEventListener* value) { - result->append("{"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_WorkerEventListener* value) { - result->append("{.tag="); - result->append(tagNameExact(reinterpret_cast(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_WorkerEventListener& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_XComponentType& value) { return INTEROP_RUNTIME_NUMBER; @@ -17441,6 +18977,46 @@ inline Ark_RuntimeType runtimeType(const Opt_Array_FingerInfo& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Array_Float64& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +void WriteToString(std::string* result, const Ark_Float64 value); + +template <> +inline void WriteToString(std::string* result, const Array_Float64* 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_Float64* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_Float64& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Array_FractionStop& value) { return INTEROP_RUNTIME_OBJECT; @@ -17601,6 +19177,46 @@ inline Ark_RuntimeType runtimeType(const Opt_Array_GuideLineStyle& 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; +} + +template <> +void WriteToString(std::string* result, const Ark_Header* value); + +template <> +inline void WriteToString(std::string* result, const Array_Header* 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_cast(&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_Header* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_Header& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Array_HistoricalPoint& value) { return INTEROP_RUNTIME_OBJECT; @@ -18801,6 +20417,46 @@ 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 Array_ScriptItem& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +void WriteToString(std::string* result, const Ark_ScriptItem* value); + +template <> +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_cast(&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_ScriptItem* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_ScriptItem& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Array_Scroller& value) { return INTEROP_RUNTIME_OBJECT; @@ -20041,6 +21697,86 @@ inline Ark_RuntimeType runtimeType(const Opt_Array_Union_RichEditorTextSpanResul return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Array_Union_String_I32_I64_F64_Resource& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +void WriteToString(std::string* result, const Ark_Union_String_I32_I64_F64_Resource* value); + +template <> +inline void WriteToString(std::string* result, const Array_Union_String_I32_I64_F64_Resource* value) { + int32_t count = value->length; + result->append("{.array=allocArray({{"); + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, const_cast(&value->array[i])); + } + result->append("}})"); + result->append(", .length="); + result->append(std::to_string(value->length)); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Array_Union_String_I32_I64_F64_Resource* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Array_Union_String_I32_I64_F64_Resource& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Array_webview_WebHeader& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +void WriteToString(std::string* result, const Ark_webview_WebHeader* value); + +template <> +inline void WriteToString(std::string* result, const Array_webview_WebHeader* value) { + int32_t count = value->length; + result->append("{.array=allocArray({{"); + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, const_cast(&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_webview_WebHeader* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_webview_WebHeader& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const AsyncCallback_image_PixelMap_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -21746,12 +23482,12 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_KeyEvent_Void& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Map_String_Object_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_Map_String_RecordData_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Map_String_Object_Void* value) { +inline void WriteToString(std::string* result, const Callback_Map_String_RecordData_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -21759,7 +23495,7 @@ inline void WriteToString(std::string* result, const Callback_Map_String_Object_ result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Map_String_Object_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Map_String_RecordData_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -21772,7 +23508,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Map_String_Obj result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Map_String_Object_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Map_String_RecordData_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -21839,6 +23575,99 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_MouseEvent_Void& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Callback_NativeEmbedDataInfo_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_NativeEmbedDataInfo_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_NativeEmbedDataInfo_Void* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_NativeEmbedDataInfo_Void& 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("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_NativeEmbedTouchInfo_Void* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_NativeEmbedTouchInfo_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Callback_NativeXComponentPointer_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_NativeXComponentPointer_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_NativeXComponentPointer_Void* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_NativeXComponentPointer_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Callback_NavDestinationActiveReason_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -22273,12 +24102,12 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_Object_Void& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_onMeasureSize_SizeResult& value) +inline Ark_RuntimeType runtimeType(const Callback_OnAlertEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_onMeasureSize_SizeResult* value) { +inline void WriteToString(std::string* result, const Callback_OnAlertEvent_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22286,7 +24115,7 @@ inline void WriteToString(std::string* result, const Callback_onMeasureSize_Size result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_onMeasureSize_SizeResult* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnAlertEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22299,17 +24128,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_onMeasureSize_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_onMeasureSize_SizeResult& 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 Callback_onPlaceChildren_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnAudioStateChangedEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_onPlaceChildren_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnAudioStateChangedEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22317,7 +24146,7 @@ inline void WriteToString(std::string* result, const Callback_onPlaceChildren_Vo result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_onPlaceChildren_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnAudioStateChangedEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22330,17 +24159,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_onPlaceChildre result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_onPlaceChildren_Void& 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 Callback_OnScrollFrameBeginHandlerResult_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnBeforeUnloadEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_OnScrollFrameBeginHandlerResult_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnBeforeUnloadEvent_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22348,7 +24177,7 @@ inline void WriteToString(std::string* result, const Callback_OnScrollFrameBegin result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_OnScrollFrameBeginHandlerResult_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnBeforeUnloadEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22361,17 +24190,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnScrollFrameB result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_OnScrollFrameBeginHandlerResult_Void& 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 Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnClientAuthenticationEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnClientAuthenticationEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22379,7 +24208,7 @@ inline void WriteToString(std::string* result, const Callback_Opt_Array_FontDesc result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnClientAuthenticationEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22392,17 +24221,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_Array_Font result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_Array_FontDescriptor_Opt_Array_String_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 Callback_Opt_Array_NavDestinationTransition_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnConfirmEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Opt_Array_NavDestinationTransition_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnConfirmEvent_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22410,7 +24239,7 @@ inline void WriteToString(std::string* result, const Callback_Opt_Array_NavDesti result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Opt_Array_NavDestinationTransition_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnConfirmEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22423,17 +24252,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_Array_NavD result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_Array_NavDestinationTransition_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 Callback_Opt_Array_String_Opt_Array_String_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnConsoleEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Opt_Array_String_Opt_Array_String_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnConsoleEvent_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22441,7 +24270,7 @@ inline void WriteToString(std::string* result, const Callback_Opt_Array_String_O result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Opt_Array_String_Opt_Array_String_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnConsoleEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22454,17 +24283,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_Array_Stri result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_Array_String_Opt_Array_String_Void& 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 Callback_Opt_Array_String_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnContextMenuShowEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Opt_Array_String_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnContextMenuShowEvent_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22472,7 +24301,7 @@ inline void WriteToString(std::string* result, const Callback_Opt_Array_String_V result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Opt_Array_String_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnContextMenuShowEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22485,17 +24314,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_Array_Stri result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_Array_String_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 Callback_Opt_CustomBuilder_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnDataResubmittedEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Opt_CustomBuilder_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnDataResubmittedEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22503,7 +24332,7 @@ inline void WriteToString(std::string* result, const Callback_Opt_CustomBuilder_ result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Opt_CustomBuilder_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnDataResubmittedEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22516,17 +24345,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_CustomBuil result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_CustomBuilder_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 Callback_Opt_FontDescriptor_Opt_Array_String_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnDownloadStartEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Opt_FontDescriptor_Opt_Array_String_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnDownloadStartEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22534,7 +24363,7 @@ inline void WriteToString(std::string* result, const Callback_Opt_FontDescriptor result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Opt_FontDescriptor_Opt_Array_String_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnDownloadStartEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22547,17 +24376,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_FontDescri result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_FontDescriptor_Opt_Array_String_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 Callback_Opt_NavigationAnimatedTransition_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnErrorReceiveEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Opt_NavigationAnimatedTransition_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnErrorReceiveEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22565,7 +24394,7 @@ inline void WriteToString(std::string* result, const Callback_Opt_NavigationAnim result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Opt_NavigationAnimatedTransition_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnErrorReceiveEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22578,17 +24407,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_Navigation result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_NavigationAnimatedTransition_Void& 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 Callback_Opt_OffsetResult_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnFaviconReceivedEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Opt_OffsetResult_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnFaviconReceivedEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22596,7 +24425,7 @@ inline void WriteToString(std::string* result, const Callback_Opt_OffsetResult_V result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Opt_OffsetResult_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnFaviconReceivedEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22609,17 +24438,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_OffsetResu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_OffsetResult_Void& 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 Callback_Opt_Scene_Opt_Array_String_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnFirstContentfulPaintEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Opt_Scene_Opt_Array_String_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnFirstContentfulPaintEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22627,7 +24456,7 @@ inline void WriteToString(std::string* result, const Callback_Opt_Scene_Opt_Arra result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Opt_Scene_Opt_Array_String_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnFirstContentfulPaintEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22640,17 +24469,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_Scene_Opt_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_Scene_Opt_Array_String_Void& 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 Callback_Opt_ScrollResult_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnGeolocationShowEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Opt_ScrollResult_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnGeolocationShowEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22658,7 +24487,7 @@ inline void WriteToString(std::string* result, const Callback_Opt_ScrollResult_V result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Opt_ScrollResult_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnGeolocationShowEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22671,17 +24500,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_ScrollResu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_ScrollResult_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 Callback_Opt_String_Opt_Array_String_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnHttpAuthRequestEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Opt_String_Opt_Array_String_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnHttpAuthRequestEvent_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22689,7 +24518,7 @@ inline void WriteToString(std::string* result, const Callback_Opt_String_Opt_Arr result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Opt_String_Opt_Array_String_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnHttpAuthRequestEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22702,17 +24531,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_String_Opt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_String_Opt_Array_String_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 Callback_Opt_StyledString_Opt_Array_String_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnHttpErrorReceiveEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Opt_StyledString_Opt_Array_String_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnHttpErrorReceiveEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22720,7 +24549,7 @@ inline void WriteToString(std::string* result, const Callback_Opt_StyledString_O result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Opt_StyledString_Opt_Array_String_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnHttpErrorReceiveEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22733,17 +24562,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_StyledStri result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_StyledString_Opt_Array_String_Void& 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 Callback_Opt_TabContentAnimatedTransition_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnInterceptRequestEvent_WebResourceResponse& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Opt_TabContentAnimatedTransition_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnInterceptRequestEvent_WebResourceResponse* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22751,7 +24580,7 @@ inline void WriteToString(std::string* result, const Callback_Opt_TabContentAnim result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Opt_TabContentAnimatedTransition_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnInterceptRequestEvent_WebResourceResponse* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22764,17 +24593,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_TabContent result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_TabContentAnimatedTransition_Void& 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 Callback_PlaybackInfo_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnLoadInterceptEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_PlaybackInfo_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnLoadInterceptEvent_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22782,7 +24611,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_Callback_OnLoadInterceptEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22795,17 +24624,17 @@ 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_Callback_OnLoadInterceptEvent_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Pointer_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_onMeasureSize_SizeResult& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Pointer_Void* value) { +inline void WriteToString(std::string* result, const Callback_onMeasureSize_SizeResult* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22813,7 +24642,7 @@ inline void WriteToString(std::string* result, const Callback_Pointer_Void* valu result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Pointer_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_onMeasureSize_SizeResult* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22826,17 +24655,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Pointer_Void* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Pointer_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_onMeasureSize_SizeResult& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_PopInfo_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnOverScrollEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_PopInfo_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnOverScrollEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22844,7 +24673,7 @@ inline void WriteToString(std::string* result, const Callback_PopInfo_Void* valu result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_PopInfo_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnOverScrollEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22857,17 +24686,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_PopInfo_Void* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_PopInfo_Void& 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 Callback_PreDragStatus_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnPageBeginEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_PreDragStatus_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnPageBeginEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22875,7 +24704,7 @@ inline void WriteToString(std::string* result, const Callback_PreDragStatus_Void result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_PreDragStatus_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnPageBeginEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22888,17 +24717,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_PreDragStatus_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_PreDragStatus_Void& 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 Callback_PreparedInfo_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnPageEndEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_PreparedInfo_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnPageEndEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22906,7 +24735,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_Callback_OnPageEndEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22919,17 +24748,17 @@ 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_Callback_OnPageEndEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_RangeUpdate& value) +inline Ark_RuntimeType runtimeType(const Callback_OnPageVisibleEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_RangeUpdate* value) { +inline void WriteToString(std::string* result, const Callback_OnPageVisibleEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22937,7 +24766,7 @@ inline void WriteToString(std::string* result, const Callback_RangeUpdate* value result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_RangeUpdate* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnPageVisibleEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22950,17 +24779,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_RangeUpdate* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_RangeUpdate& 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 Callback_RefreshStatus_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnPermissionRequestEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_RefreshStatus_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnPermissionRequestEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22968,7 +24797,7 @@ inline void WriteToString(std::string* result, const Callback_RefreshStatus_Void result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_RefreshStatus_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnPermissionRequestEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -22981,17 +24810,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_RefreshStatus_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_RefreshStatus_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 Callback_RichEditorChangeValue_Boolean& value) +inline Ark_RuntimeType runtimeType(const Callback_onPlaceChildren_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_RichEditorChangeValue_Boolean* value) { +inline void WriteToString(std::string* result, const Callback_onPlaceChildren_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -22999,7 +24828,7 @@ inline void WriteToString(std::string* result, const Callback_RichEditorChangeVa result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_RichEditorChangeValue_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_Callback_onPlaceChildren_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23012,17 +24841,17 @@ 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_Callback_onPlaceChildren_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_RichEditorDeleteValue_Boolean& value) +inline Ark_RuntimeType runtimeType(const Callback_OnProgressChangeEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_RichEditorDeleteValue_Boolean* value) { +inline void WriteToString(std::string* result, const Callback_OnProgressChangeEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23030,7 +24859,7 @@ inline void WriteToString(std::string* result, const Callback_RichEditorDeleteVa result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_RichEditorDeleteValue_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnProgressChangeEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23043,17 +24872,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorDele result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorDeleteValue_Boolean& 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 Callback_RichEditorInsertValue_Boolean& value) +inline Ark_RuntimeType runtimeType(const Callback_OnPromptEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_RichEditorInsertValue_Boolean* value) { +inline void WriteToString(std::string* result, const Callback_OnPromptEvent_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23061,7 +24890,7 @@ inline void WriteToString(std::string* result, const Callback_RichEditorInsertVa result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_RichEditorInsertValue_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnPromptEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23074,17 +24903,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorInse result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorInsertValue_Boolean& 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 Callback_RichEditorRange_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnRefreshAccessedHistoryEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_RichEditorRange_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnRefreshAccessedHistoryEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23092,7 +24921,7 @@ inline void WriteToString(std::string* result, const Callback_RichEditorRange_Vo result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_RichEditorRange_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnRefreshAccessedHistoryEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23105,17 +24934,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorRang result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorRange_Void& 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 Callback_RichEditorSelection_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnRenderExitedEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_RichEditorSelection_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnRenderExitedEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23123,7 +24952,7 @@ inline void WriteToString(std::string* result, const Callback_RichEditorSelectio result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_RichEditorSelection_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnRenderExitedEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23136,17 +24965,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorSele result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorSelection_Void& 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 Callback_RichEditorTextSpanResult_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnResourceLoadEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_RichEditorTextSpanResult_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnResourceLoadEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23154,7 +24983,7 @@ inline void WriteToString(std::string* result, const Callback_RichEditorTextSpan result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_RichEditorTextSpanResult_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnResourceLoadEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23167,17 +24996,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorText result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorTextSpanResult_Void& 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 Callback_RotationGesture& value) +inline Ark_RuntimeType runtimeType(const Callback_OnScaleChangeEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_RotationGesture* value) { +inline void WriteToString(std::string* result, const Callback_OnScaleChangeEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23185,7 +25014,7 @@ inline void WriteToString(std::string* result, const Callback_RotationGesture* v result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_RotationGesture* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnScaleChangeEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23198,17 +25027,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_RotationGestur result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_RotationGesture& 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_RotationGesture_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnScreenCaptureRequestEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_RotationGesture_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnScreenCaptureRequestEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23216,7 +25045,7 @@ inline void WriteToString(std::string* result, const Callback_RotationGesture_Vo result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_RotationGesture_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnScreenCaptureRequestEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23229,17 +25058,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_RotationGestur result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_RotationGesture_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 Callback_SheetDismiss_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnScrollEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_SheetDismiss_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnScrollEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23247,7 +25076,7 @@ inline void WriteToString(std::string* result, const Callback_SheetDismiss_Void* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_SheetDismiss_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnScrollEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23260,17 +25089,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_SheetDismiss_V result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_SheetDismiss_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 Callback_SheetType_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnScrollFrameBeginHandlerResult_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_SheetType_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnScrollFrameBeginHandlerResult_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23278,7 +25107,7 @@ inline void WriteToString(std::string* result, const Callback_SheetType_Void* va result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_SheetType_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnScrollFrameBeginHandlerResult_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23291,17 +25120,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_SheetType_Void result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_SheetType_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnScrollFrameBeginHandlerResult_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_SizeResult_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnSearchResultReceiveEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_SizeResult_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnSearchResultReceiveEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23309,7 +25138,7 @@ inline void WriteToString(std::string* result, const Callback_SizeResult_Void* v result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_SizeResult_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnSearchResultReceiveEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23322,17 +25151,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_SizeResult_Voi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_SizeResult_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 Callback_SpringBackAction_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnShowFileSelectorEvent_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_SpringBackAction_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnShowFileSelectorEvent_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23340,7 +25169,7 @@ inline void WriteToString(std::string* result, const Callback_SpringBackAction_V result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_SpringBackAction_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnShowFileSelectorEvent_Boolean* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23353,17 +25182,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_SpringBackActi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_SpringBackAction_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 Callback_StateStylesChange& value) +inline Ark_RuntimeType runtimeType(const Callback_OnSslErrorEventReceiveEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_StateStylesChange* value) { +inline void WriteToString(std::string* result, const Callback_OnSslErrorEventReceiveEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23371,7 +25200,7 @@ inline void WriteToString(std::string* result, const Callback_StateStylesChange* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_StateStylesChange* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnSslErrorEventReceiveEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23384,17 +25213,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_StateStylesCha result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_StateStylesChange& 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 Callback_String_PasteEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnTitleReceiveEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_String_PasteEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnTitleReceiveEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23402,7 +25231,7 @@ inline void WriteToString(std::string* result, const Callback_String_PasteEvent_ result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_String_PasteEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnTitleReceiveEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23415,17 +25244,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_String_PasteEv result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_String_PasteEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnTitleReceiveEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_String_SurfaceRect_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnTouchIconUrlReceivedEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_String_SurfaceRect_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnTouchIconUrlReceivedEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23433,7 +25262,7 @@ inline void WriteToString(std::string* result, const Callback_String_SurfaceRect result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_String_SurfaceRect_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnTouchIconUrlReceivedEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23446,17 +25275,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_String_Surface result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_String_SurfaceRect_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_OnTouchIconUrlReceivedEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_String_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_OnWindowNewEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_String_Void* value) { +inline void WriteToString(std::string* result, const Callback_OnWindowNewEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23464,7 +25293,7 @@ inline void WriteToString(std::string* result, const Callback_String_Void* value result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_String_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_OnWindowNewEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23477,17 +25306,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_String_Void* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_String_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 Callback_StyledStringChangeValue_Boolean& value) +inline Ark_RuntimeType runtimeType(const Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_StyledStringChangeValue_Boolean* value) { +inline void WriteToString(std::string* result, const Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23495,7 +25324,7 @@ inline void WriteToString(std::string* result, const Callback_StyledStringChange result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_StyledStringChangeValue_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23508,17 +25337,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_StyledStringCh result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_StyledStringChangeValue_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_StyledStringMarshallingValue_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_Opt_Array_NavDestinationTransition_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_StyledStringMarshallingValue_Void* value) { +inline void WriteToString(std::string* result, const Callback_Opt_Array_NavDestinationTransition_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23526,7 +25355,7 @@ inline void WriteToString(std::string* result, const Callback_StyledStringMarsha result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_StyledStringMarshallingValue_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Opt_Array_NavDestinationTransition_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23539,17 +25368,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_StyledStringMa result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_StyledStringMarshallingValue_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_Array_NavDestinationTransition_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_SwipeActionState_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_Opt_Array_String_Opt_Array_String_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_SwipeActionState_Void* value) { +inline void WriteToString(std::string* result, const Callback_Opt_Array_String_Opt_Array_String_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23557,7 +25386,7 @@ inline void WriteToString(std::string* result, const Callback_SwipeActionState_V result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_SwipeActionState_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Opt_Array_String_Opt_Array_String_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23570,17 +25399,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_SwipeActionSta result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_SwipeActionState_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_Array_String_Opt_Array_String_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_SwipeGesture& value) +inline Ark_RuntimeType runtimeType(const Callback_Opt_Array_String_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_SwipeGesture* value) { +inline void WriteToString(std::string* result, const Callback_Opt_Array_String_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23588,7 +25417,7 @@ inline void WriteToString(std::string* result, const Callback_SwipeGesture* valu result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_SwipeGesture* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Opt_Array_String_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23601,17 +25430,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_SwipeGesture* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_SwipeGesture& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_Array_String_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_SwipeGesture_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_Opt_CustomBuilder_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_SwipeGesture_Void* value) { +inline void WriteToString(std::string* result, const Callback_Opt_CustomBuilder_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23619,7 +25448,7 @@ inline void WriteToString(std::string* result, const Callback_SwipeGesture_Void* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_SwipeGesture_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Opt_CustomBuilder_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23632,17 +25461,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_SwipeGesture_V result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_SwipeGesture_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_CustomBuilder_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_SwiperContentTransitionProxy_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_Opt_FontDescriptor_Opt_Array_String_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_SwiperContentTransitionProxy_Void* value) { +inline void WriteToString(std::string* result, const Callback_Opt_FontDescriptor_Opt_Array_String_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23650,7 +25479,7 @@ inline void WriteToString(std::string* result, const Callback_SwiperContentTrans result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_SwiperContentTransitionProxy_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Opt_FontDescriptor_Opt_Array_String_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23663,17 +25492,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_SwiperContentT result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_SwiperContentTransitionProxy_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_FontDescriptor_Opt_Array_String_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_T& value) +inline Ark_RuntimeType runtimeType(const Callback_Opt_NavigationAnimatedTransition_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_T* value) { +inline void WriteToString(std::string* result, const Callback_Opt_NavigationAnimatedTransition_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23681,7 +25510,7 @@ inline void WriteToString(std::string* result, const Callback_T* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_T* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Opt_NavigationAnimatedTransition_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23694,17 +25523,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_T* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_T& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_NavigationAnimatedTransition_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_T_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_Opt_OffsetResult_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_T_Void* value) { +inline void WriteToString(std::string* result, const Callback_Opt_OffsetResult_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23712,7 +25541,7 @@ inline void WriteToString(std::string* result, const Callback_T_Void* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_T_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Opt_OffsetResult_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23725,17 +25554,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_T_Void* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_OffsetResult_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_T_Void_Arkui_Component_Units_Length& value) +inline Ark_RuntimeType runtimeType(const Callback_Opt_Scene_Opt_Array_String_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_T_Void_Arkui_Component_Units_Length* value) { +inline void WriteToString(std::string* result, const Callback_Opt_Scene_Opt_Array_String_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23743,7 +25572,7 @@ inline void WriteToString(std::string* result, const Callback_T_Void_Arkui_Compo result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Arkui_Component_Units_Length* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Opt_Scene_Opt_Array_String_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23756,17 +25585,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Arkui_C result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_Arkui_Component_Units_Length& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_Scene_Opt_Array_String_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_T_Void_Arkui_Component_Units_ResourceStr& value) +inline Ark_RuntimeType runtimeType(const Callback_Opt_ScrollResult_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_T_Void_Arkui_Component_Units_ResourceStr* value) { +inline void WriteToString(std::string* result, const Callback_Opt_ScrollResult_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23774,7 +25603,7 @@ inline void WriteToString(std::string* result, const Callback_T_Void_Arkui_Compo result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Arkui_Component_Units_ResourceStr* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Opt_ScrollResult_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23787,17 +25616,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Arkui_C result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_Arkui_Component_Units_ResourceStr& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_ScrollResult_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_T_Void_Array_Arkui_Component_Units_ResourceStr& value) +inline Ark_RuntimeType runtimeType(const Callback_Opt_String_Opt_Array_String_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_T_Void_Array_Arkui_Component_Units_ResourceStr* value) { +inline void WriteToString(std::string* result, const Callback_Opt_String_Opt_Array_String_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23805,7 +25634,7 @@ inline void WriteToString(std::string* result, const Callback_T_Void_Array_Arkui result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Array_Arkui_Component_Units_ResourceStr* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Opt_String_Opt_Array_String_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23818,17 +25647,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Array_A result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_Array_Arkui_Component_Units_ResourceStr& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_String_Opt_Array_String_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_T_Void_Array_Number& value) +inline Ark_RuntimeType runtimeType(const Callback_Opt_StyledString_Opt_Array_String_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_T_Void_Array_Number* value) { +inline void WriteToString(std::string* result, const Callback_Opt_StyledString_Opt_Array_String_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23836,7 +25665,7 @@ inline void WriteToString(std::string* result, const Callback_T_Void_Array_Numbe result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Array_Number* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Opt_StyledString_Opt_Array_String_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23849,17 +25678,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Array_N result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_Array_Number& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_StyledString_Opt_Array_String_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_T_Void_Boolean& value) +inline Ark_RuntimeType runtimeType(const Callback_Opt_TabContentAnimatedTransition_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_T_Void_Boolean* value) { +inline void WriteToString(std::string* result, const Callback_Opt_TabContentAnimatedTransition_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23867,7 +25696,7 @@ inline void WriteToString(std::string* result, const Callback_T_Void_Boolean* va result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Opt_TabContentAnimatedTransition_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23880,17 +25709,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Boolean result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_TabContentAnimatedTransition_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_T_Void_Date& value) +inline Ark_RuntimeType runtimeType(const Callback_PlaybackInfo_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_T_Void_Date* value) { +inline void WriteToString(std::string* result, const Callback_PlaybackInfo_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23898,7 +25727,7 @@ inline void WriteToString(std::string* result, const Callback_T_Void_Date* value result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Date* value) { +inline void WriteToString(std::string* result, const Opt_Callback_PlaybackInfo_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23911,17 +25740,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Date* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_Date& 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 Callback_T_Void_Global_Resource_Resource& value) +inline Ark_RuntimeType runtimeType(const Callback_Pointer_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_T_Void_Global_Resource_Resource* value) { +inline void WriteToString(std::string* result, const Callback_Pointer_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23929,7 +25758,7 @@ inline void WriteToString(std::string* result, const Callback_T_Void_Global_Reso result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Global_Resource_Resource* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Pointer_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23942,17 +25771,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Global_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_Global_Resource_Resource& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Pointer_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_T_Void_Number& value) +inline Ark_RuntimeType runtimeType(const Callback_PopInfo_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_T_Void_Number* value) { +inline void WriteToString(std::string* result, const Callback_PopInfo_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23960,7 +25789,7 @@ inline void WriteToString(std::string* result, const Callback_T_Void_Number* val result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Number* value) { +inline void WriteToString(std::string* result, const Opt_Callback_PopInfo_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -23973,17 +25802,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Number* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_Number& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_PopInfo_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_T_Void_String& value) +inline Ark_RuntimeType runtimeType(const Callback_PreDragStatus_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_T_Void_String* value) { +inline void WriteToString(std::string* result, const Callback_PreDragStatus_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23991,7 +25820,7 @@ inline void WriteToString(std::string* result, const Callback_T_Void_String* val result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_T_Void_String* value) { +inline void WriteToString(std::string* result, const Opt_Callback_PreDragStatus_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24004,17 +25833,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_T_Void_String* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_String& 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 Callback_TabContentTransitionProxy_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_PreparedInfo_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_TabContentTransitionProxy_Void* value) { +inline void WriteToString(std::string* result, const Callback_PreparedInfo_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24022,7 +25851,7 @@ inline void WriteToString(std::string* result, const Callback_TabContentTransiti result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_TabContentTransitionProxy_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_PreparedInfo_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24035,17 +25864,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_TabContentTran result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_TabContentTransitionProxy_Void& 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 Callback_TerminationInfo_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_RangeUpdate& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_TerminationInfo_Void* value) { +inline void WriteToString(std::string* result, const Callback_RangeUpdate* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24053,7 +25882,7 @@ inline void WriteToString(std::string* result, const Callback_TerminationInfo_Vo result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_TerminationInfo_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_RangeUpdate* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24066,17 +25895,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_TerminationInf result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_TerminationInfo_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_RangeUpdate& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_TextPickerResult_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_RefreshStatus_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_TextPickerResult_Void* value) { +inline void WriteToString(std::string* result, const Callback_RefreshStatus_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24084,7 +25913,7 @@ inline void WriteToString(std::string* result, const Callback_TextPickerResult_V result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_TextPickerResult_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_RefreshStatus_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24097,17 +25926,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_TextPickerResu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_TextPickerResult_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_RefreshStatus_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_TextRange_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_RichEditorChangeValue_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_TextRange_Void* value) { +inline void WriteToString(std::string* result, const Callback_RichEditorChangeValue_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24115,7 +25944,7 @@ inline void WriteToString(std::string* result, const Callback_TextRange_Void* va result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_TextRange_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_RichEditorChangeValue_Boolean* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24128,17 +25957,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_TextRange_Void result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_TextRange_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorChangeValue_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_TimePickerResult_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_RichEditorDeleteValue_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_TimePickerResult_Void* value) { +inline void WriteToString(std::string* result, const Callback_RichEditorDeleteValue_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24146,7 +25975,7 @@ inline void WriteToString(std::string* result, const Callback_TimePickerResult_V result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_TimePickerResult_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_RichEditorDeleteValue_Boolean* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24159,17 +25988,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_TimePickerResu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_TimePickerResult_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorDeleteValue_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_TouchEvent_HitTestMode& value) +inline Ark_RuntimeType runtimeType(const Callback_RichEditorInsertValue_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_TouchEvent_HitTestMode* value) { +inline void WriteToString(std::string* result, const Callback_RichEditorInsertValue_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24177,7 +26006,7 @@ inline void WriteToString(std::string* result, const Callback_TouchEvent_HitTest result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_TouchEvent_HitTestMode* value) { +inline void WriteToString(std::string* result, const Opt_Callback_RichEditorInsertValue_Boolean* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24190,17 +26019,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_TouchEvent_Hit result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_TouchEvent_HitTestMode& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorInsertValue_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_TouchEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_RichEditorRange_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_TouchEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_RichEditorRange_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24208,7 +26037,7 @@ inline void WriteToString(std::string* result, const Callback_TouchEvent_Void* v result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_TouchEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_RichEditorRange_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24221,17 +26050,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_TouchEvent_Voi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_TouchEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorRange_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_TouchResult_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_RichEditorSelection_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_TouchResult_Void* value) { +inline void WriteToString(std::string* result, const Callback_RichEditorSelection_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24239,7 +26068,7 @@ inline void WriteToString(std::string* result, const Callback_TouchResult_Void* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_TouchResult_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_RichEditorSelection_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24252,17 +26081,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_TouchResult_Vo result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_TouchResult_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorSelection_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Tuple_Number_Number_Number_Number_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_RichEditorTextSpanResult_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Tuple_Number_Number_Number_Number_Void* value) { +inline void WriteToString(std::string* result, const Callback_RichEditorTextSpanResult_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24270,7 +26099,7 @@ inline void WriteToString(std::string* result, const Callback_Tuple_Number_Numbe result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Tuple_Number_Number_Number_Number_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_RichEditorTextSpanResult_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24283,17 +26112,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Tuple_Number_N result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Tuple_Number_Number_Number_Number_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorTextSpanResult_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Tuple_Number_Number_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_RotationGesture& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Tuple_Number_Number_Void* value) { +inline void WriteToString(std::string* result, const Callback_RotationGesture* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24301,7 +26130,7 @@ inline void WriteToString(std::string* result, const Callback_Tuple_Number_Numbe result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Tuple_Number_Number_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_RotationGesture* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24314,17 +26143,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Tuple_Number_N result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Tuple_Number_Number_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_RotationGesture& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_UIExtensionProxy_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_RotationGesture_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_UIExtensionProxy_Void* value) { +inline void WriteToString(std::string* result, const Callback_RotationGesture_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24332,7 +26161,7 @@ inline void WriteToString(std::string* result, const Callback_UIExtensionProxy_V result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_UIExtensionProxy_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_RotationGesture_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24345,17 +26174,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_UIExtensionPro result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_UIExtensionProxy_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_RotationGesture_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Union_CustomBuilder_DragItemInfo_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_SheetDismiss_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Union_CustomBuilder_DragItemInfo_Void* value) { +inline void WriteToString(std::string* result, const Callback_SheetDismiss_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24363,7 +26192,7 @@ inline void WriteToString(std::string* result, const Callback_Union_CustomBuilde result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Union_CustomBuilder_DragItemInfo_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_SheetDismiss_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24376,17 +26205,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Union_CustomBu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Union_CustomBuilder_DragItemInfo_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_SheetDismiss_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Union_Object_Undefined_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_SheetType_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Union_Object_Undefined_Void* value) { +inline void WriteToString(std::string* result, const Callback_SheetType_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24394,7 +26223,7 @@ inline void WriteToString(std::string* result, const Callback_Union_Object_Undef result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Union_Object_Undefined_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_SheetType_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24407,17 +26236,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Union_Object_U result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Union_Object_Undefined_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_SheetType_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_SizeResult_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Void* value) { +inline void WriteToString(std::string* result, const Callback_SizeResult_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24425,7 +26254,7 @@ inline void WriteToString(std::string* result, const Callback_Void* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_SizeResult_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24438,17 +26267,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_Void* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_SizeResult_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const CheckBoxModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const Callback_SpringBackAction_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const CheckBoxModifierBuilder* value) { +inline void WriteToString(std::string* result, const Callback_SpringBackAction_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24456,7 +26285,7 @@ inline void WriteToString(std::string* result, const CheckBoxModifierBuilder* va result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CheckBoxModifierBuilder* value) { +inline void WriteToString(std::string* result, const Opt_Callback_SpringBackAction_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24469,17 +26298,17 @@ inline void WriteToString(std::string* result, const Opt_CheckBoxModifierBuilder result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CheckBoxModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_SpringBackAction_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const ContentDidScrollCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_StateStylesChange& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const ContentDidScrollCallback* value) { +inline void WriteToString(std::string* result, const Callback_StateStylesChange* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24487,7 +26316,7 @@ inline void WriteToString(std::string* result, const ContentDidScrollCallback* v result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ContentDidScrollCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_StateStylesChange* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24500,17 +26329,17 @@ inline void WriteToString(std::string* result, const Opt_ContentDidScrollCallbac result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ContentDidScrollCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_StateStylesChange& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const ContentWillScrollCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_String_PasteEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const ContentWillScrollCallback* value) { +inline void WriteToString(std::string* result, const Callback_String_PasteEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24518,7 +26347,7 @@ inline void WriteToString(std::string* result, const ContentWillScrollCallback* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ContentWillScrollCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_String_PasteEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24531,17 +26360,17 @@ inline void WriteToString(std::string* result, const Opt_ContentWillScrollCallba result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ContentWillScrollCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_String_PasteEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Context_getGroupDir_Callback& value) +inline Ark_RuntimeType runtimeType(const Callback_String_SurfaceRect_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Context_getGroupDir_Callback* value) { +inline void WriteToString(std::string* result, const Callback_String_SurfaceRect_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24549,7 +26378,7 @@ inline void WriteToString(std::string* result, const Context_getGroupDir_Callbac result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Context_getGroupDir_Callback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_String_SurfaceRect_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24562,17 +26391,17 @@ inline void WriteToString(std::string* result, const Opt_Context_getGroupDir_Cal result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Context_getGroupDir_Callback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_String_SurfaceRect_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const curves_Callback_Number_Number& value) +inline Ark_RuntimeType runtimeType(const Callback_String_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const curves_Callback_Number_Number* value) { +inline void WriteToString(std::string* result, const Callback_String_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24580,7 +26409,7 @@ inline void WriteToString(std::string* result, const curves_Callback_Number_Numb result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_curves_Callback_Number_Number* value) { +inline void WriteToString(std::string* result, const Opt_Callback_String_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24593,17 +26422,17 @@ inline void WriteToString(std::string* result, const Opt_curves_Callback_Number_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_curves_Callback_Number_Number& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_String_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const CustomNodeBuilder& value) +inline Ark_RuntimeType runtimeType(const Callback_StyledStringChangeValue_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const CustomNodeBuilder* value) { +inline void WriteToString(std::string* result, const Callback_StyledStringChangeValue_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24611,7 +26440,7 @@ inline void WriteToString(std::string* result, const CustomNodeBuilder* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CustomNodeBuilder* value) { +inline void WriteToString(std::string* result, const Opt_Callback_StyledStringChangeValue_Boolean* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24624,17 +26453,17 @@ inline void WriteToString(std::string* result, const Opt_CustomNodeBuilder* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CustomNodeBuilder& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_StyledStringChangeValue_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const CustomStyles& value) +inline Ark_RuntimeType runtimeType(const Callback_StyledStringMarshallingValue_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const CustomStyles* value) { +inline void WriteToString(std::string* result, const Callback_StyledStringMarshallingValue_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24642,7 +26471,7 @@ inline void WriteToString(std::string* result, const CustomStyles* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CustomStyles* value) { +inline void WriteToString(std::string* result, const Opt_Callback_StyledStringMarshallingValue_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24655,17 +26484,17 @@ inline void WriteToString(std::string* result, const Opt_CustomStyles* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CustomStyles& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_StyledStringMarshallingValue_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const DataPanelModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const Callback_SwipeActionState_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const DataPanelModifierBuilder* value) { +inline void WriteToString(std::string* result, const Callback_SwipeActionState_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24673,7 +26502,7 @@ inline void WriteToString(std::string* result, const DataPanelModifierBuilder* v result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DataPanelModifierBuilder* value) { +inline void WriteToString(std::string* result, const Opt_Callback_SwipeActionState_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24686,17 +26515,17 @@ inline void WriteToString(std::string* result, const Opt_DataPanelModifierBuilde result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DataPanelModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_SwipeActionState_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const EditableTextOnChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_SwipeGesture& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const EditableTextOnChangeCallback* value) { +inline void WriteToString(std::string* result, const Callback_SwipeGesture* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24704,7 +26533,7 @@ inline void WriteToString(std::string* result, const EditableTextOnChangeCallbac result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_EditableTextOnChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_SwipeGesture* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24717,17 +26546,17 @@ inline void WriteToString(std::string* result, const Opt_EditableTextOnChangeCal result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EditableTextOnChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_SwipeGesture& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const ErrorCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_SwipeGesture_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const ErrorCallback* value) { +inline void WriteToString(std::string* result, const Callback_SwipeGesture_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24735,7 +26564,7 @@ inline void WriteToString(std::string* result, const ErrorCallback* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ErrorCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_SwipeGesture_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24748,17 +26577,17 @@ inline void WriteToString(std::string* result, const Opt_ErrorCallback* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ErrorCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_SwipeGesture_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const GaugeModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const Callback_SwiperContentTransitionProxy_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const GaugeModifierBuilder* value) { +inline void WriteToString(std::string* result, const Callback_SwiperContentTransitionProxy_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24766,7 +26595,7 @@ inline void WriteToString(std::string* result, const GaugeModifierBuilder* value result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_GaugeModifierBuilder* value) { +inline void WriteToString(std::string* result, const Opt_Callback_SwiperContentTransitionProxy_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24779,17 +26608,17 @@ inline void WriteToString(std::string* result, const Opt_GaugeModifierBuilder* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GaugeModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_SwiperContentTransitionProxy_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const GestureRecognizerJudgeBeginCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_T_Void_Arkui_Component_Units_Length& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const GestureRecognizerJudgeBeginCallback* value) { +inline void WriteToString(std::string* result, const Callback_T_Void_Arkui_Component_Units_Length* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24797,7 +26626,7 @@ inline void WriteToString(std::string* result, const GestureRecognizerJudgeBegin result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_GestureRecognizerJudgeBeginCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Arkui_Component_Units_Length* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24810,17 +26639,17 @@ inline void WriteToString(std::string* result, const Opt_GestureRecognizerJudgeB result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GestureRecognizerJudgeBeginCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_Arkui_Component_Units_Length& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const GetItemMainSizeByIndex& value) +inline Ark_RuntimeType runtimeType(const Callback_T_Void_Arkui_Component_Units_ResourceStr& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const GetItemMainSizeByIndex* value) { +inline void WriteToString(std::string* result, const Callback_T_Void_Arkui_Component_Units_ResourceStr* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24828,7 +26657,7 @@ inline void WriteToString(std::string* result, const GetItemMainSizeByIndex* val result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_GetItemMainSizeByIndex* value) { +inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Arkui_Component_Units_ResourceStr* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24841,17 +26670,17 @@ inline void WriteToString(std::string* result, const Opt_GetItemMainSizeByIndex* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GetItemMainSizeByIndex& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_Arkui_Component_Units_ResourceStr& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const HoverCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_T_Void_Array_Arkui_Component_Units_ResourceStr& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const HoverCallback* value) { +inline void WriteToString(std::string* result, const Callback_T_Void_Array_Arkui_Component_Units_ResourceStr* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24859,7 +26688,7 @@ inline void WriteToString(std::string* result, const HoverCallback* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_HoverCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Array_Arkui_Component_Units_ResourceStr* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24872,17 +26701,17 @@ inline void WriteToString(std::string* result, const Opt_HoverCallback* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_HoverCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_Array_Arkui_Component_Units_ResourceStr& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const ImageCompleteCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_T_Void_Array_Number& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const ImageCompleteCallback* value) { +inline void WriteToString(std::string* result, const Callback_T_Void_Array_Number* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24890,7 +26719,7 @@ inline void WriteToString(std::string* result, const ImageCompleteCallback* valu result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ImageCompleteCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Array_Number* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24903,17 +26732,17 @@ inline void WriteToString(std::string* result, const Opt_ImageCompleteCallback* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageCompleteCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_Array_Number& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const ImageErrorCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_T_Void_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const ImageErrorCallback* value) { +inline void WriteToString(std::string* result, const Callback_T_Void_Boolean* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24921,7 +26750,7 @@ inline void WriteToString(std::string* result, const ImageErrorCallback* value) result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ImageErrorCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Boolean* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24934,17 +26763,17 @@ inline void WriteToString(std::string* result, const Opt_ImageErrorCallback* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageErrorCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const ImageOnCompleteCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_T_Void_Date& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const ImageOnCompleteCallback* value) { +inline void WriteToString(std::string* result, const Callback_T_Void_Date* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24952,7 +26781,7 @@ inline void WriteToString(std::string* result, const ImageOnCompleteCallback* va result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ImageOnCompleteCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Date* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24965,17 +26794,17 @@ inline void WriteToString(std::string* result, const Opt_ImageOnCompleteCallback result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageOnCompleteCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_Date& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const InterceptionModeCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_T_Void_Global_Resource_Resource& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const InterceptionModeCallback* value) { +inline void WriteToString(std::string* result, const Callback_T_Void_Global_Resource_Resource* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -24983,7 +26812,7 @@ inline void WriteToString(std::string* result, const InterceptionModeCallback* v result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_InterceptionModeCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Global_Resource_Resource* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -24996,17 +26825,17 @@ inline void WriteToString(std::string* result, const Opt_InterceptionModeCallbac result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_InterceptionModeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_Global_Resource_Resource& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const InterceptionShowCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_T_Void_Number& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const InterceptionShowCallback* value) { +inline void WriteToString(std::string* result, const Callback_T_Void_Number* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25014,7 +26843,7 @@ inline void WriteToString(std::string* result, const InterceptionShowCallback* v result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_InterceptionShowCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_T_Void_Number* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25027,17 +26856,17 @@ inline void WriteToString(std::string* result, const Opt_InterceptionShowCallbac result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_InterceptionShowCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_Number& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const LoadingProgressModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const Callback_T_Void_String& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const LoadingProgressModifierBuilder* value) { +inline void WriteToString(std::string* result, const Callback_T_Void_String* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25045,7 +26874,7 @@ inline void WriteToString(std::string* result, const LoadingProgressModifierBuil result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_LoadingProgressModifierBuilder* value) { +inline void WriteToString(std::string* result, const Opt_Callback_T_Void_String* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25058,33 +26887,25 @@ inline void WriteToString(std::string* result, const Opt_LoadingProgressModifier result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LoadingProgressModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Void_String& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Map_AxisModel_Number& value) +inline Ark_RuntimeType runtimeType(const Callback_TabContentTransitionProxy_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -void WriteToString(std::string* result, const Ark_AxisModel value); -template <> -void WriteToString(std::string* result, const Ark_Number* value); -template <> -inline void WriteToString(std::string* result, const Map_AxisModel_Number* value) { +inline void WriteToString(std::string* result, const Callback_TabContentTransitionProxy_Void* value) { result->append("{"); - int32_t count = value->size; - for (int i = 0; i < count; i++) { - if (i > 0) result->append(", "); - WriteToString(result, (value->keys[i])); - result->append(": "); - WriteToString(result, const_cast(&value->values[i])); - } + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Map_AxisModel_Number* value) { +inline void WriteToString(std::string* result, const Opt_Callback_TabContentTransitionProxy_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25097,33 +26918,25 @@ inline void WriteToString(std::string* result, const Opt_Map_AxisModel_Number* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Map_AxisModel_Number& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_TabContentTransitionProxy_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Map_Number_text_RunMetrics& value) +inline Ark_RuntimeType runtimeType(const Callback_TerminationInfo_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -void WriteToString(std::string* result, const Ark_Number* value); -template <> -void WriteToString(std::string* result, const Ark_text_RunMetrics* value); -template <> -inline void WriteToString(std::string* result, const Map_Number_text_RunMetrics* value) { +inline void WriteToString(std::string* result, const Callback_TerminationInfo_Void* value) { result->append("{"); - int32_t count = value->size; - for (int i = 0; i < count; i++) { - if (i > 0) result->append(", "); - WriteToString(result, const_cast(&value->keys[i])); - result->append(": "); - WriteToString(result, const_cast(&value->values[i])); - } + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Map_Number_text_RunMetrics* value) { +inline void WriteToString(std::string* result, const Opt_Callback_TerminationInfo_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25136,33 +26949,25 @@ inline void WriteToString(std::string* result, const Opt_Map_Number_text_RunMetr result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Map_Number_text_RunMetrics& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_TerminationInfo_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Map_String_ComponentContent& value) +inline Ark_RuntimeType runtimeType(const Callback_TextPickerResult_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -void WriteToString(std::string* result, const Ark_String* value); -template <> -void WriteToString(std::string* result, const Ark_ComponentContent value); -template <> -inline void WriteToString(std::string* result, const Map_String_ComponentContent* value) { +inline void WriteToString(std::string* result, const Callback_TextPickerResult_Void* value) { result->append("{"); - int32_t count = value->size; - for (int i = 0; i < count; i++) { - if (i > 0) result->append(", "); - WriteToString(result, const_cast(&value->keys[i])); - result->append(": "); - WriteToString(result, (value->values[i])); - } + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Map_String_ComponentContent* value) { +inline void WriteToString(std::string* result, const Opt_Callback_TextPickerResult_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25175,33 +26980,25 @@ inline void WriteToString(std::string* result, const Opt_Map_String_ComponentCon result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Map_String_ComponentContent& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_TextPickerResult_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Map_String_Int64& value) +inline Ark_RuntimeType runtimeType(const Callback_TextRange_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -void WriteToString(std::string* result, const Ark_String* value); -template <> -void WriteToString(std::string* result, const Ark_Int64 value); -template <> -inline void WriteToString(std::string* result, const Map_String_Int64* value) { +inline void WriteToString(std::string* result, const Callback_TextRange_Void* value) { result->append("{"); - int32_t count = value->size; - for (int i = 0; i < count; i++) { - if (i > 0) result->append(", "); - WriteToString(result, const_cast(&value->keys[i])); - result->append(": "); - WriteToString(result, (value->values[i])); - } + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Map_String_Int64* value) { +inline void WriteToString(std::string* result, const Opt_Callback_TextRange_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25214,33 +27011,25 @@ inline void WriteToString(std::string* result, const Opt_Map_String_Int64* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Map_String_Int64& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_TextRange_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Map_String_Object& value) +inline Ark_RuntimeType runtimeType(const Callback_TimePickerResult_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -void WriteToString(std::string* result, const Ark_String* value); -template <> -void WriteToString(std::string* result, const Ark_Object* value); -template <> -inline void WriteToString(std::string* result, const Map_String_Object* value) { +inline void WriteToString(std::string* result, const Callback_TimePickerResult_Void* value) { result->append("{"); - int32_t count = value->size; - for (int i = 0; i < count; i++) { - if (i > 0) result->append(", "); - WriteToString(result, const_cast(&value->keys[i])); - result->append(": "); - WriteToString(result, const_cast(&value->values[i])); - } + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Map_String_Object* value) { +inline void WriteToString(std::string* result, const Opt_Callback_TimePickerResult_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25253,17 +27042,17 @@ inline void WriteToString(std::string* result, const Opt_Map_String_Object* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Map_String_Object& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_TimePickerResult_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const MenuCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_TouchEvent_HitTestMode& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const MenuCallback* value) { +inline void WriteToString(std::string* result, const Callback_TouchEvent_HitTestMode* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25271,7 +27060,7 @@ inline void WriteToString(std::string* result, const MenuCallback* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_MenuCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_TouchEvent_HitTestMode* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25284,17 +27073,17 @@ inline void WriteToString(std::string* result, const Opt_MenuCallback* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MenuCallback& 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 MenuItemModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const Callback_TouchEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const MenuItemModifierBuilder* value) { +inline void WriteToString(std::string* result, const Callback_TouchEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25302,7 +27091,7 @@ inline void WriteToString(std::string* result, const MenuItemModifierBuilder* va result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_MenuItemModifierBuilder* value) { +inline void WriteToString(std::string* result, const Opt_Callback_TouchEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25315,17 +27104,17 @@ inline void WriteToString(std::string* result, const Opt_MenuItemModifierBuilder result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MenuItemModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_TouchEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const MenuOnAppearCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_TouchResult_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const MenuOnAppearCallback* value) { +inline void WriteToString(std::string* result, const Callback_TouchResult_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25333,7 +27122,7 @@ inline void WriteToString(std::string* result, const MenuOnAppearCallback* value result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_MenuOnAppearCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_TouchResult_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25346,17 +27135,17 @@ inline void WriteToString(std::string* result, const Opt_MenuOnAppearCallback* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MenuOnAppearCallback& value) +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 ModifierKeyStateGetter& value) +inline Ark_RuntimeType runtimeType(const Callback_Tuple_Number_Number_Number_Number_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const ModifierKeyStateGetter* value) { +inline void WriteToString(std::string* result, const Callback_Tuple_Number_Number_Number_Number_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25364,7 +27153,7 @@ inline void WriteToString(std::string* result, const ModifierKeyStateGetter* val result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ModifierKeyStateGetter* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Tuple_Number_Number_Number_Number_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25377,17 +27166,17 @@ inline void WriteToString(std::string* result, const Opt_ModifierKeyStateGetter* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ModifierKeyStateGetter& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Tuple_Number_Number_Number_Number_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const NavDestinationTransitionDelegate& value) +inline Ark_RuntimeType runtimeType(const Callback_Tuple_Number_Number_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const NavDestinationTransitionDelegate* value) { +inline void WriteToString(std::string* result, const Callback_Tuple_Number_Number_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25395,7 +27184,7 @@ inline void WriteToString(std::string* result, const NavDestinationTransitionDel result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_NavDestinationTransitionDelegate* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Tuple_Number_Number_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25408,17 +27197,17 @@ inline void WriteToString(std::string* result, const Opt_NavDestinationTransitio result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavDestinationTransitionDelegate& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Tuple_Number_Number_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const NavExtender_OnUpdateStack& value) +inline Ark_RuntimeType runtimeType(const Callback_UIExtensionProxy_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const NavExtender_OnUpdateStack* value) { +inline void WriteToString(std::string* result, const Callback_UIExtensionProxy_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25426,7 +27215,7 @@ inline void WriteToString(std::string* result, const NavExtender_OnUpdateStack* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_NavExtender_OnUpdateStack* value) { +inline void WriteToString(std::string* result, const Opt_Callback_UIExtensionProxy_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25439,17 +27228,17 @@ inline void WriteToString(std::string* result, const Opt_NavExtender_OnUpdateSta result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavExtender_OnUpdateStack& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_UIExtensionProxy_Void& 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 Callback_Union_CustomBuilder_DragItemInfo_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnAlphabetIndexerPopupSelectCallback* value) { +inline void WriteToString(std::string* result, const Callback_Union_CustomBuilder_DragItemInfo_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25457,7 +27246,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_Callback_Union_CustomBuilder_DragItemInfo_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25470,17 +27259,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_Callback_Union_CustomBuilder_DragItemInfo_Void& 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 Callback_Union_Object_Undefined_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnAlphabetIndexerRequestPopupDataCallback* value) { +inline void WriteToString(std::string* result, const Callback_Union_Object_Undefined_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25488,7 +27277,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_Callback_Union_Object_Undefined_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25501,17 +27290,17 @@ 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_Callback_Union_Object_Undefined_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnAlphabetIndexerSelectCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnAlphabetIndexerSelectCallback* value) { +inline void WriteToString(std::string* result, const Callback_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25519,7 +27308,7 @@ inline void WriteToString(std::string* result, const OnAlphabetIndexerSelectCall result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnAlphabetIndexerSelectCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25532,17 +27321,17 @@ inline void WriteToString(std::string* result, const Opt_OnAlphabetIndexerSelect result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnAlphabetIndexerSelectCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnCheckboxChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_WebKeyboardOptions_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnCheckboxChangeCallback* value) { +inline void WriteToString(std::string* result, const Callback_WebKeyboardOptions_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25550,7 +27339,7 @@ inline void WriteToString(std::string* result, const OnCheckboxChangeCallback* v result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnCheckboxChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_WebKeyboardOptions_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25563,17 +27352,17 @@ inline void WriteToString(std::string* result, const Opt_OnCheckboxChangeCallbac result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnCheckboxChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_WebKeyboardOptions_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnCheckboxGroupChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Callback_WebResourceResponse_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnCheckboxGroupChangeCallback* value) { +inline void WriteToString(std::string* result, const Callback_WebResourceResponse_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25581,7 +27370,7 @@ inline void WriteToString(std::string* result, const OnCheckboxGroupChangeCallba result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnCheckboxGroupChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_Callback_WebResourceResponse_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25594,17 +27383,17 @@ inline void WriteToString(std::string* result, const Opt_OnCheckboxGroupChangeCa result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnCheckboxGroupChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_WebResourceResponse_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnContentScrollCallback& value) +inline Ark_RuntimeType runtimeType(const CheckBoxModifierBuilder& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnContentScrollCallback* value) { +inline void WriteToString(std::string* result, const CheckBoxModifierBuilder* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25612,7 +27401,7 @@ inline void WriteToString(std::string* result, const OnContentScrollCallback* va result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnContentScrollCallback* value) { +inline void WriteToString(std::string* result, const Opt_CheckBoxModifierBuilder* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25625,17 +27414,17 @@ inline void WriteToString(std::string* result, const Opt_OnContentScrollCallback result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnContentScrollCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_CheckBoxModifierBuilder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnCreateMenuCallback& value) +inline Ark_RuntimeType runtimeType(const ContentDidScrollCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnCreateMenuCallback* value) { +inline void WriteToString(std::string* result, const ContentDidScrollCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25643,7 +27432,7 @@ inline void WriteToString(std::string* result, const OnCreateMenuCallback* value result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnCreateMenuCallback* value) { +inline void WriteToString(std::string* result, const Opt_ContentDidScrollCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25656,17 +27445,17 @@ inline void WriteToString(std::string* result, const Opt_OnCreateMenuCallback* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnCreateMenuCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_ContentDidScrollCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnDidChangeCallback& value) +inline Ark_RuntimeType runtimeType(const ContentWillScrollCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnDidChangeCallback* value) { +inline void WriteToString(std::string* result, const ContentWillScrollCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25674,7 +27463,7 @@ inline void WriteToString(std::string* result, const OnDidChangeCallback* value) result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnDidChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_ContentWillScrollCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25687,17 +27476,17 @@ inline void WriteToString(std::string* result, const Opt_OnDidChangeCallback* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnDidChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_ContentWillScrollCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnDragEventCallback& value) +inline Ark_RuntimeType runtimeType(const Context_getGroupDir_Callback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnDragEventCallback* value) { +inline void WriteToString(std::string* result, const Context_getGroupDir_Callback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25705,7 +27494,7 @@ inline void WriteToString(std::string* result, const OnDragEventCallback* value) result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnDragEventCallback* value) { +inline void WriteToString(std::string* result, const Opt_Context_getGroupDir_Callback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25718,17 +27507,17 @@ inline void WriteToString(std::string* result, const Opt_OnDragEventCallback* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnDragEventCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Context_getGroupDir_Callback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnFoldStatusChangeCallback& value) +inline Ark_RuntimeType runtimeType(const curves_Callback_Number_Number& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnFoldStatusChangeCallback* value) { +inline void WriteToString(std::string* result, const curves_Callback_Number_Number* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25736,7 +27525,7 @@ inline void WriteToString(std::string* result, const OnFoldStatusChangeCallback* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnFoldStatusChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_curves_Callback_Number_Number* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25749,17 +27538,17 @@ inline void WriteToString(std::string* result, const Opt_OnFoldStatusChangeCallb result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnFoldStatusChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_curves_Callback_Number_Number& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnHoverCallback& value) +inline Ark_RuntimeType runtimeType(const CustomNodeBuilder& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnHoverCallback* value) { +inline void WriteToString(std::string* result, const CustomNodeBuilder* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25767,7 +27556,7 @@ inline void WriteToString(std::string* result, const OnHoverCallback* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnHoverCallback* value) { +inline void WriteToString(std::string* result, const Opt_CustomNodeBuilder* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25780,17 +27569,17 @@ inline void WriteToString(std::string* result, const Opt_OnHoverCallback* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnHoverCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_CustomNodeBuilder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnHoverStatusChangeCallback& value) +inline Ark_RuntimeType runtimeType(const CustomStyles& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnHoverStatusChangeCallback* value) { +inline void WriteToString(std::string* result, const CustomStyles* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25798,7 +27587,7 @@ inline void WriteToString(std::string* result, const OnHoverStatusChangeCallback result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnHoverStatusChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_CustomStyles* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25811,17 +27600,17 @@ inline void WriteToString(std::string* result, const Opt_OnHoverStatusChangeCall result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnHoverStatusChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_CustomStyles& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnItemDragStartCallback& value) +inline Ark_RuntimeType runtimeType(const DataPanelModifierBuilder& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnItemDragStartCallback* value) { +inline void WriteToString(std::string* result, const DataPanelModifierBuilder* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25829,7 +27618,7 @@ inline void WriteToString(std::string* result, const OnItemDragStartCallback* va result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnItemDragStartCallback* value) { +inline void WriteToString(std::string* result, const Opt_DataPanelModifierBuilder* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25842,17 +27631,17 @@ inline void WriteToString(std::string* result, const Opt_OnItemDragStartCallback result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnItemDragStartCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_DataPanelModifierBuilder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnLazyLoadingFunc& value) +inline Ark_RuntimeType runtimeType(const EditableTextOnChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnLazyLoadingFunc* value) { +inline void WriteToString(std::string* result, const EditableTextOnChangeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25860,7 +27649,7 @@ inline void WriteToString(std::string* result, const OnLazyLoadingFunc* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnLazyLoadingFunc* value) { +inline void WriteToString(std::string* result, const Opt_EditableTextOnChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25873,17 +27662,17 @@ inline void WriteToString(std::string* result, const Opt_OnLazyLoadingFunc* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnLazyLoadingFunc& value) +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 OnLinearIndicatorChangeCallback& value) +inline Ark_RuntimeType runtimeType(const ErrorCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnLinearIndicatorChangeCallback* value) { +inline void WriteToString(std::string* result, const ErrorCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25891,7 +27680,7 @@ inline void WriteToString(std::string* result, const OnLinearIndicatorChangeCall result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnLinearIndicatorChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_ErrorCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25904,17 +27693,17 @@ inline void WriteToString(std::string* result, const Opt_OnLinearIndicatorChange result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnLinearIndicatorChangeCallback& value) +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 OnMenuItemClickCallback& value) +inline Ark_RuntimeType runtimeType(const GaugeModifierBuilder& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnMenuItemClickCallback* value) { +inline void WriteToString(std::string* result, const GaugeModifierBuilder* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25922,7 +27711,7 @@ inline void WriteToString(std::string* result, const OnMenuItemClickCallback* va result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnMenuItemClickCallback* value) { +inline void WriteToString(std::string* result, const Opt_GaugeModifierBuilder* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25935,17 +27724,17 @@ inline void WriteToString(std::string* result, const Opt_OnMenuItemClickCallback result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnMenuItemClickCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_GaugeModifierBuilder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnMoveHandler& value) +inline Ark_RuntimeType runtimeType(const GestureRecognizerJudgeBeginCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnMoveHandler* value) { +inline void WriteToString(std::string* result, const GestureRecognizerJudgeBeginCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25953,7 +27742,7 @@ inline void WriteToString(std::string* result, const OnMoveHandler* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnMoveHandler* value) { +inline void WriteToString(std::string* result, const Opt_GestureRecognizerJudgeBeginCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25966,17 +27755,17 @@ inline void WriteToString(std::string* result, const Opt_OnMoveHandler* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnMoveHandler& value) +inline Ark_RuntimeType runtimeType(const Opt_GestureRecognizerJudgeBeginCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnNativeLoadCallback& value) +inline Ark_RuntimeType runtimeType(const GetItemMainSizeByIndex& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnNativeLoadCallback* value) { +inline void WriteToString(std::string* result, const GetItemMainSizeByIndex* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25984,7 +27773,7 @@ inline void WriteToString(std::string* result, const OnNativeLoadCallback* value result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnNativeLoadCallback* value) { +inline void WriteToString(std::string* result, const Opt_GetItemMainSizeByIndex* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -25997,17 +27786,17 @@ inline void WriteToString(std::string* result, const Opt_OnNativeLoadCallback* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnNativeLoadCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_GetItemMainSizeByIndex& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnPasteCallback& value) +inline Ark_RuntimeType runtimeType(const HoverCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnPasteCallback* value) { +inline void WriteToString(std::string* result, const HoverCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26015,7 +27804,7 @@ inline void WriteToString(std::string* result, const OnPasteCallback* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnPasteCallback* value) { +inline void WriteToString(std::string* result, const Opt_HoverCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26028,17 +27817,17 @@ inline void WriteToString(std::string* result, const Opt_OnPasteCallback* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnPasteCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_HoverCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnRadioChangeCallback& value) +inline Ark_RuntimeType runtimeType(const ImageCompleteCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnRadioChangeCallback* value) { +inline void WriteToString(std::string* result, const ImageCompleteCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26046,7 +27835,7 @@ inline void WriteToString(std::string* result, const OnRadioChangeCallback* valu result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnRadioChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_ImageCompleteCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26059,17 +27848,17 @@ inline void WriteToString(std::string* result, const Opt_OnRadioChangeCallback* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnRadioChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_ImageCompleteCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnRatingChangeCallback& value) +inline Ark_RuntimeType runtimeType(const ImageErrorCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnRatingChangeCallback* value) { +inline void WriteToString(std::string* result, const ImageErrorCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26077,7 +27866,7 @@ inline void WriteToString(std::string* result, const OnRatingChangeCallback* val result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnRatingChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_ImageErrorCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26090,17 +27879,17 @@ inline void WriteToString(std::string* result, const Opt_OnRatingChangeCallback* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnRatingChangeCallback& value) +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 OnScrollCallback& value) +inline Ark_RuntimeType runtimeType(const ImageOnCompleteCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnScrollCallback* value) { +inline void WriteToString(std::string* result, const ImageOnCompleteCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26108,7 +27897,7 @@ inline void WriteToString(std::string* result, const OnScrollCallback* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnScrollCallback* value) { +inline void WriteToString(std::string* result, const Opt_ImageOnCompleteCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26121,17 +27910,17 @@ inline void WriteToString(std::string* result, const Opt_OnScrollCallback* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnScrollCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_ImageOnCompleteCallback& 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 InterceptionModeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnScrollEdgeCallback* value) { +inline void WriteToString(std::string* result, const InterceptionModeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26139,7 +27928,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_InterceptionModeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26152,17 +27941,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_InterceptionModeCallback& 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 InterceptionShowCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnScrollFrameBeginCallback* value) { +inline void WriteToString(std::string* result, const InterceptionShowCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26170,7 +27959,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_InterceptionShowCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26183,17 +27972,17 @@ 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_InterceptionShowCallback& 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 LoadingProgressModifierBuilder& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnScrollVisibleContentChangeCallback* value) { +inline void WriteToString(std::string* result, const LoadingProgressModifierBuilder* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26201,7 +27990,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_LoadingProgressModifierBuilder* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26214,25 +28003,33 @@ 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_LoadingProgressModifierBuilder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnSelectCallback& value) +inline Ark_RuntimeType runtimeType(const Map_AxisModel_Number& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnSelectCallback* value) { +void WriteToString(std::string* result, const Ark_AxisModel value); +template <> +void WriteToString(std::string* result, const Ark_Number* value); +template <> +inline void WriteToString(std::string* result, const Map_AxisModel_Number* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + int32_t count = value->size; + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, (value->keys[i])); + result->append(": "); + WriteToString(result, const_cast(&value->values[i])); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnSelectCallback* value) { +inline void WriteToString(std::string* result, const Opt_Map_AxisModel_Number* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26245,25 +28042,33 @@ inline void WriteToString(std::string* result, const Opt_OnSelectCallback* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnSelectCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Map_AxisModel_Number& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnSubmitCallback& value) +inline Ark_RuntimeType runtimeType(const Map_Number_text_RunMetrics& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnSubmitCallback* value) { +void WriteToString(std::string* result, const Ark_Number* value); +template <> +void WriteToString(std::string* result, const Ark_text_RunMetrics* value); +template <> +inline void WriteToString(std::string* result, const Map_Number_text_RunMetrics* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + int32_t count = value->size; + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, const_cast(&value->keys[i])); + result->append(": "); + WriteToString(result, const_cast(&value->values[i])); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnSubmitCallback* value) { +inline void WriteToString(std::string* result, const Opt_Map_Number_text_RunMetrics* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26276,25 +28081,33 @@ inline void WriteToString(std::string* result, const Opt_OnSubmitCallback* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnSubmitCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Map_Number_text_RunMetrics& 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 Map_String_ComponentContent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnSwiperAnimationEndCallback* value) { +void WriteToString(std::string* result, const Ark_String* value); +template <> +void WriteToString(std::string* result, const Ark_ComponentContent value); +template <> +inline void WriteToString(std::string* result, const Map_String_ComponentContent* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + int32_t count = value->size; + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, const_cast(&value->keys[i])); + result->append(": "); + WriteToString(result, (value->values[i])); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnSwiperAnimationEndCallback* value) { +inline void WriteToString(std::string* result, const Opt_Map_String_ComponentContent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26307,25 +28120,33 @@ 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_Map_String_ComponentContent& 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 Map_String_Int64& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnSwiperAnimationStartCallback* value) { +void WriteToString(std::string* result, const Ark_String* value); +template <> +void WriteToString(std::string* result, const Ark_Int64 value); +template <> +inline void WriteToString(std::string* result, const Map_String_Int64* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + int32_t count = value->size; + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, const_cast(&value->keys[i])); + result->append(": "); + WriteToString(result, (value->values[i])); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnSwiperAnimationStartCallback* value) { +inline void WriteToString(std::string* result, const Opt_Map_String_Int64* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26338,25 +28159,33 @@ 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_Map_String_Int64& value) { 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 Map_String_Object& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnSwiperGestureSwipeCallback* value) { +void WriteToString(std::string* result, const Ark_String* value); +template <> +void WriteToString(std::string* result, const Ark_Object* value); +template <> +inline void WriteToString(std::string* result, const Map_String_Object* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + int32_t count = value->size; + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, const_cast(&value->keys[i])); + result->append(": "); + WriteToString(result, const_cast(&value->values[i])); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnSwiperGestureSwipeCallback* value) { +inline void WriteToString(std::string* result, const Opt_Map_String_Object* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26369,25 +28198,33 @@ 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_Map_String_Object& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnTabsAnimationEndCallback& value) +inline Ark_RuntimeType runtimeType(const Map_String_Opt_Object& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnTabsAnimationEndCallback* value) { +void WriteToString(std::string* result, const Ark_String* value); +template <> +void WriteToString(std::string* result, const Opt_Object* value); +template <> +inline void WriteToString(std::string* result, const Map_String_Opt_Object* value) { result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); + int32_t count = value->size; + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, const_cast(&value->keys[i])); + result->append(": "); + WriteToString(result, const_cast(&value->values[i])); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnTabsAnimationEndCallback* value) { +inline void WriteToString(std::string* result, const Opt_Map_String_Opt_Object* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26400,17 +28237,56 @@ inline void WriteToString(std::string* result, const Opt_OnTabsAnimationEndCallb result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnTabsAnimationEndCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_Map_String_Opt_Object& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnTabsAnimationStartCallback& value) +inline Ark_RuntimeType runtimeType(const Map_String_String& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnTabsAnimationStartCallback* value) { +void WriteToString(std::string* result, const Ark_String* value); +template <> +void WriteToString(std::string* result, const Ark_String* value); +template <> +inline void WriteToString(std::string* result, const Map_String_String* value) { + result->append("{"); + int32_t count = value->size; + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, const_cast(&value->keys[i])); + result->append(": "); + WriteToString(result, const_cast(&value->values[i])); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Map_String_String* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_String& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const MenuCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const MenuCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26418,7 +28294,7 @@ inline void WriteToString(std::string* result, const OnTabsAnimationStartCallbac result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnTabsAnimationStartCallback* value) { +inline void WriteToString(std::string* result, const Opt_MenuCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26431,17 +28307,17 @@ inline void WriteToString(std::string* result, const Opt_OnTabsAnimationStartCal result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnTabsAnimationStartCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_MenuCallback& value) { 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 MenuItemModifierBuilder& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnTabsContentWillChangeCallback* value) { +inline void WriteToString(std::string* result, const MenuItemModifierBuilder* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26449,7 +28325,7 @@ inline void WriteToString(std::string* result, const OnTabsContentWillChangeCall result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnTabsContentWillChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_MenuItemModifierBuilder* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26462,17 +28338,17 @@ 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_MenuItemModifierBuilder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnTabsGestureSwipeCallback& value) +inline Ark_RuntimeType runtimeType(const MenuOnAppearCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnTabsGestureSwipeCallback* value) { +inline void WriteToString(std::string* result, const MenuOnAppearCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26480,7 +28356,7 @@ inline void WriteToString(std::string* result, const OnTabsGestureSwipeCallback* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnTabsGestureSwipeCallback* value) { +inline void WriteToString(std::string* result, const Opt_MenuOnAppearCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26493,17 +28369,17 @@ inline void WriteToString(std::string* result, const Opt_OnTabsGestureSwipeCallb result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnTabsGestureSwipeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_MenuOnAppearCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnTextPickerChangeCallback& value) +inline Ark_RuntimeType runtimeType(const ModifierKeyStateGetter& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnTextPickerChangeCallback* value) { +inline void WriteToString(std::string* result, const ModifierKeyStateGetter* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26511,7 +28387,7 @@ inline void WriteToString(std::string* result, const OnTextPickerChangeCallback* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnTextPickerChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_ModifierKeyStateGetter* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26524,17 +28400,17 @@ inline void WriteToString(std::string* result, const Opt_OnTextPickerChangeCallb result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnTextPickerChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_ModifierKeyStateGetter& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnTextSelectionChangeCallback& value) +inline Ark_RuntimeType runtimeType(const NavDestinationTransitionDelegate& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnTextSelectionChangeCallback* value) { +inline void WriteToString(std::string* result, const NavDestinationTransitionDelegate* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26542,7 +28418,7 @@ inline void WriteToString(std::string* result, const OnTextSelectionChangeCallba result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnTextSelectionChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_NavDestinationTransitionDelegate* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26555,17 +28431,17 @@ inline void WriteToString(std::string* result, const Opt_OnTextSelectionChangeCa result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnTextSelectionChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_NavDestinationTransitionDelegate& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnTimePickerChangeCallback& value) +inline Ark_RuntimeType runtimeType(const NavExtender_OnUpdateStack& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnTimePickerChangeCallback* value) { +inline void WriteToString(std::string* result, const NavExtender_OnUpdateStack* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26573,7 +28449,7 @@ inline void WriteToString(std::string* result, const OnTimePickerChangeCallback* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnTimePickerChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_NavExtender_OnUpdateStack* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26586,17 +28462,17 @@ inline void WriteToString(std::string* result, const Opt_OnTimePickerChangeCallb result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnTimePickerChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_NavExtender_OnUpdateStack& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const OnTotalCountFunc& value) +inline Ark_RuntimeType runtimeType(const OnAdsBlockedCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnTotalCountFunc* value) { +inline void WriteToString(std::string* result, const OnAdsBlockedCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26604,7 +28480,7 @@ inline void WriteToString(std::string* result, const OnTotalCountFunc* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnTotalCountFunc* value) { +inline void WriteToString(std::string* result, const Opt_OnAdsBlockedCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26617,17 +28493,17 @@ inline void WriteToString(std::string* result, const Opt_OnTotalCountFunc* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnTotalCountFunc& 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 OnWillScrollCallback& value) +inline Ark_RuntimeType runtimeType(const OnAlphabetIndexerPopupSelectCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const OnWillScrollCallback* value) { +inline void WriteToString(std::string* result, const OnAlphabetIndexerPopupSelectCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26635,7 +28511,7 @@ inline void WriteToString(std::string* result, const OnWillScrollCallback* value result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OnWillScrollCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnAlphabetIndexerPopupSelectCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26648,17 +28524,17 @@ inline void WriteToString(std::string* result, const Opt_OnWillScrollCallback* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OnWillScrollCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnAlphabetIndexerPopupSelectCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const PageMapBuilder& value) +inline Ark_RuntimeType runtimeType(const OnAlphabetIndexerRequestPopupDataCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const PageMapBuilder* value) { +inline void WriteToString(std::string* result, const OnAlphabetIndexerRequestPopupDataCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26666,7 +28542,7 @@ inline void WriteToString(std::string* result, const PageMapBuilder* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_PageMapBuilder* value) { +inline void WriteToString(std::string* result, const Opt_OnAlphabetIndexerRequestPopupDataCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26679,17 +28555,17 @@ inline void WriteToString(std::string* result, const Opt_PageMapBuilder* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PageMapBuilder& 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 PageTransitionCallback& value) +inline Ark_RuntimeType runtimeType(const OnAlphabetIndexerSelectCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const PageTransitionCallback* value) { +inline void WriteToString(std::string* result, const OnAlphabetIndexerSelectCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26697,7 +28573,7 @@ inline void WriteToString(std::string* result, const PageTransitionCallback* val result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_PageTransitionCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnAlphabetIndexerSelectCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26710,17 +28586,17 @@ inline void WriteToString(std::string* result, const Opt_PageTransitionCallback* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PageTransitionCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnAlphabetIndexerSelectCallback& 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 OnCheckboxChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const PasteEventCallback* value) { +inline void WriteToString(std::string* result, const OnCheckboxChangeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26728,7 +28604,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_OnCheckboxChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26741,17 +28617,17 @@ 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_OnCheckboxChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const PluginErrorCallback& value) +inline Ark_RuntimeType runtimeType(const OnCheckboxGroupChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const PluginErrorCallback* value) { +inline void WriteToString(std::string* result, const OnCheckboxGroupChangeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26759,7 +28635,7 @@ inline void WriteToString(std::string* result, const PluginErrorCallback* value) result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_PluginErrorCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnCheckboxGroupChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26772,17 +28648,17 @@ inline void WriteToString(std::string* result, const Opt_PluginErrorCallback* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PluginErrorCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnCheckboxGroupChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const PopupStateChangeCallback& value) +inline Ark_RuntimeType runtimeType(const OnContentScrollCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const PopupStateChangeCallback* value) { +inline void WriteToString(std::string* result, const OnContentScrollCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26790,7 +28666,7 @@ inline void WriteToString(std::string* result, const PopupStateChangeCallback* v result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_PopupStateChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnContentScrollCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26803,17 +28679,17 @@ inline void WriteToString(std::string* result, const Opt_PopupStateChangeCallbac result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PopupStateChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnContentScrollCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Profiler_Callback_String_Void& value) +inline Ark_RuntimeType runtimeType(const OnContextMenuHideCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Profiler_Callback_String_Void* value) { +inline void WriteToString(std::string* result, const OnContextMenuHideCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26821,7 +28697,7 @@ inline void WriteToString(std::string* result, const Profiler_Callback_String_Vo result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Profiler_Callback_String_Void* value) { +inline void WriteToString(std::string* result, const Opt_OnContextMenuHideCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26834,17 +28710,17 @@ inline void WriteToString(std::string* result, const Opt_Profiler_Callback_Strin result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Profiler_Callback_String_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 ProgressModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const OnCreateMenuCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const ProgressModifierBuilder* value) { +inline void WriteToString(std::string* result, const OnCreateMenuCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26852,7 +28728,7 @@ inline void WriteToString(std::string* result, const ProgressModifierBuilder* va result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ProgressModifierBuilder* value) { +inline void WriteToString(std::string* result, const Opt_OnCreateMenuCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26865,17 +28741,17 @@ inline void WriteToString(std::string* result, const Opt_ProgressModifierBuilder result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ProgressModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const Opt_OnCreateMenuCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const RadioModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const OnDidChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const RadioModifierBuilder* value) { +inline void WriteToString(std::string* result, const OnDidChangeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26883,7 +28759,7 @@ inline void WriteToString(std::string* result, const RadioModifierBuilder* value result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RadioModifierBuilder* value) { +inline void WriteToString(std::string* result, const Opt_OnDidChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26896,17 +28772,17 @@ inline void WriteToString(std::string* result, const Opt_RadioModifierBuilder* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RadioModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const Opt_OnDidChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const RatingModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const OnDragEventCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const RatingModifierBuilder* value) { +inline void WriteToString(std::string* result, const OnDragEventCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26914,7 +28790,7 @@ inline void WriteToString(std::string* result, const RatingModifierBuilder* valu result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RatingModifierBuilder* value) { +inline void WriteToString(std::string* result, const Opt_OnDragEventCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26927,17 +28803,17 @@ inline void WriteToString(std::string* result, const Opt_RatingModifierBuilder* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RatingModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const Opt_OnDragEventCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const RestrictedWorker_onerror_Callback& value) +inline Ark_RuntimeType runtimeType(const OnFirstMeaningfulPaintCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const RestrictedWorker_onerror_Callback* value) { +inline void WriteToString(std::string* result, const OnFirstMeaningfulPaintCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26945,7 +28821,7 @@ inline void WriteToString(std::string* result, const RestrictedWorker_onerror_Ca result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RestrictedWorker_onerror_Callback* value) { +inline void WriteToString(std::string* result, const Opt_OnFirstMeaningfulPaintCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26958,17 +28834,17 @@ inline void WriteToString(std::string* result, const Opt_RestrictedWorker_onerro result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RestrictedWorker_onerror_Callback& 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 RestrictedWorker_onexit_Callback& value) +inline Ark_RuntimeType runtimeType(const OnFoldStatusChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const RestrictedWorker_onexit_Callback* value) { +inline void WriteToString(std::string* result, const OnFoldStatusChangeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -26976,7 +28852,7 @@ inline void WriteToString(std::string* result, const RestrictedWorker_onexit_Cal result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RestrictedWorker_onexit_Callback* value) { +inline void WriteToString(std::string* result, const Opt_OnFoldStatusChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -26989,17 +28865,17 @@ inline void WriteToString(std::string* result, const Opt_RestrictedWorker_onexit result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RestrictedWorker_onexit_Callback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnFoldStatusChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const RestrictedWorker_onmessage_Callback& value) +inline Ark_RuntimeType runtimeType(const OnFullScreenEnterCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const RestrictedWorker_onmessage_Callback* value) { +inline void WriteToString(std::string* result, const OnFullScreenEnterCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27007,7 +28883,7 @@ inline void WriteToString(std::string* result, const RestrictedWorker_onmessage_ result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RestrictedWorker_onmessage_Callback* value) { +inline void WriteToString(std::string* result, const Opt_OnFullScreenEnterCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27020,17 +28896,17 @@ inline void WriteToString(std::string* result, const Opt_RestrictedWorker_onmess result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RestrictedWorker_onmessage_Callback& 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 ReuseIdCallback& value) +inline Ark_RuntimeType runtimeType(const OnHoverCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const ReuseIdCallback* value) { +inline void WriteToString(std::string* result, const OnHoverCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27038,7 +28914,7 @@ inline void WriteToString(std::string* result, const ReuseIdCallback* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ReuseIdCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnHoverCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27051,17 +28927,17 @@ inline void WriteToString(std::string* result, const Opt_ReuseIdCallback* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ReuseIdCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnHoverCallback& 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 OnHoverStatusChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const ScrollOnScrollCallback* value) { +inline void WriteToString(std::string* result, const OnHoverStatusChangeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27069,7 +28945,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_OnHoverStatusChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27082,17 +28958,17 @@ 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_OnHoverStatusChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const ScrollOnWillScrollCallback& value) +inline Ark_RuntimeType runtimeType(const OnIntelligentTrackingPreventionCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const ScrollOnWillScrollCallback* value) { +inline void WriteToString(std::string* result, const OnIntelligentTrackingPreventionCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27100,7 +28976,7 @@ inline void WriteToString(std::string* result, const ScrollOnWillScrollCallback* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ScrollOnWillScrollCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnIntelligentTrackingPreventionCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27113,17 +28989,17 @@ inline void WriteToString(std::string* result, const Opt_ScrollOnWillScrollCallb result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollOnWillScrollCallback& 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 SearchSubmitCallback& value) +inline Ark_RuntimeType runtimeType(const OnItemDragStartCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const SearchSubmitCallback* value) { +inline void WriteToString(std::string* result, const OnItemDragStartCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27131,7 +29007,7 @@ inline void WriteToString(std::string* result, const SearchSubmitCallback* value result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SearchSubmitCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnItemDragStartCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27144,17 +29020,17 @@ inline void WriteToString(std::string* result, const Opt_SearchSubmitCallback* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SearchSubmitCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnItemDragStartCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const SearchValueCallback& value) +inline Ark_RuntimeType runtimeType(const OnLargestContentfulPaintCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const SearchValueCallback* value) { +inline void WriteToString(std::string* result, const OnLargestContentfulPaintCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27162,7 +29038,7 @@ inline void WriteToString(std::string* result, const SearchValueCallback* value) result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SearchValueCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnLargestContentfulPaintCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27175,17 +29051,17 @@ inline void WriteToString(std::string* result, const Opt_SearchValueCallback* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SearchValueCallback& 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 ShouldBuiltInRecognizerParallelWithCallback& value) +inline Ark_RuntimeType runtimeType(const OnLinearIndicatorChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const ShouldBuiltInRecognizerParallelWithCallback* value) { +inline void WriteToString(std::string* result, const OnLinearIndicatorChangeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27193,7 +29069,7 @@ inline void WriteToString(std::string* result, const ShouldBuiltInRecognizerPara result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ShouldBuiltInRecognizerParallelWithCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnLinearIndicatorChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27206,17 +29082,17 @@ inline void WriteToString(std::string* result, const Opt_ShouldBuiltInRecognizer result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ShouldBuiltInRecognizerParallelWithCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnLinearIndicatorChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const SizeChangeCallback& value) +inline Ark_RuntimeType runtimeType(const OnMenuItemClickCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const SizeChangeCallback* value) { +inline void WriteToString(std::string* result, const OnMenuItemClickCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27224,7 +29100,7 @@ inline void WriteToString(std::string* result, const SizeChangeCallback* value) result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SizeChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnMenuItemClickCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27237,17 +29113,17 @@ inline void WriteToString(std::string* result, const Opt_SizeChangeCallback* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SizeChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnMenuItemClickCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const SliderModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const OnMoveHandler& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const SliderModifierBuilder* value) { +inline void WriteToString(std::string* result, const OnMoveHandler* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27255,7 +29131,7 @@ inline void WriteToString(std::string* result, const SliderModifierBuilder* valu result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SliderModifierBuilder* value) { +inline void WriteToString(std::string* result, const Opt_OnMoveHandler* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27268,17 +29144,17 @@ inline void WriteToString(std::string* result, const Opt_SliderModifierBuilder* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SliderModifierBuilder& value) +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 SliderTriggerChangeCallback& value) +inline Ark_RuntimeType runtimeType(const OnNativeEmbedVisibilityChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const SliderTriggerChangeCallback* value) { +inline void WriteToString(std::string* result, const OnNativeEmbedVisibilityChangeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27286,7 +29162,7 @@ inline void WriteToString(std::string* result, const SliderTriggerChangeCallback result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SliderTriggerChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnNativeEmbedVisibilityChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27299,17 +29175,17 @@ inline void WriteToString(std::string* result, const Opt_SliderTriggerChangeCall result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SliderTriggerChangeCallback& 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 StyledStringMarshallCallback& value) +inline Ark_RuntimeType runtimeType(const OnNavigationEntryCommittedCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const StyledStringMarshallCallback* value) { +inline void WriteToString(std::string* result, const OnNavigationEntryCommittedCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27317,7 +29193,7 @@ inline void WriteToString(std::string* result, const StyledStringMarshallCallbac result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_StyledStringMarshallCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnNavigationEntryCommittedCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27330,17 +29206,17 @@ inline void WriteToString(std::string* result, const Opt_StyledStringMarshallCal result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_StyledStringMarshallCallback& 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 StyledStringUnmarshallCallback& value) +inline Ark_RuntimeType runtimeType(const OnOverrideUrlLoadingCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const StyledStringUnmarshallCallback* value) { +inline void WriteToString(std::string* result, const OnOverrideUrlLoadingCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27348,7 +29224,7 @@ inline void WriteToString(std::string* result, const StyledStringUnmarshallCallb result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_StyledStringUnmarshallCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnOverrideUrlLoadingCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27361,17 +29237,17 @@ inline void WriteToString(std::string* result, const Opt_StyledStringUnmarshallC result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_StyledStringUnmarshallCallback& 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 SubmitCallback& value) +inline Ark_RuntimeType runtimeType(const OnPasteCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const SubmitCallback* value) { +inline void WriteToString(std::string* result, const OnPasteCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27379,7 +29255,7 @@ inline void WriteToString(std::string* result, const SubmitCallback* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SubmitCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnPasteCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27392,17 +29268,17 @@ 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_OnPasteCallback& 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 OnRadioChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const TabsCustomContentTransitionCallback* value) { +inline void WriteToString(std::string* result, const OnRadioChangeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27410,7 +29286,7 @@ inline void WriteToString(std::string* result, const TabsCustomContentTransition result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TabsCustomContentTransitionCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnRadioChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27423,17 +29299,17 @@ 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_OnRadioChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const text_Callback_Number_Number_Boolean_Boolean& value) +inline Ark_RuntimeType runtimeType(const OnRatingChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const text_Callback_Number_Number_Boolean_Boolean* value) { +inline void WriteToString(std::string* result, const OnRatingChangeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27441,7 +29317,7 @@ inline void WriteToString(std::string* result, const text_Callback_Number_Number result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_text_Callback_Number_Number_Boolean_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_OnRatingChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27454,17 +29330,17 @@ inline void WriteToString(std::string* result, const Opt_text_Callback_Number_Nu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_text_Callback_Number_Number_Boolean_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_OnRatingChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const TextAreaSubmitCallback& value) +inline Ark_RuntimeType runtimeType(const OnRenderProcessNotRespondingCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const TextAreaSubmitCallback* value) { +inline void WriteToString(std::string* result, const OnRenderProcessNotRespondingCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27472,7 +29348,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_OnRenderProcessNotRespondingCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27485,17 +29361,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_OnRenderProcessNotRespondingCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const TextClockModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const OnRenderProcessRespondingCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const TextClockModifierBuilder* value) { +inline void WriteToString(std::string* result, const OnRenderProcessRespondingCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27503,7 +29379,7 @@ inline void WriteToString(std::string* result, const TextClockModifierBuilder* v result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TextClockModifierBuilder* value) { +inline void WriteToString(std::string* result, const Opt_OnRenderProcessRespondingCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27516,17 +29392,17 @@ inline void WriteToString(std::string* result, const Opt_TextClockModifierBuilde result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextClockModifierBuilder& 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 TextFieldValueCallback& value) +inline Ark_RuntimeType runtimeType(const OnSafeBrowsingCheckResultCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const TextFieldValueCallback* value) { +inline void WriteToString(std::string* result, const OnSafeBrowsingCheckResultCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27534,7 +29410,7 @@ inline void WriteToString(std::string* result, const TextFieldValueCallback* val result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TextFieldValueCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnSafeBrowsingCheckResultCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27547,17 +29423,17 @@ inline void WriteToString(std::string* result, const Opt_TextFieldValueCallback* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextFieldValueCallback& 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 TextPickerEnterSelectedAreaCallback& value) +inline Ark_RuntimeType runtimeType(const OnScrollCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const TextPickerEnterSelectedAreaCallback* value) { +inline void WriteToString(std::string* result, const OnScrollCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27565,7 +29441,7 @@ inline void WriteToString(std::string* result, const TextPickerEnterSelectedArea result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TextPickerEnterSelectedAreaCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnScrollCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27578,17 +29454,17 @@ inline void WriteToString(std::string* result, const Opt_TextPickerEnterSelected result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextPickerEnterSelectedAreaCallback& value) +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 TextPickerScrollStopCallback& value) +inline Ark_RuntimeType runtimeType(const OnScrollEdgeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const TextPickerScrollStopCallback* value) { +inline void WriteToString(std::string* result, const OnScrollEdgeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27596,7 +29472,7 @@ inline void WriteToString(std::string* result, const TextPickerScrollStopCallbac result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TextPickerScrollStopCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnScrollEdgeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27609,17 +29485,17 @@ inline void WriteToString(std::string* result, const Opt_TextPickerScrollStopCal result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextPickerScrollStopCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnScrollEdgeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const TextTimerModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const OnScrollFrameBeginCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const TextTimerModifierBuilder* value) { +inline void WriteToString(std::string* result, const OnScrollFrameBeginCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27627,7 +29503,7 @@ inline void WriteToString(std::string* result, const TextTimerModifierBuilder* v result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TextTimerModifierBuilder* value) { +inline void WriteToString(std::string* result, const Opt_OnScrollFrameBeginCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27640,17 +29516,17 @@ inline void WriteToString(std::string* result, const Opt_TextTimerModifierBuilde result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextTimerModifierBuilder& 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 ToggleModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const OnScrollVisibleContentChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const ToggleModifierBuilder* value) { +inline void WriteToString(std::string* result, const OnScrollVisibleContentChangeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27658,7 +29534,7 @@ inline void WriteToString(std::string* result, const ToggleModifierBuilder* valu result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ToggleModifierBuilder* value) { +inline void WriteToString(std::string* result, const Opt_OnScrollVisibleContentChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27671,17 +29547,17 @@ inline void WriteToString(std::string* result, const Opt_ToggleModifierBuilder* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ToggleModifierBuilder& value) +inline Ark_RuntimeType runtimeType(const Opt_OnScrollVisibleContentChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const TransitionFinishCallback& value) +inline Ark_RuntimeType runtimeType(const OnSelectCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const TransitionFinishCallback* value) { +inline void WriteToString(std::string* result, const OnSelectCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27689,7 +29565,7 @@ inline void WriteToString(std::string* result, const TransitionFinishCallback* v result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TransitionFinishCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnSelectCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27702,17 +29578,17 @@ inline void WriteToString(std::string* result, const Opt_TransitionFinishCallbac result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TransitionFinishCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnSelectCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Type_CommonMethod_onDragStart& value) +inline Ark_RuntimeType runtimeType(const OnSslErrorEventCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Type_CommonMethod_onDragStart* value) { +inline void WriteToString(std::string* result, const OnSslErrorEventCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27720,7 +29596,7 @@ inline void WriteToString(std::string* result, const Type_CommonMethod_onDragSta result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Type_CommonMethod_onDragStart* value) { +inline void WriteToString(std::string* result, const Opt_OnSslErrorEventCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27733,17 +29609,17 @@ inline void WriteToString(std::string* result, const Opt_Type_CommonMethod_onDra result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Type_CommonMethod_onDragStart& 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 Type_NavigationAttribute_customNavContentTransition& value) +inline Ark_RuntimeType runtimeType(const OnSubmitCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Type_NavigationAttribute_customNavContentTransition* value) { +inline void WriteToString(std::string* result, const OnSubmitCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27751,7 +29627,7 @@ inline void WriteToString(std::string* result, const Type_NavigationAttribute_cu result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Type_NavigationAttribute_customNavContentTransition* value) { +inline void WriteToString(std::string* result, const Opt_OnSubmitCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27764,17 +29640,17 @@ inline void WriteToString(std::string* result, const Opt_Type_NavigationAttribut result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Type_NavigationAttribute_customNavContentTransition& value) +inline Ark_RuntimeType runtimeType(const Opt_OnSubmitCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const uiObserver_Callback_DensityInfo_Void& value) +inline Ark_RuntimeType runtimeType(const OnSwiperAnimationEndCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const uiObserver_Callback_DensityInfo_Void* value) { +inline void WriteToString(std::string* result, const OnSwiperAnimationEndCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27782,7 +29658,7 @@ inline void WriteToString(std::string* result, const uiObserver_Callback_Density result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_DensityInfo_Void* value) { +inline void WriteToString(std::string* result, const Opt_OnSwiperAnimationEndCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27795,17 +29671,17 @@ inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_Den result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_uiObserver_Callback_DensityInfo_Void& 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 uiObserver_Callback_NavDestinationInfo_Void& value) +inline Ark_RuntimeType runtimeType(const OnSwiperAnimationStartCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const uiObserver_Callback_NavDestinationInfo_Void* value) { +inline void WriteToString(std::string* result, const OnSwiperAnimationStartCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27813,7 +29689,7 @@ inline void WriteToString(std::string* result, const uiObserver_Callback_NavDest result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_NavDestinationInfo_Void* value) { +inline void WriteToString(std::string* result, const Opt_OnSwiperAnimationStartCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27826,17 +29702,17 @@ inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_Nav result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_uiObserver_Callback_NavDestinationInfo_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_OnSwiperAnimationStartCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const uiObserver_Callback_NavDestinationSwitchInfo_Void& value) +inline Ark_RuntimeType runtimeType(const OnSwiperGestureSwipeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const uiObserver_Callback_NavDestinationSwitchInfo_Void* value) { +inline void WriteToString(std::string* result, const OnSwiperGestureSwipeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27844,7 +29720,7 @@ inline void WriteToString(std::string* result, const uiObserver_Callback_NavDest result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_NavDestinationSwitchInfo_Void* value) { +inline void WriteToString(std::string* result, const Opt_OnSwiperGestureSwipeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27857,17 +29733,17 @@ inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_Nav result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_uiObserver_Callback_NavDestinationSwitchInfo_Void& 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 uiObserver_Callback_RouterPageInfo_Void& value) +inline Ark_RuntimeType runtimeType(const OnTabsAnimationEndCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const uiObserver_Callback_RouterPageInfo_Void* value) { +inline void WriteToString(std::string* result, const OnTabsAnimationEndCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27875,7 +29751,7 @@ inline void WriteToString(std::string* result, const uiObserver_Callback_RouterP result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_RouterPageInfo_Void* value) { +inline void WriteToString(std::string* result, const Opt_OnTabsAnimationEndCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27888,17 +29764,17 @@ inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_Rou result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_uiObserver_Callback_RouterPageInfo_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_OnTabsAnimationEndCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const uiObserver_Callback_ScrollEventInfo_Void& value) +inline Ark_RuntimeType runtimeType(const OnTabsAnimationStartCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const uiObserver_Callback_ScrollEventInfo_Void* value) { +inline void WriteToString(std::string* result, const OnTabsAnimationStartCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27906,7 +29782,7 @@ inline void WriteToString(std::string* result, const uiObserver_Callback_ScrollE result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_ScrollEventInfo_Void* value) { +inline void WriteToString(std::string* result, const Opt_OnTabsAnimationStartCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27919,17 +29795,17 @@ inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_Scr result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_uiObserver_Callback_ScrollEventInfo_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_OnTabsAnimationStartCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const uiObserver_Callback_TabContentInfo_Void& value) +inline Ark_RuntimeType runtimeType(const OnTabsContentWillChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const uiObserver_Callback_TabContentInfo_Void* value) { +inline void WriteToString(std::string* result, const OnTabsContentWillChangeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27937,7 +29813,7 @@ inline void WriteToString(std::string* result, const uiObserver_Callback_TabCont result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_TabContentInfo_Void* value) { +inline void WriteToString(std::string* result, const Opt_OnTabsContentWillChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27950,17 +29826,17 @@ inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_Tab result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_uiObserver_Callback_TabContentInfo_Void& 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 uiObserver_Callback_Void& value) +inline Ark_RuntimeType runtimeType(const OnTabsGestureSwipeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const uiObserver_Callback_Void* value) { +inline void WriteToString(std::string* result, const OnTabsGestureSwipeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27968,7 +29844,7 @@ inline void WriteToString(std::string* result, const uiObserver_Callback_Void* v result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_Void* value) { +inline void WriteToString(std::string* result, const Opt_OnTabsGestureSwipeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -27981,17 +29857,17 @@ inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_Voi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_uiObserver_Callback_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_OnTabsGestureSwipeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const UpdateTransitionCallback& value) +inline Ark_RuntimeType runtimeType(const OnTextPickerChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const UpdateTransitionCallback* value) { +inline void WriteToString(std::string* result, const OnTextPickerChangeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -27999,7 +29875,7 @@ inline void WriteToString(std::string* result, const UpdateTransitionCallback* v result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_UpdateTransitionCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnTextPickerChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28012,17 +29888,17 @@ inline void WriteToString(std::string* result, const Opt_UpdateTransitionCallbac result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_UpdateTransitionCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnTextPickerChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const VisibleAreaChangeCallback& value) +inline Ark_RuntimeType runtimeType(const OnTextSelectionChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const VisibleAreaChangeCallback* value) { +inline void WriteToString(std::string* result, const OnTextSelectionChangeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -28030,7 +29906,7 @@ inline void WriteToString(std::string* result, const VisibleAreaChangeCallback* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_VisibleAreaChangeCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnTextSelectionChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28043,17 +29919,17 @@ inline void WriteToString(std::string* result, const Opt_VisibleAreaChangeCallba result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_VisibleAreaChangeCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnTextSelectionChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const VoidCallback& value) +inline Ark_RuntimeType runtimeType(const OnTimePickerChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const VoidCallback* value) { +inline void WriteToString(std::string* result, const OnTimePickerChangeCallback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -28061,7 +29937,7 @@ inline void WriteToString(std::string* result, const VoidCallback* value) { result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_VoidCallback* value) { +inline void WriteToString(std::string* result, const Opt_OnTimePickerChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28074,25 +29950,25 @@ inline void WriteToString(std::string* result, const Opt_VoidCallback* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_VoidCallback& value) +inline Ark_RuntimeType runtimeType(const Opt_OnTimePickerChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_AccessibilityOptions& value) +inline Ark_RuntimeType runtimeType(const OnViewportFitChangedCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_AccessibilityOptions* value) { +inline void WriteToString(std::string* result, const OnViewportFitChangedCallback* value) { result->append("{"); - // Ark_Boolean accessibilityPreferred - result->append(".accessibilityPreferred="); - WriteToString(result, &value->accessibilityPreferred); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_AccessibilityOptions* value) { +inline void WriteToString(std::string* result, const Opt_OnViewportFitChangedCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28105,25 +29981,25 @@ inline void WriteToString(std::string* result, const Opt_AccessibilityOptions* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AccessibilityOptions& 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_AlignRuleOption& value) +inline Ark_RuntimeType runtimeType(const OnWillScrollCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_AlignRuleOption* value) { +inline void WriteToString(std::string* result, const OnWillScrollCallback* value) { result->append("{"); - // Ark_Int32 _stub - result->append("._stub="); - WriteToString(result, value->_stub); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_AlignRuleOption* value) { +inline void WriteToString(std::string* result, const Opt_OnWillScrollCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28136,29 +30012,25 @@ inline void WriteToString(std::string* result, const Opt_AlignRuleOption* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AlignRuleOption& value) +inline Ark_RuntimeType runtimeType(const Opt_OnWillScrollCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_AnimationNumberRange& value) +inline Ark_RuntimeType runtimeType(const PageMapBuilder& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_AnimationNumberRange* value) { +inline void WriteToString(std::string* result, const PageMapBuilder* value) { result->append("{"); - // Ark_Number value0 - result->append(".value0="); - WriteToString(result, &value->value0); - // Ark_Number value1 - result->append(", "); - 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_AnimationNumberRange* value) { +inline void WriteToString(std::string* result, const Opt_PageMapBuilder* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28171,26 +30043,30 @@ inline void WriteToString(std::string* result, const Opt_AnimationNumberRange* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AnimationNumberRange& value) +inline Ark_RuntimeType runtimeType(const Opt_PageMapBuilder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_AppearSymbolEffect& value) +inline Ark_RuntimeType runtimeType(const PageTransitionCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_AppearSymbolEffect value) { - WriteToString(result, static_cast(value)); +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_AppearSymbolEffect* value) { +inline void WriteToString(std::string* result, const Opt_PageTransitionCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -28198,29 +30074,25 @@ inline void WriteToString(std::string* result, const Opt_AppearSymbolEffect* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AppearSymbolEffect& value) +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_ASTCResource& value) +inline Ark_RuntimeType runtimeType(const PasteEventCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ASTCResource* value) { +inline void WriteToString(std::string* result, const PasteEventCallback* value) { result->append("{"); - // Array_String sources - result->append(".sources="); - WriteToString(result, &value->sources); - // Ark_Number column - result->append(", "); - result->append(".column="); - WriteToString(result, &value->column); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ASTCResource* value) { +inline void WriteToString(std::string* result, const Opt_PasteEventCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28233,29 +30105,25 @@ inline void WriteToString(std::string* result, const Opt_ASTCResource* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ASTCResource& 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 Ark_AsymmetricTransitionOption& value) +inline Ark_RuntimeType runtimeType(const PluginErrorCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_AsymmetricTransitionOption* value) { +inline void WriteToString(std::string* result, const PluginErrorCallback* value) { result->append("{"); - // Ark_TransitionEffect appear - result->append(".appear="); - WriteToString(result, value->appear); - // Ark_TransitionEffect disappear - result->append(", "); - result->append(".disappear="); - WriteToString(result, value->disappear); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_AsymmetricTransitionOption* value) { +inline void WriteToString(std::string* result, const Opt_PluginErrorCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28268,25 +30136,25 @@ inline void WriteToString(std::string* result, const Opt_AsymmetricTransitionOpt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AsymmetricTransitionOption& value) +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_AutoPlayOptions& value) +inline Ark_RuntimeType runtimeType(const PopupStateChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_AutoPlayOptions* value) { +inline void WriteToString(std::string* result, const PopupStateChangeCallback* value) { result->append("{"); - // Ark_Boolean stopWhenTouched - result->append(".stopWhenTouched="); - WriteToString(result, value->stopWhenTouched); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_AutoPlayOptions* value) { +inline void WriteToString(std::string* result, const Opt_PopupStateChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28299,29 +30167,25 @@ inline void WriteToString(std::string* result, const Opt_AutoPlayOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AutoPlayOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_PopupStateChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BackgroundBrightnessOptions& value) +inline Ark_RuntimeType runtimeType(const Profiler_Callback_String_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BackgroundBrightnessOptions* value) { +inline void WriteToString(std::string* result, const Profiler_Callback_String_Void* value) { result->append("{"); - // Ark_Number rate - result->append(".rate="); - WriteToString(result, &value->rate); - // Ark_Number lightUpDegree - result->append(", "); - result->append(".lightUpDegree="); - WriteToString(result, &value->lightUpDegree); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BackgroundBrightnessOptions* value) { +inline void WriteToString(std::string* result, const Opt_Profiler_Callback_String_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28334,29 +30198,25 @@ inline void WriteToString(std::string* result, const Opt_BackgroundBrightnessOpt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BackgroundBrightnessOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Profiler_Callback_String_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BackgroundImageOptions& value) +inline Ark_RuntimeType runtimeType(const ProgressModifierBuilder& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BackgroundImageOptions* value) { +inline void WriteToString(std::string* result, const ProgressModifierBuilder* value) { result->append("{"); - // Ark_Boolean syncLoad - result->append(".syncLoad="); - WriteToString(result, &value->syncLoad); - // Ark_ImageRepeat repeat - result->append(", "); - result->append(".repeat="); - WriteToString(result, &value->repeat); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BackgroundImageOptions* value) { +inline void WriteToString(std::string* result, const Opt_ProgressModifierBuilder* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28369,25 +30229,25 @@ inline void WriteToString(std::string* result, const Opt_BackgroundImageOptions* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BackgroundImageOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_ProgressModifierBuilder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BackgroundOptions& value) +inline Ark_RuntimeType runtimeType(const RadioModifierBuilder& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BackgroundOptions* value) { +inline void WriteToString(std::string* result, const RadioModifierBuilder* value) { result->append("{"); - // Ark_Alignment align - result->append(".align="); - WriteToString(result, &value->align); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BackgroundOptions* value) { +inline void WriteToString(std::string* result, const Opt_RadioModifierBuilder* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28400,33 +30260,25 @@ inline void WriteToString(std::string* result, const Opt_BackgroundOptions* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BackgroundOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_RadioModifierBuilder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BarrierStyle& value) +inline Ark_RuntimeType runtimeType(const RatingModifierBuilder& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BarrierStyle* value) { +inline void WriteToString(std::string* result, const RatingModifierBuilder* value) { result->append("{"); - // Ark_String id - result->append(".id="); - WriteToString(result, &value->id); - // Ark_BarrierDirection direction - result->append(", "); - result->append(".direction="); - WriteToString(result, value->direction); - // Array_String referencedId - result->append(", "); - result->append(".referencedId="); - WriteToString(result, &value->referencedId); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BarrierStyle* value) { +inline void WriteToString(std::string* result, const Opt_RatingModifierBuilder* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28439,26 +30291,30 @@ inline void WriteToString(std::string* result, const Opt_BarrierStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BarrierStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_RatingModifierBuilder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BaselineOffsetStyle& value) +inline Ark_RuntimeType runtimeType(const RestrictedWorker_onerror_Callback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BaselineOffsetStyle value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const RestrictedWorker_onerror_Callback* 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_BaselineOffsetStyle* value) { +inline void WriteToString(std::string* result, const Opt_RestrictedWorker_onerror_Callback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -28466,29 +30322,25 @@ inline void WriteToString(std::string* result, const Opt_BaselineOffsetStyle* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BaselineOffsetStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_RestrictedWorker_onerror_Callback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Bias& value) +inline Ark_RuntimeType runtimeType(const RestrictedWorker_onexit_Callback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Bias* value) { +inline void WriteToString(std::string* result, const RestrictedWorker_onexit_Callback* 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_Bias* value) { +inline void WriteToString(std::string* result, const Opt_RestrictedWorker_onexit_Callback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28501,29 +30353,25 @@ inline void WriteToString(std::string* result, const Opt_Bias* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Bias& value) +inline Ark_RuntimeType runtimeType(const Opt_RestrictedWorker_onexit_Callback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Bindable_Array_Arkui_Component_Units_ResourceStr& value) +inline Ark_RuntimeType runtimeType(const RestrictedWorker_onmessage_Callback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Bindable_Array_Arkui_Component_Units_ResourceStr* value) { +inline void WriteToString(std::string* result, const RestrictedWorker_onmessage_Callback* value) { result->append("{"); - // Array_ResourceStr value - result->append(".value="); - WriteToString(result, &value->value); - // Callback_T_Void_Array_Arkui_Component_Units_ResourceStr onChange - result->append(", "); - result->append(".onChange="); - WriteToString(result, &value->onChange); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Bindable_Array_Arkui_Component_Units_ResourceStr* value) { +inline void WriteToString(std::string* result, const Opt_RestrictedWorker_onmessage_Callback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28536,29 +30384,25 @@ inline void WriteToString(std::string* result, const Opt_Bindable_Array_Arkui_Co result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Bindable_Array_Arkui_Component_Units_ResourceStr& value) +inline Ark_RuntimeType runtimeType(const Opt_RestrictedWorker_onmessage_Callback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Bindable_Array_Number& value) +inline Ark_RuntimeType runtimeType(const ReuseIdCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Bindable_Array_Number* value) { +inline void WriteToString(std::string* result, const ReuseIdCallback* value) { result->append("{"); - // Array_Number value - result->append(".value="); - WriteToString(result, &value->value); - // Callback_T_Void_Array_Number onChange - result->append(", "); - result->append(".onChange="); - WriteToString(result, &value->onChange); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Bindable_Array_Number* value) { +inline void WriteToString(std::string* result, const Opt_ReuseIdCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28571,29 +30415,25 @@ inline void WriteToString(std::string* result, const Opt_Bindable_Array_Number* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Bindable_Array_Number& value) +inline Ark_RuntimeType runtimeType(const Opt_ReuseIdCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Bindable_Boolean& value) +inline Ark_RuntimeType runtimeType(const ScrollOnScrollCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Bindable_Boolean* value) { +inline void WriteToString(std::string* result, const ScrollOnScrollCallback* value) { result->append("{"); - // Ark_Boolean value - result->append(".value="); - WriteToString(result, value->value); - // Callback_T_Void_Boolean onChange - result->append(", "); - result->append(".onChange="); - WriteToString(result, &value->onChange); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Bindable_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_ScrollOnScrollCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28606,29 +30446,25 @@ inline void WriteToString(std::string* result, const Opt_Bindable_Boolean* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Bindable_Boolean& 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_Bindable_Date& value) +inline Ark_RuntimeType runtimeType(const ScrollOnWillScrollCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Bindable_Date* value) { +inline void WriteToString(std::string* result, const ScrollOnWillScrollCallback* value) { result->append("{"); - // Ark_Date value - result->append(".value="); - WriteToString(result, value->value); - // Callback_T_Void_Date onChange - result->append(", "); - result->append(".onChange="); - WriteToString(result, &value->onChange); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Bindable_Date* value) { +inline void WriteToString(std::string* result, const Opt_ScrollOnWillScrollCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28641,29 +30477,25 @@ inline void WriteToString(std::string* result, const Opt_Bindable_Date* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Bindable_Date& value) +inline Ark_RuntimeType runtimeType(const Opt_ScrollOnWillScrollCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Bindable_Number& value) +inline Ark_RuntimeType runtimeType(const SearchSubmitCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Bindable_Number* value) { +inline void WriteToString(std::string* result, const SearchSubmitCallback* value) { result->append("{"); - // Ark_Number value - result->append(".value="); - WriteToString(result, &value->value); - // Callback_T_Void_Number onChange - result->append(", "); - result->append(".onChange="); - WriteToString(result, &value->onChange); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Bindable_Number* value) { +inline void WriteToString(std::string* result, const Opt_SearchSubmitCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28676,29 +30508,25 @@ inline void WriteToString(std::string* result, const Opt_Bindable_Number* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Bindable_Number& value) +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_Bindable_String& value) +inline Ark_RuntimeType runtimeType(const SearchValueCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Bindable_String* value) { +inline void WriteToString(std::string* result, const SearchValueCallback* value) { result->append("{"); - // Ark_String value - result->append(".value="); - WriteToString(result, &value->value); - // Callback_T_Void_String onChange - result->append(", "); - result->append(".onChange="); - WriteToString(result, &value->onChange); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Bindable_String* value) { +inline void WriteToString(std::string* result, const Opt_SearchValueCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28711,25 +30539,25 @@ inline void WriteToString(std::string* result, const Opt_Bindable_String* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Bindable_String& value) +inline Ark_RuntimeType runtimeType(const Opt_SearchValueCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BlurOptions& value) +inline Ark_RuntimeType runtimeType(const ShouldBuiltInRecognizerParallelWithCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BlurOptions* value) { +inline void WriteToString(std::string* result, const ShouldBuiltInRecognizerParallelWithCallback* value) { result->append("{"); - // Ark_Tuple_Number_Number grayscale - result->append(".grayscale="); - WriteToString(result, &value->grayscale); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BlurOptions* value) { +inline void WriteToString(std::string* result, const Opt_ShouldBuiltInRecognizerParallelWithCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28742,37 +30570,25 @@ inline void WriteToString(std::string* result, const Opt_BlurOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BlurOptions& value) +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_BorderRadiuses_graphics& value) +inline Ark_RuntimeType runtimeType(const SizeChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BorderRadiuses_graphics* value) { +inline void WriteToString(std::string* result, const SizeChangeCallback* value) { result->append("{"); - // Ark_Number topLeft - result->append(".topLeft="); - WriteToString(result, &value->topLeft); - // Ark_Number topRight - result->append(", "); - result->append(".topRight="); - WriteToString(result, &value->topRight); - // Ark_Number bottomLeft - result->append(", "); - result->append(".bottomLeft="); - WriteToString(result, &value->bottomLeft); - // Ark_Number bottomRight - result->append(", "); - result->append(".bottomRight="); - WriteToString(result, &value->bottomRight); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BorderRadiuses_graphics* value) { +inline void WriteToString(std::string* result, const Opt_SizeChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28785,26 +30601,30 @@ inline void WriteToString(std::string* result, const Opt_BorderRadiuses_graphics result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BorderRadiuses_graphics& value) +inline Ark_RuntimeType runtimeType(const Opt_SizeChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BounceSymbolEffect& value) +inline Ark_RuntimeType runtimeType(const SliderModifierBuilder& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BounceSymbolEffect value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const SliderModifierBuilder* 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_BounceSymbolEffect* value) { +inline void WriteToString(std::string* result, const Opt_SliderModifierBuilder* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -28812,29 +30632,25 @@ inline void WriteToString(std::string* result, const Opt_BounceSymbolEffect* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BounceSymbolEffect& value) +inline Ark_RuntimeType runtimeType(const Opt_SliderModifierBuilder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BreakPoints& value) +inline Ark_RuntimeType runtimeType(const SliderTriggerChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BreakPoints* value) { +inline void WriteToString(std::string* result, const SliderTriggerChangeCallback* value) { result->append("{"); - // Array_String value - result->append(".value="); - WriteToString(result, &value->value); - // Ark_BreakpointsReference reference - result->append(", "); - result->append(".reference="); - WriteToString(result, &value->reference); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BreakPoints* value) { +inline void WriteToString(std::string* result, const Opt_SliderTriggerChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28847,33 +30663,25 @@ inline void WriteToString(std::string* result, const Opt_BreakPoints* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BreakPoints& value) +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_BuilderNodeOptions& value) +inline Ark_RuntimeType runtimeType(const StyledStringMarshallCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BuilderNodeOptions* value) { +inline void WriteToString(std::string* result, const StyledStringMarshallCallback* value) { result->append("{"); - // Ark_Size selfIdealSize - result->append(".selfIdealSize="); - WriteToString(result, &value->selfIdealSize); - // Ark_Number type - result->append(", "); - result->append(".type="); - WriteToString(result, &value->type); - // Ark_String surfaceId - result->append(", "); - result->append(".surfaceId="); - WriteToString(result, &value->surfaceId); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BuilderNodeOptions* value) { +inline void WriteToString(std::string* result, const Opt_StyledStringMarshallCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28886,37 +30694,25 @@ inline void WriteToString(std::string* result, const Opt_BuilderNodeOptions* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BuilderNodeOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_StyledStringMarshallCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BusinessError& value) +inline Ark_RuntimeType runtimeType(const StyledStringUnmarshallCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BusinessError* value) { +inline void WriteToString(std::string* result, const StyledStringUnmarshallCallback* 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(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BusinessError* value) { +inline void WriteToString(std::string* result, const Opt_StyledStringUnmarshallCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28929,41 +30725,25 @@ inline void WriteToString(std::string* result, const Opt_BusinessError* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BusinessError& value) +inline Ark_RuntimeType runtimeType(const Opt_StyledStringUnmarshallCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ButtonConfiguration& value) +inline Ark_RuntimeType runtimeType(const SubmitCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ButtonConfiguration* value) { +inline void WriteToString(std::string* result, const SubmitCallback* value) { result->append("{"); - // Ark_Boolean enabled - result->append(".enabled="); - WriteToString(result, value->enabled); - // Ark_ContentModifier contentModifier - result->append(", "); - result->append(".contentModifier="); - WriteToString(result, &value->contentModifier); - // Ark_String label - result->append(", "); - result->append(".label="); - WriteToString(result, &value->label); - // Ark_Boolean pressed - result->append(", "); - result->append(".pressed="); - WriteToString(result, value->pressed); - // ButtonTriggerClickCallback triggerClick - result->append(", "); - result->append(".triggerClick="); - WriteToString(result, &value->triggerClick); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ButtonConfiguration* value) { +inline void WriteToString(std::string* result, const Opt_SubmitCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -28976,41 +30756,25 @@ inline void WriteToString(std::string* result, const Opt_ButtonConfiguration* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ButtonConfiguration& 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_ButtonOptions& value) +inline Ark_RuntimeType runtimeType(const TabsCustomContentTransitionCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ButtonOptions* value) { +inline void WriteToString(std::string* result, const TabsCustomContentTransitionCallback* value) { result->append("{"); - // Ark_ButtonType type - result->append(".type="); - WriteToString(result, &value->type); - // Ark_Boolean stateEffect - result->append(", "); - result->append(".stateEffect="); - WriteToString(result, &value->stateEffect); - // Ark_ButtonStyleMode buttonStyle - result->append(", "); - result->append(".buttonStyle="); - WriteToString(result, &value->buttonStyle); - // Ark_ControlSize controlSize - result->append(", "); - result->append(".controlSize="); - WriteToString(result, &value->controlSize); - // Ark_ButtonRole role - result->append(", "); - result->append(".role="); - WriteToString(result, &value->role); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ButtonOptions* value) { +inline void WriteToString(std::string* result, const Opt_TabsCustomContentTransitionCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29023,29 +30787,25 @@ inline void WriteToString(std::string* result, const Opt_ButtonOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ButtonOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_TabsCustomContentTransitionCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CancelButtonSymbolOptions& value) +inline Ark_RuntimeType runtimeType(const text_Callback_Number_Number_Boolean_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CancelButtonSymbolOptions* value) { +inline void WriteToString(std::string* result, const text_Callback_Number_Number_Boolean_Boolean* value) { result->append("{"); - // Ark_CancelButtonStyle style - result->append(".style="); - WriteToString(result, &value->style); - // Ark_SymbolGlyphModifier icon - result->append(", "); - result->append(".icon="); - WriteToString(result, &value->icon); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CancelButtonSymbolOptions* value) { +inline void WriteToString(std::string* result, const Opt_text_Callback_Number_Number_Boolean_Boolean* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29058,33 +30818,25 @@ inline void WriteToString(std::string* result, const Opt_CancelButtonSymbolOptio result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CancelButtonSymbolOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_text_Callback_Number_Number_Boolean_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CaretOffset& value) +inline Ark_RuntimeType runtimeType(const TextAreaSubmitCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CaretOffset* value) { +inline void WriteToString(std::string* result, const TextAreaSubmitCallback* value) { result->append("{"); - // Ark_Number index - result->append(".index="); - WriteToString(result, &value->index); - // Ark_Number x - result->append(", "); - result->append(".x="); - WriteToString(result, &value->x); - // Ark_Number y - result->append(", "); - result->append(".y="); - WriteToString(result, &value->y); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CaretOffset* value) { +inline void WriteToString(std::string* result, const Opt_TextAreaSubmitCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29097,29 +30849,25 @@ inline void WriteToString(std::string* result, const Opt_CaretOffset* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CaretOffset& value) +inline Ark_RuntimeType runtimeType(const Opt_TextAreaSubmitCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ChainWeightOptions& value) +inline Ark_RuntimeType runtimeType(const TextClockModifierBuilder& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ChainWeightOptions* value) { +inline void WriteToString(std::string* result, const TextClockModifierBuilder* 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_TextClockModifierBuilder* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29132,41 +30880,25 @@ 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_TextClockModifierBuilder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CheckBoxConfiguration& value) +inline Ark_RuntimeType runtimeType(const TextFieldValueCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CheckBoxConfiguration* value) { +inline void WriteToString(std::string* result, const TextFieldValueCallback* value) { result->append("{"); - // Ark_Boolean enabled - result->append(".enabled="); - WriteToString(result, value->enabled); - // Ark_ContentModifier contentModifier - result->append(", "); - result->append(".contentModifier="); - WriteToString(result, &value->contentModifier); - // Ark_String name - result->append(", "); - result->append(".name="); - WriteToString(result, &value->name); - // Ark_Boolean selected - result->append(", "); - result->append(".selected="); - WriteToString(result, value->selected); - // Callback_Boolean_Void triggerChange - result->append(", "); - result->append(".triggerChange="); - WriteToString(result, &value->triggerChange); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CheckBoxConfiguration* value) { +inline void WriteToString(std::string* result, const Opt_TextFieldValueCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29179,25 +30911,25 @@ inline void WriteToString(std::string* result, const Opt_CheckBoxConfiguration* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CheckBoxConfiguration& value) +inline Ark_RuntimeType runtimeType(const Opt_TextFieldValueCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CheckboxGroupOptions& value) +inline Ark_RuntimeType runtimeType(const TextPickerEnterSelectedAreaCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CheckboxGroupOptions* value) { +inline void WriteToString(std::string* result, const TextPickerEnterSelectedAreaCallback* value) { result->append("{"); - // Ark_String group - result->append(".group="); - WriteToString(result, &value->group); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CheckboxGroupOptions* value) { +inline void WriteToString(std::string* result, const Opt_TextPickerEnterSelectedAreaCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29210,29 +30942,25 @@ inline void WriteToString(std::string* result, const Opt_CheckboxGroupOptions* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CheckboxGroupOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_TextPickerEnterSelectedAreaCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CheckboxGroupResult& value) +inline Ark_RuntimeType runtimeType(const TextPickerScrollStopCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CheckboxGroupResult* value) { +inline void WriteToString(std::string* result, const TextPickerScrollStopCallback* value) { result->append("{"); - // Array_String name - result->append(".name="); - WriteToString(result, &value->name); - // Ark_SelectStatus status - result->append(", "); - result->append(".status="); - WriteToString(result, value->status); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CheckboxGroupResult* value) { +inline void WriteToString(std::string* result, const Opt_TextPickerScrollStopCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29245,33 +30973,25 @@ inline void WriteToString(std::string* result, const Opt_CheckboxGroupResult* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CheckboxGroupResult& value) +inline Ark_RuntimeType runtimeType(const Opt_TextPickerScrollStopCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CheckboxOptions& value) +inline Ark_RuntimeType runtimeType(const TextTimerModifierBuilder& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CheckboxOptions* value) { +inline void WriteToString(std::string* result, const TextTimerModifierBuilder* value) { result->append("{"); - // Ark_String name - result->append(".name="); - WriteToString(result, &value->name); - // Ark_String group - result->append(", "); - result->append(".group="); - WriteToString(result, &value->group); - // CustomNodeBuilder indicatorBuilder - result->append(", "); - result->append(".indicatorBuilder="); - WriteToString(result, &value->indicatorBuilder); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CheckboxOptions* value) { +inline void WriteToString(std::string* result, const Opt_TextTimerModifierBuilder* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29284,26 +31004,30 @@ inline void WriteToString(std::string* result, const Opt_CheckboxOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CheckboxOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_TextTimerModifierBuilder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ChildrenMainSize& value) +inline Ark_RuntimeType runtimeType(const ToggleModifierBuilder& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ChildrenMainSize value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const ToggleModifierBuilder* 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_ChildrenMainSize* value) { +inline void WriteToString(std::string* result, const Opt_ToggleModifierBuilder* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -29311,33 +31035,25 @@ inline void WriteToString(std::string* result, const Opt_ChildrenMainSize* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ChildrenMainSize& value) +inline Ark_RuntimeType runtimeType(const Opt_ToggleModifierBuilder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Circle& value) +inline Ark_RuntimeType runtimeType(const TransitionFinishCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Circle* value) { +inline void WriteToString(std::string* result, const TransitionFinishCallback* value) { result->append("{"); - // Ark_Number centerX - result->append(".centerX="); - WriteToString(result, &value->centerX); - // Ark_Number centerY - result->append(", "); - result->append(".centerY="); - WriteToString(result, &value->centerY); - // Ark_Number radius - result->append(", "); - result->append(".radius="); - WriteToString(result, &value->radius); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Circle* value) { +inline void WriteToString(std::string* result, const Opt_TransitionFinishCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29350,29 +31066,25 @@ inline void WriteToString(std::string* result, const Opt_Circle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Circle& value) +inline Ark_RuntimeType runtimeType(const Opt_TransitionFinishCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ClickEffect& value) +inline Ark_RuntimeType runtimeType(const Type_CommonMethod_onDragStart& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ClickEffect* value) { +inline void WriteToString(std::string* result, const Type_CommonMethod_onDragStart* value) { result->append("{"); - // Ark_ClickEffectLevel level - result->append(".level="); - WriteToString(result, value->level); - // Ark_Number scale - result->append(", "); - result->append(".scale="); - WriteToString(result, &value->scale); - result->append("}"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ClickEffect* value) { +inline void WriteToString(std::string* result, const Opt_Type_CommonMethod_onDragStart* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29385,25 +31097,25 @@ inline void WriteToString(std::string* result, const Opt_ClickEffect* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ClickEffect& value) +inline Ark_RuntimeType runtimeType(const Opt_Type_CommonMethod_onDragStart& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CloseSwipeActionOptions& value) +inline Ark_RuntimeType runtimeType(const Type_NavigationAttribute_customNavContentTransition& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CloseSwipeActionOptions* value) { +inline void WriteToString(std::string* result, const Type_NavigationAttribute_customNavContentTransition* value) { result->append("{"); - // Callback_Void onFinish - result->append(".onFinish="); - WriteToString(result, &value->onFinish); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CloseSwipeActionOptions* value) { +inline void WriteToString(std::string* result, const Opt_Type_NavigationAttribute_customNavContentTransition* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29416,39 +31128,25 @@ inline void WriteToString(std::string* result, const Opt_CloseSwipeActionOptions result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CloseSwipeActionOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Type_NavigationAttribute_customNavContentTransition& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ColorFilterType& value) +inline Ark_RuntimeType runtimeType(const uiObserver_Callback_DensityInfo_Void& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_ColorFilterType: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ColorFilterType* value) { +inline void WriteToString(std::string* result, const uiObserver_Callback_DensityInfo_Void* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_ColorFilter - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, value->value0); - } - // Ark_drawing_ColorFilter - 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_ColorFilterType* value) { +inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_DensityInfo_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29461,25 +31159,25 @@ inline void WriteToString(std::string* result, const Opt_ColorFilterType* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ColorFilterType& value) +inline Ark_RuntimeType runtimeType(const Opt_uiObserver_Callback_DensityInfo_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ColumnOptionsV2& value) +inline Ark_RuntimeType runtimeType(const uiObserver_Callback_NavDestinationInfo_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ColumnOptionsV2* value) { +inline void WriteToString(std::string* result, const uiObserver_Callback_NavDestinationInfo_Void* value) { result->append("{"); - // Ark_Int32 _stub - result->append("._stub="); - WriteToString(result, value->_stub); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ColumnOptionsV2* value) { +inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_NavDestinationInfo_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29492,25 +31190,25 @@ inline void WriteToString(std::string* result, const Opt_ColumnOptionsV2* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ColumnOptionsV2& value) +inline Ark_RuntimeType runtimeType(const Opt_uiObserver_Callback_NavDestinationInfo_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CommandPath& value) +inline Ark_RuntimeType runtimeType(const uiObserver_Callback_NavDestinationSwitchInfo_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CommandPath* value) { +inline void WriteToString(std::string* result, const uiObserver_Callback_NavDestinationSwitchInfo_Void* value) { result->append("{"); - // Ark_String commands - result->append(".commands="); - WriteToString(result, &value->commands); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CommandPath* value) { +inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_NavDestinationSwitchInfo_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29523,26 +31221,30 @@ inline void WriteToString(std::string* result, const Opt_CommandPath* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CommandPath& value) +inline Ark_RuntimeType runtimeType(const Opt_uiObserver_Callback_NavDestinationSwitchInfo_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_common_Context& value) +inline Ark_RuntimeType runtimeType(const uiObserver_Callback_RouterPageInfo_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_common_Context value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const uiObserver_Callback_RouterPageInfo_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_common_Context* value) { +inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_RouterPageInfo_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -29550,37 +31252,25 @@ inline void WriteToString(std::string* result, const Opt_common_Context* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_common_Context& value) +inline Ark_RuntimeType runtimeType(const Opt_uiObserver_Callback_RouterPageInfo_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_common2D_Color& value) +inline Ark_RuntimeType runtimeType(const uiObserver_Callback_ScrollEventInfo_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_common2D_Color* value) { +inline void WriteToString(std::string* result, const uiObserver_Callback_ScrollEventInfo_Void* value) { result->append("{"); - // Ark_Number alpha - result->append(".alpha="); - WriteToString(result, &value->alpha); - // Ark_Number red - result->append(", "); - result->append(".red="); - WriteToString(result, &value->red); - // Ark_Number green - result->append(", "); - result->append(".green="); - WriteToString(result, &value->green); - // Ark_Number blue - result->append(", "); - result->append(".blue="); - WriteToString(result, &value->blue); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_common2D_Color* value) { +inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_ScrollEventInfo_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29593,29 +31283,25 @@ inline void WriteToString(std::string* result, const Opt_common2D_Color* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_common2D_Color& value) +inline Ark_RuntimeType runtimeType(const Opt_uiObserver_Callback_ScrollEventInfo_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_common2D_Point& value) +inline Ark_RuntimeType runtimeType(const uiObserver_Callback_TabContentInfo_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_common2D_Point* value) { +inline void WriteToString(std::string* result, const uiObserver_Callback_TabContentInfo_Void* value) { result->append("{"); - // Ark_Number x - result->append(".x="); - WriteToString(result, &value->x); - // Ark_Number y - result->append(", "); - result->append(".y="); - WriteToString(result, &value->y); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_common2D_Point* value) { +inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_TabContentInfo_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29628,33 +31314,25 @@ inline void WriteToString(std::string* result, const Opt_common2D_Point* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_common2D_Point& value) +inline Ark_RuntimeType runtimeType(const Opt_uiObserver_Callback_TabContentInfo_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_common2D_Point3d& value) +inline Ark_RuntimeType runtimeType(const uiObserver_Callback_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_common2D_Point3d* value) { +inline void WriteToString(std::string* result, const uiObserver_Callback_Void* value) { result->append("{"); - // Ark_Number x - result->append(".x="); - WriteToString(result, &value->x); - // Ark_Number y - result->append(", "); - result->append(".y="); - WriteToString(result, &value->y); - // Ark_Number z - result->append(", "); - result->append(".z="); - WriteToString(result, &value->z); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_common2D_Point3d* value) { +inline void WriteToString(std::string* result, const Opt_uiObserver_Callback_Void* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29667,37 +31345,25 @@ inline void WriteToString(std::string* result, const Opt_common2D_Point3d* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_common2D_Point3d& value) +inline Ark_RuntimeType runtimeType(const Opt_uiObserver_Callback_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_common2D_Rect& value) +inline Ark_RuntimeType runtimeType(const UpdateTransitionCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_common2D_Rect* value) { +inline void WriteToString(std::string* result, const UpdateTransitionCallback* value) { result->append("{"); - // Ark_Number left - result->append(".left="); - WriteToString(result, &value->left); - // Ark_Number top - result->append(", "); - result->append(".top="); - WriteToString(result, &value->top); - // Ark_Number right - result->append(", "); - result->append(".right="); - WriteToString(result, &value->right); - // Ark_Number bottom - result->append(", "); - result->append(".bottom="); - WriteToString(result, &value->bottom); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_common2D_Rect* value) { +inline void WriteToString(std::string* result, const Opt_UpdateTransitionCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29710,29 +31376,25 @@ inline void WriteToString(std::string* result, const Opt_common2D_Rect* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_common2D_Rect& value) +inline Ark_RuntimeType runtimeType(const Opt_UpdateTransitionCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ComputedBarAttribute& value) +inline Ark_RuntimeType runtimeType(const VisibleAreaChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ComputedBarAttribute* value) { +inline void WriteToString(std::string* result, const VisibleAreaChangeCallback* value) { result->append("{"); - // Ark_Number totalOffset - result->append(".totalOffset="); - WriteToString(result, &value->totalOffset); - // Ark_Number totalLength - result->append(", "); - result->append(".totalLength="); - WriteToString(result, &value->totalLength); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ComputedBarAttribute* value) { +inline void WriteToString(std::string* result, const Opt_VisibleAreaChangeCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29745,25 +31407,25 @@ inline void WriteToString(std::string* result, const Opt_ComputedBarAttribute* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ComputedBarAttribute& value) +inline Ark_RuntimeType runtimeType(const Opt_VisibleAreaChangeCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CrossLanguageOptions& value) +inline Ark_RuntimeType runtimeType(const VoidCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CrossLanguageOptions* value) { +inline void WriteToString(std::string* result, const VoidCallback* value) { result->append("{"); - // Ark_Boolean attributeSetting - result->append(".attributeSetting="); - WriteToString(result, &value->attributeSetting); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CrossLanguageOptions* value) { +inline void WriteToString(std::string* result, const Opt_VoidCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29776,41 +31438,25 @@ inline void WriteToString(std::string* result, const Opt_CrossLanguageOptions* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CrossLanguageOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_VoidCallback& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CrownEvent& value) +inline Ark_RuntimeType runtimeType(const WebKeyboardCallback& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CrownEvent* value) { +inline void WriteToString(std::string* result, const WebKeyboardCallback* value) { result->append("{"); - // Ark_Number timestamp - result->append(".timestamp="); - WriteToString(result, &value->timestamp); - // Ark_Number angularVelocity - result->append(", "); - result->append(".angularVelocity="); - WriteToString(result, &value->angularVelocity); - // Ark_Number degree - result->append(", "); - result->append(".degree="); - WriteToString(result, &value->degree); - // Ark_CrownAction action - result->append(", "); - result->append(".action="); - WriteToString(result, value->action); - // Callback_Void stopPropagation - result->append(", "); - result->append(".stopPropagation="); - WriteToString(result, &value->stopPropagation); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CrownEvent* value) { +inline void WriteToString(std::string* result, const Opt_WebKeyboardCallback* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29823,26 +31469,30 @@ inline void WriteToString(std::string* result, const Opt_CrownEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CrownEvent& 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_CustomSpan& value) +inline Ark_RuntimeType runtimeType(const WorkerEventListener& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CustomSpan value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const WorkerEventListener* 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_CustomSpan* value) { +inline void WriteToString(std::string* result, const Opt_WorkerEventListener* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -29850,37 +31500,25 @@ inline void WriteToString(std::string* result, const Opt_CustomSpan* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CustomSpan& value) +inline Ark_RuntimeType runtimeType(const Opt_WorkerEventListener& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CustomSpanDrawInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_AccessibilityOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CustomSpanDrawInfo* value) { +inline void WriteToString(std::string* result, const Ark_AccessibilityOptions* value) { result->append("{"); - // Ark_Number x - result->append(".x="); - WriteToString(result, &value->x); - // Ark_Number lineTop - result->append(", "); - result->append(".lineTop="); - WriteToString(result, &value->lineTop); - // Ark_Number lineBottom - result->append(", "); - result->append(".lineBottom="); - WriteToString(result, &value->lineBottom); - // Ark_Number baseline - result->append(", "); - result->append(".baseline="); - WriteToString(result, &value->baseline); + // Ark_Boolean accessibilityPreferred + result->append(".accessibilityPreferred="); + WriteToString(result, &value->accessibilityPreferred); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CustomSpanDrawInfo* value) { +inline void WriteToString(std::string* result, const Opt_AccessibilityOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29893,25 +31531,29 @@ inline void WriteToString(std::string* result, const Opt_CustomSpanDrawInfo* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CustomSpanDrawInfo& value) +inline Ark_RuntimeType runtimeType(const Opt_AccessibilityOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CustomSpanMeasureInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_AdsBlockedDetails& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CustomSpanMeasureInfo* value) { +inline void WriteToString(std::string* result, const Ark_AdsBlockedDetails* value) { result->append("{"); - // Ark_Number fontSize - result->append(".fontSize="); - WriteToString(result, &value->fontSize); + // 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_CustomSpanMeasureInfo* value) { +inline void WriteToString(std::string* result, const Opt_AdsBlockedDetails* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29924,29 +31566,25 @@ inline void WriteToString(std::string* result, const Opt_CustomSpanMeasureInfo* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CustomSpanMeasureInfo& 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_CustomSpanMetrics& value) +inline Ark_RuntimeType runtimeType(const Ark_AlignRuleOption& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CustomSpanMetrics* value) { +inline void WriteToString(std::string* result, const Ark_AlignRuleOption* 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_Int32 _stub + result->append("._stub="); + WriteToString(result, value->_stub); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CustomSpanMetrics* value) { +inline void WriteToString(std::string* result, const Opt_AlignRuleOption* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -29959,37 +31597,29 @@ inline void WriteToString(std::string* result, const Opt_CustomSpanMetrics* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CustomSpanMetrics& value) +inline Ark_RuntimeType runtimeType(const Opt_AlignRuleOption& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DataPanelConfiguration& value) +inline Ark_RuntimeType runtimeType(const Ark_AnimationNumberRange& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DataPanelConfiguration* value) { +inline void WriteToString(std::string* result, const Ark_AnimationNumberRange* value) { result->append("{"); - // Ark_Boolean enabled - result->append(".enabled="); - WriteToString(result, value->enabled); - // Ark_ContentModifier contentModifier - result->append(", "); - result->append(".contentModifier="); - WriteToString(result, &value->contentModifier); - // Array_Number values - result->append(", "); - result->append(".values="); - WriteToString(result, &value->values); - // Ark_Number maxValue + // Ark_Number value0 + result->append(".value0="); + WriteToString(result, &value->value0); + // Ark_Number value1 result->append(", "); - result->append(".maxValue="); - WriteToString(result, &value->maxValue); + result->append(".value1="); + WriteToString(result, &value->value1); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DataPanelConfiguration* value) { +inline void WriteToString(std::string* result, const Opt_AnimationNumberRange* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -30002,38 +31632,26 @@ inline void WriteToString(std::string* result, const Opt_DataPanelConfiguration* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DataPanelConfiguration& value) +inline Ark_RuntimeType runtimeType(const Opt_AnimationNumberRange& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DataPanelOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_AppearSymbolEffect& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DataPanelOptions* value) { - result->append("{"); - // Array_Number values - result->append(".values="); - WriteToString(result, &value->values); - // Ark_Number max - result->append(", "); - result->append(".max="); - WriteToString(result, &value->max); - // Ark_DataPanelType type - result->append(", "); - result->append(".type="); - WriteToString(result, &value->type); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_AppearSymbolEffect value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_DataPanelOptions* value) { +inline void WriteToString(std::string* result, const Opt_AppearSymbolEffect* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -30041,29 +31659,29 @@ inline void WriteToString(std::string* result, const Opt_DataPanelOptions* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DataPanelOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_AppearSymbolEffect& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DateRange& value) +inline Ark_RuntimeType runtimeType(const Ark_ASTCResource& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DateRange* value) { +inline void WriteToString(std::string* result, const Ark_ASTCResource* value) { result->append("{"); - // Ark_Date start - result->append(".start="); - WriteToString(result, &value->start); - // Ark_Date end + // Array_String sources + result->append(".sources="); + WriteToString(result, &value->sources); + // Ark_Number column result->append(", "); - result->append(".end="); - WriteToString(result, &value->end); + result->append(".column="); + WriteToString(result, &value->column); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DateRange* value) { +inline void WriteToString(std::string* result, const Opt_ASTCResource* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -30076,33 +31694,29 @@ inline void WriteToString(std::string* result, const Opt_DateRange* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DateRange& value) +inline Ark_RuntimeType runtimeType(const Opt_ASTCResource& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DeleteValue& value) +inline Ark_RuntimeType runtimeType(const Ark_AsymmetricTransitionOption& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DeleteValue* value) { +inline void WriteToString(std::string* result, const Ark_AsymmetricTransitionOption* 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 + // Ark_TransitionEffect appear + result->append(".appear="); + WriteToString(result, value->appear); + // Ark_TransitionEffect disappear result->append(", "); - result->append(".deleteValue="); - WriteToString(result, &value->deleteValue); + result->append(".disappear="); + WriteToString(result, value->disappear); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DeleteValue* value) { +inline void WriteToString(std::string* result, const Opt_AsymmetricTransitionOption* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -30115,37 +31729,25 @@ inline void WriteToString(std::string* result, const Opt_DeleteValue* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DeleteValue& value) +inline Ark_RuntimeType runtimeType(const Opt_AsymmetricTransitionOption& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DirectionalEdgesT& value) +inline Ark_RuntimeType runtimeType(const Ark_AutoPlayOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DirectionalEdgesT* value) { +inline void WriteToString(std::string* result, const Ark_AutoPlayOptions* value) { result->append("{"); - // Ark_Number start - result->append(".start="); - WriteToString(result, &value->start); - // Ark_Number end - result->append(", "); - result->append(".end="); - WriteToString(result, &value->end); - // Ark_Number top - result->append(", "); - result->append(".top="); - WriteToString(result, &value->top); - // Ark_Number bottom - result->append(", "); - result->append(".bottom="); - WriteToString(result, &value->bottom); + // Ark_Boolean stopWhenTouched + result->append(".stopWhenTouched="); + WriteToString(result, value->stopWhenTouched); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DirectionalEdgesT* value) { +inline void WriteToString(std::string* result, const Opt_AutoPlayOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -30158,26 +31760,34 @@ inline void WriteToString(std::string* result, const Opt_DirectionalEdgesT* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DirectionalEdgesT& value) +inline Ark_RuntimeType runtimeType(const Opt_AutoPlayOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DisappearSymbolEffect& value) +inline Ark_RuntimeType runtimeType(const Ark_BackgroundBrightnessOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DisappearSymbolEffect value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_BackgroundBrightnessOptions* value) { + result->append("{"); + // Ark_Number rate + result->append(".rate="); + WriteToString(result, &value->rate); + // Ark_Number lightUpDegree + result->append(", "); + result->append(".lightUpDegree="); + WriteToString(result, &value->lightUpDegree); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DisappearSymbolEffect* value) { +inline void WriteToString(std::string* result, const Opt_BackgroundBrightnessOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -30185,29 +31795,29 @@ inline void WriteToString(std::string* result, const Opt_DisappearSymbolEffect* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DisappearSymbolEffect& value) +inline Ark_RuntimeType runtimeType(const Opt_BackgroundBrightnessOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DismissContentCoverAction& value) +inline Ark_RuntimeType runtimeType(const Ark_BackgroundImageOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DismissContentCoverAction* value) { +inline void WriteToString(std::string* result, const Ark_BackgroundImageOptions* value) { result->append("{"); - // VoidCallback dismiss - result->append(".dismiss="); - WriteToString(result, &value->dismiss); - // Ark_DismissReason reason + // Ark_Boolean syncLoad + result->append(".syncLoad="); + WriteToString(result, &value->syncLoad); + // Ark_ImageRepeat repeat result->append(", "); - result->append(".reason="); - WriteToString(result, value->reason); + result->append(".repeat="); + WriteToString(result, &value->repeat); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DismissContentCoverAction* value) { +inline void WriteToString(std::string* result, const Opt_BackgroundImageOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -30220,26 +31830,30 @@ inline void WriteToString(std::string* result, const Opt_DismissContentCoverActi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DismissContentCoverAction& value) +inline Ark_RuntimeType runtimeType(const Opt_BackgroundImageOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DismissDialogAction& value) +inline Ark_RuntimeType runtimeType(const Ark_BackgroundOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DismissDialogAction value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_BackgroundOptions* value) { + result->append("{"); + // Ark_Alignment align + result->append(".align="); + WriteToString(result, &value->align); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DismissDialogAction* value) { +inline void WriteToString(std::string* result, const Opt_BackgroundOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -30247,26 +31861,38 @@ 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_BackgroundOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DismissPopupAction& value) +inline Ark_RuntimeType runtimeType(const Ark_BarrierStyle& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DismissPopupAction value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_BarrierStyle* value) { + result->append("{"); + // Ark_String id + result->append(".id="); + WriteToString(result, &value->id); + // Ark_BarrierDirection direction + result->append(", "); + result->append(".direction="); + WriteToString(result, value->direction); + // Array_String referencedId + result->append(", "); + result->append(".referencedId="); + WriteToString(result, &value->referencedId); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DismissPopupAction* value) { +inline void WriteToString(std::string* result, const Opt_BarrierStyle* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -30274,34 +31900,26 @@ inline void WriteToString(std::string* result, const Opt_DismissPopupAction* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DismissPopupAction& value) +inline Ark_RuntimeType runtimeType(const Opt_BarrierStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DismissSheetAction& value) +inline Ark_RuntimeType runtimeType(const Ark_BaselineOffsetStyle& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DismissSheetAction* value) { - result->append("{"); - // VoidCallback dismiss - result->append(".dismiss="); - WriteToString(result, &value->dismiss); - // Ark_DismissReason reason - result->append(", "); - result->append(".reason="); - WriteToString(result, value->reason); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_BaselineOffsetStyle value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_DismissSheetAction* value) { +inline void WriteToString(std::string* result, const Opt_BaselineOffsetStyle* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -30309,53 +31927,29 @@ inline void WriteToString(std::string* result, const Opt_DismissSheetAction* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DismissSheetAction& value) +inline Ark_RuntimeType runtimeType(const Opt_BaselineOffsetStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DoubleAnimationParam& value) +inline Ark_RuntimeType runtimeType(const Ark_Bias& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DoubleAnimationParam* value) { +inline void WriteToString(std::string* result, const Ark_Bias* value) { result->append("{"); - // Ark_String propertyName - result->append(".propertyName="); - WriteToString(result, &value->propertyName); - // Ark_Float32 startValue - result->append(", "); - result->append(".startValue="); - WriteToString(result, value->startValue); - // Ark_Float32 endValue - result->append(", "); - result->append(".endValue="); - WriteToString(result, value->endValue); - // Ark_Int32 duration - result->append(", "); - result->append(".duration="); - WriteToString(result, value->duration); - // Ark_Int32 delay - result->append(", "); - result->append(".delay="); - WriteToString(result, value->delay); - // Ark_Union_Curve_String_ICurve curve - result->append(", "); - result->append(".curve="); - WriteToString(result, &value->curve); - // Callback_Extender_OnProgress onProgress - result->append(", "); - result->append(".onProgress="); - WriteToString(result, &value->onProgress); - // Callback_Extender_OnFinish onFinish + // Ark_Number horizontal + result->append(".horizontal="); + WriteToString(result, &value->horizontal); + // Ark_Number vertical result->append(", "); - result->append(".onFinish="); - WriteToString(result, &value->onFinish); + result->append(".vertical="); + WriteToString(result, &value->vertical); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DoubleAnimationParam* value) { +inline void WriteToString(std::string* result, const Opt_Bias* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -30368,26 +31962,34 @@ inline void WriteToString(std::string* result, const Opt_DoubleAnimationParam* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DoubleAnimationParam& value) +inline Ark_RuntimeType runtimeType(const Opt_Bias& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DragEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Bindable_Array_Arkui_Component_Units_ResourceStr& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DragEvent value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_Bindable_Array_Arkui_Component_Units_ResourceStr* value) { + result->append("{"); + // Array_ResourceStr value + result->append(".value="); + WriteToString(result, &value->value); + // Callback_T_Void_Array_Arkui_Component_Units_ResourceStr onChange + result->append(", "); + result->append(".onChange="); + WriteToString(result, &value->onChange); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DragEvent* value) { +inline void WriteToString(std::string* result, const Opt_Bindable_Array_Arkui_Component_Units_ResourceStr* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -30395,41 +31997,29 @@ inline void WriteToString(std::string* result, const Opt_DragEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DragEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Bindable_Array_Arkui_Component_Units_ResourceStr& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DragInteractionOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Bindable_Array_Number& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DragInteractionOptions* value) { +inline void WriteToString(std::string* result, const Ark_Bindable_Array_Number* value) { result->append("{"); - // Ark_Boolean isMultiSelectionEnabled - result->append(".isMultiSelectionEnabled="); - WriteToString(result, &value->isMultiSelectionEnabled); - // Ark_Boolean defaultAnimationBeforeLifting - result->append(", "); - result->append(".defaultAnimationBeforeLifting="); - WriteToString(result, &value->defaultAnimationBeforeLifting); - // Ark_Boolean enableEdgeAutoScroll - result->append(", "); - result->append(".enableEdgeAutoScroll="); - WriteToString(result, &value->enableEdgeAutoScroll); - // Ark_Boolean enableHapticFeedback - result->append(", "); - result->append(".enableHapticFeedback="); - WriteToString(result, &value->enableHapticFeedback); - // Ark_Boolean isLiftingDisabled + // Array_Number value + result->append(".value="); + WriteToString(result, &value->value); + // Callback_T_Void_Array_Number onChange result->append(", "); - result->append(".isLiftingDisabled="); - WriteToString(result, &value->isLiftingDisabled); + result->append(".onChange="); + WriteToString(result, &value->onChange); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DragInteractionOptions* value) { +inline void WriteToString(std::string* result, const Opt_Bindable_Array_Number* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -30442,33 +32032,29 @@ inline void WriteToString(std::string* result, const Opt_DragInteractionOptions* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DragInteractionOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Bindable_Array_Number& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DragItemInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_Bindable_Boolean& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DragItemInfo* value) { +inline void WriteToString(std::string* result, const Ark_Bindable_Boolean* value) { result->append("{"); - // Ark_image_PixelMap pixelMap - result->append(".pixelMap="); - WriteToString(result, &value->pixelMap); - // CustomNodeBuilder builder - result->append(", "); - result->append(".builder="); - WriteToString(result, &value->builder); - // Ark_String extraInfo + // Ark_Boolean value + result->append(".value="); + WriteToString(result, value->value); + // Callback_T_Void_Boolean onChange result->append(", "); - result->append(".extraInfo="); - WriteToString(result, &value->extraInfo); + result->append(".onChange="); + WriteToString(result, &value->onChange); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DragItemInfo* value) { +inline void WriteToString(std::string* result, const Opt_Bindable_Boolean* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -30481,85 +32067,29 @@ inline void WriteToString(std::string* result, const Opt_DragItemInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DragItemInfo& value) +inline Ark_RuntimeType runtimeType(const Opt_Bindable_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_drawing_FontMetrics& value) +inline Ark_RuntimeType runtimeType(const Ark_Bindable_Date& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_drawing_FontMetrics* value) { +inline void WriteToString(std::string* result, const Ark_Bindable_Date* value) { result->append("{"); - // Ark_drawing_FontMetricsFlags flags - result->append(".flags="); - WriteToString(result, &value->flags); - // Ark_Number top - result->append(", "); - result->append(".top="); - WriteToString(result, &value->top); - // Ark_Number ascent - result->append(", "); - result->append(".ascent="); - WriteToString(result, &value->ascent); - // Ark_Number descent - result->append(", "); - result->append(".descent="); - WriteToString(result, &value->descent); - // Ark_Number bottom - result->append(", "); - result->append(".bottom="); - WriteToString(result, &value->bottom); - // Ark_Number leading - result->append(", "); - result->append(".leading="); - WriteToString(result, &value->leading); - // Ark_Number avgCharWidth - result->append(", "); - result->append(".avgCharWidth="); - WriteToString(result, &value->avgCharWidth); - // Ark_Number maxCharWidth - result->append(", "); - result->append(".maxCharWidth="); - WriteToString(result, &value->maxCharWidth); - // Ark_Number xMin - result->append(", "); - result->append(".xMin="); - WriteToString(result, &value->xMin); - // Ark_Number xMax - result->append(", "); - result->append(".xMax="); - WriteToString(result, &value->xMax); - // Ark_Number xHeight - result->append(", "); - result->append(".xHeight="); - WriteToString(result, &value->xHeight); - // Ark_Number capHeight - result->append(", "); - result->append(".capHeight="); - WriteToString(result, &value->capHeight); - // Ark_Number underlineThickness - result->append(", "); - result->append(".underlineThickness="); - WriteToString(result, &value->underlineThickness); - // Ark_Number underlinePosition - result->append(", "); - result->append(".underlinePosition="); - WriteToString(result, &value->underlinePosition); - // Ark_Number strikethroughThickness - result->append(", "); - result->append(".strikethroughThickness="); - WriteToString(result, &value->strikethroughThickness); - // Ark_Number strikethroughPosition + // Ark_Date value + result->append(".value="); + WriteToString(result, value->value); + // Callback_T_Void_Date onChange result->append(", "); - result->append(".strikethroughPosition="); - WriteToString(result, &value->strikethroughPosition); + result->append(".onChange="); + WriteToString(result, &value->onChange); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_drawing_FontMetrics* value) { +inline void WriteToString(std::string* result, const Opt_Bindable_Date* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -30572,33 +32102,29 @@ inline void WriteToString(std::string* result, const Opt_drawing_FontMetrics* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_drawing_FontMetrics& value) +inline Ark_RuntimeType runtimeType(const Opt_Bindable_Date& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_drawing_TextBlobRunBuffer& value) +inline Ark_RuntimeType runtimeType(const Ark_Bindable_Number& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_drawing_TextBlobRunBuffer* value) { +inline void WriteToString(std::string* result, const Ark_Bindable_Number* value) { result->append("{"); - // Ark_Number glyph - result->append(".glyph="); - WriteToString(result, &value->glyph); - // Ark_Number positionX - result->append(", "); - result->append(".positionX="); - WriteToString(result, &value->positionX); - // Ark_Number positionY + // Ark_Number value + result->append(".value="); + WriteToString(result, &value->value); + // Callback_T_Void_Number onChange result->append(", "); - result->append(".positionY="); - WriteToString(result, &value->positionY); + result->append(".onChange="); + WriteToString(result, &value->onChange); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_drawing_TextBlobRunBuffer* value) { +inline void WriteToString(std::string* result, const Opt_Bindable_Number* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -30611,26 +32137,34 @@ inline void WriteToString(std::string* result, const Opt_drawing_TextBlobRunBuff result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_drawing_TextBlobRunBuffer& value) +inline Ark_RuntimeType runtimeType(const Opt_Bindable_Number& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DrawingRenderingContext& value) +inline Ark_RuntimeType runtimeType(const Ark_Bindable_String& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DrawingRenderingContext value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_Bindable_String* value) { + result->append("{"); + // Ark_String value + result->append(".value="); + WriteToString(result, &value->value); + // Callback_T_Void_String onChange + result->append(", "); + result->append(".onChange="); + WriteToString(result, &value->onChange); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DrawingRenderingContext* value) { +inline void WriteToString(std::string* result, const Opt_Bindable_String* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -30638,26 +32172,30 @@ inline void WriteToString(std::string* result, const Opt_DrawingRenderingContext result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DrawingRenderingContext& value) +inline Ark_RuntimeType runtimeType(const Opt_Bindable_String& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DrawModifier& value) +inline Ark_RuntimeType runtimeType(const Ark_BlurOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DrawModifier value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_BlurOptions* value) { + result->append("{"); + // Ark_Tuple_Number_Number grayscale + result->append(".grayscale="); + WriteToString(result, &value->grayscale); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DrawModifier* value) { +inline void WriteToString(std::string* result, const Opt_BlurOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -30665,25 +32203,37 @@ inline void WriteToString(std::string* result, const Opt_DrawModifier* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DrawModifier& value) +inline Ark_RuntimeType runtimeType(const Opt_BlurOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DropOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_BorderRadiuses_graphics& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DropOptions* value) { +inline void WriteToString(std::string* result, const Ark_BorderRadiuses_graphics* value) { result->append("{"); - // Ark_Boolean disableDataPrefetch - result->append(".disableDataPrefetch="); - WriteToString(result, &value->disableDataPrefetch); + // Ark_Number topLeft + result->append(".topLeft="); + WriteToString(result, &value->topLeft); + // Ark_Number topRight + result->append(", "); + result->append(".topRight="); + WriteToString(result, &value->topRight); + // Ark_Number bottomLeft + result->append(", "); + result->append(".bottomLeft="); + WriteToString(result, &value->bottomLeft); + // Ark_Number bottomRight + result->append(", "); + result->append(".bottomRight="); + WriteToString(result, &value->bottomRight); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DropOptions* value) { +inline void WriteToString(std::string* result, const Opt_BorderRadiuses_graphics* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -30696,34 +32246,26 @@ inline void WriteToString(std::string* result, const Opt_DropOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DropOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_BorderRadiuses_graphics& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_EdgeEffectOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_BounceSymbolEffect& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_EdgeEffectOptions* value) { - result->append("{"); - // Ark_Boolean alwaysEnabled - result->append(".alwaysEnabled="); - WriteToString(result, value->alwaysEnabled); - // Ark_Number effectEdge - result->append(", "); - result->append(".effectEdge="); - WriteToString(result, &value->effectEdge); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_BounceSymbolEffect value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_EdgeEffectOptions* value) { +inline void WriteToString(std::string* result, const Opt_BounceSymbolEffect* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -30731,37 +32273,29 @@ inline void WriteToString(std::string* result, const Opt_EdgeEffectOptions* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EdgeEffectOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_BounceSymbolEffect& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_EdgeOutlineStyles& value) +inline Ark_RuntimeType runtimeType(const Ark_BreakPoints& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_EdgeOutlineStyles* value) { +inline void WriteToString(std::string* result, const Ark_BreakPoints* value) { result->append("{"); - // Ark_OutlineStyle top - result->append(".top="); - WriteToString(result, &value->top); - // Ark_OutlineStyle right - result->append(", "); - result->append(".right="); - WriteToString(result, &value->right); - // Ark_OutlineStyle bottom - result->append(", "); - result->append(".bottom="); - WriteToString(result, &value->bottom); - // Ark_OutlineStyle left + // Array_String value + result->append(".value="); + WriteToString(result, &value->value); + // Ark_BreakpointsReference reference result->append(", "); - result->append(".left="); - WriteToString(result, &value->left); + result->append(".reference="); + WriteToString(result, &value->reference); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_EdgeOutlineStyles* value) { +inline void WriteToString(std::string* result, const Opt_BreakPoints* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -30774,37 +32308,33 @@ inline void WriteToString(std::string* result, const Opt_EdgeOutlineStyles* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EdgeOutlineStyles& value) +inline Ark_RuntimeType runtimeType(const Opt_BreakPoints& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_EdgeStyles& value) +inline Ark_RuntimeType runtimeType(const Ark_BuilderNodeOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_EdgeStyles* value) { +inline void WriteToString(std::string* result, const Ark_BuilderNodeOptions* value) { result->append("{"); - // Ark_BorderStyle top - result->append(".top="); - WriteToString(result, &value->top); - // Ark_BorderStyle right - result->append(", "); - result->append(".right="); - WriteToString(result, &value->right); - // Ark_BorderStyle bottom + // Ark_Size selfIdealSize + result->append(".selfIdealSize="); + WriteToString(result, &value->selfIdealSize); + // Ark_Number type result->append(", "); - result->append(".bottom="); - WriteToString(result, &value->bottom); - // Ark_BorderStyle left + result->append(".type="); + WriteToString(result, &value->type); + // Ark_String surfaceId result->append(", "); - result->append(".left="); - WriteToString(result, &value->left); + result->append(".surfaceId="); + WriteToString(result, &value->surfaceId); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_EdgeStyles* value) { +inline void WriteToString(std::string* result, const Opt_BuilderNodeOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -30817,29 +32347,37 @@ inline void WriteToString(std::string* result, const Opt_EdgeStyles* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EdgeStyles& value) +inline Ark_RuntimeType runtimeType(const Opt_BuilderNodeOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_EditMenuOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_BusinessError& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_EditMenuOptions* value) { +inline void WriteToString(std::string* result, const Ark_BusinessError* value) { result->append("{"); - // OnCreateMenuCallback onCreateMenu - result->append(".onCreateMenu="); - WriteToString(result, &value->onCreateMenu); - // OnMenuItemClickCallback onMenuItemClick + // Ark_String name + result->append(".name="); + WriteToString(result, &value->name); + // Ark_String message result->append(", "); - result->append(".onMenuItemClick="); - WriteToString(result, &value->onMenuItemClick); + 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_EditMenuOptions* value) { +inline void WriteToString(std::string* result, const Opt_BusinessError* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -30852,49 +32390,41 @@ inline void WriteToString(std::string* result, const Opt_EditMenuOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EditMenuOptions& value) +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 Ark_ErrorEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_ButtonConfiguration& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ErrorEvent* value) { +inline void WriteToString(std::string* result, const Ark_ButtonConfiguration* value) { result->append("{"); - // Ark_String type - result->append(".type="); - WriteToString(result, &value->type); - // Ark_Int64 timeStamp - result->append(", "); - result->append(".timeStamp="); - WriteToString(result, value->timeStamp); - // Ark_String message - result->append(", "); - result->append(".message="); - WriteToString(result, &value->message); - // Ark_String filename + // Ark_Boolean enabled + result->append(".enabled="); + WriteToString(result, value->enabled); + // Ark_ContentModifier contentModifier result->append(", "); - result->append(".filename="); - WriteToString(result, &value->filename); - // Ark_Number lineno + result->append(".contentModifier="); + WriteToString(result, &value->contentModifier); + // Ark_String label result->append(", "); - result->append(".lineno="); - WriteToString(result, &value->lineno); - // Ark_Number colno + result->append(".label="); + WriteToString(result, &value->label); + // Ark_Boolean pressed result->append(", "); - result->append(".colno="); - WriteToString(result, &value->colno); - // Ark_Object error + result->append(".pressed="); + WriteToString(result, value->pressed); + // ButtonTriggerClickCallback triggerClick result->append(", "); - result->append(".error="); - WriteToString(result, value->error); + result->append(".triggerClick="); + WriteToString(result, &value->triggerClick); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ErrorEvent* value) { +inline void WriteToString(std::string* result, const Opt_ButtonConfiguration* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -30907,29 +32437,41 @@ inline void WriteToString(std::string* result, const Opt_ErrorEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ErrorEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_ButtonConfiguration& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ErrorInformation& value) +inline Ark_RuntimeType runtimeType(const Ark_ButtonOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ErrorInformation* value) { +inline void WriteToString(std::string* result, const Ark_ButtonOptions* value) { result->append("{"); - // Ark_Int32 errcode - result->append(".errcode="); - WriteToString(result, value->errcode); - // Ark_String msg + // Ark_ButtonType type + result->append(".type="); + WriteToString(result, &value->type); + // Ark_Boolean stateEffect result->append(", "); - result->append(".msg="); - WriteToString(result, &value->msg); + result->append(".stateEffect="); + WriteToString(result, &value->stateEffect); + // Ark_ButtonStyleMode buttonStyle + result->append(", "); + result->append(".buttonStyle="); + WriteToString(result, &value->buttonStyle); + // Ark_ControlSize controlSize + result->append(", "); + result->append(".controlSize="); + WriteToString(result, &value->controlSize); + // Ark_ButtonRole role + result->append(", "); + result->append(".role="); + WriteToString(result, &value->role); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ErrorInformation* value) { +inline void WriteToString(std::string* result, const Opt_ButtonOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -30942,29 +32484,29 @@ inline void WriteToString(std::string* result, const Opt_ErrorInformation* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ErrorInformation& value) +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 Ark_Event& value) +inline Ark_RuntimeType runtimeType(const Ark_CancelButtonSymbolOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Event* value) { +inline void WriteToString(std::string* result, const Ark_CancelButtonSymbolOptions* value) { result->append("{"); - // Ark_String type - result->append(".type="); - WriteToString(result, &value->type); - // Ark_Int64 timeStamp + // Ark_CancelButtonStyle style + result->append(".style="); + WriteToString(result, &value->style); + // Ark_SymbolGlyphModifier icon result->append(", "); - result->append(".timeStamp="); - WriteToString(result, value->timeStamp); + result->append(".icon="); + WriteToString(result, &value->icon); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Event* value) { +inline void WriteToString(std::string* result, const Opt_CancelButtonSymbolOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -30977,33 +32519,33 @@ inline void WriteToString(std::string* result, const Opt_Event* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Event& value) +inline Ark_RuntimeType runtimeType(const Opt_CancelButtonSymbolOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ExpectedFrameRateRange& value) +inline Ark_RuntimeType runtimeType(const Ark_CaretOffset& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ExpectedFrameRateRange* value) { +inline void WriteToString(std::string* result, const Ark_CaretOffset* value) { result->append("{"); - // Ark_Number min - result->append(".min="); - WriteToString(result, &value->min); - // Ark_Number max + // Ark_Number index + result->append(".index="); + WriteToString(result, &value->index); + // Ark_Number x result->append(", "); - result->append(".max="); - WriteToString(result, &value->max); - // Ark_Number expected + result->append(".x="); + WriteToString(result, &value->x); + // Ark_Number y result->append(", "); - result->append(".expected="); - WriteToString(result, &value->expected); + result->append(".y="); + WriteToString(result, &value->y); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ExpectedFrameRateRange* value) { +inline void WriteToString(std::string* result, const Opt_CaretOffset* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31016,53 +32558,29 @@ inline void WriteToString(std::string* result, const Opt_ExpectedFrameRateRange* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ExpectedFrameRateRange& value) +inline Ark_RuntimeType runtimeType(const Opt_CaretOffset& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FingerInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_ChainWeightOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_FingerInfo* value) { +inline void WriteToString(std::string* result, const Ark_ChainWeightOptions* 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); - // Ark_InteractionHand hand + // Ark_Number horizontal + result->append(".horizontal="); + WriteToString(result, &value->horizontal); + // Ark_Number vertical result->append(", "); - result->append(".hand="); - WriteToString(result, &value->hand); + result->append(".vertical="); + WriteToString(result, &value->vertical); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_FingerInfo* value) { +inline void WriteToString(std::string* result, const Opt_ChainWeightOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31075,45 +32593,41 @@ inline void WriteToString(std::string* result, const Opt_FingerInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FingerInfo& value) +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_FocusMovement& value) +inline Ark_RuntimeType runtimeType(const Ark_CheckBoxConfiguration& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_FocusMovement* value) { +inline void WriteToString(std::string* result, const Ark_CheckBoxConfiguration* value) { result->append("{"); - // Ark_String forward - result->append(".forward="); - WriteToString(result, &value->forward); - // Ark_String backward - result->append(", "); - result->append(".backward="); - WriteToString(result, &value->backward); - // Ark_String up + // Ark_Boolean enabled + result->append(".enabled="); + WriteToString(result, value->enabled); + // Ark_ContentModifier contentModifier result->append(", "); - result->append(".up="); - WriteToString(result, &value->up); - // Ark_String down + result->append(".contentModifier="); + WriteToString(result, &value->contentModifier); + // Ark_String name result->append(", "); - result->append(".down="); - WriteToString(result, &value->down); - // Ark_String left + result->append(".name="); + WriteToString(result, &value->name); + // Ark_Boolean selected result->append(", "); - result->append(".left="); - WriteToString(result, &value->left); - // Ark_String right + result->append(".selected="); + WriteToString(result, value->selected); + // Callback_Boolean_Void triggerChange result->append(", "); - result->append(".right="); - WriteToString(result, &value->right); + result->append(".triggerChange="); + WriteToString(result, &value->triggerChange); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_FocusMovement* value) { +inline void WriteToString(std::string* result, const Opt_CheckBoxConfiguration* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31126,25 +32640,25 @@ inline void WriteToString(std::string* result, const Opt_FocusMovement* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FocusMovement& value) +inline Ark_RuntimeType runtimeType(const Opt_CheckBoxConfiguration& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FolderStackOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_CheckboxGroupOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_FolderStackOptions* value) { +inline void WriteToString(std::string* result, const Ark_CheckboxGroupOptions* value) { result->append("{"); - // Array_String upperItems - result->append(".upperItems="); - WriteToString(result, &value->upperItems); + // Ark_String group + result->append(".group="); + WriteToString(result, &value->group); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_FolderStackOptions* value) { +inline void WriteToString(std::string* result, const Opt_CheckboxGroupOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31157,61 +32671,29 @@ inline void WriteToString(std::string* result, const Opt_FolderStackOptions* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FolderStackOptions& value) +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 Ark_FontInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_CheckboxGroupResult& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_FontInfo* value) { +inline void WriteToString(std::string* result, const Ark_CheckboxGroupResult* value) { result->append("{"); - // Ark_String path - result->append(".path="); - WriteToString(result, &value->path); - // Ark_String postScriptName - result->append(", "); - result->append(".postScriptName="); - WriteToString(result, &value->postScriptName); - // Ark_String fullName - result->append(", "); - result->append(".fullName="); - WriteToString(result, &value->fullName); - // Ark_String family - result->append(", "); - result->append(".family="); - WriteToString(result, &value->family); - // Ark_String subfamily - result->append(", "); - result->append(".subfamily="); - WriteToString(result, &value->subfamily); - // Ark_Number weight - result->append(", "); - result->append(".weight="); - WriteToString(result, &value->weight); - // Ark_Number width - result->append(", "); - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Boolean italic - result->append(", "); - result->append(".italic="); - WriteToString(result, value->italic); - // Ark_Boolean monoSpace - result->append(", "); - result->append(".monoSpace="); - WriteToString(result, value->monoSpace); - // Ark_Boolean symbolic + // Array_String name + result->append(".name="); + WriteToString(result, &value->name); + // Ark_SelectStatus status result->append(", "); - result->append(".symbolic="); - WriteToString(result, value->symbolic); + result->append(".status="); + WriteToString(result, value->status); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_FontInfo* value) { +inline void WriteToString(std::string* result, const Opt_CheckboxGroupResult* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31224,25 +32706,33 @@ inline void WriteToString(std::string* result, const Opt_FontInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FontInfo& value) +inline Ark_RuntimeType runtimeType(const Opt_CheckboxGroupResult& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FontSettingOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_CheckboxOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_FontSettingOptions* value) { +inline void WriteToString(std::string* result, const Ark_CheckboxOptions* value) { result->append("{"); - // Ark_Boolean enableVariableFontWeight - result->append(".enableVariableFontWeight="); - WriteToString(result, &value->enableVariableFontWeight); + // Ark_String name + result->append(".name="); + WriteToString(result, &value->name); + // Ark_String group + result->append(", "); + result->append(".group="); + WriteToString(result, &value->group); + // CustomNodeBuilder indicatorBuilder + result->append(", "); + result->append(".indicatorBuilder="); + WriteToString(result, &value->indicatorBuilder); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_FontSettingOptions* value) { +inline void WriteToString(std::string* result, const Opt_CheckboxOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31255,30 +32745,26 @@ inline void WriteToString(std::string* result, const Opt_FontSettingOptions* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FontSettingOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_CheckboxOptions& 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_ChildrenMainSize& 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("}"); +inline void WriteToString(std::string* result, const Ark_ChildrenMainSize value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_ForegroundEffectOptions* value) { +inline void WriteToString(std::string* result, const Opt_ChildrenMainSize* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -31286,29 +32772,33 @@ 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_ChildrenMainSize& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FormCallbackInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_Circle& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_FormCallbackInfo* value) { +inline void WriteToString(std::string* result, const Ark_Circle* value) { result->append("{"); - // Ark_Int64 id - result->append(".id="); - WriteToString(result, value->id); - // Ark_String idString + // Ark_Number centerX + result->append(".centerX="); + WriteToString(result, &value->centerX); + // Ark_Number centerY result->append(", "); - result->append(".idString="); - WriteToString(result, &value->idString); + result->append(".centerY="); + WriteToString(result, &value->centerY); + // Ark_Number radius + result->append(", "); + result->append(".radius="); + WriteToString(result, &value->radius); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_FormCallbackInfo* value) { +inline void WriteToString(std::string* result, const Opt_Circle* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31321,45 +32811,29 @@ inline void WriteToString(std::string* result, const Opt_FormCallbackInfo* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FormCallbackInfo& value) +inline Ark_RuntimeType runtimeType(const Opt_Circle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FormLinkOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_CircleOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_FormLinkOptions* value) { +inline void WriteToString(std::string* result, const Ark_CircleOptions* value) { result->append("{"); - // Ark_String action - result->append(".action="); - WriteToString(result, &value->action); - // Ark_String moduleName - result->append(", "); - result->append(".moduleName="); - WriteToString(result, &value->moduleName); - // Ark_String bundleName - result->append(", "); - result->append(".bundleName="); - WriteToString(result, &value->bundleName); - // Ark_String abilityName - result->append(", "); - result->append(".abilityName="); - WriteToString(result, &value->abilityName); - // Ark_String uri - result->append(", "); - result->append(".uri="); - WriteToString(result, &value->uri); - // Ark_Object params + // Ark_Union_String_F64 width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Union_String_F64 height result->append(", "); - result->append(".params="); - WriteToString(result, &value->params); + result->append(".height="); + WriteToString(result, &value->height); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_FormLinkOptions* value) { +inline void WriteToString(std::string* result, const Opt_CircleOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31372,29 +32846,29 @@ inline void WriteToString(std::string* result, const Opt_FormLinkOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FormLinkOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_CircleOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FractionStop& value) +inline Ark_RuntimeType runtimeType(const Ark_ClickEffect& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_FractionStop* value) { +inline void WriteToString(std::string* result, const Ark_ClickEffect* value) { result->append("{"); - // Ark_Number value0 - result->append(".value0="); - WriteToString(result, &value->value0); - // Ark_Number value1 + // Ark_ClickEffectLevel level + result->append(".level="); + WriteToString(result, value->level); + // Ark_Number scale result->append(", "); - result->append(".value1="); - WriteToString(result, &value->value1); + result->append(".scale="); + WriteToString(result, &value->scale); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_FractionStop* value) { +inline void WriteToString(std::string* result, const Opt_ClickEffect* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31407,37 +32881,25 @@ inline void WriteToString(std::string* result, const Opt_FractionStop* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FractionStop& value) +inline Ark_RuntimeType runtimeType(const Opt_ClickEffect& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Frame& value) +inline Ark_RuntimeType runtimeType(const Ark_CloseSwipeActionOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Frame* value) { +inline void WriteToString(std::string* result, const Ark_CloseSwipeActionOptions* value) { result->append("{"); - // Ark_Number x - result->append(".x="); - WriteToString(result, &value->x); - // Ark_Number y - result->append(", "); - result->append(".y="); - WriteToString(result, &value->y); - // Ark_Number width - result->append(", "); - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Number height - result->append(", "); - result->append(".height="); - WriteToString(result, &value->height); + // Callback_Void onFinish + result->append(".onFinish="); + WriteToString(result, &value->onFinish); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Frame* value) { +inline void WriteToString(std::string* result, const Opt_CloseSwipeActionOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31450,41 +32912,39 @@ inline void WriteToString(std::string* result, const Opt_Frame* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Frame& value) +inline Ark_RuntimeType runtimeType(const Opt_CloseSwipeActionOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GaugeConfiguration& value) +inline Ark_RuntimeType runtimeType(const Ark_ColorFilterType& 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_ColorFilterType: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_GaugeConfiguration* value) { +inline void WriteToString(std::string* result, const Ark_ColorFilterType* value) { result->append("{"); - // Ark_Boolean enabled - result->append(".enabled="); - WriteToString(result, value->enabled); - // Ark_ContentModifier contentModifier - result->append(", "); - result->append(".contentModifier="); - WriteToString(result, &value->contentModifier); - // Ark_Number value - result->append(", "); - result->append(".value="); - WriteToString(result, &value->value); - // Ark_Number min - result->append(", "); - result->append(".min="); - WriteToString(result, &value->min); - // Ark_Number max + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".max="); - WriteToString(result, &value->max); + // Ark_ColorFilter + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, value->value0); + } + // Ark_drawing_ColorFilter + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, value->value1); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_GaugeConfiguration* value) { +inline void WriteToString(std::string* result, const Opt_ColorFilterType* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31497,33 +32957,25 @@ inline void WriteToString(std::string* result, const Opt_GaugeConfiguration* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GaugeConfiguration& value) +inline Ark_RuntimeType runtimeType(const Opt_ColorFilterType& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GaugeOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_ColumnOptionsV2& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_GaugeOptions* value) { +inline void WriteToString(std::string* result, const Ark_ColumnOptionsV2* value) { result->append("{"); - // Ark_Number value - result->append(".value="); - WriteToString(result, &value->value); - // Ark_Number min - result->append(", "); - result->append(".min="); - WriteToString(result, &value->min); - // Ark_Number max - result->append(", "); - result->append(".max="); - WriteToString(result, &value->max); + // Ark_Int32 _stub + result->append("._stub="); + WriteToString(result, value->_stub); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_GaugeOptions* value) { +inline void WriteToString(std::string* result, const Opt_ColumnOptionsV2* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31536,29 +32988,25 @@ inline void WriteToString(std::string* result, const Opt_GaugeOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GaugeOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_ColumnOptionsV2& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GeometryTransitionOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_CommandPath& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_GeometryTransitionOptions* value) { +inline void WriteToString(std::string* result, const Ark_CommandPath* value) { result->append("{"); - // Ark_Boolean follow - result->append(".follow="); - WriteToString(result, &value->follow); - // Ark_TransitionHierarchyStrategy hierarchyStrategy - result->append(", "); - result->append(".hierarchyStrategy="); - WriteToString(result, &value->hierarchyStrategy); + // Ark_String commands + result->append(".commands="); + WriteToString(result, &value->commands); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_GeometryTransitionOptions* value) { +inline void WriteToString(std::string* result, const Opt_CommandPath* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31571,38 +33019,26 @@ inline void WriteToString(std::string* result, const Opt_GeometryTransitionOptio result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GeometryTransitionOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_CommandPath& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GestureInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_common_Context& 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("}"); +inline void WriteToString(std::string* result, const Ark_common_Context value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_GestureInfo* value) { +inline void WriteToString(std::string* result, const Opt_common_Context* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -31610,29 +33046,37 @@ inline void WriteToString(std::string* result, const Opt_GestureInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GestureInfo& value) +inline Ark_RuntimeType runtimeType(const Opt_common_Context& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GestureStyleInterface& value) +inline Ark_RuntimeType runtimeType(const Ark_common2D_Color& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_GestureStyleInterface* value) { +inline void WriteToString(std::string* result, const Ark_common2D_Color* value) { result->append("{"); - // Callback_ClickEvent_Void onClick - result->append(".onClick="); - WriteToString(result, &value->onClick); - // Callback_GestureEvent_Void onLongPress + // Ark_Number alpha + result->append(".alpha="); + WriteToString(result, &value->alpha); + // Ark_Number red result->append(", "); - result->append(".onLongPress="); - WriteToString(result, &value->onLongPress); + result->append(".red="); + WriteToString(result, &value->red); + // Ark_Number green + result->append(", "); + result->append(".green="); + WriteToString(result, &value->green); + // Ark_Number blue + result->append(", "); + result->append(".blue="); + WriteToString(result, &value->blue); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_GestureStyleInterface* value) { +inline void WriteToString(std::string* result, const Opt_common2D_Color* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31645,45 +33089,29 @@ inline void WriteToString(std::string* result, const Opt_GestureStyleInterface* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GestureStyleInterface& value) +inline Ark_RuntimeType runtimeType(const Opt_common2D_Color& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GridColColumnOption& value) +inline Ark_RuntimeType runtimeType(const Ark_common2D_Point& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_GridColColumnOption* value) { +inline void WriteToString(std::string* result, const Ark_common2D_Point* value) { result->append("{"); - // Ark_Number xs - result->append(".xs="); - WriteToString(result, &value->xs); - // Ark_Number sm - result->append(", "); - 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_Number xl - result->append(", "); - result->append(".xl="); - WriteToString(result, &value->xl); - // Ark_Number xxl + // Ark_Number x + result->append(".x="); + WriteToString(result, &value->x); + // Ark_Number y result->append(", "); - result->append(".xxl="); - WriteToString(result, &value->xxl); + result->append(".y="); + WriteToString(result, &value->y); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_GridColColumnOption* value) { +inline void WriteToString(std::string* result, const Opt_common2D_Point* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31696,25 +33124,33 @@ inline void WriteToString(std::string* result, const Opt_GridColColumnOption* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GridColColumnOption& value) +inline Ark_RuntimeType runtimeType(const Opt_common2D_Point& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GridItemOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_common2D_Point3d& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_GridItemOptions* value) { +inline void WriteToString(std::string* result, const Ark_common2D_Point3d* value) { result->append("{"); - // Ark_GridItemStyle style - result->append(".style="); - WriteToString(result, &value->style); + // Ark_Number x + result->append(".x="); + WriteToString(result, &value->x); + // Ark_Number y + result->append(", "); + result->append(".y="); + WriteToString(result, &value->y); + // Ark_Number z + result->append(", "); + result->append(".z="); + WriteToString(result, &value->z); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_GridItemOptions* value) { +inline void WriteToString(std::string* result, const Opt_common2D_Point3d* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31727,7 +33163,2207 @@ inline void WriteToString(std::string* result, const Opt_GridItemOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GridItemOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_common2D_Point3d& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_common2D_Rect& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_common2D_Rect* value) { + result->append("{"); + // Ark_Number left + result->append(".left="); + WriteToString(result, &value->left); + // Ark_Number top + result->append(", "); + result->append(".top="); + WriteToString(result, &value->top); + // Ark_Number right + result->append(", "); + result->append(".right="); + WriteToString(result, &value->right); + // Ark_Number bottom + result->append(", "); + result->append(".bottom="); + WriteToString(result, &value->bottom); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_common2D_Rect* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_common2D_Rect& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ComputedBarAttribute& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ComputedBarAttribute* value) { + result->append("{"); + // Ark_Number totalOffset + result->append(".totalOffset="); + WriteToString(result, &value->totalOffset); + // Ark_Number totalLength + result->append(", "); + result->append(".totalLength="); + WriteToString(result, &value->totalLength); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ComputedBarAttribute* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ComputedBarAttribute& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_CrossLanguageOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_CrossLanguageOptions* value) { + result->append("{"); + // Ark_Boolean attributeSetting + result->append(".attributeSetting="); + WriteToString(result, &value->attributeSetting); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_CrossLanguageOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_CrossLanguageOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_CrownEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_CrownEvent* value) { + result->append("{"); + // Ark_Number timestamp + result->append(".timestamp="); + WriteToString(result, &value->timestamp); + // Ark_Number angularVelocity + result->append(", "); + result->append(".angularVelocity="); + WriteToString(result, &value->angularVelocity); + // Ark_Number degree + result->append(", "); + result->append(".degree="); + WriteToString(result, &value->degree); + // Ark_CrownAction action + result->append(", "); + result->append(".action="); + WriteToString(result, value->action); + // Callback_Void stopPropagation + result->append(", "); + result->append(".stopPropagation="); + WriteToString(result, &value->stopPropagation); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_CrownEvent* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_CrownEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_CustomSpan& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_CustomSpan value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_CustomSpan* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_CustomSpan& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_CustomSpanDrawInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_CustomSpanDrawInfo* value) { + result->append("{"); + // Ark_Number x + result->append(".x="); + WriteToString(result, &value->x); + // Ark_Number lineTop + result->append(", "); + result->append(".lineTop="); + WriteToString(result, &value->lineTop); + // Ark_Number lineBottom + result->append(", "); + result->append(".lineBottom="); + WriteToString(result, &value->lineBottom); + // Ark_Number baseline + result->append(", "); + result->append(".baseline="); + WriteToString(result, &value->baseline); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_CustomSpanDrawInfo* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_CustomSpanDrawInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_CustomSpanMeasureInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_CustomSpanMeasureInfo* value) { + result->append("{"); + // Ark_Number fontSize + result->append(".fontSize="); + WriteToString(result, &value->fontSize); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_CustomSpanMeasureInfo* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_CustomSpanMeasureInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_CustomSpanMetrics& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_CustomSpanMetrics* value) { + result->append("{"); + // Ark_Number width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Number height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_CustomSpanMetrics* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_CustomSpanMetrics& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DataPanelConfiguration& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DataPanelConfiguration* value) { + result->append("{"); + // Ark_Boolean enabled + result->append(".enabled="); + WriteToString(result, value->enabled); + // Ark_ContentModifier contentModifier + result->append(", "); + result->append(".contentModifier="); + WriteToString(result, &value->contentModifier); + // Array_Number values + result->append(", "); + result->append(".values="); + WriteToString(result, &value->values); + // Ark_Number maxValue + result->append(", "); + result->append(".maxValue="); + WriteToString(result, &value->maxValue); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DataPanelConfiguration* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DataPanelConfiguration& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DataPanelOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DataPanelOptions* value) { + result->append("{"); + // Array_Number values + result->append(".values="); + WriteToString(result, &value->values); + // Ark_Number max + result->append(", "); + result->append(".max="); + WriteToString(result, &value->max); + // Ark_DataPanelType type + result->append(", "); + result->append(".type="); + WriteToString(result, &value->type); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DataPanelOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DataPanelOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DateRange& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DateRange* value) { + result->append("{"); + // Ark_Date start + result->append(".start="); + WriteToString(result, &value->start); + // Ark_Date end + result->append(", "); + result->append(".end="); + WriteToString(result, &value->end); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DateRange* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DateRange& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_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(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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 Ark_DirectionalEdgesT& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DirectionalEdgesT* value) { + result->append("{"); + // Ark_Number start + result->append(".start="); + WriteToString(result, &value->start); + // Ark_Number end + result->append(", "); + result->append(".end="); + WriteToString(result, &value->end); + // Ark_Number top + result->append(", "); + result->append(".top="); + WriteToString(result, &value->top); + // Ark_Number bottom + result->append(", "); + result->append(".bottom="); + WriteToString(result, &value->bottom); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DirectionalEdgesT* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DirectionalEdgesT& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DisappearSymbolEffect& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DisappearSymbolEffect value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_DisappearSymbolEffect* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DisappearSymbolEffect& 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("{"); + // VoidCallback 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(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_DismissDialogAction& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DismissDialogAction value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_DismissDialogAction* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DismissDialogAction& 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) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_DismissPopupAction* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_DismissSheetAction& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DismissSheetAction* value) { + result->append("{"); + // VoidCallback 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(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_DoubleAnimationParam& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DoubleAnimationParam* value) { + result->append("{"); + // Ark_String propertyName + result->append(".propertyName="); + WriteToString(result, &value->propertyName); + // Ark_Float32 startValue + result->append(", "); + result->append(".startValue="); + WriteToString(result, value->startValue); + // Ark_Float32 endValue + result->append(", "); + result->append(".endValue="); + WriteToString(result, value->endValue); + // Ark_Int32 duration + result->append(", "); + result->append(".duration="); + WriteToString(result, value->duration); + // Ark_Int32 delay + result->append(", "); + result->append(".delay="); + WriteToString(result, value->delay); + // Ark_Union_Curve_String_ICurve curve + result->append(", "); + result->append(".curve="); + WriteToString(result, &value->curve); + // Callback_Extender_OnProgress onProgress + result->append(", "); + result->append(".onProgress="); + WriteToString(result, &value->onProgress); + // Callback_Extender_OnFinish onFinish + result->append(", "); + result->append(".onFinish="); + WriteToString(result, &value->onFinish); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DoubleAnimationParam* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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_DragEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DragEvent value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_DragEvent* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DragEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DragInteractionOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DragInteractionOptions* value) { + result->append("{"); + // Ark_Boolean isMultiSelectionEnabled + result->append(".isMultiSelectionEnabled="); + WriteToString(result, &value->isMultiSelectionEnabled); + // Ark_Boolean defaultAnimationBeforeLifting + result->append(", "); + result->append(".defaultAnimationBeforeLifting="); + WriteToString(result, &value->defaultAnimationBeforeLifting); + // Ark_Boolean enableEdgeAutoScroll + result->append(", "); + result->append(".enableEdgeAutoScroll="); + WriteToString(result, &value->enableEdgeAutoScroll); + // Ark_Boolean enableHapticFeedback + result->append(", "); + result->append(".enableHapticFeedback="); + WriteToString(result, &value->enableHapticFeedback); + // Ark_Boolean isLiftingDisabled + result->append(", "); + result->append(".isLiftingDisabled="); + WriteToString(result, &value->isLiftingDisabled); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DragInteractionOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DragInteractionOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DragItemInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DragItemInfo* value) { + result->append("{"); + // Ark_image_PixelMap pixelMap + result->append(".pixelMap="); + WriteToString(result, &value->pixelMap); + // CustomNodeBuilder builder + result->append(", "); + result->append(".builder="); + WriteToString(result, &value->builder); + // Ark_String extraInfo + result->append(", "); + result->append(".extraInfo="); + WriteToString(result, &value->extraInfo); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DragItemInfo* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DragItemInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_drawing_FontMetrics& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_drawing_FontMetrics* value) { + result->append("{"); + // Ark_drawing_FontMetricsFlags flags + result->append(".flags="); + WriteToString(result, &value->flags); + // Ark_Number top + result->append(", "); + result->append(".top="); + WriteToString(result, &value->top); + // Ark_Number ascent + result->append(", "); + result->append(".ascent="); + WriteToString(result, &value->ascent); + // Ark_Number descent + result->append(", "); + result->append(".descent="); + WriteToString(result, &value->descent); + // Ark_Number bottom + result->append(", "); + result->append(".bottom="); + WriteToString(result, &value->bottom); + // Ark_Number leading + result->append(", "); + result->append(".leading="); + WriteToString(result, &value->leading); + // Ark_Number avgCharWidth + result->append(", "); + result->append(".avgCharWidth="); + WriteToString(result, &value->avgCharWidth); + // Ark_Number maxCharWidth + result->append(", "); + result->append(".maxCharWidth="); + WriteToString(result, &value->maxCharWidth); + // Ark_Number xMin + result->append(", "); + result->append(".xMin="); + WriteToString(result, &value->xMin); + // Ark_Number xMax + result->append(", "); + result->append(".xMax="); + WriteToString(result, &value->xMax); + // Ark_Number xHeight + result->append(", "); + result->append(".xHeight="); + WriteToString(result, &value->xHeight); + // Ark_Number capHeight + result->append(", "); + result->append(".capHeight="); + WriteToString(result, &value->capHeight); + // Ark_Number underlineThickness + result->append(", "); + result->append(".underlineThickness="); + WriteToString(result, &value->underlineThickness); + // Ark_Number underlinePosition + result->append(", "); + result->append(".underlinePosition="); + WriteToString(result, &value->underlinePosition); + // Ark_Number strikethroughThickness + result->append(", "); + result->append(".strikethroughThickness="); + WriteToString(result, &value->strikethroughThickness); + // Ark_Number strikethroughPosition + result->append(", "); + result->append(".strikethroughPosition="); + WriteToString(result, &value->strikethroughPosition); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_drawing_FontMetrics* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_drawing_FontMetrics& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_drawing_TextBlobRunBuffer& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_drawing_TextBlobRunBuffer* value) { + result->append("{"); + // Ark_Number glyph + result->append(".glyph="); + WriteToString(result, &value->glyph); + // Ark_Number positionX + result->append(", "); + result->append(".positionX="); + WriteToString(result, &value->positionX); + // Ark_Number positionY + result->append(", "); + result->append(".positionY="); + WriteToString(result, &value->positionY); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_drawing_TextBlobRunBuffer* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_drawing_TextBlobRunBuffer& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DrawingRenderingContext& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DrawingRenderingContext value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_DrawingRenderingContext* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DrawingRenderingContext& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DrawModifier& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DrawModifier value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_DrawModifier* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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_DropOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DropOptions* value) { + result->append("{"); + // Ark_Boolean disableDataPrefetch + result->append(".disableDataPrefetch="); + WriteToString(result, &value->disableDataPrefetch); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DropOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DropOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_EdgeEffectOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_EdgeEffectOptions* value) { + result->append("{"); + // Ark_Boolean alwaysEnabled + result->append(".alwaysEnabled="); + WriteToString(result, value->alwaysEnabled); + // Ark_Number effectEdge + result->append(", "); + result->append(".effectEdge="); + WriteToString(result, &value->effectEdge); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_EdgeEffectOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_EdgeEffectOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_EdgeOutlineStyles& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_EdgeOutlineStyles* value) { + result->append("{"); + // Ark_OutlineStyle top + result->append(".top="); + WriteToString(result, &value->top); + // Ark_OutlineStyle right + result->append(", "); + result->append(".right="); + WriteToString(result, &value->right); + // Ark_OutlineStyle bottom + result->append(", "); + result->append(".bottom="); + WriteToString(result, &value->bottom); + // Ark_OutlineStyle left + result->append(", "); + result->append(".left="); + WriteToString(result, &value->left); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_EdgeOutlineStyles* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_EdgeOutlineStyles& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_EdgeStyles& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_EdgeStyles* value) { + result->append("{"); + // Ark_BorderStyle top + result->append(".top="); + WriteToString(result, &value->top); + // Ark_BorderStyle right + result->append(", "); + result->append(".right="); + WriteToString(result, &value->right); + // Ark_BorderStyle bottom + result->append(", "); + result->append(".bottom="); + WriteToString(result, &value->bottom); + // Ark_BorderStyle left + result->append(", "); + result->append(".left="); + WriteToString(result, &value->left); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_EdgeStyles* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_EdgeStyles& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_EditMenuOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_EditMenuOptions* value) { + result->append("{"); + // OnCreateMenuCallback onCreateMenu + result->append(".onCreateMenu="); + WriteToString(result, &value->onCreateMenu); + // OnMenuItemClickCallback onMenuItemClick + result->append(", "); + result->append(".onMenuItemClick="); + WriteToString(result, &value->onMenuItemClick); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_EditMenuOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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_EllipseOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_EllipseOptions* value) { + result->append("{"); + // Ark_Union_String_F64 width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Union_String_F64 height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_EllipseOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_EllipseOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_EmbedOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_EmbedOptions* value) { + result->append("{"); + // Ark_Boolean supportDefaultIntrinsicSize + result->append(".supportDefaultIntrinsicSize="); + WriteToString(result, &value->supportDefaultIntrinsicSize); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_EmbedOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_EmbedOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ErrorEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ErrorEvent* value) { + result->append("{"); + // Ark_String type + result->append(".type="); + WriteToString(result, &value->type); + // Ark_Int64 timeStamp + result->append(", "); + result->append(".timeStamp="); + WriteToString(result, value->timeStamp); + // Ark_String message + result->append(", "); + result->append(".message="); + WriteToString(result, &value->message); + // Ark_String filename + result->append(", "); + result->append(".filename="); + WriteToString(result, &value->filename); + // Ark_Number lineno + result->append(", "); + result->append(".lineno="); + WriteToString(result, &value->lineno); + // Ark_Number colno + result->append(", "); + result->append(".colno="); + WriteToString(result, &value->colno); + // Ark_Object error + result->append(", "); + result->append(".error="); + WriteToString(result, value->error); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ErrorEvent* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ErrorEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ErrorInformation& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ErrorInformation* value) { + result->append("{"); + // Ark_Int32 errcode + result->append(".errcode="); + WriteToString(result, value->errcode); + // Ark_String msg + result->append(", "); + result->append(".msg="); + WriteToString(result, &value->msg); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ErrorInformation* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ErrorInformation& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Event& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_Event* value) { + result->append("{"); + // Ark_String type + result->append(".type="); + WriteToString(result, &value->type); + // Ark_Int64 timeStamp + result->append(", "); + result->append(".timeStamp="); + WriteToString(result, value->timeStamp); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Event* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Event& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ExpectedFrameRateRange& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ExpectedFrameRateRange* value) { + result->append("{"); + // Ark_Number min + result->append(".min="); + WriteToString(result, &value->min); + // Ark_Number max + result->append(", "); + result->append(".max="); + WriteToString(result, &value->max); + // Ark_Number expected + result->append(", "); + result->append(".expected="); + WriteToString(result, &value->expected); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ExpectedFrameRateRange* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ExpectedFrameRateRange& 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); + // Ark_InteractionHand hand + result->append(", "); + result->append(".hand="); + WriteToString(result, &value->hand); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_FingerInfo* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_FirstMeaningfulPaint& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_FirstMeaningfulPaint* value) { + result->append("{"); + // Ark_Int64 navigationStartTime + result->append(".navigationStartTime="); + WriteToString(result, &value->navigationStartTime); + // Ark_Int64 firstMeaningfulPaintTime + result->append(", "); + result->append(".firstMeaningfulPaintTime="); + WriteToString(result, &value->firstMeaningfulPaintTime); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_FirstMeaningfulPaint* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_FirstMeaningfulPaint& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_FocusMovement& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_FocusMovement* value) { + result->append("{"); + // Ark_String forward + result->append(".forward="); + WriteToString(result, &value->forward); + // Ark_String backward + result->append(", "); + result->append(".backward="); + WriteToString(result, &value->backward); + // Ark_String up + result->append(", "); + result->append(".up="); + WriteToString(result, &value->up); + // Ark_String down + result->append(", "); + result->append(".down="); + WriteToString(result, &value->down); + // Ark_String left + result->append(", "); + result->append(".left="); + WriteToString(result, &value->left); + // Ark_String right + result->append(", "); + result->append(".right="); + WriteToString(result, &value->right); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_FocusMovement* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_FocusMovement& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_FolderStackOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_FolderStackOptions* value) { + result->append("{"); + // Array_String upperItems + result->append(".upperItems="); + WriteToString(result, &value->upperItems); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_FolderStackOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_FolderStackOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_FontInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_FontInfo* value) { + result->append("{"); + // Ark_String path + result->append(".path="); + WriteToString(result, &value->path); + // Ark_String postScriptName + result->append(", "); + result->append(".postScriptName="); + WriteToString(result, &value->postScriptName); + // Ark_String fullName + result->append(", "); + result->append(".fullName="); + WriteToString(result, &value->fullName); + // Ark_String family + result->append(", "); + result->append(".family="); + WriteToString(result, &value->family); + // Ark_String subfamily + result->append(", "); + result->append(".subfamily="); + WriteToString(result, &value->subfamily); + // Ark_Number weight + result->append(", "); + result->append(".weight="); + WriteToString(result, &value->weight); + // Ark_Number width + result->append(", "); + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Boolean italic + result->append(", "); + result->append(".italic="); + WriteToString(result, value->italic); + // Ark_Boolean monoSpace + result->append(", "); + result->append(".monoSpace="); + WriteToString(result, value->monoSpace); + // Ark_Boolean symbolic + result->append(", "); + result->append(".symbolic="); + WriteToString(result, value->symbolic); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_FontInfo* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_FontInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_FontSettingOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_FontSettingOptions* value) { + result->append("{"); + // Ark_Boolean enableVariableFontWeight + result->append(".enableVariableFontWeight="); + WriteToString(result, &value->enableVariableFontWeight); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_FontSettingOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_FontSettingOptions& 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(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_FormCallbackInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_FormCallbackInfo* value) { + result->append("{"); + // Ark_Int64 id + result->append(".id="); + WriteToString(result, value->id); + // Ark_String idString + result->append(", "); + result->append(".idString="); + WriteToString(result, &value->idString); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_FormCallbackInfo* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_FormCallbackInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_FormLinkOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_FormLinkOptions* value) { + result->append("{"); + // Ark_String action + result->append(".action="); + WriteToString(result, &value->action); + // Ark_String moduleName + result->append(", "); + result->append(".moduleName="); + WriteToString(result, &value->moduleName); + // Ark_String bundleName + result->append(", "); + result->append(".bundleName="); + WriteToString(result, &value->bundleName); + // Ark_String abilityName + result->append(", "); + result->append(".abilityName="); + WriteToString(result, &value->abilityName); + // Ark_String uri + result->append(", "); + result->append(".uri="); + WriteToString(result, &value->uri); + // Ark_Object params + result->append(", "); + result->append(".params="); + WriteToString(result, &value->params); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_FormLinkOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_FormLinkOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_FractionStop& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_FractionStop* value) { + result->append("{"); + // Ark_Number value0 + result->append(".value0="); + WriteToString(result, &value->value0); + // Ark_Number value1 + result->append(", "); + result->append(".value1="); + WriteToString(result, &value->value1); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_FractionStop* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_FractionStop& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Frame& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_Frame* value) { + result->append("{"); + // Ark_Number x + result->append(".x="); + WriteToString(result, &value->x); + // Ark_Number y + result->append(", "); + result->append(".y="); + WriteToString(result, &value->y); + // Ark_Number width + result->append(", "); + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Number height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Frame* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Frame& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_FullScreenEnterEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_FullScreenEnterEvent* 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 + result->append(", "); + result->append(".videoHeight="); + WriteToString(result, &value->videoHeight); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_FullScreenEnterEvent* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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 Ark_GaugeConfiguration& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_GaugeConfiguration* value) { + result->append("{"); + // Ark_Boolean enabled + result->append(".enabled="); + WriteToString(result, value->enabled); + // Ark_ContentModifier contentModifier + result->append(", "); + result->append(".contentModifier="); + WriteToString(result, &value->contentModifier); + // Ark_Number value + result->append(", "); + result->append(".value="); + WriteToString(result, &value->value); + // Ark_Number min + result->append(", "); + result->append(".min="); + WriteToString(result, &value->min); + // Ark_Number max + result->append(", "); + result->append(".max="); + WriteToString(result, &value->max); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_GaugeConfiguration* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_GaugeConfiguration& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_GaugeOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_GaugeOptions* value) { + result->append("{"); + // Ark_Number value + result->append(".value="); + WriteToString(result, &value->value); + // Ark_Number min + result->append(", "); + result->append(".min="); + WriteToString(result, &value->min); + // Ark_Number max + result->append(", "); + result->append(".max="); + WriteToString(result, &value->max); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_GaugeOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_GaugeOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_GeometryTransitionOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_GeometryTransitionOptions* value) { + result->append("{"); + // Ark_Boolean follow + result->append(".follow="); + WriteToString(result, &value->follow); + // Ark_TransitionHierarchyStrategy hierarchyStrategy + result->append(", "); + result->append(".hierarchyStrategy="); + WriteToString(result, &value->hierarchyStrategy); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_GeometryTransitionOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_GeometryTransitionOptions& 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(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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 Ark_GestureStyleInterface& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_GestureStyleInterface* value) { + result->append("{"); + // Callback_ClickEvent_Void onClick + result->append(".onClick="); + WriteToString(result, &value->onClick); + // Callback_GestureEvent_Void onLongPress + result->append(", "); + result->append(".onLongPress="); + WriteToString(result, &value->onLongPress); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_GestureStyleInterface* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_GestureStyleInterface& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_GridColColumnOption& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_GridColColumnOption* value) { + result->append("{"); + // Ark_Number xs + result->append(".xs="); + WriteToString(result, &value->xs); + // Ark_Number sm + result->append(", "); + 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_Number xl + result->append(", "); + result->append(".xl="); + WriteToString(result, &value->xl); + // Ark_Number xxl + result->append(", "); + result->append(".xxl="); + WriteToString(result, &value->xxl); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_GridColColumnOption* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_GridColColumnOption& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_GridItemOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_GridItemOptions* value) { + result->append("{"); + // Ark_GridItemStyle style + result->append(".style="); + WriteToString(result, &value->style); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_GridItemOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_GridItemOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -31737,27 +35373,1178 @@ inline Ark_RuntimeType runtimeType(const Ark_GridLayoutOptions& value) return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_GridLayoutOptions* value) { +inline void WriteToString(std::string* result, const Ark_GridLayoutOptions* value) { + result->append("{"); + // Ark_Tuple_Number_Number regularSize + result->append(".regularSize="); + WriteToString(result, &value->regularSize); + // Array_Number irregularIndexes + result->append(", "); + result->append(".irregularIndexes="); + WriteToString(result, &value->irregularIndexes); + // Callback_Number_Tuple_Number_Number onGetIrregularSizeByIndex + result->append(", "); + result->append(".onGetIrregularSizeByIndex="); + WriteToString(result, &value->onGetIrregularSizeByIndex); + // Callback_Number_Tuple_Number_Number_Number_Number onGetRectByIndex + result->append(", "); + result->append(".onGetRectByIndex="); + WriteToString(result, &value->onGetRectByIndex); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_GridLayoutOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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_GridRowColumnOption& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_GridRowColumnOption* value) { + result->append("{"); + // Ark_Number xs + result->append(".xs="); + WriteToString(result, &value->xs); + // Ark_Number sm + result->append(", "); + 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_Number xl + result->append(", "); + result->append(".xl="); + WriteToString(result, &value->xl); + // Ark_Number xxl + result->append(", "); + result->append(".xxl="); + WriteToString(result, &value->xxl); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_GridRowColumnOption* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_GridRowColumnOption& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Header& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_Header* value) { + result->append("{"); + // Ark_String headerKey + result->append(".headerKey="); + WriteToString(result, &value->headerKey); + // Ark_String headerValue + result->append(", "); + result->append(".headerValue="); + WriteToString(result, &value->headerValue); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Header* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Header& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_HierarchicalSymbolEffect& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_HierarchicalSymbolEffect value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_HierarchicalSymbolEffect* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_HierarchicalSymbolEffect& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_HoverEventParam& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_HoverEventParam* value) { + result->append("{"); + // Ark_FoldStatus foldStatus + result->append(".foldStatus="); + WriteToString(result, value->foldStatus); + // Ark_Boolean isHoverMode + result->append(", "); + result->append(".isHoverMode="); + WriteToString(result, value->isHoverMode); + // Ark_AppRotation appRotation + result->append(", "); + result->append(".appRotation="); + WriteToString(result, value->appRotation); + // Ark_window_WindowStatusType windowStatusType + result->append(", "); + result->append(".windowStatusType="); + WriteToString(result, value->windowStatusType); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_HoverEventParam* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_HoverEventParam& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ImageAIOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ImageAIOptions* value) { + result->append("{"); + // Array_ImageAnalyzerType types + result->append(".types="); + WriteToString(result, &value->types); + // Ark_ImageAnalyzerController aiController + result->append(", "); + result->append(".aiController="); + WriteToString(result, &value->aiController); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ImageAIOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ImageAIOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ImageAnalyzerConfig& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ImageAnalyzerConfig* value) { + result->append("{"); + // Array_ImageAnalyzerType types + result->append(".types="); + WriteToString(result, &value->types); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ImageAnalyzerConfig* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ImageAnalyzerConfig& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ImageBitmap& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ImageBitmap value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_ImageBitmap* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ImageBitmap& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ImageCompleteEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ImageCompleteEvent* 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_ImageCompleteEvent* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ImageCompleteEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ImageData& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ImageData value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_ImageData* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ImageData& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ImageLoadResult& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ImageLoadResult* 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_ImageLoadResult* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ImageLoadResult& 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; +} +template <> +inline void WriteToString(std::string* result, const Ark_ImageSourceSize* value) { + result->append("{"); + // Ark_Number width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Number height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ImageSourceSize* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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_InputCounterOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_InputCounterOptions* value) { + result->append("{"); + // Ark_Number thresholdPercentage + result->append(".thresholdPercentage="); + WriteToString(result, &value->thresholdPercentage); + // Ark_Boolean highlightBorder + result->append(", "); + result->append(".highlightBorder="); + WriteToString(result, &value->highlightBorder); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_InputCounterOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_InputCounterOptions& 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(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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 Ark_IntelligentTrackingPreventionDetails& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +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_IntelligentTrackingPreventionDetails* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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_intl_DateTimeOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_intl_DateTimeOptions* value) { + result->append("{"); + // Ark_String locale + result->append(".locale="); + WriteToString(result, &value->locale); + // Ark_String dateStyle + result->append(", "); + result->append(".dateStyle="); + WriteToString(result, &value->dateStyle); + // Ark_String timeStyle + result->append(", "); + result->append(".timeStyle="); + WriteToString(result, &value->timeStyle); + // Ark_String hourCycle + result->append(", "); + result->append(".hourCycle="); + WriteToString(result, &value->hourCycle); + // Ark_String timeZone + result->append(", "); + result->append(".timeZone="); + WriteToString(result, &value->timeZone); + // Ark_String numberingSystem + result->append(", "); + result->append(".numberingSystem="); + WriteToString(result, &value->numberingSystem); + // Ark_Boolean hour12 + result->append(", "); + result->append(".hour12="); + WriteToString(result, &value->hour12); + // Ark_String weekday + result->append(", "); + result->append(".weekday="); + WriteToString(result, &value->weekday); + // Ark_String era + result->append(", "); + result->append(".era="); + WriteToString(result, &value->era); + // Ark_String year + result->append(", "); + result->append(".year="); + WriteToString(result, &value->year); + // Ark_String month + result->append(", "); + result->append(".month="); + WriteToString(result, &value->month); + // Ark_String day + result->append(", "); + result->append(".day="); + WriteToString(result, &value->day); + // Ark_String hour + result->append(", "); + result->append(".hour="); + WriteToString(result, &value->hour); + // Ark_String minute + result->append(", "); + result->append(".minute="); + WriteToString(result, &value->minute); + // Ark_String second + result->append(", "); + result->append(".second="); + WriteToString(result, &value->second); + // Ark_String timeZoneName + result->append(", "); + result->append(".timeZoneName="); + WriteToString(result, &value->timeZoneName); + // Ark_String dayPeriod + result->append(", "); + result->append(".dayPeriod="); + WriteToString(result, &value->dayPeriod); + // Ark_String localeMatcher + result->append(", "); + result->append(".localeMatcher="); + WriteToString(result, &value->localeMatcher); + // Ark_String formatMatcher + result->append(", "); + result->append(".formatMatcher="); + WriteToString(result, &value->formatMatcher); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_intl_DateTimeOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_intl_DateTimeOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_InvertOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_InvertOptions* value) { + result->append("{"); + // Ark_Number low + result->append(".low="); + WriteToString(result, &value->low); + // Ark_Number high + result->append(", "); + result->append(".high="); + WriteToString(result, &value->high); + // Ark_Number threshold + result->append(", "); + result->append(".threshold="); + WriteToString(result, &value->threshold); + // Ark_Number thresholdRange + result->append(", "); + result->append(".thresholdRange="); + WriteToString(result, &value->thresholdRange); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_InvertOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_InvertOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ItemDragInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ItemDragInfo* value) { + result->append("{"); + // Ark_Number x + result->append(".x="); + WriteToString(result, &value->x); + // Ark_Number y + result->append(", "); + result->append(".y="); + WriteToString(result, &value->y); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ItemDragInfo* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ItemDragInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_JavaScriptProxy& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_JavaScriptProxy* value) { + result->append("{"); + // Ark_Object object_ + result->append(".object_="); + WriteToString(result, value->object_); + // Ark_String name + result->append(", "); + result->append(".name="); + WriteToString(result, &value->name); + // Array_String methodList + result->append(", "); + result->append(".methodList="); + WriteToString(result, &value->methodList); + // Ark_webview_WebviewController controller + result->append(", "); + result->append(".controller="); + WriteToString(result, value->controller); + // Array_String asyncMethodList + result->append(", "); + result->append(".asyncMethodList="); + WriteToString(result, &value->asyncMethodList); + // Ark_String permission + result->append(", "); + result->append(".permission="); + WriteToString(result, &value->permission); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_JavaScriptProxy* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_JavaScriptProxy& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_KeyboardOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_KeyboardOptions* value) { + result->append("{"); + // Ark_Boolean supportAvoidance + result->append(".supportAvoidance="); + WriteToString(result, &value->supportAvoidance); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_KeyboardOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_KeyboardOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_KeyEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_KeyEvent value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_KeyEvent* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_KeyEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_LargestContentfulPaint& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LargestContentfulPaint* value) { + result->append("{"); + // Ark_Int64 navigationStartTime + result->append(".navigationStartTime="); + WriteToString(result, &value->navigationStartTime); + // Ark_Int64 largestImagePaintTime + result->append(", "); + result->append(".largestImagePaintTime="); + WriteToString(result, &value->largestImagePaintTime); + // Ark_Int64 largestTextPaintTime + result->append(", "); + result->append(".largestTextPaintTime="); + WriteToString(result, &value->largestTextPaintTime); + // Ark_Float64 imageBPP + result->append(", "); + result->append(".imageBPP="); + WriteToString(result, &value->imageBPP); + // Ark_Int64 largestImageLoadStartTime + result->append(", "); + result->append(".largestImageLoadStartTime="); + WriteToString(result, &value->largestImageLoadStartTime); + // Ark_Int64 largestImageLoadEndTime + result->append(", "); + result->append(".largestImageLoadEndTime="); + WriteToString(result, &value->largestImageLoadEndTime); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LargestContentfulPaint* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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 Ark_LayoutConstraint& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LayoutConstraint* value) { + result->append("{"); + // Ark_Size maxSize + result->append(".maxSize="); + WriteToString(result, &value->maxSize); + // Ark_Size minSize + result->append(", "); + result->append(".minSize="); + WriteToString(result, &value->minSize); + // Ark_Size percentReference + result->append(", "); + result->append(".percentReference="); + WriteToString(result, &value->percentReference); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LayoutConstraint* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LayoutConstraint& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_LengthMetrics& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LengthMetrics value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_LengthMetrics* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LengthMetrics& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_LetterSpacingStyle& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LetterSpacingStyle value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_LetterSpacingStyle* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LetterSpacingStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_LinearGradientBlurOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LinearGradientBlurOptions* value) { + result->append("{"); + // Array_FractionStop fractionStops + result->append(".fractionStops="); + WriteToString(result, &value->fractionStops); + // Ark_GradientDirection direction + result->append(", "); + result->append(".direction="); + WriteToString(result, value->direction); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LinearGradientBlurOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LinearGradientBlurOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_LinearGradientOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LinearGradientOptions* value) { + result->append("{"); + // Ark_Union_Number_String angle + result->append(".angle="); + WriteToString(result, &value->angle); + // Ark_GradientDirection direction + result->append(", "); + result->append(".direction="); + WriteToString(result, &value->direction); + // Array_Tuple_ResourceColor_Number colors + result->append(", "); + result->append(".colors="); + WriteToString(result, &value->colors); + // Ark_Boolean repeating + result->append(", "); + result->append(".repeating="); + WriteToString(result, &value->repeating); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LinearGradientOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LinearGradientOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_LinearIndicatorStartOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LinearIndicatorStartOptions* value) { + result->append("{"); + // Ark_Number interval + result->append(".interval="); + WriteToString(result, &value->interval); + // Ark_Number duration + result->append(", "); + result->append(".duration="); + WriteToString(result, &value->duration); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LinearIndicatorStartOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LinearIndicatorStartOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_LineHeightStyle& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LineHeightStyle value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_LineHeightStyle* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LineHeightStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_LineOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LineOptions* value) { result->append("{"); - // Ark_Tuple_Number_Number regularSize - result->append(".regularSize="); - WriteToString(result, &value->regularSize); - // Array_Number irregularIndexes - result->append(", "); - result->append(".irregularIndexes="); - WriteToString(result, &value->irregularIndexes); - // Callback_Number_Tuple_Number_Number onGetIrregularSizeByIndex - result->append(", "); - result->append(".onGetIrregularSizeByIndex="); - WriteToString(result, &value->onGetIrregularSizeByIndex); - // Callback_Number_Tuple_Number_Number_Number_Number onGetRectByIndex + // Ark_Union_String_F64 width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Union_String_F64 height result->append(", "); - result->append(".onGetRectByIndex="); - WriteToString(result, &value->onGetRectByIndex); + result->append(".height="); + WriteToString(result, &value->height); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_GridLayoutOptions* value) { +inline void WriteToString(std::string* result, const Opt_LineOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31770,45 +36557,45 @@ 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_LineOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GridRowColumnOption& value) +inline Ark_RuntimeType runtimeType(const Ark_ListItemGroupOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_GridRowColumnOption* value) { +inline void WriteToString(std::string* result, const Ark_ListItemGroupOptions* value) { result->append("{"); - // Ark_Number xs - result->append(".xs="); - WriteToString(result, &value->xs); - // Ark_Number sm + // CustomNodeBuilder header + result->append(".header="); + WriteToString(result, &value->header); + // Ark_ComponentContent headerComponent result->append(", "); - result->append(".sm="); - WriteToString(result, &value->sm); - // Ark_Number md + result->append(".headerComponent="); + WriteToString(result, &value->headerComponent); + // CustomNodeBuilder footer result->append(", "); - result->append(".md="); - WriteToString(result, &value->md); - // Ark_Number lg + result->append(".footer="); + WriteToString(result, &value->footer); + // Ark_ComponentContent footerComponent result->append(", "); - result->append(".lg="); - WriteToString(result, &value->lg); - // Ark_Number xl + result->append(".footerComponent="); + WriteToString(result, &value->footerComponent); + // Ark_Union_Number_String space result->append(", "); - result->append(".xl="); - WriteToString(result, &value->xl); - // Ark_Number xxl + result->append(".space="); + WriteToString(result, &value->space); + // Ark_ListItemGroupStyle style result->append(", "); - result->append(".xxl="); - WriteToString(result, &value->xxl); + result->append(".style="); + WriteToString(result, &value->style); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_GridRowColumnOption* value) { +inline void WriteToString(std::string* result, const Opt_ListItemGroupOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31821,26 +36608,30 @@ inline void WriteToString(std::string* result, const Opt_GridRowColumnOption* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GridRowColumnOption& value) +inline Ark_RuntimeType runtimeType(const Opt_ListItemGroupOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_HierarchicalSymbolEffect& value) +inline Ark_RuntimeType runtimeType(const Ark_ListItemOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_HierarchicalSymbolEffect value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_ListItemOptions* value) { + result->append("{"); + // Ark_ListItemStyle style + result->append(".style="); + WriteToString(result, &value->style); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_HierarchicalSymbolEffect* value) { +inline void WriteToString(std::string* result, const Opt_ListItemOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -31848,37 +36639,33 @@ inline void WriteToString(std::string* result, const Opt_HierarchicalSymbolEffec result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_HierarchicalSymbolEffect& value) +inline Ark_RuntimeType runtimeType(const Opt_ListItemOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_HoverEventParam& value) +inline Ark_RuntimeType runtimeType(const Ark_ListOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_HoverEventParam* value) { +inline void WriteToString(std::string* result, const Ark_ListOptions* value) { result->append("{"); - // Ark_FoldStatus foldStatus - result->append(".foldStatus="); - WriteToString(result, value->foldStatus); - // Ark_Boolean isHoverMode - result->append(", "); - result->append(".isHoverMode="); - WriteToString(result, value->isHoverMode); - // Ark_AppRotation appRotation + // Ark_Number initialIndex + result->append(".initialIndex="); + WriteToString(result, &value->initialIndex); + // Ark_Union_Number_String space result->append(", "); - result->append(".appRotation="); - WriteToString(result, value->appRotation); - // Ark_window_WindowStatusType windowStatusType + result->append(".space="); + WriteToString(result, &value->space); + // Ark_Scroller scroller result->append(", "); - result->append(".windowStatusType="); - WriteToString(result, value->windowStatusType); + result->append(".scroller="); + WriteToString(result, &value->scroller); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_HoverEventParam* value) { +inline void WriteToString(std::string* result, const Opt_ListOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31891,29 +36678,41 @@ inline void WriteToString(std::string* result, const Opt_HoverEventParam* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_HoverEventParam& 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_ImageAIOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_LoadCommittedDetails& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ImageAIOptions* value) { +inline void WriteToString(std::string* result, const Ark_LoadCommittedDetails* value) { result->append("{"); - // Array_ImageAnalyzerType types - result->append(".types="); - WriteToString(result, &value->types); - // Ark_ImageAnalyzerController aiController + // Ark_Boolean isMainFrame + result->append(".isMainFrame="); + WriteToString(result, value->isMainFrame); + // Ark_Boolean isSameDocument result->append(", "); - result->append(".aiController="); - WriteToString(result, &value->aiController); + 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("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ImageAIOptions* value) { +inline void WriteToString(std::string* result, const Opt_LoadCommittedDetails* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31926,25 +36725,29 @@ inline void WriteToString(std::string* result, const Opt_ImageAIOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageAIOptions& 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_ImageAnalyzerConfig& value) +inline Ark_RuntimeType runtimeType(const Ark_LocalizedHorizontalAlignParam& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ImageAnalyzerConfig* value) { +inline void WriteToString(std::string* result, const Ark_LocalizedHorizontalAlignParam* value) { result->append("{"); - // Array_ImageAnalyzerType types - result->append(".types="); - WriteToString(result, &value->types); + // Ark_String anchor + result->append(".anchor="); + WriteToString(result, &value->anchor); + // Ark_HorizontalAlign align + result->append(", "); + result->append(".align="); + WriteToString(result, value->align); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ImageAnalyzerConfig* value) { +inline void WriteToString(std::string* result, const Opt_LocalizedHorizontalAlignParam* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -31957,26 +36760,34 @@ inline void WriteToString(std::string* result, const Opt_ImageAnalyzerConfig* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageAnalyzerConfig& value) +inline Ark_RuntimeType runtimeType(const Opt_LocalizedHorizontalAlignParam& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageBitmap& value) +inline Ark_RuntimeType runtimeType(const Ark_LocalizedVerticalAlignParam& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ImageBitmap value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_LocalizedVerticalAlignParam* value) { + result->append("{"); + // Ark_String anchor + result->append(".anchor="); + WriteToString(result, &value->anchor); + // Ark_VerticalAlign align + result->append(", "); + result->append(".align="); + WriteToString(result, value->align); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ImageBitmap* value) { +inline void WriteToString(std::string* result, const Opt_LocalizedVerticalAlignParam* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -31984,57 +36795,123 @@ inline void WriteToString(std::string* result, const Opt_ImageBitmap* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageBitmap& value) +inline Ark_RuntimeType runtimeType(const Opt_LocalizedVerticalAlignParam& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageCompleteEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_LongPressGestureHandlerOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ImageCompleteEvent* value) { +inline void WriteToString(std::string* result, const Ark_LongPressGestureHandlerOptions* value) { result->append("{"); - // Ark_Number width - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Number height + // Ark_Boolean isFingerCountLimited + result->append(".isFingerCountLimited="); + WriteToString(result, &value->isFingerCountLimited); + // Ark_Number fingers result->append(", "); - result->append(".height="); - WriteToString(result, &value->height); - // Ark_Number componentWidth + result->append(".fingers="); + WriteToString(result, &value->fingers); + // Ark_Boolean repeat result->append(", "); - result->append(".componentWidth="); - WriteToString(result, &value->componentWidth); - // Ark_Number componentHeight + result->append(".repeat="); + WriteToString(result, &value->repeat); + // Ark_Number duration result->append(", "); - result->append(".componentHeight="); - WriteToString(result, &value->componentHeight); - // Ark_Number loadingStatus + result->append(".duration="); + WriteToString(result, &value->duration); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LongPressGestureHandlerOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LongPressGestureHandlerOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_LongPressGestureInterface_Invoke_Literal& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LongPressGestureInterface_Invoke_Literal* value) { + result->append("{"); + // Ark_Number fingers + result->append(".fingers="); + WriteToString(result, &value->fingers); + // Ark_Boolean repeat result->append(", "); - result->append(".loadingStatus="); - WriteToString(result, &value->loadingStatus); - // Ark_Number contentWidth + result->append(".repeat="); + WriteToString(result, &value->repeat); + // Ark_Number duration result->append(", "); - result->append(".contentWidth="); - WriteToString(result, &value->contentWidth); - // Ark_Number contentHeight + result->append(".duration="); + WriteToString(result, &value->duration); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LongPressGestureInterface_Invoke_Literal* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LongPressGestureInterface_Invoke_Literal& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_MarqueeOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_MarqueeOptions* value) { + result->append("{"); + // Ark_Boolean start + result->append(".start="); + WriteToString(result, value->start); + // Ark_Number step result->append(", "); - result->append(".contentHeight="); - WriteToString(result, &value->contentHeight); - // Ark_Number contentOffsetX + result->append(".step="); + WriteToString(result, &value->step); + // Ark_Number loop result->append(", "); - result->append(".contentOffsetX="); - WriteToString(result, &value->contentOffsetX); - // Ark_Number contentOffsetY + result->append(".loop="); + WriteToString(result, &value->loop); + // Ark_Boolean fromStart result->append(", "); - result->append(".contentOffsetY="); - WriteToString(result, &value->contentOffsetY); + result->append(".fromStart="); + WriteToString(result, &value->fromStart); + // Ark_String src + result->append(", "); + result->append(".src="); + WriteToString(result, &value->src); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ImageCompleteEvent* value) { +inline void WriteToString(std::string* result, const Opt_MarqueeOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32047,21 +36924,21 @@ inline void WriteToString(std::string* result, const Opt_ImageCompleteEvent* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageCompleteEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_MarqueeOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageData& value) +inline Ark_RuntimeType runtimeType(const Ark_Matrix2D& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ImageData value) { +inline void WriteToString(std::string* result, const Ark_Matrix2D value) { WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_ImageData* value) { +inline void WriteToString(std::string* result, const Opt_Matrix2D* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32074,57 +36951,85 @@ inline void WriteToString(std::string* result, const Opt_ImageData* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageData& value) +inline Ark_RuntimeType runtimeType(const Opt_Matrix2D& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageLoadResult& value) +inline Ark_RuntimeType runtimeType(const Ark_Matrix4& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ImageLoadResult* value) { +inline void WriteToString(std::string* result, const Ark_Matrix4* value) { result->append("{"); - // Ark_Number width - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Number height + // Ark_Number value0 + result->append(".value0="); + WriteToString(result, &value->value0); + // Ark_Number value1 result->append(", "); - result->append(".height="); - WriteToString(result, &value->height); - // Ark_Number componentWidth + result->append(".value1="); + WriteToString(result, &value->value1); + // Ark_Number value2 result->append(", "); - result->append(".componentWidth="); - WriteToString(result, &value->componentWidth); - // Ark_Number componentHeight + result->append(".value2="); + WriteToString(result, &value->value2); + // Ark_Number value3 result->append(", "); - result->append(".componentHeight="); - WriteToString(result, &value->componentHeight); - // Ark_Number loadingStatus + result->append(".value3="); + WriteToString(result, &value->value3); + // Ark_Number value4 result->append(", "); - result->append(".loadingStatus="); - WriteToString(result, &value->loadingStatus); - // Ark_Number contentWidth + result->append(".value4="); + WriteToString(result, &value->value4); + // Ark_Number value5 result->append(", "); - result->append(".contentWidth="); - WriteToString(result, &value->contentWidth); - // Ark_Number contentHeight + result->append(".value5="); + WriteToString(result, &value->value5); + // Ark_Number value6 result->append(", "); - result->append(".contentHeight="); - WriteToString(result, &value->contentHeight); - // Ark_Number contentOffsetX + result->append(".value6="); + WriteToString(result, &value->value6); + // Ark_Number value7 result->append(", "); - result->append(".contentOffsetX="); - WriteToString(result, &value->contentOffsetX); - // Ark_Number contentOffsetY + result->append(".value7="); + WriteToString(result, &value->value7); + // Ark_Number value8 result->append(", "); - result->append(".contentOffsetY="); - WriteToString(result, &value->contentOffsetY); + result->append(".value8="); + WriteToString(result, &value->value8); + // Ark_Number value9 + result->append(", "); + result->append(".value9="); + WriteToString(result, &value->value9); + // Ark_Number value10 + result->append(", "); + result->append(".value10="); + WriteToString(result, &value->value10); + // Ark_Number value11 + result->append(", "); + result->append(".value11="); + WriteToString(result, &value->value11); + // Ark_Number value12 + result->append(", "); + result->append(".value12="); + WriteToString(result, &value->value12); + // Ark_Number value13 + result->append(", "); + result->append(".value13="); + WriteToString(result, &value->value13); + // Ark_Number value14 + result->append(", "); + result->append(".value14="); + WriteToString(result, &value->value14); + // Ark_Number value15 + result->append(", "); + result->append(".value15="); + WriteToString(result, &value->value15); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ImageLoadResult* value) { +inline void WriteToString(std::string* result, const Opt_Matrix4* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32137,29 +37042,167 @@ inline void WriteToString(std::string* result, const Opt_ImageLoadResult* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageLoadResult& value) +inline Ark_RuntimeType runtimeType(const Opt_Matrix4& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageSourceSize& value) +inline Ark_RuntimeType runtimeType(const Ark_matrix4_Matrix4TransformPoint& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ImageSourceSize* value) { +inline void WriteToString(std::string* result, const Ark_matrix4_Matrix4TransformPoint* value) { result->append("{"); - // Ark_Number width - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Number height + // Ark_Number value0 + result->append(".value0="); + WriteToString(result, &value->value0); + // Ark_Number value1 + result->append(", "); + result->append(".value1="); + WriteToString(result, &value->value1); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_matrix4_Matrix4TransformPoint* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_matrix4_Matrix4TransformPoint& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_matrix4_PolyToPolyOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_matrix4_PolyToPolyOptions* value) { + result->append("{"); + // Array_common2D_Point src + result->append(".src="); + WriteToString(result, &value->src); + // Ark_Number srcIndex + result->append(", "); + result->append(".srcIndex="); + WriteToString(result, &value->srcIndex); + // Array_common2D_Point dst + result->append(", "); + result->append(".dst="); + WriteToString(result, &value->dst); + // Ark_Number dstIndex + result->append(", "); + result->append(".dstIndex="); + WriteToString(result, &value->dstIndex); + // Ark_Number pointCount + result->append(", "); + result->append(".pointCount="); + WriteToString(result, &value->pointCount); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_matrix4_PolyToPolyOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_matrix4_PolyToPolyOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Matrix4Result& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_Matrix4Result* value) { + result->append("{"); + // Ark_Number value0 + result->append(".value0="); + WriteToString(result, &value->value0); + // Ark_Number value1 + result->append(", "); + result->append(".value1="); + WriteToString(result, &value->value1); + // Ark_Number value2 + result->append(", "); + result->append(".value2="); + WriteToString(result, &value->value2); + // Ark_Number value3 + result->append(", "); + result->append(".value3="); + WriteToString(result, &value->value3); + // Ark_Number value4 + result->append(", "); + result->append(".value4="); + WriteToString(result, &value->value4); + // Ark_Number value5 + result->append(", "); + result->append(".value5="); + WriteToString(result, &value->value5); + // Ark_Number value6 + result->append(", "); + result->append(".value6="); + WriteToString(result, &value->value6); + // Ark_Number value7 result->append(", "); - result->append(".height="); - WriteToString(result, &value->height); + result->append(".value7="); + WriteToString(result, &value->value7); + // Ark_Number value8 + result->append(", "); + result->append(".value8="); + WriteToString(result, &value->value8); + // Ark_Number value9 + result->append(", "); + result->append(".value9="); + WriteToString(result, &value->value9); + // Ark_Number value10 + result->append(", "); + result->append(".value10="); + WriteToString(result, &value->value10); + // Ark_Number value11 + result->append(", "); + result->append(".value11="); + WriteToString(result, &value->value11); + // Ark_Number value12 + result->append(", "); + result->append(".value12="); + WriteToString(result, &value->value12); + // Ark_Number value13 + result->append(", "); + result->append(".value13="); + WriteToString(result, &value->value13); + // Ark_Number value14 + result->append(", "); + result->append(".value14="); + WriteToString(result, &value->value14); + // Ark_Number value15 + result->append(", "); + result->append(".value15="); + WriteToString(result, &value->value15); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ImageSourceSize* value) { +inline void WriteToString(std::string* result, const Opt_Matrix4Result* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32172,34 +37215,26 @@ inline void WriteToString(std::string* result, const Opt_ImageSourceSize* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageSourceSize& value) +inline Ark_RuntimeType runtimeType(const Opt_Matrix4Result& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_InputCounterOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Measurable& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_InputCounterOptions* value) { - result->append("{"); - // Ark_Number thresholdPercentage - result->append(".thresholdPercentage="); - WriteToString(result, &value->thresholdPercentage); - // Ark_Boolean highlightBorder - result->append(", "); - result->append(".highlightBorder="); - WriteToString(result, &value->highlightBorder); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_Measurable value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_InputCounterOptions* value) { +inline void WriteToString(std::string* result, const Opt_Measurable* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -32207,29 +37242,29 @@ inline void WriteToString(std::string* result, const Opt_InputCounterOptions* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_InputCounterOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Measurable& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_InsertValue& value) +inline Ark_RuntimeType runtimeType(const Ark_MeasureResult& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_InsertValue* value) { +inline void WriteToString(std::string* result, const Ark_MeasureResult* value) { result->append("{"); - // Ark_Number insertOffset - result->append(".insertOffset="); - WriteToString(result, &value->insertOffset); - // Ark_String insertValue + // Ark_Number width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Number height result->append(", "); - result->append(".insertValue="); - WriteToString(result, &value->insertValue); + result->append(".height="); + WriteToString(result, &value->height); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_InsertValue* value) { +inline void WriteToString(std::string* result, const Opt_MeasureResult* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32242,97 +37277,33 @@ inline void WriteToString(std::string* result, const Opt_InsertValue* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_InsertValue& value) +inline Ark_RuntimeType runtimeType(const Opt_MeasureResult& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_intl_DateTimeOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_MessageEvents& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_intl_DateTimeOptions* value) { +inline void WriteToString(std::string* result, const Ark_MessageEvents* value) { result->append("{"); - // Ark_String locale - result->append(".locale="); - WriteToString(result, &value->locale); - // Ark_String dateStyle - result->append(", "); - result->append(".dateStyle="); - WriteToString(result, &value->dateStyle); - // Ark_String timeStyle - result->append(", "); - result->append(".timeStyle="); - WriteToString(result, &value->timeStyle); - // Ark_String hourCycle - result->append(", "); - result->append(".hourCycle="); - WriteToString(result, &value->hourCycle); - // Ark_String timeZone - result->append(", "); - result->append(".timeZone="); - WriteToString(result, &value->timeZone); - // Ark_String numberingSystem - result->append(", "); - result->append(".numberingSystem="); - WriteToString(result, &value->numberingSystem); - // Ark_Boolean hour12 - result->append(", "); - result->append(".hour12="); - WriteToString(result, &value->hour12); - // Ark_String weekday - result->append(", "); - result->append(".weekday="); - WriteToString(result, &value->weekday); - // Ark_String era - result->append(", "); - result->append(".era="); - WriteToString(result, &value->era); - // Ark_String year - result->append(", "); - result->append(".year="); - WriteToString(result, &value->year); - // Ark_String month - result->append(", "); - result->append(".month="); - WriteToString(result, &value->month); - // Ark_String day - result->append(", "); - result->append(".day="); - WriteToString(result, &value->day); - // Ark_String hour - result->append(", "); - result->append(".hour="); - WriteToString(result, &value->hour); - // Ark_String minute - result->append(", "); - result->append(".minute="); - WriteToString(result, &value->minute); - // Ark_String second - result->append(", "); - result->append(".second="); - WriteToString(result, &value->second); - // Ark_String timeZoneName - result->append(", "); - result->append(".timeZoneName="); - WriteToString(result, &value->timeZoneName); - // Ark_String dayPeriod - result->append(", "); - result->append(".dayPeriod="); - WriteToString(result, &value->dayPeriod); - // Ark_String localeMatcher + // Ark_String type + result->append(".type="); + WriteToString(result, &value->type); + // Ark_Int64 timeStamp result->append(", "); - result->append(".localeMatcher="); - WriteToString(result, &value->localeMatcher); - // Ark_String formatMatcher + result->append(".timeStamp="); + WriteToString(result, value->timeStamp); + // Ark_Object data result->append(", "); - result->append(".formatMatcher="); - WriteToString(result, &value->formatMatcher); + result->append(".data="); + WriteToString(result, &value->data); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_intl_DateTimeOptions* value) { +inline void WriteToString(std::string* result, const Opt_MessageEvents* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32345,37 +37316,29 @@ inline void WriteToString(std::string* result, const Opt_intl_DateTimeOptions* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_intl_DateTimeOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_MessageEvents& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_InvertOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_MotionBlurAnchor& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_InvertOptions* value) { +inline void WriteToString(std::string* result, const Ark_MotionBlurAnchor* value) { result->append("{"); - // Ark_Number low - result->append(".low="); - WriteToString(result, &value->low); - // Ark_Number high - result->append(", "); - result->append(".high="); - WriteToString(result, &value->high); - // Ark_Number threshold - result->append(", "); - result->append(".threshold="); - WriteToString(result, &value->threshold); - // Ark_Number thresholdRange + // Ark_Number x + result->append(".x="); + WriteToString(result, &value->x); + // Ark_Number y result->append(", "); - result->append(".thresholdRange="); - WriteToString(result, &value->thresholdRange); + result->append(".y="); + WriteToString(result, &value->y); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_InvertOptions* value) { +inline void WriteToString(std::string* result, const Opt_MotionBlurAnchor* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32388,29 +37351,29 @@ inline void WriteToString(std::string* result, const Opt_InvertOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_InvertOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_MotionBlurAnchor& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ItemDragInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_MotionBlurOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ItemDragInfo* value) { +inline void WriteToString(std::string* result, const Ark_MotionBlurOptions* value) { result->append("{"); - // Ark_Number x - result->append(".x="); - WriteToString(result, &value->x); - // Ark_Number y + // Ark_Number radius + result->append(".radius="); + WriteToString(result, &value->radius); + // Ark_MotionBlurAnchor anchor result->append(", "); - result->append(".y="); - WriteToString(result, &value->y); + result->append(".anchor="); + WriteToString(result, &value->anchor); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ItemDragInfo* value) { +inline void WriteToString(std::string* result, const Opt_MotionBlurOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32423,25 +37386,37 @@ inline void WriteToString(std::string* result, const Opt_ItemDragInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ItemDragInfo& value) +inline Ark_RuntimeType runtimeType(const Opt_MotionBlurOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_KeyboardOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_MotionPathOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_KeyboardOptions* value) { +inline void WriteToString(std::string* result, const Ark_MotionPathOptions* value) { result->append("{"); - // Ark_Boolean supportAvoidance - result->append(".supportAvoidance="); - WriteToString(result, &value->supportAvoidance); + // Ark_String path + result->append(".path="); + WriteToString(result, &value->path); + // Ark_Number from + result->append(", "); + result->append(".from="); + WriteToString(result, &value->from); + // Ark_Number to + result->append(", "); + result->append(".to="); + WriteToString(result, &value->to); + // Ark_Boolean rotatable + result->append(", "); + result->append(".rotatable="); + WriteToString(result, &value->rotatable); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_KeyboardOptions* value) { +inline void WriteToString(std::string* result, const Opt_MotionPathOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32454,21 +37429,21 @@ inline void WriteToString(std::string* result, const Opt_KeyboardOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_KeyboardOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_MotionPathOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_KeyEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_MutableStyledString& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_KeyEvent value) { +inline void WriteToString(std::string* result, const Ark_MutableStyledString value) { WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_KeyEvent* value) { +inline void WriteToString(std::string* result, const Opt_MutableStyledString* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32481,33 +37456,29 @@ inline void WriteToString(std::string* result, const Opt_KeyEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_KeyEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_MutableStyledString& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LayoutConstraint& value) +inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedVisibilityInfo& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_LayoutConstraint* value) { +inline void WriteToString(std::string* result, const Ark_NativeEmbedVisibilityInfo* value) { result->append("{"); - // Ark_Size maxSize - result->append(".maxSize="); - WriteToString(result, &value->maxSize); - // Ark_Size minSize - result->append(", "); - result->append(".minSize="); - WriteToString(result, &value->minSize); - // Ark_Size percentReference + // Ark_Boolean visibility + result->append(".visibility="); + WriteToString(result, value->visibility); + // Ark_String embedId result->append(", "); - result->append(".percentReference="); - WriteToString(result, &value->percentReference); + result->append(".embedId="); + WriteToString(result, &value->embedId); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_LayoutConstraint* value) { +inline void WriteToString(std::string* result, const Opt_NativeEmbedVisibilityInfo* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32520,26 +37491,46 @@ inline void WriteToString(std::string* result, const Opt_LayoutConstraint* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LayoutConstraint& 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_LengthMetrics& value) +inline Ark_RuntimeType runtimeType(const Ark_NavContentInfo& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_LengthMetrics value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_NavContentInfo* value) { + result->append("{"); + // Ark_String name + result->append(".name="); + WriteToString(result, &value->name); + // Ark_Number index + result->append(", "); + result->append(".index="); + WriteToString(result, &value->index); + // Ark_NavDestinationMode mode + result->append(", "); + result->append(".mode="); + WriteToString(result, &value->mode); + // Ark_Object param + result->append(", "); + result->append(".param="); + WriteToString(result, &value->param); + // Ark_String navDestinationId + result->append(", "); + result->append(".navDestinationId="); + WriteToString(result, &value->navDestinationId); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_LengthMetrics* value) { +inline void WriteToString(std::string* result, const Opt_NavContentInfo* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -32547,26 +37538,46 @@ inline void WriteToString(std::string* result, const Opt_LengthMetrics* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LengthMetrics& value) +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_LetterSpacingStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_NavDestinationTransition& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_LetterSpacingStyle value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_NavDestinationTransition* value) { + result->append("{"); + // Callback_Void onTransitionEnd + result->append(".onTransitionEnd="); + WriteToString(result, &value->onTransitionEnd); + // Ark_Number duration + result->append(", "); + result->append(".duration="); + WriteToString(result, &value->duration); + // Ark_curves_Curve curve + result->append(", "); + result->append(".curve="); + WriteToString(result, &value->curve); + // Ark_Number delay + result->append(", "); + result->append(".delay="); + WriteToString(result, &value->delay); + // Callback_Void event + result->append(", "); + result->append(".event="); + WriteToString(result, &value->event); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_LetterSpacingStyle* value) { +inline void WriteToString(std::string* result, const Opt_NavDestinationTransition* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -32574,29 +37585,37 @@ inline void WriteToString(std::string* result, const Opt_LetterSpacingStyle* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LetterSpacingStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_NavDestinationTransition& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LinearGradientBlurOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_NavigationAnimatedTransition& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_LinearGradientBlurOptions* value) { +inline void WriteToString(std::string* result, const Ark_NavigationAnimatedTransition* value) { result->append("{"); - // Array_FractionStop fractionStops - result->append(".fractionStops="); - WriteToString(result, &value->fractionStops); - // Ark_GradientDirection direction + // Callback_Boolean_Void onTransitionEnd + result->append(".onTransitionEnd="); + WriteToString(result, &value->onTransitionEnd); + // Ark_Number timeout result->append(", "); - result->append(".direction="); - WriteToString(result, value->direction); + 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_LinearGradientBlurOptions* value) { +inline void WriteToString(std::string* result, const Opt_NavigationAnimatedTransition* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32609,37 +37628,33 @@ inline void WriteToString(std::string* result, const Opt_LinearGradientBlurOptio result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LinearGradientBlurOptions& value) +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_LinearGradientOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_NavigationInterception& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_LinearGradientOptions* value) { +inline void WriteToString(std::string* result, const Ark_NavigationInterception* value) { result->append("{"); - // Ark_Union_Number_String angle - result->append(".angle="); - WriteToString(result, &value->angle); - // Ark_GradientDirection direction - result->append(", "); - result->append(".direction="); - WriteToString(result, &value->direction); - // Array_Tuple_ResourceColor_Number colors + // InterceptionShowCallback willShow + result->append(".willShow="); + WriteToString(result, &value->willShow); + // InterceptionShowCallback didShow result->append(", "); - result->append(".colors="); - WriteToString(result, &value->colors); - // Ark_Boolean repeating + result->append(".didShow="); + WriteToString(result, &value->didShow); + // InterceptionModeCallback modeChange result->append(", "); - result->append(".repeating="); - WriteToString(result, &value->repeating); + result->append(".modeChange="); + WriteToString(result, &value->modeChange); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_LinearGradientOptions* value) { +inline void WriteToString(std::string* result, const Opt_NavigationInterception* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32652,29 +37667,29 @@ inline void WriteToString(std::string* result, const Opt_LinearGradientOptions* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LinearGradientOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_NavigationInterception& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LinearIndicatorStartOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_NavigationOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_LinearIndicatorStartOptions* value) { +inline void WriteToString(std::string* result, const Ark_NavigationOptions* value) { result->append("{"); - // Ark_Number interval - result->append(".interval="); - WriteToString(result, &value->interval); - // Ark_Number duration + // Ark_LaunchMode launchMode + result->append(".launchMode="); + WriteToString(result, &value->launchMode); + // Ark_Boolean animated result->append(", "); - result->append(".duration="); - WriteToString(result, &value->duration); + result->append(".animated="); + WriteToString(result, &value->animated); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_LinearIndicatorStartOptions* value) { +inline void WriteToString(std::string* result, const Opt_NavigationOptions* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32687,21 +37702,21 @@ inline void WriteToString(std::string* result, const Opt_LinearIndicatorStartOpt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LinearIndicatorStartOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_NavigationOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LineHeightStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_NavPathInfo& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_LineHeightStyle value) { +inline void WriteToString(std::string* result, const Ark_NavPathInfo value) { WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_LineHeightStyle* value) { +inline void WriteToString(std::string* result, const Opt_NavPathInfo* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32714,45 +37729,29 @@ inline void WriteToString(std::string* result, const Opt_LineHeightStyle* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LineHeightStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_NavPathInfo& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ListItemGroupOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_NestedScrollInfo& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ListItemGroupOptions* value) { +inline void WriteToString(std::string* result, const Ark_NestedScrollInfo* value) { result->append("{"); - // CustomNodeBuilder header - result->append(".header="); - WriteToString(result, &value->header); - // Ark_ComponentContent headerComponent - result->append(", "); - result->append(".headerComponent="); - WriteToString(result, &value->headerComponent); - // CustomNodeBuilder footer - result->append(", "); - result->append(".footer="); - WriteToString(result, &value->footer); - // Ark_ComponentContent footerComponent - result->append(", "); - result->append(".footerComponent="); - WriteToString(result, &value->footerComponent); - // Ark_Union_Number_String space - result->append(", "); - result->append(".space="); - WriteToString(result, &value->space); - // Ark_ListItemGroupStyle style + // Ark_Scroller parent + result->append(".parent="); + WriteToString(result, value->parent); + // Ark_Scroller child result->append(", "); - result->append(".style="); - WriteToString(result, &value->style); + result->append(".child="); + WriteToString(result, value->child); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ListItemGroupOptions* value) { +inline void WriteToString(std::string* result, const Opt_NestedScrollInfo* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32765,25 +37764,37 @@ inline void WriteToString(std::string* result, const Opt_ListItemGroupOptions* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ListItemGroupOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_NestedScrollInfo& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ListItemOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_NestedScrollOptionsExt& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ListItemOptions* value) { +inline void WriteToString(std::string* result, const Ark_NestedScrollOptionsExt* value) { result->append("{"); - // Ark_ListItemStyle style - result->append(".style="); - WriteToString(result, &value->style); + // 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_ListItemOptions* value) { +inline void WriteToString(std::string* result, const Opt_NestedScrollOptionsExt* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32796,33 +37807,33 @@ inline void WriteToString(std::string* result, const Opt_ListItemOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ListItemOptions& 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_ListOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_OnAlertEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ListOptions* value) { +inline void WriteToString(std::string* result, const Ark_OnAlertEvent* value) { result->append("{"); - // Ark_Number initialIndex - result->append(".initialIndex="); - WriteToString(result, &value->initialIndex); - // Ark_Union_Number_String space + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); + // Ark_String message result->append(", "); - result->append(".space="); - WriteToString(result, &value->space); - // Ark_Scroller scroller + result->append(".message="); + WriteToString(result, &value->message); + // Ark_JsResult result result->append(", "); - result->append(".scroller="); - WriteToString(result, &value->scroller); + result->append(".result="); + WriteToString(result, value->result); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ListOptions* value) { +inline void WriteToString(std::string* result, const Opt_OnAlertEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32835,29 +37846,33 @@ 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_OnAlertEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LocalizedHorizontalAlignParam& value) +inline Ark_RuntimeType runtimeType(const Ark_OnBeforeUnloadEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_LocalizedHorizontalAlignParam* value) { +inline void WriteToString(std::string* result, const Ark_OnBeforeUnloadEvent* value) { result->append("{"); - // Ark_String anchor - result->append(".anchor="); - WriteToString(result, &value->anchor); - // Ark_HorizontalAlign align + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); + // Ark_String message result->append(", "); - result->append(".align="); - WriteToString(result, value->align); + 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_LocalizedHorizontalAlignParam* value) { +inline void WriteToString(std::string* result, const Opt_OnBeforeUnloadEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32870,29 +37885,41 @@ inline void WriteToString(std::string* result, const Opt_LocalizedHorizontalAlig result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LocalizedHorizontalAlignParam& 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 Ark_LocalizedVerticalAlignParam& value) +inline Ark_RuntimeType runtimeType(const Ark_OnClientAuthenticationEvent& value) { return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_LocalizedVerticalAlignParam* value) { - result->append("{"); - // Ark_String anchor - result->append(".anchor="); - WriteToString(result, &value->anchor); - // Ark_VerticalAlign align +} +template <> +inline void WriteToString(std::string* result, const Ark_OnClientAuthenticationEvent* value) { + result->append("{"); + // Ark_ClientAuthenticationHandler handler + result->append(".handler="); + WriteToString(result, value->handler); + // Ark_String host result->append(", "); - result->append(".align="); - WriteToString(result, value->align); + 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_LocalizedVerticalAlignParam* value) { +inline void WriteToString(std::string* result, const Opt_OnClientAuthenticationEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32905,37 +37932,33 @@ inline void WriteToString(std::string* result, const Opt_LocalizedVerticalAlignP result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LocalizedVerticalAlignParam& 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 Ark_LongPressGestureHandlerOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_OnConfirmEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_LongPressGestureHandlerOptions* value) { +inline void WriteToString(std::string* result, const Ark_OnConfirmEvent* value) { result->append("{"); - // Ark_Boolean isFingerCountLimited - result->append(".isFingerCountLimited="); - WriteToString(result, &value->isFingerCountLimited); - // Ark_Number fingers - result->append(", "); - result->append(".fingers="); - WriteToString(result, &value->fingers); - // Ark_Boolean repeat + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); + // Ark_String message result->append(", "); - result->append(".repeat="); - WriteToString(result, &value->repeat); - // Ark_Number duration + result->append(".message="); + WriteToString(result, &value->message); + // Ark_JsResult result result->append(", "); - result->append(".duration="); - WriteToString(result, &value->duration); + result->append(".result="); + WriteToString(result, value->result); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_LongPressGestureHandlerOptions* value) { +inline void WriteToString(std::string* result, const Opt_OnConfirmEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32948,33 +37971,29 @@ inline void WriteToString(std::string* result, const Opt_LongPressGestureHandler result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LongPressGestureHandlerOptions& 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 Ark_LongPressGestureInterface_Invoke_Literal& value) +inline Ark_RuntimeType runtimeType(const Ark_OnContextMenuShowEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_LongPressGestureInterface_Invoke_Literal* value) { +inline void WriteToString(std::string* result, const Ark_OnContextMenuShowEvent* value) { result->append("{"); - // Ark_Number fingers - result->append(".fingers="); - WriteToString(result, &value->fingers); - // Ark_Boolean repeat - result->append(", "); - result->append(".repeat="); - WriteToString(result, &value->repeat); - // Ark_Number duration + // Ark_WebContextMenuParam param + result->append(".param="); + WriteToString(result, value->param); + // Ark_WebContextMenuResult result result->append(", "); - result->append(".duration="); - WriteToString(result, &value->duration); + result->append(".result="); + WriteToString(result, value->result); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_LongPressGestureInterface_Invoke_Literal* value) { +inline void WriteToString(std::string* result, const Opt_OnContextMenuShowEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -32987,41 +38006,41 @@ inline void WriteToString(std::string* result, const Opt_LongPressGestureInterfa result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LongPressGestureInterface_Invoke_Literal& 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 Ark_MarqueeOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_OnDownloadStartEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_MarqueeOptions* value) { +inline void WriteToString(std::string* result, const Ark_OnDownloadStartEvent* value) { result->append("{"); - // Ark_Boolean start - result->append(".start="); - WriteToString(result, value->start); - // Ark_Number step + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); + // Ark_String userAgent result->append(", "); - result->append(".step="); - WriteToString(result, &value->step); - // Ark_Number loop + result->append(".userAgent="); + WriteToString(result, &value->userAgent); + // Ark_String contentDisposition result->append(", "); - result->append(".loop="); - WriteToString(result, &value->loop); - // Ark_Boolean fromStart + result->append(".contentDisposition="); + WriteToString(result, &value->contentDisposition); + // Ark_String mimetype result->append(", "); - result->append(".fromStart="); - WriteToString(result, &value->fromStart); - // Ark_String src + result->append(".mimetype="); + WriteToString(result, &value->mimetype); + // Ark_Number contentLength result->append(", "); - result->append(".src="); - WriteToString(result, &value->src); + result->append(".contentLength="); + WriteToString(result, &value->contentLength); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_MarqueeOptions* value) { +inline void WriteToString(std::string* result, const Opt_OnDownloadStartEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -33034,26 +38053,34 @@ inline void WriteToString(std::string* result, const Opt_MarqueeOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MarqueeOptions& 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 Ark_Matrix2D& value) +inline Ark_RuntimeType runtimeType(const Ark_OnErrorReceiveEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Matrix2D value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_OnErrorReceiveEvent* 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); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Matrix2D* value) { +inline void WriteToString(std::string* result, const Opt_OnErrorReceiveEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -33061,85 +38088,29 @@ inline void WriteToString(std::string* result, const Opt_Matrix2D* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Matrix2D& 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 Ark_Matrix4& value) +inline Ark_RuntimeType runtimeType(const Ark_OnGeolocationShowEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Matrix4* value) { +inline void WriteToString(std::string* result, const Ark_OnGeolocationShowEvent* value) { result->append("{"); - // Ark_Number value0 - result->append(".value0="); - WriteToString(result, &value->value0); - // Ark_Number value1 - result->append(", "); - result->append(".value1="); - WriteToString(result, &value->value1); - // Ark_Number value2 - result->append(", "); - result->append(".value2="); - WriteToString(result, &value->value2); - // Ark_Number value3 - result->append(", "); - result->append(".value3="); - WriteToString(result, &value->value3); - // Ark_Number value4 - result->append(", "); - result->append(".value4="); - WriteToString(result, &value->value4); - // Ark_Number value5 - result->append(", "); - result->append(".value5="); - WriteToString(result, &value->value5); - // Ark_Number value6 - result->append(", "); - result->append(".value6="); - WriteToString(result, &value->value6); - // Ark_Number value7 - result->append(", "); - result->append(".value7="); - WriteToString(result, &value->value7); - // Ark_Number value8 - result->append(", "); - result->append(".value8="); - WriteToString(result, &value->value8); - // Ark_Number value9 - result->append(", "); - result->append(".value9="); - WriteToString(result, &value->value9); - // Ark_Number value10 - result->append(", "); - result->append(".value10="); - WriteToString(result, &value->value10); - // Ark_Number value11 - result->append(", "); - result->append(".value11="); - WriteToString(result, &value->value11); - // Ark_Number value12 - result->append(", "); - result->append(".value12="); - WriteToString(result, &value->value12); - // Ark_Number value13 - result->append(", "); - result->append(".value13="); - WriteToString(result, &value->value13); - // Ark_Number value14 - result->append(", "); - result->append(".value14="); - WriteToString(result, &value->value14); - // Ark_Number value15 + // Ark_String origin + result->append(".origin="); + WriteToString(result, &value->origin); + // Ark_JsGeolocation geolocation result->append(", "); - result->append(".value15="); - WriteToString(result, &value->value15); + result->append(".geolocation="); + WriteToString(result, value->geolocation); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Matrix4* value) { +inline void WriteToString(std::string* result, const Opt_OnGeolocationShowEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -33152,29 +38123,33 @@ inline void WriteToString(std::string* result, const Opt_Matrix4* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Matrix4& 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 Ark_matrix4_Matrix4TransformPoint& value) +inline Ark_RuntimeType runtimeType(const Ark_OnHttpAuthRequestEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_matrix4_Matrix4TransformPoint* value) { +inline void WriteToString(std::string* result, const Ark_OnHttpAuthRequestEvent* value) { result->append("{"); - // Ark_Number value0 - result->append(".value0="); - WriteToString(result, &value->value0); - // Ark_Number value1 + // Ark_HttpAuthHandler handler + result->append(".handler="); + WriteToString(result, value->handler); + // Ark_String host result->append(", "); - result->append(".value1="); - WriteToString(result, &value->value1); + result->append(".host="); + WriteToString(result, &value->host); + // Ark_String realm + result->append(", "); + result->append(".realm="); + WriteToString(result, &value->realm); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_matrix4_Matrix4TransformPoint* value) { +inline void WriteToString(std::string* result, const Opt_OnHttpAuthRequestEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -33187,41 +38162,29 @@ inline void WriteToString(std::string* result, const Opt_matrix4_Matrix4Transfor result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_matrix4_Matrix4TransformPoint& 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 Ark_matrix4_PolyToPolyOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_OnHttpErrorReceiveEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_matrix4_PolyToPolyOptions* value) { +inline void WriteToString(std::string* result, const Ark_OnHttpErrorReceiveEvent* value) { result->append("{"); - // Array_common2D_Point src - result->append(".src="); - WriteToString(result, &value->src); - // Ark_Number srcIndex - result->append(", "); - result->append(".srcIndex="); - WriteToString(result, &value->srcIndex); - // Array_common2D_Point dst - result->append(", "); - result->append(".dst="); - WriteToString(result, &value->dst); - // Ark_Number dstIndex - result->append(", "); - result->append(".dstIndex="); - WriteToString(result, &value->dstIndex); - // Ark_Number pointCount + // Ark_WebResourceRequest request + result->append(".request="); + WriteToString(result, value->request); + // Ark_WebResourceResponse response result->append(", "); - result->append(".pointCount="); - WriteToString(result, &value->pointCount); + result->append(".response="); + WriteToString(result, value->response); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_matrix4_PolyToPolyOptions* value) { +inline void WriteToString(std::string* result, const Opt_OnHttpErrorReceiveEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -33234,85 +38197,25 @@ inline void WriteToString(std::string* result, const Opt_matrix4_PolyToPolyOptio result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_matrix4_PolyToPolyOptions& 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 Ark_Matrix4Result& value) +inline Ark_RuntimeType runtimeType(const Ark_OnInterceptRequestEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Matrix4Result* value) { +inline void WriteToString(std::string* result, const Ark_OnInterceptRequestEvent* value) { result->append("{"); - // Ark_Number value0 - result->append(".value0="); - WriteToString(result, &value->value0); - // Ark_Number value1 - result->append(", "); - result->append(".value1="); - WriteToString(result, &value->value1); - // Ark_Number value2 - result->append(", "); - result->append(".value2="); - WriteToString(result, &value->value2); - // Ark_Number value3 - result->append(", "); - result->append(".value3="); - WriteToString(result, &value->value3); - // Ark_Number value4 - result->append(", "); - result->append(".value4="); - WriteToString(result, &value->value4); - // Ark_Number value5 - result->append(", "); - result->append(".value5="); - WriteToString(result, &value->value5); - // Ark_Number value6 - result->append(", "); - result->append(".value6="); - WriteToString(result, &value->value6); - // Ark_Number value7 - result->append(", "); - result->append(".value7="); - WriteToString(result, &value->value7); - // Ark_Number value8 - result->append(", "); - result->append(".value8="); - WriteToString(result, &value->value8); - // Ark_Number value9 - result->append(", "); - result->append(".value9="); - WriteToString(result, &value->value9); - // Ark_Number value10 - result->append(", "); - result->append(".value10="); - WriteToString(result, &value->value10); - // Ark_Number value11 - result->append(", "); - result->append(".value11="); - WriteToString(result, &value->value11); - // Ark_Number value12 - result->append(", "); - result->append(".value12="); - WriteToString(result, &value->value12); - // Ark_Number value13 - result->append(", "); - result->append(".value13="); - WriteToString(result, &value->value13); - // Ark_Number value14 - result->append(", "); - result->append(".value14="); - WriteToString(result, &value->value14); - // Ark_Number value15 - result->append(", "); - result->append(".value15="); - WriteToString(result, &value->value15); + // Ark_WebResourceRequest request + result->append(".request="); + WriteToString(result, value->request); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Matrix4Result* value) { +inline void WriteToString(std::string* result, const Opt_OnInterceptRequestEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -33325,26 +38228,30 @@ inline void WriteToString(std::string* result, const Opt_Matrix4Result* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Matrix4Result& 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 Ark_Measurable& value) +inline Ark_RuntimeType runtimeType(const Ark_OnLoadInterceptEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Measurable value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_OnLoadInterceptEvent* value) { + result->append("{"); + // Ark_WebResourceRequest data + result->append(".data="); + WriteToString(result, value->data); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Measurable* value) { +inline void WriteToString(std::string* result, const Opt_OnLoadInterceptEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -33352,29 +38259,25 @@ inline void WriteToString(std::string* result, const Opt_Measurable* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Measurable& value) +inline Ark_RuntimeType runtimeType(const Opt_OnLoadInterceptEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MeasureResult& value) +inline Ark_RuntimeType runtimeType(const Ark_OnPageBeginEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_MeasureResult* value) { +inline void WriteToString(std::string* result, const Ark_OnPageBeginEvent* 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_String url + result->append(".url="); + WriteToString(result, &value->url); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_MeasureResult* value) { +inline void WriteToString(std::string* result, const Opt_OnPageBeginEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -33387,33 +38290,25 @@ inline void WriteToString(std::string* result, const Opt_MeasureResult* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MeasureResult& 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 Ark_MessageEvents& value) +inline Ark_RuntimeType runtimeType(const Ark_OnPageEndEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_MessageEvents* value) { +inline void WriteToString(std::string* result, const Ark_OnPageEndEvent* value) { result->append("{"); - // Ark_String type - result->append(".type="); - WriteToString(result, &value->type); - // Ark_Int64 timeStamp - result->append(", "); - result->append(".timeStamp="); - WriteToString(result, value->timeStamp); - // Ark_Object data - result->append(", "); - 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_MessageEvents* value) { +inline void WriteToString(std::string* result, const Opt_OnPageEndEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -33426,29 +38321,25 @@ inline void WriteToString(std::string* result, const Opt_MessageEvents* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MessageEvents& 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 Ark_MotionBlurAnchor& value) +inline Ark_RuntimeType runtimeType(const Ark_OnPageVisibleEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_MotionBlurAnchor* value) { +inline void WriteToString(std::string* result, const Ark_OnPageVisibleEvent* value) { result->append("{"); - // Ark_Number x - result->append(".x="); - WriteToString(result, &value->x); - // Ark_Number y - result->append(", "); - result->append(".y="); - WriteToString(result, &value->y); + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_MotionBlurAnchor* value) { +inline void WriteToString(std::string* result, const Opt_OnPageVisibleEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -33461,29 +38352,25 @@ inline void WriteToString(std::string* result, const Opt_MotionBlurAnchor* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MotionBlurAnchor& 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 Ark_MotionBlurOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_OnPermissionRequestEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_MotionBlurOptions* value) { +inline void WriteToString(std::string* result, const Ark_OnPermissionRequestEvent* value) { result->append("{"); - // Ark_Number radius - result->append(".radius="); - WriteToString(result, &value->radius); - // Ark_MotionBlurAnchor anchor - result->append(", "); - result->append(".anchor="); - WriteToString(result, &value->anchor); + // Ark_PermissionRequest request + result->append(".request="); + WriteToString(result, value->request); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_MotionBlurOptions* value) { +inline void WriteToString(std::string* result, const Opt_OnPermissionRequestEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -33496,37 +38383,37 @@ inline void WriteToString(std::string* result, const Opt_MotionBlurOptions* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MotionBlurOptions& 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 Ark_MotionPathOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_OnPromptEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_MotionPathOptions* value) { +inline void WriteToString(std::string* result, const Ark_OnPromptEvent* value) { result->append("{"); - // Ark_String path - result->append(".path="); - WriteToString(result, &value->path); - // Ark_Number from + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); + // Ark_String message result->append(", "); - result->append(".from="); - WriteToString(result, &value->from); - // Ark_Number to + result->append(".message="); + WriteToString(result, &value->message); + // Ark_String value result->append(", "); - result->append(".to="); - WriteToString(result, &value->to); - // Ark_Boolean rotatable + result->append(".value="); + WriteToString(result, &value->value); + // Ark_JsResult result result->append(", "); - result->append(".rotatable="); - WriteToString(result, &value->rotatable); + result->append(".result="); + WriteToString(result, value->result); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_MotionPathOptions* value) { +inline void WriteToString(std::string* result, const Opt_OnPromptEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -33539,26 +38426,34 @@ inline void WriteToString(std::string* result, const Opt_MotionPathOptions* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MotionPathOptions& 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 Ark_MutableStyledString& value) +inline Ark_RuntimeType runtimeType(const Ark_OnRefreshAccessedHistoryEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_MutableStyledString value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_OnRefreshAccessedHistoryEvent* value) { + result->append("{"); + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); + // Ark_Boolean isRefreshed + result->append(", "); + result->append(".isRefreshed="); + WriteToString(result, value->isRefreshed); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_MutableStyledString* value) { +inline void WriteToString(std::string* result, const Opt_OnRefreshAccessedHistoryEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -33566,41 +38461,25 @@ inline void WriteToString(std::string* result, const Opt_MutableStyledString* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MutableStyledString& 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 Ark_NavContentInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_OnRenderExitedEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NavContentInfo* value) { +inline void WriteToString(std::string* result, const Ark_OnRenderExitedEvent* value) { result->append("{"); - // Ark_String name - result->append(".name="); - WriteToString(result, &value->name); - // Ark_Number index - result->append(", "); - result->append(".index="); - WriteToString(result, &value->index); - // Ark_NavDestinationMode mode - result->append(", "); - result->append(".mode="); - WriteToString(result, &value->mode); - // Ark_Object param - result->append(", "); - result->append(".param="); - WriteToString(result, &value->param); - // Ark_String navDestinationId - result->append(", "); - result->append(".navDestinationId="); - WriteToString(result, &value->navDestinationId); + // Ark_RenderExitReason renderExitReason + result->append(".renderExitReason="); + WriteToString(result, value->renderExitReason); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_NavContentInfo* value) { +inline void WriteToString(std::string* result, const Opt_OnRenderExitedEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -33613,41 +38492,25 @@ inline void WriteToString(std::string* result, const Opt_NavContentInfo* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavContentInfo& 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 Ark_NavDestinationTransition& value) +inline Ark_RuntimeType runtimeType(const Ark_OnResourceLoadEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NavDestinationTransition* value) { +inline void WriteToString(std::string* result, const Ark_OnResourceLoadEvent* value) { result->append("{"); - // Callback_Void onTransitionEnd - result->append(".onTransitionEnd="); - WriteToString(result, &value->onTransitionEnd); - // Ark_Number duration - result->append(", "); - result->append(".duration="); - WriteToString(result, &value->duration); - // Ark_curves_Curve curve - result->append(", "); - result->append(".curve="); - WriteToString(result, &value->curve); - // Ark_Number delay - result->append(", "); - result->append(".delay="); - WriteToString(result, &value->delay); - // Callback_Void event - result->append(", "); - result->append(".event="); - WriteToString(result, &value->event); + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_NavDestinationTransition* value) { +inline void WriteToString(std::string* result, const Opt_OnResourceLoadEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -33660,37 +38523,25 @@ inline void WriteToString(std::string* result, const Opt_NavDestinationTransitio result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavDestinationTransition& 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 Ark_NavigationAnimatedTransition& value) +inline Ark_RuntimeType runtimeType(const Ark_OnScreenCaptureRequestEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NavigationAnimatedTransition* value) { +inline void WriteToString(std::string* result, const Ark_OnScreenCaptureRequestEvent* 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); + // Ark_ScreenCaptureHandler handler + result->append(".handler="); + WriteToString(result, value->handler); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_NavigationAnimatedTransition* value) { +inline void WriteToString(std::string* result, const Opt_OnScreenCaptureRequestEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -33703,33 +38554,33 @@ inline void WriteToString(std::string* result, const Opt_NavigationAnimatedTrans result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationAnimatedTransition& 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 Ark_NavigationInterception& value) +inline Ark_RuntimeType runtimeType(const Ark_OnSslErrorEventReceiveEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NavigationInterception* value) { +inline void WriteToString(std::string* result, const Ark_OnSslErrorEventReceiveEvent* value) { result->append("{"); - // InterceptionShowCallback willShow - result->append(".willShow="); - WriteToString(result, &value->willShow); - // InterceptionShowCallback didShow + // Ark_SslErrorHandler handler + result->append(".handler="); + WriteToString(result, value->handler); + // Ark_SslError error result->append(", "); - result->append(".didShow="); - WriteToString(result, &value->didShow); - // InterceptionModeCallback modeChange + result->append(".error="); + WriteToString(result, value->error); + // Array_Buffer certChainData result->append(", "); - result->append(".modeChange="); - WriteToString(result, &value->modeChange); + result->append(".certChainData="); + WriteToString(result, &value->certChainData); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_NavigationInterception* value) { +inline void WriteToString(std::string* result, const Opt_OnSslErrorEventReceiveEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -33742,29 +38593,25 @@ inline void WriteToString(std::string* result, const Opt_NavigationInterception* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationInterception& 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 Ark_NavigationOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_OnTitleReceiveEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NavigationOptions* value) { +inline void WriteToString(std::string* result, const Ark_OnTitleReceiveEvent* value) { result->append("{"); - // Ark_LaunchMode launchMode - result->append(".launchMode="); - WriteToString(result, &value->launchMode); - // Ark_Boolean animated - result->append(", "); - result->append(".animated="); - WriteToString(result, &value->animated); + // Ark_String title + result->append(".title="); + WriteToString(result, &value->title); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_NavigationOptions* value) { +inline void WriteToString(std::string* result, const Opt_OnTitleReceiveEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -33777,26 +38624,34 @@ inline void WriteToString(std::string* result, const Opt_NavigationOptions* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationOptions& 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 Ark_NavPathInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_OnTouchIconUrlReceivedEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NavPathInfo value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_OnTouchIconUrlReceivedEvent* value) { + result->append("{"); + // Ark_String url + result->append(".url="); + WriteToString(result, &value->url); + // Ark_Boolean precomposed + result->append(", "); + result->append(".precomposed="); + WriteToString(result, value->precomposed); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_NavPathInfo* value) { +inline void WriteToString(std::string* result, const Opt_OnTouchIconUrlReceivedEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(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); @@ -33804,29 +38659,37 @@ inline void WriteToString(std::string* result, const Opt_NavPathInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavPathInfo& 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 Ark_NestedScrollInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_OnWindowNewEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NestedScrollInfo* value) { +inline void WriteToString(std::string* result, const Ark_OnWindowNewEvent* value) { result->append("{"); - // Ark_Scroller parent - result->append(".parent="); - WriteToString(result, value->parent); - // Ark_Scroller child + // Ark_Boolean isAlert + result->append(".isAlert="); + WriteToString(result, value->isAlert); + // Ark_Boolean isUserTrigger result->append(", "); - result->append(".child="); - WriteToString(result, value->child); + 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_NestedScrollInfo* value) { +inline void WriteToString(std::string* result, const Opt_OnWindowNewEvent* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -33839,7 +38702,7 @@ inline void WriteToString(std::string* result, const Opt_NestedScrollInfo* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NestedScrollInfo& value) +inline Ark_RuntimeType runtimeType(const Opt_OnWindowNewEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -33961,6 +38824,45 @@ inline Ark_RuntimeType runtimeType(const Opt_PanGestureInterface_Invoke_Literal& return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_PathOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PathOptions* value) { + result->append("{"); + // Ark_Union_F64_String width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Union_F64_String height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + // Ark_String commands + result->append(", "); + result->append(".commands="); + WriteToString(result, &value->commands); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PathOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PathOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_PathShapeOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -34116,10 +39018,10 @@ inline Ark_RuntimeType runtimeType(const Ark_PluginComponentTemplate& value) template <> inline void WriteToString(std::string* result, const Ark_PluginComponentTemplate* value) { result->append("{"); - // Ark_String source + // Opt_String source result->append(".source="); WriteToString(result, &value->source); - // Ark_String bundleName + // Opt_String bundleName result->append(", "); result->append(".bundleName="); WriteToString(result, &value->bundleName); @@ -34151,9 +39053,9 @@ inline Ark_RuntimeType runtimeType(const Ark_PluginErrorData& value) template <> inline void WriteToString(std::string* result, const Ark_PluginErrorData* value) { result->append("{"); - // Ark_Number errcode + // Ark_Int32 errcode result->append(".errcode="); - WriteToString(result, &value->errcode); + WriteToString(result, value->errcode); // Ark_String msg result->append(", "); result->append(".msg="); @@ -34179,6 +39081,76 @@ inline Ark_RuntimeType runtimeType(const Opt_PluginErrorData& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_PolygonOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PolygonOptions* value) { + result->append("{"); + // Ark_Union_String_F64 width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Union_String_F64 height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PolygonOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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_PolylineOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PolylineOptions* value) { + result->append("{"); + // Ark_Union_String_F64 width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Union_String_F64 height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PolylineOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PolylineOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_PopInfo& value) { return INTEROP_RUNTIME_OBJECT; @@ -34623,6 +39595,45 @@ inline Ark_RuntimeType runtimeType(const Opt_RenderingContextSettings& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_RenderProcessNotRespondingData& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RenderProcessNotRespondingData* value) { + result->append("{"); + // Ark_String jsStack + result->append(".jsStack="); + WriteToString(result, &value->jsStack); + // Ark_Int32 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_RenderProcessNotRespondingData* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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_ReplaceSymbolEffect& value) { return INTEROP_RUNTIME_OBJECT; @@ -34668,7 +39679,7 @@ inline void WriteToString(std::string* result, const Ark_Resource* value) { result->append(", "); result->append(".id="); WriteToString(result, value->id); - // Array_String params + // Array_Union_String_I32_I64_F64_Resource params result->append(", "); result->append(".params="); WriteToString(result, &value->params); @@ -35162,6 +40173,49 @@ inline Ark_RuntimeType runtimeType(const Opt_RotationGestureHandlerOptions& valu return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_RoundedRectOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RoundedRectOptions* value) { + result->append("{"); + // Ark_Union_F64_String width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Union_F64_String height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + // Ark_Union_F64_String radiusWidth + result->append(", "); + result->append(".radiusWidth="); + WriteToString(result, &value->radiusWidth); + // Ark_Union_F64_String radiusHeight + result->append(", "); + result->append(".radiusHeight="); + WriteToString(result, &value->radiusHeight); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RoundedRectOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RoundedRectOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_RoundRect& value) { return INTEROP_RUNTIME_OBJECT; @@ -35384,6 +40438,72 @@ inline Ark_RuntimeType runtimeType(const Opt_ScaleSymbolEffect& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_ScreenCaptureConfig& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ScreenCaptureConfig* value) { + result->append("{"); + // Ark_WebCaptureMode captureMode + result->append(".captureMode="); + WriteToString(result, value->captureMode); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ScreenCaptureConfig* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ScreenCaptureConfig& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ScriptItem& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ScriptItem* 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); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ScriptItem* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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 Ark_ScrollAnimationOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -35528,6 +40648,49 @@ inline Ark_RuntimeType runtimeType(const Opt_ScrollPageOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_SelectionMenuOptionsExt& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SelectionMenuOptionsExt* value) { + result->append("{"); + // Callback_Void onAppear + result->append(".onAppear="); + WriteToString(result, &value->onAppear); + // Callback_Void onDisappear + result->append(", "); + result->append(".onDisappear="); + WriteToString(result, &value->onDisappear); + // CustomNodeBuilder preview + result->append(", "); + result->append(".preview="); + WriteToString(result, &value->preview); + // Ark_MenuType menuType + result->append(", "); + result->append(".menuType="); + WriteToString(result, &value->menuType); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SelectionMenuOptionsExt* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SelectionMenuOptionsExt& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_SelectionOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -35832,6 +40995,61 @@ 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_SslErrorEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SslErrorEvent* 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); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SslErrorEvent* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +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 Ark_StackOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -35905,21 +41123,21 @@ inline Ark_RuntimeType runtimeType(const Ark_SurfaceRect& value) template <> inline void WriteToString(std::string* result, const Ark_SurfaceRect* value) { result->append("{"); - // Ark_Number offsetX + // Ark_Float64 offsetX result->append(".offsetX="); WriteToString(result, &value->offsetX); - // Ark_Number offsetY + // Ark_Float64 offsetY result->append(", "); result->append(".offsetY="); WriteToString(result, &value->offsetY); - // Ark_Number surfaceWidth + // Ark_Float64 surfaceWidth result->append(", "); result->append(".surfaceWidth="); - WriteToString(result, &value->surfaceWidth); - // Ark_Number surfaceHeight + WriteToString(result, value->surfaceWidth); + // Ark_Float64 surfaceHeight result->append(", "); result->append(".surfaceHeight="); - WriteToString(result, &value->surfaceHeight); + WriteToString(result, value->surfaceHeight); result->append("}"); } template <> @@ -36935,6 +42153,37 @@ inline Ark_RuntimeType runtimeType(const Opt_ToggleConfiguration& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_ToolBarItemOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ToolBarItemOptions* value) { + result->append("{"); + // Ark_ToolBarItemPlacement placement + result->append(".placement="); + WriteToString(result, &value->placement); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ToolBarItemOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ToolBarItemOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_TouchObject& value) { return INTEROP_RUNTIME_OBJECT; @@ -38647,6 +43896,57 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeStyles_BorderStyle& value return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_F64_String_Resource& 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_F64_String_Resource: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_F64_String_Resource* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_Float64 + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, value->value0); + } + // Ark_String + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_Resource + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_F64_String_Resource* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_F64_String_Resource& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Image_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource& value) { switch (value.selector) { @@ -38884,6 +44184,51 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_NavDestinationInfo_NavBar& va return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_NestedScrollOptions_NestedScrollOptionsExt& 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); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_NestedScrollOptions_NestedScrollOptionsExt* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + 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("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_NestedScrollOptions_NestedScrollOptionsExt* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_NestedScrollOptions_NestedScrollOptionsExt& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Number_Array_Number& value) { switch (value.selector) { @@ -40504,6 +45849,126 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_String_CustomBuilder_Componen return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_String_I32_I64_F64_Resource& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + case 3: return runtimeType(value.value3); + case 4: return runtimeType(value.value4); + default: INTEROP_FATAL("Bad selector in Ark_Union_String_I32_I64_F64_Resource: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_String_I32_I64_F64_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_Int32 + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, value->value1); + } + // Ark_Int64 + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, value->value2); + } + // Ark_Float64 + if (value->selector == 3) { + result->append(".value3="); + WriteToString(result, value->value3); + } + // Ark_Resource + if (value->selector == 4) { + result->append(".value4="); + WriteToString(result, &value->value4); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_String_I32_I64_F64_Resource* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_String_I32_I64_F64_Resource& 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) +{ + 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 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("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_String_Number_Buffer_Resource* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number_Buffer_Resource& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Union_String_Number_Resource& value) { switch (value.selector) { @@ -40555,6 +46020,63 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number_Resource& value return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_String_Number_Resource_Buffer& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + case 3: return runtimeType(value.value3); + default: INTEROP_FATAL("Bad selector in Ark_Union_String_Number_Resource_Buffer: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_String_Number_Resource_Buffer* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_String + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Number + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_Resource + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + // Ark_Buffer + if (value->selector == 3) { + result->append(".value3="); + WriteToString(result, value->value3); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_String_Number_Resource_Buffer* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number_Resource_Buffer& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Union_String_PixelMap_Resource& value) { switch (value.selector) { @@ -40861,6 +46383,49 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_String_Resource_PixelMap& val return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_ViewportRect& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ViewportRect* value) { + result->append("{"); + // Ark_Union_F64_String x + result->append(".x="); + WriteToString(result, &value->x); + // Ark_Union_F64_String y + result->append(", "); + result->append(".y="); + WriteToString(result, &value->y); + // Ark_Union_F64_String width + result->append(", "); + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Union_F64_String height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ViewportRect* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ViewportRect& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_VisibleAreaEventOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -41049,6 +46614,166 @@ inline Ark_RuntimeType runtimeType(const Opt_WaterFlowOptions& 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(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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 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_Int32 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(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != 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_WebMediaOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebMediaOptions* value) { + result->append("{"); + // Ark_Int32 resumeInterval + result->append(".resumeInterval="); + WriteToString(result, &value->resumeInterval); + // Ark_Boolean audioExclusive + result->append(", "); + result->append(".audioExclusive="); + WriteToString(result, &value->audioExclusive); + // Ark_AudioSessionType audioSessionType + result->append(", "); + result->append(".audioSessionType="); + WriteToString(result, &value->audioSessionType); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebMediaOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WebMediaOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_WebOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebOptions* value) { + result->append("{"); + // Ark_Union_String_Resource src + result->append(".src="); + WriteToString(result, &value->src); + // Ark_webview_WebviewController controller + result->append(", "); + result->append(".controller="); + WriteToString(result, value->controller); + // Ark_RenderMode renderMode + result->append(", "); + result->append(".renderMode="); + WriteToString(result, &value->renderMode); + // Ark_Boolean incognitoMode + result->append(", "); + result->append(".incognitoMode="); + WriteToString(result, &value->incognitoMode); + // Ark_String sharedRenderProcessToken + result->append(", "); + result->append(".sharedRenderProcessToken="); + WriteToString(result, &value->sharedRenderProcessToken); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebOptions* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WebOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_window_SystemBarStyle& value) { return INTEROP_RUNTIME_OBJECT; @@ -45288,9 +51013,9 @@ inline Ark_RuntimeType runtimeType(const Ark_TerminationInfo& value) template <> inline void WriteToString(std::string* result, const Ark_TerminationInfo* value) { result->append("{"); - // Ark_Number code + // Ark_Int32 code result->append(".code="); - WriteToString(result, &value->code); + WriteToString(result, value->code); // Ark_Want want result->append(", "); result->append(".want="); @@ -47211,7 +52936,7 @@ inline void WriteToString(std::string* result, const Ark_VideoOptions* value) { // Ark_Union_String_Resource src result->append(".src="); WriteToString(result, &value->src); - // Ark_Union_Number_String_PlaybackSpeed currentProgressRate + // Ark_Union_F64_String_PlaybackSpeed currentProgressRate result->append(", "); result->append(".currentProgressRate="); WriteToString(result, &value->currentProgressRate); @@ -47270,7 +52995,7 @@ inline void WriteToString(std::string* result, const Ark_XComponentOptions* valu result->append(", "); result->append(".imageAIOptions="); WriteToString(result, &value->imageAIOptions); - // Ark_Number screenId + // Ark_Int64 screenId result->append(", "); result->append(".screenId="); WriteToString(result, &value->screenId); @@ -47295,12 +53020,12 @@ inline Ark_RuntimeType runtimeType(const Opt_XComponentOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_XComponentParameter& value) +inline Ark_RuntimeType runtimeType(const Ark_XComponentParameters& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_XComponentParameter* value) { +inline void WriteToString(std::string* result, const Ark_XComponentParameters* value) { result->append("{"); // Ark_String id result->append(".id="); @@ -47309,10 +53034,10 @@ inline void WriteToString(std::string* result, const Ark_XComponentParameter* va result->append(", "); result->append(".type="); WriteToString(result, value->type); - // Ark_String libraryname + // Callback_NativeXComponentPointer_Void nativeXComponentHandler result->append(", "); - result->append(".libraryname="); - WriteToString(result, &value->libraryname); + result->append(".nativeXComponentHandler="); + WriteToString(result, &value->nativeXComponentHandler); // Ark_XComponentController controller result->append(", "); result->append(".controller="); @@ -47320,7 +53045,7 @@ inline void WriteToString(std::string* result, const Ark_XComponentParameter* va result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_XComponentParameter* value) { +inline void WriteToString(std::string* result, const Opt_XComponentParameters* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -47333,7 +53058,7 @@ inline void WriteToString(std::string* result, const Opt_XComponentParameter* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_XComponentParameter& value) +inline Ark_RuntimeType runtimeType(const Opt_XComponentParameters& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -49272,10 +54997,10 @@ inline Ark_RuntimeType runtimeType(const Ark_RectOptions& value) template <> inline void WriteToString(std::string* result, const Ark_RectOptions* value) { result->append("{"); - // Ark_Length width + // Ark_Union_F64_String width result->append(".width="); WriteToString(result, &value->width); - // Ark_Length height + // Ark_Union_F64_String height result->append(", "); result->append(".height="); WriteToString(result, &value->height); @@ -52075,32 +57800,40 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_Union_Padding_Dimension_Local return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ViewportRect& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters& 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_XComponentParameters_XComponentOptions_NativeXComponentParameters: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_ViewportRect* value) { +inline void WriteToString(std::string* result, const Ark_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters* value) { result->append("{"); - // Ark_Length x - result->append(".x="); - WriteToString(result, &value->x); - // Ark_Length y - result->append(", "); - result->append(".y="); - WriteToString(result, &value->y); - // Ark_Length width - result->append(", "); - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Length height + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".height="); - WriteToString(result, &value->height); + // Ark_XComponentParameters + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_XComponentOptions + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_NativeXComponentParameters + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ViewportRect* value) { +inline void WriteToString(std::string* result, const Opt_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -52113,7 +57846,7 @@ inline void WriteToString(std::string* result, const Opt_ViewportRect* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ViewportRect& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -53446,6 +59179,69 @@ inline Ark_RuntimeType runtimeType(const Opt_MouseEvent& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_NativeEmbedInfo* value) { + result->append("{"); + // Ark_String id + result->append(".id="); + WriteToString(result, &value->id); + // Ark_String type + result->append(", "); + result->append(".type="); + WriteToString(result, &value->type); + // Ark_String src + result->append(", "); + result->append(".src="); + WriteToString(result, &value->src); + // Ark_Position position + result->append(", "); + result->append(".position="); + WriteToString(result, &value->position); + // Ark_Int32 width + result->append(", "); + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Int32 height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + // Ark_String url + result->append(", "); + result->append(".url="); + WriteToString(result, &value->url); + // Ark_String tag + result->append(", "); + result->append(".tag="); + WriteToString(result, &value->tag); + // Map_String_String params + result->append(", "); + result->append(".params="); + WriteToString(result, &value->params); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_NativeEmbedInfo* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_NavigationMenuOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -55527,6 +61323,88 @@ inline Ark_RuntimeType runtimeType(const Opt_ImageAttachmentInterface& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedDataInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_NativeEmbedDataInfo* value) { + result->append("{"); + // Ark_NativeEmbedStatus status + result->append(".status="); + WriteToString(result, &value->status); + // Ark_String surfaceId + result->append(", "); + result->append(".surfaceId="); + WriteToString(result, &value->surfaceId); + // Ark_String embedId + result->append(", "); + result->append(".embedId="); + WriteToString(result, &value->embedId); + // Ark_NativeEmbedInfo info + result->append(", "); + result->append(".info="); + WriteToString(result, &value->info); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_NativeEmbedDataInfo* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedDataInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedTouchInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_NativeEmbedTouchInfo* value) { + result->append("{"); + // Ark_String embedId + result->append(".embedId="); + WriteToString(result, &value->embedId); + // Ark_TouchEvent touchEvent + result->append(", "); + result->append(".touchEvent="); + WriteToString(result, &value->touchEvent); + // Ark_EventResult result + result->append(", "); + result->append(".result="); + WriteToString(result, &value->result); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_NativeEmbedTouchInfo* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedTouchInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_PopupOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -56184,10 +62062,10 @@ inline Ark_RuntimeType runtimeType(const Ark_StyleOptions& value) template <> inline void WriteToString(std::string* result, const Ark_StyleOptions* value) { result->append("{"); - // Ark_Number start + // Ark_Int32 start result->append(".start="); WriteToString(result, &value->start); - // Ark_Number length + // Ark_Int32 length result->append(", "); result->append(".length="); WriteToString(result, &value->length); @@ -57159,16 +63037,16 @@ class CanvasPattern_serializer { static void write(SerializerBase& buffer, Ark_CanvasPattern value); static Ark_CanvasPattern read(DeserializerBase& buffer); }; -class CircleOptions_serializer { - public: - static void write(SerializerBase& buffer, Ark_CircleOptions value); - static Ark_CircleOptions read(DeserializerBase& buffer); -}; class CircleShape_serializer { public: static void write(SerializerBase& buffer, Ark_CircleShape value); static Ark_CircleShape read(DeserializerBase& buffer); }; +class ClientAuthenticationHandler_serializer { + public: + static void write(SerializerBase& buffer, Ark_ClientAuthenticationHandler value); + static Ark_ClientAuthenticationHandler read(DeserializerBase& buffer); +}; class ColorContent_serializer { public: static void write(SerializerBase& buffer, Ark_ColorContent value); @@ -57194,11 +63072,21 @@ class ComponentContent_serializer { static void write(SerializerBase& buffer, Ark_ComponentContent value); static Ark_ComponentContent read(DeserializerBase& buffer); }; +class ConsoleMessage_serializer { + public: + static void write(SerializerBase& buffer, Ark_ConsoleMessage value); + static Ark_ConsoleMessage read(DeserializerBase& buffer); +}; class Context_serializer { public: static void write(SerializerBase& buffer, Ark_Context value); static Ark_Context read(DeserializerBase& buffer); }; +class ControllerHandler_serializer { + public: + static void write(SerializerBase& buffer, Ark_ControllerHandler value); + static Ark_ControllerHandler read(DeserializerBase& buffer); +}; class CornerRadius_serializer { public: static void write(SerializerBase& buffer, Ark_CornerRadius value); @@ -57214,6 +63102,11 @@ class CustomDialogController_serializer { static void write(SerializerBase& buffer, Ark_CustomDialogController value); static Ark_CustomDialogController read(DeserializerBase& buffer); }; +class DataResubmissionHandler_serializer { + public: + static void write(SerializerBase& buffer, Ark_DataResubmissionHandler value); + static Ark_DataResubmissionHandler read(DeserializerBase& buffer); +}; class DatePickerDialog_serializer { public: static void write(SerializerBase& buffer, Ark_DatePickerDialog value); @@ -57319,16 +63212,16 @@ class drawing_Typeface_serializer { static void write(SerializerBase& buffer, Ark_drawing_Typeface value); static Ark_drawing_Typeface read(DeserializerBase& buffer); }; -class EllipseOptions_serializer { - public: - static void write(SerializerBase& buffer, Ark_EllipseOptions value); - static Ark_EllipseOptions read(DeserializerBase& buffer); -}; class EllipseShape_serializer { public: static void write(SerializerBase& buffer, Ark_EllipseShape value); static Ark_EllipseShape read(DeserializerBase& buffer); }; +class EventResult_serializer { + public: + static void write(SerializerBase& buffer, Ark_EventResult value); + static Ark_EventResult read(DeserializerBase& buffer); +}; class EventTargetInfo_serializer { public: static void write(SerializerBase& buffer, Ark_EventTargetInfo value); @@ -57339,6 +63232,16 @@ class ExtendableComponent_serializer { static void write(SerializerBase& buffer, Ark_ExtendableComponent value); static Ark_ExtendableComponent read(DeserializerBase& buffer); }; +class FileSelectorParam_serializer { + public: + static void write(SerializerBase& buffer, Ark_FileSelectorParam value); + static Ark_FileSelectorParam read(DeserializerBase& buffer); +}; +class FileSelectorResult_serializer { + public: + static void write(SerializerBase& buffer, Ark_FileSelectorResult value); + static Ark_FileSelectorResult read(DeserializerBase& buffer); +}; class FormSize_serializer { public: static void write(SerializerBase& buffer, Ark_FormSize value); @@ -57354,6 +63257,11 @@ class FrictionMotion_serializer { static void write(SerializerBase& buffer, Ark_FrictionMotion value); static Ark_FrictionMotion read(DeserializerBase& buffer); }; +class FullScreenExitHandler_serializer { + public: + static void write(SerializerBase& buffer, Ark_FullScreenExitHandler value); + static Ark_FullScreenExitHandler read(DeserializerBase& buffer); +}; class FullscreenInfo_serializer { public: static void write(SerializerBase& buffer, Ark_FullscreenInfo value); @@ -57379,6 +63287,11 @@ class GestureStyle_serializer { static void write(SerializerBase& buffer, Ark_GestureStyle value); static Ark_GestureStyle read(DeserializerBase& buffer); }; +class HttpAuthHandler_serializer { + public: + static void write(SerializerBase& buffer, Ark_HttpAuthHandler value); + static Ark_HttpAuthHandler read(DeserializerBase& buffer); +}; class image_PixelMap_serializer { public: static void write(SerializerBase& buffer, Ark_image_PixelMap value); @@ -57394,10 +63307,15 @@ class IndicatorComponentController_serializer { static void write(SerializerBase& buffer, Ark_IndicatorComponentController value); static Ark_IndicatorComponentController read(DeserializerBase& buffer); }; -class LayoutCallback_serializer { +class JsGeolocation_serializer { + public: + static void write(SerializerBase& buffer, Ark_JsGeolocation value); + static Ark_JsGeolocation read(DeserializerBase& buffer); +}; +class JsResult_serializer { public: - static void write(SerializerBase& buffer, Ark_LayoutCallback value); - static Ark_LayoutCallback read(DeserializerBase& buffer); + static void write(SerializerBase& buffer, Ark_JsResult value); + static Ark_JsResult read(DeserializerBase& buffer); }; class LayoutManager_serializer { public: @@ -57429,11 +63347,6 @@ class LinearIndicatorController_serializer { static void write(SerializerBase& buffer, Ark_LinearIndicatorController value); static Ark_LinearIndicatorController read(DeserializerBase& buffer); }; -class LineOptions_serializer { - public: - static void write(SerializerBase& buffer, Ark_LineOptions value); - static Ark_LineOptions read(DeserializerBase& buffer); -}; class ListScroller_serializer { public: static void write(SerializerBase& buffer, Ark_ListScroller value); @@ -57459,6 +63372,11 @@ class matrix4_Matrix4Transit_serializer { static void write(SerializerBase& buffer, Ark_matrix4_Matrix4Transit value); static Ark_matrix4_Matrix4Transit read(DeserializerBase& buffer); }; +class NativeMediaPlayerConfig_serializer { + public: + static void write(SerializerBase& buffer, Ark_NativeMediaPlayerConfig value); + static Ark_NativeMediaPlayerConfig read(DeserializerBase& buffer); +}; class NavPathStack_serializer { public: static void write(SerializerBase& buffer, Ark_NavPathStack value); @@ -57494,20 +63412,70 @@ class OffsetResult_serializer { static void write(SerializerBase& buffer, Ark_OffsetResult value); static Ark_OffsetResult read(DeserializerBase& buffer); }; +class OnAudioStateChangedEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnAudioStateChangedEvent value); + static Ark_OnAudioStateChangedEvent read(DeserializerBase& buffer); +}; +class OnConsoleEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnConsoleEvent value); + static Ark_OnConsoleEvent read(DeserializerBase& buffer); +}; +class OnDataResubmittedEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnDataResubmittedEvent value); + static Ark_OnDataResubmittedEvent read(DeserializerBase& buffer); +}; +class OnFaviconReceivedEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnFaviconReceivedEvent value); + static Ark_OnFaviconReceivedEvent read(DeserializerBase& buffer); +}; +class OnFirstContentfulPaintEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnFirstContentfulPaintEvent value); + static Ark_OnFirstContentfulPaintEvent read(DeserializerBase& buffer); +}; class OnFoldStatusChangeInfo_serializer { public: static void write(SerializerBase& buffer, Ark_OnFoldStatusChangeInfo value); static Ark_OnFoldStatusChangeInfo read(DeserializerBase& buffer); }; +class OnOverScrollEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnOverScrollEvent value); + static Ark_OnOverScrollEvent read(DeserializerBase& buffer); +}; +class OnProgressChangeEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnProgressChangeEvent value); + static Ark_OnProgressChangeEvent read(DeserializerBase& buffer); +}; +class OnScaleChangeEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnScaleChangeEvent value); + static Ark_OnScaleChangeEvent read(DeserializerBase& buffer); +}; +class OnScrollEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnScrollEvent value); + static Ark_OnScrollEvent read(DeserializerBase& buffer); +}; class OnScrollFrameBeginHandlerResult_serializer { public: static void write(SerializerBase& buffer, Ark_OnScrollFrameBeginHandlerResult value); static Ark_OnScrollFrameBeginHandlerResult read(DeserializerBase& buffer); }; -class PageLifeCycle_serializer { +class OnSearchResultReceiveEvent_serializer { public: - static void write(SerializerBase& buffer, Ark_PageLifeCycle value); - static Ark_PageLifeCycle read(DeserializerBase& buffer); + static void write(SerializerBase& buffer, Ark_OnSearchResultReceiveEvent value); + static Ark_OnSearchResultReceiveEvent read(DeserializerBase& buffer); +}; +class OnShowFileSelectorEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnShowFileSelectorEvent value); + static Ark_OnShowFileSelectorEvent read(DeserializerBase& buffer); }; class PanGestureInterface_serializer { public: @@ -57529,11 +63497,6 @@ class Path2D_serializer { static void write(SerializerBase& buffer, Ark_Path2D value); static Ark_Path2D read(DeserializerBase& buffer); }; -class PathOptions_serializer { - public: - static void write(SerializerBase& buffer, Ark_PathOptions value); - static Ark_PathOptions read(DeserializerBase& buffer); -}; class PathShape_serializer { public: static void write(SerializerBase& buffer, Ark_PathShape value); @@ -57544,6 +63507,11 @@ class PatternLockController_serializer { static void write(SerializerBase& buffer, Ark_PatternLockController value); static Ark_PatternLockController read(DeserializerBase& buffer); }; +class PermissionRequest_serializer { + public: + static void write(SerializerBase& buffer, Ark_PermissionRequest value); + static Ark_PermissionRequest read(DeserializerBase& buffer); +}; class PinchGestureInterface_serializer { public: static void write(SerializerBase& buffer, Ark_PinchGestureInterface value); @@ -57564,16 +63532,6 @@ class PlaybackInfo_serializer { static void write(SerializerBase& buffer, Ark_PlaybackInfo value); static Ark_PlaybackInfo read(DeserializerBase& buffer); }; -class PolygonOptions_serializer { - public: - static void write(SerializerBase& buffer, Ark_PolygonOptions value); - static Ark_PolygonOptions read(DeserializerBase& buffer); -}; -class PolylineOptions_serializer { - public: - static void write(SerializerBase& buffer, Ark_PolylineOptions value); - static Ark_PolylineOptions read(DeserializerBase& buffer); -}; class PopupStateChangeParam_serializer { public: static void write(SerializerBase& buffer, Ark_PopupStateChangeParam value); @@ -57604,6 +63562,11 @@ class PromptAction_serializer { static void write(SerializerBase& buffer, Ark_PromptAction value); static Ark_PromptAction read(DeserializerBase& buffer); }; +class PulseSymbolEffect_serializer { + public: + static void write(SerializerBase& buffer, Ark_PulseSymbolEffect value); + static Ark_PulseSymbolEffect read(DeserializerBase& buffer); +}; class RectResult_serializer { public: static void write(SerializerBase& buffer, Ark_RectResult value); @@ -57659,11 +63622,6 @@ class RotationRecognizer_serializer { static void write(SerializerBase& buffer, Ark_RotationRecognizer value); static Ark_RotationRecognizer read(DeserializerBase& buffer); }; -class RoundedRectOptions_serializer { - public: - static void write(SerializerBase& buffer, Ark_RoundedRectOptions value); - static Ark_RoundedRectOptions read(DeserializerBase& buffer); -}; class RowOptionsV2_serializer { public: static void write(SerializerBase& buffer, Ark_RowOptionsV2 value); @@ -57684,6 +63642,11 @@ class Scene_serializer { static void write(SerializerBase& buffer, Ark_Scene value); static Ark_Scene read(DeserializerBase& buffer); }; +class ScreenCaptureHandler_serializer { + public: + static void write(SerializerBase& buffer, Ark_ScreenCaptureHandler value); + static Ark_ScreenCaptureHandler read(DeserializerBase& buffer); +}; class ScrollableTargetInfo_serializer { public: static void write(SerializerBase& buffer, Ark_ScrollableTargetInfo value); @@ -57739,6 +63702,11 @@ class SpringProp_serializer { static void write(SerializerBase& buffer, Ark_SpringProp value); static Ark_SpringProp read(DeserializerBase& buffer); }; +class SslErrorHandler_serializer { + public: + static void write(SerializerBase& buffer, Ark_SslErrorHandler value); + static Ark_SslErrorHandler read(DeserializerBase& buffer); +}; class StyledString_serializer { public: static void write(SerializerBase& buffer, Ark_StyledString value); @@ -58064,26 +64032,66 @@ class WaterFlowSections_serializer { static void write(SerializerBase& buffer, Ark_WaterFlowSections value); static Ark_WaterFlowSections read(DeserializerBase& buffer); }; +class WebContextMenuParam_serializer { + public: + static void write(SerializerBase& buffer, Ark_WebContextMenuParam value); + static Ark_WebContextMenuParam read(DeserializerBase& buffer); +}; +class WebContextMenuResult_serializer { + public: + static void write(SerializerBase& buffer, Ark_WebContextMenuResult value); + static Ark_WebContextMenuResult read(DeserializerBase& buffer); +}; class WebCookie_serializer { public: static void write(SerializerBase& buffer, Ark_WebCookie value); static Ark_WebCookie read(DeserializerBase& buffer); }; +class WebKeyboardController_serializer { + public: + static void write(SerializerBase& buffer, Ark_WebKeyboardController value); + static Ark_WebKeyboardController read(DeserializerBase& buffer); +}; +class WebResourceError_serializer { + public: + static void write(SerializerBase& buffer, Ark_WebResourceError value); + static Ark_WebResourceError read(DeserializerBase& buffer); +}; +class WebResourceRequest_serializer { + public: + static void write(SerializerBase& buffer, Ark_WebResourceRequest value); + static Ark_WebResourceRequest read(DeserializerBase& buffer); +}; +class WebResourceResponse_serializer { + public: + static void write(SerializerBase& buffer, Ark_WebResourceResponse value); + static Ark_WebResourceResponse read(DeserializerBase& buffer); +}; +class webview_WebHeader_serializer { + public: + static void write(SerializerBase& buffer, Ark_webview_WebHeader value); + static Ark_webview_WebHeader read(DeserializerBase& buffer); +}; +class webview_WebviewController_serializer { + public: + static void write(SerializerBase& buffer, Ark_webview_WebviewController value); + static Ark_webview_WebviewController read(DeserializerBase& buffer); +}; class WindowAnimationTarget_serializer { public: static void write(SerializerBase& buffer, Ark_WindowAnimationTarget value); static Ark_WindowAnimationTarget read(DeserializerBase& buffer); }; -class WorkerEventListener_serializer { - public: - static void write(SerializerBase& buffer, Ark_WorkerEventListener value); - static Ark_WorkerEventListener read(DeserializerBase& buffer); -}; class AccessibilityOptions_serializer { public: static void write(SerializerBase& buffer, Ark_AccessibilityOptions value); static Ark_AccessibilityOptions read(DeserializerBase& buffer); }; +class AdsBlockedDetails_serializer { + public: + static void write(SerializerBase& buffer, Ark_AdsBlockedDetails value); + static Ark_AdsBlockedDetails read(DeserializerBase& buffer); +}; class AlignRuleOption_serializer { public: static void write(SerializerBase& buffer, Ark_AlignRuleOption value); @@ -58254,6 +64262,11 @@ class Circle_serializer { static void write(SerializerBase& buffer, Ark_Circle value); static Ark_Circle read(DeserializerBase& buffer); }; +class CircleOptions_serializer { + public: + static void write(SerializerBase& buffer, Ark_CircleOptions value); + static Ark_CircleOptions read(DeserializerBase& buffer); +}; class ClickEffect_serializer { public: static void write(SerializerBase& buffer, Ark_ClickEffect value); @@ -58449,6 +64462,16 @@ class EditMenuOptions_serializer { static void write(SerializerBase& buffer, Ark_EditMenuOptions value); static Ark_EditMenuOptions read(DeserializerBase& buffer); }; +class EllipseOptions_serializer { + public: + static void write(SerializerBase& buffer, Ark_EllipseOptions value); + static Ark_EllipseOptions read(DeserializerBase& buffer); +}; +class EmbedOptions_serializer { + public: + static void write(SerializerBase& buffer, Ark_EmbedOptions value); + static Ark_EmbedOptions read(DeserializerBase& buffer); +}; class ErrorEvent_serializer { public: static void write(SerializerBase& buffer, Ark_ErrorEvent value); @@ -58474,6 +64497,11 @@ class FingerInfo_serializer { static void write(SerializerBase& buffer, Ark_FingerInfo value); static Ark_FingerInfo read(DeserializerBase& buffer); }; +class FirstMeaningfulPaint_serializer { + public: + static void write(SerializerBase& buffer, Ark_FirstMeaningfulPaint value); + static Ark_FirstMeaningfulPaint read(DeserializerBase& buffer); +}; class FocusMovement_serializer { public: static void write(SerializerBase& buffer, Ark_FocusMovement value); @@ -58514,6 +64542,11 @@ class Frame_serializer { static void write(SerializerBase& buffer, Ark_Frame value); static Ark_Frame read(DeserializerBase& buffer); }; +class FullScreenEnterEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_FullScreenEnterEvent value); + static Ark_FullScreenEnterEvent read(DeserializerBase& buffer); +}; class GaugeConfiguration_serializer { public: static void write(SerializerBase& buffer, Ark_GaugeConfiguration value); @@ -58559,6 +64592,11 @@ class GridRowColumnOption_serializer { static void write(SerializerBase& buffer, Ark_GridRowColumnOption value); static Ark_GridRowColumnOption read(DeserializerBase& buffer); }; +class Header_serializer { + public: + static void write(SerializerBase& buffer, Ark_Header value); + static Ark_Header read(DeserializerBase& buffer); +}; class HierarchicalSymbolEffect_serializer { public: static void write(SerializerBase& buffer, Ark_HierarchicalSymbolEffect value); @@ -58614,6 +64652,11 @@ class InsertValue_serializer { static void write(SerializerBase& buffer, Ark_InsertValue value); static Ark_InsertValue read(DeserializerBase& buffer); }; +class IntelligentTrackingPreventionDetails_serializer { + public: + static void write(SerializerBase& buffer, Ark_IntelligentTrackingPreventionDetails value); + static Ark_IntelligentTrackingPreventionDetails read(DeserializerBase& buffer); +}; class intl_DateTimeOptions_serializer { public: static void write(SerializerBase& buffer, Ark_intl_DateTimeOptions value); @@ -58629,6 +64672,11 @@ class ItemDragInfo_serializer { static void write(SerializerBase& buffer, Ark_ItemDragInfo value); static Ark_ItemDragInfo read(DeserializerBase& buffer); }; +class JavaScriptProxy_serializer { + public: + static void write(SerializerBase& buffer, Ark_JavaScriptProxy value); + static Ark_JavaScriptProxy read(DeserializerBase& buffer); +}; class KeyboardOptions_serializer { public: static void write(SerializerBase& buffer, Ark_KeyboardOptions value); @@ -58639,6 +64687,11 @@ class KeyEvent_serializer { static void write(SerializerBase& buffer, Ark_KeyEvent value); static Ark_KeyEvent read(DeserializerBase& buffer); }; +class LargestContentfulPaint_serializer { + public: + static void write(SerializerBase& buffer, Ark_LargestContentfulPaint value); + static Ark_LargestContentfulPaint read(DeserializerBase& buffer); +}; class LayoutConstraint_serializer { public: static void write(SerializerBase& buffer, Ark_LayoutConstraint value); @@ -58674,6 +64727,11 @@ class LineHeightStyle_serializer { static void write(SerializerBase& buffer, Ark_LineHeightStyle value); static Ark_LineHeightStyle read(DeserializerBase& buffer); }; +class LineOptions_serializer { + public: + static void write(SerializerBase& buffer, Ark_LineOptions value); + static Ark_LineOptions read(DeserializerBase& buffer); +}; class ListItemGroupOptions_serializer { public: static void write(SerializerBase& buffer, Ark_ListItemGroupOptions value); @@ -58689,6 +64747,11 @@ class ListOptions_serializer { static void write(SerializerBase& buffer, Ark_ListOptions value); static Ark_ListOptions read(DeserializerBase& buffer); }; +class LoadCommittedDetails_serializer { + public: + static void write(SerializerBase& buffer, Ark_LoadCommittedDetails value); + static Ark_LoadCommittedDetails read(DeserializerBase& buffer); +}; class LocalizedHorizontalAlignParam_serializer { public: static void write(SerializerBase& buffer, Ark_LocalizedHorizontalAlignParam value); @@ -58759,6 +64822,11 @@ class MutableStyledString_serializer { static void write(SerializerBase& buffer, Ark_MutableStyledString value); static Ark_MutableStyledString read(DeserializerBase& buffer); }; +class NativeEmbedVisibilityInfo_serializer { + public: + static void write(SerializerBase& buffer, Ark_NativeEmbedVisibilityInfo value); + static Ark_NativeEmbedVisibilityInfo read(DeserializerBase& buffer); +}; class NavContentInfo_serializer { public: static void write(SerializerBase& buffer, Ark_NavContentInfo value); @@ -58794,6 +64862,136 @@ class NestedScrollInfo_serializer { static void write(SerializerBase& buffer, Ark_NestedScrollInfo value); static Ark_NestedScrollInfo read(DeserializerBase& buffer); }; +class NestedScrollOptionsExt_serializer { + public: + static void write(SerializerBase& buffer, Ark_NestedScrollOptionsExt value); + static Ark_NestedScrollOptionsExt read(DeserializerBase& buffer); +}; +class OnAlertEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnAlertEvent value); + static Ark_OnAlertEvent read(DeserializerBase& buffer); +}; +class OnBeforeUnloadEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnBeforeUnloadEvent value); + static Ark_OnBeforeUnloadEvent read(DeserializerBase& buffer); +}; +class OnClientAuthenticationEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnClientAuthenticationEvent value); + static Ark_OnClientAuthenticationEvent read(DeserializerBase& buffer); +}; +class OnConfirmEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnConfirmEvent value); + static Ark_OnConfirmEvent read(DeserializerBase& buffer); +}; +class OnContextMenuShowEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnContextMenuShowEvent value); + static Ark_OnContextMenuShowEvent read(DeserializerBase& buffer); +}; +class OnDownloadStartEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnDownloadStartEvent value); + static Ark_OnDownloadStartEvent read(DeserializerBase& buffer); +}; +class OnErrorReceiveEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnErrorReceiveEvent value); + static Ark_OnErrorReceiveEvent read(DeserializerBase& buffer); +}; +class OnGeolocationShowEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnGeolocationShowEvent value); + static Ark_OnGeolocationShowEvent read(DeserializerBase& buffer); +}; +class OnHttpAuthRequestEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnHttpAuthRequestEvent value); + static Ark_OnHttpAuthRequestEvent read(DeserializerBase& buffer); +}; +class OnHttpErrorReceiveEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnHttpErrorReceiveEvent value); + static Ark_OnHttpErrorReceiveEvent read(DeserializerBase& buffer); +}; +class OnInterceptRequestEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnInterceptRequestEvent value); + static Ark_OnInterceptRequestEvent read(DeserializerBase& buffer); +}; +class OnLoadInterceptEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnLoadInterceptEvent value); + static Ark_OnLoadInterceptEvent read(DeserializerBase& buffer); +}; +class OnPageBeginEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnPageBeginEvent value); + static Ark_OnPageBeginEvent read(DeserializerBase& buffer); +}; +class OnPageEndEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnPageEndEvent value); + static Ark_OnPageEndEvent read(DeserializerBase& buffer); +}; +class OnPageVisibleEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnPageVisibleEvent value); + static Ark_OnPageVisibleEvent read(DeserializerBase& buffer); +}; +class OnPermissionRequestEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnPermissionRequestEvent value); + static Ark_OnPermissionRequestEvent read(DeserializerBase& buffer); +}; +class OnPromptEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnPromptEvent value); + static Ark_OnPromptEvent read(DeserializerBase& buffer); +}; +class OnRefreshAccessedHistoryEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnRefreshAccessedHistoryEvent value); + static Ark_OnRefreshAccessedHistoryEvent read(DeserializerBase& buffer); +}; +class OnRenderExitedEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnRenderExitedEvent value); + static Ark_OnRenderExitedEvent read(DeserializerBase& buffer); +}; +class OnResourceLoadEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnResourceLoadEvent value); + static Ark_OnResourceLoadEvent read(DeserializerBase& buffer); +}; +class OnScreenCaptureRequestEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnScreenCaptureRequestEvent value); + static Ark_OnScreenCaptureRequestEvent read(DeserializerBase& buffer); +}; +class OnSslErrorEventReceiveEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnSslErrorEventReceiveEvent value); + static Ark_OnSslErrorEventReceiveEvent read(DeserializerBase& buffer); +}; +class OnTitleReceiveEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnTitleReceiveEvent value); + static Ark_OnTitleReceiveEvent read(DeserializerBase& buffer); +}; +class OnTouchIconUrlReceivedEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnTouchIconUrlReceivedEvent value); + static Ark_OnTouchIconUrlReceivedEvent read(DeserializerBase& buffer); +}; +class OnWindowNewEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_OnWindowNewEvent value); + static Ark_OnWindowNewEvent read(DeserializerBase& buffer); +}; class OverlayOffset_serializer { public: static void write(SerializerBase& buffer, Ark_OverlayOffset value); @@ -58809,6 +65007,11 @@ class PanGestureInterface_Invoke_Literal_serializer { static void write(SerializerBase& buffer, Ark_PanGestureInterface_Invoke_Literal value); static Ark_PanGestureInterface_Invoke_Literal read(DeserializerBase& buffer); }; +class PathOptions_serializer { + public: + static void write(SerializerBase& buffer, Ark_PathOptions value); + static Ark_PathOptions read(DeserializerBase& buffer); +}; class PathShapeOptions_serializer { public: static void write(SerializerBase& buffer, Ark_PathShapeOptions value); @@ -58839,6 +65042,16 @@ class PluginErrorData_serializer { static void write(SerializerBase& buffer, Ark_PluginErrorData value); static Ark_PluginErrorData read(DeserializerBase& buffer); }; +class PolygonOptions_serializer { + public: + static void write(SerializerBase& buffer, Ark_PolygonOptions value); + static Ark_PolygonOptions read(DeserializerBase& buffer); +}; +class PolylineOptions_serializer { + public: + static void write(SerializerBase& buffer, Ark_PolylineOptions value); + static Ark_PolylineOptions read(DeserializerBase& buffer); +}; class PopInfo_serializer { public: static void write(SerializerBase& buffer, Ark_PopInfo value); @@ -58899,6 +65112,11 @@ class RenderingContextSettings_serializer { static void write(SerializerBase& buffer, Ark_RenderingContextSettings value); static Ark_RenderingContextSettings read(DeserializerBase& buffer); }; +class RenderProcessNotRespondingData_serializer { + public: + static void write(SerializerBase& buffer, Ark_RenderProcessNotRespondingData value); + static Ark_RenderProcessNotRespondingData read(DeserializerBase& buffer); +}; class ReplaceSymbolEffect_serializer { public: static void write(SerializerBase& buffer, Ark_ReplaceSymbolEffect value); @@ -58954,6 +65172,11 @@ class RotationGestureHandlerOptions_serializer { static void write(SerializerBase& buffer, Ark_RotationGestureHandlerOptions value); static Ark_RotationGestureHandlerOptions read(DeserializerBase& buffer); }; +class RoundedRectOptions_serializer { + public: + static void write(SerializerBase& buffer, Ark_RoundedRectOptions value); + static Ark_RoundedRectOptions read(DeserializerBase& buffer); +}; class RoundRect_serializer { public: static void write(SerializerBase& buffer, Ark_RoundRect value); @@ -58984,6 +65207,16 @@ class ScaleSymbolEffect_serializer { static void write(SerializerBase& buffer, Ark_ScaleSymbolEffect value); static Ark_ScaleSymbolEffect read(DeserializerBase& buffer); }; +class ScreenCaptureConfig_serializer { + public: + static void write(SerializerBase& buffer, Ark_ScreenCaptureConfig value); + static Ark_ScreenCaptureConfig read(DeserializerBase& buffer); +}; +class ScriptItem_serializer { + public: + static void write(SerializerBase& buffer, Ark_ScriptItem value); + static Ark_ScriptItem read(DeserializerBase& buffer); +}; class ScrollAnimationOptions_serializer { public: static void write(SerializerBase& buffer, Ark_ScrollAnimationOptions value); @@ -59004,6 +65237,11 @@ class ScrollPageOptions_serializer { static void write(SerializerBase& buffer, Ark_ScrollPageOptions value); static Ark_ScrollPageOptions read(DeserializerBase& buffer); }; +class SelectionMenuOptionsExt_serializer { + public: + static void write(SerializerBase& buffer, Ark_SelectionMenuOptionsExt value); + static Ark_SelectionMenuOptionsExt read(DeserializerBase& buffer); +}; class SelectionOptions_serializer { public: static void write(SerializerBase& buffer, Ark_SelectionOptions value); @@ -59039,6 +65277,11 @@ class SpringBackAction_serializer { static void write(SerializerBase& buffer, Ark_SpringBackAction value); static Ark_SpringBackAction read(DeserializerBase& buffer); }; +class SslErrorEvent_serializer { + public: + static void write(SerializerBase& buffer, Ark_SslErrorEvent value); + static Ark_SslErrorEvent read(DeserializerBase& buffer); +}; class StackOptions_serializer { public: static void write(SerializerBase& buffer, Ark_StackOptions value); @@ -59169,6 +65412,11 @@ class ToggleConfiguration_serializer { static void write(SerializerBase& buffer, Ark_ToggleConfiguration value); static Ark_ToggleConfiguration read(DeserializerBase& buffer); }; +class ToolBarItemOptions_serializer { + public: + static void write(SerializerBase& buffer, Ark_ToolBarItemOptions value); + static Ark_ToolBarItemOptions read(DeserializerBase& buffer); +}; class TouchObject_serializer { public: static void write(SerializerBase& buffer, Ark_TouchObject value); @@ -59224,6 +65472,11 @@ class unifiedDataChannel_Summary_serializer { static void write(SerializerBase& buffer, Ark_unifiedDataChannel_Summary value); static Ark_unifiedDataChannel_Summary read(DeserializerBase& buffer); }; +class ViewportRect_serializer { + public: + static void write(SerializerBase& buffer, Ark_ViewportRect value); + static Ark_ViewportRect read(DeserializerBase& buffer); +}; class VisibleAreaEventOptions_serializer { public: static void write(SerializerBase& buffer, Ark_VisibleAreaEventOptions value); @@ -59244,6 +65497,26 @@ class WaterFlowOptions_serializer { static void write(SerializerBase& buffer, Ark_WaterFlowOptions value); static Ark_WaterFlowOptions read(DeserializerBase& buffer); }; +class WebKeyboardCallbackInfo_serializer { + public: + static void write(SerializerBase& buffer, Ark_WebKeyboardCallbackInfo value); + static Ark_WebKeyboardCallbackInfo read(DeserializerBase& buffer); +}; +class WebKeyboardOptions_serializer { + public: + static void write(SerializerBase& buffer, Ark_WebKeyboardOptions value); + static Ark_WebKeyboardOptions read(DeserializerBase& buffer); +}; +class WebMediaOptions_serializer { + public: + static void write(SerializerBase& buffer, Ark_WebMediaOptions value); + static Ark_WebMediaOptions read(DeserializerBase& buffer); +}; +class WebOptions_serializer { + public: + static void write(SerializerBase& buffer, Ark_WebOptions value); + static Ark_WebOptions read(DeserializerBase& buffer); +}; class window_SystemBarStyle_serializer { public: static void write(SerializerBase& buffer, Ark_window_SystemBarStyle value); @@ -59814,10 +66087,10 @@ class XComponentOptions_serializer { static void write(SerializerBase& buffer, Ark_XComponentOptions value); static Ark_XComponentOptions read(DeserializerBase& buffer); }; -class XComponentParameter_serializer { +class XComponentParameters_serializer { public: - static void write(SerializerBase& buffer, Ark_XComponentParameter value); - static Ark_XComponentParameter read(DeserializerBase& buffer); + static void write(SerializerBase& buffer, Ark_XComponentParameters value); + static Ark_XComponentParameters read(DeserializerBase& buffer); }; class ArrowStyle_serializer { public: @@ -60124,11 +66397,6 @@ class TipsOptions_serializer { static void write(SerializerBase& buffer, Ark_TipsOptions value); static Ark_TipsOptions read(DeserializerBase& buffer); }; -class ViewportRect_serializer { - public: - static void write(SerializerBase& buffer, Ark_ViewportRect value); - static Ark_ViewportRect read(DeserializerBase& buffer); -}; class Area_serializer { public: static void write(SerializerBase& buffer, Ark_Area value); @@ -60249,6 +66517,11 @@ class MouseEvent_serializer { static void write(SerializerBase& buffer, Ark_MouseEvent value); static Ark_MouseEvent read(DeserializerBase& buffer); }; +class NativeEmbedInfo_serializer { + public: + static void write(SerializerBase& buffer, Ark_NativeEmbedInfo value); + static Ark_NativeEmbedInfo read(DeserializerBase& buffer); +}; class NavigationMenuOptions_serializer { public: static void write(SerializerBase& buffer, Ark_NavigationMenuOptions value); @@ -60449,6 +66722,16 @@ class ImageAttachmentInterface_serializer { static void write(SerializerBase& buffer, Ark_ImageAttachmentInterface value); static Ark_ImageAttachmentInterface read(DeserializerBase& buffer); }; +class NativeEmbedDataInfo_serializer { + public: + static void write(SerializerBase& buffer, Ark_NativeEmbedDataInfo value); + static Ark_NativeEmbedDataInfo read(DeserializerBase& buffer); +}; +class NativeEmbedTouchInfo_serializer { + public: + static void write(SerializerBase& buffer, Ark_NativeEmbedTouchInfo value); + static Ark_NativeEmbedTouchInfo read(DeserializerBase& buffer); +}; class PopupOptions_serializer { public: static void write(SerializerBase& buffer, Ark_PopupOptions value); @@ -60611,24 +66894,27 @@ inline Ark_CanvasPattern CanvasPattern_serializer::read(DeserializerBase& buffer Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } -inline void CircleOptions_serializer::write(SerializerBase& buffer, Ark_CircleOptions value) +inline void CircleShape_serializer::write(SerializerBase& buffer, Ark_CircleShape value) { + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); } -inline Ark_CircleOptions CircleOptions_serializer::read(DeserializerBase& buffer) +inline Ark_CircleShape CircleShape_serializer::read(DeserializerBase& buffer) { - Ark_CircleOptions value = {}; - return value; + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } -inline void CircleShape_serializer::write(SerializerBase& buffer, Ark_CircleShape value) +inline void ClientAuthenticationHandler_serializer::write(SerializerBase& buffer, Ark_ClientAuthenticationHandler value) { SerializerBase& valueSerializer = buffer; valueSerializer.writePointer(value); } -inline Ark_CircleShape CircleShape_serializer::read(DeserializerBase& buffer) +inline Ark_ClientAuthenticationHandler ClientAuthenticationHandler_serializer::read(DeserializerBase& buffer) { DeserializerBase& valueDeserializer = buffer; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } inline void ColorContent_serializer::write(SerializerBase& buffer, Ark_ColorContent value) { @@ -60685,6 +66971,17 @@ inline Ark_ComponentContent ComponentContent_serializer::read(DeserializerBase& Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void ConsoleMessage_serializer::write(SerializerBase& buffer, Ark_ConsoleMessage value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_ConsoleMessage ConsoleMessage_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} inline void Context_serializer::write(SerializerBase& buffer, Ark_Context value) { SerializerBase& valueSerializer = buffer; @@ -60696,6 +66993,17 @@ inline Ark_Context Context_serializer::read(DeserializerBase& buffer) Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void ControllerHandler_serializer::write(SerializerBase& buffer, Ark_ControllerHandler value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_ControllerHandler ControllerHandler_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} inline void CornerRadius_serializer::write(SerializerBase& buffer, Ark_CornerRadius value) { } @@ -60726,6 +67034,17 @@ inline Ark_CustomDialogController CustomDialogController_serializer::read(Deseri Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void DataResubmissionHandler_serializer::write(SerializerBase& buffer, Ark_DataResubmissionHandler value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_DataResubmissionHandler DataResubmissionHandler_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} inline void DatePickerDialog_serializer::write(SerializerBase& buffer, Ark_DatePickerDialog value) { SerializerBase& valueSerializer = buffer; @@ -60957,24 +67276,27 @@ inline Ark_drawing_Typeface drawing_Typeface_serializer::read(DeserializerBase& Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } -inline void EllipseOptions_serializer::write(SerializerBase& buffer, Ark_EllipseOptions value) +inline void EllipseShape_serializer::write(SerializerBase& buffer, Ark_EllipseShape value) { + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); } -inline Ark_EllipseOptions EllipseOptions_serializer::read(DeserializerBase& buffer) +inline Ark_EllipseShape EllipseShape_serializer::read(DeserializerBase& buffer) { - Ark_EllipseOptions value = {}; - return value; + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } -inline void EllipseShape_serializer::write(SerializerBase& buffer, Ark_EllipseShape value) +inline void EventResult_serializer::write(SerializerBase& buffer, Ark_EventResult value) { SerializerBase& valueSerializer = buffer; valueSerializer.writePointer(value); } -inline Ark_EllipseShape EllipseShape_serializer::read(DeserializerBase& buffer) +inline Ark_EventResult EventResult_serializer::read(DeserializerBase& buffer) { DeserializerBase& valueDeserializer = buffer; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } inline void EventTargetInfo_serializer::write(SerializerBase& buffer, Ark_EventTargetInfo value) { @@ -60998,6 +67320,28 @@ inline Ark_ExtendableComponent ExtendableComponent_serializer::read(Deserializer Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void FileSelectorParam_serializer::write(SerializerBase& buffer, Ark_FileSelectorParam value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_FileSelectorParam FileSelectorParam_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} +inline void FileSelectorResult_serializer::write(SerializerBase& buffer, Ark_FileSelectorResult value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_FileSelectorResult FileSelectorResult_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} inline void FormSize_serializer::write(SerializerBase& buffer, Ark_FormSize value) { SerializerBase& valueSerializer = buffer; @@ -61036,6 +67380,17 @@ inline Ark_FrictionMotion FrictionMotion_serializer::read(DeserializerBase& buff Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void FullScreenExitHandler_serializer::write(SerializerBase& buffer, Ark_FullScreenExitHandler value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_FullScreenExitHandler FullScreenExitHandler_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} inline void FullscreenInfo_serializer::write(SerializerBase& buffer, Ark_FullscreenInfo value) { SerializerBase& valueSerializer = buffer; @@ -61093,6 +67448,17 @@ inline Ark_GestureStyle GestureStyle_serializer::read(DeserializerBase& buffer) Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void HttpAuthHandler_serializer::write(SerializerBase& buffer, Ark_HttpAuthHandler value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_HttpAuthHandler HttpAuthHandler_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} inline void image_PixelMap_serializer::write(SerializerBase& buffer, Ark_image_PixelMap value) { SerializerBase& valueSerializer = buffer; @@ -61126,16 +67492,27 @@ inline Ark_IndicatorComponentController IndicatorComponentController_serializer: Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } -inline void LayoutCallback_serializer::write(SerializerBase& buffer, Ark_LayoutCallback value) +inline void JsGeolocation_serializer::write(SerializerBase& buffer, Ark_JsGeolocation value) { SerializerBase& valueSerializer = buffer; valueSerializer.writePointer(value); } -inline Ark_LayoutCallback LayoutCallback_serializer::read(DeserializerBase& buffer) +inline Ark_JsGeolocation JsGeolocation_serializer::read(DeserializerBase& buffer) { DeserializerBase& valueDeserializer = buffer; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); +} +inline void JsResult_serializer::write(SerializerBase& buffer, Ark_JsResult value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_JsResult JsResult_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } inline void LayoutManager_serializer::write(SerializerBase& buffer, Ark_LayoutManager value) { @@ -61203,14 +67580,6 @@ inline Ark_LinearIndicatorController LinearIndicatorController_serializer::read( Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } -inline void LineOptions_serializer::write(SerializerBase& buffer, Ark_LineOptions value) -{ -} -inline Ark_LineOptions LineOptions_serializer::read(DeserializerBase& buffer) -{ - Ark_LineOptions value = {}; - return value; -} inline void ListScroller_serializer::write(SerializerBase& buffer, Ark_ListScroller value) { SerializerBase& valueSerializer = buffer; @@ -61274,6 +67643,22 @@ inline Ark_matrix4_Matrix4Transit matrix4_Matrix4Transit_serializer::read(Deseri Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void NativeMediaPlayerConfig_serializer::write(SerializerBase& buffer, Ark_NativeMediaPlayerConfig value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForEnable = value.enable; + valueSerializer.writeBoolean(valueHolderForEnable); + const auto valueHolderForShouldOverlay = value.shouldOverlay; + valueSerializer.writeBoolean(valueHolderForShouldOverlay); +} +inline Ark_NativeMediaPlayerConfig NativeMediaPlayerConfig_serializer::read(DeserializerBase& buffer) +{ + Ark_NativeMediaPlayerConfig value = {}; + DeserializerBase& valueDeserializer = buffer; + value.enable = valueDeserializer.readBoolean(); + value.shouldOverlay = valueDeserializer.readBoolean(); + return value; +} inline void NavPathStack_serializer::write(SerializerBase& buffer, Ark_NavPathStack value) { SerializerBase& valueSerializer = buffer; @@ -61363,6 +67748,74 @@ inline Ark_OffsetResult OffsetResult_serializer::read(DeserializerBase& buffer) value.yOffset = static_cast(valueDeserializer.readNumber()); return value; } +inline void OnAudioStateChangedEvent_serializer::write(SerializerBase& buffer, Ark_OnAudioStateChangedEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForPlaying = value.playing; + valueSerializer.writeBoolean(valueHolderForPlaying); +} +inline Ark_OnAudioStateChangedEvent OnAudioStateChangedEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnAudioStateChangedEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.playing = valueDeserializer.readBoolean(); + return value; +} +inline void OnConsoleEvent_serializer::write(SerializerBase& buffer, Ark_OnConsoleEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForMessage = value.message; + ConsoleMessage_serializer::write(valueSerializer, valueHolderForMessage); +} +inline Ark_OnConsoleEvent OnConsoleEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnConsoleEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.message = static_cast(ConsoleMessage_serializer::read(valueDeserializer)); + return value; +} +inline void OnDataResubmittedEvent_serializer::write(SerializerBase& buffer, Ark_OnDataResubmittedEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForHandler = value.handler; + DataResubmissionHandler_serializer::write(valueSerializer, valueHolderForHandler); +} +inline Ark_OnDataResubmittedEvent OnDataResubmittedEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnDataResubmittedEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.handler = static_cast(DataResubmissionHandler_serializer::read(valueDeserializer)); + return value; +} +inline void OnFaviconReceivedEvent_serializer::write(SerializerBase& buffer, Ark_OnFaviconReceivedEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForFavicon = value.favicon; + image_PixelMap_serializer::write(valueSerializer, valueHolderForFavicon); +} +inline Ark_OnFaviconReceivedEvent OnFaviconReceivedEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnFaviconReceivedEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.favicon = static_cast(image_PixelMap_serializer::read(valueDeserializer)); + return value; +} +inline void OnFirstContentfulPaintEvent_serializer::write(SerializerBase& buffer, Ark_OnFirstContentfulPaintEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForNavigationStartTick = value.navigationStartTick; + valueSerializer.writeInt64(valueHolderForNavigationStartTick); + const auto valueHolderForFirstContentfulPaintMs = value.firstContentfulPaintMs; + valueSerializer.writeInt64(valueHolderForFirstContentfulPaintMs); +} +inline Ark_OnFirstContentfulPaintEvent OnFirstContentfulPaintEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnFirstContentfulPaintEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.navigationStartTick = valueDeserializer.readInt64(); + value.firstContentfulPaintMs = valueDeserializer.readInt64(); + return value; +} inline void OnFoldStatusChangeInfo_serializer::write(SerializerBase& buffer, Ark_OnFoldStatusChangeInfo value) { SerializerBase& valueSerializer = buffer; @@ -61376,6 +67829,67 @@ inline Ark_OnFoldStatusChangeInfo OnFoldStatusChangeInfo_serializer::read(Deseri value.foldStatus = static_cast(valueDeserializer.readInt32()); return value; } +inline void OnOverScrollEvent_serializer::write(SerializerBase& buffer, Ark_OnOverScrollEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForXOffset = value.xOffset; + valueSerializer.writeFloat64(valueHolderForXOffset); + const auto valueHolderForYOffset = value.yOffset; + valueSerializer.writeFloat64(valueHolderForYOffset); +} +inline Ark_OnOverScrollEvent OnOverScrollEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnOverScrollEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.xOffset = valueDeserializer.readFloat64(); + value.yOffset = valueDeserializer.readFloat64(); + return value; +} +inline void OnProgressChangeEvent_serializer::write(SerializerBase& buffer, Ark_OnProgressChangeEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForNewProgress = value.newProgress; + valueSerializer.writeInt32(valueHolderForNewProgress); +} +inline Ark_OnProgressChangeEvent OnProgressChangeEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnProgressChangeEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.newProgress = valueDeserializer.readInt32(); + return value; +} +inline void OnScaleChangeEvent_serializer::write(SerializerBase& buffer, Ark_OnScaleChangeEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForOldScale = value.oldScale; + valueSerializer.writeFloat64(valueHolderForOldScale); + const auto valueHolderForNewScale = value.newScale; + valueSerializer.writeFloat64(valueHolderForNewScale); +} +inline Ark_OnScaleChangeEvent OnScaleChangeEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnScaleChangeEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.oldScale = valueDeserializer.readFloat64(); + value.newScale = valueDeserializer.readFloat64(); + return value; +} +inline void OnScrollEvent_serializer::write(SerializerBase& buffer, Ark_OnScrollEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForXOffset = value.xOffset; + valueSerializer.writeFloat64(valueHolderForXOffset); + const auto valueHolderForYOffset = value.yOffset; + valueSerializer.writeFloat64(valueHolderForYOffset); +} +inline Ark_OnScrollEvent OnScrollEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnScrollEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.xOffset = valueDeserializer.readFloat64(); + value.yOffset = valueDeserializer.readFloat64(); + return value; +} inline void OnScrollFrameBeginHandlerResult_serializer::write(SerializerBase& buffer, Ark_OnScrollFrameBeginHandlerResult value) { SerializerBase& valueSerializer = buffer; @@ -61389,16 +67903,40 @@ inline Ark_OnScrollFrameBeginHandlerResult OnScrollFrameBeginHandlerResult_seria value.offsetRemain = static_cast(valueDeserializer.readNumber()); return value; } -inline void PageLifeCycle_serializer::write(SerializerBase& buffer, Ark_PageLifeCycle value) +inline void OnSearchResultReceiveEvent_serializer::write(SerializerBase& buffer, Ark_OnSearchResultReceiveEvent value) { SerializerBase& valueSerializer = buffer; - valueSerializer.writePointer(value); + const auto valueHolderForActiveMatchOrdinal = value.activeMatchOrdinal; + valueSerializer.writeNumber(valueHolderForActiveMatchOrdinal); + const auto valueHolderForNumberOfMatches = value.numberOfMatches; + valueSerializer.writeNumber(valueHolderForNumberOfMatches); + const auto valueHolderForIsDoneCounting = value.isDoneCounting; + valueSerializer.writeBoolean(valueHolderForIsDoneCounting); } -inline Ark_PageLifeCycle PageLifeCycle_serializer::read(DeserializerBase& buffer) +inline Ark_OnSearchResultReceiveEvent OnSearchResultReceiveEvent_serializer::read(DeserializerBase& buffer) { + Ark_OnSearchResultReceiveEvent value = {}; DeserializerBase& valueDeserializer = buffer; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.activeMatchOrdinal = static_cast(valueDeserializer.readNumber()); + value.numberOfMatches = static_cast(valueDeserializer.readNumber()); + value.isDoneCounting = valueDeserializer.readBoolean(); + return value; +} +inline void OnShowFileSelectorEvent_serializer::write(SerializerBase& buffer, Ark_OnShowFileSelectorEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForResult = value.result; + FileSelectorResult_serializer::write(valueSerializer, valueHolderForResult); + const auto valueHolderForFileSelector = value.fileSelector; + FileSelectorParam_serializer::write(valueSerializer, valueHolderForFileSelector); +} +inline Ark_OnShowFileSelectorEvent OnShowFileSelectorEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnShowFileSelectorEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.result = static_cast(FileSelectorResult_serializer::read(valueDeserializer)); + value.fileSelector = static_cast(FileSelectorParam_serializer::read(valueDeserializer)); + return value; } inline void PanGestureInterface_serializer::write(SerializerBase& buffer, Ark_PanGestureInterface value) { @@ -61444,14 +67982,6 @@ inline Ark_Path2D Path2D_serializer::read(DeserializerBase& buffer) Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } -inline void PathOptions_serializer::write(SerializerBase& buffer, Ark_PathOptions value) -{ -} -inline Ark_PathOptions PathOptions_serializer::read(DeserializerBase& buffer) -{ - Ark_PathOptions value = {}; - return value; -} inline void PathShape_serializer::write(SerializerBase& buffer, Ark_PathShape value) { SerializerBase& valueSerializer = buffer; @@ -61474,6 +68004,17 @@ inline Ark_PatternLockController PatternLockController_serializer::read(Deserial Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void PermissionRequest_serializer::write(SerializerBase& buffer, Ark_PermissionRequest value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_PermissionRequest PermissionRequest_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} inline void PinchGestureInterface_serializer::write(SerializerBase& buffer, Ark_PinchGestureInterface value) { SerializerBase& valueSerializer = buffer; @@ -61511,29 +68052,13 @@ inline void PlaybackInfo_serializer::write(SerializerBase& buffer, Ark_PlaybackI { SerializerBase& valueSerializer = buffer; const auto valueHolderForTime = value.time; - valueSerializer.writeNumber(valueHolderForTime); + valueSerializer.writeInt32(valueHolderForTime); } inline Ark_PlaybackInfo PlaybackInfo_serializer::read(DeserializerBase& buffer) { Ark_PlaybackInfo value = {}; DeserializerBase& valueDeserializer = buffer; - value.time = static_cast(valueDeserializer.readNumber()); - return value; -} -inline void PolygonOptions_serializer::write(SerializerBase& buffer, Ark_PolygonOptions value) -{ -} -inline Ark_PolygonOptions PolygonOptions_serializer::read(DeserializerBase& buffer) -{ - Ark_PolygonOptions value = {}; - return value; -} -inline void PolylineOptions_serializer::write(SerializerBase& buffer, Ark_PolylineOptions value) -{ -} -inline Ark_PolylineOptions PolylineOptions_serializer::read(DeserializerBase& buffer) -{ - Ark_PolylineOptions value = {}; + value.time = valueDeserializer.readInt32(); return value; } inline void PopupStateChangeParam_serializer::write(SerializerBase& buffer, Ark_PopupStateChangeParam value) @@ -61566,13 +68091,13 @@ inline void PreparedInfo_serializer::write(SerializerBase& buffer, Ark_PreparedI { SerializerBase& valueSerializer = buffer; const auto valueHolderForDuration = value.duration; - valueSerializer.writeNumber(valueHolderForDuration); + valueSerializer.writeInt32(valueHolderForDuration); } inline Ark_PreparedInfo PreparedInfo_serializer::read(DeserializerBase& buffer) { Ark_PreparedInfo value = {}; DeserializerBase& valueDeserializer = buffer; - value.duration = static_cast(valueDeserializer.readNumber()); + value.duration = valueDeserializer.readInt32(); return value; } inline void ProgressConfiguration_serializer::write(SerializerBase& buffer, Ark_ProgressConfiguration value) @@ -61619,6 +68144,17 @@ inline Ark_PromptAction PromptAction_serializer::read(DeserializerBase& buffer) Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void PulseSymbolEffect_serializer::write(SerializerBase& buffer, Ark_PulseSymbolEffect value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_PulseSymbolEffect PulseSymbolEffect_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} inline void RectResult_serializer::write(SerializerBase& buffer, Ark_RectResult value) { SerializerBase& valueSerializer = buffer; @@ -61769,14 +68305,6 @@ inline Ark_RotationRecognizer RotationRecognizer_serializer::read(DeserializerBa Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } -inline void RoundedRectOptions_serializer::write(SerializerBase& buffer, Ark_RoundedRectOptions value) -{ -} -inline Ark_RoundedRectOptions RoundedRectOptions_serializer::read(DeserializerBase& buffer) -{ - Ark_RoundedRectOptions value = {}; - return value; -} inline void RowOptionsV2_serializer::write(SerializerBase& buffer, Ark_RowOptionsV2 value) { SerializerBase& valueSerializer = buffer; @@ -61851,6 +68379,17 @@ inline Ark_Scene Scene_serializer::read(DeserializerBase& buffer) Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void ScreenCaptureHandler_serializer::write(SerializerBase& buffer, Ark_ScreenCaptureHandler value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_ScreenCaptureHandler ScreenCaptureHandler_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} inline void ScrollableTargetInfo_serializer::write(SerializerBase& buffer, Ark_ScrollableTargetInfo value) { SerializerBase& valueSerializer = buffer; @@ -61982,6 +68521,17 @@ inline Ark_SpringProp SpringProp_serializer::read(DeserializerBase& buffer) Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void SslErrorHandler_serializer::write(SerializerBase& buffer, Ark_SslErrorHandler value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_SslErrorHandler SslErrorHandler_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} inline void StyledString_serializer::write(SerializerBase& buffer, Ark_StyledString value) { SerializerBase& valueSerializer = buffer; @@ -62878,6 +69428,28 @@ inline Ark_WaterFlowSections WaterFlowSections_serializer::read(DeserializerBase Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void WebContextMenuParam_serializer::write(SerializerBase& buffer, Ark_WebContextMenuParam value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_WebContextMenuParam WebContextMenuParam_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} +inline void WebContextMenuResult_serializer::write(SerializerBase& buffer, Ark_WebContextMenuResult value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_WebContextMenuResult WebContextMenuResult_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} inline void WebCookie_serializer::write(SerializerBase& buffer, Ark_WebCookie value) { SerializerBase& valueSerializer = buffer; @@ -62889,6 +69461,77 @@ inline Ark_WebCookie WebCookie_serializer::read(DeserializerBase& buffer) Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void WebKeyboardController_serializer::write(SerializerBase& buffer, Ark_WebKeyboardController value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_WebKeyboardController WebKeyboardController_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} +inline void WebResourceError_serializer::write(SerializerBase& buffer, Ark_WebResourceError value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_WebResourceError WebResourceError_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} +inline void WebResourceRequest_serializer::write(SerializerBase& buffer, Ark_WebResourceRequest value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_WebResourceRequest WebResourceRequest_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} +inline void WebResourceResponse_serializer::write(SerializerBase& buffer, Ark_WebResourceResponse value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_WebResourceResponse WebResourceResponse_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} +inline void webview_WebHeader_serializer::write(SerializerBase& buffer, Ark_webview_WebHeader value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForHeaderKey = value.headerKey; + valueSerializer.writeString(valueHolderForHeaderKey); + const auto valueHolderForHeaderValue = value.headerValue; + valueSerializer.writeString(valueHolderForHeaderValue); +} +inline Ark_webview_WebHeader webview_WebHeader_serializer::read(DeserializerBase& buffer) +{ + Ark_webview_WebHeader value = {}; + DeserializerBase& valueDeserializer = buffer; + value.headerKey = static_cast(valueDeserializer.readString()); + value.headerValue = static_cast(valueDeserializer.readString()); + return value; +} +inline void webview_WebviewController_serializer::write(SerializerBase& buffer, Ark_webview_WebviewController value) +{ + SerializerBase& valueSerializer = buffer; + valueSerializer.writePointer(value); +} +inline Ark_webview_WebviewController webview_WebviewController_serializer::read(DeserializerBase& buffer) +{ + DeserializerBase& valueDeserializer = buffer; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); +} inline void WindowAnimationTarget_serializer::write(SerializerBase& buffer, Ark_WindowAnimationTarget value) { SerializerBase& valueSerializer = buffer; @@ -62911,14 +69554,6 @@ inline Ark_WindowAnimationTarget WindowAnimationTarget_serializer::read(Deserial value.missionId = static_cast(valueDeserializer.readNumber()); return value; } -inline void WorkerEventListener_serializer::write(SerializerBase& buffer, Ark_WorkerEventListener value) -{ -} -inline Ark_WorkerEventListener WorkerEventListener_serializer::read(DeserializerBase& buffer) -{ - Ark_WorkerEventListener value = {}; - return value; -} inline void AccessibilityOptions_serializer::write(SerializerBase& buffer, Ark_AccessibilityOptions value) { SerializerBase& valueSerializer = buffer; @@ -62944,6 +69579,33 @@ inline Ark_AccessibilityOptions AccessibilityOptions_serializer::read(Deserializ value.accessibilityPreferred = accessibilityPreferredTmpBuf; return value; } +inline void AdsBlockedDetails_serializer::write(SerializerBase& buffer, Ark_AdsBlockedDetails value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForUrl = value.url; + valueSerializer.writeString(valueHolderForUrl); + const auto valueHolderForAdsBlocked = value.adsBlocked; + valueSerializer.writeInt32(valueHolderForAdsBlocked.length); + for (int valueHolderForAdsBlockedCounterI = 0; valueHolderForAdsBlockedCounterI < valueHolderForAdsBlocked.length; valueHolderForAdsBlockedCounterI++) { + const Ark_String valueHolderForAdsBlockedTmpElement = valueHolderForAdsBlocked.array[valueHolderForAdsBlockedCounterI]; + valueSerializer.writeString(valueHolderForAdsBlockedTmpElement); + } +} +inline Ark_AdsBlockedDetails AdsBlockedDetails_serializer::read(DeserializerBase& buffer) +{ + Ark_AdsBlockedDetails value = {}; + DeserializerBase& valueDeserializer = buffer; + value.url = static_cast(valueDeserializer.readString()); + const Ark_Int32 adsBlockedTmpBufLength = valueDeserializer.readInt32(); + Array_String adsBlockedTmpBuf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&adsBlockedTmpBuf, adsBlockedTmpBufLength); + for (int adsBlockedTmpBufBufCounterI = 0; adsBlockedTmpBufBufCounterI < adsBlockedTmpBufLength; adsBlockedTmpBufBufCounterI++) { + adsBlockedTmpBuf.array[adsBlockedTmpBufBufCounterI] = static_cast(valueDeserializer.readString()); + } + value.adsBlocked = adsBlockedTmpBuf; + return value; +} inline void AlignRuleOption_serializer::write(SerializerBase& buffer, Ark_AlignRuleOption value) { SerializerBase& valueSerializer = buffer; @@ -63905,6 +70567,86 @@ inline Ark_Circle Circle_serializer::read(DeserializerBase& buffer) value.radius = static_cast(valueDeserializer.readNumber()); return value; } +inline void CircleOptions_serializer::write(SerializerBase& buffer, Ark_CircleOptions value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForWidth = value.width; + if (runtimeType(valueHolderForWidth) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForWidthTmpValue = valueHolderForWidth.value; + if (valueHolderForWidthTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue.value0; + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx0); + } else if (valueHolderForWidthTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue.value1; + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForHeight = value.height; + if (runtimeType(valueHolderForHeight) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForHeightTmpValue = valueHolderForHeight.value; + if (valueHolderForHeightTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue.value0; + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx0); + } else if (valueHolderForHeightTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue.value1; + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_CircleOptions CircleOptions_serializer::read(DeserializerBase& buffer) +{ + Ark_CircleOptions value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto widthTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_F64 widthTmpBuf = {}; + widthTmpBuf.tag = widthTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((widthTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 widthTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_String_F64 widthTmpBuf_ = {}; + widthTmpBuf_.selector = widthTmpBuf_UnionSelector; + if (widthTmpBuf_UnionSelector == 0) { + widthTmpBuf_.selector = 0; + widthTmpBuf_.value0 = static_cast(valueDeserializer.readString()); + } else if (widthTmpBuf_UnionSelector == 1) { + widthTmpBuf_.selector = 1; + widthTmpBuf_.value1 = valueDeserializer.readFloat64(); + } else { + INTEROP_FATAL("One of the branches for widthTmpBuf_ has to be chosen through deserialisation."); + } + widthTmpBuf.value = static_cast(widthTmpBuf_); + } + value.width = widthTmpBuf; + const auto heightTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_F64 heightTmpBuf = {}; + heightTmpBuf.tag = heightTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((heightTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 heightTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_String_F64 heightTmpBuf_ = {}; + heightTmpBuf_.selector = heightTmpBuf_UnionSelector; + if (heightTmpBuf_UnionSelector == 0) { + heightTmpBuf_.selector = 0; + heightTmpBuf_.value0 = static_cast(valueDeserializer.readString()); + } else if (heightTmpBuf_UnionSelector == 1) { + heightTmpBuf_.selector = 1; + heightTmpBuf_.value1 = valueDeserializer.readFloat64(); + } else { + INTEROP_FATAL("One of the branches for heightTmpBuf_ has to be chosen through deserialisation."); + } + heightTmpBuf.value = static_cast(heightTmpBuf_); + } + value.height = heightTmpBuf; + return value; +} inline void ClickEffect_serializer::write(SerializerBase& buffer, Ark_ClickEffect value) { SerializerBase& valueSerializer = buffer; @@ -65141,6 +71883,111 @@ inline Ark_EditMenuOptions EditMenuOptions_serializer::read(DeserializerBase& bu value.onMenuItemClick = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnMenuItemClickCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnMenuItemClickCallback))))}; return value; } +inline void EllipseOptions_serializer::write(SerializerBase& buffer, Ark_EllipseOptions value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForWidth = value.width; + if (runtimeType(valueHolderForWidth) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForWidthTmpValue = valueHolderForWidth.value; + if (valueHolderForWidthTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue.value0; + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx0); + } else if (valueHolderForWidthTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue.value1; + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForHeight = value.height; + if (runtimeType(valueHolderForHeight) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForHeightTmpValue = valueHolderForHeight.value; + if (valueHolderForHeightTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue.value0; + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx0); + } else if (valueHolderForHeightTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue.value1; + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_EllipseOptions EllipseOptions_serializer::read(DeserializerBase& buffer) +{ + Ark_EllipseOptions value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto widthTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_F64 widthTmpBuf = {}; + widthTmpBuf.tag = widthTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((widthTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 widthTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_String_F64 widthTmpBuf_ = {}; + widthTmpBuf_.selector = widthTmpBuf_UnionSelector; + if (widthTmpBuf_UnionSelector == 0) { + widthTmpBuf_.selector = 0; + widthTmpBuf_.value0 = static_cast(valueDeserializer.readString()); + } else if (widthTmpBuf_UnionSelector == 1) { + widthTmpBuf_.selector = 1; + widthTmpBuf_.value1 = valueDeserializer.readFloat64(); + } else { + INTEROP_FATAL("One of the branches for widthTmpBuf_ has to be chosen through deserialisation."); + } + widthTmpBuf.value = static_cast(widthTmpBuf_); + } + value.width = widthTmpBuf; + const auto heightTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_F64 heightTmpBuf = {}; + heightTmpBuf.tag = heightTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((heightTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 heightTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_String_F64 heightTmpBuf_ = {}; + heightTmpBuf_.selector = heightTmpBuf_UnionSelector; + if (heightTmpBuf_UnionSelector == 0) { + heightTmpBuf_.selector = 0; + heightTmpBuf_.value0 = static_cast(valueDeserializer.readString()); + } else if (heightTmpBuf_UnionSelector == 1) { + heightTmpBuf_.selector = 1; + heightTmpBuf_.value1 = valueDeserializer.readFloat64(); + } else { + INTEROP_FATAL("One of the branches for heightTmpBuf_ has to be chosen through deserialisation."); + } + heightTmpBuf.value = static_cast(heightTmpBuf_); + } + value.height = heightTmpBuf; + return value; +} +inline void EmbedOptions_serializer::write(SerializerBase& buffer, Ark_EmbedOptions value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForSupportDefaultIntrinsicSize = value.supportDefaultIntrinsicSize; + if (runtimeType(valueHolderForSupportDefaultIntrinsicSize) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForSupportDefaultIntrinsicSizeTmpValue = valueHolderForSupportDefaultIntrinsicSize.value; + valueSerializer.writeBoolean(valueHolderForSupportDefaultIntrinsicSizeTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_EmbedOptions EmbedOptions_serializer::read(DeserializerBase& buffer) +{ + Ark_EmbedOptions value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto supportDefaultIntrinsicSizeTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean supportDefaultIntrinsicSizeTmpBuf = {}; + supportDefaultIntrinsicSizeTmpBuf.tag = supportDefaultIntrinsicSizeTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((supportDefaultIntrinsicSizeTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + supportDefaultIntrinsicSizeTmpBuf.value = valueDeserializer.readBoolean(); + } + value.supportDefaultIntrinsicSize = supportDefaultIntrinsicSizeTmpBuf; + return value; +} inline void ErrorEvent_serializer::write(SerializerBase& buffer, Ark_ErrorEvent value) { SerializerBase& valueSerializer = buffer; @@ -65269,6 +72116,46 @@ inline Ark_FingerInfo FingerInfo_serializer::read(DeserializerBase& buffer) value.hand = handTmpBuf; return value; } +inline void FirstMeaningfulPaint_serializer::write(SerializerBase& buffer, Ark_FirstMeaningfulPaint value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForNavigationStartTime = value.navigationStartTime; + if (runtimeType(valueHolderForNavigationStartTime) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForNavigationStartTimeTmpValue = valueHolderForNavigationStartTime.value; + valueSerializer.writeInt64(valueHolderForNavigationStartTimeTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForFirstMeaningfulPaintTime = value.firstMeaningfulPaintTime; + if (runtimeType(valueHolderForFirstMeaningfulPaintTime) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForFirstMeaningfulPaintTimeTmpValue = valueHolderForFirstMeaningfulPaintTime.value; + valueSerializer.writeInt64(valueHolderForFirstMeaningfulPaintTimeTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_FirstMeaningfulPaint FirstMeaningfulPaint_serializer::read(DeserializerBase& buffer) +{ + Ark_FirstMeaningfulPaint value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto navigationStartTimeTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Int64 navigationStartTimeTmpBuf = {}; + navigationStartTimeTmpBuf.tag = navigationStartTimeTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((navigationStartTimeTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + navigationStartTimeTmpBuf.value = valueDeserializer.readInt64(); + } + value.navigationStartTime = navigationStartTimeTmpBuf; + const auto firstMeaningfulPaintTimeTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Int64 firstMeaningfulPaintTimeTmpBuf = {}; + firstMeaningfulPaintTimeTmpBuf.tag = firstMeaningfulPaintTimeTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((firstMeaningfulPaintTimeTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + firstMeaningfulPaintTimeTmpBuf.value = valueDeserializer.readInt64(); + } + value.firstMeaningfulPaintTime = firstMeaningfulPaintTimeTmpBuf; + return value; +} inline void FocusMovement_serializer::write(SerializerBase& buffer, Ark_FocusMovement value) { SerializerBase& valueSerializer = buffer; @@ -65609,6 +72496,49 @@ inline Ark_Frame Frame_serializer::read(DeserializerBase& buffer) value.height = static_cast(valueDeserializer.readNumber()); return value; } +inline void FullScreenEnterEvent_serializer::write(SerializerBase& buffer, Ark_FullScreenEnterEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForHandler = value.handler; + FullScreenExitHandler_serializer::write(valueSerializer, valueHolderForHandler); + const auto valueHolderForVideoWidth = value.videoWidth; + if (runtimeType(valueHolderForVideoWidth) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForVideoWidthTmpValue = valueHolderForVideoWidth.value; + valueSerializer.writeNumber(valueHolderForVideoWidthTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForVideoHeight = value.videoHeight; + if (runtimeType(valueHolderForVideoHeight) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForVideoHeightTmpValue = valueHolderForVideoHeight.value; + valueSerializer.writeNumber(valueHolderForVideoHeightTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_FullScreenEnterEvent FullScreenEnterEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_FullScreenEnterEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.handler = static_cast(FullScreenExitHandler_serializer::read(valueDeserializer)); + const auto videoWidthTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number videoWidthTmpBuf = {}; + videoWidthTmpBuf.tag = videoWidthTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((videoWidthTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + videoWidthTmpBuf.value = static_cast(valueDeserializer.readNumber()); + } + value.videoWidth = videoWidthTmpBuf; + const auto videoHeightTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number videoHeightTmpBuf = {}; + videoHeightTmpBuf.tag = videoHeightTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((videoHeightTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + videoHeightTmpBuf.value = static_cast(valueDeserializer.readNumber()); + } + value.videoHeight = videoHeightTmpBuf; + return value; +} inline void GaugeConfiguration_serializer::write(SerializerBase& buffer, Ark_GaugeConfiguration value) { SerializerBase& valueSerializer = buffer; @@ -66096,6 +73026,22 @@ inline Ark_GridRowColumnOption GridRowColumnOption_serializer::read(Deserializer value.xxl = xxlTmpBuf; return value; } +inline void Header_serializer::write(SerializerBase& buffer, Ark_Header value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForHeaderKey = value.headerKey; + valueSerializer.writeString(valueHolderForHeaderKey); + const auto valueHolderForHeaderValue = value.headerValue; + valueSerializer.writeString(valueHolderForHeaderValue); +} +inline Ark_Header Header_serializer::read(DeserializerBase& buffer) +{ + Ark_Header value = {}; + DeserializerBase& valueDeserializer = buffer; + value.headerKey = static_cast(valueDeserializer.readString()); + value.headerValue = static_cast(valueDeserializer.readString()); + return value; +} inline void HierarchicalSymbolEffect_serializer::write(SerializerBase& buffer, Ark_HierarchicalSymbolEffect value) { SerializerBase& valueSerializer = buffer; @@ -66372,6 +73318,22 @@ inline Ark_InsertValue InsertValue_serializer::read(DeserializerBase& buffer) value.insertValue = static_cast(valueDeserializer.readString()); return value; } +inline void IntelligentTrackingPreventionDetails_serializer::write(SerializerBase& buffer, Ark_IntelligentTrackingPreventionDetails value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForHost = value.host; + valueSerializer.writeString(valueHolderForHost); + const auto valueHolderForTrackerHost = value.trackerHost; + valueSerializer.writeString(valueHolderForTrackerHost); +} +inline Ark_IntelligentTrackingPreventionDetails IntelligentTrackingPreventionDetails_serializer::read(DeserializerBase& buffer) +{ + Ark_IntelligentTrackingPreventionDetails value = {}; + DeserializerBase& valueDeserializer = buffer; + value.host = static_cast(valueDeserializer.readString()); + value.trackerHost = static_cast(valueDeserializer.readString()); + return value; +} inline void intl_DateTimeOptions_serializer::write(SerializerBase& buffer, Ark_intl_DateTimeOptions value) { SerializerBase& valueSerializer = buffer; @@ -66705,6 +73667,80 @@ inline Ark_ItemDragInfo ItemDragInfo_serializer::read(DeserializerBase& buffer) value.y = static_cast(valueDeserializer.readNumber()); return value; } +inline void JavaScriptProxy_serializer::write(SerializerBase& buffer, Ark_JavaScriptProxy value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForObject_ = value.object_; + valueSerializer.writeObject(valueHolderForObject_); + const auto valueHolderForName = value.name; + valueSerializer.writeString(valueHolderForName); + const auto valueHolderForMethodList = value.methodList; + valueSerializer.writeInt32(valueHolderForMethodList.length); + for (int valueHolderForMethodListCounterI = 0; valueHolderForMethodListCounterI < valueHolderForMethodList.length; valueHolderForMethodListCounterI++) { + const Ark_String valueHolderForMethodListTmpElement = valueHolderForMethodList.array[valueHolderForMethodListCounterI]; + valueSerializer.writeString(valueHolderForMethodListTmpElement); + } + const auto valueHolderForController = value.controller; + webview_WebviewController_serializer::write(valueSerializer, valueHolderForController); + const auto valueHolderForAsyncMethodList = value.asyncMethodList; + if (runtimeType(valueHolderForAsyncMethodList) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForAsyncMethodListTmpValue = valueHolderForAsyncMethodList.value; + valueSerializer.writeInt32(valueHolderForAsyncMethodListTmpValue.length); + for (int valueHolderForAsyncMethodListTmpValueCounterI = 0; valueHolderForAsyncMethodListTmpValueCounterI < valueHolderForAsyncMethodListTmpValue.length; valueHolderForAsyncMethodListTmpValueCounterI++) { + const Ark_String valueHolderForAsyncMethodListTmpValueTmpElement = valueHolderForAsyncMethodListTmpValue.array[valueHolderForAsyncMethodListTmpValueCounterI]; + valueSerializer.writeString(valueHolderForAsyncMethodListTmpValueTmpElement); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForPermission = value.permission; + if (runtimeType(valueHolderForPermission) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForPermissionTmpValue = valueHolderForPermission.value; + valueSerializer.writeString(valueHolderForPermissionTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_JavaScriptProxy JavaScriptProxy_serializer::read(DeserializerBase& buffer) +{ + Ark_JavaScriptProxy value = {}; + DeserializerBase& valueDeserializer = buffer; + value.object_ = static_cast(valueDeserializer.readObject()); + value.name = static_cast(valueDeserializer.readString()); + const Ark_Int32 methodListTmpBufLength = valueDeserializer.readInt32(); + Array_String methodListTmpBuf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&methodListTmpBuf, methodListTmpBufLength); + for (int methodListTmpBufBufCounterI = 0; methodListTmpBufBufCounterI < methodListTmpBufLength; methodListTmpBufBufCounterI++) { + methodListTmpBuf.array[methodListTmpBufBufCounterI] = static_cast(valueDeserializer.readString()); + } + value.methodList = methodListTmpBuf; + value.controller = static_cast(webview_WebviewController_serializer::read(valueDeserializer)); + const auto asyncMethodListTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_String asyncMethodListTmpBuf = {}; + asyncMethodListTmpBuf.tag = asyncMethodListTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((asyncMethodListTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 asyncMethodListTmpBuf_Length = valueDeserializer.readInt32(); + Array_String asyncMethodListTmpBuf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&asyncMethodListTmpBuf_, asyncMethodListTmpBuf_Length); + for (int asyncMethodListTmpBuf_BufCounterI = 0; asyncMethodListTmpBuf_BufCounterI < asyncMethodListTmpBuf_Length; asyncMethodListTmpBuf_BufCounterI++) { + asyncMethodListTmpBuf_.array[asyncMethodListTmpBuf_BufCounterI] = static_cast(valueDeserializer.readString()); + } + asyncMethodListTmpBuf.value = asyncMethodListTmpBuf_; + } + value.asyncMethodList = asyncMethodListTmpBuf; + const auto permissionTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String permissionTmpBuf = {}; + permissionTmpBuf.tag = permissionTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((permissionTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + permissionTmpBuf.value = static_cast(valueDeserializer.readString()); + } + value.permission = permissionTmpBuf; + return value; +} inline void KeyboardOptions_serializer::write(SerializerBase& buffer, Ark_KeyboardOptions value) { SerializerBase& valueSerializer = buffer; @@ -66741,6 +73777,106 @@ inline Ark_KeyEvent KeyEvent_serializer::read(DeserializerBase& buffer) Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void LargestContentfulPaint_serializer::write(SerializerBase& buffer, Ark_LargestContentfulPaint value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForNavigationStartTime = value.navigationStartTime; + if (runtimeType(valueHolderForNavigationStartTime) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForNavigationStartTimeTmpValue = valueHolderForNavigationStartTime.value; + valueSerializer.writeInt64(valueHolderForNavigationStartTimeTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForLargestImagePaintTime = value.largestImagePaintTime; + if (runtimeType(valueHolderForLargestImagePaintTime) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForLargestImagePaintTimeTmpValue = valueHolderForLargestImagePaintTime.value; + valueSerializer.writeInt64(valueHolderForLargestImagePaintTimeTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForLargestTextPaintTime = value.largestTextPaintTime; + if (runtimeType(valueHolderForLargestTextPaintTime) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForLargestTextPaintTimeTmpValue = valueHolderForLargestTextPaintTime.value; + valueSerializer.writeInt64(valueHolderForLargestTextPaintTimeTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForImageBPP = value.imageBPP; + if (runtimeType(valueHolderForImageBPP) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForImageBPPTmpValue = valueHolderForImageBPP.value; + valueSerializer.writeFloat64(valueHolderForImageBPPTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForLargestImageLoadStartTime = value.largestImageLoadStartTime; + if (runtimeType(valueHolderForLargestImageLoadStartTime) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForLargestImageLoadStartTimeTmpValue = valueHolderForLargestImageLoadStartTime.value; + valueSerializer.writeInt64(valueHolderForLargestImageLoadStartTimeTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForLargestImageLoadEndTime = value.largestImageLoadEndTime; + if (runtimeType(valueHolderForLargestImageLoadEndTime) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForLargestImageLoadEndTimeTmpValue = valueHolderForLargestImageLoadEndTime.value; + valueSerializer.writeInt64(valueHolderForLargestImageLoadEndTimeTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_LargestContentfulPaint LargestContentfulPaint_serializer::read(DeserializerBase& buffer) +{ + Ark_LargestContentfulPaint value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto navigationStartTimeTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Int64 navigationStartTimeTmpBuf = {}; + navigationStartTimeTmpBuf.tag = navigationStartTimeTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((navigationStartTimeTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + navigationStartTimeTmpBuf.value = valueDeserializer.readInt64(); + } + value.navigationStartTime = navigationStartTimeTmpBuf; + const auto largestImagePaintTimeTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Int64 largestImagePaintTimeTmpBuf = {}; + largestImagePaintTimeTmpBuf.tag = largestImagePaintTimeTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((largestImagePaintTimeTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + largestImagePaintTimeTmpBuf.value = valueDeserializer.readInt64(); + } + value.largestImagePaintTime = largestImagePaintTimeTmpBuf; + const auto largestTextPaintTimeTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Int64 largestTextPaintTimeTmpBuf = {}; + largestTextPaintTimeTmpBuf.tag = largestTextPaintTimeTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((largestTextPaintTimeTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + largestTextPaintTimeTmpBuf.value = valueDeserializer.readInt64(); + } + value.largestTextPaintTime = largestTextPaintTimeTmpBuf; + const auto imageBPPTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Float64 imageBPPTmpBuf = {}; + imageBPPTmpBuf.tag = imageBPPTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((imageBPPTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + imageBPPTmpBuf.value = valueDeserializer.readFloat64(); + } + value.imageBPP = imageBPPTmpBuf; + const auto largestImageLoadStartTimeTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Int64 largestImageLoadStartTimeTmpBuf = {}; + largestImageLoadStartTimeTmpBuf.tag = largestImageLoadStartTimeTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((largestImageLoadStartTimeTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + largestImageLoadStartTimeTmpBuf.value = valueDeserializer.readInt64(); + } + value.largestImageLoadStartTime = largestImageLoadStartTimeTmpBuf; + const auto largestImageLoadEndTimeTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Int64 largestImageLoadEndTimeTmpBuf = {}; + largestImageLoadEndTimeTmpBuf.tag = largestImageLoadEndTimeTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((largestImageLoadEndTimeTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + largestImageLoadEndTimeTmpBuf.value = valueDeserializer.readInt64(); + } + value.largestImageLoadEndTime = largestImageLoadEndTimeTmpBuf; + return value; +} inline void LayoutConstraint_serializer::write(SerializerBase& buffer, Ark_LayoutConstraint value) { SerializerBase& valueSerializer = buffer; @@ -66995,6 +74131,86 @@ inline Ark_LineHeightStyle LineHeightStyle_serializer::read(DeserializerBase& bu Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void LineOptions_serializer::write(SerializerBase& buffer, Ark_LineOptions value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForWidth = value.width; + if (runtimeType(valueHolderForWidth) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForWidthTmpValue = valueHolderForWidth.value; + if (valueHolderForWidthTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue.value0; + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx0); + } else if (valueHolderForWidthTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue.value1; + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForHeight = value.height; + if (runtimeType(valueHolderForHeight) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForHeightTmpValue = valueHolderForHeight.value; + if (valueHolderForHeightTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue.value0; + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx0); + } else if (valueHolderForHeightTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue.value1; + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_LineOptions LineOptions_serializer::read(DeserializerBase& buffer) +{ + Ark_LineOptions value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto widthTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_F64 widthTmpBuf = {}; + widthTmpBuf.tag = widthTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((widthTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 widthTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_String_F64 widthTmpBuf_ = {}; + widthTmpBuf_.selector = widthTmpBuf_UnionSelector; + if (widthTmpBuf_UnionSelector == 0) { + widthTmpBuf_.selector = 0; + widthTmpBuf_.value0 = static_cast(valueDeserializer.readString()); + } else if (widthTmpBuf_UnionSelector == 1) { + widthTmpBuf_.selector = 1; + widthTmpBuf_.value1 = valueDeserializer.readFloat64(); + } else { + INTEROP_FATAL("One of the branches for widthTmpBuf_ has to be chosen through deserialisation."); + } + widthTmpBuf.value = static_cast(widthTmpBuf_); + } + value.width = widthTmpBuf; + const auto heightTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_F64 heightTmpBuf = {}; + heightTmpBuf.tag = heightTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((heightTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 heightTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_String_F64 heightTmpBuf_ = {}; + heightTmpBuf_.selector = heightTmpBuf_UnionSelector; + if (heightTmpBuf_UnionSelector == 0) { + heightTmpBuf_.selector = 0; + heightTmpBuf_.value0 = static_cast(valueDeserializer.readString()); + } else if (heightTmpBuf_UnionSelector == 1) { + heightTmpBuf_.selector = 1; + heightTmpBuf_.value1 = valueDeserializer.readFloat64(); + } else { + INTEROP_FATAL("One of the branches for heightTmpBuf_ has to be chosen through deserialisation."); + } + heightTmpBuf.value = static_cast(heightTmpBuf_); + } + value.height = heightTmpBuf; + return value; +} inline void ListItemGroupOptions_serializer::write(SerializerBase& buffer, Ark_ListItemGroupOptions value) { SerializerBase& valueSerializer = buffer; @@ -67219,6 +74435,31 @@ inline Ark_ListOptions ListOptions_serializer::read(DeserializerBase& buffer) value.scroller = scrollerTmpBuf; return value; } +inline void LoadCommittedDetails_serializer::write(SerializerBase& buffer, Ark_LoadCommittedDetails value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForIsMainFrame = value.isMainFrame; + valueSerializer.writeBoolean(valueHolderForIsMainFrame); + const auto valueHolderForIsSameDocument = value.isSameDocument; + valueSerializer.writeBoolean(valueHolderForIsSameDocument); + const auto valueHolderForDidReplaceEntry = value.didReplaceEntry; + valueSerializer.writeBoolean(valueHolderForDidReplaceEntry); + const auto valueHolderForNavigationType = value.navigationType; + valueSerializer.writeInt32(static_cast(valueHolderForNavigationType)); + const auto valueHolderForUrl = value.url; + valueSerializer.writeString(valueHolderForUrl); +} +inline Ark_LoadCommittedDetails LoadCommittedDetails_serializer::read(DeserializerBase& buffer) +{ + Ark_LoadCommittedDetails value = {}; + DeserializerBase& valueDeserializer = buffer; + 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; +} inline void LocalizedHorizontalAlignParam_serializer::write(SerializerBase& buffer, Ark_LocalizedHorizontalAlignParam value) { SerializerBase& valueSerializer = buffer; @@ -67678,6 +74919,22 @@ inline Ark_MutableStyledString MutableStyledString_serializer::read(Deserializer Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void NativeEmbedVisibilityInfo_serializer::write(SerializerBase& buffer, Ark_NativeEmbedVisibilityInfo value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForVisibility = value.visibility; + valueSerializer.writeBoolean(valueHolderForVisibility); + const auto valueHolderForEmbedId = value.embedId; + valueSerializer.writeString(valueHolderForEmbedId); +} +inline Ark_NativeEmbedVisibilityInfo NativeEmbedVisibilityInfo_serializer::read(DeserializerBase& buffer) +{ + Ark_NativeEmbedVisibilityInfo value = {}; + DeserializerBase& valueDeserializer = buffer; + value.visibility = valueDeserializer.readBoolean(); + value.embedId = static_cast(valueDeserializer.readString()); + return value; +} inline void NavContentInfo_serializer::write(SerializerBase& buffer, Ark_NavContentInfo value) { SerializerBase& valueSerializer = buffer; @@ -68018,6 +75275,536 @@ inline Ark_NestedScrollInfo NestedScrollInfo_serializer::read(DeserializerBase& value.child = static_cast(Scroller_serializer::read(valueDeserializer)); return value; } +inline void NestedScrollOptionsExt_serializer::write(SerializerBase& buffer, Ark_NestedScrollOptionsExt value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForScrollUp = value.scrollUp; + if (runtimeType(valueHolderForScrollUp) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForScrollUpTmpValue = valueHolderForScrollUp.value; + valueSerializer.writeInt32(static_cast(valueHolderForScrollUpTmpValue)); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForScrollDown = value.scrollDown; + if (runtimeType(valueHolderForScrollDown) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForScrollDownTmpValue = valueHolderForScrollDown.value; + valueSerializer.writeInt32(static_cast(valueHolderForScrollDownTmpValue)); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForScrollRight = value.scrollRight; + if (runtimeType(valueHolderForScrollRight) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForScrollRightTmpValue = valueHolderForScrollRight.value; + valueSerializer.writeInt32(static_cast(valueHolderForScrollRightTmpValue)); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForScrollLeft = value.scrollLeft; + if (runtimeType(valueHolderForScrollLeft) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForScrollLeftTmpValue = valueHolderForScrollLeft.value; + valueSerializer.writeInt32(static_cast(valueHolderForScrollLeftTmpValue)); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_NestedScrollOptionsExt NestedScrollOptionsExt_serializer::read(DeserializerBase& buffer) +{ + Ark_NestedScrollOptionsExt value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto scrollUpTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_NestedScrollMode scrollUpTmpBuf = {}; + scrollUpTmpBuf.tag = scrollUpTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scrollUpTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scrollUpTmpBuf.value = static_cast(valueDeserializer.readInt32()); + } + value.scrollUp = scrollUpTmpBuf; + const auto scrollDownTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_NestedScrollMode scrollDownTmpBuf = {}; + scrollDownTmpBuf.tag = scrollDownTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scrollDownTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scrollDownTmpBuf.value = static_cast(valueDeserializer.readInt32()); + } + value.scrollDown = scrollDownTmpBuf; + const auto scrollRightTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_NestedScrollMode scrollRightTmpBuf = {}; + scrollRightTmpBuf.tag = scrollRightTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scrollRightTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scrollRightTmpBuf.value = static_cast(valueDeserializer.readInt32()); + } + value.scrollRight = scrollRightTmpBuf; + const auto scrollLeftTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_NestedScrollMode scrollLeftTmpBuf = {}; + scrollLeftTmpBuf.tag = scrollLeftTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scrollLeftTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scrollLeftTmpBuf.value = static_cast(valueDeserializer.readInt32()); + } + value.scrollLeft = scrollLeftTmpBuf; + return value; +} +inline void OnAlertEvent_serializer::write(SerializerBase& buffer, Ark_OnAlertEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForUrl = value.url; + valueSerializer.writeString(valueHolderForUrl); + const auto valueHolderForMessage = value.message; + valueSerializer.writeString(valueHolderForMessage); + const auto valueHolderForResult = value.result; + JsResult_serializer::write(valueSerializer, valueHolderForResult); +} +inline Ark_OnAlertEvent OnAlertEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnAlertEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.url = static_cast(valueDeserializer.readString()); + value.message = static_cast(valueDeserializer.readString()); + value.result = static_cast(JsResult_serializer::read(valueDeserializer)); + return value; +} +inline void OnBeforeUnloadEvent_serializer::write(SerializerBase& buffer, Ark_OnBeforeUnloadEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForUrl = value.url; + valueSerializer.writeString(valueHolderForUrl); + const auto valueHolderForMessage = value.message; + valueSerializer.writeString(valueHolderForMessage); + const auto valueHolderForResult = value.result; + JsResult_serializer::write(valueSerializer, valueHolderForResult); +} +inline Ark_OnBeforeUnloadEvent OnBeforeUnloadEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnBeforeUnloadEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.url = static_cast(valueDeserializer.readString()); + value.message = static_cast(valueDeserializer.readString()); + value.result = static_cast(JsResult_serializer::read(valueDeserializer)); + return value; +} +inline void OnClientAuthenticationEvent_serializer::write(SerializerBase& buffer, Ark_OnClientAuthenticationEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForHandler = value.handler; + ClientAuthenticationHandler_serializer::write(valueSerializer, valueHolderForHandler); + const auto valueHolderForHost = value.host; + valueSerializer.writeString(valueHolderForHost); + const auto valueHolderForPort = value.port; + valueSerializer.writeNumber(valueHolderForPort); + const auto valueHolderForKeyTypes = value.keyTypes; + valueSerializer.writeInt32(valueHolderForKeyTypes.length); + for (int valueHolderForKeyTypesCounterI = 0; valueHolderForKeyTypesCounterI < valueHolderForKeyTypes.length; valueHolderForKeyTypesCounterI++) { + const Ark_String valueHolderForKeyTypesTmpElement = valueHolderForKeyTypes.array[valueHolderForKeyTypesCounterI]; + valueSerializer.writeString(valueHolderForKeyTypesTmpElement); + } + const auto valueHolderForIssuers = value.issuers; + valueSerializer.writeInt32(valueHolderForIssuers.length); + for (int valueHolderForIssuersCounterI = 0; valueHolderForIssuersCounterI < valueHolderForIssuers.length; valueHolderForIssuersCounterI++) { + const Ark_String valueHolderForIssuersTmpElement = valueHolderForIssuers.array[valueHolderForIssuersCounterI]; + valueSerializer.writeString(valueHolderForIssuersTmpElement); + } +} +inline Ark_OnClientAuthenticationEvent OnClientAuthenticationEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnClientAuthenticationEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.handler = static_cast(ClientAuthenticationHandler_serializer::read(valueDeserializer)); + value.host = static_cast(valueDeserializer.readString()); + value.port = static_cast(valueDeserializer.readNumber()); + const Ark_Int32 keyTypesTmpBufLength = valueDeserializer.readInt32(); + Array_String keyTypesTmpBuf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&keyTypesTmpBuf, keyTypesTmpBufLength); + for (int keyTypesTmpBufBufCounterI = 0; keyTypesTmpBufBufCounterI < keyTypesTmpBufLength; keyTypesTmpBufBufCounterI++) { + keyTypesTmpBuf.array[keyTypesTmpBufBufCounterI] = static_cast(valueDeserializer.readString()); + } + value.keyTypes = keyTypesTmpBuf; + const Ark_Int32 issuersTmpBufLength = valueDeserializer.readInt32(); + Array_String issuersTmpBuf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&issuersTmpBuf, issuersTmpBufLength); + for (int issuersTmpBufBufCounterI = 0; issuersTmpBufBufCounterI < issuersTmpBufLength; issuersTmpBufBufCounterI++) { + issuersTmpBuf.array[issuersTmpBufBufCounterI] = static_cast(valueDeserializer.readString()); + } + value.issuers = issuersTmpBuf; + return value; +} +inline void OnConfirmEvent_serializer::write(SerializerBase& buffer, Ark_OnConfirmEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForUrl = value.url; + valueSerializer.writeString(valueHolderForUrl); + const auto valueHolderForMessage = value.message; + valueSerializer.writeString(valueHolderForMessage); + const auto valueHolderForResult = value.result; + JsResult_serializer::write(valueSerializer, valueHolderForResult); +} +inline Ark_OnConfirmEvent OnConfirmEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnConfirmEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.url = static_cast(valueDeserializer.readString()); + value.message = static_cast(valueDeserializer.readString()); + value.result = static_cast(JsResult_serializer::read(valueDeserializer)); + return value; +} +inline void OnContextMenuShowEvent_serializer::write(SerializerBase& buffer, Ark_OnContextMenuShowEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForParam = value.param; + WebContextMenuParam_serializer::write(valueSerializer, valueHolderForParam); + const auto valueHolderForResult = value.result; + WebContextMenuResult_serializer::write(valueSerializer, valueHolderForResult); +} +inline Ark_OnContextMenuShowEvent OnContextMenuShowEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnContextMenuShowEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.param = static_cast(WebContextMenuParam_serializer::read(valueDeserializer)); + value.result = static_cast(WebContextMenuResult_serializer::read(valueDeserializer)); + return value; +} +inline void OnDownloadStartEvent_serializer::write(SerializerBase& buffer, Ark_OnDownloadStartEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForUrl = value.url; + valueSerializer.writeString(valueHolderForUrl); + const auto valueHolderForUserAgent = value.userAgent; + valueSerializer.writeString(valueHolderForUserAgent); + const auto valueHolderForContentDisposition = value.contentDisposition; + valueSerializer.writeString(valueHolderForContentDisposition); + const auto valueHolderForMimetype = value.mimetype; + valueSerializer.writeString(valueHolderForMimetype); + const auto valueHolderForContentLength = value.contentLength; + valueSerializer.writeNumber(valueHolderForContentLength); +} +inline Ark_OnDownloadStartEvent OnDownloadStartEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnDownloadStartEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.url = static_cast(valueDeserializer.readString()); + value.userAgent = static_cast(valueDeserializer.readString()); + value.contentDisposition = static_cast(valueDeserializer.readString()); + value.mimetype = static_cast(valueDeserializer.readString()); + value.contentLength = static_cast(valueDeserializer.readNumber()); + return value; +} +inline void OnErrorReceiveEvent_serializer::write(SerializerBase& buffer, Ark_OnErrorReceiveEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForRequest = value.request; + WebResourceRequest_serializer::write(valueSerializer, valueHolderForRequest); + const auto valueHolderForError = value.error; + WebResourceError_serializer::write(valueSerializer, valueHolderForError); +} +inline Ark_OnErrorReceiveEvent OnErrorReceiveEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnErrorReceiveEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.request = static_cast(WebResourceRequest_serializer::read(valueDeserializer)); + value.error = static_cast(WebResourceError_serializer::read(valueDeserializer)); + return value; +} +inline void OnGeolocationShowEvent_serializer::write(SerializerBase& buffer, Ark_OnGeolocationShowEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForOrigin = value.origin; + valueSerializer.writeString(valueHolderForOrigin); + const auto valueHolderForGeolocation = value.geolocation; + JsGeolocation_serializer::write(valueSerializer, valueHolderForGeolocation); +} +inline Ark_OnGeolocationShowEvent OnGeolocationShowEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnGeolocationShowEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.origin = static_cast(valueDeserializer.readString()); + value.geolocation = static_cast(JsGeolocation_serializer::read(valueDeserializer)); + return value; +} +inline void OnHttpAuthRequestEvent_serializer::write(SerializerBase& buffer, Ark_OnHttpAuthRequestEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForHandler = value.handler; + HttpAuthHandler_serializer::write(valueSerializer, valueHolderForHandler); + const auto valueHolderForHost = value.host; + valueSerializer.writeString(valueHolderForHost); + const auto valueHolderForRealm = value.realm; + valueSerializer.writeString(valueHolderForRealm); +} +inline Ark_OnHttpAuthRequestEvent OnHttpAuthRequestEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnHttpAuthRequestEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.handler = static_cast(HttpAuthHandler_serializer::read(valueDeserializer)); + value.host = static_cast(valueDeserializer.readString()); + value.realm = static_cast(valueDeserializer.readString()); + return value; +} +inline void OnHttpErrorReceiveEvent_serializer::write(SerializerBase& buffer, Ark_OnHttpErrorReceiveEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForRequest = value.request; + WebResourceRequest_serializer::write(valueSerializer, valueHolderForRequest); + const auto valueHolderForResponse = value.response; + WebResourceResponse_serializer::write(valueSerializer, valueHolderForResponse); +} +inline Ark_OnHttpErrorReceiveEvent OnHttpErrorReceiveEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnHttpErrorReceiveEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.request = static_cast(WebResourceRequest_serializer::read(valueDeserializer)); + value.response = static_cast(WebResourceResponse_serializer::read(valueDeserializer)); + return value; +} +inline void OnInterceptRequestEvent_serializer::write(SerializerBase& buffer, Ark_OnInterceptRequestEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForRequest = value.request; + WebResourceRequest_serializer::write(valueSerializer, valueHolderForRequest); +} +inline Ark_OnInterceptRequestEvent OnInterceptRequestEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnInterceptRequestEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.request = static_cast(WebResourceRequest_serializer::read(valueDeserializer)); + return value; +} +inline void OnLoadInterceptEvent_serializer::write(SerializerBase& buffer, Ark_OnLoadInterceptEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForData = value.data; + WebResourceRequest_serializer::write(valueSerializer, valueHolderForData); +} +inline Ark_OnLoadInterceptEvent OnLoadInterceptEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnLoadInterceptEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.data = static_cast(WebResourceRequest_serializer::read(valueDeserializer)); + return value; +} +inline void OnPageBeginEvent_serializer::write(SerializerBase& buffer, Ark_OnPageBeginEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForUrl = value.url; + valueSerializer.writeString(valueHolderForUrl); +} +inline Ark_OnPageBeginEvent OnPageBeginEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnPageBeginEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.url = static_cast(valueDeserializer.readString()); + return value; +} +inline void OnPageEndEvent_serializer::write(SerializerBase& buffer, Ark_OnPageEndEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForUrl = value.url; + valueSerializer.writeString(valueHolderForUrl); +} +inline Ark_OnPageEndEvent OnPageEndEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnPageEndEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.url = static_cast(valueDeserializer.readString()); + return value; +} +inline void OnPageVisibleEvent_serializer::write(SerializerBase& buffer, Ark_OnPageVisibleEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForUrl = value.url; + valueSerializer.writeString(valueHolderForUrl); +} +inline Ark_OnPageVisibleEvent OnPageVisibleEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnPageVisibleEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.url = static_cast(valueDeserializer.readString()); + return value; +} +inline void OnPermissionRequestEvent_serializer::write(SerializerBase& buffer, Ark_OnPermissionRequestEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForRequest = value.request; + PermissionRequest_serializer::write(valueSerializer, valueHolderForRequest); +} +inline Ark_OnPermissionRequestEvent OnPermissionRequestEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnPermissionRequestEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.request = static_cast(PermissionRequest_serializer::read(valueDeserializer)); + return value; +} +inline void OnPromptEvent_serializer::write(SerializerBase& buffer, Ark_OnPromptEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForUrl = value.url; + valueSerializer.writeString(valueHolderForUrl); + const auto valueHolderForMessage = value.message; + valueSerializer.writeString(valueHolderForMessage); + const auto valueHolderForValue = value.value; + valueSerializer.writeString(valueHolderForValue); + const auto valueHolderForResult = value.result; + JsResult_serializer::write(valueSerializer, valueHolderForResult); +} +inline Ark_OnPromptEvent OnPromptEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnPromptEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.url = static_cast(valueDeserializer.readString()); + value.message = static_cast(valueDeserializer.readString()); + value.value = static_cast(valueDeserializer.readString()); + value.result = static_cast(JsResult_serializer::read(valueDeserializer)); + return value; +} +inline void OnRefreshAccessedHistoryEvent_serializer::write(SerializerBase& buffer, Ark_OnRefreshAccessedHistoryEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForUrl = value.url; + valueSerializer.writeString(valueHolderForUrl); + const auto valueHolderForIsRefreshed = value.isRefreshed; + valueSerializer.writeBoolean(valueHolderForIsRefreshed); +} +inline Ark_OnRefreshAccessedHistoryEvent OnRefreshAccessedHistoryEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnRefreshAccessedHistoryEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.url = static_cast(valueDeserializer.readString()); + value.isRefreshed = valueDeserializer.readBoolean(); + return value; +} +inline void OnRenderExitedEvent_serializer::write(SerializerBase& buffer, Ark_OnRenderExitedEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForRenderExitReason = value.renderExitReason; + valueSerializer.writeInt32(static_cast(valueHolderForRenderExitReason)); +} +inline Ark_OnRenderExitedEvent OnRenderExitedEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnRenderExitedEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.renderExitReason = static_cast(valueDeserializer.readInt32()); + return value; +} +inline void OnResourceLoadEvent_serializer::write(SerializerBase& buffer, Ark_OnResourceLoadEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForUrl = value.url; + valueSerializer.writeString(valueHolderForUrl); +} +inline Ark_OnResourceLoadEvent OnResourceLoadEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnResourceLoadEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.url = static_cast(valueDeserializer.readString()); + return value; +} +inline void OnScreenCaptureRequestEvent_serializer::write(SerializerBase& buffer, Ark_OnScreenCaptureRequestEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForHandler = value.handler; + ScreenCaptureHandler_serializer::write(valueSerializer, valueHolderForHandler); +} +inline Ark_OnScreenCaptureRequestEvent OnScreenCaptureRequestEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnScreenCaptureRequestEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.handler = static_cast(ScreenCaptureHandler_serializer::read(valueDeserializer)); + return value; +} +inline void OnSslErrorEventReceiveEvent_serializer::write(SerializerBase& buffer, Ark_OnSslErrorEventReceiveEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForHandler = value.handler; + SslErrorHandler_serializer::write(valueSerializer, valueHolderForHandler); + const auto valueHolderForError = value.error; + valueSerializer.writeInt32(static_cast(valueHolderForError)); + const auto valueHolderForCertChainData = value.certChainData; + if (runtimeType(valueHolderForCertChainData) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForCertChainDataTmpValue = valueHolderForCertChainData.value; + valueSerializer.writeInt32(valueHolderForCertChainDataTmpValue.length); + for (int valueHolderForCertChainDataTmpValueCounterI = 0; valueHolderForCertChainDataTmpValueCounterI < valueHolderForCertChainDataTmpValue.length; valueHolderForCertChainDataTmpValueCounterI++) { + const Ark_Buffer valueHolderForCertChainDataTmpValueTmpElement = valueHolderForCertChainDataTmpValue.array[valueHolderForCertChainDataTmpValueCounterI]; + valueSerializer.writeBuffer(valueHolderForCertChainDataTmpValueTmpElement); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_OnSslErrorEventReceiveEvent OnSslErrorEventReceiveEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnSslErrorEventReceiveEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.handler = static_cast(SslErrorHandler_serializer::read(valueDeserializer)); + value.error = static_cast(valueDeserializer.readInt32()); + const auto certChainDataTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_Buffer certChainDataTmpBuf = {}; + certChainDataTmpBuf.tag = certChainDataTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((certChainDataTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 certChainDataTmpBuf_Length = valueDeserializer.readInt32(); + Array_Buffer certChainDataTmpBuf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&certChainDataTmpBuf_, certChainDataTmpBuf_Length); + for (int certChainDataTmpBuf_BufCounterI = 0; certChainDataTmpBuf_BufCounterI < certChainDataTmpBuf_Length; certChainDataTmpBuf_BufCounterI++) { + certChainDataTmpBuf_.array[certChainDataTmpBuf_BufCounterI] = static_cast(valueDeserializer.readBuffer()); + } + certChainDataTmpBuf.value = certChainDataTmpBuf_; + } + value.certChainData = certChainDataTmpBuf; + return value; +} +inline void OnTitleReceiveEvent_serializer::write(SerializerBase& buffer, Ark_OnTitleReceiveEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForTitle = value.title; + valueSerializer.writeString(valueHolderForTitle); +} +inline Ark_OnTitleReceiveEvent OnTitleReceiveEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnTitleReceiveEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.title = static_cast(valueDeserializer.readString()); + return value; +} +inline void OnTouchIconUrlReceivedEvent_serializer::write(SerializerBase& buffer, Ark_OnTouchIconUrlReceivedEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForUrl = value.url; + valueSerializer.writeString(valueHolderForUrl); + const auto valueHolderForPrecomposed = value.precomposed; + valueSerializer.writeBoolean(valueHolderForPrecomposed); +} +inline Ark_OnTouchIconUrlReceivedEvent OnTouchIconUrlReceivedEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnTouchIconUrlReceivedEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.url = static_cast(valueDeserializer.readString()); + value.precomposed = valueDeserializer.readBoolean(); + return value; +} +inline void OnWindowNewEvent_serializer::write(SerializerBase& buffer, Ark_OnWindowNewEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForIsAlert = value.isAlert; + valueSerializer.writeBoolean(valueHolderForIsAlert); + const auto valueHolderForIsUserTrigger = value.isUserTrigger; + valueSerializer.writeBoolean(valueHolderForIsUserTrigger); + const auto valueHolderForTargetUrl = value.targetUrl; + valueSerializer.writeString(valueHolderForTargetUrl); + const auto valueHolderForHandler = value.handler; + ControllerHandler_serializer::write(valueSerializer, valueHolderForHandler); +} +inline Ark_OnWindowNewEvent OnWindowNewEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_OnWindowNewEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.isAlert = valueDeserializer.readBoolean(); + value.isUserTrigger = valueDeserializer.readBoolean(); + value.targetUrl = static_cast(valueDeserializer.readString()); + value.handler = static_cast(ControllerHandler_serializer::read(valueDeserializer)); + return value; +} inline void OverlayOffset_serializer::write(SerializerBase& buffer, Ark_OverlayOffset value) { SerializerBase& valueSerializer = buffer; @@ -68183,6 +75970,101 @@ inline Ark_PanGestureInterface_Invoke_Literal PanGestureInterface_Invoke_Literal value.distance = distanceTmpBuf; return value; } +inline void PathOptions_serializer::write(SerializerBase& buffer, Ark_PathOptions value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForWidth = value.width; + if (runtimeType(valueHolderForWidth) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForWidthTmpValue = valueHolderForWidth.value; + if (valueHolderForWidthTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue.value0; + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx0); + } else if (valueHolderForWidthTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue.value1; + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForHeight = value.height; + if (runtimeType(valueHolderForHeight) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForHeightTmpValue = valueHolderForHeight.value; + if (valueHolderForHeightTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue.value0; + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx0); + } else if (valueHolderForHeightTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue.value1; + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForCommands = value.commands; + if (runtimeType(valueHolderForCommands) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForCommandsTmpValue = valueHolderForCommands.value; + valueSerializer.writeString(valueHolderForCommandsTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_PathOptions PathOptions_serializer::read(DeserializerBase& buffer) +{ + Ark_PathOptions value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto widthTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_F64_String widthTmpBuf = {}; + widthTmpBuf.tag = widthTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((widthTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 widthTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_F64_String widthTmpBuf_ = {}; + widthTmpBuf_.selector = widthTmpBuf_UnionSelector; + if (widthTmpBuf_UnionSelector == 0) { + widthTmpBuf_.selector = 0; + widthTmpBuf_.value0 = valueDeserializer.readFloat64(); + } else if (widthTmpBuf_UnionSelector == 1) { + widthTmpBuf_.selector = 1; + widthTmpBuf_.value1 = static_cast(valueDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for widthTmpBuf_ has to be chosen through deserialisation."); + } + widthTmpBuf.value = static_cast(widthTmpBuf_); + } + value.width = widthTmpBuf; + const auto heightTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_F64_String heightTmpBuf = {}; + heightTmpBuf.tag = heightTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((heightTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 heightTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_F64_String heightTmpBuf_ = {}; + heightTmpBuf_.selector = heightTmpBuf_UnionSelector; + if (heightTmpBuf_UnionSelector == 0) { + heightTmpBuf_.selector = 0; + heightTmpBuf_.value0 = valueDeserializer.readFloat64(); + } else if (heightTmpBuf_UnionSelector == 1) { + heightTmpBuf_.selector = 1; + heightTmpBuf_.value1 = static_cast(valueDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for heightTmpBuf_ has to be chosen through deserialisation."); + } + heightTmpBuf.value = static_cast(heightTmpBuf_); + } + value.height = heightTmpBuf; + const auto commandsTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String commandsTmpBuf = {}; + commandsTmpBuf.tag = commandsTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((commandsTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + commandsTmpBuf.value = static_cast(valueDeserializer.readString()); + } + value.commands = commandsTmpBuf; + return value; +} inline void PathShapeOptions_serializer::write(SerializerBase& buffer, Ark_PathShapeOptions value) { SerializerBase& valueSerializer = buffer; @@ -68377,23 +76259,47 @@ inline void PluginComponentTemplate_serializer::write(SerializerBase& buffer, Ar { SerializerBase& valueSerializer = buffer; const auto valueHolderForSource = value.source; - valueSerializer.writeString(valueHolderForSource); + if (runtimeType(valueHolderForSource) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForSourceTmpValue = valueHolderForSource.value; + valueSerializer.writeString(valueHolderForSourceTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } const auto valueHolderForBundleName = value.bundleName; - valueSerializer.writeString(valueHolderForBundleName); + if (runtimeType(valueHolderForBundleName) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForBundleNameTmpValue = valueHolderForBundleName.value; + valueSerializer.writeString(valueHolderForBundleNameTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } } inline Ark_PluginComponentTemplate PluginComponentTemplate_serializer::read(DeserializerBase& buffer) { Ark_PluginComponentTemplate value = {}; DeserializerBase& valueDeserializer = buffer; - value.source = static_cast(valueDeserializer.readString()); - value.bundleName = static_cast(valueDeserializer.readString()); + const auto sourceTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String sourceTmpBuf = {}; + sourceTmpBuf.tag = sourceTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((sourceTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + sourceTmpBuf.value = static_cast(valueDeserializer.readString()); + } + value.source = sourceTmpBuf; + const auto bundleNameTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String bundleNameTmpBuf = {}; + bundleNameTmpBuf.tag = bundleNameTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((bundleNameTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + bundleNameTmpBuf.value = static_cast(valueDeserializer.readString()); + } + value.bundleName = bundleNameTmpBuf; return value; } inline void PluginErrorData_serializer::write(SerializerBase& buffer, Ark_PluginErrorData value) { SerializerBase& valueSerializer = buffer; const auto valueHolderForErrcode = value.errcode; - valueSerializer.writeNumber(valueHolderForErrcode); + valueSerializer.writeInt32(valueHolderForErrcode); const auto valueHolderForMsg = value.msg; valueSerializer.writeString(valueHolderForMsg); } @@ -68401,10 +76307,170 @@ inline Ark_PluginErrorData PluginErrorData_serializer::read(DeserializerBase& bu { Ark_PluginErrorData value = {}; DeserializerBase& valueDeserializer = buffer; - value.errcode = static_cast(valueDeserializer.readNumber()); + value.errcode = valueDeserializer.readInt32(); value.msg = static_cast(valueDeserializer.readString()); return value; } +inline void PolygonOptions_serializer::write(SerializerBase& buffer, Ark_PolygonOptions value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForWidth = value.width; + if (runtimeType(valueHolderForWidth) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForWidthTmpValue = valueHolderForWidth.value; + if (valueHolderForWidthTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue.value0; + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx0); + } else if (valueHolderForWidthTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue.value1; + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForHeight = value.height; + if (runtimeType(valueHolderForHeight) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForHeightTmpValue = valueHolderForHeight.value; + if (valueHolderForHeightTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue.value0; + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx0); + } else if (valueHolderForHeightTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue.value1; + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_PolygonOptions PolygonOptions_serializer::read(DeserializerBase& buffer) +{ + Ark_PolygonOptions value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto widthTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_F64 widthTmpBuf = {}; + widthTmpBuf.tag = widthTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((widthTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 widthTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_String_F64 widthTmpBuf_ = {}; + widthTmpBuf_.selector = widthTmpBuf_UnionSelector; + if (widthTmpBuf_UnionSelector == 0) { + widthTmpBuf_.selector = 0; + widthTmpBuf_.value0 = static_cast(valueDeserializer.readString()); + } else if (widthTmpBuf_UnionSelector == 1) { + widthTmpBuf_.selector = 1; + widthTmpBuf_.value1 = valueDeserializer.readFloat64(); + } else { + INTEROP_FATAL("One of the branches for widthTmpBuf_ has to be chosen through deserialisation."); + } + widthTmpBuf.value = static_cast(widthTmpBuf_); + } + value.width = widthTmpBuf; + const auto heightTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_F64 heightTmpBuf = {}; + heightTmpBuf.tag = heightTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((heightTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 heightTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_String_F64 heightTmpBuf_ = {}; + heightTmpBuf_.selector = heightTmpBuf_UnionSelector; + if (heightTmpBuf_UnionSelector == 0) { + heightTmpBuf_.selector = 0; + heightTmpBuf_.value0 = static_cast(valueDeserializer.readString()); + } else if (heightTmpBuf_UnionSelector == 1) { + heightTmpBuf_.selector = 1; + heightTmpBuf_.value1 = valueDeserializer.readFloat64(); + } else { + INTEROP_FATAL("One of the branches for heightTmpBuf_ has to be chosen through deserialisation."); + } + heightTmpBuf.value = static_cast(heightTmpBuf_); + } + value.height = heightTmpBuf; + return value; +} +inline void PolylineOptions_serializer::write(SerializerBase& buffer, Ark_PolylineOptions value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForWidth = value.width; + if (runtimeType(valueHolderForWidth) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForWidthTmpValue = valueHolderForWidth.value; + if (valueHolderForWidthTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue.value0; + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx0); + } else if (valueHolderForWidthTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue.value1; + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForHeight = value.height; + if (runtimeType(valueHolderForHeight) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForHeightTmpValue = valueHolderForHeight.value; + if (valueHolderForHeightTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue.value0; + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx0); + } else if (valueHolderForHeightTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue.value1; + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_PolylineOptions PolylineOptions_serializer::read(DeserializerBase& buffer) +{ + Ark_PolylineOptions value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto widthTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_F64 widthTmpBuf = {}; + widthTmpBuf.tag = widthTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((widthTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 widthTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_String_F64 widthTmpBuf_ = {}; + widthTmpBuf_.selector = widthTmpBuf_UnionSelector; + if (widthTmpBuf_UnionSelector == 0) { + widthTmpBuf_.selector = 0; + widthTmpBuf_.value0 = static_cast(valueDeserializer.readString()); + } else if (widthTmpBuf_UnionSelector == 1) { + widthTmpBuf_.selector = 1; + widthTmpBuf_.value1 = valueDeserializer.readFloat64(); + } else { + INTEROP_FATAL("One of the branches for widthTmpBuf_ has to be chosen through deserialisation."); + } + widthTmpBuf.value = static_cast(widthTmpBuf_); + } + value.width = widthTmpBuf; + const auto heightTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_F64 heightTmpBuf = {}; + heightTmpBuf.tag = heightTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((heightTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 heightTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_String_F64 heightTmpBuf_ = {}; + heightTmpBuf_.selector = heightTmpBuf_UnionSelector; + if (heightTmpBuf_UnionSelector == 0) { + heightTmpBuf_.selector = 0; + heightTmpBuf_.value0 = static_cast(valueDeserializer.readString()); + } else if (heightTmpBuf_UnionSelector == 1) { + heightTmpBuf_.selector = 1; + heightTmpBuf_.value1 = valueDeserializer.readFloat64(); + } else { + INTEROP_FATAL("One of the branches for heightTmpBuf_ has to be chosen through deserialisation."); + } + heightTmpBuf.value = static_cast(heightTmpBuf_); + } + value.height = heightTmpBuf; + return value; +} inline void PopInfo_serializer::write(SerializerBase& buffer, Ark_PopInfo value) { SerializerBase& valueSerializer = buffer; @@ -68743,6 +76809,25 @@ inline Ark_RenderingContextSettings RenderingContextSettings_serializer::read(De Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void RenderProcessNotRespondingData_serializer::write(SerializerBase& buffer, Ark_RenderProcessNotRespondingData value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForJsStack = value.jsStack; + valueSerializer.writeString(valueHolderForJsStack); + const auto valueHolderForPid = value.pid; + valueSerializer.writeInt32(valueHolderForPid); + const auto valueHolderForReason = value.reason; + valueSerializer.writeInt32(static_cast(valueHolderForReason)); +} +inline Ark_RenderProcessNotRespondingData RenderProcessNotRespondingData_serializer::read(DeserializerBase& buffer) +{ + Ark_RenderProcessNotRespondingData value = {}; + DeserializerBase& valueDeserializer = buffer; + value.jsStack = static_cast(valueDeserializer.readString()); + value.pid = valueDeserializer.readInt32(); + value.reason = static_cast(valueDeserializer.readInt32()); + return value; +} inline void ReplaceSymbolEffect_serializer::write(SerializerBase& buffer, Ark_ReplaceSymbolEffect value) { SerializerBase& valueSerializer = buffer; @@ -68769,8 +76854,28 @@ inline void Resource_serializer::write(SerializerBase& buffer, Ark_Resource valu const auto valueHolderForParamsTmpValue = valueHolderForParams.value; valueSerializer.writeInt32(valueHolderForParamsTmpValue.length); for (int valueHolderForParamsTmpValueCounterI = 0; valueHolderForParamsTmpValueCounterI < valueHolderForParamsTmpValue.length; valueHolderForParamsTmpValueCounterI++) { - const Ark_String valueHolderForParamsTmpValueTmpElement = valueHolderForParamsTmpValue.array[valueHolderForParamsTmpValueCounterI]; - valueSerializer.writeString(valueHolderForParamsTmpValueTmpElement); + const Ark_Union_String_I32_I64_F64_Resource valueHolderForParamsTmpValueTmpElement = valueHolderForParamsTmpValue.array[valueHolderForParamsTmpValueCounterI]; + if (valueHolderForParamsTmpValueTmpElement.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForParamsTmpValueTmpElementForIdx0 = valueHolderForParamsTmpValueTmpElement.value0; + valueSerializer.writeString(valueHolderForParamsTmpValueTmpElementForIdx0); + } else if (valueHolderForParamsTmpValueTmpElement.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForParamsTmpValueTmpElementForIdx1 = valueHolderForParamsTmpValueTmpElement.value1; + valueSerializer.writeInt32(valueHolderForParamsTmpValueTmpElementForIdx1); + } else if (valueHolderForParamsTmpValueTmpElement.selector == 2) { + valueSerializer.writeInt8(2); + const auto valueHolderForParamsTmpValueTmpElementForIdx2 = valueHolderForParamsTmpValueTmpElement.value2; + valueSerializer.writeInt64(valueHolderForParamsTmpValueTmpElementForIdx2); + } else if (valueHolderForParamsTmpValueTmpElement.selector == 3) { + valueSerializer.writeInt8(3); + const auto valueHolderForParamsTmpValueTmpElementForIdx3 = valueHolderForParamsTmpValueTmpElement.value3; + valueSerializer.writeFloat64(valueHolderForParamsTmpValueTmpElementForIdx3); + } else if (valueHolderForParamsTmpValueTmpElement.selector == 4) { + valueSerializer.writeInt8(4); + const auto valueHolderForParamsTmpValueTmpElementForIdx4 = valueHolderForParamsTmpValueTmpElement.value4; + Resource_serializer::write(valueSerializer, valueHolderForParamsTmpValueTmpElementForIdx4); + } } } else { valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); @@ -68792,15 +76897,36 @@ inline Ark_Resource Resource_serializer::read(DeserializerBase& buffer) value.moduleName = static_cast(valueDeserializer.readString()); value.id = valueDeserializer.readInt64(); const auto paramsTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_String paramsTmpBuf = {}; + Opt_Array_Union_String_I32_I64_F64_Resource paramsTmpBuf = {}; paramsTmpBuf.tag = paramsTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((paramsTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { const Ark_Int32 paramsTmpBuf_Length = valueDeserializer.readInt32(); - Array_String paramsTmpBuf_ = {}; + Array_Union_String_I32_I64_F64_Resource paramsTmpBuf_ = {}; valueDeserializer.resizeArray::type, std::decay::type>(¶msTmpBuf_, paramsTmpBuf_Length); for (int paramsTmpBuf_BufCounterI = 0; paramsTmpBuf_BufCounterI < paramsTmpBuf_Length; paramsTmpBuf_BufCounterI++) { - paramsTmpBuf_.array[paramsTmpBuf_BufCounterI] = static_cast(valueDeserializer.readString()); + const Ark_Int8 paramsTmpBuf_TempBufUnionSelector = valueDeserializer.readInt8(); + Ark_Union_String_I32_I64_F64_Resource paramsTmpBuf_TempBuf = {}; + paramsTmpBuf_TempBuf.selector = paramsTmpBuf_TempBufUnionSelector; + if (paramsTmpBuf_TempBufUnionSelector == 0) { + paramsTmpBuf_TempBuf.selector = 0; + paramsTmpBuf_TempBuf.value0 = static_cast(valueDeserializer.readString()); + } else if (paramsTmpBuf_TempBufUnionSelector == 1) { + paramsTmpBuf_TempBuf.selector = 1; + paramsTmpBuf_TempBuf.value1 = valueDeserializer.readInt32(); + } else if (paramsTmpBuf_TempBufUnionSelector == 2) { + paramsTmpBuf_TempBuf.selector = 2; + paramsTmpBuf_TempBuf.value2 = valueDeserializer.readInt64(); + } else if (paramsTmpBuf_TempBufUnionSelector == 3) { + paramsTmpBuf_TempBuf.selector = 3; + paramsTmpBuf_TempBuf.value3 = valueDeserializer.readFloat64(); + } else if (paramsTmpBuf_TempBufUnionSelector == 4) { + paramsTmpBuf_TempBuf.selector = 4; + paramsTmpBuf_TempBuf.value4 = Resource_serializer::read(valueDeserializer); + } else { + INTEROP_FATAL("One of the branches for paramsTmpBuf_TempBuf has to be chosen through deserialisation."); + } + paramsTmpBuf_.array[paramsTmpBuf_BufCounterI] = static_cast(paramsTmpBuf_TempBuf); } paramsTmpBuf.value = paramsTmpBuf_; } @@ -69362,6 +77488,156 @@ inline Ark_RotationGestureHandlerOptions RotationGestureHandlerOptions_serialize value.angle = angleTmpBuf; return value; } +inline void RoundedRectOptions_serializer::write(SerializerBase& buffer, Ark_RoundedRectOptions value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForWidth = value.width; + if (runtimeType(valueHolderForWidth) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForWidthTmpValue = valueHolderForWidth.value; + if (valueHolderForWidthTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue.value0; + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx0); + } else if (valueHolderForWidthTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue.value1; + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForHeight = value.height; + if (runtimeType(valueHolderForHeight) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForHeightTmpValue = valueHolderForHeight.value; + if (valueHolderForHeightTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue.value0; + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx0); + } else if (valueHolderForHeightTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue.value1; + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForRadiusWidth = value.radiusWidth; + if (runtimeType(valueHolderForRadiusWidth) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForRadiusWidthTmpValue = valueHolderForRadiusWidth.value; + if (valueHolderForRadiusWidthTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForRadiusWidthTmpValueForIdx0 = valueHolderForRadiusWidthTmpValue.value0; + valueSerializer.writeFloat64(valueHolderForRadiusWidthTmpValueForIdx0); + } else if (valueHolderForRadiusWidthTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForRadiusWidthTmpValueForIdx1 = valueHolderForRadiusWidthTmpValue.value1; + valueSerializer.writeString(valueHolderForRadiusWidthTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForRadiusHeight = value.radiusHeight; + if (runtimeType(valueHolderForRadiusHeight) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForRadiusHeightTmpValue = valueHolderForRadiusHeight.value; + if (valueHolderForRadiusHeightTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForRadiusHeightTmpValueForIdx0 = valueHolderForRadiusHeightTmpValue.value0; + valueSerializer.writeFloat64(valueHolderForRadiusHeightTmpValueForIdx0); + } else if (valueHolderForRadiusHeightTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForRadiusHeightTmpValueForIdx1 = valueHolderForRadiusHeightTmpValue.value1; + valueSerializer.writeString(valueHolderForRadiusHeightTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_RoundedRectOptions RoundedRectOptions_serializer::read(DeserializerBase& buffer) +{ + Ark_RoundedRectOptions value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto widthTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_F64_String widthTmpBuf = {}; + widthTmpBuf.tag = widthTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((widthTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 widthTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_F64_String widthTmpBuf_ = {}; + widthTmpBuf_.selector = widthTmpBuf_UnionSelector; + if (widthTmpBuf_UnionSelector == 0) { + widthTmpBuf_.selector = 0; + widthTmpBuf_.value0 = valueDeserializer.readFloat64(); + } else if (widthTmpBuf_UnionSelector == 1) { + widthTmpBuf_.selector = 1; + widthTmpBuf_.value1 = static_cast(valueDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for widthTmpBuf_ has to be chosen through deserialisation."); + } + widthTmpBuf.value = static_cast(widthTmpBuf_); + } + value.width = widthTmpBuf; + const auto heightTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_F64_String heightTmpBuf = {}; + heightTmpBuf.tag = heightTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((heightTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 heightTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_F64_String heightTmpBuf_ = {}; + heightTmpBuf_.selector = heightTmpBuf_UnionSelector; + if (heightTmpBuf_UnionSelector == 0) { + heightTmpBuf_.selector = 0; + heightTmpBuf_.value0 = valueDeserializer.readFloat64(); + } else if (heightTmpBuf_UnionSelector == 1) { + heightTmpBuf_.selector = 1; + heightTmpBuf_.value1 = static_cast(valueDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for heightTmpBuf_ has to be chosen through deserialisation."); + } + heightTmpBuf.value = static_cast(heightTmpBuf_); + } + value.height = heightTmpBuf; + const auto radiusWidthTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_F64_String radiusWidthTmpBuf = {}; + radiusWidthTmpBuf.tag = radiusWidthTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((radiusWidthTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 radiusWidthTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_F64_String radiusWidthTmpBuf_ = {}; + radiusWidthTmpBuf_.selector = radiusWidthTmpBuf_UnionSelector; + if (radiusWidthTmpBuf_UnionSelector == 0) { + radiusWidthTmpBuf_.selector = 0; + radiusWidthTmpBuf_.value0 = valueDeserializer.readFloat64(); + } else if (radiusWidthTmpBuf_UnionSelector == 1) { + radiusWidthTmpBuf_.selector = 1; + radiusWidthTmpBuf_.value1 = static_cast(valueDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for radiusWidthTmpBuf_ has to be chosen through deserialisation."); + } + radiusWidthTmpBuf.value = static_cast(radiusWidthTmpBuf_); + } + value.radiusWidth = radiusWidthTmpBuf; + const auto radiusHeightTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_F64_String radiusHeightTmpBuf = {}; + radiusHeightTmpBuf.tag = radiusHeightTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((radiusHeightTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 radiusHeightTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_F64_String radiusHeightTmpBuf_ = {}; + radiusHeightTmpBuf_.selector = radiusHeightTmpBuf_UnionSelector; + if (radiusHeightTmpBuf_UnionSelector == 0) { + radiusHeightTmpBuf_.selector = 0; + radiusHeightTmpBuf_.value0 = valueDeserializer.readFloat64(); + } else if (radiusHeightTmpBuf_UnionSelector == 1) { + radiusHeightTmpBuf_.selector = 1; + radiusHeightTmpBuf_.value1 = static_cast(valueDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for radiusHeightTmpBuf_ has to be chosen through deserialisation."); + } + radiusHeightTmpBuf.value = static_cast(radiusHeightTmpBuf_); + } + value.radiusHeight = radiusHeightTmpBuf; + return value; +} inline void RoundRect_serializer::write(SerializerBase& buffer, Ark_RoundRect value) { SerializerBase& valueSerializer = buffer; @@ -69728,6 +78004,46 @@ inline Ark_ScaleSymbolEffect ScaleSymbolEffect_serializer::read(DeserializerBase Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void ScreenCaptureConfig_serializer::write(SerializerBase& buffer, Ark_ScreenCaptureConfig value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForCaptureMode = value.captureMode; + valueSerializer.writeInt32(static_cast(valueHolderForCaptureMode)); +} +inline Ark_ScreenCaptureConfig ScreenCaptureConfig_serializer::read(DeserializerBase& buffer) +{ + Ark_ScreenCaptureConfig value = {}; + DeserializerBase& valueDeserializer = buffer; + value.captureMode = static_cast(valueDeserializer.readInt32()); + return value; +} +inline void ScriptItem_serializer::write(SerializerBase& buffer, Ark_ScriptItem value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForScript = value.script; + valueSerializer.writeString(valueHolderForScript); + const auto valueHolderForScriptRules = value.scriptRules; + valueSerializer.writeInt32(valueHolderForScriptRules.length); + for (int valueHolderForScriptRulesCounterI = 0; valueHolderForScriptRulesCounterI < valueHolderForScriptRules.length; valueHolderForScriptRulesCounterI++) { + const Ark_String valueHolderForScriptRulesTmpElement = valueHolderForScriptRules.array[valueHolderForScriptRulesCounterI]; + valueSerializer.writeString(valueHolderForScriptRulesTmpElement); + } +} +inline Ark_ScriptItem ScriptItem_serializer::read(DeserializerBase& buffer) +{ + Ark_ScriptItem value = {}; + DeserializerBase& valueDeserializer = buffer; + value.script = static_cast(valueDeserializer.readString()); + const Ark_Int32 scriptRulesTmpBufLength = valueDeserializer.readInt32(); + Array_String scriptRulesTmpBuf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&scriptRulesTmpBuf, scriptRulesTmpBufLength); + for (int scriptRulesTmpBufBufCounterI = 0; scriptRulesTmpBufBufCounterI < scriptRulesTmpBufLength; scriptRulesTmpBufBufCounterI++) { + scriptRulesTmpBuf.array[scriptRulesTmpBufBufCounterI] = static_cast(valueDeserializer.readString()); + } + value.scriptRules = scriptRulesTmpBuf; + return value; +} inline void ScrollAnimationOptions_serializer::write(SerializerBase& buffer, Ark_ScrollAnimationOptions value) { SerializerBase& valueSerializer = buffer; @@ -69899,6 +78215,82 @@ inline Ark_ScrollPageOptions ScrollPageOptions_serializer::read(DeserializerBase value.animation = animationTmpBuf; return value; } +inline void SelectionMenuOptionsExt_serializer::write(SerializerBase& buffer, Ark_SelectionMenuOptionsExt value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForOnAppear = value.onAppear; + if (runtimeType(valueHolderForOnAppear) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForOnAppearTmpValue = valueHolderForOnAppear.value; + valueSerializer.writeCallbackResource(valueHolderForOnAppearTmpValue.resource); + valueSerializer.writePointer(reinterpret_cast(valueHolderForOnAppearTmpValue.call)); + valueSerializer.writePointer(reinterpret_cast(valueHolderForOnAppearTmpValue.callSync)); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForOnDisappear = value.onDisappear; + if (runtimeType(valueHolderForOnDisappear) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForOnDisappearTmpValue = valueHolderForOnDisappear.value; + valueSerializer.writeCallbackResource(valueHolderForOnDisappearTmpValue.resource); + valueSerializer.writePointer(reinterpret_cast(valueHolderForOnDisappearTmpValue.call)); + valueSerializer.writePointer(reinterpret_cast(valueHolderForOnDisappearTmpValue.callSync)); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForPreview = value.preview; + if (runtimeType(valueHolderForPreview) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForPreviewTmpValue = valueHolderForPreview.value; + valueSerializer.writeCallbackResource(valueHolderForPreviewTmpValue.resource); + valueSerializer.writePointer(reinterpret_cast(valueHolderForPreviewTmpValue.call)); + valueSerializer.writePointer(reinterpret_cast(valueHolderForPreviewTmpValue.callSync)); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForMenuType = value.menuType; + if (runtimeType(valueHolderForMenuType) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForMenuTypeTmpValue = valueHolderForMenuType.value; + valueSerializer.writeInt32(static_cast(valueHolderForMenuTypeTmpValue)); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_SelectionMenuOptionsExt SelectionMenuOptionsExt_serializer::read(DeserializerBase& buffer) +{ + Ark_SelectionMenuOptionsExt value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto onAppearTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onAppearTmpBuf = {}; + onAppearTmpBuf.tag = onAppearTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((onAppearTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + onAppearTmpBuf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onAppear = onAppearTmpBuf; + const auto onDisappearTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onDisappearTmpBuf = {}; + onDisappearTmpBuf.tag = onDisappearTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((onDisappearTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + onDisappearTmpBuf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onDisappear = onDisappearTmpBuf; + const auto previewTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomNodeBuilder previewTmpBuf = {}; + previewTmpBuf.tag = previewTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((previewTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + previewTmpBuf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + value.preview = previewTmpBuf; + const auto menuTypeTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_MenuType menuTypeTmpBuf = {}; + menuTypeTmpBuf.tag = menuTypeTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((menuTypeTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + menuTypeTmpBuf.value = static_cast(valueDeserializer.readInt32()); + } + value.menuType = menuTypeTmpBuf; + return value; +} inline void SelectionOptions_serializer::write(SerializerBase& buffer, Ark_SelectionOptions value) { SerializerBase& valueSerializer = buffer; @@ -70147,6 +78539,37 @@ inline Ark_SpringBackAction SpringBackAction_serializer::read(DeserializerBase& value.springBack = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; return value; } +inline void SslErrorEvent_serializer::write(SerializerBase& buffer, Ark_SslErrorEvent value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForHandler = value.handler; + SslErrorHandler_serializer::write(valueSerializer, valueHolderForHandler); + const auto valueHolderForError = value.error; + valueSerializer.writeInt32(static_cast(valueHolderForError)); + const auto valueHolderForUrl = value.url; + valueSerializer.writeString(valueHolderForUrl); + const auto valueHolderForOriginalUrl = value.originalUrl; + valueSerializer.writeString(valueHolderForOriginalUrl); + const auto valueHolderForReferrer = value.referrer; + valueSerializer.writeString(valueHolderForReferrer); + const auto valueHolderForIsFatalError = value.isFatalError; + valueSerializer.writeBoolean(valueHolderForIsFatalError); + const auto valueHolderForIsMainFrame = value.isMainFrame; + valueSerializer.writeBoolean(valueHolderForIsMainFrame); +} +inline Ark_SslErrorEvent SslErrorEvent_serializer::read(DeserializerBase& buffer) +{ + Ark_SslErrorEvent value = {}; + DeserializerBase& valueDeserializer = buffer; + value.handler = static_cast(SslErrorHandler_serializer::read(valueDeserializer)); + 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; +} inline void StackOptions_serializer::write(SerializerBase& buffer, Ark_StackOptions value) { SerializerBase& valueSerializer = buffer; @@ -70223,7 +78646,7 @@ inline void SurfaceRect_serializer::write(SerializerBase& buffer, Ark_SurfaceRec if (runtimeType(valueHolderForOffsetX) != INTEROP_RUNTIME_UNDEFINED) { valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); const auto valueHolderForOffsetXTmpValue = valueHolderForOffsetX.value; - valueSerializer.writeNumber(valueHolderForOffsetXTmpValue); + valueSerializer.writeFloat64(valueHolderForOffsetXTmpValue); } else { valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); } @@ -70231,35 +78654,35 @@ inline void SurfaceRect_serializer::write(SerializerBase& buffer, Ark_SurfaceRec if (runtimeType(valueHolderForOffsetY) != INTEROP_RUNTIME_UNDEFINED) { valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); const auto valueHolderForOffsetYTmpValue = valueHolderForOffsetY.value; - valueSerializer.writeNumber(valueHolderForOffsetYTmpValue); + valueSerializer.writeFloat64(valueHolderForOffsetYTmpValue); } else { valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); } const auto valueHolderForSurfaceWidth = value.surfaceWidth; - valueSerializer.writeNumber(valueHolderForSurfaceWidth); + valueSerializer.writeFloat64(valueHolderForSurfaceWidth); const auto valueHolderForSurfaceHeight = value.surfaceHeight; - valueSerializer.writeNumber(valueHolderForSurfaceHeight); + valueSerializer.writeFloat64(valueHolderForSurfaceHeight); } inline Ark_SurfaceRect SurfaceRect_serializer::read(DeserializerBase& buffer) { Ark_SurfaceRect value = {}; DeserializerBase& valueDeserializer = buffer; const auto offsetXTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number offsetXTmpBuf = {}; + Opt_Float64 offsetXTmpBuf = {}; offsetXTmpBuf.tag = offsetXTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((offsetXTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - offsetXTmpBuf.value = static_cast(valueDeserializer.readNumber()); + offsetXTmpBuf.value = valueDeserializer.readFloat64(); } value.offsetX = offsetXTmpBuf; const auto offsetYTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number offsetYTmpBuf = {}; + Opt_Float64 offsetYTmpBuf = {}; offsetYTmpBuf.tag = offsetYTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((offsetYTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - offsetYTmpBuf.value = static_cast(valueDeserializer.readNumber()); + offsetYTmpBuf.value = valueDeserializer.readFloat64(); } value.offsetY = offsetYTmpBuf; - value.surfaceWidth = static_cast(valueDeserializer.readNumber()); - value.surfaceHeight = static_cast(valueDeserializer.readNumber()); + value.surfaceWidth = valueDeserializer.readFloat64(); + value.surfaceHeight = valueDeserializer.readFloat64(); return value; } inline void SurfaceRotationOptions_serializer::write(SerializerBase& buffer, Ark_SurfaceRotationOptions value) @@ -71400,6 +79823,31 @@ inline Ark_ToggleConfiguration ToggleConfiguration_serializer::read(Deserializer value.triggerChange = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; return value; } +inline void ToolBarItemOptions_serializer::write(SerializerBase& buffer, Ark_ToolBarItemOptions value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForPlacement = value.placement; + if (runtimeType(valueHolderForPlacement) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForPlacementTmpValue = valueHolderForPlacement.value; + valueSerializer.writeInt32(static_cast(valueHolderForPlacementTmpValue)); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_ToolBarItemOptions ToolBarItemOptions_serializer::read(DeserializerBase& buffer) +{ + Ark_ToolBarItemOptions value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto placementTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ToolBarItemPlacement placementTmpBuf = {}; + placementTmpBuf.tag = placementTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((placementTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + placementTmpBuf.value = static_cast(valueDeserializer.readInt32()); + } + value.placement = placementTmpBuf; + return value; +} inline void TouchObject_serializer::write(SerializerBase& buffer, Ark_TouchObject value) { SerializerBase& valueSerializer = buffer; @@ -72028,6 +80476,156 @@ inline Ark_unifiedDataChannel_Summary unifiedDataChannel_Summary_serializer::rea value.totalSize = valueDeserializer.readInt64(); return value; } +inline void ViewportRect_serializer::write(SerializerBase& buffer, Ark_ViewportRect value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForX = value.x; + if (runtimeType(valueHolderForX) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForXTmpValue = valueHolderForX.value; + if (valueHolderForXTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForXTmpValueForIdx0 = valueHolderForXTmpValue.value0; + valueSerializer.writeFloat64(valueHolderForXTmpValueForIdx0); + } else if (valueHolderForXTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForXTmpValueForIdx1 = valueHolderForXTmpValue.value1; + valueSerializer.writeString(valueHolderForXTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForY = value.y; + if (runtimeType(valueHolderForY) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForYTmpValue = valueHolderForY.value; + if (valueHolderForYTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForYTmpValueForIdx0 = valueHolderForYTmpValue.value0; + valueSerializer.writeFloat64(valueHolderForYTmpValueForIdx0); + } else if (valueHolderForYTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForYTmpValueForIdx1 = valueHolderForYTmpValue.value1; + valueSerializer.writeString(valueHolderForYTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForWidth = value.width; + if (runtimeType(valueHolderForWidth) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForWidthTmpValue = valueHolderForWidth.value; + if (valueHolderForWidthTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue.value0; + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx0); + } else if (valueHolderForWidthTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue.value1; + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForHeight = value.height; + if (runtimeType(valueHolderForHeight) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForHeightTmpValue = valueHolderForHeight.value; + if (valueHolderForHeightTmpValue.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue.value0; + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx0); + } else if (valueHolderForHeightTmpValue.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue.value1; + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx1); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_ViewportRect ViewportRect_serializer::read(DeserializerBase& buffer) +{ + Ark_ViewportRect value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto xTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_F64_String xTmpBuf = {}; + xTmpBuf.tag = xTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((xTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 xTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_F64_String xTmpBuf_ = {}; + xTmpBuf_.selector = xTmpBuf_UnionSelector; + if (xTmpBuf_UnionSelector == 0) { + xTmpBuf_.selector = 0; + xTmpBuf_.value0 = valueDeserializer.readFloat64(); + } else if (xTmpBuf_UnionSelector == 1) { + xTmpBuf_.selector = 1; + xTmpBuf_.value1 = static_cast(valueDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for xTmpBuf_ has to be chosen through deserialisation."); + } + xTmpBuf.value = static_cast(xTmpBuf_); + } + value.x = xTmpBuf; + const auto yTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_F64_String yTmpBuf = {}; + yTmpBuf.tag = yTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((yTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 yTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_F64_String yTmpBuf_ = {}; + yTmpBuf_.selector = yTmpBuf_UnionSelector; + if (yTmpBuf_UnionSelector == 0) { + yTmpBuf_.selector = 0; + yTmpBuf_.value0 = valueDeserializer.readFloat64(); + } else if (yTmpBuf_UnionSelector == 1) { + yTmpBuf_.selector = 1; + yTmpBuf_.value1 = static_cast(valueDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for yTmpBuf_ has to be chosen through deserialisation."); + } + yTmpBuf.value = static_cast(yTmpBuf_); + } + value.y = yTmpBuf; + const auto widthTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_F64_String widthTmpBuf = {}; + widthTmpBuf.tag = widthTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((widthTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 widthTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_F64_String widthTmpBuf_ = {}; + widthTmpBuf_.selector = widthTmpBuf_UnionSelector; + if (widthTmpBuf_UnionSelector == 0) { + widthTmpBuf_.selector = 0; + widthTmpBuf_.value0 = valueDeserializer.readFloat64(); + } else if (widthTmpBuf_UnionSelector == 1) { + widthTmpBuf_.selector = 1; + widthTmpBuf_.value1 = static_cast(valueDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for widthTmpBuf_ has to be chosen through deserialisation."); + } + widthTmpBuf.value = static_cast(widthTmpBuf_); + } + value.width = widthTmpBuf; + const auto heightTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_F64_String heightTmpBuf = {}; + heightTmpBuf.tag = heightTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((heightTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 heightTmpBuf_UnionSelector = valueDeserializer.readInt8(); + Ark_Union_F64_String heightTmpBuf_ = {}; + heightTmpBuf_.selector = heightTmpBuf_UnionSelector; + if (heightTmpBuf_UnionSelector == 0) { + heightTmpBuf_.selector = 0; + heightTmpBuf_.value0 = valueDeserializer.readFloat64(); + } else if (heightTmpBuf_UnionSelector == 1) { + heightTmpBuf_.selector = 1; + heightTmpBuf_.value1 = static_cast(valueDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for heightTmpBuf_ has to be chosen through deserialisation."); + } + heightTmpBuf.value = static_cast(heightTmpBuf_); + } + value.height = heightTmpBuf; + return value; +} inline void VisibleAreaEventOptions_serializer::write(SerializerBase& buffer, Ark_VisibleAreaEventOptions value) { SerializerBase& valueSerializer = buffer; @@ -72383,6 +80981,218 @@ inline Ark_WaterFlowOptions WaterFlowOptions_serializer::read(DeserializerBase& value.layoutMode = layoutModeTmpBuf; return value; } +inline void WebKeyboardCallbackInfo_serializer::write(SerializerBase& buffer, Ark_WebKeyboardCallbackInfo value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForController = value.controller; + WebKeyboardController_serializer::write(valueSerializer, valueHolderForController); + const auto valueHolderForAttributes = value.attributes; + valueSerializer.writeInt32(valueHolderForAttributes.size); + for (int32_t i = 0; i < valueHolderForAttributes.size; i++) { + auto valueHolderForAttributesKeyVar = valueHolderForAttributes.keys[i]; + auto valueHolderForAttributesValueVar = valueHolderForAttributes.values[i]; + valueSerializer.writeString(valueHolderForAttributesKeyVar); + valueSerializer.writeString(valueHolderForAttributesValueVar); + } +} +inline Ark_WebKeyboardCallbackInfo WebKeyboardCallbackInfo_serializer::read(DeserializerBase& buffer) +{ + Ark_WebKeyboardCallbackInfo value = {}; + DeserializerBase& valueDeserializer = buffer; + value.controller = static_cast(WebKeyboardController_serializer::read(valueDeserializer)); + const Ark_Int32 attributesTmpBufSizeVar = valueDeserializer.readInt32(); + Map_String_String attributesTmpBuf = {}; + valueDeserializer.resizeMap(&attributesTmpBuf, attributesTmpBufSizeVar); + for (int attributesTmpBufIVar = 0; attributesTmpBufIVar < attributesTmpBufSizeVar; attributesTmpBufIVar++) { + const Ark_String attributesTmpBufKeyVar = static_cast(valueDeserializer.readString()); + const Ark_String attributesTmpBufValueVar = static_cast(valueDeserializer.readString()); + attributesTmpBuf.keys[attributesTmpBufIVar] = attributesTmpBufKeyVar; + attributesTmpBuf.values[attributesTmpBufIVar] = attributesTmpBufValueVar; + } + value.attributes = attributesTmpBuf; + return value; +} +inline void WebKeyboardOptions_serializer::write(SerializerBase& buffer, Ark_WebKeyboardOptions value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForUseSystemKeyboard = value.useSystemKeyboard; + valueSerializer.writeBoolean(valueHolderForUseSystemKeyboard); + const auto valueHolderForEnterKeyType = value.enterKeyType; + if (runtimeType(valueHolderForEnterKeyType) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForEnterKeyTypeTmpValue = valueHolderForEnterKeyType.value; + valueSerializer.writeInt32(valueHolderForEnterKeyTypeTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForCustomKeyboard = value.customKeyboard; + if (runtimeType(valueHolderForCustomKeyboard) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForCustomKeyboardTmpValue = valueHolderForCustomKeyboard.value; + valueSerializer.writeCallbackResource(valueHolderForCustomKeyboardTmpValue.resource); + valueSerializer.writePointer(reinterpret_cast(valueHolderForCustomKeyboardTmpValue.call)); + valueSerializer.writePointer(reinterpret_cast(valueHolderForCustomKeyboardTmpValue.callSync)); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_WebKeyboardOptions WebKeyboardOptions_serializer::read(DeserializerBase& buffer) +{ + Ark_WebKeyboardOptions value = {}; + DeserializerBase& valueDeserializer = buffer; + value.useSystemKeyboard = valueDeserializer.readBoolean(); + const auto enterKeyTypeTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Int32 enterKeyTypeTmpBuf = {}; + enterKeyTypeTmpBuf.tag = enterKeyTypeTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((enterKeyTypeTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + enterKeyTypeTmpBuf.value = valueDeserializer.readInt32(); + } + value.enterKeyType = enterKeyTypeTmpBuf; + const auto customKeyboardTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomNodeBuilder customKeyboardTmpBuf = {}; + customKeyboardTmpBuf.tag = customKeyboardTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((customKeyboardTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + customKeyboardTmpBuf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + value.customKeyboard = customKeyboardTmpBuf; + return value; +} +inline void WebMediaOptions_serializer::write(SerializerBase& buffer, Ark_WebMediaOptions value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForResumeInterval = value.resumeInterval; + if (runtimeType(valueHolderForResumeInterval) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForResumeIntervalTmpValue = valueHolderForResumeInterval.value; + valueSerializer.writeInt32(valueHolderForResumeIntervalTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForAudioExclusive = value.audioExclusive; + if (runtimeType(valueHolderForAudioExclusive) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForAudioExclusiveTmpValue = valueHolderForAudioExclusive.value; + valueSerializer.writeBoolean(valueHolderForAudioExclusiveTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForAudioSessionType = value.audioSessionType; + if (runtimeType(valueHolderForAudioSessionType) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForAudioSessionTypeTmpValue = valueHolderForAudioSessionType.value; + valueSerializer.writeInt32(static_cast(valueHolderForAudioSessionTypeTmpValue)); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_WebMediaOptions WebMediaOptions_serializer::read(DeserializerBase& buffer) +{ + Ark_WebMediaOptions value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto resumeIntervalTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Int32 resumeIntervalTmpBuf = {}; + resumeIntervalTmpBuf.tag = resumeIntervalTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((resumeIntervalTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + resumeIntervalTmpBuf.value = valueDeserializer.readInt32(); + } + value.resumeInterval = resumeIntervalTmpBuf; + const auto audioExclusiveTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean audioExclusiveTmpBuf = {}; + audioExclusiveTmpBuf.tag = audioExclusiveTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((audioExclusiveTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + audioExclusiveTmpBuf.value = valueDeserializer.readBoolean(); + } + value.audioExclusive = audioExclusiveTmpBuf; + const auto audioSessionTypeTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_AudioSessionType audioSessionTypeTmpBuf = {}; + audioSessionTypeTmpBuf.tag = audioSessionTypeTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((audioSessionTypeTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + audioSessionTypeTmpBuf.value = static_cast(valueDeserializer.readInt32()); + } + value.audioSessionType = audioSessionTypeTmpBuf; + return value; +} +inline void WebOptions_serializer::write(SerializerBase& buffer, Ark_WebOptions value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForSrc = value.src; + if (valueHolderForSrc.selector == 0) { + valueSerializer.writeInt8(0); + const auto valueHolderForSrcForIdx0 = valueHolderForSrc.value0; + valueSerializer.writeString(valueHolderForSrcForIdx0); + } else if (valueHolderForSrc.selector == 1) { + valueSerializer.writeInt8(1); + const auto valueHolderForSrcForIdx1 = valueHolderForSrc.value1; + Resource_serializer::write(valueSerializer, valueHolderForSrcForIdx1); + } + const auto valueHolderForController = value.controller; + webview_WebviewController_serializer::write(valueSerializer, valueHolderForController); + const auto valueHolderForRenderMode = value.renderMode; + if (runtimeType(valueHolderForRenderMode) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForRenderModeTmpValue = valueHolderForRenderMode.value; + valueSerializer.writeInt32(static_cast(valueHolderForRenderModeTmpValue)); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForIncognitoMode = value.incognitoMode; + if (runtimeType(valueHolderForIncognitoMode) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForIncognitoModeTmpValue = valueHolderForIncognitoMode.value; + valueSerializer.writeBoolean(valueHolderForIncognitoModeTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForSharedRenderProcessToken = value.sharedRenderProcessToken; + if (runtimeType(valueHolderForSharedRenderProcessToken) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForSharedRenderProcessTokenTmpValue = valueHolderForSharedRenderProcessToken.value; + valueSerializer.writeString(valueHolderForSharedRenderProcessTokenTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_WebOptions WebOptions_serializer::read(DeserializerBase& buffer) +{ + Ark_WebOptions value = {}; + DeserializerBase& valueDeserializer = buffer; + const Ark_Int8 srcTmpBufUnionSelector = valueDeserializer.readInt8(); + Ark_Union_String_Resource srcTmpBuf = {}; + srcTmpBuf.selector = srcTmpBufUnionSelector; + if (srcTmpBufUnionSelector == 0) { + srcTmpBuf.selector = 0; + srcTmpBuf.value0 = static_cast(valueDeserializer.readString()); + } else if (srcTmpBufUnionSelector == 1) { + srcTmpBuf.selector = 1; + srcTmpBuf.value1 = Resource_serializer::read(valueDeserializer); + } else { + INTEROP_FATAL("One of the branches for srcTmpBuf has to be chosen through deserialisation."); + } + value.src = static_cast(srcTmpBuf); + value.controller = static_cast(webview_WebviewController_serializer::read(valueDeserializer)); + const auto renderModeTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_RenderMode renderModeTmpBuf = {}; + renderModeTmpBuf.tag = renderModeTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((renderModeTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + renderModeTmpBuf.value = static_cast(valueDeserializer.readInt32()); + } + value.renderMode = renderModeTmpBuf; + const auto incognitoModeTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean incognitoModeTmpBuf = {}; + incognitoModeTmpBuf.tag = incognitoModeTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((incognitoModeTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + incognitoModeTmpBuf.value = valueDeserializer.readBoolean(); + } + value.incognitoMode = incognitoModeTmpBuf; + const auto sharedRenderProcessTokenTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String sharedRenderProcessTokenTmpBuf = {}; + sharedRenderProcessTokenTmpBuf.tag = sharedRenderProcessTokenTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((sharedRenderProcessTokenTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + sharedRenderProcessTokenTmpBuf.value = static_cast(valueDeserializer.readString()); + } + value.sharedRenderProcessToken = sharedRenderProcessTokenTmpBuf; + return value; +} inline void window_SystemBarStyle_serializer::write(SerializerBase& buffer, Ark_window_SystemBarStyle value) { SerializerBase& valueSerializer = buffer; @@ -82410,7 +91220,7 @@ inline void TerminationInfo_serializer::write(SerializerBase& buffer, Ark_Termin { SerializerBase& valueSerializer = buffer; const auto valueHolderForCode = value.code; - valueSerializer.writeNumber(valueHolderForCode); + valueSerializer.writeInt32(valueHolderForCode); const auto valueHolderForWant = value.want; if (runtimeType(valueHolderForWant) != INTEROP_RUNTIME_UNDEFINED) { valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); @@ -82424,7 +91234,7 @@ inline Ark_TerminationInfo TerminationInfo_serializer::read(DeserializerBase& bu { Ark_TerminationInfo value = {}; DeserializerBase& valueDeserializer = buffer; - value.code = static_cast(valueDeserializer.readNumber()); + value.code = valueDeserializer.readInt32(); const auto wantTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Want wantTmpBuf = {}; wantTmpBuf.tag = wantTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -83740,7 +92550,7 @@ inline void VideoOptions_serializer::write(SerializerBase& buffer, Ark_VideoOpti if (valueHolderForCurrentProgressRateTmpValue.selector == 0) { valueSerializer.writeInt8(0); const auto valueHolderForCurrentProgressRateTmpValueForIdx0 = valueHolderForCurrentProgressRateTmpValue.value0; - valueSerializer.writeNumber(valueHolderForCurrentProgressRateTmpValueForIdx0); + valueSerializer.writeFloat64(valueHolderForCurrentProgressRateTmpValueForIdx0); } else if (valueHolderForCurrentProgressRateTmpValue.selector == 1) { valueSerializer.writeInt8(1); const auto valueHolderForCurrentProgressRateTmpValueForIdx1 = valueHolderForCurrentProgressRateTmpValue.value1; @@ -83822,15 +92632,15 @@ inline Ark_VideoOptions VideoOptions_serializer::read(DeserializerBase& buffer) } value.src = srcTmpBuf; const auto currentProgressRateTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String_PlaybackSpeed currentProgressRateTmpBuf = {}; + Opt_Union_F64_String_PlaybackSpeed currentProgressRateTmpBuf = {}; currentProgressRateTmpBuf.tag = currentProgressRateTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((currentProgressRateTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { const Ark_Int8 currentProgressRateTmpBuf_UnionSelector = valueDeserializer.readInt8(); - Ark_Union_Number_String_PlaybackSpeed currentProgressRateTmpBuf_ = {}; + Ark_Union_F64_String_PlaybackSpeed currentProgressRateTmpBuf_ = {}; currentProgressRateTmpBuf_.selector = currentProgressRateTmpBuf_UnionSelector; if (currentProgressRateTmpBuf_UnionSelector == 0) { currentProgressRateTmpBuf_.selector = 0; - currentProgressRateTmpBuf_.value0 = static_cast(valueDeserializer.readNumber()); + currentProgressRateTmpBuf_.value0 = valueDeserializer.readFloat64(); } else if (currentProgressRateTmpBuf_UnionSelector == 1) { currentProgressRateTmpBuf_.selector = 1; currentProgressRateTmpBuf_.value1 = static_cast(valueDeserializer.readString()); @@ -83840,7 +92650,7 @@ inline Ark_VideoOptions VideoOptions_serializer::read(DeserializerBase& buffer) } else { INTEROP_FATAL("One of the branches for currentProgressRateTmpBuf_ has to be chosen through deserialisation."); } - currentProgressRateTmpBuf.value = static_cast(currentProgressRateTmpBuf_); + currentProgressRateTmpBuf.value = static_cast(currentProgressRateTmpBuf_); } value.currentProgressRate = currentProgressRateTmpBuf; const auto previewUriTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -83907,7 +92717,7 @@ inline void XComponentOptions_serializer::write(SerializerBase& buffer, Ark_XCom if (runtimeType(valueHolderForScreenId) != INTEROP_RUNTIME_UNDEFINED) { valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); const auto valueHolderForScreenIdTmpValue = valueHolderForScreenId.value; - valueSerializer.writeNumber(valueHolderForScreenIdTmpValue); + valueSerializer.writeInt64(valueHolderForScreenIdTmpValue); } else { valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); } @@ -83926,29 +92736,25 @@ inline Ark_XComponentOptions XComponentOptions_serializer::read(DeserializerBase } value.imageAIOptions = imageAIOptionsTmpBuf; const auto screenIdTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number screenIdTmpBuf = {}; + Opt_Int64 screenIdTmpBuf = {}; screenIdTmpBuf.tag = screenIdTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((screenIdTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - screenIdTmpBuf.value = static_cast(valueDeserializer.readNumber()); + screenIdTmpBuf.value = valueDeserializer.readInt64(); } value.screenId = screenIdTmpBuf; return value; } -inline void XComponentParameter_serializer::write(SerializerBase& buffer, Ark_XComponentParameter value) +inline void XComponentParameters_serializer::write(SerializerBase& buffer, Ark_XComponentParameters value) { SerializerBase& valueSerializer = buffer; const auto valueHolderForId = value.id; valueSerializer.writeString(valueHolderForId); const auto valueHolderForType = value.type; valueSerializer.writeInt32(static_cast(valueHolderForType)); - const auto valueHolderForLibraryname = value.libraryname; - if (runtimeType(valueHolderForLibraryname) != INTEROP_RUNTIME_UNDEFINED) { - valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto valueHolderForLibrarynameTmpValue = valueHolderForLibraryname.value; - valueSerializer.writeString(valueHolderForLibrarynameTmpValue); - } else { - valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } + const auto valueHolderForNativeXComponentHandler = value.nativeXComponentHandler; + valueSerializer.writeCallbackResource(valueHolderForNativeXComponentHandler.resource); + valueSerializer.writePointer(reinterpret_cast(valueHolderForNativeXComponentHandler.call)); + valueSerializer.writePointer(reinterpret_cast(valueHolderForNativeXComponentHandler.callSync)); const auto valueHolderForController = value.controller; if (runtimeType(valueHolderForController) != INTEROP_RUNTIME_UNDEFINED) { valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); @@ -83958,19 +92764,13 @@ inline void XComponentParameter_serializer::write(SerializerBase& buffer, Ark_XC valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); } } -inline Ark_XComponentParameter XComponentParameter_serializer::read(DeserializerBase& buffer) +inline Ark_XComponentParameters XComponentParameters_serializer::read(DeserializerBase& buffer) { - Ark_XComponentParameter value = {}; + Ark_XComponentParameters value = {}; DeserializerBase& valueDeserializer = buffer; value.id = static_cast(valueDeserializer.readString()); value.type = static_cast(valueDeserializer.readInt32()); - const auto librarynameTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String librarynameTmpBuf = {}; - librarynameTmpBuf.tag = librarynameTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((librarynameTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - librarynameTmpBuf.value = static_cast(valueDeserializer.readString()); - } - value.libraryname = librarynameTmpBuf; + value.nativeXComponentHandler = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NativeXComponentPointer_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NativeXComponentPointer_Void))))}; const auto controllerTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_XComponentController controllerTmpBuf = {}; controllerTmpBuf.tag = controllerTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -90129,15 +98929,11 @@ inline void RectOptions_serializer::write(SerializerBase& buffer, Ark_RectOption if (valueHolderForWidthTmpValue.selector == 0) { valueSerializer.writeInt8(0); const auto valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue.value0; - valueSerializer.writeString(valueHolderForWidthTmpValueForIdx0); + valueSerializer.writeFloat64(valueHolderForWidthTmpValueForIdx0); } else if (valueHolderForWidthTmpValue.selector == 1) { valueSerializer.writeInt8(1); const auto valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue.value1; - valueSerializer.writeNumber(valueHolderForWidthTmpValueForIdx1); - } else if (valueHolderForWidthTmpValue.selector == 2) { - valueSerializer.writeInt8(2); - const auto valueHolderForWidthTmpValueForIdx2 = valueHolderForWidthTmpValue.value2; - Resource_serializer::write(valueSerializer, valueHolderForWidthTmpValueForIdx2); + valueSerializer.writeString(valueHolderForWidthTmpValueForIdx1); } } else { valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); @@ -90149,15 +98945,11 @@ inline void RectOptions_serializer::write(SerializerBase& buffer, Ark_RectOption if (valueHolderForHeightTmpValue.selector == 0) { valueSerializer.writeInt8(0); const auto valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue.value0; - valueSerializer.writeString(valueHolderForHeightTmpValueForIdx0); + valueSerializer.writeFloat64(valueHolderForHeightTmpValueForIdx0); } else if (valueHolderForHeightTmpValue.selector == 1) { valueSerializer.writeInt8(1); const auto valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue.value1; - valueSerializer.writeNumber(valueHolderForHeightTmpValueForIdx1); - } else if (valueHolderForHeightTmpValue.selector == 2) { - valueSerializer.writeInt8(2); - const auto valueHolderForHeightTmpValueForIdx2 = valueHolderForHeightTmpValue.value2; - Resource_serializer::write(valueSerializer, valueHolderForHeightTmpValueForIdx2); + valueSerializer.writeString(valueHolderForHeightTmpValueForIdx1); } } else { valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); @@ -90227,47 +99019,41 @@ inline Ark_RectOptions RectOptions_serializer::read(DeserializerBase& buffer) Ark_RectOptions value = {}; DeserializerBase& valueDeserializer = buffer; const auto widthTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Length widthTmpBuf = {}; + Opt_Union_F64_String widthTmpBuf = {}; widthTmpBuf.tag = widthTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((widthTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { const Ark_Int8 widthTmpBuf_UnionSelector = valueDeserializer.readInt8(); - Ark_Length widthTmpBuf_ = {}; + Ark_Union_F64_String widthTmpBuf_ = {}; widthTmpBuf_.selector = widthTmpBuf_UnionSelector; if (widthTmpBuf_UnionSelector == 0) { widthTmpBuf_.selector = 0; - widthTmpBuf_.value0 = static_cast(valueDeserializer.readString()); + widthTmpBuf_.value0 = valueDeserializer.readFloat64(); } else if (widthTmpBuf_UnionSelector == 1) { widthTmpBuf_.selector = 1; - widthTmpBuf_.value1 = static_cast(valueDeserializer.readNumber()); - } else if (widthTmpBuf_UnionSelector == 2) { - widthTmpBuf_.selector = 2; - widthTmpBuf_.value2 = Resource_serializer::read(valueDeserializer); + widthTmpBuf_.value1 = static_cast(valueDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for widthTmpBuf_ has to be chosen through deserialisation."); } - widthTmpBuf.value = static_cast(widthTmpBuf_); + widthTmpBuf.value = static_cast(widthTmpBuf_); } value.width = widthTmpBuf; const auto heightTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Length heightTmpBuf = {}; + Opt_Union_F64_String heightTmpBuf = {}; heightTmpBuf.tag = heightTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((heightTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { const Ark_Int8 heightTmpBuf_UnionSelector = valueDeserializer.readInt8(); - Ark_Length heightTmpBuf_ = {}; + Ark_Union_F64_String heightTmpBuf_ = {}; heightTmpBuf_.selector = heightTmpBuf_UnionSelector; if (heightTmpBuf_UnionSelector == 0) { heightTmpBuf_.selector = 0; - heightTmpBuf_.value0 = static_cast(valueDeserializer.readString()); + heightTmpBuf_.value0 = valueDeserializer.readFloat64(); } else if (heightTmpBuf_UnionSelector == 1) { heightTmpBuf_.selector = 1; - heightTmpBuf_.value1 = static_cast(valueDeserializer.readNumber()); - } else if (heightTmpBuf_UnionSelector == 2) { - heightTmpBuf_.selector = 2; - heightTmpBuf_.value2 = Resource_serializer::read(valueDeserializer); + heightTmpBuf_.value1 = static_cast(valueDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for heightTmpBuf_ has to be chosen through deserialisation."); } - heightTmpBuf.value = static_cast(heightTmpBuf_); + heightTmpBuf.value = static_cast(heightTmpBuf_); } value.height = heightTmpBuf; const auto radiusTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -92736,184 +101522,6 @@ inline Ark_TipsOptions TipsOptions_serializer::read(DeserializerBase& buffer) value.arrowHeight = arrowHeightTmpBuf; return value; } -inline void ViewportRect_serializer::write(SerializerBase& buffer, Ark_ViewportRect value) -{ - SerializerBase& valueSerializer = buffer; - const auto valueHolderForX = value.x; - if (runtimeType(valueHolderForX) != INTEROP_RUNTIME_UNDEFINED) { - valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto valueHolderForXTmpValue = valueHolderForX.value; - if (valueHolderForXTmpValue.selector == 0) { - valueSerializer.writeInt8(0); - const auto valueHolderForXTmpValueForIdx0 = valueHolderForXTmpValue.value0; - valueSerializer.writeString(valueHolderForXTmpValueForIdx0); - } else if (valueHolderForXTmpValue.selector == 1) { - valueSerializer.writeInt8(1); - const auto valueHolderForXTmpValueForIdx1 = valueHolderForXTmpValue.value1; - valueSerializer.writeNumber(valueHolderForXTmpValueForIdx1); - } else if (valueHolderForXTmpValue.selector == 2) { - valueSerializer.writeInt8(2); - const auto valueHolderForXTmpValueForIdx2 = valueHolderForXTmpValue.value2; - Resource_serializer::write(valueSerializer, valueHolderForXTmpValueForIdx2); - } - } else { - valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - const auto valueHolderForY = value.y; - if (runtimeType(valueHolderForY) != INTEROP_RUNTIME_UNDEFINED) { - valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto valueHolderForYTmpValue = valueHolderForY.value; - if (valueHolderForYTmpValue.selector == 0) { - valueSerializer.writeInt8(0); - const auto valueHolderForYTmpValueForIdx0 = valueHolderForYTmpValue.value0; - valueSerializer.writeString(valueHolderForYTmpValueForIdx0); - } else if (valueHolderForYTmpValue.selector == 1) { - valueSerializer.writeInt8(1); - const auto valueHolderForYTmpValueForIdx1 = valueHolderForYTmpValue.value1; - valueSerializer.writeNumber(valueHolderForYTmpValueForIdx1); - } else if (valueHolderForYTmpValue.selector == 2) { - valueSerializer.writeInt8(2); - const auto valueHolderForYTmpValueForIdx2 = valueHolderForYTmpValue.value2; - Resource_serializer::write(valueSerializer, valueHolderForYTmpValueForIdx2); - } - } else { - valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - const auto valueHolderForWidth = value.width; - if (runtimeType(valueHolderForWidth) != INTEROP_RUNTIME_UNDEFINED) { - valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto valueHolderForWidthTmpValue = valueHolderForWidth.value; - if (valueHolderForWidthTmpValue.selector == 0) { - valueSerializer.writeInt8(0); - const auto valueHolderForWidthTmpValueForIdx0 = valueHolderForWidthTmpValue.value0; - valueSerializer.writeString(valueHolderForWidthTmpValueForIdx0); - } else if (valueHolderForWidthTmpValue.selector == 1) { - valueSerializer.writeInt8(1); - const auto valueHolderForWidthTmpValueForIdx1 = valueHolderForWidthTmpValue.value1; - valueSerializer.writeNumber(valueHolderForWidthTmpValueForIdx1); - } else if (valueHolderForWidthTmpValue.selector == 2) { - valueSerializer.writeInt8(2); - const auto valueHolderForWidthTmpValueForIdx2 = valueHolderForWidthTmpValue.value2; - Resource_serializer::write(valueSerializer, valueHolderForWidthTmpValueForIdx2); - } - } else { - valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - const auto valueHolderForHeight = value.height; - if (runtimeType(valueHolderForHeight) != INTEROP_RUNTIME_UNDEFINED) { - valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto valueHolderForHeightTmpValue = valueHolderForHeight.value; - if (valueHolderForHeightTmpValue.selector == 0) { - valueSerializer.writeInt8(0); - const auto valueHolderForHeightTmpValueForIdx0 = valueHolderForHeightTmpValue.value0; - valueSerializer.writeString(valueHolderForHeightTmpValueForIdx0); - } else if (valueHolderForHeightTmpValue.selector == 1) { - valueSerializer.writeInt8(1); - const auto valueHolderForHeightTmpValueForIdx1 = valueHolderForHeightTmpValue.value1; - valueSerializer.writeNumber(valueHolderForHeightTmpValueForIdx1); - } else if (valueHolderForHeightTmpValue.selector == 2) { - valueSerializer.writeInt8(2); - const auto valueHolderForHeightTmpValueForIdx2 = valueHolderForHeightTmpValue.value2; - Resource_serializer::write(valueSerializer, valueHolderForHeightTmpValueForIdx2); - } - } else { - valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } -} -inline Ark_ViewportRect ViewportRect_serializer::read(DeserializerBase& buffer) -{ - Ark_ViewportRect value = {}; - DeserializerBase& valueDeserializer = buffer; - const auto xTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Length xTmpBuf = {}; - xTmpBuf.tag = xTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((xTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 xTmpBuf_UnionSelector = valueDeserializer.readInt8(); - Ark_Length xTmpBuf_ = {}; - xTmpBuf_.selector = xTmpBuf_UnionSelector; - if (xTmpBuf_UnionSelector == 0) { - xTmpBuf_.selector = 0; - xTmpBuf_.value0 = static_cast(valueDeserializer.readString()); - } else if (xTmpBuf_UnionSelector == 1) { - xTmpBuf_.selector = 1; - xTmpBuf_.value1 = static_cast(valueDeserializer.readNumber()); - } else if (xTmpBuf_UnionSelector == 2) { - xTmpBuf_.selector = 2; - xTmpBuf_.value2 = Resource_serializer::read(valueDeserializer); - } else { - INTEROP_FATAL("One of the branches for xTmpBuf_ has to be chosen through deserialisation."); - } - xTmpBuf.value = static_cast(xTmpBuf_); - } - value.x = xTmpBuf; - const auto yTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Length yTmpBuf = {}; - yTmpBuf.tag = yTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((yTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 yTmpBuf_UnionSelector = valueDeserializer.readInt8(); - Ark_Length yTmpBuf_ = {}; - yTmpBuf_.selector = yTmpBuf_UnionSelector; - if (yTmpBuf_UnionSelector == 0) { - yTmpBuf_.selector = 0; - yTmpBuf_.value0 = static_cast(valueDeserializer.readString()); - } else if (yTmpBuf_UnionSelector == 1) { - yTmpBuf_.selector = 1; - yTmpBuf_.value1 = static_cast(valueDeserializer.readNumber()); - } else if (yTmpBuf_UnionSelector == 2) { - yTmpBuf_.selector = 2; - yTmpBuf_.value2 = Resource_serializer::read(valueDeserializer); - } else { - INTEROP_FATAL("One of the branches for yTmpBuf_ has to be chosen through deserialisation."); - } - yTmpBuf.value = static_cast(yTmpBuf_); - } - value.y = yTmpBuf; - const auto widthTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Length widthTmpBuf = {}; - widthTmpBuf.tag = widthTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((widthTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 widthTmpBuf_UnionSelector = valueDeserializer.readInt8(); - Ark_Length widthTmpBuf_ = {}; - widthTmpBuf_.selector = widthTmpBuf_UnionSelector; - if (widthTmpBuf_UnionSelector == 0) { - widthTmpBuf_.selector = 0; - widthTmpBuf_.value0 = static_cast(valueDeserializer.readString()); - } else if (widthTmpBuf_UnionSelector == 1) { - widthTmpBuf_.selector = 1; - widthTmpBuf_.value1 = static_cast(valueDeserializer.readNumber()); - } else if (widthTmpBuf_UnionSelector == 2) { - widthTmpBuf_.selector = 2; - widthTmpBuf_.value2 = Resource_serializer::read(valueDeserializer); - } else { - INTEROP_FATAL("One of the branches for widthTmpBuf_ has to be chosen through deserialisation."); - } - widthTmpBuf.value = static_cast(widthTmpBuf_); - } - value.width = widthTmpBuf; - const auto heightTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Length heightTmpBuf = {}; - heightTmpBuf.tag = heightTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((heightTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 heightTmpBuf_UnionSelector = valueDeserializer.readInt8(); - Ark_Length heightTmpBuf_ = {}; - heightTmpBuf_.selector = heightTmpBuf_UnionSelector; - if (heightTmpBuf_UnionSelector == 0) { - heightTmpBuf_.selector = 0; - heightTmpBuf_.value0 = static_cast(valueDeserializer.readString()); - } else if (heightTmpBuf_UnionSelector == 1) { - heightTmpBuf_.selector = 1; - heightTmpBuf_.value1 = static_cast(valueDeserializer.readNumber()); - } else if (heightTmpBuf_UnionSelector == 2) { - heightTmpBuf_.selector = 2; - heightTmpBuf_.value2 = Resource_serializer::read(valueDeserializer); - } else { - INTEROP_FATAL("One of the branches for heightTmpBuf_ has to be chosen through deserialisation."); - } - heightTmpBuf.value = static_cast(heightTmpBuf_); - } - value.height = heightTmpBuf; - return value; -} inline void Area_serializer::write(SerializerBase& buffer, Ark_Area value) { SerializerBase& valueSerializer = buffer; @@ -97896,6 +106504,166 @@ inline Ark_MouseEvent MouseEvent_serializer::read(DeserializerBase& buffer) Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } +inline void NativeEmbedInfo_serializer::write(SerializerBase& buffer, Ark_NativeEmbedInfo value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForId = value.id; + if (runtimeType(valueHolderForId) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForIdTmpValue = valueHolderForId.value; + valueSerializer.writeString(valueHolderForIdTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForType = value.type; + if (runtimeType(valueHolderForType) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForTypeTmpValue = valueHolderForType.value; + valueSerializer.writeString(valueHolderForTypeTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForSrc = value.src; + if (runtimeType(valueHolderForSrc) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForSrcTmpValue = valueHolderForSrc.value; + valueSerializer.writeString(valueHolderForSrcTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForPosition = value.position; + if (runtimeType(valueHolderForPosition) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForPositionTmpValue = valueHolderForPosition.value; + Position_serializer::write(valueSerializer, valueHolderForPositionTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForWidth = value.width; + if (runtimeType(valueHolderForWidth) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForWidthTmpValue = valueHolderForWidth.value; + valueSerializer.writeInt32(valueHolderForWidthTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForHeight = value.height; + if (runtimeType(valueHolderForHeight) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForHeightTmpValue = valueHolderForHeight.value; + valueSerializer.writeInt32(valueHolderForHeightTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForUrl = value.url; + if (runtimeType(valueHolderForUrl) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForUrlTmpValue = valueHolderForUrl.value; + valueSerializer.writeString(valueHolderForUrlTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForTag = value.tag; + if (runtimeType(valueHolderForTag) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForTagTmpValue = valueHolderForTag.value; + valueSerializer.writeString(valueHolderForTagTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForParams = value.params; + if (runtimeType(valueHolderForParams) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForParamsTmpValue = valueHolderForParams.value; + valueSerializer.writeInt32(valueHolderForParamsTmpValue.size); + for (int32_t i = 0; i < valueHolderForParamsTmpValue.size; i++) { + auto valueHolderForParamsTmpValueKeyVar = valueHolderForParamsTmpValue.keys[i]; + auto valueHolderForParamsTmpValueValueVar = valueHolderForParamsTmpValue.values[i]; + valueSerializer.writeString(valueHolderForParamsTmpValueKeyVar); + valueSerializer.writeString(valueHolderForParamsTmpValueValueVar); + } + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_NativeEmbedInfo NativeEmbedInfo_serializer::read(DeserializerBase& buffer) +{ + Ark_NativeEmbedInfo value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto idTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String idTmpBuf = {}; + idTmpBuf.tag = idTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((idTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + idTmpBuf.value = static_cast(valueDeserializer.readString()); + } + value.id = idTmpBuf; + const auto typeTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String typeTmpBuf = {}; + typeTmpBuf.tag = typeTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((typeTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + typeTmpBuf.value = static_cast(valueDeserializer.readString()); + } + value.type = typeTmpBuf; + const auto srcTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String srcTmpBuf = {}; + srcTmpBuf.tag = srcTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((srcTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + srcTmpBuf.value = static_cast(valueDeserializer.readString()); + } + value.src = srcTmpBuf; + const auto positionTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Position positionTmpBuf = {}; + positionTmpBuf.tag = positionTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((positionTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + positionTmpBuf.value = Position_serializer::read(valueDeserializer); + } + value.position = positionTmpBuf; + const auto widthTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Int32 widthTmpBuf = {}; + widthTmpBuf.tag = widthTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((widthTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + widthTmpBuf.value = valueDeserializer.readInt32(); + } + value.width = widthTmpBuf; + const auto heightTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Int32 heightTmpBuf = {}; + heightTmpBuf.tag = heightTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((heightTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + heightTmpBuf.value = valueDeserializer.readInt32(); + } + value.height = heightTmpBuf; + const auto urlTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String urlTmpBuf = {}; + urlTmpBuf.tag = urlTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((urlTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + urlTmpBuf.value = static_cast(valueDeserializer.readString()); + } + value.url = urlTmpBuf; + const auto tagTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String tagTmpBuf = {}; + tagTmpBuf.tag = tagTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((tagTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + tagTmpBuf.value = static_cast(valueDeserializer.readString()); + } + value.tag = tagTmpBuf; + const auto paramsTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Map_String_String paramsTmpBuf = {}; + paramsTmpBuf.tag = paramsTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((paramsTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 paramsTmpBuf_SizeVar = valueDeserializer.readInt32(); + Map_String_String paramsTmpBuf_ = {}; + valueDeserializer.resizeMap(¶msTmpBuf_, paramsTmpBuf_SizeVar); + for (int paramsTmpBuf_IVar = 0; paramsTmpBuf_IVar < paramsTmpBuf_SizeVar; paramsTmpBuf_IVar++) { + const Ark_String paramsTmpBuf_KeyVar = static_cast(valueDeserializer.readString()); + const Ark_String paramsTmpBuf_ValueVar = static_cast(valueDeserializer.readString()); + paramsTmpBuf_.keys[paramsTmpBuf_IVar] = paramsTmpBuf_KeyVar; + paramsTmpBuf_.values[paramsTmpBuf_IVar] = paramsTmpBuf_ValueVar; + } + paramsTmpBuf.value = paramsTmpBuf_; + } + value.params = paramsTmpBuf; + return value; +} inline void NavigationMenuOptions_serializer::write(SerializerBase& buffer, Ark_NavigationMenuOptions value) { SerializerBase& valueSerializer = buffer; @@ -103366,6 +112134,131 @@ inline Ark_ImageAttachmentInterface ImageAttachmentInterface_serializer::read(De value.colorFilter = colorFilterTmpBuf; return value; } +inline void NativeEmbedDataInfo_serializer::write(SerializerBase& buffer, Ark_NativeEmbedDataInfo value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForStatus = value.status; + if (runtimeType(valueHolderForStatus) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForStatusTmpValue = valueHolderForStatus.value; + valueSerializer.writeInt32(static_cast(valueHolderForStatusTmpValue)); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForSurfaceId = value.surfaceId; + if (runtimeType(valueHolderForSurfaceId) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForSurfaceIdTmpValue = valueHolderForSurfaceId.value; + valueSerializer.writeString(valueHolderForSurfaceIdTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForEmbedId = value.embedId; + if (runtimeType(valueHolderForEmbedId) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForEmbedIdTmpValue = valueHolderForEmbedId.value; + valueSerializer.writeString(valueHolderForEmbedIdTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForInfo = value.info; + if (runtimeType(valueHolderForInfo) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForInfoTmpValue = valueHolderForInfo.value; + NativeEmbedInfo_serializer::write(valueSerializer, valueHolderForInfoTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_NativeEmbedDataInfo NativeEmbedDataInfo_serializer::read(DeserializerBase& buffer) +{ + Ark_NativeEmbedDataInfo value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto statusTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_NativeEmbedStatus statusTmpBuf = {}; + statusTmpBuf.tag = statusTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((statusTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + statusTmpBuf.value = static_cast(valueDeserializer.readInt32()); + } + value.status = statusTmpBuf; + const auto surfaceIdTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String surfaceIdTmpBuf = {}; + surfaceIdTmpBuf.tag = surfaceIdTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((surfaceIdTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + surfaceIdTmpBuf.value = static_cast(valueDeserializer.readString()); + } + value.surfaceId = surfaceIdTmpBuf; + const auto embedIdTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String embedIdTmpBuf = {}; + embedIdTmpBuf.tag = embedIdTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((embedIdTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + embedIdTmpBuf.value = static_cast(valueDeserializer.readString()); + } + value.embedId = embedIdTmpBuf; + const auto infoTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_NativeEmbedInfo infoTmpBuf = {}; + infoTmpBuf.tag = infoTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((infoTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + infoTmpBuf.value = NativeEmbedInfo_serializer::read(valueDeserializer); + } + value.info = infoTmpBuf; + return value; +} +inline void NativeEmbedTouchInfo_serializer::write(SerializerBase& buffer, Ark_NativeEmbedTouchInfo value) +{ + SerializerBase& valueSerializer = buffer; + const auto valueHolderForEmbedId = value.embedId; + if (runtimeType(valueHolderForEmbedId) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForEmbedIdTmpValue = valueHolderForEmbedId.value; + valueSerializer.writeString(valueHolderForEmbedIdTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForTouchEvent = value.touchEvent; + if (runtimeType(valueHolderForTouchEvent) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForTouchEventTmpValue = valueHolderForTouchEvent.value; + TouchEvent_serializer::write(valueSerializer, valueHolderForTouchEventTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + const auto valueHolderForResult = value.result; + if (runtimeType(valueHolderForResult) != INTEROP_RUNTIME_UNDEFINED) { + valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto valueHolderForResultTmpValue = valueHolderForResult.value; + EventResult_serializer::write(valueSerializer, valueHolderForResultTmpValue); + } else { + valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } +} +inline Ark_NativeEmbedTouchInfo NativeEmbedTouchInfo_serializer::read(DeserializerBase& buffer) +{ + Ark_NativeEmbedTouchInfo value = {}; + DeserializerBase& valueDeserializer = buffer; + const auto embedIdTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String embedIdTmpBuf = {}; + embedIdTmpBuf.tag = embedIdTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((embedIdTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + embedIdTmpBuf.value = static_cast(valueDeserializer.readString()); + } + value.embedId = embedIdTmpBuf; + const auto touchEventTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TouchEvent touchEventTmpBuf = {}; + touchEventTmpBuf.tag = touchEventTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((touchEventTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + touchEventTmpBuf.value = static_cast(TouchEvent_serializer::read(valueDeserializer)); + } + value.touchEvent = touchEventTmpBuf; + const auto resultTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_EventResult resultTmpBuf = {}; + resultTmpBuf.tag = resultTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((resultTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + resultTmpBuf.value = static_cast(EventResult_serializer::read(valueDeserializer)); + } + value.result = resultTmpBuf; + return value; +} inline void PopupOptions_serializer::write(SerializerBase& buffer, Ark_PopupOptions value) { SerializerBase& valueSerializer = buffer; @@ -105008,7 +113901,7 @@ inline void StyleOptions_serializer::write(SerializerBase& buffer, Ark_StyleOpti if (runtimeType(valueHolderForStart) != INTEROP_RUNTIME_UNDEFINED) { valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); const auto valueHolderForStartTmpValue = valueHolderForStart.value; - valueSerializer.writeNumber(valueHolderForStartTmpValue); + valueSerializer.writeInt32(valueHolderForStartTmpValue); } else { valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); } @@ -105016,7 +113909,7 @@ inline void StyleOptions_serializer::write(SerializerBase& buffer, Ark_StyleOpti if (runtimeType(valueHolderForLength) != INTEROP_RUNTIME_UNDEFINED) { valueSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); const auto valueHolderForLengthTmpValue = valueHolderForLength.value; - valueSerializer.writeNumber(valueHolderForLengthTmpValue); + valueSerializer.writeInt32(valueHolderForLengthTmpValue); } else { valueSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); } @@ -105082,17 +113975,17 @@ inline Ark_StyleOptions StyleOptions_serializer::read(DeserializerBase& buffer) Ark_StyleOptions value = {}; DeserializerBase& valueDeserializer = buffer; const auto startTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number startTmpBuf = {}; + Opt_Int32 startTmpBuf = {}; startTmpBuf.tag = startTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((startTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - startTmpBuf.value = static_cast(valueDeserializer.readNumber()); + startTmpBuf.value = valueDeserializer.readInt32(); } value.start = startTmpBuf; const auto lengthTmpBuf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number lengthTmpBuf = {}; + Opt_Int32 lengthTmpBuf = {}; lengthTmpBuf.tag = lengthTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((lengthTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - lengthTmpBuf.value = static_cast(valueDeserializer.readNumber()); + lengthTmpBuf.value = valueDeserializer.readInt32(); } value.length = lengthTmpBuf; value.styledKey = static_cast(valueDeserializer.readInt32()); diff --git a/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h b/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h index 1207f2b31..24c7e5354 100644 --- a/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h +++ b/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h @@ -280,12 +280,6 @@ typedef struct Opt_AttributeModifier Opt_AttributeModifier; typedef struct BaseContextPeer BaseContextPeer; typedef struct BaseContextPeer* Ark_BaseContext; typedef struct Opt_BaseContext Opt_BaseContext; -typedef struct BaseCustomComponentPeer BaseCustomComponentPeer; -typedef struct BaseCustomComponentPeer* Ark_BaseCustomComponent; -typedef struct Opt_BaseCustomComponent Opt_BaseCustomComponent; -typedef struct BaseCustomDialogPeer BaseCustomDialogPeer; -typedef struct BaseCustomDialogPeer* Ark_BaseCustomDialog; -typedef struct Opt_BaseCustomDialog Opt_BaseCustomDialog; typedef struct BaseShapePeer BaseShapePeer; typedef struct BaseShapePeer* Ark_BaseShape; typedef struct Opt_BaseShape Opt_BaseShape; @@ -306,11 +300,12 @@ typedef struct Opt_CanvasPath Opt_CanvasPath; typedef struct CanvasPatternPeer CanvasPatternPeer; typedef struct CanvasPatternPeer* Ark_CanvasPattern; typedef struct Opt_CanvasPattern Opt_CanvasPattern; -typedef struct Ark_CircleOptions Ark_CircleOptions; -typedef struct Opt_CircleOptions Opt_CircleOptions; typedef struct CircleShapePeer CircleShapePeer; typedef struct CircleShapePeer* Ark_CircleShape; typedef struct Opt_CircleShape Opt_CircleShape; +typedef struct ClientAuthenticationHandlerPeer ClientAuthenticationHandlerPeer; +typedef struct ClientAuthenticationHandlerPeer* Ark_ClientAuthenticationHandler; +typedef struct Opt_ClientAuthenticationHandler Opt_ClientAuthenticationHandler; typedef struct ColorContentPeer ColorContentPeer; typedef struct ColorContentPeer* Ark_ColorContent; typedef struct Opt_ColorContent Opt_ColorContent; @@ -326,21 +321,27 @@ typedef struct Opt_CommonShape Opt_CommonShape; typedef struct ComponentContentPeer ComponentContentPeer; typedef struct ComponentContentPeer* Ark_ComponentContent; typedef struct Opt_ComponentContent Opt_ComponentContent; +typedef struct ConsoleMessagePeer ConsoleMessagePeer; +typedef struct ConsoleMessagePeer* Ark_ConsoleMessage; +typedef struct Opt_ConsoleMessage Opt_ConsoleMessage; typedef struct ContextPeer ContextPeer; typedef struct ContextPeer* Ark_Context; typedef struct Opt_Context Opt_Context; +typedef struct ControllerHandlerPeer ControllerHandlerPeer; +typedef struct ControllerHandlerPeer* Ark_ControllerHandler; +typedef struct Opt_ControllerHandler Opt_ControllerHandler; typedef struct Ark_CornerRadius Ark_CornerRadius; typedef struct Opt_CornerRadius Opt_CornerRadius; typedef struct curves_ICurvePeer curves_ICurvePeer; typedef struct curves_ICurvePeer* Ark_curves_ICurve; typedef struct Opt_curves_ICurve Opt_curves_ICurve; -typedef struct CustomComponentV2Peer CustomComponentV2Peer; -typedef struct CustomComponentV2Peer* Ark_CustomComponentV2; -typedef struct Opt_CustomComponentV2 Opt_CustomComponentV2; typedef struct CustomDialogControllerPeer CustomDialogControllerPeer; typedef struct CustomDialogControllerPeer* Ark_CustomDialogController; typedef struct Opt_CustomDialogController Opt_CustomDialogController; typedef struct Opt_CustomObject Opt_CustomObject; +typedef struct DataResubmissionHandlerPeer DataResubmissionHandlerPeer; +typedef struct DataResubmissionHandlerPeer* Ark_DataResubmissionHandler; +typedef struct Opt_DataResubmissionHandler Opt_DataResubmissionHandler; typedef struct Opt_Date Opt_Date; typedef struct DatePickerDialogPeer DatePickerDialogPeer; typedef struct DatePickerDialogPeer* Ark_DatePickerDialog; @@ -405,17 +406,24 @@ typedef struct Opt_drawing_TextBlob Opt_drawing_TextBlob; typedef struct drawing_TypefacePeer drawing_TypefacePeer; typedef struct drawing_TypefacePeer* Ark_drawing_Typeface; typedef struct Opt_drawing_Typeface Opt_drawing_Typeface; -typedef struct Ark_EllipseOptions Ark_EllipseOptions; -typedef struct Opt_EllipseOptions Opt_EllipseOptions; typedef struct EllipseShapePeer EllipseShapePeer; typedef struct EllipseShapePeer* Ark_EllipseShape; typedef struct Opt_EllipseShape Opt_EllipseShape; +typedef struct EventResultPeer EventResultPeer; +typedef struct EventResultPeer* Ark_EventResult; +typedef struct Opt_EventResult Opt_EventResult; typedef struct EventTargetInfoPeer EventTargetInfoPeer; typedef struct EventTargetInfoPeer* Ark_EventTargetInfo; typedef struct Opt_EventTargetInfo Opt_EventTargetInfo; typedef struct ExtendableComponentPeer ExtendableComponentPeer; typedef struct ExtendableComponentPeer* Ark_ExtendableComponent; typedef struct Opt_ExtendableComponent Opt_ExtendableComponent; +typedef struct FileSelectorParamPeer FileSelectorParamPeer; +typedef struct FileSelectorParamPeer* Ark_FileSelectorParam; +typedef struct Opt_FileSelectorParam Opt_FileSelectorParam; +typedef struct FileSelectorResultPeer FileSelectorResultPeer; +typedef struct FileSelectorResultPeer* Ark_FileSelectorResult; +typedef struct Opt_FileSelectorResult Opt_FileSelectorResult; typedef struct Opt_Float32 Opt_Float32; typedef struct Opt_Float64 Opt_Float64; typedef struct Ark_FormSize Ark_FormSize; @@ -426,6 +434,9 @@ typedef struct Opt_FrameNode Opt_FrameNode; typedef struct FrictionMotionPeer FrictionMotionPeer; typedef struct FrictionMotionPeer* Ark_FrictionMotion; typedef struct Opt_FrictionMotion Opt_FrictionMotion; +typedef struct FullScreenExitHandlerPeer FullScreenExitHandlerPeer; +typedef struct FullScreenExitHandlerPeer* Ark_FullScreenExitHandler; +typedef struct Opt_FullScreenExitHandler Opt_FullScreenExitHandler; typedef struct Ark_FullscreenInfo Ark_FullscreenInfo; typedef struct Opt_FullscreenInfo Opt_FullscreenInfo; typedef struct GesturePeer GesturePeer; @@ -445,6 +456,9 @@ typedef struct GestureStylePeer* Ark_GestureStyle; typedef struct Opt_GestureStyle Opt_GestureStyle; typedef struct Ark_GestureType Ark_GestureType; typedef struct Opt_GestureType Opt_GestureType; +typedef struct HttpAuthHandlerPeer HttpAuthHandlerPeer; +typedef struct HttpAuthHandlerPeer* Ark_HttpAuthHandler; +typedef struct Opt_HttpAuthHandler Opt_HttpAuthHandler; typedef struct image_PixelMapPeer image_PixelMapPeer; typedef struct image_PixelMapPeer* Ark_image_PixelMap; typedef struct Opt_image_PixelMap Opt_image_PixelMap; @@ -455,9 +469,12 @@ typedef struct IndicatorComponentControllerPeer IndicatorComponentControllerPeer typedef struct IndicatorComponentControllerPeer* Ark_IndicatorComponentController; typedef struct Opt_IndicatorComponentController Opt_IndicatorComponentController; typedef struct Opt_Int64 Opt_Int64; -typedef struct LayoutCallbackPeer LayoutCallbackPeer; -typedef struct LayoutCallbackPeer* Ark_LayoutCallback; -typedef struct Opt_LayoutCallback Opt_LayoutCallback; +typedef struct JsGeolocationPeer JsGeolocationPeer; +typedef struct JsGeolocationPeer* Ark_JsGeolocation; +typedef struct Opt_JsGeolocation Opt_JsGeolocation; +typedef struct JsResultPeer JsResultPeer; +typedef struct JsResultPeer* Ark_JsResult; +typedef struct Opt_JsResult Opt_JsResult; typedef struct LayoutManagerPeer LayoutManagerPeer; typedef struct LayoutManagerPeer* Ark_LayoutManager; typedef struct Opt_LayoutManager Opt_LayoutManager; @@ -476,16 +493,11 @@ typedef struct Opt_LinearGradient Opt_LinearGradient; typedef struct LinearIndicatorControllerPeer LinearIndicatorControllerPeer; typedef struct LinearIndicatorControllerPeer* Ark_LinearIndicatorController; typedef struct Opt_LinearIndicatorController Opt_LinearIndicatorController; -typedef struct Ark_LineOptions Ark_LineOptions; -typedef struct Opt_LineOptions Opt_LineOptions; typedef struct ListScrollerPeer ListScrollerPeer; typedef struct ListScrollerPeer* Ark_ListScroller; typedef struct Opt_ListScroller Opt_ListScroller; typedef struct Ark_LoadingProgressConfiguration Ark_LoadingProgressConfiguration; typedef struct Opt_LoadingProgressConfiguration Opt_LoadingProgressConfiguration; -typedef struct LocalStoragePeer LocalStoragePeer; -typedef struct LocalStoragePeer* Ark_LocalStorage; -typedef struct Opt_LocalStorage Opt_LocalStorage; typedef struct LongPressGestureInterfacePeer LongPressGestureInterfacePeer; typedef struct LongPressGestureInterfacePeer* Ark_LongPressGestureInterface; typedef struct Opt_LongPressGestureInterface Opt_LongPressGestureInterface; @@ -495,6 +507,8 @@ typedef struct Opt_LongPressRecognizer Opt_LongPressRecognizer; typedef struct matrix4_Matrix4TransitPeer matrix4_Matrix4TransitPeer; typedef struct matrix4_Matrix4TransitPeer* Ark_matrix4_Matrix4Transit; typedef struct Opt_matrix4_Matrix4Transit Opt_matrix4_Matrix4Transit; +typedef struct Ark_NativeMediaPlayerConfig Ark_NativeMediaPlayerConfig; +typedef struct Opt_NativeMediaPlayerConfig Opt_NativeMediaPlayerConfig; typedef struct Opt_NativePointer Opt_NativePointer; typedef struct NavPathStackPeer NavPathStackPeer; typedef struct NavPathStackPeer* Ark_NavPathStack; @@ -515,13 +529,32 @@ typedef struct Ark_Offset_componentutils Ark_Offset_componentutils; typedef struct Opt_Offset_componentutils Opt_Offset_componentutils; typedef struct Ark_OffsetResult Ark_OffsetResult; typedef struct Opt_OffsetResult Opt_OffsetResult; +typedef struct Ark_OnAudioStateChangedEvent Ark_OnAudioStateChangedEvent; +typedef struct Opt_OnAudioStateChangedEvent Opt_OnAudioStateChangedEvent; +typedef struct Ark_OnConsoleEvent Ark_OnConsoleEvent; +typedef struct Opt_OnConsoleEvent Opt_OnConsoleEvent; +typedef struct Ark_OnDataResubmittedEvent Ark_OnDataResubmittedEvent; +typedef struct Opt_OnDataResubmittedEvent Opt_OnDataResubmittedEvent; +typedef struct Ark_OnFaviconReceivedEvent Ark_OnFaviconReceivedEvent; +typedef struct Opt_OnFaviconReceivedEvent Opt_OnFaviconReceivedEvent; +typedef struct Ark_OnFirstContentfulPaintEvent Ark_OnFirstContentfulPaintEvent; +typedef struct Opt_OnFirstContentfulPaintEvent Opt_OnFirstContentfulPaintEvent; typedef struct Ark_OnFoldStatusChangeInfo Ark_OnFoldStatusChangeInfo; typedef struct Opt_OnFoldStatusChangeInfo Opt_OnFoldStatusChangeInfo; +typedef struct Ark_OnOverScrollEvent Ark_OnOverScrollEvent; +typedef struct Opt_OnOverScrollEvent Opt_OnOverScrollEvent; +typedef struct Ark_OnProgressChangeEvent Ark_OnProgressChangeEvent; +typedef struct Opt_OnProgressChangeEvent Opt_OnProgressChangeEvent; +typedef struct Ark_OnScaleChangeEvent Ark_OnScaleChangeEvent; +typedef struct Opt_OnScaleChangeEvent Opt_OnScaleChangeEvent; +typedef struct Ark_OnScrollEvent Ark_OnScrollEvent; +typedef struct Opt_OnScrollEvent Opt_OnScrollEvent; typedef struct Ark_OnScrollFrameBeginHandlerResult Ark_OnScrollFrameBeginHandlerResult; typedef struct Opt_OnScrollFrameBeginHandlerResult Opt_OnScrollFrameBeginHandlerResult; -typedef struct PageLifeCyclePeer PageLifeCyclePeer; -typedef struct PageLifeCyclePeer* Ark_PageLifeCycle; -typedef struct Opt_PageLifeCycle Opt_PageLifeCycle; +typedef struct Ark_OnSearchResultReceiveEvent Ark_OnSearchResultReceiveEvent; +typedef struct Opt_OnSearchResultReceiveEvent Opt_OnSearchResultReceiveEvent; +typedef struct Ark_OnShowFileSelectorEvent Ark_OnShowFileSelectorEvent; +typedef struct Opt_OnShowFileSelectorEvent Opt_OnShowFileSelectorEvent; typedef struct PanGestureInterfacePeer PanGestureInterfacePeer; typedef struct PanGestureInterfacePeer* Ark_PanGestureInterface; typedef struct Opt_PanGestureInterface Opt_PanGestureInterface; @@ -534,14 +567,15 @@ typedef struct Opt_PanRecognizer Opt_PanRecognizer; typedef struct Path2DPeer Path2DPeer; typedef struct Path2DPeer* Ark_Path2D; typedef struct Opt_Path2D Opt_Path2D; -typedef struct Ark_PathOptions Ark_PathOptions; -typedef struct Opt_PathOptions Opt_PathOptions; typedef struct PathShapePeer PathShapePeer; typedef struct PathShapePeer* Ark_PathShape; typedef struct Opt_PathShape Opt_PathShape; typedef struct PatternLockControllerPeer PatternLockControllerPeer; typedef struct PatternLockControllerPeer* Ark_PatternLockController; typedef struct Opt_PatternLockController Opt_PatternLockController; +typedef struct PermissionRequestPeer PermissionRequestPeer; +typedef struct PermissionRequestPeer* Ark_PermissionRequest; +typedef struct Opt_PermissionRequest Opt_PermissionRequest; typedef struct PinchGestureInterfacePeer PinchGestureInterfacePeer; typedef struct PinchGestureInterfacePeer* Ark_PinchGestureInterface; typedef struct Opt_PinchGestureInterface Opt_PinchGestureInterface; @@ -553,10 +587,6 @@ typedef struct PixelMapMockPeer* Ark_PixelMapMock; typedef struct Opt_PixelMapMock Opt_PixelMapMock; typedef struct Ark_PlaybackInfo Ark_PlaybackInfo; typedef struct Opt_PlaybackInfo Opt_PlaybackInfo; -typedef struct Ark_PolygonOptions Ark_PolygonOptions; -typedef struct Opt_PolygonOptions Opt_PolygonOptions; -typedef struct Ark_PolylineOptions Ark_PolylineOptions; -typedef struct Opt_PolylineOptions Opt_PolylineOptions; typedef struct Ark_PopupStateChangeParam Ark_PopupStateChangeParam; typedef struct Opt_PopupStateChangeParam Opt_PopupStateChangeParam; typedef struct Ark_PositionWithAffinity Ark_PositionWithAffinity; @@ -571,6 +601,9 @@ typedef struct Opt_ProgressMask Opt_ProgressMask; typedef struct PromptActionPeer PromptActionPeer; typedef struct PromptActionPeer* Ark_PromptAction; typedef struct Opt_PromptAction Opt_PromptAction; +typedef struct PulseSymbolEffectPeer PulseSymbolEffectPeer; +typedef struct PulseSymbolEffectPeer* Ark_PulseSymbolEffect; +typedef struct Opt_PulseSymbolEffect Opt_PulseSymbolEffect; typedef struct Ark_RectResult Ark_RectResult; typedef struct Opt_RectResult Opt_RectResult; typedef struct RectShapePeer RectShapePeer; @@ -599,8 +632,6 @@ typedef struct Opt_RotationGesture Opt_RotationGesture; typedef struct RotationRecognizerPeer RotationRecognizerPeer; typedef struct RotationRecognizerPeer* Ark_RotationRecognizer; typedef struct Opt_RotationRecognizer Opt_RotationRecognizer; -typedef struct Ark_RoundedRectOptions Ark_RoundedRectOptions; -typedef struct Opt_RoundedRectOptions Opt_RoundedRectOptions; typedef struct Ark_RowOptionsV2 Ark_RowOptionsV2; typedef struct Opt_RowOptionsV2 Opt_RowOptionsV2; typedef struct Ark_RRect Ark_RRect; @@ -610,6 +641,9 @@ typedef struct Opt_ScaleResult Opt_ScaleResult; typedef struct ScenePeer ScenePeer; typedef struct ScenePeer* Ark_Scene; typedef struct Opt_Scene Opt_Scene; +typedef struct ScreenCaptureHandlerPeer ScreenCaptureHandlerPeer; +typedef struct ScreenCaptureHandlerPeer* Ark_ScreenCaptureHandler; +typedef struct Opt_ScreenCaptureHandler Opt_ScreenCaptureHandler; typedef struct ScrollableTargetInfoPeer ScrollableTargetInfoPeer; typedef struct ScrollableTargetInfoPeer* Ark_ScrollableTargetInfo; typedef struct Opt_ScrollableTargetInfo Opt_ScrollableTargetInfo; @@ -641,6 +675,9 @@ typedef struct Opt_SpringMotion Opt_SpringMotion; typedef struct SpringPropPeer SpringPropPeer; typedef struct SpringPropPeer* Ark_SpringProp; typedef struct Opt_SpringProp Opt_SpringProp; +typedef struct SslErrorHandlerPeer SslErrorHandlerPeer; +typedef struct SslErrorHandlerPeer* Ark_SslErrorHandler; +typedef struct Opt_SslErrorHandler Opt_SslErrorHandler; typedef struct Opt_String Opt_String; typedef struct StyledStringPeer StyledStringPeer; typedef struct StyledStringPeer* Ark_StyledString; @@ -820,6 +857,10 @@ typedef struct Ark_Union_Curve_ICurve Ark_Union_Curve_ICurve; typedef struct Opt_Union_Curve_ICurve Opt_Union_Curve_ICurve; typedef struct Ark_Union_Curve_String_ICurve Ark_Union_Curve_String_ICurve; typedef struct Opt_Union_Curve_String_ICurve Opt_Union_Curve_String_ICurve; +typedef struct Ark_Union_F64_String Ark_Union_F64_String; +typedef struct Opt_Union_F64_String Opt_Union_F64_String; +typedef struct Ark_Union_F64_String_PlaybackSpeed Ark_Union_F64_String_PlaybackSpeed; +typedef struct Opt_Union_F64_String_PlaybackSpeed Opt_Union_F64_String_PlaybackSpeed; typedef struct Ark_Union_FontWeight_Number_String Ark_Union_FontWeight_Number_String; typedef struct Opt_Union_FontWeight_Number_String Opt_Union_FontWeight_Number_String; typedef struct Ark_Union_I64_String Ark_Union_I64_String; @@ -832,8 +873,6 @@ typedef struct Ark_Union_Number_String Ark_Union_Number_String; typedef struct Opt_Union_Number_String Opt_Union_Number_String; typedef struct Ark_Union_Number_String_FontWeight Ark_Union_Number_String_FontWeight; typedef struct Opt_Union_Number_String_FontWeight Opt_Union_Number_String_FontWeight; -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_Union_Number_TextCase Ark_Union_Number_TextCase; typedef struct Opt_Union_Number_TextCase Opt_Union_Number_TextCase; typedef struct Ark_Union_Number_TextOverflow Ark_Union_Number_TextOverflow; @@ -842,14 +881,18 @@ typedef struct Ark_Union_PixelMap_String Ark_Union_PixelMap_String; typedef struct Opt_Union_PixelMap_String Opt_Union_PixelMap_String; typedef struct Ark_Union_ResponseType_RichEditorResponseType Ark_Union_ResponseType_RichEditorResponseType; typedef struct Opt_Union_ResponseType_RichEditorResponseType Opt_Union_ResponseType_RichEditorResponseType; +typedef struct Ark_Union_RichEditorOptions_RichEditorStyledStringOptions Ark_Union_RichEditorOptions_RichEditorStyledStringOptions; +typedef struct Opt_Union_RichEditorOptions_RichEditorStyledStringOptions Opt_Union_RichEditorOptions_RichEditorStyledStringOptions; typedef struct Ark_Union_SpringMotion_FrictionMotion_ScrollMotion Ark_Union_SpringMotion_FrictionMotion_ScrollMotion; typedef struct Opt_Union_SpringMotion_FrictionMotion_ScrollMotion Opt_Union_SpringMotion_FrictionMotion_ScrollMotion; +typedef struct Ark_Union_String_F64 Ark_Union_String_F64; +typedef struct Opt_Union_String_F64 Opt_Union_String_F64; typedef struct Ark_Union_String_FunctionKey Ark_Union_String_FunctionKey; typedef struct Opt_Union_String_FunctionKey Opt_Union_String_FunctionKey; +typedef struct Ark_Union_String_I32_CanvasGradient_CanvasPattern Ark_Union_String_I32_CanvasGradient_CanvasPattern; +typedef struct Opt_Union_String_I32_CanvasGradient_CanvasPattern Opt_Union_String_I32_CanvasGradient_CanvasPattern; typedef struct Ark_Union_String_Number Ark_Union_String_Number; typedef struct Opt_Union_String_Number Opt_Union_String_Number; -typedef struct Ark_Union_String_Number_CanvasGradient_CanvasPattern Ark_Union_String_Number_CanvasGradient_CanvasPattern; -typedef struct Opt_Union_String_Number_CanvasGradient_CanvasPattern Opt_Union_String_Number_CanvasGradient_CanvasPattern; typedef struct Ark_Union_SwiperAnimationMode_Boolean Ark_Union_SwiperAnimationMode_Boolean; typedef struct Opt_Union_SwiperAnimationMode_Boolean Opt_Union_SwiperAnimationMode_Boolean; typedef struct Ark_Union_TextInputStyle_TextContentStyle Ark_Union_TextInputStyle_TextContentStyle; @@ -872,13 +915,34 @@ typedef struct Opt_VP Opt_VP; typedef struct WaterFlowSectionsPeer WaterFlowSectionsPeer; typedef struct WaterFlowSectionsPeer* Ark_WaterFlowSections; typedef struct Opt_WaterFlowSections Opt_WaterFlowSections; +typedef struct WebContextMenuParamPeer WebContextMenuParamPeer; +typedef struct WebContextMenuParamPeer* Ark_WebContextMenuParam; +typedef struct Opt_WebContextMenuParam Opt_WebContextMenuParam; +typedef struct WebContextMenuResultPeer WebContextMenuResultPeer; +typedef struct WebContextMenuResultPeer* Ark_WebContextMenuResult; +typedef struct Opt_WebContextMenuResult Opt_WebContextMenuResult; typedef struct WebCookiePeer WebCookiePeer; typedef struct WebCookiePeer* Ark_WebCookie; typedef struct Opt_WebCookie Opt_WebCookie; +typedef struct WebKeyboardControllerPeer WebKeyboardControllerPeer; +typedef struct WebKeyboardControllerPeer* Ark_WebKeyboardController; +typedef struct Opt_WebKeyboardController Opt_WebKeyboardController; +typedef struct WebResourceErrorPeer WebResourceErrorPeer; +typedef struct WebResourceErrorPeer* Ark_WebResourceError; +typedef struct Opt_WebResourceError Opt_WebResourceError; +typedef struct WebResourceRequestPeer WebResourceRequestPeer; +typedef struct WebResourceRequestPeer* Ark_WebResourceRequest; +typedef struct Opt_WebResourceRequest Opt_WebResourceRequest; +typedef struct WebResourceResponsePeer WebResourceResponsePeer; +typedef struct WebResourceResponsePeer* Ark_WebResourceResponse; +typedef struct Opt_WebResourceResponse Opt_WebResourceResponse; +typedef struct Ark_webview_WebHeader Ark_webview_WebHeader; +typedef struct Opt_webview_WebHeader Opt_webview_WebHeader; +typedef struct webview_WebviewControllerPeer webview_WebviewControllerPeer; +typedef struct webview_WebviewControllerPeer* Ark_webview_WebviewController; +typedef struct Opt_webview_WebviewController Opt_webview_WebviewController; typedef struct Ark_WindowAnimationTarget Ark_WindowAnimationTarget; typedef struct Opt_WindowAnimationTarget Opt_WindowAnimationTarget; -typedef struct Ark_WorkerEventListener Ark_WorkerEventListener; -typedef struct Opt_WorkerEventListener Opt_WorkerEventListener; typedef struct Array_Array_String Array_Array_String; typedef struct Opt_Array_Array_String Opt_Array_Array_String; typedef struct Array_BarrierStyle Array_BarrierStyle; @@ -905,6 +969,8 @@ typedef struct Array_drawing_TextBlobRunBuffer Array_drawing_TextBlobRunBuffer; typedef struct Opt_Array_drawing_TextBlobRunBuffer Opt_Array_drawing_TextBlobRunBuffer; typedef struct Array_FingerInfo Array_FingerInfo; typedef struct Opt_Array_FingerInfo Opt_Array_FingerInfo; +typedef struct Array_Float64 Array_Float64; +typedef struct Opt_Array_Float64 Opt_Array_Float64; typedef struct Array_FractionStop Array_FractionStop; typedef struct Opt_Array_FractionStop Opt_Array_FractionStop; typedef struct Array_GestureRecognizer Array_GestureRecognizer; @@ -913,6 +979,8 @@ typedef struct Array_GestureType Array_GestureType; typedef struct Opt_Array_GestureType Opt_Array_GestureType; typedef struct Array_GuideLineStyle Array_GuideLineStyle; typedef struct Opt_Array_GuideLineStyle Opt_Array_GuideLineStyle; +typedef struct Array_Header Array_Header; +typedef struct Opt_Array_Header Opt_Array_Header; typedef struct Array_HistoricalPoint Array_HistoricalPoint; typedef struct Opt_Array_HistoricalPoint Opt_Array_HistoricalPoint; typedef struct Array_ImageAnalyzerType Array_ImageAnalyzerType; @@ -973,6 +1041,8 @@ 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 Array_ScriptItem Array_ScriptItem; +typedef struct Opt_Array_ScriptItem Opt_Array_ScriptItem; typedef struct Array_Scroller Array_Scroller; typedef struct Opt_Array_Scroller Opt_Array_Scroller; typedef struct Array_SectionOptions Array_SectionOptions; @@ -1035,6 +1105,10 @@ typedef struct Array_Union_RichEditorImageSpanResult_RichEditorTextSpanResult Ar typedef struct Opt_Array_Union_RichEditorImageSpanResult_RichEditorTextSpanResult Opt_Array_Union_RichEditorImageSpanResult_RichEditorTextSpanResult; typedef struct Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult; typedef struct Opt_Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult Opt_Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult; +typedef struct Array_Union_String_I32_I64_F64_Resource Array_Union_String_I32_I64_F64_Resource; +typedef struct Opt_Array_Union_String_I32_I64_F64_Resource Opt_Array_Union_String_I32_I64_F64_Resource; +typedef struct Array_webview_WebHeader Array_webview_WebHeader; +typedef struct Opt_Array_webview_WebHeader Opt_Array_webview_WebHeader; typedef struct AsyncCallback_image_PixelMap_Void AsyncCallback_image_PixelMap_Void; typedef struct Opt_AsyncCallback_image_PixelMap_Void Opt_AsyncCallback_image_PixelMap_Void; typedef struct ButtonModifierBuilder ButtonModifierBuilder; @@ -1145,12 +1219,18 @@ typedef struct Callback_KeyEvent_Boolean Callback_KeyEvent_Boolean; typedef struct Opt_Callback_KeyEvent_Boolean Opt_Callback_KeyEvent_Boolean; typedef struct Callback_KeyEvent_Void Callback_KeyEvent_Void; typedef struct Opt_Callback_KeyEvent_Void Opt_Callback_KeyEvent_Void; -typedef struct Callback_Map_String_Object_Void Callback_Map_String_Object_Void; -typedef struct Opt_Callback_Map_String_Object_Void Opt_Callback_Map_String_Object_Void; +typedef struct Callback_Map_String_RecordData_Void Callback_Map_String_RecordData_Void; +typedef struct Opt_Callback_Map_String_RecordData_Void Opt_Callback_Map_String_RecordData_Void; typedef struct Callback_MarqueeState_Void Callback_MarqueeState_Void; typedef struct Opt_Callback_MarqueeState_Void Opt_Callback_MarqueeState_Void; typedef struct Callback_MouseEvent_Void Callback_MouseEvent_Void; typedef struct Opt_Callback_MouseEvent_Void Opt_Callback_MouseEvent_Void; +typedef struct Callback_NativeEmbedDataInfo_Void Callback_NativeEmbedDataInfo_Void; +typedef struct Opt_Callback_NativeEmbedDataInfo_Void Opt_Callback_NativeEmbedDataInfo_Void; +typedef struct Callback_NativeEmbedTouchInfo_Void Callback_NativeEmbedTouchInfo_Void; +typedef struct Opt_Callback_NativeEmbedTouchInfo_Void Opt_Callback_NativeEmbedTouchInfo_Void; +typedef struct Callback_NativeXComponentPointer_Void Callback_NativeXComponentPointer_Void; +typedef struct Opt_Callback_NativeXComponentPointer_Void Opt_Callback_NativeXComponentPointer_Void; typedef struct Callback_NavDestinationActiveReason_Void Callback_NavDestinationActiveReason_Void; typedef struct Opt_Callback_NavDestinationActiveReason_Void Opt_Callback_NavDestinationActiveReason_Void; typedef struct Callback_NavDestinationContext_Void Callback_NavDestinationContext_Void; @@ -1179,12 +1259,84 @@ typedef struct Callback_Number_Void Callback_Number_Void; typedef struct Opt_Callback_Number_Void Opt_Callback_Number_Void; typedef struct Callback_Object_Void Callback_Object_Void; typedef struct Opt_Callback_Object_Void Opt_Callback_Object_Void; +typedef struct Callback_OnAlertEvent_Boolean Callback_OnAlertEvent_Boolean; +typedef struct Opt_Callback_OnAlertEvent_Boolean Opt_Callback_OnAlertEvent_Boolean; +typedef struct Callback_OnAudioStateChangedEvent_Void Callback_OnAudioStateChangedEvent_Void; +typedef struct Opt_Callback_OnAudioStateChangedEvent_Void Opt_Callback_OnAudioStateChangedEvent_Void; +typedef struct Callback_OnBeforeUnloadEvent_Boolean Callback_OnBeforeUnloadEvent_Boolean; +typedef struct Opt_Callback_OnBeforeUnloadEvent_Boolean Opt_Callback_OnBeforeUnloadEvent_Boolean; +typedef struct Callback_OnClientAuthenticationEvent_Void Callback_OnClientAuthenticationEvent_Void; +typedef struct Opt_Callback_OnClientAuthenticationEvent_Void Opt_Callback_OnClientAuthenticationEvent_Void; +typedef struct Callback_OnConfirmEvent_Boolean Callback_OnConfirmEvent_Boolean; +typedef struct Opt_Callback_OnConfirmEvent_Boolean Opt_Callback_OnConfirmEvent_Boolean; +typedef struct Callback_OnConsoleEvent_Boolean Callback_OnConsoleEvent_Boolean; +typedef struct Opt_Callback_OnConsoleEvent_Boolean Opt_Callback_OnConsoleEvent_Boolean; +typedef struct Callback_OnContextMenuShowEvent_Boolean Callback_OnContextMenuShowEvent_Boolean; +typedef struct Opt_Callback_OnContextMenuShowEvent_Boolean Opt_Callback_OnContextMenuShowEvent_Boolean; +typedef struct Callback_OnDataResubmittedEvent_Void Callback_OnDataResubmittedEvent_Void; +typedef struct Opt_Callback_OnDataResubmittedEvent_Void Opt_Callback_OnDataResubmittedEvent_Void; +typedef struct Callback_OnDownloadStartEvent_Void Callback_OnDownloadStartEvent_Void; +typedef struct Opt_Callback_OnDownloadStartEvent_Void Opt_Callback_OnDownloadStartEvent_Void; +typedef struct Callback_OnErrorReceiveEvent_Void Callback_OnErrorReceiveEvent_Void; +typedef struct Opt_Callback_OnErrorReceiveEvent_Void Opt_Callback_OnErrorReceiveEvent_Void; +typedef struct Callback_OnFaviconReceivedEvent_Void Callback_OnFaviconReceivedEvent_Void; +typedef struct Opt_Callback_OnFaviconReceivedEvent_Void Opt_Callback_OnFaviconReceivedEvent_Void; +typedef struct Callback_OnFirstContentfulPaintEvent_Void Callback_OnFirstContentfulPaintEvent_Void; +typedef struct Opt_Callback_OnFirstContentfulPaintEvent_Void Opt_Callback_OnFirstContentfulPaintEvent_Void; +typedef struct Callback_OnGeolocationShowEvent_Void Callback_OnGeolocationShowEvent_Void; +typedef struct Opt_Callback_OnGeolocationShowEvent_Void Opt_Callback_OnGeolocationShowEvent_Void; +typedef struct Callback_OnHttpAuthRequestEvent_Boolean Callback_OnHttpAuthRequestEvent_Boolean; +typedef struct Opt_Callback_OnHttpAuthRequestEvent_Boolean Opt_Callback_OnHttpAuthRequestEvent_Boolean; +typedef struct Callback_OnHttpErrorReceiveEvent_Void Callback_OnHttpErrorReceiveEvent_Void; +typedef struct Opt_Callback_OnHttpErrorReceiveEvent_Void Opt_Callback_OnHttpErrorReceiveEvent_Void; +typedef struct Callback_OnInterceptRequestEvent_WebResourceResponse Callback_OnInterceptRequestEvent_WebResourceResponse; +typedef struct Opt_Callback_OnInterceptRequestEvent_WebResourceResponse Opt_Callback_OnInterceptRequestEvent_WebResourceResponse; +typedef struct Callback_OnLoadInterceptEvent_Boolean Callback_OnLoadInterceptEvent_Boolean; +typedef struct Opt_Callback_OnLoadInterceptEvent_Boolean Opt_Callback_OnLoadInterceptEvent_Boolean; typedef struct Callback_onMeasureSize_SizeResult Callback_onMeasureSize_SizeResult; typedef struct Opt_Callback_onMeasureSize_SizeResult Opt_Callback_onMeasureSize_SizeResult; +typedef struct Callback_OnOverScrollEvent_Void Callback_OnOverScrollEvent_Void; +typedef struct Opt_Callback_OnOverScrollEvent_Void Opt_Callback_OnOverScrollEvent_Void; +typedef struct Callback_OnPageBeginEvent_Void Callback_OnPageBeginEvent_Void; +typedef struct Opt_Callback_OnPageBeginEvent_Void Opt_Callback_OnPageBeginEvent_Void; +typedef struct Callback_OnPageEndEvent_Void Callback_OnPageEndEvent_Void; +typedef struct Opt_Callback_OnPageEndEvent_Void Opt_Callback_OnPageEndEvent_Void; +typedef struct Callback_OnPageVisibleEvent_Void Callback_OnPageVisibleEvent_Void; +typedef struct Opt_Callback_OnPageVisibleEvent_Void Opt_Callback_OnPageVisibleEvent_Void; +typedef struct Callback_OnPermissionRequestEvent_Void Callback_OnPermissionRequestEvent_Void; +typedef struct Opt_Callback_OnPermissionRequestEvent_Void Opt_Callback_OnPermissionRequestEvent_Void; typedef struct Callback_onPlaceChildren_Void Callback_onPlaceChildren_Void; typedef struct Opt_Callback_onPlaceChildren_Void Opt_Callback_onPlaceChildren_Void; +typedef struct Callback_OnProgressChangeEvent_Void Callback_OnProgressChangeEvent_Void; +typedef struct Opt_Callback_OnProgressChangeEvent_Void Opt_Callback_OnProgressChangeEvent_Void; +typedef struct Callback_OnPromptEvent_Boolean Callback_OnPromptEvent_Boolean; +typedef struct Opt_Callback_OnPromptEvent_Boolean Opt_Callback_OnPromptEvent_Boolean; +typedef struct Callback_OnRefreshAccessedHistoryEvent_Void Callback_OnRefreshAccessedHistoryEvent_Void; +typedef struct Opt_Callback_OnRefreshAccessedHistoryEvent_Void Opt_Callback_OnRefreshAccessedHistoryEvent_Void; +typedef struct Callback_OnRenderExitedEvent_Void Callback_OnRenderExitedEvent_Void; +typedef struct Opt_Callback_OnRenderExitedEvent_Void Opt_Callback_OnRenderExitedEvent_Void; +typedef struct Callback_OnResourceLoadEvent_Void Callback_OnResourceLoadEvent_Void; +typedef struct Opt_Callback_OnResourceLoadEvent_Void Opt_Callback_OnResourceLoadEvent_Void; +typedef struct Callback_OnScaleChangeEvent_Void Callback_OnScaleChangeEvent_Void; +typedef struct Opt_Callback_OnScaleChangeEvent_Void Opt_Callback_OnScaleChangeEvent_Void; +typedef struct Callback_OnScreenCaptureRequestEvent_Void Callback_OnScreenCaptureRequestEvent_Void; +typedef struct Opt_Callback_OnScreenCaptureRequestEvent_Void Opt_Callback_OnScreenCaptureRequestEvent_Void; +typedef struct Callback_OnScrollEvent_Void Callback_OnScrollEvent_Void; +typedef struct Opt_Callback_OnScrollEvent_Void Opt_Callback_OnScrollEvent_Void; typedef struct Callback_OnScrollFrameBeginHandlerResult_Void Callback_OnScrollFrameBeginHandlerResult_Void; typedef struct Opt_Callback_OnScrollFrameBeginHandlerResult_Void Opt_Callback_OnScrollFrameBeginHandlerResult_Void; +typedef struct Callback_OnSearchResultReceiveEvent_Void Callback_OnSearchResultReceiveEvent_Void; +typedef struct Opt_Callback_OnSearchResultReceiveEvent_Void Opt_Callback_OnSearchResultReceiveEvent_Void; +typedef struct Callback_OnShowFileSelectorEvent_Boolean Callback_OnShowFileSelectorEvent_Boolean; +typedef struct Opt_Callback_OnShowFileSelectorEvent_Boolean Opt_Callback_OnShowFileSelectorEvent_Boolean; +typedef struct Callback_OnSslErrorEventReceiveEvent_Void Callback_OnSslErrorEventReceiveEvent_Void; +typedef struct Opt_Callback_OnSslErrorEventReceiveEvent_Void Opt_Callback_OnSslErrorEventReceiveEvent_Void; +typedef struct Callback_OnTitleReceiveEvent_Void Callback_OnTitleReceiveEvent_Void; +typedef struct Opt_Callback_OnTitleReceiveEvent_Void Opt_Callback_OnTitleReceiveEvent_Void; +typedef struct Callback_OnTouchIconUrlReceivedEvent_Void Callback_OnTouchIconUrlReceivedEvent_Void; +typedef struct Opt_Callback_OnTouchIconUrlReceivedEvent_Void Opt_Callback_OnTouchIconUrlReceivedEvent_Void; +typedef struct Callback_OnWindowNewEvent_Void Callback_OnWindowNewEvent_Void; +typedef struct Opt_Callback_OnWindowNewEvent_Void Opt_Callback_OnWindowNewEvent_Void; typedef struct Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void; typedef struct Opt_Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void Opt_Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void; typedef struct Callback_Opt_Array_NavDestinationTransition_Void Callback_Opt_Array_NavDestinationTransition_Void; @@ -1269,10 +1421,6 @@ typedef struct Callback_SwipeGesture_Void Callback_SwipeGesture_Void; typedef struct Opt_Callback_SwipeGesture_Void Opt_Callback_SwipeGesture_Void; typedef struct Callback_SwiperContentTransitionProxy_Void Callback_SwiperContentTransitionProxy_Void; typedef struct Opt_Callback_SwiperContentTransitionProxy_Void Opt_Callback_SwiperContentTransitionProxy_Void; -typedef struct Callback_T Callback_T; -typedef struct Opt_Callback_T Opt_Callback_T; -typedef struct Callback_T_Void Callback_T_Void; -typedef struct Opt_Callback_T_Void Opt_Callback_T_Void; typedef struct Callback_T_Void_Arkui_Component_Units_Length Callback_T_Void_Arkui_Component_Units_Length; typedef struct Opt_Callback_T_Void_Arkui_Component_Units_Length Opt_Callback_T_Void_Arkui_Component_Units_Length; typedef struct Callback_T_Void_Arkui_Component_Units_ResourceStr Callback_T_Void_Arkui_Component_Units_ResourceStr; @@ -1319,6 +1467,10 @@ typedef struct Callback_Union_Object_Undefined_Void Callback_Union_Object_Undefi typedef struct Opt_Callback_Union_Object_Undefined_Void Opt_Callback_Union_Object_Undefined_Void; typedef struct Callback_Void Callback_Void; typedef struct Opt_Callback_Void Opt_Callback_Void; +typedef struct Callback_WebKeyboardOptions_Void Callback_WebKeyboardOptions_Void; +typedef struct Opt_Callback_WebKeyboardOptions_Void Opt_Callback_WebKeyboardOptions_Void; +typedef struct Callback_WebResourceResponse_Void Callback_WebResourceResponse_Void; +typedef struct Opt_Callback_WebResourceResponse_Void Opt_Callback_WebResourceResponse_Void; typedef struct CheckBoxModifierBuilder CheckBoxModifierBuilder; typedef struct Opt_CheckBoxModifierBuilder Opt_CheckBoxModifierBuilder; typedef struct ContentDidScrollCallback ContentDidScrollCallback; @@ -1369,6 +1521,10 @@ typedef struct Map_String_Int64 Map_String_Int64; typedef struct Opt_Map_String_Int64 Opt_Map_String_Int64; typedef struct Map_String_Object Map_String_Object; typedef struct Opt_Map_String_Object Opt_Map_String_Object; +typedef struct Map_String_Opt_Object Map_String_Opt_Object; +typedef struct Opt_Map_String_Opt_Object Opt_Map_String_Opt_Object; +typedef struct Map_String_String Map_String_String; +typedef struct Opt_Map_String_String Opt_Map_String_String; typedef struct MenuCallback MenuCallback; typedef struct Opt_MenuCallback Opt_MenuCallback; typedef struct MenuItemModifierBuilder MenuItemModifierBuilder; @@ -1381,6 +1537,8 @@ typedef struct NavDestinationTransitionDelegate NavDestinationTransitionDelegate typedef struct Opt_NavDestinationTransitionDelegate Opt_NavDestinationTransitionDelegate; typedef struct NavExtender_OnUpdateStack NavExtender_OnUpdateStack; typedef struct Opt_NavExtender_OnUpdateStack Opt_NavExtender_OnUpdateStack; +typedef struct OnAdsBlockedCallback OnAdsBlockedCallback; +typedef struct Opt_OnAdsBlockedCallback Opt_OnAdsBlockedCallback; typedef struct OnAlphabetIndexerPopupSelectCallback OnAlphabetIndexerPopupSelectCallback; typedef struct Opt_OnAlphabetIndexerPopupSelectCallback Opt_OnAlphabetIndexerPopupSelectCallback; typedef struct OnAlphabetIndexerRequestPopupDataCallback OnAlphabetIndexerRequestPopupDataCallback; @@ -1393,36 +1551,54 @@ typedef struct OnCheckboxGroupChangeCallback OnCheckboxGroupChangeCallback; typedef struct Opt_OnCheckboxGroupChangeCallback Opt_OnCheckboxGroupChangeCallback; typedef struct OnContentScrollCallback OnContentScrollCallback; typedef struct Opt_OnContentScrollCallback Opt_OnContentScrollCallback; +typedef struct OnContextMenuHideCallback OnContextMenuHideCallback; +typedef struct Opt_OnContextMenuHideCallback Opt_OnContextMenuHideCallback; typedef struct OnCreateMenuCallback OnCreateMenuCallback; typedef struct Opt_OnCreateMenuCallback Opt_OnCreateMenuCallback; typedef struct OnDidChangeCallback OnDidChangeCallback; typedef struct Opt_OnDidChangeCallback Opt_OnDidChangeCallback; typedef struct OnDragEventCallback OnDragEventCallback; typedef struct Opt_OnDragEventCallback Opt_OnDragEventCallback; +typedef struct OnFirstMeaningfulPaintCallback OnFirstMeaningfulPaintCallback; +typedef struct Opt_OnFirstMeaningfulPaintCallback Opt_OnFirstMeaningfulPaintCallback; typedef struct OnFoldStatusChangeCallback OnFoldStatusChangeCallback; typedef struct Opt_OnFoldStatusChangeCallback Opt_OnFoldStatusChangeCallback; +typedef struct OnFullScreenEnterCallback OnFullScreenEnterCallback; +typedef struct Opt_OnFullScreenEnterCallback Opt_OnFullScreenEnterCallback; typedef struct OnHoverCallback OnHoverCallback; typedef struct Opt_OnHoverCallback Opt_OnHoverCallback; typedef struct OnHoverStatusChangeCallback OnHoverStatusChangeCallback; typedef struct Opt_OnHoverStatusChangeCallback Opt_OnHoverStatusChangeCallback; +typedef struct OnIntelligentTrackingPreventionCallback OnIntelligentTrackingPreventionCallback; +typedef struct Opt_OnIntelligentTrackingPreventionCallback Opt_OnIntelligentTrackingPreventionCallback; typedef struct OnItemDragStartCallback OnItemDragStartCallback; typedef struct Opt_OnItemDragStartCallback Opt_OnItemDragStartCallback; -typedef struct OnLazyLoadingFunc OnLazyLoadingFunc; -typedef struct Opt_OnLazyLoadingFunc Opt_OnLazyLoadingFunc; +typedef struct OnLargestContentfulPaintCallback OnLargestContentfulPaintCallback; +typedef struct Opt_OnLargestContentfulPaintCallback Opt_OnLargestContentfulPaintCallback; typedef struct OnLinearIndicatorChangeCallback OnLinearIndicatorChangeCallback; typedef struct Opt_OnLinearIndicatorChangeCallback Opt_OnLinearIndicatorChangeCallback; typedef struct OnMenuItemClickCallback OnMenuItemClickCallback; typedef struct Opt_OnMenuItemClickCallback Opt_OnMenuItemClickCallback; typedef struct OnMoveHandler OnMoveHandler; typedef struct Opt_OnMoveHandler Opt_OnMoveHandler; -typedef struct OnNativeLoadCallback OnNativeLoadCallback; -typedef struct Opt_OnNativeLoadCallback Opt_OnNativeLoadCallback; +typedef struct OnNativeEmbedVisibilityChangeCallback OnNativeEmbedVisibilityChangeCallback; +typedef struct Opt_OnNativeEmbedVisibilityChangeCallback Opt_OnNativeEmbedVisibilityChangeCallback; +typedef struct OnNavigationEntryCommittedCallback OnNavigationEntryCommittedCallback; +typedef struct Opt_OnNavigationEntryCommittedCallback Opt_OnNavigationEntryCommittedCallback; +typedef struct OnOverrideUrlLoadingCallback OnOverrideUrlLoadingCallback; +typedef struct Opt_OnOverrideUrlLoadingCallback Opt_OnOverrideUrlLoadingCallback; typedef struct OnPasteCallback OnPasteCallback; typedef struct Opt_OnPasteCallback Opt_OnPasteCallback; typedef struct OnRadioChangeCallback OnRadioChangeCallback; typedef struct Opt_OnRadioChangeCallback Opt_OnRadioChangeCallback; typedef struct OnRatingChangeCallback OnRatingChangeCallback; typedef struct Opt_OnRatingChangeCallback Opt_OnRatingChangeCallback; +typedef struct OnRenderProcessNotRespondingCallback OnRenderProcessNotRespondingCallback; +typedef struct Opt_OnRenderProcessNotRespondingCallback Opt_OnRenderProcessNotRespondingCallback; +typedef struct OnRenderProcessRespondingCallback OnRenderProcessRespondingCallback; +typedef struct Opt_OnRenderProcessRespondingCallback Opt_OnRenderProcessRespondingCallback; +typedef struct OnSafeBrowsingCheckResultCallback OnSafeBrowsingCheckResultCallback; +typedef struct Opt_OnSafeBrowsingCheckResultCallback Opt_OnSafeBrowsingCheckResultCallback; typedef struct OnScrollCallback OnScrollCallback; typedef struct Opt_OnScrollCallback Opt_OnScrollCallback; typedef struct OnScrollEdgeCallback OnScrollEdgeCallback; @@ -1433,6 +1609,8 @@ typedef struct OnScrollVisibleContentChangeCallback OnScrollVisibleContentChange typedef struct Opt_OnScrollVisibleContentChangeCallback Opt_OnScrollVisibleContentChangeCallback; typedef struct OnSelectCallback OnSelectCallback; typedef struct Opt_OnSelectCallback Opt_OnSelectCallback; +typedef struct OnSslErrorEventCallback OnSslErrorEventCallback; +typedef struct Opt_OnSslErrorEventCallback Opt_OnSslErrorEventCallback; typedef struct OnSubmitCallback OnSubmitCallback; typedef struct Opt_OnSubmitCallback Opt_OnSubmitCallback; typedef struct OnSwiperAnimationEndCallback OnSwiperAnimationEndCallback; @@ -1455,8 +1633,8 @@ typedef struct OnTextSelectionChangeCallback OnTextSelectionChangeCallback; typedef struct Opt_OnTextSelectionChangeCallback Opt_OnTextSelectionChangeCallback; typedef struct OnTimePickerChangeCallback OnTimePickerChangeCallback; typedef struct Opt_OnTimePickerChangeCallback Opt_OnTimePickerChangeCallback; -typedef struct OnTotalCountFunc OnTotalCountFunc; -typedef struct Opt_OnTotalCountFunc Opt_OnTotalCountFunc; +typedef struct OnViewportFitChangedCallback OnViewportFitChangedCallback; +typedef struct Opt_OnViewportFitChangedCallback Opt_OnViewportFitChangedCallback; typedef struct OnWillScrollCallback OnWillScrollCallback; typedef struct Opt_OnWillScrollCallback Opt_OnWillScrollCallback; typedef struct PageMapBuilder PageMapBuilder; @@ -1551,8 +1729,14 @@ typedef struct VisibleAreaChangeCallback VisibleAreaChangeCallback; typedef struct Opt_VisibleAreaChangeCallback Opt_VisibleAreaChangeCallback; typedef struct VoidCallback VoidCallback; typedef struct Opt_VoidCallback Opt_VoidCallback; +typedef struct WebKeyboardCallback WebKeyboardCallback; +typedef struct Opt_WebKeyboardCallback Opt_WebKeyboardCallback; +typedef struct WorkerEventListener WorkerEventListener; +typedef struct Opt_WorkerEventListener Opt_WorkerEventListener; typedef struct Ark_AccessibilityOptions Ark_AccessibilityOptions; typedef struct Opt_AccessibilityOptions Opt_AccessibilityOptions; +typedef struct Ark_AdsBlockedDetails Ark_AdsBlockedDetails; +typedef struct Opt_AdsBlockedDetails Opt_AdsBlockedDetails; typedef struct Ark_AlignRuleOption Ark_AlignRuleOption; typedef struct Opt_AlignRuleOption Opt_AlignRuleOption; typedef struct Ark_AnimationNumberRange Ark_AnimationNumberRange; @@ -1627,6 +1811,8 @@ typedef struct ChildrenMainSizePeer* Ark_ChildrenMainSize; typedef struct Opt_ChildrenMainSize Opt_ChildrenMainSize; typedef struct Ark_Circle Ark_Circle; typedef struct Opt_Circle Opt_Circle; +typedef struct Ark_CircleOptions Ark_CircleOptions; +typedef struct Opt_CircleOptions Opt_CircleOptions; typedef struct Ark_ClickEffect Ark_ClickEffect; typedef struct Opt_ClickEffect Opt_ClickEffect; typedef struct Ark_CloseSwipeActionOptions Ark_CloseSwipeActionOptions; @@ -1715,6 +1901,10 @@ typedef struct Ark_EdgeStyles Ark_EdgeStyles; typedef struct Opt_EdgeStyles Opt_EdgeStyles; typedef struct Ark_EditMenuOptions Ark_EditMenuOptions; typedef struct Opt_EditMenuOptions Opt_EditMenuOptions; +typedef struct Ark_EllipseOptions Ark_EllipseOptions; +typedef struct Opt_EllipseOptions Opt_EllipseOptions; +typedef struct Ark_EmbedOptions Ark_EmbedOptions; +typedef struct Opt_EmbedOptions Opt_EmbedOptions; typedef struct Ark_ErrorEvent Ark_ErrorEvent; typedef struct Opt_ErrorEvent Opt_ErrorEvent; typedef struct Ark_ErrorInformation Ark_ErrorInformation; @@ -1725,6 +1915,8 @@ typedef struct Ark_ExpectedFrameRateRange Ark_ExpectedFrameRateRange; typedef struct Opt_ExpectedFrameRateRange Opt_ExpectedFrameRateRange; typedef struct Ark_FingerInfo Ark_FingerInfo; typedef struct Opt_FingerInfo Opt_FingerInfo; +typedef struct Ark_FirstMeaningfulPaint Ark_FirstMeaningfulPaint; +typedef struct Opt_FirstMeaningfulPaint Opt_FirstMeaningfulPaint; typedef struct Ark_FocusMovement Ark_FocusMovement; typedef struct Opt_FocusMovement Opt_FocusMovement; typedef struct Ark_FolderStackOptions Ark_FolderStackOptions; @@ -1743,6 +1935,8 @@ typedef struct Ark_FractionStop Ark_FractionStop; typedef struct Opt_FractionStop Opt_FractionStop; typedef struct Ark_Frame Ark_Frame; typedef struct Opt_Frame Opt_Frame; +typedef struct Ark_FullScreenEnterEvent Ark_FullScreenEnterEvent; +typedef struct Opt_FullScreenEnterEvent Opt_FullScreenEnterEvent; typedef struct Ark_GaugeConfiguration Ark_GaugeConfiguration; typedef struct Opt_GaugeConfiguration Opt_GaugeConfiguration; typedef struct Ark_GaugeOptions Ark_GaugeOptions; @@ -1761,6 +1955,8 @@ typedef struct Ark_GridLayoutOptions Ark_GridLayoutOptions; typedef struct Opt_GridLayoutOptions Opt_GridLayoutOptions; typedef struct Ark_GridRowColumnOption Ark_GridRowColumnOption; typedef struct Opt_GridRowColumnOption Opt_GridRowColumnOption; +typedef struct Ark_Header Ark_Header; +typedef struct Opt_Header Opt_Header; typedef struct HierarchicalSymbolEffectPeer HierarchicalSymbolEffectPeer; typedef struct HierarchicalSymbolEffectPeer* Ark_HierarchicalSymbolEffect; typedef struct Opt_HierarchicalSymbolEffect Opt_HierarchicalSymbolEffect; @@ -1786,17 +1982,23 @@ typedef struct Ark_InputCounterOptions Ark_InputCounterOptions; typedef struct Opt_InputCounterOptions Opt_InputCounterOptions; typedef struct Ark_InsertValue Ark_InsertValue; typedef struct Opt_InsertValue Opt_InsertValue; +typedef struct Ark_IntelligentTrackingPreventionDetails Ark_IntelligentTrackingPreventionDetails; +typedef struct Opt_IntelligentTrackingPreventionDetails Opt_IntelligentTrackingPreventionDetails; typedef struct Ark_intl_DateTimeOptions Ark_intl_DateTimeOptions; typedef struct Opt_intl_DateTimeOptions Opt_intl_DateTimeOptions; typedef struct Ark_InvertOptions Ark_InvertOptions; typedef struct Opt_InvertOptions Opt_InvertOptions; typedef struct Ark_ItemDragInfo Ark_ItemDragInfo; typedef struct Opt_ItemDragInfo Opt_ItemDragInfo; +typedef struct Ark_JavaScriptProxy Ark_JavaScriptProxy; +typedef struct Opt_JavaScriptProxy Opt_JavaScriptProxy; typedef struct Ark_KeyboardOptions Ark_KeyboardOptions; typedef struct Opt_KeyboardOptions Opt_KeyboardOptions; typedef struct KeyEventPeer KeyEventPeer; typedef struct KeyEventPeer* Ark_KeyEvent; typedef struct Opt_KeyEvent Opt_KeyEvent; +typedef struct Ark_LargestContentfulPaint Ark_LargestContentfulPaint; +typedef struct Opt_LargestContentfulPaint Opt_LargestContentfulPaint; typedef struct Ark_LayoutConstraint Ark_LayoutConstraint; typedef struct Opt_LayoutConstraint Opt_LayoutConstraint; typedef struct LengthMetricsPeer LengthMetricsPeer; @@ -1814,12 +2016,16 @@ typedef struct Opt_LinearIndicatorStartOptions Opt_LinearIndicatorStartOptions; typedef struct LineHeightStylePeer LineHeightStylePeer; typedef struct LineHeightStylePeer* Ark_LineHeightStyle; typedef struct Opt_LineHeightStyle Opt_LineHeightStyle; +typedef struct Ark_LineOptions Ark_LineOptions; +typedef struct Opt_LineOptions Opt_LineOptions; typedef struct Ark_ListItemGroupOptions Ark_ListItemGroupOptions; typedef struct Opt_ListItemGroupOptions Opt_ListItemGroupOptions; typedef struct Ark_ListItemOptions Ark_ListItemOptions; typedef struct Opt_ListItemOptions Opt_ListItemOptions; typedef struct Ark_ListOptions Ark_ListOptions; typedef struct Opt_ListOptions Opt_ListOptions; +typedef struct Ark_LoadCommittedDetails Ark_LoadCommittedDetails; +typedef struct Opt_LoadCommittedDetails Opt_LoadCommittedDetails; typedef struct Ark_LocalizedHorizontalAlignParam Ark_LocalizedHorizontalAlignParam; typedef struct Opt_LocalizedHorizontalAlignParam Opt_LocalizedHorizontalAlignParam; typedef struct Ark_LocalizedVerticalAlignParam Ark_LocalizedVerticalAlignParam; @@ -1857,6 +2063,8 @@ typedef struct Opt_MotionPathOptions Opt_MotionPathOptions; typedef struct MutableStyledStringPeer MutableStyledStringPeer; typedef struct MutableStyledStringPeer* Ark_MutableStyledString; typedef struct Opt_MutableStyledString Opt_MutableStyledString; +typedef struct Ark_NativeEmbedVisibilityInfo Ark_NativeEmbedVisibilityInfo; +typedef struct Opt_NativeEmbedVisibilityInfo Opt_NativeEmbedVisibilityInfo; typedef struct Ark_NavContentInfo Ark_NavContentInfo; typedef struct Opt_NavContentInfo Opt_NavContentInfo; typedef struct Ark_NavDestinationTransition Ark_NavDestinationTransition; @@ -1872,12 +2080,66 @@ typedef struct NavPathInfoPeer* Ark_NavPathInfo; typedef struct Opt_NavPathInfo Opt_NavPathInfo; typedef struct Ark_NestedScrollInfo Ark_NestedScrollInfo; typedef struct Opt_NestedScrollInfo Opt_NestedScrollInfo; +typedef struct Ark_NestedScrollOptionsExt Ark_NestedScrollOptionsExt; +typedef struct Opt_NestedScrollOptionsExt Opt_NestedScrollOptionsExt; +typedef struct Ark_OnAlertEvent Ark_OnAlertEvent; +typedef struct Opt_OnAlertEvent Opt_OnAlertEvent; +typedef struct Ark_OnBeforeUnloadEvent Ark_OnBeforeUnloadEvent; +typedef struct Opt_OnBeforeUnloadEvent Opt_OnBeforeUnloadEvent; +typedef struct Ark_OnClientAuthenticationEvent Ark_OnClientAuthenticationEvent; +typedef struct Opt_OnClientAuthenticationEvent Opt_OnClientAuthenticationEvent; +typedef struct Ark_OnConfirmEvent Ark_OnConfirmEvent; +typedef struct Opt_OnConfirmEvent Opt_OnConfirmEvent; +typedef struct Ark_OnContextMenuShowEvent Ark_OnContextMenuShowEvent; +typedef struct Opt_OnContextMenuShowEvent Opt_OnContextMenuShowEvent; +typedef struct Ark_OnDownloadStartEvent Ark_OnDownloadStartEvent; +typedef struct Opt_OnDownloadStartEvent Opt_OnDownloadStartEvent; +typedef struct Ark_OnErrorReceiveEvent Ark_OnErrorReceiveEvent; +typedef struct Opt_OnErrorReceiveEvent Opt_OnErrorReceiveEvent; +typedef struct Ark_OnGeolocationShowEvent Ark_OnGeolocationShowEvent; +typedef struct Opt_OnGeolocationShowEvent Opt_OnGeolocationShowEvent; +typedef struct Ark_OnHttpAuthRequestEvent Ark_OnHttpAuthRequestEvent; +typedef struct Opt_OnHttpAuthRequestEvent Opt_OnHttpAuthRequestEvent; +typedef struct Ark_OnHttpErrorReceiveEvent Ark_OnHttpErrorReceiveEvent; +typedef struct Opt_OnHttpErrorReceiveEvent Opt_OnHttpErrorReceiveEvent; +typedef struct Ark_OnInterceptRequestEvent Ark_OnInterceptRequestEvent; +typedef struct Opt_OnInterceptRequestEvent Opt_OnInterceptRequestEvent; +typedef struct Ark_OnLoadInterceptEvent Ark_OnLoadInterceptEvent; +typedef struct Opt_OnLoadInterceptEvent Opt_OnLoadInterceptEvent; +typedef struct Ark_OnPageBeginEvent Ark_OnPageBeginEvent; +typedef struct Opt_OnPageBeginEvent Opt_OnPageBeginEvent; +typedef struct Ark_OnPageEndEvent Ark_OnPageEndEvent; +typedef struct Opt_OnPageEndEvent Opt_OnPageEndEvent; +typedef struct Ark_OnPageVisibleEvent Ark_OnPageVisibleEvent; +typedef struct Opt_OnPageVisibleEvent Opt_OnPageVisibleEvent; +typedef struct Ark_OnPermissionRequestEvent Ark_OnPermissionRequestEvent; +typedef struct Opt_OnPermissionRequestEvent Opt_OnPermissionRequestEvent; +typedef struct Ark_OnPromptEvent Ark_OnPromptEvent; +typedef struct Opt_OnPromptEvent Opt_OnPromptEvent; +typedef struct Ark_OnRefreshAccessedHistoryEvent Ark_OnRefreshAccessedHistoryEvent; +typedef struct Opt_OnRefreshAccessedHistoryEvent Opt_OnRefreshAccessedHistoryEvent; +typedef struct Ark_OnRenderExitedEvent Ark_OnRenderExitedEvent; +typedef struct Opt_OnRenderExitedEvent Opt_OnRenderExitedEvent; +typedef struct Ark_OnResourceLoadEvent Ark_OnResourceLoadEvent; +typedef struct Opt_OnResourceLoadEvent Opt_OnResourceLoadEvent; +typedef struct Ark_OnScreenCaptureRequestEvent Ark_OnScreenCaptureRequestEvent; +typedef struct Opt_OnScreenCaptureRequestEvent Opt_OnScreenCaptureRequestEvent; +typedef struct Ark_OnSslErrorEventReceiveEvent Ark_OnSslErrorEventReceiveEvent; +typedef struct Opt_OnSslErrorEventReceiveEvent Opt_OnSslErrorEventReceiveEvent; +typedef struct Ark_OnTitleReceiveEvent Ark_OnTitleReceiveEvent; +typedef struct Opt_OnTitleReceiveEvent Opt_OnTitleReceiveEvent; +typedef struct Ark_OnTouchIconUrlReceivedEvent Ark_OnTouchIconUrlReceivedEvent; +typedef struct Opt_OnTouchIconUrlReceivedEvent Opt_OnTouchIconUrlReceivedEvent; +typedef struct Ark_OnWindowNewEvent Ark_OnWindowNewEvent; +typedef struct Opt_OnWindowNewEvent Opt_OnWindowNewEvent; typedef struct Ark_OverlayOffset Ark_OverlayOffset; typedef struct Opt_OverlayOffset Opt_OverlayOffset; typedef struct Ark_PanGestureHandlerOptions Ark_PanGestureHandlerOptions; typedef struct Opt_PanGestureHandlerOptions Opt_PanGestureHandlerOptions; typedef struct Ark_PanGestureInterface_Invoke_Literal Ark_PanGestureInterface_Invoke_Literal; typedef struct Opt_PanGestureInterface_Invoke_Literal Opt_PanGestureInterface_Invoke_Literal; +typedef struct Ark_PathOptions Ark_PathOptions; +typedef struct Opt_PathOptions Opt_PathOptions; typedef struct Ark_PathShapeOptions Ark_PathShapeOptions; typedef struct Opt_PathShapeOptions Opt_PathShapeOptions; typedef struct Ark_PinchGestureHandlerOptions Ark_PinchGestureHandlerOptions; @@ -1890,6 +2152,10 @@ typedef struct Ark_PluginComponentTemplate Ark_PluginComponentTemplate; typedef struct Opt_PluginComponentTemplate Opt_PluginComponentTemplate; typedef struct Ark_PluginErrorData Ark_PluginErrorData; typedef struct Opt_PluginErrorData Opt_PluginErrorData; +typedef struct Ark_PolygonOptions Ark_PolygonOptions; +typedef struct Opt_PolygonOptions Opt_PolygonOptions; +typedef struct Ark_PolylineOptions Ark_PolylineOptions; +typedef struct Opt_PolylineOptions Opt_PolylineOptions; typedef struct Ark_PopInfo Ark_PopInfo; typedef struct Opt_PopInfo Opt_PopInfo; typedef struct Ark_PopupButton Ark_PopupButton; @@ -1915,6 +2181,8 @@ typedef struct Opt_RatingConfiguration Opt_RatingConfiguration; typedef struct RenderingContextSettingsPeer RenderingContextSettingsPeer; typedef struct RenderingContextSettingsPeer* Ark_RenderingContextSettings; typedef struct Opt_RenderingContextSettings Opt_RenderingContextSettings; +typedef struct Ark_RenderProcessNotRespondingData Ark_RenderProcessNotRespondingData; +typedef struct Opt_RenderProcessNotRespondingData Opt_RenderProcessNotRespondingData; typedef struct ReplaceSymbolEffectPeer ReplaceSymbolEffectPeer; typedef struct ReplaceSymbolEffectPeer* Ark_ReplaceSymbolEffect; typedef struct Opt_ReplaceSymbolEffect Opt_ReplaceSymbolEffect; @@ -1942,6 +2210,8 @@ typedef struct Ark_RotateOptions Ark_RotateOptions; typedef struct Opt_RotateOptions Opt_RotateOptions; typedef struct Ark_RotationGestureHandlerOptions Ark_RotationGestureHandlerOptions; typedef struct Opt_RotationGestureHandlerOptions Opt_RotationGestureHandlerOptions; +typedef struct Ark_RoundedRectOptions Ark_RoundedRectOptions; +typedef struct Opt_RoundedRectOptions Opt_RoundedRectOptions; typedef struct Ark_RoundRect Ark_RoundRect; typedef struct Opt_RoundRect Opt_RoundRect; typedef struct Ark_RoundRectShapeOptions Ark_RoundRectShapeOptions; @@ -1955,6 +2225,10 @@ typedef struct Opt_ScaleOptions Opt_ScaleOptions; typedef struct ScaleSymbolEffectPeer ScaleSymbolEffectPeer; typedef struct ScaleSymbolEffectPeer* Ark_ScaleSymbolEffect; typedef struct Opt_ScaleSymbolEffect Opt_ScaleSymbolEffect; +typedef struct Ark_ScreenCaptureConfig Ark_ScreenCaptureConfig; +typedef struct Opt_ScreenCaptureConfig Opt_ScreenCaptureConfig; +typedef struct Ark_ScriptItem Ark_ScriptItem; +typedef struct Opt_ScriptItem Opt_ScriptItem; typedef struct Ark_ScrollAnimationOptions Ark_ScrollAnimationOptions; typedef struct Opt_ScrollAnimationOptions Opt_ScrollAnimationOptions; typedef struct Ark_ScrollBarOptions Ark_ScrollBarOptions; @@ -1963,6 +2237,8 @@ typedef struct Ark_ScrollEdgeOptions Ark_ScrollEdgeOptions; typedef struct Opt_ScrollEdgeOptions Opt_ScrollEdgeOptions; typedef struct Ark_ScrollPageOptions Ark_ScrollPageOptions; typedef struct Opt_ScrollPageOptions Opt_ScrollPageOptions; +typedef struct Ark_SelectionMenuOptionsExt Ark_SelectionMenuOptionsExt; +typedef struct Opt_SelectionMenuOptionsExt Opt_SelectionMenuOptionsExt; typedef struct Ark_SelectionOptions Ark_SelectionOptions; typedef struct Opt_SelectionOptions Opt_SelectionOptions; typedef struct Ark_ShapeSize Ark_ShapeSize; @@ -1979,6 +2255,8 @@ typedef struct Ark_SpaceType Ark_SpaceType; typedef struct Opt_SpaceType Opt_SpaceType; typedef struct Ark_SpringBackAction Ark_SpringBackAction; typedef struct Opt_SpringBackAction Opt_SpringBackAction; +typedef struct Ark_SslErrorEvent Ark_SslErrorEvent; +typedef struct Opt_SslErrorEvent Opt_SslErrorEvent; typedef struct Ark_StackOptions Ark_StackOptions; typedef struct Opt_StackOptions Opt_StackOptions; typedef struct Ark_StyledStringChangedListener Ark_StyledStringChangedListener; @@ -2035,6 +2313,8 @@ typedef struct Ark_TipsMessageType Ark_TipsMessageType; typedef struct Opt_TipsMessageType Opt_TipsMessageType; typedef struct Ark_ToggleConfiguration Ark_ToggleConfiguration; typedef struct Opt_ToggleConfiguration Opt_ToggleConfiguration; +typedef struct Ark_ToolBarItemOptions Ark_ToolBarItemOptions; +typedef struct Opt_ToolBarItemOptions Opt_ToolBarItemOptions; typedef struct Ark_TouchObject Ark_TouchObject; typedef struct Opt_TouchObject Opt_TouchObject; typedef struct Ark_TouchResult Ark_TouchResult; @@ -2108,6 +2388,8 @@ typedef struct Ark_Union_EdgeOutlineStyles_OutlineStyle Ark_Union_EdgeOutlineSty typedef struct Opt_Union_EdgeOutlineStyles_OutlineStyle Opt_Union_EdgeOutlineStyles_OutlineStyle; typedef struct Ark_Union_EdgeStyles_BorderStyle Ark_Union_EdgeStyles_BorderStyle; typedef struct Opt_Union_EdgeStyles_BorderStyle Opt_Union_EdgeStyles_BorderStyle; +typedef struct Ark_Union_F64_String_Resource Ark_Union_F64_String_Resource; +typedef struct Opt_Union_F64_String_Resource Opt_Union_F64_String_Resource; typedef struct Ark_Union_Image_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource Ark_Union_Image_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource; typedef struct Opt_Union_Image_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource Opt_Union_Image_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource; typedef struct Ark_Union_ImageBitmap_PixelMap Ark_Union_ImageBitmap_PixelMap; @@ -2118,6 +2400,8 @@ typedef struct Ark_Union_MenuPreviewMode_CustomBuilder Ark_Union_MenuPreviewMode typedef struct Opt_Union_MenuPreviewMode_CustomBuilder Opt_Union_MenuPreviewMode_CustomBuilder; typedef struct Ark_Union_NavDestinationInfo_NavBar Ark_Union_NavDestinationInfo_NavBar; typedef struct Opt_Union_NavDestinationInfo_NavBar Opt_Union_NavDestinationInfo_NavBar; +typedef struct Ark_Union_NestedScrollOptions_NestedScrollOptionsExt Ark_Union_NestedScrollOptions_NestedScrollOptionsExt; +typedef struct Opt_Union_NestedScrollOptions_NestedScrollOptionsExt Opt_Union_NestedScrollOptions_NestedScrollOptionsExt; typedef struct Ark_Union_Number_Array_Number Ark_Union_Number_Array_Number; typedef struct Opt_Union_Number_Array_Number Opt_Union_Number_Array_Number; typedef struct Ark_Union_Number_Array_Number_Bindable_Bindable Ark_Union_Number_Array_Number_Bindable_Bindable; @@ -2186,8 +2470,14 @@ typedef struct Ark_Union_String_Bindable Ark_Union_String_Bindable; typedef struct Opt_Union_String_Bindable Opt_Union_String_Bindable; typedef struct Ark_Union_String_CustomBuilder_ComponentContent Ark_Union_String_CustomBuilder_ComponentContent; typedef struct Opt_Union_String_CustomBuilder_ComponentContent Opt_Union_String_CustomBuilder_ComponentContent; +typedef struct Ark_Union_String_I32_I64_F64_Resource Ark_Union_String_I32_I64_F64_Resource; +typedef struct Opt_Union_String_I32_I64_F64_Resource Opt_Union_String_I32_I64_F64_Resource; +typedef struct Ark_Union_String_Number_Buffer_Resource Ark_Union_String_Number_Buffer_Resource; +typedef struct Opt_Union_String_Number_Buffer_Resource Opt_Union_String_Number_Buffer_Resource; 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 Ark_Union_String_Number_Resource_Buffer Ark_Union_String_Number_Resource_Buffer; +typedef struct Opt_Union_String_Number_Resource_Buffer Opt_Union_String_Number_Resource_Buffer; typedef struct Ark_Union_String_PixelMap_Resource Ark_Union_String_PixelMap_Resource; typedef struct Opt_Union_String_PixelMap_Resource Opt_Union_String_PixelMap_Resource; typedef struct Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier; @@ -2200,6 +2490,8 @@ typedef struct Ark_Union_String_Resource_LinearGradientOptions Ark_Union_String_ typedef struct Opt_Union_String_Resource_LinearGradientOptions Opt_Union_String_Resource_LinearGradientOptions; typedef struct Ark_Union_String_Resource_PixelMap Ark_Union_String_Resource_PixelMap; typedef struct Opt_Union_String_Resource_PixelMap Opt_Union_String_Resource_PixelMap; +typedef struct Ark_ViewportRect Ark_ViewportRect; +typedef struct Opt_ViewportRect Opt_ViewportRect; typedef struct Ark_VisibleAreaEventOptions Ark_VisibleAreaEventOptions; typedef struct Opt_VisibleAreaEventOptions Opt_VisibleAreaEventOptions; typedef struct Ark_VisibleListContentInfo Ark_VisibleListContentInfo; @@ -2208,6 +2500,14 @@ typedef struct Ark_Want Ark_Want; typedef struct Opt_Want Opt_Want; typedef struct Ark_WaterFlowOptions Ark_WaterFlowOptions; typedef struct Opt_WaterFlowOptions Opt_WaterFlowOptions; +typedef struct Ark_WebKeyboardCallbackInfo Ark_WebKeyboardCallbackInfo; +typedef struct Opt_WebKeyboardCallbackInfo Opt_WebKeyboardCallbackInfo; +typedef struct Ark_WebKeyboardOptions Ark_WebKeyboardOptions; +typedef struct Opt_WebKeyboardOptions Opt_WebKeyboardOptions; +typedef struct Ark_WebMediaOptions Ark_WebMediaOptions; +typedef struct Opt_WebMediaOptions Opt_WebMediaOptions; +typedef struct Ark_WebOptions Ark_WebOptions; +typedef struct Opt_WebOptions Opt_WebOptions; typedef struct Ark_window_SystemBarStyle Ark_window_SystemBarStyle; typedef struct Opt_window_SystemBarStyle Opt_window_SystemBarStyle; typedef struct Ark_WorkerOptions Ark_WorkerOptions; @@ -2510,8 +2810,8 @@ typedef struct Ark_VideoOptions Ark_VideoOptions; typedef struct Opt_VideoOptions Opt_VideoOptions; typedef struct Ark_XComponentOptions Ark_XComponentOptions; typedef struct Opt_XComponentOptions Opt_XComponentOptions; -typedef struct Ark_XComponentParameter Ark_XComponentParameter; -typedef struct Opt_XComponentParameter Opt_XComponentParameter; +typedef struct Ark_XComponentParameters Ark_XComponentParameters; +typedef struct Opt_XComponentParameters Opt_XComponentParameters; typedef struct Ark_ArrowStyle Ark_ArrowStyle; typedef struct Opt_ArrowStyle Opt_ArrowStyle; typedef struct Ark_BadgeStyle Ark_BadgeStyle; @@ -2723,8 +3023,8 @@ typedef struct Ark_Union_String_CustomBuilder_NavDestinationCommonTitle_NavDesti typedef struct Opt_Union_String_CustomBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle_Resource Opt_Union_String_CustomBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle_Resource; typedef struct Ark_Union_Union_Padding_Dimension_LocalizedPadding Ark_Union_Union_Padding_Dimension_LocalizedPadding; typedef struct Opt_Union_Union_Padding_Dimension_LocalizedPadding Opt_Union_Union_Padding_Dimension_LocalizedPadding; -typedef struct Ark_ViewportRect Ark_ViewportRect; -typedef struct Opt_ViewportRect Opt_ViewportRect; +typedef struct Ark_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters Ark_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters; +typedef struct Opt_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters Opt_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters; typedef struct Ark_Area Ark_Area; typedef struct Opt_Area Opt_Area; typedef struct Ark_BadgeParamWithNumber Ark_BadgeParamWithNumber; @@ -2779,6 +3079,8 @@ typedef struct Opt_MenuOutlineOptions Opt_MenuOutlineOptions; typedef struct MouseEventPeer MouseEventPeer; typedef struct MouseEventPeer* Ark_MouseEvent; typedef struct Opt_MouseEvent Opt_MouseEvent; +typedef struct Ark_NativeEmbedInfo Ark_NativeEmbedInfo; +typedef struct Opt_NativeEmbedInfo Opt_NativeEmbedInfo; typedef struct Ark_NavigationMenuOptions Ark_NavigationMenuOptions; typedef struct Opt_NavigationMenuOptions Opt_NavigationMenuOptions; typedef struct Ark_NavigationToolbarOptions Ark_NavigationToolbarOptions; @@ -2883,6 +3185,10 @@ typedef struct ImageAttachmentPeer* Ark_ImageAttachment; typedef struct Opt_ImageAttachment Opt_ImageAttachment; typedef struct Ark_ImageAttachmentInterface Ark_ImageAttachmentInterface; typedef struct Opt_ImageAttachmentInterface Opt_ImageAttachmentInterface; +typedef struct Ark_NativeEmbedDataInfo Ark_NativeEmbedDataInfo; +typedef struct Opt_NativeEmbedDataInfo Opt_NativeEmbedDataInfo; +typedef struct Ark_NativeEmbedTouchInfo Ark_NativeEmbedTouchInfo; +typedef struct Opt_NativeEmbedTouchInfo Opt_NativeEmbedTouchInfo; typedef struct Ark_PopupOptions Ark_PopupOptions; typedef struct Opt_PopupOptions Opt_PopupOptions; typedef struct Ark_ResourceImageAttachmentOptions Ark_ResourceImageAttachmentOptions; @@ -3169,6 +3475,13 @@ typedef struct Opt_AttributeUpdaterFlag { Ark_Tag tag; Ark_AttributeUpdaterFlag value; } Opt_AttributeUpdaterFlag; +typedef enum Ark_AudioSessionType { + ARK_AUDIO_SESSION_TYPE_AMBIENT = 3, +} Ark_AudioSessionType; +typedef struct Opt_AudioSessionType { + Ark_Tag tag; + Ark_AudioSessionType value; +} Opt_AudioSessionType; typedef enum Ark_AutoCapitalizationMode { ARK_AUTO_CAPITALIZATION_MODE_NONE = 0, ARK_AUTO_CAPITALIZATION_MODE_WORDS = 1, @@ -3317,6 +3630,14 @@ typedef struct Opt_BlendMode { Ark_Tag tag; Ark_BlendMode value; } Opt_BlendMode; +typedef enum Ark_BlurOnKeyboardHideMode { + ARK_BLUR_ON_KEYBOARD_HIDE_MODE_SILENT = 0, + ARK_BLUR_ON_KEYBOARD_HIDE_MODE_BLUR = 1, +} Ark_BlurOnKeyboardHideMode; +typedef struct Opt_BlurOnKeyboardHideMode { + Ark_Tag tag; + Ark_BlurOnKeyboardHideMode value; +} Opt_BlurOnKeyboardHideMode; typedef enum Ark_BlurStyle { ARK_BLUR_STYLE_THIN = 0, ARK_BLUR_STYLE_REGULAR = 1, @@ -3389,6 +3710,16 @@ typedef struct Opt_ButtonType { Ark_Tag tag; Ark_ButtonType value; } Opt_ButtonType; +typedef enum Ark_CacheMode { + ARK_CACHE_MODE_DEFAULT = 0, + ARK_CACHE_MODE_NONE = 1, + ARK_CACHE_MODE_ONLINE = 2, + ARK_CACHE_MODE_ONLY = 3, +} Ark_CacheMode; +typedef struct Opt_CacheMode { + Ark_Tag tag; + Ark_CacheMode value; +} Opt_CacheMode; typedef enum Ark_CalendarAlign { ARK_CALENDAR_ALIGN_START = 0, ARK_CALENDAR_ALIGN_CENTER = 1, @@ -3468,14 +3799,6 @@ typedef struct Opt_ColoringStrategy { Ark_Tag tag; Ark_ColoringStrategy value; } Opt_ColoringStrategy; -typedef enum Ark_ColorMode { - ARK_COLOR_MODE_LIGHT = 0, - ARK_COLOR_MODE_DARK = 1, -} Ark_ColorMode; -typedef struct Opt_ColorMode { - Ark_Tag tag; - Ark_ColorMode value; -} Opt_ColorMode; typedef enum Ark_ContentClipMode { ARK_CONTENT_CLIP_MODE_CONTENT_ONLY = 0, ARK_CONTENT_CLIP_MODE_BOUNDARY = 1, @@ -3524,6 +3847,46 @@ typedef struct Opt_ContentType { Ark_Tag tag; Ark_ContentType value; } Opt_ContentType; +typedef enum Ark_ContextMenuEditStateFlags { + ARK_CONTEXT_MENU_EDIT_STATE_FLAGS_NONE = 0, + ARK_CONTEXT_MENU_EDIT_STATE_FLAGS_CAN_CUT = 1, + ARK_CONTEXT_MENU_EDIT_STATE_FLAGS_CAN_COPY = 2, + ARK_CONTEXT_MENU_EDIT_STATE_FLAGS_CAN_PASTE = 3, + ARK_CONTEXT_MENU_EDIT_STATE_FLAGS_CAN_SELECT_ALL = 4, +} Ark_ContextMenuEditStateFlags; +typedef struct Opt_ContextMenuEditStateFlags { + Ark_Tag tag; + Ark_ContextMenuEditStateFlags value; +} Opt_ContextMenuEditStateFlags; +typedef enum Ark_ContextMenuInputFieldType { + ARK_CONTEXT_MENU_INPUT_FIELD_TYPE_NONE = 0, + ARK_CONTEXT_MENU_INPUT_FIELD_TYPE_PLAIN_TEXT = 1, + ARK_CONTEXT_MENU_INPUT_FIELD_TYPE_PASSWORD = 2, + ARK_CONTEXT_MENU_INPUT_FIELD_TYPE_NUMBER = 3, + ARK_CONTEXT_MENU_INPUT_FIELD_TYPE_TELEPHONE = 4, + ARK_CONTEXT_MENU_INPUT_FIELD_TYPE_OTHER = 5, +} Ark_ContextMenuInputFieldType; +typedef struct Opt_ContextMenuInputFieldType { + Ark_Tag tag; + Ark_ContextMenuInputFieldType value; +} Opt_ContextMenuInputFieldType; +typedef enum Ark_ContextMenuMediaType { + ARK_CONTEXT_MENU_MEDIA_TYPE_NONE = 0, + ARK_CONTEXT_MENU_MEDIA_TYPE_IMAGE = 1, +} Ark_ContextMenuMediaType; +typedef struct Opt_ContextMenuMediaType { + Ark_Tag tag; + Ark_ContextMenuMediaType value; +} Opt_ContextMenuMediaType; +typedef enum Ark_ContextMenuSourceType { + ARK_CONTEXT_MENU_SOURCE_TYPE_NONE = 0, + ARK_CONTEXT_MENU_SOURCE_TYPE_MOUSE = 1, + ARK_CONTEXT_MENU_SOURCE_TYPE_LONG_PRESS = 2, +} Ark_ContextMenuSourceType; +typedef struct Opt_ContextMenuSourceType { + Ark_Tag tag; + Ark_ContextMenuSourceType value; +} Opt_ContextMenuSourceType; typedef enum Ark_ControlSize { ARK_CONTROL_SIZE_SMALL, ARK_CONTROL_SIZE_NORMAL, @@ -4065,6 +4428,16 @@ typedef struct Opt_EnterKeyType { Ark_Tag tag; Ark_EnterKeyType value; } Opt_EnterKeyType; +typedef enum Ark_FileSelectorMode { + ARK_FILE_SELECTOR_MODE_FILE_OPEN_MODE = 0, + ARK_FILE_SELECTOR_MODE_FILE_OPEN_MULTIPLE_MODE = 1, + ARK_FILE_SELECTOR_MODE_FILE_OPEN_FOLDER_MODE = 2, + ARK_FILE_SELECTOR_MODE_FILE_SAVE_MODE = 3, +} Ark_FileSelectorMode; +typedef struct Opt_FileSelectorMode { + Ark_Tag tag; + Ark_FileSelectorMode value; +} Opt_FileSelectorMode; typedef enum Ark_FillMode { ARK_FILL_MODE_NONE = 0, ARK_FILL_MODE_FORWARDS = 1, @@ -4351,6 +4724,20 @@ typedef struct Opt_HitTestMode { Ark_Tag tag; Ark_HitTestMode value; } Opt_HitTestMode; +typedef enum Ark_HitTestType { + ARK_HIT_TEST_TYPE_EDIT_TEXT = 0, + ARK_HIT_TEST_TYPE_EMAIL = 1, + ARK_HIT_TEST_TYPE_HTTP_ANCHOR = 2, + ARK_HIT_TEST_TYPE_HTTP_ANCHOR_IMG = 3, + ARK_HIT_TEST_TYPE_IMG = 4, + ARK_HIT_TEST_TYPE_MAP = 5, + ARK_HIT_TEST_TYPE_PHONE = 6, + ARK_HIT_TEST_TYPE_UNKNOWN = 7, +} Ark_HitTestType; +typedef struct Opt_HitTestType { + Ark_Tag tag; + Ark_HitTestType value; +} Opt_HitTestType; typedef enum Ark_HorizontalAlign { ARK_HORIZONTAL_ALIGN_START = 0, ARK_HORIZONTAL_ALIGN_CENTER = 1, @@ -4639,15 +5026,6 @@ typedef struct Opt_LaunchMode { Ark_Tag tag; Ark_LaunchMode value; } Opt_LaunchMode; -typedef enum Ark_LayoutDirection { - ARK_LAYOUT_DIRECTION_LTR = 0, - ARK_LAYOUT_DIRECTION_RTL = 1, - ARK_LAYOUT_DIRECTION_AUTO = 2, -} Ark_LayoutDirection; -typedef struct Opt_LayoutDirection { - Ark_Tag tag; - Ark_LayoutDirection value; -} Opt_LayoutDirection; typedef enum Ark_LayoutMode { ARK_LAYOUT_MODE_AUTO = 0, ARK_LAYOUT_MODE_VERTICAL = 1, @@ -4848,6 +5226,26 @@ typedef struct Opt_MenuType { Ark_Tag tag; Ark_MenuType value; } Opt_MenuType; +typedef enum Ark_MessageLevel { + ARK_MESSAGE_LEVEL_DEBUG = 0, + ARK_MESSAGE_LEVEL_ERROR = 1, + ARK_MESSAGE_LEVEL_INFO = 2, + ARK_MESSAGE_LEVEL_LOG = 3, + ARK_MESSAGE_LEVEL_WARN = 4, +} Ark_MessageLevel; +typedef struct Opt_MessageLevel { + Ark_Tag tag; + Ark_MessageLevel value; +} Opt_MessageLevel; +typedef enum Ark_MixedMode { + ARK_MIXED_MODE_ALL = 0, + ARK_MIXED_MODE_COMPATIBLE = 1, + ARK_MIXED_MODE_NONE = 2, +} Ark_MixedMode; +typedef struct Opt_MixedMode { + Ark_Tag tag; + Ark_MixedMode value; +} Opt_MixedMode; typedef enum Ark_ModalTransition { ARK_MODAL_TRANSITION_DEFAULT = 0, ARK_MODAL_TRANSITION_NONE = 1, @@ -4889,6 +5287,17 @@ typedef struct Opt_MouseButton { Ark_Tag tag; Ark_MouseButton value; } Opt_MouseButton; +typedef enum Ark_NativeEmbedStatus { + ARK_NATIVE_EMBED_STATUS_CREATE = 0, + ARK_NATIVE_EMBED_STATUS_UPDATE = 1, + ARK_NATIVE_EMBED_STATUS_DESTROY = 2, + ARK_NATIVE_EMBED_STATUS_ENTER_BFCACHE = 3, + ARK_NATIVE_EMBED_STATUS_LEAVE_BFCACHE = 4, +} Ark_NativeEmbedStatus; +typedef struct Opt_NativeEmbedStatus { + Ark_Tag tag; + Ark_NativeEmbedStatus value; +} Opt_NativeEmbedStatus; typedef enum Ark_NavBarPosition { ARK_NAV_BAR_POSITION_START = 0, ARK_NAV_BAR_POSITION_END = 1, @@ -5001,6 +5410,14 @@ typedef struct Opt_OutlineStyle { Ark_Tag tag; Ark_OutlineStyle value; } Opt_OutlineStyle; +typedef enum Ark_OverScrollMode { + ARK_OVER_SCROLL_MODE_NEVER = 0, + ARK_OVER_SCROLL_MODE_ALWAYS = 1, +} Ark_OverScrollMode; +typedef struct Opt_OverScrollMode { + Ark_Tag tag; + Ark_OverScrollMode value; +} Opt_OverScrollMode; typedef enum Ark_PageFlipMode { ARK_PAGE_FLIP_MODE_CONTINUOUS = 0, ARK_PAGE_FLIP_MODE_SINGLE = 1, @@ -5250,6 +5667,16 @@ typedef struct Opt_ProgressType { Ark_Tag tag; Ark_ProgressType value; } Opt_ProgressType; +typedef enum Ark_ProtectedResourceType { + ARK_PROTECTED_RESOURCE_TYPE_MIDI_SYSEX, + ARK_PROTECTED_RESOURCE_TYPE_VIDEO_CAPTURE, + ARK_PROTECTED_RESOURCE_TYPE_AUDIO_CAPTURE, + ARK_PROTECTED_RESOURCE_TYPE_SENSOR, +} Ark_ProtectedResourceType; +typedef struct Opt_ProtectedResourceType { + Ark_Tag tag; + Ark_ProtectedResourceType value; +} Opt_ProtectedResourceType; typedef enum Ark_RadioIndicatorType { ARK_RADIO_INDICATOR_TYPE_TICK = 0, ARK_RADIO_INDICATOR_TYPE_DOT = 1, @@ -5278,6 +5705,17 @@ typedef struct Opt_RelateType { Ark_Tag tag; Ark_RelateType value; } Opt_RelateType; +typedef enum Ark_RenderExitReason { + ARK_RENDER_EXIT_REASON_PROCESS_ABNORMAL_TERMINATION = 0, + ARK_RENDER_EXIT_REASON_PROCESS_WAS_KILLED = 1, + ARK_RENDER_EXIT_REASON_PROCESS_CRASHED = 2, + ARK_RENDER_EXIT_REASON_PROCESS_OOM = 3, + ARK_RENDER_EXIT_REASON_PROCESS_EXIT_UNKNOWN = 4, +} Ark_RenderExitReason; +typedef struct Opt_RenderExitReason { + Ark_Tag tag; + Ark_RenderExitReason value; +} Opt_RenderExitReason; typedef enum Ark_RenderFit { ARK_RENDER_FIT_CENTER = 0, ARK_RENDER_FIT_TOP = 1, @@ -5300,6 +5738,22 @@ typedef struct Opt_RenderFit { Ark_Tag tag; Ark_RenderFit value; } Opt_RenderFit; +typedef enum Ark_RenderMode { + ARK_RENDER_MODE_ASYNC_RENDER = 0, + ARK_RENDER_MODE_SYNC_RENDER = 1, +} Ark_RenderMode; +typedef struct Opt_RenderMode { + Ark_Tag tag; + Ark_RenderMode value; +} Opt_RenderMode; +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_RepeatMode { ARK_REPEAT_MODE_REPEAT = 0, ARK_REPEAT_MODE_STRETCH = 1, @@ -5676,6 +6130,16 @@ typedef struct Opt_SourceType { Ark_Tag tag; Ark_SourceType value; } Opt_SourceType; +typedef enum Ark_SslError { + ARK_SSL_ERROR_INVALID = 0, + ARK_SSL_ERROR_HOST_MISMATCH = 1, + ARK_SSL_ERROR_DATE_INVALID = 2, + ARK_SSL_ERROR_UNTRUSTED = 3, +} Ark_SslError; +typedef struct Opt_SslError { + Ark_Tag tag; + Ark_SslError value; +} Opt_SslError; typedef enum Ark_StickyStyle { ARK_STICKY_STYLE_NONE = 0, ARK_STICKY_STYLE_HEADER = 1, @@ -6117,6 +6581,16 @@ typedef struct Opt_ThemeColorMode { Ark_Tag tag; Ark_ThemeColorMode value; } Opt_ThemeColorMode; +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_TimePickerFormat { ARK_TIME_PICKER_FORMAT_HOUR_MINUTE = 0, ARK_TIME_PICKER_FORMAT_HOUR_MINUTE_SECOND = 1, @@ -6142,6 +6616,14 @@ typedef struct Opt_ToggleType { Ark_Tag tag; Ark_ToggleType value; } Opt_ToggleType; +typedef enum Ark_ToolBarItemPlacement { + ARK_TOOL_BAR_ITEM_PLACEMENT_TOP_BAR_LEADING = 0, + ARK_TOOL_BAR_ITEM_PLACEMENT_TOP_BAR_TRAILING = 1, +} Ark_ToolBarItemPlacement; +typedef struct Opt_ToolBarItemPlacement { + Ark_Tag tag; + Ark_ToolBarItemPlacement value; +} Opt_ToolBarItemPlacement; typedef enum Ark_ToolbarItemStatus { ARK_TOOLBAR_ITEM_STATUS_NORMAL = 0, ARK_TOOLBAR_ITEM_STATUS_DISABLED = 1, @@ -6429,6 +6911,15 @@ typedef struct Opt_VerticalAlign { Ark_Tag tag; Ark_VerticalAlign value; } Opt_VerticalAlign; +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_Visibility { ARK_VISIBILITY_VISIBLE = 0, ARK_VISIBILITY_HIDDEN = 1, @@ -6446,6 +6937,64 @@ typedef struct Opt_WaterFlowLayoutMode { Ark_Tag tag; Ark_WaterFlowLayoutMode value; } Opt_WaterFlowLayoutMode; +typedef enum Ark_WebCaptureMode { + ARK_WEB_CAPTURE_MODE_HOME_SCREEN = 0, +} Ark_WebCaptureMode; +typedef struct Opt_WebCaptureMode { + Ark_Tag tag; + Ark_WebCaptureMode value; +} Opt_WebCaptureMode; +typedef enum Ark_WebDarkMode { + ARK_WEB_DARK_MODE_OFF = 0, + ARK_WEB_DARK_MODE_ON = 1, + ARK_WEB_DARK_MODE_AUTO = 2, +} Ark_WebDarkMode; +typedef struct Opt_WebDarkMode { + Ark_Tag tag; + Ark_WebDarkMode value; +} Opt_WebDarkMode; +typedef enum Ark_WebElementType { + ARK_WEB_ELEMENT_TYPE_IMAGE = 1, +} Ark_WebElementType; +typedef struct Opt_WebElementType { + Ark_Tag tag; + Ark_WebElementType value; +} Opt_WebElementType; +typedef enum Ark_WebKeyboardAvoidMode { + ARK_WEB_KEYBOARD_AVOID_MODE_RESIZE_VISUAL = 0, + ARK_WEB_KEYBOARD_AVOID_MODE_RESIZE_CONTENT = 1, + ARK_WEB_KEYBOARD_AVOID_MODE_OVERLAYS_CONTENT = 2, +} Ark_WebKeyboardAvoidMode; +typedef struct Opt_WebKeyboardAvoidMode { + Ark_Tag tag; + Ark_WebKeyboardAvoidMode value; +} Opt_WebKeyboardAvoidMode; +typedef enum Ark_WebLayoutMode { + ARK_WEB_LAYOUT_MODE_NONE = 0, + ARK_WEB_LAYOUT_MODE_FIT_CONTENT = 1, +} Ark_WebLayoutMode; +typedef struct Opt_WebLayoutMode { + Ark_Tag tag; + Ark_WebLayoutMode value; +} Opt_WebLayoutMode; +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_WebResponseType { + ARK_WEB_RESPONSE_TYPE_LONG_PRESS = 1, +} Ark_WebResponseType; +typedef struct Opt_WebResponseType { + Ark_Tag tag; + Ark_WebResponseType value; +} Opt_WebResponseType; typedef enum Ark_Week { ARK_WEEK_MON = 0, ARK_WEEK_TUE = 1, @@ -6540,14 +7089,6 @@ typedef struct Opt_BaseContext { Ark_Tag tag; Ark_BaseContext value; } Opt_BaseContext; -typedef struct Opt_BaseCustomComponent { - Ark_Tag tag; - Ark_BaseCustomComponent value; -} Opt_BaseCustomComponent; -typedef struct Opt_BaseCustomDialog { - Ark_Tag tag; - Ark_BaseCustomDialog value; -} Opt_BaseCustomDialog; typedef struct Opt_BaseShape { Ark_Tag tag; Ark_BaseShape value; @@ -6580,18 +7121,14 @@ typedef struct Opt_CanvasPattern { Ark_Tag tag; Ark_CanvasPattern value; } Opt_CanvasPattern; -typedef struct Ark_CircleOptions { - /* kind: Interface */ - void *handle; -} Ark_CircleOptions; -typedef struct Opt_CircleOptions { - Ark_Tag tag; - Ark_CircleOptions value; -} Opt_CircleOptions; typedef struct Opt_CircleShape { Ark_Tag tag; Ark_CircleShape value; } Opt_CircleShape; +typedef struct Opt_ClientAuthenticationHandler { + Ark_Tag tag; + Ark_ClientAuthenticationHandler value; +} Opt_ClientAuthenticationHandler; typedef struct Opt_ColorContent { Ark_Tag tag; Ark_ColorContent value; @@ -6612,10 +7149,18 @@ typedef struct Opt_ComponentContent { Ark_Tag tag; Ark_ComponentContent value; } Opt_ComponentContent; +typedef struct Opt_ConsoleMessage { + Ark_Tag tag; + Ark_ConsoleMessage value; +} Opt_ConsoleMessage; typedef struct Opt_Context { Ark_Tag tag; Ark_Context value; } Opt_Context; +typedef struct Opt_ControllerHandler { + Ark_Tag tag; + Ark_ControllerHandler value; +} Opt_ControllerHandler; typedef struct Ark_CornerRadius { /* kind: Interface */ void *handle; @@ -6628,10 +7173,6 @@ typedef struct Opt_curves_ICurve { Ark_Tag tag; Ark_curves_ICurve value; } Opt_curves_ICurve; -typedef struct Opt_CustomComponentV2 { - Ark_Tag tag; - Ark_CustomComponentV2 value; -} Opt_CustomComponentV2; typedef struct Opt_CustomDialogController { Ark_Tag tag; Ark_CustomDialogController value; @@ -6640,6 +7181,10 @@ typedef struct Opt_CustomObject { Ark_Tag tag; Ark_CustomObject value; } Opt_CustomObject; +typedef struct Opt_DataResubmissionHandler { + Ark_Tag tag; + Ark_DataResubmissionHandler value; +} Opt_DataResubmissionHandler; typedef struct Opt_Date { Ark_Tag tag; Ark_Date value; @@ -6728,18 +7273,14 @@ typedef struct Opt_drawing_Typeface { Ark_Tag tag; Ark_drawing_Typeface value; } Opt_drawing_Typeface; -typedef struct Ark_EllipseOptions { - /* kind: Interface */ - void *handle; -} Ark_EllipseOptions; -typedef struct Opt_EllipseOptions { - Ark_Tag tag; - Ark_EllipseOptions value; -} Opt_EllipseOptions; typedef struct Opt_EllipseShape { Ark_Tag tag; Ark_EllipseShape value; } Opt_EllipseShape; +typedef struct Opt_EventResult { + Ark_Tag tag; + Ark_EventResult value; +} Opt_EventResult; typedef struct Opt_EventTargetInfo { Ark_Tag tag; Ark_EventTargetInfo value; @@ -6748,6 +7289,14 @@ typedef struct Opt_ExtendableComponent { Ark_Tag tag; Ark_ExtendableComponent value; } Opt_ExtendableComponent; +typedef struct Opt_FileSelectorParam { + Ark_Tag tag; + Ark_FileSelectorParam value; +} Opt_FileSelectorParam; +typedef struct Opt_FileSelectorResult { + Ark_Tag tag; + Ark_FileSelectorResult value; +} Opt_FileSelectorResult; typedef struct Opt_Float32 { Ark_Tag tag; Ark_Float32 value; @@ -6773,6 +7322,10 @@ typedef struct Opt_FrictionMotion { Ark_Tag tag; Ark_FrictionMotion value; } Opt_FrictionMotion; +typedef struct Opt_FullScreenExitHandler { + Ark_Tag tag; + Ark_FullScreenExitHandler value; +} Opt_FullScreenExitHandler; typedef struct Ark_FullscreenInfo { /* kind: Interface */ Ark_Boolean fullscreen; @@ -6813,6 +7366,10 @@ typedef struct Opt_GestureType { Ark_Tag tag; Ark_GestureType value; } Opt_GestureType; +typedef struct Opt_HttpAuthHandler { + Ark_Tag tag; + Ark_HttpAuthHandler value; +} Opt_HttpAuthHandler; typedef struct Opt_image_PixelMap { Ark_Tag tag; Ark_image_PixelMap value; @@ -6829,10 +7386,14 @@ typedef struct Opt_Int64 { Ark_Tag tag; Ark_Int64 value; } Opt_Int64; -typedef struct Opt_LayoutCallback { +typedef struct Opt_JsGeolocation { + Ark_Tag tag; + Ark_JsGeolocation value; +} Opt_JsGeolocation; +typedef struct Opt_JsResult { Ark_Tag tag; - Ark_LayoutCallback value; -} Opt_LayoutCallback; + Ark_JsResult value; +} Opt_JsResult; typedef struct Opt_LayoutManager { Ark_Tag tag; Ark_LayoutManager value; @@ -6857,14 +7418,6 @@ typedef struct Opt_LinearIndicatorController { Ark_Tag tag; Ark_LinearIndicatorController value; } Opt_LinearIndicatorController; -typedef struct Ark_LineOptions { - /* kind: Interface */ - void *handle; -} Ark_LineOptions; -typedef struct Opt_LineOptions { - Ark_Tag tag; - Ark_LineOptions value; -} Opt_LineOptions; typedef struct Opt_ListScroller { Ark_Tag tag; Ark_ListScroller value; @@ -6879,10 +7432,6 @@ typedef struct Opt_LoadingProgressConfiguration { Ark_Tag tag; Ark_LoadingProgressConfiguration value; } Opt_LoadingProgressConfiguration; -typedef struct Opt_LocalStorage { - Ark_Tag tag; - Ark_LocalStorage value; -} Opt_LocalStorage; typedef struct Opt_LongPressGestureInterface { Ark_Tag tag; Ark_LongPressGestureInterface value; @@ -6895,6 +7444,15 @@ typedef struct Opt_matrix4_Matrix4Transit { Ark_Tag tag; Ark_matrix4_Matrix4Transit value; } Opt_matrix4_Matrix4Transit; +typedef struct Ark_NativeMediaPlayerConfig { + /* kind: Interface */ + Ark_Boolean enable; + Ark_Boolean shouldOverlay; +} Ark_NativeMediaPlayerConfig; +typedef struct Opt_NativeMediaPlayerConfig { + Ark_Tag tag; + Ark_NativeMediaPlayerConfig value; +} Opt_NativeMediaPlayerConfig; typedef struct Opt_NativePointer { Ark_Tag tag; Ark_NativePointer value; @@ -6954,6 +7512,47 @@ typedef struct Opt_OffsetResult { Ark_Tag tag; Ark_OffsetResult value; } Opt_OffsetResult; +typedef struct Ark_OnAudioStateChangedEvent { + /* kind: Interface */ + Ark_Boolean playing; +} Ark_OnAudioStateChangedEvent; +typedef struct Opt_OnAudioStateChangedEvent { + Ark_Tag tag; + Ark_OnAudioStateChangedEvent value; +} Opt_OnAudioStateChangedEvent; +typedef struct Ark_OnConsoleEvent { + /* kind: Interface */ + Ark_ConsoleMessage message; +} Ark_OnConsoleEvent; +typedef struct Opt_OnConsoleEvent { + Ark_Tag tag; + Ark_OnConsoleEvent value; +} Opt_OnConsoleEvent; +typedef struct Ark_OnDataResubmittedEvent { + /* kind: Interface */ + Ark_DataResubmissionHandler handler; +} Ark_OnDataResubmittedEvent; +typedef struct Opt_OnDataResubmittedEvent { + Ark_Tag tag; + Ark_OnDataResubmittedEvent value; +} Opt_OnDataResubmittedEvent; +typedef struct Ark_OnFaviconReceivedEvent { + /* kind: Interface */ + Ark_image_PixelMap favicon; +} Ark_OnFaviconReceivedEvent; +typedef struct Opt_OnFaviconReceivedEvent { + Ark_Tag tag; + Ark_OnFaviconReceivedEvent value; +} Opt_OnFaviconReceivedEvent; +typedef struct Ark_OnFirstContentfulPaintEvent { + /* kind: Interface */ + Ark_Int64 navigationStartTick; + Ark_Int64 firstContentfulPaintMs; +} Ark_OnFirstContentfulPaintEvent; +typedef struct Opt_OnFirstContentfulPaintEvent { + Ark_Tag tag; + Ark_OnFirstContentfulPaintEvent value; +} Opt_OnFirstContentfulPaintEvent; typedef struct Ark_OnFoldStatusChangeInfo { /* kind: Interface */ Ark_FoldStatus foldStatus; @@ -6962,6 +7561,41 @@ typedef struct Opt_OnFoldStatusChangeInfo { Ark_Tag tag; Ark_OnFoldStatusChangeInfo value; } Opt_OnFoldStatusChangeInfo; +typedef struct Ark_OnOverScrollEvent { + /* kind: Interface */ + Ark_Float64 xOffset; + Ark_Float64 yOffset; +} Ark_OnOverScrollEvent; +typedef struct Opt_OnOverScrollEvent { + Ark_Tag tag; + Ark_OnOverScrollEvent value; +} Opt_OnOverScrollEvent; +typedef struct Ark_OnProgressChangeEvent { + /* kind: Interface */ + Ark_Int32 newProgress; +} Ark_OnProgressChangeEvent; +typedef struct Opt_OnProgressChangeEvent { + Ark_Tag tag; + Ark_OnProgressChangeEvent value; +} Opt_OnProgressChangeEvent; +typedef struct Ark_OnScaleChangeEvent { + /* kind: Interface */ + Ark_Float64 oldScale; + Ark_Float64 newScale; +} Ark_OnScaleChangeEvent; +typedef struct Opt_OnScaleChangeEvent { + Ark_Tag tag; + Ark_OnScaleChangeEvent value; +} Opt_OnScaleChangeEvent; +typedef struct Ark_OnScrollEvent { + /* kind: Interface */ + Ark_Float64 xOffset; + Ark_Float64 yOffset; +} Ark_OnScrollEvent; +typedef struct Opt_OnScrollEvent { + Ark_Tag tag; + Ark_OnScrollEvent value; +} Opt_OnScrollEvent; typedef struct Ark_OnScrollFrameBeginHandlerResult { /* kind: Interface */ Ark_Number offsetRemain; @@ -6970,10 +7604,25 @@ typedef struct Opt_OnScrollFrameBeginHandlerResult { Ark_Tag tag; Ark_OnScrollFrameBeginHandlerResult value; } Opt_OnScrollFrameBeginHandlerResult; -typedef struct Opt_PageLifeCycle { +typedef struct Ark_OnSearchResultReceiveEvent { + /* kind: Interface */ + Ark_Number activeMatchOrdinal; + Ark_Number numberOfMatches; + Ark_Boolean isDoneCounting; +} Ark_OnSearchResultReceiveEvent; +typedef struct Opt_OnSearchResultReceiveEvent { + Ark_Tag tag; + Ark_OnSearchResultReceiveEvent value; +} Opt_OnSearchResultReceiveEvent; +typedef struct Ark_OnShowFileSelectorEvent { + /* kind: Interface */ + Ark_FileSelectorResult result; + Ark_FileSelectorParam fileSelector; +} Ark_OnShowFileSelectorEvent; +typedef struct Opt_OnShowFileSelectorEvent { Ark_Tag tag; - Ark_PageLifeCycle value; -} Opt_PageLifeCycle; + Ark_OnShowFileSelectorEvent value; +} Opt_OnShowFileSelectorEvent; typedef struct Opt_PanGestureInterface { Ark_Tag tag; Ark_PanGestureInterface value; @@ -6990,14 +7639,6 @@ typedef struct Opt_Path2D { Ark_Tag tag; Ark_Path2D value; } Opt_Path2D; -typedef struct Ark_PathOptions { - /* kind: Interface */ - void *handle; -} Ark_PathOptions; -typedef struct Opt_PathOptions { - Ark_Tag tag; - Ark_PathOptions value; -} Opt_PathOptions; typedef struct Opt_PathShape { Ark_Tag tag; Ark_PathShape value; @@ -7006,6 +7647,10 @@ typedef struct Opt_PatternLockController { Ark_Tag tag; Ark_PatternLockController value; } Opt_PatternLockController; +typedef struct Opt_PermissionRequest { + Ark_Tag tag; + Ark_PermissionRequest value; +} Opt_PermissionRequest; typedef struct Opt_PinchGestureInterface { Ark_Tag tag; Ark_PinchGestureInterface value; @@ -7020,28 +7665,12 @@ typedef struct Opt_PixelMapMock { } Opt_PixelMapMock; typedef struct Ark_PlaybackInfo { /* kind: Interface */ - Ark_Number time; + Ark_Int32 time; } Ark_PlaybackInfo; typedef struct Opt_PlaybackInfo { Ark_Tag tag; Ark_PlaybackInfo value; } Opt_PlaybackInfo; -typedef struct Ark_PolygonOptions { - /* kind: Interface */ - void *handle; -} Ark_PolygonOptions; -typedef struct Opt_PolygonOptions { - Ark_Tag tag; - Ark_PolygonOptions value; -} Opt_PolygonOptions; -typedef struct Ark_PolylineOptions { - /* kind: Interface */ - void *handle; -} Ark_PolylineOptions; -typedef struct Opt_PolylineOptions { - Ark_Tag tag; - Ark_PolylineOptions value; -} Opt_PolylineOptions; typedef struct Ark_PopupStateChangeParam { /* kind: Interface */ Ark_Boolean isVisible; @@ -7060,7 +7689,7 @@ typedef struct Opt_PositionWithAffinity { } Opt_PositionWithAffinity; typedef struct Ark_PreparedInfo { /* kind: Interface */ - Ark_Number duration; + Ark_Int32 duration; } Ark_PreparedInfo; typedef struct Opt_PreparedInfo { Ark_Tag tag; @@ -7085,6 +7714,10 @@ typedef struct Opt_PromptAction { Ark_Tag tag; Ark_PromptAction value; } Opt_PromptAction; +typedef struct Opt_PulseSymbolEffect { + Ark_Tag tag; + Ark_PulseSymbolEffect value; +} Opt_PulseSymbolEffect; typedef struct Ark_RectResult { /* kind: Interface */ Ark_Number x; @@ -7157,14 +7790,6 @@ typedef struct Opt_RotationRecognizer { Ark_Tag tag; Ark_RotationRecognizer value; } Opt_RotationRecognizer; -typedef struct Ark_RoundedRectOptions { - /* kind: Interface */ - void *handle; -} Ark_RoundedRectOptions; -typedef struct Opt_RoundedRectOptions { - Ark_Tag tag; - Ark_RoundedRectOptions value; -} Opt_RoundedRectOptions; typedef struct Ark_RowOptionsV2 { /* kind: Interface */ Ark_Int32 _stub; @@ -7201,6 +7826,10 @@ typedef struct Opt_Scene { Ark_Tag tag; Ark_Scene value; } Opt_Scene; +typedef struct Opt_ScreenCaptureHandler { + Ark_Tag tag; + Ark_ScreenCaptureHandler value; +} Opt_ScreenCaptureHandler; typedef struct Opt_ScrollableTargetInfo { Ark_Tag tag; Ark_ScrollableTargetInfo value; @@ -7255,6 +7884,10 @@ typedef struct Opt_SpringProp { Ark_Tag tag; Ark_SpringProp value; } Opt_SpringProp; +typedef struct Opt_SslErrorHandler { + Ark_Tag tag; + Ark_SslErrorHandler value; +} Opt_SslErrorHandler; typedef struct Opt_String { Ark_Tag tag; Ark_String value; @@ -7752,6 +8385,31 @@ typedef struct Opt_Union_Curve_String_ICurve { Ark_Tag tag; Ark_Union_Curve_String_ICurve value; } Opt_Union_Curve_String_ICurve; +typedef struct Ark_Union_F64_String { + /* kind: UnionType */ + Ark_Int32 selector; + union { + Ark_Float64 value0; + Ark_String value1; + }; +} Ark_Union_F64_String; +typedef struct Opt_Union_F64_String { + Ark_Tag tag; + Ark_Union_F64_String value; +} Opt_Union_F64_String; +typedef struct Ark_Union_F64_String_PlaybackSpeed { + /* kind: UnionType */ + Ark_Int32 selector; + union { + Ark_Float64 value0; + Ark_String value1; + Ark_PlaybackSpeed value2; + }; +} Ark_Union_F64_String_PlaybackSpeed; +typedef struct Opt_Union_F64_String_PlaybackSpeed { + Ark_Tag tag; + Ark_Union_F64_String_PlaybackSpeed value; +} Opt_Union_F64_String_PlaybackSpeed; typedef struct Ark_Union_FontWeight_Number_String { /* kind: UnionType */ Ark_Int32 selector; @@ -7827,19 +8485,6 @@ typedef struct Opt_Union_Number_String_FontWeight { Ark_Tag tag; Ark_Union_Number_String_FontWeight value; } Opt_Union_Number_String_FontWeight; -typedef struct Ark_Union_Number_String_PlaybackSpeed { - /* kind: UnionType */ - Ark_Int32 selector; - union { - Ark_Number value0; - Ark_String value1; - Ark_PlaybackSpeed value2; - }; -} Ark_Union_Number_String_PlaybackSpeed; -typedef struct Opt_Union_Number_String_PlaybackSpeed { - Ark_Tag tag; - Ark_Union_Number_String_PlaybackSpeed value; -} Opt_Union_Number_String_PlaybackSpeed; typedef struct Ark_Union_Number_TextCase { /* kind: UnionType */ Ark_Int32 selector; @@ -7888,6 +8533,18 @@ typedef struct Opt_Union_ResponseType_RichEditorResponseType { Ark_Tag tag; Ark_Union_ResponseType_RichEditorResponseType value; } Opt_Union_ResponseType_RichEditorResponseType; +typedef struct Ark_Union_RichEditorOptions_RichEditorStyledStringOptions { + /* kind: UnionType */ + Ark_Int32 selector; + union { + Ark_RichEditorOptions value0; + Ark_RichEditorStyledStringOptions value1; + }; +} Ark_Union_RichEditorOptions_RichEditorStyledStringOptions; +typedef struct Opt_Union_RichEditorOptions_RichEditorStyledStringOptions { + Ark_Tag tag; + Ark_Union_RichEditorOptions_RichEditorStyledStringOptions value; +} Opt_Union_RichEditorOptions_RichEditorStyledStringOptions; typedef struct Ark_Union_SpringMotion_FrictionMotion_ScrollMotion { /* kind: UnionType */ Ark_Int32 selector; @@ -7901,6 +8558,18 @@ typedef struct Opt_Union_SpringMotion_FrictionMotion_ScrollMotion { Ark_Tag tag; Ark_Union_SpringMotion_FrictionMotion_ScrollMotion value; } Opt_Union_SpringMotion_FrictionMotion_ScrollMotion; +typedef struct Ark_Union_String_F64 { + /* kind: UnionType */ + Ark_Int32 selector; + union { + Ark_String value0; + Ark_Float64 value1; + }; +} Ark_Union_String_F64; +typedef struct Opt_Union_String_F64 { + Ark_Tag tag; + Ark_Union_String_F64 value; +} Opt_Union_String_F64; typedef struct Ark_Union_String_FunctionKey { /* kind: UnionType */ Ark_Int32 selector; @@ -7913,32 +8582,32 @@ typedef struct Opt_Union_String_FunctionKey { Ark_Tag tag; Ark_Union_String_FunctionKey value; } Opt_Union_String_FunctionKey; -typedef struct Ark_Union_String_Number { +typedef struct Ark_Union_String_I32_CanvasGradient_CanvasPattern { /* kind: UnionType */ Ark_Int32 selector; union { Ark_String value0; - Ark_Number value1; + Ark_Int32 value1; + Ark_CanvasGradient value2; + Ark_CanvasPattern value3; }; -} Ark_Union_String_Number; -typedef struct Opt_Union_String_Number { +} Ark_Union_String_I32_CanvasGradient_CanvasPattern; +typedef struct Opt_Union_String_I32_CanvasGradient_CanvasPattern { Ark_Tag tag; - Ark_Union_String_Number value; -} Opt_Union_String_Number; -typedef struct Ark_Union_String_Number_CanvasGradient_CanvasPattern { + Ark_Union_String_I32_CanvasGradient_CanvasPattern value; +} Opt_Union_String_I32_CanvasGradient_CanvasPattern; +typedef struct Ark_Union_String_Number { /* kind: UnionType */ Ark_Int32 selector; union { Ark_String value0; Ark_Number value1; - Ark_CanvasGradient value2; - Ark_CanvasPattern value3; }; -} Ark_Union_String_Number_CanvasGradient_CanvasPattern; -typedef struct Opt_Union_String_Number_CanvasGradient_CanvasPattern { +} Ark_Union_String_Number; +typedef struct Opt_Union_String_Number { Ark_Tag tag; - Ark_Union_String_Number_CanvasGradient_CanvasPattern value; -} Opt_Union_String_Number_CanvasGradient_CanvasPattern; + Ark_Union_String_Number value; +} Opt_Union_String_Number; typedef struct Ark_Union_SwiperAnimationMode_Boolean { /* kind: UnionType */ Ark_Int32 selector; @@ -8010,10 +8679,47 @@ typedef struct Opt_WaterFlowSections { Ark_Tag tag; Ark_WaterFlowSections value; } Opt_WaterFlowSections; +typedef struct Opt_WebContextMenuParam { + Ark_Tag tag; + Ark_WebContextMenuParam value; +} Opt_WebContextMenuParam; +typedef struct Opt_WebContextMenuResult { + Ark_Tag tag; + Ark_WebContextMenuResult value; +} Opt_WebContextMenuResult; typedef struct Opt_WebCookie { Ark_Tag tag; Ark_WebCookie value; } Opt_WebCookie; +typedef struct Opt_WebKeyboardController { + Ark_Tag tag; + Ark_WebKeyboardController value; +} Opt_WebKeyboardController; +typedef struct Opt_WebResourceError { + Ark_Tag tag; + Ark_WebResourceError value; +} Opt_WebResourceError; +typedef struct Opt_WebResourceRequest { + Ark_Tag tag; + Ark_WebResourceRequest value; +} Opt_WebResourceRequest; +typedef struct Opt_WebResourceResponse { + Ark_Tag tag; + Ark_WebResourceResponse value; +} Opt_WebResourceResponse; +typedef struct Ark_webview_WebHeader { + /* kind: Interface */ + Ark_String headerKey; + Ark_String headerValue; +} Ark_webview_WebHeader; +typedef struct Opt_webview_WebHeader { + Ark_Tag tag; + Ark_webview_WebHeader value; +} Opt_webview_WebHeader; +typedef struct Opt_webview_WebviewController { + Ark_Tag tag; + Ark_webview_WebviewController value; +} Opt_webview_WebviewController; typedef struct Ark_WindowAnimationTarget { /* kind: Interface */ Ark_String bundleName; @@ -8025,14 +8731,6 @@ typedef struct Opt_WindowAnimationTarget { Ark_Tag tag; Ark_WindowAnimationTarget value; } Opt_WindowAnimationTarget; -typedef struct Ark_WorkerEventListener { - /* kind: Interface */ - void *handle; -} Ark_WorkerEventListener; -typedef struct Opt_WorkerEventListener { - Ark_Tag tag; - Ark_WorkerEventListener value; -} Opt_WorkerEventListener; typedef struct Array_Array_String { /* kind: ContainerType */ Array_String* array; @@ -8150,6 +8848,15 @@ typedef struct Opt_Array_FingerInfo { Ark_Tag tag; Array_FingerInfo value; } Opt_Array_FingerInfo; +typedef struct Array_Float64 { + /* kind: ContainerType */ + Ark_Float64* array; + Ark_Int32 length; +} Array_Float64; +typedef struct Opt_Array_Float64 { + Ark_Tag tag; + Array_Float64 value; +} Opt_Array_Float64; typedef struct Array_FractionStop { /* kind: ContainerType */ Ark_FractionStop* array; @@ -8186,6 +8893,15 @@ typedef struct Opt_Array_GuideLineStyle { Ark_Tag tag; Array_GuideLineStyle value; } Opt_Array_GuideLineStyle; +typedef struct Array_Header { + /* kind: ContainerType */ + Ark_Header* array; + Ark_Int32 length; +} Array_Header; +typedef struct Opt_Array_Header { + Ark_Tag tag; + Array_Header value; +} Opt_Array_Header; typedef struct Array_HistoricalPoint { /* kind: ContainerType */ Ark_HistoricalPoint* array; @@ -8456,6 +9172,15 @@ typedef struct Opt_Array_SafeAreaType { Ark_Tag tag; Array_SafeAreaType value; } Opt_Array_SafeAreaType; +typedef struct Array_ScriptItem { + /* kind: ContainerType */ + Ark_ScriptItem* array; + Ark_Int32 length; +} Array_ScriptItem; +typedef struct Opt_Array_ScriptItem { + Ark_Tag tag; + Array_ScriptItem value; +} Opt_Array_ScriptItem; typedef struct Array_Scroller { /* kind: ContainerType */ Ark_Scroller* array; @@ -8735,6 +9460,24 @@ typedef struct Opt_Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResul Ark_Tag tag; Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult value; } Opt_Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult; +typedef struct Array_Union_String_I32_I64_F64_Resource { + /* kind: ContainerType */ + Ark_Union_String_I32_I64_F64_Resource* array; + Ark_Int32 length; +} Array_Union_String_I32_I64_F64_Resource; +typedef struct Opt_Array_Union_String_I32_I64_F64_Resource { + Ark_Tag tag; + Array_Union_String_I32_I64_F64_Resource value; +} Opt_Array_Union_String_I32_I64_F64_Resource; +typedef struct Array_webview_WebHeader { + /* kind: ContainerType */ + Ark_webview_WebHeader* array; + Ark_Int32 length; +} Array_webview_WebHeader; +typedef struct Opt_Array_webview_WebHeader { + Ark_Tag tag; + Array_webview_WebHeader value; +} Opt_Array_webview_WebHeader; typedef struct AsyncCallback_image_PixelMap_Void { /* kind: Callback */ Ark_CallbackResource resource; @@ -9285,16 +10028,16 @@ typedef struct Opt_Callback_KeyEvent_Void { Ark_Tag tag; Callback_KeyEvent_Void value; } Opt_Callback_KeyEvent_Void; -typedef struct Callback_Map_String_Object_Void { +typedef struct Callback_Map_String_RecordData_Void { /* kind: Callback */ Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Map_String_Object value0); - void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Map_String_Object value0); -} Callback_Map_String_Object_Void; -typedef struct Opt_Callback_Map_String_Object_Void { + void (*call)(const Ark_Int32 resourceId, const Map_String_Opt_Object value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Map_String_Opt_Object value0); +} Callback_Map_String_RecordData_Void; +typedef struct Opt_Callback_Map_String_RecordData_Void { Ark_Tag tag; - Callback_Map_String_Object_Void value; -} Opt_Callback_Map_String_Object_Void; + Callback_Map_String_RecordData_Void value; +} Opt_Callback_Map_String_RecordData_Void; typedef struct Callback_MarqueeState_Void { /* kind: Callback */ Ark_CallbackResource resource; @@ -9315,6 +10058,36 @@ typedef struct Opt_Callback_MouseEvent_Void { Ark_Tag tag; Callback_MouseEvent_Void value; } Opt_Callback_MouseEvent_Void; +typedef struct Callback_NativeEmbedDataInfo_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_NativeEmbedDataInfo event); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativeEmbedDataInfo event); +} Callback_NativeEmbedDataInfo_Void; +typedef struct Opt_Callback_NativeEmbedDataInfo_Void { + Ark_Tag tag; + Callback_NativeEmbedDataInfo_Void value; +} Opt_Callback_NativeEmbedDataInfo_Void; +typedef struct Callback_NativeEmbedTouchInfo_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_NativeEmbedTouchInfo event); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativeEmbedTouchInfo event); +} Callback_NativeEmbedTouchInfo_Void; +typedef struct Opt_Callback_NativeEmbedTouchInfo_Void { + Ark_Tag tag; + Callback_NativeEmbedTouchInfo_Void value; +} Opt_Callback_NativeEmbedTouchInfo_Void; +typedef struct Callback_NativeXComponentPointer_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Int64 value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Int64 value0); +} Callback_NativeXComponentPointer_Void; +typedef struct Opt_Callback_NativeXComponentPointer_Void { + Ark_Tag tag; + Callback_NativeXComponentPointer_Void value; +} Opt_Callback_NativeXComponentPointer_Void; typedef struct Callback_NavDestinationActiveReason_Void { /* kind: Callback */ Ark_CallbackResource resource; @@ -9455,6 +10228,176 @@ typedef struct Opt_Callback_Object_Void { Ark_Tag tag; Callback_Object_Void value; } Opt_Callback_Object_Void; +typedef struct Callback_OnAlertEvent_Boolean { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnAlertEvent value0, const Callback_Boolean_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnAlertEvent value0, const Callback_Boolean_Void continuation); +} Callback_OnAlertEvent_Boolean; +typedef struct Opt_Callback_OnAlertEvent_Boolean { + Ark_Tag tag; + Callback_OnAlertEvent_Boolean value; +} Opt_Callback_OnAlertEvent_Boolean; +typedef struct Callback_OnAudioStateChangedEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnAudioStateChangedEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnAudioStateChangedEvent value0); +} Callback_OnAudioStateChangedEvent_Void; +typedef struct Opt_Callback_OnAudioStateChangedEvent_Void { + Ark_Tag tag; + Callback_OnAudioStateChangedEvent_Void value; +} Opt_Callback_OnAudioStateChangedEvent_Void; +typedef struct Callback_OnBeforeUnloadEvent_Boolean { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnBeforeUnloadEvent value0, const Callback_Boolean_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnBeforeUnloadEvent value0, const Callback_Boolean_Void continuation); +} Callback_OnBeforeUnloadEvent_Boolean; +typedef struct Opt_Callback_OnBeforeUnloadEvent_Boolean { + Ark_Tag tag; + Callback_OnBeforeUnloadEvent_Boolean value; +} Opt_Callback_OnBeforeUnloadEvent_Boolean; +typedef struct Callback_OnClientAuthenticationEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnClientAuthenticationEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnClientAuthenticationEvent value0); +} Callback_OnClientAuthenticationEvent_Void; +typedef struct Opt_Callback_OnClientAuthenticationEvent_Void { + Ark_Tag tag; + Callback_OnClientAuthenticationEvent_Void value; +} Opt_Callback_OnClientAuthenticationEvent_Void; +typedef struct Callback_OnConfirmEvent_Boolean { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnConfirmEvent value0, const Callback_Boolean_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnConfirmEvent value0, const Callback_Boolean_Void continuation); +} Callback_OnConfirmEvent_Boolean; +typedef struct Opt_Callback_OnConfirmEvent_Boolean { + Ark_Tag tag; + Callback_OnConfirmEvent_Boolean value; +} Opt_Callback_OnConfirmEvent_Boolean; +typedef struct Callback_OnConsoleEvent_Boolean { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnConsoleEvent value0, const Callback_Boolean_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnConsoleEvent value0, const Callback_Boolean_Void continuation); +} Callback_OnConsoleEvent_Boolean; +typedef struct Opt_Callback_OnConsoleEvent_Boolean { + Ark_Tag tag; + Callback_OnConsoleEvent_Boolean value; +} Opt_Callback_OnConsoleEvent_Boolean; +typedef struct Callback_OnContextMenuShowEvent_Boolean { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnContextMenuShowEvent value0, const Callback_Boolean_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnContextMenuShowEvent value0, const Callback_Boolean_Void continuation); +} Callback_OnContextMenuShowEvent_Boolean; +typedef struct Opt_Callback_OnContextMenuShowEvent_Boolean { + Ark_Tag tag; + Callback_OnContextMenuShowEvent_Boolean value; +} Opt_Callback_OnContextMenuShowEvent_Boolean; +typedef struct Callback_OnDataResubmittedEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnDataResubmittedEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnDataResubmittedEvent value0); +} Callback_OnDataResubmittedEvent_Void; +typedef struct Opt_Callback_OnDataResubmittedEvent_Void { + Ark_Tag tag; + Callback_OnDataResubmittedEvent_Void value; +} Opt_Callback_OnDataResubmittedEvent_Void; +typedef struct Callback_OnDownloadStartEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnDownloadStartEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnDownloadStartEvent value0); +} Callback_OnDownloadStartEvent_Void; +typedef struct Opt_Callback_OnDownloadStartEvent_Void { + Ark_Tag tag; + Callback_OnDownloadStartEvent_Void value; +} Opt_Callback_OnDownloadStartEvent_Void; +typedef struct Callback_OnErrorReceiveEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnErrorReceiveEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnErrorReceiveEvent value0); +} Callback_OnErrorReceiveEvent_Void; +typedef struct Opt_Callback_OnErrorReceiveEvent_Void { + Ark_Tag tag; + Callback_OnErrorReceiveEvent_Void value; +} Opt_Callback_OnErrorReceiveEvent_Void; +typedef struct Callback_OnFaviconReceivedEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnFaviconReceivedEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnFaviconReceivedEvent value0); +} Callback_OnFaviconReceivedEvent_Void; +typedef struct Opt_Callback_OnFaviconReceivedEvent_Void { + Ark_Tag tag; + Callback_OnFaviconReceivedEvent_Void value; +} Opt_Callback_OnFaviconReceivedEvent_Void; +typedef struct Callback_OnFirstContentfulPaintEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnFirstContentfulPaintEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnFirstContentfulPaintEvent value0); +} Callback_OnFirstContentfulPaintEvent_Void; +typedef struct Opt_Callback_OnFirstContentfulPaintEvent_Void { + Ark_Tag tag; + Callback_OnFirstContentfulPaintEvent_Void value; +} Opt_Callback_OnFirstContentfulPaintEvent_Void; +typedef struct Callback_OnGeolocationShowEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnGeolocationShowEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnGeolocationShowEvent value0); +} Callback_OnGeolocationShowEvent_Void; +typedef struct Opt_Callback_OnGeolocationShowEvent_Void { + Ark_Tag tag; + Callback_OnGeolocationShowEvent_Void value; +} Opt_Callback_OnGeolocationShowEvent_Void; +typedef struct Callback_OnHttpAuthRequestEvent_Boolean { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnHttpAuthRequestEvent value0, const Callback_Boolean_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnHttpAuthRequestEvent value0, const Callback_Boolean_Void continuation); +} Callback_OnHttpAuthRequestEvent_Boolean; +typedef struct Opt_Callback_OnHttpAuthRequestEvent_Boolean { + Ark_Tag tag; + Callback_OnHttpAuthRequestEvent_Boolean value; +} Opt_Callback_OnHttpAuthRequestEvent_Boolean; +typedef struct Callback_OnHttpErrorReceiveEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnHttpErrorReceiveEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnHttpErrorReceiveEvent value0); +} Callback_OnHttpErrorReceiveEvent_Void; +typedef struct Opt_Callback_OnHttpErrorReceiveEvent_Void { + Ark_Tag tag; + Callback_OnHttpErrorReceiveEvent_Void value; +} Opt_Callback_OnHttpErrorReceiveEvent_Void; +typedef struct Callback_OnInterceptRequestEvent_WebResourceResponse { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnInterceptRequestEvent value0, const Callback_WebResourceResponse_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnInterceptRequestEvent value0, const Callback_WebResourceResponse_Void continuation); +} Callback_OnInterceptRequestEvent_WebResourceResponse; +typedef struct Opt_Callback_OnInterceptRequestEvent_WebResourceResponse { + Ark_Tag tag; + Callback_OnInterceptRequestEvent_WebResourceResponse value; +} Opt_Callback_OnInterceptRequestEvent_WebResourceResponse; +typedef struct Callback_OnLoadInterceptEvent_Boolean { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnLoadInterceptEvent value0, const Callback_Boolean_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnLoadInterceptEvent value0, const Callback_Boolean_Void continuation); +} Callback_OnLoadInterceptEvent_Boolean; +typedef struct Opt_Callback_OnLoadInterceptEvent_Boolean { + Ark_Tag tag; + Callback_OnLoadInterceptEvent_Boolean value; +} Opt_Callback_OnLoadInterceptEvent_Boolean; typedef struct Callback_onMeasureSize_SizeResult { /* kind: Callback */ Ark_CallbackResource resource; @@ -9465,6 +10408,56 @@ typedef struct Opt_Callback_onMeasureSize_SizeResult { Ark_Tag tag; Callback_onMeasureSize_SizeResult value; } Opt_Callback_onMeasureSize_SizeResult; +typedef struct Callback_OnOverScrollEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnOverScrollEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnOverScrollEvent value0); +} Callback_OnOverScrollEvent_Void; +typedef struct Opt_Callback_OnOverScrollEvent_Void { + Ark_Tag tag; + Callback_OnOverScrollEvent_Void value; +} Opt_Callback_OnOverScrollEvent_Void; +typedef struct Callback_OnPageBeginEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnPageBeginEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnPageBeginEvent value0); +} Callback_OnPageBeginEvent_Void; +typedef struct Opt_Callback_OnPageBeginEvent_Void { + Ark_Tag tag; + Callback_OnPageBeginEvent_Void value; +} Opt_Callback_OnPageBeginEvent_Void; +typedef struct Callback_OnPageEndEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnPageEndEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnPageEndEvent value0); +} Callback_OnPageEndEvent_Void; +typedef struct Opt_Callback_OnPageEndEvent_Void { + Ark_Tag tag; + Callback_OnPageEndEvent_Void value; +} Opt_Callback_OnPageEndEvent_Void; +typedef struct Callback_OnPageVisibleEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnPageVisibleEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnPageVisibleEvent value0); +} Callback_OnPageVisibleEvent_Void; +typedef struct Opt_Callback_OnPageVisibleEvent_Void { + Ark_Tag tag; + Callback_OnPageVisibleEvent_Void value; +} Opt_Callback_OnPageVisibleEvent_Void; +typedef struct Callback_OnPermissionRequestEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnPermissionRequestEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnPermissionRequestEvent value0); +} Callback_OnPermissionRequestEvent_Void; +typedef struct Opt_Callback_OnPermissionRequestEvent_Void { + Ark_Tag tag; + Callback_OnPermissionRequestEvent_Void value; +} Opt_Callback_OnPermissionRequestEvent_Void; typedef struct Callback_onPlaceChildren_Void { /* kind: Callback */ Ark_CallbackResource resource; @@ -9475,6 +10468,86 @@ typedef struct Opt_Callback_onPlaceChildren_Void { Ark_Tag tag; Callback_onPlaceChildren_Void value; } Opt_Callback_onPlaceChildren_Void; +typedef struct Callback_OnProgressChangeEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnProgressChangeEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnProgressChangeEvent value0); +} Callback_OnProgressChangeEvent_Void; +typedef struct Opt_Callback_OnProgressChangeEvent_Void { + Ark_Tag tag; + Callback_OnProgressChangeEvent_Void value; +} Opt_Callback_OnProgressChangeEvent_Void; +typedef struct Callback_OnPromptEvent_Boolean { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnPromptEvent value0, const Callback_Boolean_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnPromptEvent value0, const Callback_Boolean_Void continuation); +} Callback_OnPromptEvent_Boolean; +typedef struct Opt_Callback_OnPromptEvent_Boolean { + Ark_Tag tag; + Callback_OnPromptEvent_Boolean value; +} Opt_Callback_OnPromptEvent_Boolean; +typedef struct Callback_OnRefreshAccessedHistoryEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnRefreshAccessedHistoryEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnRefreshAccessedHistoryEvent value0); +} Callback_OnRefreshAccessedHistoryEvent_Void; +typedef struct Opt_Callback_OnRefreshAccessedHistoryEvent_Void { + Ark_Tag tag; + Callback_OnRefreshAccessedHistoryEvent_Void value; +} Opt_Callback_OnRefreshAccessedHistoryEvent_Void; +typedef struct Callback_OnRenderExitedEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnRenderExitedEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnRenderExitedEvent value0); +} Callback_OnRenderExitedEvent_Void; +typedef struct Opt_Callback_OnRenderExitedEvent_Void { + Ark_Tag tag; + Callback_OnRenderExitedEvent_Void value; +} Opt_Callback_OnRenderExitedEvent_Void; +typedef struct Callback_OnResourceLoadEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnResourceLoadEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnResourceLoadEvent value0); +} Callback_OnResourceLoadEvent_Void; +typedef struct Opt_Callback_OnResourceLoadEvent_Void { + Ark_Tag tag; + Callback_OnResourceLoadEvent_Void value; +} Opt_Callback_OnResourceLoadEvent_Void; +typedef struct Callback_OnScaleChangeEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnScaleChangeEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnScaleChangeEvent value0); +} Callback_OnScaleChangeEvent_Void; +typedef struct Opt_Callback_OnScaleChangeEvent_Void { + Ark_Tag tag; + Callback_OnScaleChangeEvent_Void value; +} Opt_Callback_OnScaleChangeEvent_Void; +typedef struct Callback_OnScreenCaptureRequestEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnScreenCaptureRequestEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnScreenCaptureRequestEvent value0); +} Callback_OnScreenCaptureRequestEvent_Void; +typedef struct Opt_Callback_OnScreenCaptureRequestEvent_Void { + Ark_Tag tag; + Callback_OnScreenCaptureRequestEvent_Void value; +} Opt_Callback_OnScreenCaptureRequestEvent_Void; +typedef struct Callback_OnScrollEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnScrollEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnScrollEvent value0); +} Callback_OnScrollEvent_Void; +typedef struct Opt_Callback_OnScrollEvent_Void { + Ark_Tag tag; + Callback_OnScrollEvent_Void value; +} Opt_Callback_OnScrollEvent_Void; typedef struct Callback_OnScrollFrameBeginHandlerResult_Void { /* kind: Callback */ Ark_CallbackResource resource; @@ -9485,6 +10558,66 @@ typedef struct Opt_Callback_OnScrollFrameBeginHandlerResult_Void { Ark_Tag tag; Callback_OnScrollFrameBeginHandlerResult_Void value; } Opt_Callback_OnScrollFrameBeginHandlerResult_Void; +typedef struct Callback_OnSearchResultReceiveEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnSearchResultReceiveEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnSearchResultReceiveEvent value0); +} Callback_OnSearchResultReceiveEvent_Void; +typedef struct Opt_Callback_OnSearchResultReceiveEvent_Void { + Ark_Tag tag; + Callback_OnSearchResultReceiveEvent_Void value; +} Opt_Callback_OnSearchResultReceiveEvent_Void; +typedef struct Callback_OnShowFileSelectorEvent_Boolean { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnShowFileSelectorEvent value0, const Callback_Boolean_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnShowFileSelectorEvent value0, const Callback_Boolean_Void continuation); +} Callback_OnShowFileSelectorEvent_Boolean; +typedef struct Opt_Callback_OnShowFileSelectorEvent_Boolean { + Ark_Tag tag; + Callback_OnShowFileSelectorEvent_Boolean value; +} Opt_Callback_OnShowFileSelectorEvent_Boolean; +typedef struct Callback_OnSslErrorEventReceiveEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnSslErrorEventReceiveEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnSslErrorEventReceiveEvent value0); +} Callback_OnSslErrorEventReceiveEvent_Void; +typedef struct Opt_Callback_OnSslErrorEventReceiveEvent_Void { + Ark_Tag tag; + Callback_OnSslErrorEventReceiveEvent_Void value; +} Opt_Callback_OnSslErrorEventReceiveEvent_Void; +typedef struct Callback_OnTitleReceiveEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnTitleReceiveEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnTitleReceiveEvent value0); +} Callback_OnTitleReceiveEvent_Void; +typedef struct Opt_Callback_OnTitleReceiveEvent_Void { + Ark_Tag tag; + Callback_OnTitleReceiveEvent_Void value; +} Opt_Callback_OnTitleReceiveEvent_Void; +typedef struct Callback_OnTouchIconUrlReceivedEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnTouchIconUrlReceivedEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnTouchIconUrlReceivedEvent value0); +} Callback_OnTouchIconUrlReceivedEvent_Void; +typedef struct Opt_Callback_OnTouchIconUrlReceivedEvent_Void { + Ark_Tag tag; + Callback_OnTouchIconUrlReceivedEvent_Void value; +} Opt_Callback_OnTouchIconUrlReceivedEvent_Void; +typedef struct Callback_OnWindowNewEvent_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_OnWindowNewEvent value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_OnWindowNewEvent value0); +} Callback_OnWindowNewEvent_Void; +typedef struct Opt_Callback_OnWindowNewEvent_Void { + Ark_Tag tag; + Callback_OnWindowNewEvent_Void value; +} Opt_Callback_OnWindowNewEvent_Void; typedef struct Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void { /* kind: Callback */ Ark_CallbackResource resource; @@ -9905,26 +11038,6 @@ typedef struct Opt_Callback_SwiperContentTransitionProxy_Void { Ark_Tag tag; Callback_SwiperContentTransitionProxy_Void value; } Opt_Callback_SwiperContentTransitionProxy_Void; -typedef struct Callback_T { - /* kind: Callback */ - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Callback_T_Void continuation); - void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Callback_T_Void continuation); -} Callback_T; -typedef struct Opt_Callback_T { - Ark_Tag tag; - Callback_T value; -} Opt_Callback_T; -typedef struct Callback_T_Void { - /* kind: Callback */ - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_CustomObject value0); - void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_CustomObject value0); -} Callback_T_Void; -typedef struct Opt_Callback_T_Void { - Ark_Tag tag; - Callback_T_Void value; -} Opt_Callback_T_Void; typedef struct Callback_T_Void_Arkui_Component_Units_Length { /* kind: Callback */ Ark_CallbackResource resource; @@ -10155,6 +11268,26 @@ typedef struct Opt_Callback_Void { Ark_Tag tag; Callback_Void value; } Opt_Callback_Void; +typedef struct Callback_WebKeyboardOptions_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_WebKeyboardOptions value); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_WebKeyboardOptions value); +} Callback_WebKeyboardOptions_Void; +typedef struct Opt_Callback_WebKeyboardOptions_Void { + Ark_Tag tag; + Callback_WebKeyboardOptions_Void value; +} Opt_Callback_WebKeyboardOptions_Void; +typedef struct Callback_WebResourceResponse_Void { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_WebResourceResponse value); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_WebResourceResponse value); +} Callback_WebResourceResponse_Void; +typedef struct Opt_Callback_WebResourceResponse_Void { + Ark_Tag tag; + Callback_WebResourceResponse_Void value; +} Opt_Callback_WebResourceResponse_Void; typedef struct CheckBoxModifierBuilder { /* kind: Callback */ Ark_CallbackResource resource; @@ -10405,6 +11538,26 @@ typedef struct Opt_Map_String_Object { Ark_Tag tag; Map_String_Object value; } Opt_Map_String_Object; +typedef struct Map_String_Opt_Object { + /* kind: ContainerType */ + Ark_Int32 size; + Ark_String* keys; + Opt_Object* values; +} Map_String_Opt_Object; +typedef struct Opt_Map_String_Opt_Object { + Ark_Tag tag; + Map_String_Opt_Object value; +} Opt_Map_String_Opt_Object; +typedef struct Map_String_String { + /* kind: ContainerType */ + Ark_Int32 size; + Ark_String* keys; + Ark_String* values; +} Map_String_String; +typedef struct Opt_Map_String_String { + Ark_Tag tag; + Map_String_String value; +} Opt_Map_String_String; typedef struct MenuCallback { /* kind: Callback */ Ark_CallbackResource resource; @@ -10465,6 +11618,16 @@ typedef struct Opt_NavExtender_OnUpdateStack { Ark_Tag tag; NavExtender_OnUpdateStack value; } Opt_NavExtender_OnUpdateStack; +typedef struct OnAdsBlockedCallback { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_AdsBlockedDetails details); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_AdsBlockedDetails details); +} OnAdsBlockedCallback; +typedef struct Opt_OnAdsBlockedCallback { + Ark_Tag tag; + OnAdsBlockedCallback value; +} Opt_OnAdsBlockedCallback; typedef struct OnAlphabetIndexerPopupSelectCallback { /* kind: Callback */ Ark_CallbackResource resource; @@ -10525,6 +11688,16 @@ typedef struct Opt_OnContentScrollCallback { Ark_Tag tag; OnContentScrollCallback value; } Opt_OnContentScrollCallback; +typedef struct OnContextMenuHideCallback { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId); +} OnContextMenuHideCallback; +typedef struct Opt_OnContextMenuHideCallback { + Ark_Tag tag; + OnContextMenuHideCallback value; +} Opt_OnContextMenuHideCallback; typedef struct OnCreateMenuCallback { /* kind: Callback */ Ark_CallbackResource resource; @@ -10555,6 +11728,16 @@ typedef struct Opt_OnDragEventCallback { Ark_Tag tag; OnDragEventCallback value; } Opt_OnDragEventCallback; +typedef struct OnFirstMeaningfulPaintCallback { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_FirstMeaningfulPaint firstMeaningfulPaint); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_FirstMeaningfulPaint firstMeaningfulPaint); +} OnFirstMeaningfulPaintCallback; +typedef struct Opt_OnFirstMeaningfulPaintCallback { + Ark_Tag tag; + OnFirstMeaningfulPaintCallback value; +} Opt_OnFirstMeaningfulPaintCallback; typedef struct OnFoldStatusChangeCallback { /* kind: Callback */ Ark_CallbackResource resource; @@ -10565,6 +11748,16 @@ typedef struct Opt_OnFoldStatusChangeCallback { Ark_Tag tag; OnFoldStatusChangeCallback value; } Opt_OnFoldStatusChangeCallback; +typedef struct OnFullScreenEnterCallback { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_FullScreenEnterEvent event); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_FullScreenEnterEvent event); +} OnFullScreenEnterCallback; +typedef struct Opt_OnFullScreenEnterCallback { + Ark_Tag tag; + OnFullScreenEnterCallback value; +} Opt_OnFullScreenEnterCallback; typedef struct OnHoverCallback { /* kind: Callback */ Ark_CallbackResource resource; @@ -10585,6 +11778,16 @@ typedef struct Opt_OnHoverStatusChangeCallback { Ark_Tag tag; OnHoverStatusChangeCallback value; } Opt_OnHoverStatusChangeCallback; +typedef struct OnIntelligentTrackingPreventionCallback { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_IntelligentTrackingPreventionDetails details); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_IntelligentTrackingPreventionDetails details); +} OnIntelligentTrackingPreventionCallback; +typedef struct Opt_OnIntelligentTrackingPreventionCallback { + Ark_Tag tag; + OnIntelligentTrackingPreventionCallback value; +} Opt_OnIntelligentTrackingPreventionCallback; typedef struct OnItemDragStartCallback { /* kind: Callback */ Ark_CallbackResource resource; @@ -10595,16 +11798,16 @@ typedef struct Opt_OnItemDragStartCallback { Ark_Tag tag; OnItemDragStartCallback value; } Opt_OnItemDragStartCallback; -typedef struct OnLazyLoadingFunc { +typedef struct OnLargestContentfulPaintCallback { /* kind: Callback */ Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Number index); - void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index); -} OnLazyLoadingFunc; -typedef struct Opt_OnLazyLoadingFunc { + void (*call)(const Ark_Int32 resourceId, const Ark_LargestContentfulPaint largestContentfulPaint); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_LargestContentfulPaint largestContentfulPaint); +} OnLargestContentfulPaintCallback; +typedef struct Opt_OnLargestContentfulPaintCallback { Ark_Tag tag; - OnLazyLoadingFunc value; -} Opt_OnLazyLoadingFunc; + OnLargestContentfulPaintCallback value; +} Opt_OnLargestContentfulPaintCallback; typedef struct OnLinearIndicatorChangeCallback { /* kind: Callback */ Ark_CallbackResource resource; @@ -10635,16 +11838,36 @@ typedef struct Opt_OnMoveHandler { Ark_Tag tag; OnMoveHandler value; } Opt_OnMoveHandler; -typedef struct OnNativeLoadCallback { +typedef struct OnNativeEmbedVisibilityChangeCallback { /* kind: Callback */ Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Opt_Object event); - void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Object event); -} OnNativeLoadCallback; -typedef struct Opt_OnNativeLoadCallback { + void (*call)(const Ark_Int32 resourceId, const Ark_NativeEmbedVisibilityInfo nativeEmbedVisibilityInfo); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_NativeEmbedVisibilityInfo nativeEmbedVisibilityInfo); +} OnNativeEmbedVisibilityChangeCallback; +typedef struct Opt_OnNativeEmbedVisibilityChangeCallback { + Ark_Tag tag; + OnNativeEmbedVisibilityChangeCallback value; +} Opt_OnNativeEmbedVisibilityChangeCallback; +typedef struct OnNavigationEntryCommittedCallback { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_LoadCommittedDetails loadCommittedDetails); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_LoadCommittedDetails loadCommittedDetails); +} OnNavigationEntryCommittedCallback; +typedef struct Opt_OnNavigationEntryCommittedCallback { + Ark_Tag tag; + OnNavigationEntryCommittedCallback value; +} Opt_OnNavigationEntryCommittedCallback; +typedef struct OnOverrideUrlLoadingCallback { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_WebResourceRequest webResourceRequest, const Callback_Boolean_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_WebResourceRequest webResourceRequest, const Callback_Boolean_Void continuation); +} OnOverrideUrlLoadingCallback; +typedef struct Opt_OnOverrideUrlLoadingCallback { Ark_Tag tag; - OnNativeLoadCallback value; -} Opt_OnNativeLoadCallback; + OnOverrideUrlLoadingCallback value; +} Opt_OnOverrideUrlLoadingCallback; typedef struct OnPasteCallback { /* kind: Callback */ Ark_CallbackResource resource; @@ -10675,6 +11898,36 @@ typedef struct Opt_OnRatingChangeCallback { Ark_Tag tag; OnRatingChangeCallback value; } Opt_OnRatingChangeCallback; +typedef struct OnRenderProcessNotRespondingCallback { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_RenderProcessNotRespondingData data); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_RenderProcessNotRespondingData data); +} OnRenderProcessNotRespondingCallback; +typedef struct Opt_OnRenderProcessNotRespondingCallback { + Ark_Tag tag; + OnRenderProcessNotRespondingCallback value; +} Opt_OnRenderProcessNotRespondingCallback; +typedef struct OnRenderProcessRespondingCallback { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId); +} OnRenderProcessRespondingCallback; +typedef struct Opt_OnRenderProcessRespondingCallback { + Ark_Tag tag; + OnRenderProcessRespondingCallback value; +} Opt_OnRenderProcessRespondingCallback; +typedef struct OnSafeBrowsingCheckResultCallback { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, Ark_ThreatType threatType); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_ThreatType threatType); +} OnSafeBrowsingCheckResultCallback; +typedef struct Opt_OnSafeBrowsingCheckResultCallback { + Ark_Tag tag; + OnSafeBrowsingCheckResultCallback value; +} Opt_OnSafeBrowsingCheckResultCallback; typedef struct OnScrollCallback { /* kind: Callback */ Ark_CallbackResource resource; @@ -10725,6 +11978,16 @@ typedef struct Opt_OnSelectCallback { Ark_Tag tag; OnSelectCallback value; } Opt_OnSelectCallback; +typedef struct OnSslErrorEventCallback { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_SslErrorEvent sslErrorEvent); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_SslErrorEvent sslErrorEvent); +} OnSslErrorEventCallback; +typedef struct Opt_OnSslErrorEventCallback { + Ark_Tag tag; + OnSslErrorEventCallback value; +} Opt_OnSslErrorEventCallback; typedef struct OnSubmitCallback { /* kind: Callback */ Ark_CallbackResource resource; @@ -10835,16 +12098,16 @@ typedef struct Opt_OnTimePickerChangeCallback { Ark_Tag tag; OnTimePickerChangeCallback value; } Opt_OnTimePickerChangeCallback; -typedef struct OnTotalCountFunc { +typedef struct OnViewportFitChangedCallback { /* kind: Callback */ Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Callback_Number_Void continuation); - void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Callback_Number_Void continuation); -} OnTotalCountFunc; -typedef struct Opt_OnTotalCountFunc { + void (*call)(const Ark_Int32 resourceId, Ark_ViewportFit viewportFit); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_ViewportFit viewportFit); +} OnViewportFitChangedCallback; +typedef struct Opt_OnViewportFitChangedCallback { Ark_Tag tag; - OnTotalCountFunc value; -} Opt_OnTotalCountFunc; + OnViewportFitChangedCallback value; +} Opt_OnViewportFitChangedCallback; typedef struct OnWillScrollCallback { /* kind: Callback */ Ark_CallbackResource resource; @@ -10908,8 +12171,8 @@ typedef struct Opt_PopupStateChangeCallback { typedef struct Profiler_Callback_String_Void { /* kind: Callback */ Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_String info); - void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String info); + void (*call)(const Ark_Int32 resourceId, const Ark_String value0); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String value0); } Profiler_Callback_String_Void; typedef struct Opt_Profiler_Callback_String_Void { Ark_Tag tag; @@ -11315,6 +12578,26 @@ typedef struct Opt_VoidCallback { Ark_Tag tag; VoidCallback value; } Opt_VoidCallback; +typedef struct WebKeyboardCallback { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_WebKeyboardCallbackInfo keyboardCallbackInfo, const Callback_WebKeyboardOptions_Void continuation); + void (*callSync)(Ark_VMContext vmContext, 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 WorkerEventListener { + /* kind: Callback */ + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Event event); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Event event); +} WorkerEventListener; +typedef struct Opt_WorkerEventListener { + Ark_Tag tag; + WorkerEventListener value; +} Opt_WorkerEventListener; typedef struct Ark_AccessibilityOptions { /* kind: Interface */ Opt_Boolean accessibilityPreferred; @@ -11323,6 +12606,15 @@ typedef struct Opt_AccessibilityOptions { Ark_Tag tag; Ark_AccessibilityOptions value; } Opt_AccessibilityOptions; +typedef struct Ark_AdsBlockedDetails { + /* kind: Interface */ + Ark_String url; + Array_String adsBlocked; +} Ark_AdsBlockedDetails; +typedef struct Opt_AdsBlockedDetails { + Ark_Tag tag; + Ark_AdsBlockedDetails value; +} Opt_AdsBlockedDetails; typedef struct Ark_AlignRuleOption { /* kind: Interface */ Ark_Int32 _stub; @@ -11631,6 +12923,15 @@ typedef struct Opt_Circle { Ark_Tag tag; Ark_Circle value; } Opt_Circle; +typedef struct Ark_CircleOptions { + /* kind: Interface */ + Opt_Union_String_F64 width; + Opt_Union_String_F64 height; +} Ark_CircleOptions; +typedef struct Opt_CircleOptions { + Ark_Tag tag; + Ark_CircleOptions value; +} Opt_CircleOptions; typedef struct Ark_ClickEffect { /* kind: Interface */ Ark_ClickEffectLevel level; @@ -11993,6 +13294,23 @@ typedef struct Opt_EditMenuOptions { Ark_Tag tag; Ark_EditMenuOptions value; } Opt_EditMenuOptions; +typedef struct Ark_EllipseOptions { + /* kind: Interface */ + Opt_Union_String_F64 width; + Opt_Union_String_F64 height; +} Ark_EllipseOptions; +typedef struct Opt_EllipseOptions { + Ark_Tag tag; + Ark_EllipseOptions value; +} Opt_EllipseOptions; +typedef struct Ark_EmbedOptions { + /* kind: Interface */ + Opt_Boolean supportDefaultIntrinsicSize; +} Ark_EmbedOptions; +typedef struct Opt_EmbedOptions { + Ark_Tag tag; + Ark_EmbedOptions value; +} Opt_EmbedOptions; typedef struct Ark_ErrorEvent { /* kind: Interface */ Ark_String type; @@ -12050,6 +13368,15 @@ typedef struct Opt_FingerInfo { Ark_Tag tag; Ark_FingerInfo value; } Opt_FingerInfo; +typedef struct Ark_FirstMeaningfulPaint { + /* kind: Interface */ + Opt_Int64 navigationStartTime; + Opt_Int64 firstMeaningfulPaintTime; +} Ark_FirstMeaningfulPaint; +typedef struct Opt_FirstMeaningfulPaint { + Ark_Tag tag; + Ark_FirstMeaningfulPaint value; +} Opt_FirstMeaningfulPaint; typedef struct Ark_FocusMovement { /* kind: Interface */ Opt_String forward; @@ -12146,6 +13473,16 @@ typedef struct Opt_Frame { Ark_Tag tag; Ark_Frame value; } Opt_Frame; +typedef struct Ark_FullScreenEnterEvent { + /* kind: Interface */ + 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 Ark_GaugeConfiguration { /* kind: Interface */ Ark_Boolean enabled; @@ -12241,6 +13578,15 @@ typedef struct Opt_GridRowColumnOption { Ark_Tag tag; Ark_GridRowColumnOption value; } Opt_GridRowColumnOption; +typedef struct Ark_Header { + /* kind: Interface */ + Ark_String headerKey; + Ark_String headerValue; +} Ark_Header; +typedef struct Opt_Header { + Ark_Tag tag; + Ark_Header value; +} Opt_Header; typedef struct Opt_HierarchicalSymbolEffect { Ark_Tag tag; Ark_HierarchicalSymbolEffect value; @@ -12340,6 +13686,15 @@ typedef struct Opt_InsertValue { Ark_Tag tag; Ark_InsertValue value; } Opt_InsertValue; +typedef struct Ark_IntelligentTrackingPreventionDetails { + /* kind: Interface */ + Ark_String host; + Ark_String trackerHost; +} Ark_IntelligentTrackingPreventionDetails; +typedef struct Opt_IntelligentTrackingPreventionDetails { + Ark_Tag tag; + Ark_IntelligentTrackingPreventionDetails value; +} Opt_IntelligentTrackingPreventionDetails; typedef struct Ark_intl_DateTimeOptions { /* kind: Interface */ Opt_String locale; @@ -12386,6 +13741,19 @@ typedef struct Opt_ItemDragInfo { Ark_Tag tag; Ark_ItemDragInfo value; } Opt_ItemDragInfo; +typedef struct Ark_JavaScriptProxy { + /* kind: Interface */ + Ark_Object object_; + Ark_String name; + Array_String methodList; + Ark_webview_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_KeyboardOptions { /* kind: Interface */ Opt_Boolean supportAvoidance; @@ -12398,6 +13766,19 @@ typedef struct Opt_KeyEvent { Ark_Tag tag; Ark_KeyEvent value; } Opt_KeyEvent; +typedef struct Ark_LargestContentfulPaint { + /* kind: Interface */ + Opt_Int64 navigationStartTime; + Opt_Int64 largestImagePaintTime; + Opt_Int64 largestTextPaintTime; + Opt_Float64 imageBPP; + Opt_Int64 largestImageLoadStartTime; + Opt_Int64 largestImageLoadEndTime; +} Ark_LargestContentfulPaint; +typedef struct Opt_LargestContentfulPaint { + Ark_Tag tag; + Ark_LargestContentfulPaint value; +} Opt_LargestContentfulPaint; typedef struct Ark_LayoutConstraint { /* kind: Interface */ Ark_Size maxSize; @@ -12449,6 +13830,15 @@ typedef struct Opt_LineHeightStyle { Ark_Tag tag; Ark_LineHeightStyle value; } Opt_LineHeightStyle; +typedef struct Ark_LineOptions { + /* kind: Interface */ + Opt_Union_String_F64 width; + Opt_Union_String_F64 height; +} Ark_LineOptions; +typedef struct Opt_LineOptions { + Ark_Tag tag; + Ark_LineOptions value; +} Opt_LineOptions; typedef struct Ark_ListItemGroupOptions { /* kind: Interface */ Opt_CustomNodeBuilder header; @@ -12480,6 +13870,18 @@ typedef struct Opt_ListOptions { Ark_Tag tag; Ark_ListOptions value; } Opt_ListOptions; +typedef struct Ark_LoadCommittedDetails { + /* kind: Interface */ + 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 Ark_LocalizedHorizontalAlignParam { /* kind: Interface */ Ark_String anchor; @@ -12658,6 +14060,15 @@ typedef struct Opt_MutableStyledString { Ark_Tag tag; Ark_MutableStyledString value; } Opt_MutableStyledString; +typedef struct Ark_NativeEmbedVisibilityInfo { + /* kind: Interface */ + Ark_Boolean visibility; + Ark_String embedId; +} Ark_NativeEmbedVisibilityInfo; +typedef struct Opt_NativeEmbedVisibilityInfo { + Ark_Tag tag; + Ark_NativeEmbedVisibilityInfo value; +} Opt_NativeEmbedVisibilityInfo; typedef struct Ark_NavContentInfo { /* kind: Interface */ Opt_String name; @@ -12725,6 +14136,247 @@ typedef struct Opt_NestedScrollInfo { Ark_Tag tag; Ark_NestedScrollInfo value; } Opt_NestedScrollInfo; +typedef struct Ark_NestedScrollOptionsExt { + /* kind: Interface */ + 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_OnAlertEvent { + /* kind: Interface */ + Ark_String url; + Ark_String message; + Ark_JsResult result; +} Ark_OnAlertEvent; +typedef struct Opt_OnAlertEvent { + Ark_Tag tag; + Ark_OnAlertEvent value; +} Opt_OnAlertEvent; +typedef struct Ark_OnBeforeUnloadEvent { + /* kind: Interface */ + Ark_String url; + Ark_String message; + Ark_JsResult result; +} Ark_OnBeforeUnloadEvent; +typedef struct Opt_OnBeforeUnloadEvent { + Ark_Tag tag; + Ark_OnBeforeUnloadEvent value; +} Opt_OnBeforeUnloadEvent; +typedef struct Ark_OnClientAuthenticationEvent { + /* kind: Interface */ + Ark_ClientAuthenticationHandler handler; + Ark_String host; + Ark_Number port; + Array_String keyTypes; + Array_String issuers; +} Ark_OnClientAuthenticationEvent; +typedef struct Opt_OnClientAuthenticationEvent { + Ark_Tag tag; + Ark_OnClientAuthenticationEvent value; +} Opt_OnClientAuthenticationEvent; +typedef struct Ark_OnConfirmEvent { + /* kind: Interface */ + Ark_String url; + Ark_String message; + Ark_JsResult result; +} Ark_OnConfirmEvent; +typedef struct Opt_OnConfirmEvent { + Ark_Tag tag; + Ark_OnConfirmEvent value; +} Opt_OnConfirmEvent; +typedef struct Ark_OnContextMenuShowEvent { + /* kind: Interface */ + Ark_WebContextMenuParam param; + Ark_WebContextMenuResult result; +} Ark_OnContextMenuShowEvent; +typedef struct Opt_OnContextMenuShowEvent { + Ark_Tag tag; + Ark_OnContextMenuShowEvent value; +} Opt_OnContextMenuShowEvent; +typedef struct Ark_OnDownloadStartEvent { + /* kind: Interface */ + Ark_String url; + Ark_String userAgent; + Ark_String contentDisposition; + Ark_String mimetype; + Ark_Number contentLength; +} Ark_OnDownloadStartEvent; +typedef struct Opt_OnDownloadStartEvent { + Ark_Tag tag; + Ark_OnDownloadStartEvent value; +} Opt_OnDownloadStartEvent; +typedef struct Ark_OnErrorReceiveEvent { + /* kind: Interface */ + Ark_WebResourceRequest request; + Ark_WebResourceError error; +} Ark_OnErrorReceiveEvent; +typedef struct Opt_OnErrorReceiveEvent { + Ark_Tag tag; + Ark_OnErrorReceiveEvent value; +} Opt_OnErrorReceiveEvent; +typedef struct Ark_OnGeolocationShowEvent { + /* kind: Interface */ + Ark_String origin; + Ark_JsGeolocation geolocation; +} Ark_OnGeolocationShowEvent; +typedef struct Opt_OnGeolocationShowEvent { + Ark_Tag tag; + Ark_OnGeolocationShowEvent value; +} Opt_OnGeolocationShowEvent; +typedef struct Ark_OnHttpAuthRequestEvent { + /* kind: Interface */ + Ark_HttpAuthHandler handler; + Ark_String host; + Ark_String realm; +} Ark_OnHttpAuthRequestEvent; +typedef struct Opt_OnHttpAuthRequestEvent { + Ark_Tag tag; + Ark_OnHttpAuthRequestEvent value; +} Opt_OnHttpAuthRequestEvent; +typedef struct Ark_OnHttpErrorReceiveEvent { + /* kind: Interface */ + Ark_WebResourceRequest request; + Ark_WebResourceResponse response; +} Ark_OnHttpErrorReceiveEvent; +typedef struct Opt_OnHttpErrorReceiveEvent { + Ark_Tag tag; + Ark_OnHttpErrorReceiveEvent value; +} Opt_OnHttpErrorReceiveEvent; +typedef struct Ark_OnInterceptRequestEvent { + /* kind: Interface */ + Ark_WebResourceRequest request; +} Ark_OnInterceptRequestEvent; +typedef struct Opt_OnInterceptRequestEvent { + Ark_Tag tag; + Ark_OnInterceptRequestEvent value; +} Opt_OnInterceptRequestEvent; +typedef struct Ark_OnLoadInterceptEvent { + /* kind: Interface */ + Ark_WebResourceRequest data; +} Ark_OnLoadInterceptEvent; +typedef struct Opt_OnLoadInterceptEvent { + Ark_Tag tag; + Ark_OnLoadInterceptEvent value; +} Opt_OnLoadInterceptEvent; +typedef struct Ark_OnPageBeginEvent { + /* kind: Interface */ + Ark_String url; +} Ark_OnPageBeginEvent; +typedef struct Opt_OnPageBeginEvent { + Ark_Tag tag; + Ark_OnPageBeginEvent value; +} Opt_OnPageBeginEvent; +typedef struct Ark_OnPageEndEvent { + /* kind: Interface */ + Ark_String url; +} Ark_OnPageEndEvent; +typedef struct Opt_OnPageEndEvent { + Ark_Tag tag; + Ark_OnPageEndEvent value; +} Opt_OnPageEndEvent; +typedef struct Ark_OnPageVisibleEvent { + /* kind: Interface */ + Ark_String url; +} Ark_OnPageVisibleEvent; +typedef struct Opt_OnPageVisibleEvent { + Ark_Tag tag; + Ark_OnPageVisibleEvent value; +} Opt_OnPageVisibleEvent; +typedef struct Ark_OnPermissionRequestEvent { + /* kind: Interface */ + Ark_PermissionRequest request; +} Ark_OnPermissionRequestEvent; +typedef struct Opt_OnPermissionRequestEvent { + Ark_Tag tag; + Ark_OnPermissionRequestEvent value; +} Opt_OnPermissionRequestEvent; +typedef struct Ark_OnPromptEvent { + /* kind: Interface */ + Ark_String url; + Ark_String message; + Ark_String value; + Ark_JsResult result; +} Ark_OnPromptEvent; +typedef struct Opt_OnPromptEvent { + Ark_Tag tag; + Ark_OnPromptEvent value; +} Opt_OnPromptEvent; +typedef struct Ark_OnRefreshAccessedHistoryEvent { + /* kind: Interface */ + Ark_String url; + Ark_Boolean isRefreshed; +} Ark_OnRefreshAccessedHistoryEvent; +typedef struct Opt_OnRefreshAccessedHistoryEvent { + Ark_Tag tag; + Ark_OnRefreshAccessedHistoryEvent value; +} Opt_OnRefreshAccessedHistoryEvent; +typedef struct Ark_OnRenderExitedEvent { + /* kind: Interface */ + Ark_RenderExitReason renderExitReason; +} Ark_OnRenderExitedEvent; +typedef struct Opt_OnRenderExitedEvent { + Ark_Tag tag; + Ark_OnRenderExitedEvent value; +} Opt_OnRenderExitedEvent; +typedef struct Ark_OnResourceLoadEvent { + /* kind: Interface */ + Ark_String url; +} Ark_OnResourceLoadEvent; +typedef struct Opt_OnResourceLoadEvent { + Ark_Tag tag; + Ark_OnResourceLoadEvent value; +} Opt_OnResourceLoadEvent; +typedef struct Ark_OnScreenCaptureRequestEvent { + /* kind: Interface */ + Ark_ScreenCaptureHandler handler; +} Ark_OnScreenCaptureRequestEvent; +typedef struct Opt_OnScreenCaptureRequestEvent { + Ark_Tag tag; + Ark_OnScreenCaptureRequestEvent value; +} Opt_OnScreenCaptureRequestEvent; +typedef struct Ark_OnSslErrorEventReceiveEvent { + /* kind: Interface */ + Ark_SslErrorHandler handler; + Ark_SslError error; + Opt_Array_Buffer certChainData; +} Ark_OnSslErrorEventReceiveEvent; +typedef struct Opt_OnSslErrorEventReceiveEvent { + Ark_Tag tag; + Ark_OnSslErrorEventReceiveEvent value; +} Opt_OnSslErrorEventReceiveEvent; +typedef struct Ark_OnTitleReceiveEvent { + /* kind: Interface */ + Ark_String title; +} Ark_OnTitleReceiveEvent; +typedef struct Opt_OnTitleReceiveEvent { + Ark_Tag tag; + Ark_OnTitleReceiveEvent value; +} Opt_OnTitleReceiveEvent; +typedef struct Ark_OnTouchIconUrlReceivedEvent { + /* kind: Interface */ + Ark_String url; + Ark_Boolean precomposed; +} Ark_OnTouchIconUrlReceivedEvent; +typedef struct Opt_OnTouchIconUrlReceivedEvent { + Ark_Tag tag; + Ark_OnTouchIconUrlReceivedEvent value; +} Opt_OnTouchIconUrlReceivedEvent; +typedef struct Ark_OnWindowNewEvent { + /* kind: Interface */ + Ark_Boolean isAlert; + Ark_Boolean isUserTrigger; + Ark_String targetUrl; + Ark_ControllerHandler handler; +} Ark_OnWindowNewEvent; +typedef struct Opt_OnWindowNewEvent { + Ark_Tag tag; + Ark_OnWindowNewEvent value; +} Opt_OnWindowNewEvent; typedef struct Ark_OverlayOffset { /* kind: Interface */ Opt_Number x; @@ -12755,6 +14407,16 @@ typedef struct Opt_PanGestureInterface_Invoke_Literal { Ark_Tag tag; Ark_PanGestureInterface_Invoke_Literal value; } Opt_PanGestureInterface_Invoke_Literal; +typedef struct Ark_PathOptions { + /* kind: Interface */ + Opt_Union_F64_String width; + Opt_Union_F64_String height; + Opt_String commands; +} Ark_PathOptions; +typedef struct Opt_PathOptions { + Ark_Tag tag; + Ark_PathOptions value; +} Opt_PathOptions; typedef struct Ark_PathShapeOptions { /* kind: Interface */ Opt_String commands; @@ -12795,8 +14457,8 @@ typedef struct Opt_PixelRoundPolicy { } Opt_PixelRoundPolicy; typedef struct Ark_PluginComponentTemplate { /* kind: Interface */ - Ark_String source; - Ark_String bundleName; + Opt_String source; + Opt_String bundleName; } Ark_PluginComponentTemplate; typedef struct Opt_PluginComponentTemplate { Ark_Tag tag; @@ -12804,13 +14466,31 @@ typedef struct Opt_PluginComponentTemplate { } Opt_PluginComponentTemplate; typedef struct Ark_PluginErrorData { /* kind: Interface */ - Ark_Number errcode; + Ark_Int32 errcode; Ark_String msg; } Ark_PluginErrorData; typedef struct Opt_PluginErrorData { Ark_Tag tag; Ark_PluginErrorData value; } Opt_PluginErrorData; +typedef struct Ark_PolygonOptions { + /* kind: Interface */ + Opt_Union_String_F64 width; + Opt_Union_String_F64 height; +} Ark_PolygonOptions; +typedef struct Opt_PolygonOptions { + Ark_Tag tag; + Ark_PolygonOptions value; +} Opt_PolygonOptions; +typedef struct Ark_PolylineOptions { + /* kind: Interface */ + Opt_Union_String_F64 width; + Opt_Union_String_F64 height; +} Ark_PolylineOptions; +typedef struct Opt_PolylineOptions { + Ark_Tag tag; + Ark_PolylineOptions value; +} Opt_PolylineOptions; typedef struct Ark_PopInfo { /* kind: Interface */ Ark_NavPathInfo info; @@ -12922,6 +14602,16 @@ typedef struct Opt_RenderingContextSettings { Ark_Tag tag; Ark_RenderingContextSettings value; } Opt_RenderingContextSettings; +typedef struct Ark_RenderProcessNotRespondingData { + /* kind: Interface */ + Ark_String jsStack; + Ark_Int32 pid; + Ark_RenderProcessNotRespondingReason reason; +} Ark_RenderProcessNotRespondingData; +typedef struct Opt_RenderProcessNotRespondingData { + Ark_Tag tag; + Ark_RenderProcessNotRespondingData value; +} Opt_RenderProcessNotRespondingData; typedef struct Opt_ReplaceSymbolEffect { Ark_Tag tag; Ark_ReplaceSymbolEffect value; @@ -12931,7 +14621,7 @@ typedef struct Ark_Resource { Ark_String bundleName; Ark_String moduleName; Ark_Int64 id; - Opt_Array_String params; + Opt_Array_Union_String_I32_I64_F64_Resource params; Opt_Int32 type; } Ark_Resource; typedef struct Opt_Resource { @@ -13057,6 +14747,17 @@ typedef struct Opt_RotationGestureHandlerOptions { Ark_Tag tag; Ark_RotationGestureHandlerOptions value; } Opt_RotationGestureHandlerOptions; +typedef struct Ark_RoundedRectOptions { + /* kind: Interface */ + Opt_Union_F64_String width; + Opt_Union_F64_String height; + Opt_Union_F64_String radiusWidth; + Opt_Union_F64_String radiusHeight; +} Ark_RoundedRectOptions; +typedef struct Opt_RoundedRectOptions { + Ark_Tag tag; + Ark_RoundedRectOptions value; +} Opt_RoundedRectOptions; typedef struct Ark_RoundRect { /* kind: Interface */ Ark_common2D_Rect rect; @@ -13111,6 +14812,23 @@ typedef struct Opt_ScaleSymbolEffect { Ark_Tag tag; Ark_ScaleSymbolEffect value; } Opt_ScaleSymbolEffect; +typedef struct Ark_ScreenCaptureConfig { + /* kind: Interface */ + Ark_WebCaptureMode captureMode; +} Ark_ScreenCaptureConfig; +typedef struct Opt_ScreenCaptureConfig { + Ark_Tag tag; + Ark_ScreenCaptureConfig value; +} Opt_ScreenCaptureConfig; +typedef struct Ark_ScriptItem { + /* kind: Interface */ + Ark_String script; + Array_String scriptRules; +} Ark_ScriptItem; +typedef struct Opt_ScriptItem { + Ark_Tag tag; + Ark_ScriptItem value; +} Opt_ScriptItem; typedef struct Ark_ScrollAnimationOptions { /* kind: Interface */ Opt_Number duration; @@ -13148,6 +14866,17 @@ typedef struct Opt_ScrollPageOptions { Ark_Tag tag; Ark_ScrollPageOptions value; } Opt_ScrollPageOptions; +typedef struct Ark_SelectionMenuOptionsExt { + /* kind: Interface */ + Opt_Callback_Void onAppear; + Opt_Callback_Void onDisappear; + Opt_CustomNodeBuilder preview; + Opt_MenuType menuType; +} Ark_SelectionMenuOptionsExt; +typedef struct Opt_SelectionMenuOptionsExt { + Ark_Tag tag; + Ark_SelectionMenuOptionsExt value; +} Opt_SelectionMenuOptionsExt; typedef struct Ark_SelectionOptions { /* kind: Interface */ Opt_MenuPolicy menuPolicy; @@ -13226,6 +14955,20 @@ typedef struct Opt_SpringBackAction { Ark_Tag tag; Ark_SpringBackAction value; } Opt_SpringBackAction; +typedef struct Ark_SslErrorEvent { + /* kind: Interface */ + 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 Ark_StackOptions { /* kind: Interface */ Opt_Alignment alignContent; @@ -13245,10 +14988,10 @@ typedef struct Opt_StyledStringChangedListener { } Opt_StyledStringChangedListener; typedef struct Ark_SurfaceRect { /* kind: Interface */ - Opt_Number offsetX; - Opt_Number offsetY; - Ark_Number surfaceWidth; - Ark_Number surfaceHeight; + Opt_Float64 offsetX; + Opt_Float64 offsetY; + Ark_Float64 surfaceWidth; + Ark_Float64 surfaceHeight; } Ark_SurfaceRect; typedef struct Opt_SurfaceRect { Ark_Tag tag; @@ -13503,6 +15246,14 @@ typedef struct Opt_ToggleConfiguration { Ark_Tag tag; Ark_ToggleConfiguration value; } Opt_ToggleConfiguration; +typedef struct Ark_ToolBarItemOptions { + /* kind: Interface */ + Opt_ToolBarItemPlacement placement; +} Ark_ToolBarItemOptions; +typedef struct Opt_ToolBarItemOptions { + Ark_Tag tag; + Ark_ToolBarItemOptions value; +} Opt_ToolBarItemOptions; typedef struct Ark_TouchObject { /* kind: Interface */ Ark_TouchType type; @@ -13943,6 +15694,19 @@ typedef struct Opt_Union_EdgeStyles_BorderStyle { Ark_Tag tag; Ark_Union_EdgeStyles_BorderStyle value; } Opt_Union_EdgeStyles_BorderStyle; +typedef struct Ark_Union_F64_String_Resource { + /* kind: UnionType */ + Ark_Int32 selector; + union { + Ark_Float64 value0; + Ark_String value1; + Ark_Resource value2; + }; +} Ark_Union_F64_String_Resource; +typedef struct Opt_Union_F64_String_Resource { + Ark_Tag tag; + Ark_Union_F64_String_Resource value; +} Opt_Union_F64_String_Resource; typedef struct Ark_Union_Image_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource { /* kind: UnionType */ Ark_Int32 selector; @@ -14005,6 +15769,18 @@ typedef struct Opt_Union_NavDestinationInfo_NavBar { Ark_Tag tag; Ark_Union_NavDestinationInfo_NavBar value; } Opt_Union_NavDestinationInfo_NavBar; +typedef struct Ark_Union_NestedScrollOptions_NestedScrollOptionsExt { + /* kind: UnionType */ + 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 Ark_Union_Number_Array_Number { /* kind: UnionType */ Ark_Int32 selector; @@ -14428,6 +16204,35 @@ typedef struct Opt_Union_String_CustomBuilder_ComponentContent { Ark_Tag tag; Ark_Union_String_CustomBuilder_ComponentContent value; } Opt_Union_String_CustomBuilder_ComponentContent; +typedef struct Ark_Union_String_I32_I64_F64_Resource { + /* kind: UnionType */ + Ark_Int32 selector; + union { + Ark_String value0; + Ark_Int32 value1; + Ark_Int64 value2; + Ark_Float64 value3; + Ark_Resource value4; + }; +} Ark_Union_String_I32_I64_F64_Resource; +typedef struct Opt_Union_String_I32_I64_F64_Resource { + Ark_Tag tag; + Ark_Union_String_I32_I64_F64_Resource value; +} Opt_Union_String_I32_I64_F64_Resource; +typedef struct Ark_Union_String_Number_Buffer_Resource { + /* kind: UnionType */ + Ark_Int32 selector; + union { + Ark_String value0; + Ark_Number value1; + Ark_Buffer value2; + Ark_Resource value3; + }; +} 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_Union_String_Number_Resource { /* kind: UnionType */ Ark_Int32 selector; @@ -14441,6 +16246,20 @@ typedef struct Opt_Union_String_Number_Resource { Ark_Tag tag; Ark_Union_String_Number_Resource value; } Opt_Union_String_Number_Resource; +typedef struct Ark_Union_String_Number_Resource_Buffer { + /* kind: UnionType */ + Ark_Int32 selector; + union { + Ark_String value0; + Ark_Number value1; + Ark_Resource value2; + Ark_Buffer value3; + }; +} Ark_Union_String_Number_Resource_Buffer; +typedef struct Opt_Union_String_Number_Resource_Buffer { + Ark_Tag tag; + Ark_Union_String_Number_Resource_Buffer value; +} Opt_Union_String_Number_Resource_Buffer; typedef struct Ark_Union_String_PixelMap_Resource { /* kind: UnionType */ Ark_Int32 selector; @@ -14519,6 +16338,17 @@ typedef struct Opt_Union_String_Resource_PixelMap { Ark_Tag tag; Ark_Union_String_Resource_PixelMap value; } Opt_Union_String_Resource_PixelMap; +typedef struct Ark_ViewportRect { + /* kind: Interface */ + Opt_Union_F64_String x; + Opt_Union_F64_String y; + Opt_Union_F64_String width; + Opt_Union_F64_String height; +} Ark_ViewportRect; +typedef struct Opt_ViewportRect { + Ark_Tag tag; + Ark_ViewportRect value; +} Opt_ViewportRect; typedef struct Ark_VisibleAreaEventOptions { /* kind: Interface */ Array_Number ratios; @@ -14567,6 +16397,47 @@ typedef struct Opt_WaterFlowOptions { Ark_Tag tag; Ark_WaterFlowOptions value; } Opt_WaterFlowOptions; +typedef struct Ark_WebKeyboardCallbackInfo { + /* kind: Interface */ + Ark_WebKeyboardController controller; + Map_String_String attributes; +} Ark_WebKeyboardCallbackInfo; +typedef struct Opt_WebKeyboardCallbackInfo { + Ark_Tag tag; + Ark_WebKeyboardCallbackInfo value; +} Opt_WebKeyboardCallbackInfo; +typedef struct Ark_WebKeyboardOptions { + /* kind: Interface */ + Ark_Boolean useSystemKeyboard; + Opt_Int32 enterKeyType; + Opt_CustomNodeBuilder customKeyboard; +} Ark_WebKeyboardOptions; +typedef struct Opt_WebKeyboardOptions { + Ark_Tag tag; + Ark_WebKeyboardOptions value; +} Opt_WebKeyboardOptions; +typedef struct Ark_WebMediaOptions { + /* kind: Interface */ + Opt_Int32 resumeInterval; + Opt_Boolean audioExclusive; + Opt_AudioSessionType audioSessionType; +} Ark_WebMediaOptions; +typedef struct Opt_WebMediaOptions { + Ark_Tag tag; + Ark_WebMediaOptions value; +} Opt_WebMediaOptions; +typedef struct Ark_WebOptions { + /* kind: Interface */ + Ark_Union_String_Resource src; + Ark_webview_WebviewController controller; + Opt_RenderMode renderMode; + Opt_Boolean incognitoMode; + Opt_String sharedRenderProcessToken; +} Ark_WebOptions; +typedef struct Opt_WebOptions { + Ark_Tag tag; + Ark_WebOptions value; +} Opt_WebOptions; typedef struct Ark_window_SystemBarStyle { /* kind: Interface */ Opt_String statusBarContentColor; @@ -15625,7 +17496,7 @@ typedef struct Opt_TabsOptions { } Opt_TabsOptions; typedef struct Ark_TerminationInfo { /* kind: Interface */ - Ark_Number code; + Ark_Int32 code; Opt_Want want; } Ark_TerminationInfo; typedef struct Opt_TerminationInfo { @@ -16122,7 +17993,7 @@ typedef struct Opt_Union_TitleHeight_Length { typedef struct Ark_VideoOptions { /* kind: Interface */ Opt_Union_String_Resource src; - Opt_Union_Number_String_PlaybackSpeed currentProgressRate; + Opt_Union_F64_String_PlaybackSpeed currentProgressRate; Opt_Union_String_PixelMap_Resource previewUri; Opt_VideoController controller; Opt_ImageAIOptions imageAIOptions; @@ -16137,23 +18008,23 @@ typedef struct Ark_XComponentOptions { Ark_XComponentType type; Ark_XComponentController controller; Opt_ImageAIOptions imageAIOptions; - Opt_Number screenId; + Opt_Int64 screenId; } Ark_XComponentOptions; typedef struct Opt_XComponentOptions { Ark_Tag tag; Ark_XComponentOptions value; } Opt_XComponentOptions; -typedef struct Ark_XComponentParameter { +typedef struct Ark_XComponentParameters { /* kind: Interface */ Ark_String id; Ark_XComponentType type; - Opt_String libraryname; + Callback_NativeXComponentPointer_Void nativeXComponentHandler; Opt_XComponentController controller; -} Ark_XComponentParameter; -typedef struct Opt_XComponentParameter { +} Ark_XComponentParameters; +typedef struct Opt_XComponentParameters { Ark_Tag tag; - Ark_XComponentParameter value; -} Opt_XComponentParameter; + Ark_XComponentParameters value; +} Opt_XComponentParameters; typedef struct Ark_ArrowStyle { /* kind: Interface */ Opt_Boolean showBackground; @@ -16649,8 +18520,8 @@ typedef struct Opt_Rectangle { } Opt_Rectangle; typedef struct Ark_RectOptions { /* kind: Interface */ - Opt_Length width; - Opt_Length height; + Opt_Union_F64_String width; + Opt_Union_F64_String height; Opt_Union_Length_Array_RadiusItem radius; } Ark_RectOptions; typedef struct Opt_RectOptions { @@ -17374,17 +19245,19 @@ typedef struct Opt_Union_Union_Padding_Dimension_LocalizedPadding { Ark_Tag tag; Ark_Union_Union_Padding_Dimension_LocalizedPadding value; } Opt_Union_Union_Padding_Dimension_LocalizedPadding; -typedef struct Ark_ViewportRect { - /* kind: Interface */ - Opt_Length x; - Opt_Length y; - Opt_Length width; - Opt_Length height; -} Ark_ViewportRect; -typedef struct Opt_ViewportRect { +typedef struct Ark_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters { + /* kind: UnionType */ + Ark_Int32 selector; + union { + Ark_XComponentParameters value0; + Ark_XComponentOptions value1; + Ark_NativeXComponentParameters value2; + }; +} Ark_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters; +typedef struct Opt_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters { Ark_Tag tag; - Ark_ViewportRect value; -} Opt_ViewportRect; + Ark_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters value; +} Opt_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters; typedef struct Ark_Area { /* kind: Interface */ Ark_Length width; @@ -17705,6 +19578,22 @@ typedef struct Opt_MouseEvent { Ark_Tag tag; Ark_MouseEvent value; } Opt_MouseEvent; +typedef struct Ark_NativeEmbedInfo { + /* kind: Interface */ + Opt_String id; + Opt_String type; + Opt_String src; + Opt_Position position; + Opt_Int32 width; + Opt_Int32 height; + Opt_String url; + Opt_String tag; + Opt_Map_String_String params; +} Ark_NativeEmbedInfo; +typedef struct Opt_NativeEmbedInfo { + Ark_Tag tag; + Ark_NativeEmbedInfo value; +} Opt_NativeEmbedInfo; typedef struct Ark_NavigationMenuOptions { /* kind: Interface */ Opt_MoreButtonOptions moreButtonOptions; @@ -18195,6 +20084,27 @@ typedef struct Opt_ImageAttachmentInterface { Ark_Tag tag; Ark_ImageAttachmentInterface value; } Opt_ImageAttachmentInterface; +typedef struct Ark_NativeEmbedDataInfo { + /* kind: Interface */ + Opt_NativeEmbedStatus status; + Opt_String surfaceId; + Opt_String embedId; + Opt_NativeEmbedInfo info; +} Ark_NativeEmbedDataInfo; +typedef struct Opt_NativeEmbedDataInfo { + Ark_Tag tag; + Ark_NativeEmbedDataInfo value; +} Opt_NativeEmbedDataInfo; +typedef struct Ark_NativeEmbedTouchInfo { + /* kind: Interface */ + Opt_String embedId; + Opt_TouchEvent touchEvent; + Opt_EventResult result; +} Ark_NativeEmbedTouchInfo; +typedef struct Opt_NativeEmbedTouchInfo { + Ark_Tag tag; + Ark_NativeEmbedTouchInfo value; +} Opt_NativeEmbedTouchInfo; typedef struct Ark_PopupOptions { /* kind: Interface */ Ark_String message; @@ -18357,8 +20267,8 @@ typedef struct Opt_StyledStringValue { } Opt_StyledStringValue; typedef struct Ark_StyleOptions { /* kind: Interface */ - Opt_Number start; - Opt_Number length; + Opt_Int32 start; + Opt_Int32 length; Ark_StyledStringKey styledKey; Ark_StyledStringValue styledValue; } Ark_StyleOptions; @@ -18775,11 +20685,9 @@ typedef struct GENERATED_ArkUICalendarPickerModifier { typedef struct GENERATED_ArkUICanvasModifier { Ark_NativePointer (*construct)(Ark_Int32 id, Ark_Int32 flags); - void (*setCanvasOptions0)(Ark_NativePointer node, - const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext* context); - void (*setCanvasOptions1)(Ark_NativePointer node, - const Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext* context, - const Ark_ImageAIOptions* imageAIOptions); + void (*setCanvasOptions)(Ark_NativePointer node, + const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext* context, + const Opt_ImageAIOptions* imageAIOptions); void (*setOnReady)(Ark_NativePointer node, const Opt_VoidCallback* value); void (*setEnableAnalyzer)(Ark_NativePointer node, @@ -18828,7 +20736,7 @@ typedef struct GENERATED_ArkUICircleModifier { Ark_NativePointer (*construct)(Ark_Int32 id, Ark_Int32 flags); void (*setCircleOptions)(Ark_NativePointer node, - const Opt_CircleOptions* value); + const Opt_CircleOptions* options); } GENERATED_ArkUICircleModifier; typedef struct GENERATED_ArkUIColumnModifier { @@ -18840,8 +20748,6 @@ typedef struct GENERATED_ArkUIColumnModifier { const Opt_HorizontalAlign* value); void (*setJustifyContent)(Ark_NativePointer node, const Opt_FlexAlign* value); - void (*setPointLight)(Ark_NativePointer node, - const Opt_PointLightStyle* value); void (*setReverse)(Ark_NativePointer node, const Opt_Boolean* value); } GENERATED_ArkUIColumnModifier; @@ -19055,10 +20961,10 @@ typedef struct GENERATED_ArkUICommonMethodModifier { const Opt_Union_Position_Edges_LocalizedEdges* value); void (*setEnabled)(Ark_NativePointer node, const Opt_Boolean* value); - void (*setAlignRules0)(Ark_NativePointer node, - const Opt_AlignRuleOption* value); - void (*setAlignRules1)(Ark_NativePointer node, - const Opt_LocalizedAlignRuleOptions* value); + void (*setAlignRulesWithAlignRuleOptionTypedValue)(Ark_NativePointer node, + const Opt_AlignRuleOption* value); + void (*setAlignRulesWithLocalizedAlignRuleOptionsTypedValue)(Ark_NativePointer node, + const Opt_LocalizedAlignRuleOptions* value); void (*setAspectRatio)(Ark_NativePointer node, const Opt_Number* value); void (*setClickEffect)(Ark_NativePointer node, @@ -19115,10 +21021,10 @@ typedef struct GENERATED_ArkUICommonMethodModifier { const Opt_Number* value); void (*setPixelStretchEffect)(Ark_NativePointer node, const Opt_PixelStretchEffectOptions* value); - void (*setAccessibilityGroup0)(Ark_NativePointer node, - const Opt_Boolean* value); - void (*setAccessibilityText0)(Ark_NativePointer node, - const Opt_String* value); + void (*setAccessibilityGroupWithValue)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setAccessibilityTextOfStringType)(Ark_NativePointer node, + const Opt_String* value); void (*setAccessibilityNextFocusId)(Ark_NativePointer node, const Opt_String* value); void (*setAccessibilityDefaultFocus)(Ark_NativePointer node, @@ -19127,18 +21033,18 @@ typedef struct GENERATED_ArkUICommonMethodModifier { const Opt_AccessibilitySamePageMode* value); void (*setAccessibilityScrollTriggerable)(Ark_NativePointer node, const Opt_Boolean* value); - void (*setAccessibilityText1)(Ark_NativePointer node, - const Opt_Resource* value); + void (*setAccessibilityTextOfResourceType)(Ark_NativePointer node, + const Opt_Resource* value); void (*setAccessibilityRole)(Ark_NativePointer node, const Opt_AccessibilityRoleType* value); void (*setOnAccessibilityFocus)(Ark_NativePointer node, const Opt_AccessibilityFocusCallback* value); void (*setAccessibilityTextHint)(Ark_NativePointer node, const Opt_String* value); - void (*setAccessibilityDescription0)(Ark_NativePointer node, - const Opt_String* value); - void (*setAccessibilityDescription1)(Ark_NativePointer node, - const Opt_Resource* value); + void (*setAccessibilityDescriptionOfStringType)(Ark_NativePointer node, + const Opt_String* value); + void (*setAccessibilityDescriptionOfResourceType)(Ark_NativePointer node, + const Opt_Resource* value); void (*setAccessibilityLevel)(Ark_NativePointer node, const Opt_String* value); void (*setAccessibilityVirtualNode)(Ark_NativePointer node, @@ -19304,9 +21210,9 @@ typedef struct GENERATED_ArkUICommonMethodModifier { const Opt_Union_String_FunctionKey* value, const Opt_Array_ModifierKey* keys, const Opt_Callback_Void* action); - void (*setAccessibilityGroup1)(Ark_NativePointer node, - const Opt_Boolean* isGroup, - const Opt_AccessibilityOptions* accessibilityOptions); + void (*setAccessibilityGroupWithConfig)(Ark_NativePointer node, + const Opt_Boolean* isGroup, + const Opt_AccessibilityOptions* config); void (*setOnGestureRecognizerJudgeBegin1)(Ark_NativePointer node, const Opt_GestureRecognizerJudgeBeginCallback* callback_, const Opt_Boolean* exposeInnerGesture); @@ -19450,7 +21356,7 @@ typedef struct GENERATED_ArkUIEmbeddedComponentModifier { Ark_Int32 flags); void (*setEmbeddedComponentOptions)(Ark_NativePointer node, const Ark_Want* loader, - Ark_EmbeddedType type); + const Opt_EmbeddedType* type); void (*setOnTerminated)(Ark_NativePointer node, const Opt_Callback_TerminationInfo_Void* value); void (*setOnError)(Ark_NativePointer node, @@ -19462,8 +21368,6 @@ typedef struct GENERATED_ArkUIFlexModifier { Ark_Int32 flags); void (*setFlexOptions)(Ark_NativePointer node, const Opt_FlexOptions* value); - void (*setPointLight)(Ark_NativePointer node, - const Opt_PointLightStyle* value); } GENERATED_ArkUIFlexModifier; typedef struct GENERATED_ArkUIFlowItemModifier { @@ -19564,6 +21468,12 @@ typedef struct GENERATED_ArkUIGridModifier { const Opt_Length* value); void (*setRowsGap)(Ark_NativePointer node, const Opt_Length* value); + void (*setScrollBarWidth)(Ark_NativePointer node, + const Opt_Union_Number_String* value); + void (*setScrollBarColor)(Ark_NativePointer node, + const Opt_Union_Color_Number_String* value); + void (*setScrollBar)(Ark_NativePointer node, + const Opt_BarState* value); void (*setOnScrollBarUpdate)(Ark_NativePointer node, const Opt_Callback_Number_Number_ComputedBarAttribute* value); void (*setOnScrollIndex)(Ark_NativePointer node, @@ -19594,6 +21504,12 @@ typedef struct GENERATED_ArkUIGridModifier { const Opt_Callback_ItemDragInfo_Number_Void* value); void (*setOnItemDrop)(Ark_NativePointer node, const Opt_Callback_ItemDragInfo_Number_Number_Boolean_Void* value); + void (*setNestedScroll)(Ark_NativePointer node, + const Opt_NestedScrollOptions* value); + void (*setEnableScrollInteraction)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setFriction)(Ark_NativePointer node, + const Opt_Union_Number_Resource* value); void (*setAlignItems)(Ark_NativePointer node, const Opt_GridItemAlignment* value); void (*setOnScrollFrameBegin)(Ark_NativePointer node, @@ -19605,6 +21521,9 @@ typedef struct GENERATED_ArkUIGridModifier { void (*setCachedCount1)(Ark_NativePointer node, const Opt_Number* count, const Opt_Boolean* show); + void (*setEdgeEffect)(Ark_NativePointer node, + const Opt_EdgeEffect* value, + const Opt_EdgeEffectOptions* options); } GENERATED_ArkUIGridModifier; typedef struct GENERATED_ArkUIGridColModifier { @@ -20081,9 +22000,8 @@ typedef struct GENERATED_ArkUINavDestinationModifier { typedef struct GENERATED_ArkUINavigationModifier { Ark_NativePointer (*construct)(Ark_Int32 id, Ark_Int32 flags); - void (*setNavigationOptions0)(Ark_NativePointer node); - void (*setNavigationOptions1)(Ark_NativePointer node, - Ark_NavPathStack pathInfos); + void (*setNavigationOptions)(Ark_NativePointer node, + Ark_NavPathStack pathInfos); void (*setNavBarWidth)(Ark_NativePointer node, const Opt_Union_Length_Bindable* value); void (*setNavBarPosition)(Ark_NativePointer node, @@ -20163,6 +22081,8 @@ typedef struct GENERATED_ArkUIPathModifier { Ark_Int32 flags); void (*setPathOptions)(Ark_NativePointer node, const Opt_PathOptions* options); + void (*setCommands)(Ark_NativePointer node, + const Opt_String* value); } GENERATED_ArkUIPathModifier; typedef struct GENERATED_ArkUIPatternLockModifier { @@ -20288,8 +22208,12 @@ typedef struct GENERATED_ArkUIRectModifier { Ark_Int32 flags); void (*setRectOptions)(Ark_NativePointer node, const Opt_Union_RectOptions_RoundedRectOptions* options); + void (*setRadiusWidth)(Ark_NativePointer node, + const Opt_Union_F64_String* value); + void (*setRadiusHeight)(Ark_NativePointer node, + const Opt_Union_F64_String* value); void (*setRadius)(Ark_NativePointer node, - const Opt_Union_Number_String_Array_Union_Number_String* value); + const Opt_Union_Length_Array_RadiusItem* value); } GENERATED_ArkUIRectModifier; typedef struct GENERATED_ArkUIRefreshModifier { @@ -20331,10 +22255,8 @@ typedef struct GENERATED_ArkUIRemoteWindowModifier { typedef struct GENERATED_ArkUIRichEditorModifier { Ark_NativePointer (*construct)(Ark_Int32 id, Ark_Int32 flags); - void (*setRichEditorOptions0)(Ark_NativePointer node, - const Ark_RichEditorOptions* value); - void (*setRichEditorOptions1)(Ark_NativePointer node, - const Ark_RichEditorStyledStringOptions* options); + void (*setRichEditorOptions)(Ark_NativePointer node, + const Ark_Union_RichEditorOptions_RichEditorStyledStringOptions* options); void (*setOnReady)(Ark_NativePointer node, const Opt_VoidCallback* value); void (*setOnSelect)(Ark_NativePointer node, @@ -20440,8 +22362,6 @@ typedef struct GENERATED_ArkUIRowModifier { const Opt_VerticalAlign* value); void (*setJustifyContent)(Ark_NativePointer node, const Opt_FlexAlign* value); - void (*setPointLight)(Ark_NativePointer node, - const Opt_PointLightStyle* value); void (*setReverse)(Ark_NativePointer node, const Opt_Boolean* value); } GENERATED_ArkUIRowModifier; @@ -20645,7 +22565,7 @@ typedef struct GENERATED_ArkUISearchModifier { void (*setKeyboardAppearance)(Ark_NativePointer node, const Opt_KeyboardAppearance* value); void (*setSearchButton)(Ark_NativePointer node, - const Opt_ResourceStr* value, + const Opt_String* value, const Opt_SearchButtonOptions* option); void (*setInputFilter)(Ark_NativePointer node, const Opt_ResourceStr* value, @@ -20712,6 +22632,8 @@ typedef struct GENERATED_ArkUISelectModifier { const Opt_AvoidanceMode* value); void (*setMenuOutline)(Ark_NativePointer node, const Opt_MenuOutlineOptions* value); + void (*setBackgroundColor)(Ark_NativePointer node, + const Opt_ResourceColor* value); void (*setMenuAlign)(Ark_NativePointer node, const Opt_MenuAlignType* alignType, const Opt_Offset* offset); @@ -20729,7 +22651,7 @@ typedef struct GENERATED_ArkUIShapeModifier { void (*setFill)(Ark_NativePointer node, const Opt_ResourceColor* value); void (*setStrokeDashOffset)(Ark_NativePointer node, - const Opt_Length* value); + const Opt_Union_F64_String* value); void (*setStrokeDashArray)(Ark_NativePointer node, const Opt_Array_Length* value); void (*setStrokeLineCap)(Ark_NativePointer node, @@ -20737,19 +22659,19 @@ typedef struct GENERATED_ArkUIShapeModifier { void (*setStrokeLineJoin)(Ark_NativePointer node, const Opt_LineJoinStyle* value); void (*setStrokeMiterLimit)(Ark_NativePointer node, - const Opt_Length* value); + const Opt_Union_F64_String* value); void (*setStrokeOpacity)(Ark_NativePointer node, - const Opt_Union_Number_String_Resource* value); + const Opt_Union_F64_String_Resource* value); void (*setFillOpacity)(Ark_NativePointer node, - const Opt_Union_Number_String_Resource* value); + const Opt_Union_F64_String_Resource* value); void (*setStrokeWidth)(Ark_NativePointer node, - const Opt_Length* value); + const Opt_Union_F64_String* value); void (*setAntiAlias)(Ark_NativePointer node, const Opt_Boolean* value); void (*setMesh)(Ark_NativePointer node, - const Opt_Array_Number* value, - const Opt_Number* column, - const Opt_Number* row); + const Opt_Array_Float64* value, + const Opt_Int32* column, + const Opt_Int32* row); } GENERATED_ArkUIShapeModifier; typedef struct GENERATED_ArkUISideBarContainerModifier { @@ -20765,14 +22687,12 @@ typedef struct GENERATED_ArkUISideBarContainerModifier { const Opt_Boolean* value); void (*setOnChange)(Ark_NativePointer node, const Opt_Callback_Boolean_Void* value); - void (*setSideBarWidth0)(Ark_NativePointer node, - const Opt_Union_Number_Bindable* value); + void (*setSideBarWidth)(Ark_NativePointer node, + const Opt_Union_Length_Bindable* value); void (*setMinSideBarWidth0)(Ark_NativePointer node, const Opt_Number* value); void (*setMaxSideBarWidth0)(Ark_NativePointer node, const Opt_Number* value); - void (*setSideBarWidth1)(Ark_NativePointer node, - const Opt_Length* value); void (*setMinSideBarWidth1)(Ark_NativePointer node, const Opt_Length* value); void (*setMaxSideBarWidth1)(Ark_NativePointer node, @@ -20871,8 +22791,6 @@ typedef struct GENERATED_ArkUIStackModifier { const Opt_StackOptions* options); void (*setAlignContent)(Ark_NativePointer node, const Opt_Alignment* value); - void (*setPointLight)(Ark_NativePointer node, - const Opt_PointLightStyle* value); } GENERATED_ArkUIStackModifier; typedef struct GENERATED_ArkUIStepperModifier { @@ -21218,7 +23136,7 @@ typedef struct GENERATED_ArkUITextAreaModifier { void (*setFontStyle)(Ark_NativePointer node, const Opt_FontStyle* value); void (*setFontWeight)(Ark_NativePointer node, - const Opt_Union_Number_FontWeight_ResourceStr* value); + const Opt_Union_Number_FontWeight_String* value); void (*setFontFamily)(Ark_NativePointer node, const Opt_ResourceStr* value); void (*setTextOverflow)(Ark_NativePointer node, @@ -21393,7 +23311,7 @@ typedef struct GENERATED_ArkUITextInputModifier { void (*setFontStyle)(Ark_NativePointer node, const Opt_FontStyle* value); void (*setFontWeight)(Ark_NativePointer node, - const Opt_Union_Number_FontWeight_ResourceStr* value); + const Opt_Union_Number_FontWeight_String* value); void (*setFontFamily)(Ark_NativePointer node, const Opt_ResourceStr* value); void (*setOnCopy)(Ark_NativePointer node, @@ -21609,6 +23527,13 @@ typedef struct GENERATED_ArkUIToggleModifier { const Opt_SwitchStyle* value); } GENERATED_ArkUIToggleModifier; +typedef struct GENERATED_ArkUIToolBarItemModifier { + Ark_NativePointer (*construct)(Ark_Int32 id, + Ark_Int32 flags); + void (*setToolBarItemOptions)(Ark_NativePointer node, + const Opt_ToolBarItemOptions* options); +} GENERATED_ArkUIToolBarItemModifier; + typedef struct GENERATED_ArkUIUIExtensionComponentModifier { Ark_NativePointer (*construct)(Ark_Int32 id, Ark_Int32 flags); @@ -21618,7 +23543,7 @@ typedef struct GENERATED_ArkUIUIExtensionComponentModifier { void (*setOnRemoteReady)(Ark_NativePointer node, const Opt_Callback_UIExtensionProxy_Void* value); void (*setOnReceive)(Ark_NativePointer node, - const Opt_Callback_Map_String_Object_Void* value); + const Opt_Callback_Map_String_RecordData_Void* value); void (*setOnError)(Ark_NativePointer node, const Opt_ErrorCallback* value); void (*setOnTerminated)(Ark_NativePointer node, @@ -21661,13 +23586,11 @@ typedef struct GENERATED_ArkUIVideoModifier { void (*setOnError)(Ark_NativePointer node, const Opt_Callback_Void* value); void (*setOnStop)(Ark_NativePointer node, - const Opt_Callback_Void* value); + const Opt_VoidCallback* value); void (*setEnableAnalyzer)(Ark_NativePointer node, const Opt_Boolean* value); void (*setAnalyzerConfig)(Ark_NativePointer node, const Opt_ImageAnalyzerConfig* value); - void (*setSurfaceBackgroundColor)(Ark_NativePointer node, - const Opt_ColorMetrics* value); void (*setEnableShortcutKey)(Ark_NativePointer node, const Opt_Boolean* value); } GENERATED_ArkUIVideoModifier; @@ -21704,6 +23627,253 @@ typedef struct GENERATED_ArkUIWaterFlowModifier { const Opt_Boolean* show); } GENERATED_ArkUIWaterFlowModifier; +typedef struct GENERATED_ArkUIWebModifier { + Ark_NativePointer (*construct)(Ark_Int32 id, + Ark_Int32 flags); + void (*setWebOptions)(Ark_NativePointer node, + const Ark_WebOptions* value); + void (*setJavaScriptAccess)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setFileAccess)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setOnlineImageAccess)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setDomStorageAccess)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setImageAccess)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setMixedMode)(Ark_NativePointer node, + const Opt_MixedMode* value); + void (*setZoomAccess)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setGeolocationAccess)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setJavaScriptProxy)(Ark_NativePointer node, + const Opt_JavaScriptProxy* value); + void (*setCacheMode)(Ark_NativePointer node, + const Opt_CacheMode* value); + void (*setDarkMode)(Ark_NativePointer node, + const Opt_WebDarkMode* value); + void (*setForceDarkAccess)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setMediaOptions)(Ark_NativePointer node, + const Opt_WebMediaOptions* value); + void (*setOverviewModeAccess)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setOverScrollMode)(Ark_NativePointer node, + const Opt_OverScrollMode* value); + void (*setBlurOnKeyboardHideMode)(Ark_NativePointer node, + const Opt_BlurOnKeyboardHideMode* value); + void (*setTextZoomRatio)(Ark_NativePointer node, + const Opt_Int32* value); + void (*setDatabaseAccess)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setInitialScale)(Ark_NativePointer node, + const Opt_Float64* value); + void (*setMetaViewport)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setOnPageEnd)(Ark_NativePointer node, + const Opt_Callback_OnPageEndEvent_Void* value); + void (*setOnPageBegin)(Ark_NativePointer node, + const Opt_Callback_OnPageBeginEvent_Void* value); + void (*setOnProgressChange)(Ark_NativePointer node, + const Opt_Callback_OnProgressChangeEvent_Void* value); + void (*setOnTitleReceive)(Ark_NativePointer node, + const Opt_Callback_OnTitleReceiveEvent_Void* value); + void (*setOnGeolocationHide)(Ark_NativePointer node, + const Opt_Callback_Void* value); + void (*setOnGeolocationShow)(Ark_NativePointer node, + const Opt_Callback_OnGeolocationShowEvent_Void* value); + void (*setOnRequestSelected)(Ark_NativePointer node, + const Opt_Callback_Void* value); + void (*setOnAlert)(Ark_NativePointer node, + const Opt_Callback_OnAlertEvent_Boolean* value); + void (*setOnBeforeUnload)(Ark_NativePointer node, + const Opt_Callback_OnBeforeUnloadEvent_Boolean* value); + void (*setOnConfirm)(Ark_NativePointer node, + const Opt_Callback_OnConfirmEvent_Boolean* value); + void (*setOnPrompt)(Ark_NativePointer node, + const Opt_Callback_OnPromptEvent_Boolean* value); + void (*setOnConsole)(Ark_NativePointer node, + const Opt_Callback_OnConsoleEvent_Boolean* value); + void (*setOnErrorReceive)(Ark_NativePointer node, + const Opt_Callback_OnErrorReceiveEvent_Void* value); + void (*setOnHttpErrorReceive)(Ark_NativePointer node, + const Opt_Callback_OnHttpErrorReceiveEvent_Void* value); + void (*setOnDownloadStart)(Ark_NativePointer node, + const Opt_Callback_OnDownloadStartEvent_Void* value); + void (*setOnRefreshAccessedHistory)(Ark_NativePointer node, + const Opt_Callback_OnRefreshAccessedHistoryEvent_Void* value); + void (*setOnRenderExited)(Ark_NativePointer node, + const Opt_Callback_OnRenderExitedEvent_Void* value); + void (*setOnShowFileSelector)(Ark_NativePointer node, + const Opt_Callback_OnShowFileSelectorEvent_Boolean* value); + void (*setOnResourceLoad)(Ark_NativePointer node, + const Opt_Callback_OnResourceLoadEvent_Void* value); + void (*setOnFullScreenExit)(Ark_NativePointer node, + const Opt_Callback_Void* value); + void (*setOnFullScreenEnter)(Ark_NativePointer node, + const Opt_OnFullScreenEnterCallback* value); + void (*setOnScaleChange)(Ark_NativePointer node, + const Opt_Callback_OnScaleChangeEvent_Void* value); + void (*setOnHttpAuthRequest)(Ark_NativePointer node, + const Opt_Callback_OnHttpAuthRequestEvent_Boolean* value); + void (*setOnInterceptRequest)(Ark_NativePointer node, + const Opt_Callback_OnInterceptRequestEvent_WebResourceResponse* value); + void (*setOnPermissionRequest)(Ark_NativePointer node, + const Opt_Callback_OnPermissionRequestEvent_Void* value); + void (*setOnScreenCaptureRequest)(Ark_NativePointer node, + const Opt_Callback_OnScreenCaptureRequestEvent_Void* value); + void (*setOnContextMenuShow)(Ark_NativePointer node, + const Opt_Callback_OnContextMenuShowEvent_Boolean* value); + void (*setOnContextMenuHide)(Ark_NativePointer node, + const Opt_OnContextMenuHideCallback* value); + void (*setMediaPlayGestureAccess)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setOnSearchResultReceive)(Ark_NativePointer node, + const Opt_Callback_OnSearchResultReceiveEvent_Void* value); + void (*setOnScroll)(Ark_NativePointer node, + const Opt_Callback_OnScrollEvent_Void* value); + void (*setOnSslErrorEventReceive)(Ark_NativePointer node, + const Opt_Callback_OnSslErrorEventReceiveEvent_Void* value); + void (*setOnSslErrorEvent)(Ark_NativePointer node, + const Opt_OnSslErrorEventCallback* value); + void (*setOnClientAuthenticationRequest)(Ark_NativePointer node, + const Opt_Callback_OnClientAuthenticationEvent_Void* value); + void (*setOnWindowNew)(Ark_NativePointer node, + const Opt_Callback_OnWindowNewEvent_Void* value); + void (*setOnWindowExit)(Ark_NativePointer node, + const Opt_Callback_Void* value); + void (*setMultiWindowAccess)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setOnInterceptKeyEvent)(Ark_NativePointer node, + const Opt_Callback_KeyEvent_Boolean* value); + void (*setWebStandardFont)(Ark_NativePointer node, + const Opt_String* value); + void (*setWebSerifFont)(Ark_NativePointer node, + const Opt_String* value); + void (*setWebSansSerifFont)(Ark_NativePointer node, + const Opt_String* value); + void (*setWebFixedFont)(Ark_NativePointer node, + const Opt_String* value); + void (*setWebFantasyFont)(Ark_NativePointer node, + const Opt_String* value); + void (*setWebCursiveFont)(Ark_NativePointer node, + const Opt_String* value); + void (*setDefaultFixedFontSize)(Ark_NativePointer node, + const Opt_Int32* value); + void (*setDefaultFontSize)(Ark_NativePointer node, + const Opt_Int32* value); + void (*setMinFontSize)(Ark_NativePointer node, + const Opt_Int32* value); + void (*setMinLogicalFontSize)(Ark_NativePointer node, + const Opt_Int32* value); + void (*setDefaultTextEncodingFormat)(Ark_NativePointer node, + const Opt_String* value); + void (*setForceDisplayScrollBar)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setBlockNetwork)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setHorizontalScrollBarAccess)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setVerticalScrollBarAccess)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setOnTouchIconUrlReceived)(Ark_NativePointer node, + const Opt_Callback_OnTouchIconUrlReceivedEvent_Void* value); + void (*setOnFaviconReceived)(Ark_NativePointer node, + const Opt_Callback_OnFaviconReceivedEvent_Void* value); + void (*setOnPageVisible)(Ark_NativePointer node, + const Opt_Callback_OnPageVisibleEvent_Void* value); + void (*setOnDataResubmitted)(Ark_NativePointer node, + const Opt_Callback_OnDataResubmittedEvent_Void* value); + void (*setPinchSmooth)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setAllowWindowOpenMethod)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setOnAudioStateChanged)(Ark_NativePointer node, + const Opt_Callback_OnAudioStateChangedEvent_Void* value); + void (*setOnFirstContentfulPaint)(Ark_NativePointer node, + const Opt_Callback_OnFirstContentfulPaintEvent_Void* value); + void (*setOnFirstMeaningfulPaint)(Ark_NativePointer node, + const Opt_OnFirstMeaningfulPaintCallback* value); + void (*setOnLargestContentfulPaint)(Ark_NativePointer node, + const Opt_OnLargestContentfulPaintCallback* value); + void (*setOnLoadIntercept)(Ark_NativePointer node, + const Opt_Callback_OnLoadInterceptEvent_Boolean* value); + void (*setOnControllerAttached)(Ark_NativePointer node, + const Opt_Callback_Void* value); + void (*setOnOverScroll)(Ark_NativePointer node, + const Opt_Callback_OnOverScrollEvent_Void* value); + void (*setOnSafeBrowsingCheckResult)(Ark_NativePointer node, + const Opt_OnSafeBrowsingCheckResultCallback* value); + void (*setOnNavigationEntryCommitted)(Ark_NativePointer node, + const Opt_OnNavigationEntryCommittedCallback* value); + void (*setOnIntelligentTrackingPreventionResult)(Ark_NativePointer node, + const Opt_OnIntelligentTrackingPreventionCallback* value); + void (*setJavaScriptOnDocumentStart)(Ark_NativePointer node, + const Opt_Array_ScriptItem* value); + void (*setJavaScriptOnDocumentEnd)(Ark_NativePointer node, + const Opt_Array_ScriptItem* value); + void (*setLayoutMode)(Ark_NativePointer node, + const Opt_WebLayoutMode* value); + void (*setNestedScroll)(Ark_NativePointer node, + const Opt_Union_NestedScrollOptions_NestedScrollOptionsExt* value); + void (*setEnableNativeEmbedMode)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setOnNativeEmbedLifecycleChange)(Ark_NativePointer node, + const Opt_Callback_NativeEmbedDataInfo_Void* value); + void (*setOnNativeEmbedVisibilityChange)(Ark_NativePointer node, + const Opt_OnNativeEmbedVisibilityChangeCallback* value); + void (*setOnNativeEmbedGestureEvent)(Ark_NativePointer node, + const Opt_Callback_NativeEmbedTouchInfo_Void* value); + void (*setCopyOptions)(Ark_NativePointer node, + const Opt_CopyOptions* value); + void (*setOnOverrideUrlLoading)(Ark_NativePointer node, + const Opt_OnOverrideUrlLoadingCallback* value); + void (*setTextAutosizing)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setEnableNativeMediaPlayer)(Ark_NativePointer node, + const Opt_NativeMediaPlayerConfig* value); + void (*setOnRenderProcessNotResponding)(Ark_NativePointer node, + const Opt_OnRenderProcessNotRespondingCallback* value); + void (*setOnRenderProcessResponding)(Ark_NativePointer node, + const Opt_OnRenderProcessRespondingCallback* value); + void (*setOnViewportFitChanged)(Ark_NativePointer node, + const Opt_OnViewportFitChangedCallback* value); + void (*setOnInterceptKeyboardAttach)(Ark_NativePointer node, + const Opt_WebKeyboardCallback* value); + void (*setOnAdsBlocked)(Ark_NativePointer node, + const Opt_OnAdsBlockedCallback* value); + void (*setKeyboardAvoidMode)(Ark_NativePointer node, + const Opt_WebKeyboardAvoidMode* value); + void (*setEditMenuOptions)(Ark_NativePointer node, + const Opt_EditMenuOptions* value); + void (*setEnableHapticFeedback)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setOptimizeParserBudget)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setEnableFollowSystemFontWeight)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setEnableWebAVSession)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setRunJavaScriptOnDocumentStart)(Ark_NativePointer node, + const Opt_Array_ScriptItem* value); + void (*setRunJavaScriptOnDocumentEnd)(Ark_NativePointer node, + const Opt_Array_ScriptItem* value); + void (*setRunJavaScriptOnHeadEnd)(Ark_NativePointer node, + const Opt_Array_ScriptItem* value); + void (*setNativeEmbedOptions)(Ark_NativePointer node, + const Opt_EmbedOptions* value); + void (*setRegisterNativeEmbedRule)(Ark_NativePointer node, + const Opt_String* tag, + const Opt_String* type); + void (*setBindSelectionMenu)(Ark_NativePointer node, + const Opt_WebElementType* elementType, + const Opt_CustomNodeBuilder* content, + const Opt_WebResponseType* responseType, + const Opt_SelectionMenuOptionsExt* options); +} GENERATED_ArkUIWebModifier; + typedef struct GENERATED_ArkUIWindowSceneModifier { Ark_NativePointer (*construct)(Ark_Int32 id, Ark_Int32 flags); @@ -21724,14 +23894,10 @@ typedef struct GENERATED_ArkUIWithThemeModifier { typedef struct GENERATED_ArkUIXComponentModifier { Ark_NativePointer (*construct)(Ark_Int32 id, Ark_Int32 flags); - void (*setXComponentOptions0)(Ark_NativePointer node, - const Ark_XComponentParameter* value); - void (*setXComponentOptions1)(Ark_NativePointer node, - const Ark_XComponentOptions* options); - void (*setXComponentOptions2)(Ark_NativePointer node, - const Ark_NativeXComponentParameters* params); + void (*setXComponentOptions)(Ark_NativePointer node, + const Ark_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters* params); void (*setOnLoad)(Ark_NativePointer node, - const Opt_OnNativeLoadCallback* value); + const Opt_VoidCallback* value); void (*setOnDestroy)(Ark_NativePointer node, const Opt_VoidCallback* value); void (*setEnableAnalyzer)(Ark_NativePointer node, @@ -21739,9 +23905,7 @@ typedef struct GENERATED_ArkUIXComponentModifier { void (*setEnableSecure)(Ark_NativePointer node, const Opt_Boolean* value); void (*setHdrBrightness)(Ark_NativePointer node, - const Opt_Number* value); - void (*setEnableTransparentLayer)(Ark_NativePointer node, - const Opt_Boolean* value); + const Opt_Float64* value); } GENERATED_ArkUIXComponentModifier; // Accessors @@ -22180,12 +24344,12 @@ typedef struct GENERATED_ArkUICanvasRendererAccessor { Ark_String (*getGlobalCompositeOperation)(Ark_CanvasRenderer peer); void (*setGlobalCompositeOperation)(Ark_CanvasRenderer peer, const Ark_String* globalCompositeOperation); - Ark_Union_String_Number_CanvasGradient_CanvasPattern (*getFillStyle)(Ark_CanvasRenderer peer); + Ark_Union_String_I32_CanvasGradient_CanvasPattern (*getFillStyle)(Ark_CanvasRenderer peer); void (*setFillStyle)(Ark_CanvasRenderer peer, - const Ark_Union_String_Number_CanvasGradient_CanvasPattern* fillStyle); - Ark_Union_String_Number_CanvasGradient_CanvasPattern (*getStrokeStyle)(Ark_CanvasRenderer peer); + const Ark_Union_String_I32_CanvasGradient_CanvasPattern* fillStyle); + Ark_Union_String_I32_CanvasGradient_CanvasPattern (*getStrokeStyle)(Ark_CanvasRenderer peer); void (*setStrokeStyle)(Ark_CanvasRenderer peer, - const Ark_Union_String_Number_CanvasGradient_CanvasPattern* strokeStyle); + const Ark_Union_String_I32_CanvasGradient_CanvasPattern* strokeStyle); Ark_String (*getFilter)(Ark_CanvasRenderer peer); void (*setFilter)(Ark_CanvasRenderer peer, const Ark_String* filter); @@ -22335,6 +24499,19 @@ typedef struct GENERATED_ArkUIClickEventAccessor { const Callback_Void* preventDefault); } GENERATED_ArkUIClickEventAccessor; +typedef struct GENERATED_ArkUIClientAuthenticationHandlerAccessor { + void (*destroyPeer)(Ark_ClientAuthenticationHandler peer); + Ark_ClientAuthenticationHandler (*construct)(); + Ark_NativePointer (*getFinalizer)(); + void (*confirm0)(Ark_ClientAuthenticationHandler peer, + const Ark_String* priKeyFile, + const Ark_String* certChainFile); + void (*confirm1)(Ark_ClientAuthenticationHandler peer, + const Ark_String* authUri); + void (*cancel)(Ark_ClientAuthenticationHandler peer); + void (*ignore)(Ark_ClientAuthenticationHandler peer); +} GENERATED_ArkUIClientAuthenticationHandlerAccessor; + typedef struct GENERATED_ArkUIColorContentAccessor { void (*destroyPeer)(Ark_ColorContent peer); Ark_ColorContent (*construct)(); @@ -22444,6 +24621,16 @@ typedef struct GENERATED_ArkUIComponentContentAccessor { void (*updateConfiguration)(Ark_ComponentContent peer); } GENERATED_ArkUIComponentContentAccessor; +typedef struct GENERATED_ArkUIConsoleMessageAccessor { + void (*destroyPeer)(Ark_ConsoleMessage peer); + Ark_ConsoleMessage (*construct)(); + Ark_NativePointer (*getFinalizer)(); + Ark_String (*getMessage)(Ark_ConsoleMessage peer); + Ark_String (*getSourceId)(Ark_ConsoleMessage peer); + Ark_Number (*getLineNumber)(Ark_ConsoleMessage peer); + Ark_MessageLevel (*getMessageLevel)(Ark_ConsoleMessage peer); +} GENERATED_ArkUIConsoleMessageAccessor; + typedef struct GENERATED_ArkUIContentModifierHelperAccessor { void (*contentModifierButton)(Ark_NativePointer node, const Ark_Object* contentModifier, @@ -22505,6 +24692,14 @@ typedef struct GENERATED_ArkUIContextAccessor { Ark_NativePointer (*getFinalizer)(); } GENERATED_ArkUIContextAccessor; +typedef struct GENERATED_ArkUIControllerHandlerAccessor { + void (*destroyPeer)(Ark_ControllerHandler peer); + Ark_ControllerHandler (*construct)(); + Ark_NativePointer (*getFinalizer)(); + void (*setWebController)(Ark_ControllerHandler peer, + Ark_webview_WebviewController controller); +} GENERATED_ArkUIControllerHandlerAccessor; + typedef struct GENERATED_ArkUICurves_ICurveAccessor { void (*destroyPeer)(Ark_curves_ICurve peer); Ark_curves_ICurve (*construct)(); @@ -22534,6 +24729,14 @@ typedef struct GENERATED_ArkUICustomSpanAccessor { const Callback_DrawContext_CustomSpanDrawInfo_Void* onDraw); } GENERATED_ArkUICustomSpanAccessor; +typedef struct GENERATED_ArkUIDataResubmissionHandlerAccessor { + void (*destroyPeer)(Ark_DataResubmissionHandler peer); + Ark_DataResubmissionHandler (*construct)(); + Ark_NativePointer (*getFinalizer)(); + void (*resend)(Ark_DataResubmissionHandler peer); + void (*cancel)(Ark_DataResubmissionHandler peer); +} GENERATED_ArkUIDataResubmissionHandlerAccessor; + typedef struct GENERATED_ArkUIDatePickerDialogAccessor { void (*destroyPeer)(Ark_DatePickerDialog peer); Ark_DatePickerDialog (*construct)(); @@ -23374,6 +25577,17 @@ typedef struct GENERATED_ArkUIEventEmulatorAccessor { const Ark_String* text); } GENERATED_ArkUIEventEmulatorAccessor; +typedef struct GENERATED_ArkUIEventResultAccessor { + void (*destroyPeer)(Ark_EventResult peer); + Ark_EventResult (*construct)(); + Ark_NativePointer (*getFinalizer)(); + void (*setGestureEventResult0)(Ark_EventResult peer, + Ark_Boolean result); + void (*setGestureEventResult1)(Ark_EventResult peer, + Ark_Boolean result, + Ark_Boolean stopPropagation); +} GENERATED_ArkUIEventResultAccessor; + typedef struct GENERATED_ArkUIEventTargetInfoAccessor { void (*destroyPeer)(Ark_EventTargetInfo peer); Ark_EventTargetInfo (*construct)(); @@ -23394,6 +25608,25 @@ typedef struct GENERATED_ArkUIExtendableComponentAccessor { Opt_uiObserver_RouterPageInfo (*queryRouterPageInfo)(Ark_ExtendableComponent peer); } GENERATED_ArkUIExtendableComponentAccessor; +typedef struct GENERATED_ArkUIFileSelectorParamAccessor { + void (*destroyPeer)(Ark_FileSelectorParam peer); + Ark_FileSelectorParam (*construct)(); + Ark_NativePointer (*getFinalizer)(); + Ark_String (*getTitle)(Ark_FileSelectorParam peer); + Ark_FileSelectorMode (*getMode)(Ark_FileSelectorParam peer); + Array_String (*getAcceptType)(Ark_FileSelectorParam peer); + Ark_Boolean (*isCapture)(Ark_FileSelectorParam peer); + Array_String (*getMimeTypes)(Ark_FileSelectorParam peer); +} GENERATED_ArkUIFileSelectorParamAccessor; + +typedef struct GENERATED_ArkUIFileSelectorResultAccessor { + void (*destroyPeer)(Ark_FileSelectorResult peer); + Ark_FileSelectorResult (*construct)(); + Ark_NativePointer (*getFinalizer)(); + void (*handleFileList)(Ark_FileSelectorResult peer, + const Array_String* fileList); +} GENERATED_ArkUIFileSelectorResultAccessor; + typedef struct GENERATED_ArkUIFocusAxisEventAccessor { void (*destroyPeer)(Ark_FocusAxisEvent peer); Ark_FocusAxisEvent (*construct)(); @@ -23484,6 +25717,13 @@ typedef struct GENERATED_ArkUIFrictionMotionAccessor { Ark_NativePointer (*getFinalizer)(); } GENERATED_ArkUIFrictionMotionAccessor; +typedef struct GENERATED_ArkUIFullScreenExitHandlerAccessor { + void (*destroyPeer)(Ark_FullScreenExitHandler peer); + Ark_FullScreenExitHandler (*construct)(); + Ark_NativePointer (*getFinalizer)(); + void (*exitFullScreen)(Ark_FullScreenExitHandler peer); +} GENERATED_ArkUIFullScreenExitHandlerAccessor; + typedef struct GENERATED_ArkUIGestureAccessor { void (*destroyPeer)(Ark_Gesture peer); Ark_Gesture (*construct)(); @@ -23631,6 +25871,17 @@ typedef struct GENERATED_ArkUIHoverEventAccessor { const Callback_Void* stopPropagation); } GENERATED_ArkUIHoverEventAccessor; +typedef struct GENERATED_ArkUIHttpAuthHandlerAccessor { + void (*destroyPeer)(Ark_HttpAuthHandler peer); + Ark_HttpAuthHandler (*construct)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Boolean (*confirm)(Ark_HttpAuthHandler peer, + const Ark_String* userName, + const Ark_String* password); + void (*cancel)(Ark_HttpAuthHandler peer); + Ark_Boolean (*isHttpAuthInfoSaved)(Ark_HttpAuthHandler peer); +} GENERATED_ArkUIHttpAuthHandlerAccessor; + typedef struct GENERATED_ArkUIImageAnalyzerControllerAccessor { void (*destroyPeer)(Ark_ImageAnalyzerController peer); Ark_ImageAnalyzerController (*construct)(); @@ -23674,12 +25925,12 @@ typedef struct GENERATED_ArkUIImageDataAccessor { Ark_Buffer (*getData)(Ark_ImageData peer); void (*setData)(Ark_ImageData peer, const Ark_Buffer* data); - Ark_Number (*getHeight)(Ark_ImageData peer); + Ark_Int32 (*getHeight)(Ark_ImageData peer); void (*setHeight)(Ark_ImageData peer, - const Ark_Number* height); - Ark_Number (*getWidth)(Ark_ImageData peer); + Ark_Int32 height); + Ark_Int32 (*getWidth)(Ark_ImageData peer); void (*setWidth)(Ark_ImageData peer, - const Ark_Number* width); + Ark_Int32 width); } GENERATED_ArkUIImageDataAccessor; typedef struct GENERATED_ArkUIIndicatorComponentControllerAccessor { @@ -23700,6 +25951,26 @@ typedef struct GENERATED_ArkUIIUIContextAccessor { Ark_Boolean isFrozen); } GENERATED_ArkUIIUIContextAccessor; +typedef struct GENERATED_ArkUIJsGeolocationAccessor { + void (*destroyPeer)(Ark_JsGeolocation peer); + Ark_JsGeolocation (*construct)(); + Ark_NativePointer (*getFinalizer)(); + void (*invoke)(Ark_JsGeolocation peer, + const Ark_String* origin, + Ark_Boolean allow, + Ark_Boolean retain); +} GENERATED_ArkUIJsGeolocationAccessor; + +typedef struct GENERATED_ArkUIJsResultAccessor { + void (*destroyPeer)(Ark_JsResult peer); + Ark_JsResult (*construct)(); + Ark_NativePointer (*getFinalizer)(); + void (*handleCancel)(Ark_JsResult peer); + void (*handleConfirm)(Ark_JsResult peer); + void (*handlePromptConfirm)(Ark_JsResult peer, + const Ark_String* result); +} GENERATED_ArkUIJsResultAccessor; + typedef struct GENERATED_ArkUIKeyEventAccessor { void (*destroyPeer)(Ark_KeyEvent peer); Ark_KeyEvent (*construct)(); @@ -23756,20 +26027,6 @@ typedef struct GENERATED_ArkUILayoutableAccessor { const Opt_Number* uniqueId); } GENERATED_ArkUILayoutableAccessor; -typedef struct GENERATED_ArkUILayoutCallbackAccessor { - void (*destroyPeer)(Ark_LayoutCallback peer); - Ark_LayoutCallback (*construct)(); - Ark_NativePointer (*getFinalizer)(); - void (*onPlaceChildren)(Ark_LayoutCallback peer, - const Ark_GeometryInfo* selfLayoutInfo, - const Array_Layoutable* children, - const Ark_ConstraintSizeOptions* constraint); - Ark_SizeResult (*onMeasureSize)(Ark_LayoutCallback peer, - const Ark_GeometryInfo* selfLayoutInfo, - const Array_Measurable* children, - const Ark_ConstraintSizeOptions* constraint); -} GENERATED_ArkUILayoutCallbackAccessor; - typedef struct GENERATED_ArkUILayoutChildAccessor { void (*destroyPeer)(Ark_LayoutChild peer); Ark_LayoutChild (*construct)(); @@ -23951,15 +26208,15 @@ typedef struct GENERATED_ArkUIMatrix2DAccessor { Opt_Number (*getScaleX)(Ark_Matrix2D peer); void (*setScaleX)(Ark_Matrix2D peer, const Opt_Number* scaleX); - Opt_Number (*getRotateY)(Ark_Matrix2D peer); - void (*setRotateY)(Ark_Matrix2D peer, - const Opt_Number* rotateY); - Opt_Number (*getRotateX)(Ark_Matrix2D peer); - void (*setRotateX)(Ark_Matrix2D peer, - const Opt_Number* rotateX); Opt_Number (*getScaleY)(Ark_Matrix2D peer); void (*setScaleY)(Ark_Matrix2D peer, const Opt_Number* scaleY); + Opt_Number (*getRotateX)(Ark_Matrix2D peer); + void (*setRotateX)(Ark_Matrix2D peer, + const Opt_Number* rotateX); + Opt_Number (*getRotateY)(Ark_Matrix2D peer); + void (*setRotateY)(Ark_Matrix2D peer, + const Opt_Number* rotateY); Opt_Number (*getTranslateX)(Ark_Matrix2D peer); void (*setTranslateX)(Ark_Matrix2D peer, const Opt_Number* translateX); @@ -24334,18 +26591,6 @@ typedef struct GENERATED_ArkUIOffscreenCanvasRenderingContext2DAccessor { Ark_ImageBitmap (*transferToImageBitmap)(Ark_OffscreenCanvasRenderingContext2D peer); } GENERATED_ArkUIOffscreenCanvasRenderingContext2DAccessor; -typedef struct GENERATED_ArkUIPageLifeCycleAccessor { - void (*destroyPeer)(Ark_PageLifeCycle peer); - Ark_PageLifeCycle (*construct)(); - Ark_NativePointer (*getFinalizer)(); - void (*onPageShow)(Ark_PageLifeCycle peer); - void (*onPageHide)(Ark_PageLifeCycle peer); - Ark_Boolean (*onBackPress)(Ark_PageLifeCycle peer); - void (*pageTransition)(Ark_PageLifeCycle peer); - void (*onNewParam)(Ark_PageLifeCycle peer, - const Opt_Object* param); -} GENERATED_ArkUIPageLifeCycleAccessor; - typedef struct GENERATED_ArkUIPanGestureEventAccessor { void (*destroyPeer)(Ark_PanGestureEvent peer); Ark_PanGestureEvent (*construct)(); @@ -24456,6 +26701,17 @@ typedef struct GENERATED_ArkUIPatternLockControllerAccessor { Ark_PatternLockChallengeResult result); } GENERATED_ArkUIPatternLockControllerAccessor; +typedef struct GENERATED_ArkUIPermissionRequestAccessor { + void (*destroyPeer)(Ark_PermissionRequest peer); + Ark_PermissionRequest (*construct)(); + Ark_NativePointer (*getFinalizer)(); + void (*deny)(Ark_PermissionRequest peer); + Ark_String (*getOrigin)(Ark_PermissionRequest peer); + Array_String (*getAccessibleResource)(Ark_PermissionRequest peer); + void (*grant)(Ark_PermissionRequest peer, + const Array_String* resources); +} GENERATED_ArkUIPermissionRequestAccessor; + typedef struct GENERATED_ArkUIPersistentStorageBackendAccessor { Opt_String (*get)(const Ark_String* key); Ark_Boolean (*has)(const Ark_String* key); @@ -24568,6 +26824,12 @@ typedef struct GENERATED_ArkUIPromptActionAccessor { const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise); } GENERATED_ArkUIPromptActionAccessor; +typedef struct GENERATED_ArkUIPulseSymbolEffectAccessor { + void (*destroyPeer)(Ark_PulseSymbolEffect peer); + Ark_PulseSymbolEffect (*construct)(); + Ark_NativePointer (*getFinalizer)(); +} GENERATED_ArkUIPulseSymbolEffectAccessor; + typedef struct GENERATED_ArkUIRectShapeAccessor { void (*destroyPeer)(Ark_RectShape peer); Ark_RectShape (*construct)(const Opt_Union_RectShapeOptions_RoundRectShapeOptions* options); @@ -24732,11 +26994,11 @@ typedef struct GENERATED_ArkUIRestrictedWorkerAccessor { void (*on)(Ark_VMContext vmContext, Ark_RestrictedWorker peer, const Ark_String* Type, - const Ark_WorkerEventListener* listener); + const WorkerEventListener* listener); void (*once)(Ark_VMContext vmContext, Ark_RestrictedWorker peer, const Ark_String* Type, - const Ark_WorkerEventListener* listener); + const WorkerEventListener* listener); void (*off)(Ark_VMContext vmContext, Ark_RestrictedWorker peer, const Ark_String* Type, @@ -24746,7 +27008,7 @@ typedef struct GENERATED_ArkUIRestrictedWorkerAccessor { void (*addEventListener)(Ark_VMContext vmContext, Ark_RestrictedWorker peer, const Ark_String* Type, - const Ark_WorkerEventListener* listener); + const WorkerEventListener* listener); Ark_Boolean (*dispatchEvent)(Ark_VMContext vmContext, Ark_RestrictedWorker peer, const Ark_Event* event); @@ -24900,6 +27162,16 @@ typedef struct GENERATED_ArkUISceneAccessor { void (*destroy)(Ark_Scene peer); } GENERATED_ArkUISceneAccessor; +typedef struct GENERATED_ArkUIScreenCaptureHandlerAccessor { + void (*destroyPeer)(Ark_ScreenCaptureHandler peer); + Ark_ScreenCaptureHandler (*construct)(); + Ark_NativePointer (*getFinalizer)(); + Ark_String (*getOrigin)(Ark_ScreenCaptureHandler peer); + void (*grant)(Ark_ScreenCaptureHandler peer, + const Ark_ScreenCaptureConfig* config); + void (*deny)(Ark_ScreenCaptureHandler peer); +} GENERATED_ArkUIScreenCaptureHandlerAccessor; + typedef struct GENERATED_ArkUIScreenshotServiceAccessor { Ark_Boolean (*requestScreenshot)(const Ark_String* target, const Ark_String* name); @@ -25039,6 +27311,14 @@ typedef struct GENERATED_ArkUISpringPropAccessor { Ark_NativePointer (*getFinalizer)(); } GENERATED_ArkUISpringPropAccessor; +typedef struct GENERATED_ArkUISslErrorHandlerAccessor { + void (*destroyPeer)(Ark_SslErrorHandler peer); + Ark_SslErrorHandler (*construct)(); + Ark_NativePointer (*getFinalizer)(); + void (*handleConfirm)(Ark_SslErrorHandler peer); + void (*handleCancel)(Ark_SslErrorHandler peer); +} GENERATED_ArkUISslErrorHandlerAccessor; + typedef struct GENERATED_ArkUIStateStylesOpsAccessor { void (*onStateStyleChange)(Ark_NativePointer node, const Callback_StateStylesChange* stateStyleChange); @@ -25759,17 +28039,17 @@ typedef struct GENERATED_ArkUIUIExtensionProxyAccessor { Ark_UIExtensionProxy (*construct)(); Ark_NativePointer (*getFinalizer)(); void (*send)(Ark_UIExtensionProxy peer, - const Map_String_Object* data); - Map_String_Object (*sendSync)(Ark_UIExtensionProxy peer, - const Map_String_Object* data); - void (*onAsyncReceiverRegister)(Ark_UIExtensionProxy peer, - const Callback_UIExtensionProxy_Void* callback_); - void (*onSyncReceiverRegister)(Ark_UIExtensionProxy peer, - const Callback_UIExtensionProxy_Void* callback_); - void (*offAsyncReceiverRegister)(Ark_UIExtensionProxy peer, - const Opt_Callback_UIExtensionProxy_Void* callback_); - void (*offSyncReceiverRegister)(Ark_UIExtensionProxy peer, - const Opt_Callback_UIExtensionProxy_Void* callback_); + const Map_String_Opt_Object* data); + Map_String_Opt_Object (*sendSync)(Ark_UIExtensionProxy peer, + const Map_String_Opt_Object* data); + void (*onAsyncReceiverRegisterAsyncReceiverRegister)(Ark_UIExtensionProxy peer, + const Callback_UIExtensionProxy_Void* callback_); + void (*onSyncReceiverRegisterSyncReceiverRegister)(Ark_UIExtensionProxy peer, + const Callback_UIExtensionProxy_Void* callback_); + void (*offAsyncReceiverRegisterAsyncReceiverRegister)(Ark_UIExtensionProxy peer, + const Opt_Callback_UIExtensionProxy_Void* callback_); + void (*offSyncReceiverRegisterSyncReceiverRegister)(Ark_UIExtensionProxy peer, + const Opt_Callback_UIExtensionProxy_Void* callback_); } GENERATED_ArkUIUIExtensionProxyAccessor; typedef struct GENERATED_ArkUIUiObserver_DensityInfoAccessor { @@ -25834,14 +28114,14 @@ typedef struct GENERATED_ArkUIVideoControllerAccessor { void (*start)(Ark_VideoController peer); void (*pause)(Ark_VideoController peer); void (*stop)(Ark_VideoController peer); - void (*setCurrentTime0)(Ark_VideoController peer, - const Ark_Number* value); void (*requestFullscreen)(Ark_VideoController peer, Ark_Boolean value); void (*exitFullscreen)(Ark_VideoController peer); - void (*setCurrentTime1)(Ark_VideoController peer, - const Ark_Number* value, - Ark_SeekMode seekMode); + void (*setCurrentTimeDefault)(Ark_VideoController peer, + Ark_Float64 value); + void (*setCurrentTimeWithMode)(Ark_VideoController peer, + Ark_Float64 value, + Ark_SeekMode seekMode); void (*reset)(Ark_VideoController peer); } GENERATED_ArkUIVideoControllerAccessor; @@ -25862,6 +28142,38 @@ typedef struct GENERATED_ArkUIWaterFlowSectionsAccessor { Ark_Number (*length)(Ark_WaterFlowSections peer); } GENERATED_ArkUIWaterFlowSectionsAccessor; +typedef struct GENERATED_ArkUIWebContextMenuParamAccessor { + void (*destroyPeer)(Ark_WebContextMenuParam peer); + Ark_WebContextMenuParam (*construct)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Int32 (*x)(Ark_WebContextMenuParam peer); + Ark_Int32 (*y)(Ark_WebContextMenuParam peer); + Ark_String (*getLinkUrl)(Ark_WebContextMenuParam peer); + Ark_String (*getUnfilteredLinkUrl)(Ark_WebContextMenuParam peer); + Ark_String (*getSourceUrl)(Ark_WebContextMenuParam peer); + Ark_Boolean (*existsImageContents)(Ark_WebContextMenuParam peer); + Ark_ContextMenuMediaType (*getMediaType)(Ark_WebContextMenuParam peer); + Ark_String (*getSelectionText)(Ark_WebContextMenuParam peer); + Ark_ContextMenuSourceType (*getSourceType)(Ark_WebContextMenuParam peer); + Ark_ContextMenuInputFieldType (*getInputFieldType)(Ark_WebContextMenuParam peer); + Ark_Boolean (*isEditable)(Ark_WebContextMenuParam peer); + Ark_Int32 (*getEditStateFlags)(Ark_WebContextMenuParam peer); + Ark_Int32 (*getPreviewWidth)(Ark_WebContextMenuParam peer); + Ark_Int32 (*getPreviewHeight)(Ark_WebContextMenuParam peer); +} GENERATED_ArkUIWebContextMenuParamAccessor; + +typedef struct GENERATED_ArkUIWebContextMenuResultAccessor { + void (*destroyPeer)(Ark_WebContextMenuResult peer); + Ark_WebContextMenuResult (*construct)(); + Ark_NativePointer (*getFinalizer)(); + void (*closeContextMenu)(Ark_WebContextMenuResult peer); + void (*copyImage)(Ark_WebContextMenuResult peer); + void (*copy)(Ark_WebContextMenuResult peer); + void (*paste)(Ark_WebContextMenuResult peer); + void (*cut)(Ark_WebContextMenuResult peer); + void (*selectAll)(Ark_WebContextMenuResult peer); +} GENERATED_ArkUIWebContextMenuResultAccessor; + typedef struct GENERATED_ArkUIWebCookieAccessor { void (*destroyPeer)(Ark_WebCookie peer); Ark_WebCookie (*construct)(); @@ -25870,12 +28182,84 @@ typedef struct GENERATED_ArkUIWebCookieAccessor { void (*saveCookie)(Ark_WebCookie peer); } GENERATED_ArkUIWebCookieAccessor; +typedef struct GENERATED_ArkUIWebKeyboardControllerAccessor { + void (*destroyPeer)(Ark_WebKeyboardController peer); + Ark_WebKeyboardController (*construct)(); + Ark_NativePointer (*getFinalizer)(); + void (*insertText)(Ark_WebKeyboardController peer, + const Ark_String* text); + void (*deleteForward)(Ark_WebKeyboardController peer, + Ark_Int32 length); + void (*deleteBackward)(Ark_WebKeyboardController peer, + Ark_Int32 length); + void (*sendFunctionKey)(Ark_WebKeyboardController peer, + Ark_Int32 key); + void (*close)(Ark_WebKeyboardController peer); +} GENERATED_ArkUIWebKeyboardControllerAccessor; + +typedef struct GENERATED_ArkUIWebResourceErrorAccessor { + void (*destroyPeer)(Ark_WebResourceError peer); + Ark_WebResourceError (*construct)(); + Ark_NativePointer (*getFinalizer)(); + Ark_String (*getErrorInfo)(Ark_WebResourceError peer); + Ark_Number (*getErrorCode)(Ark_WebResourceError peer); +} GENERATED_ArkUIWebResourceErrorAccessor; + +typedef struct GENERATED_ArkUIWebResourceRequestAccessor { + void (*destroyPeer)(Ark_WebResourceRequest peer); + Ark_WebResourceRequest (*construct)(); + Ark_NativePointer (*getFinalizer)(); + Array_Header (*getRequestHeader)(Ark_WebResourceRequest peer); + Ark_String (*getRequestUrl)(Ark_WebResourceRequest peer); + Ark_Boolean (*isRequestGesture)(Ark_WebResourceRequest peer); + Ark_Boolean (*isMainFrame)(Ark_WebResourceRequest peer); + Ark_Boolean (*isRedirect)(Ark_WebResourceRequest peer); + Ark_String (*getRequestMethod)(Ark_WebResourceRequest peer); +} GENERATED_ArkUIWebResourceRequestAccessor; + +typedef struct GENERATED_ArkUIWebResourceResponseAccessor { + void (*destroyPeer)(Ark_WebResourceResponse peer); + Ark_WebResourceResponse (*construct)(); + Ark_NativePointer (*getFinalizer)(); + Ark_String (*getResponseData)(Ark_WebResourceResponse peer); + Opt_Union_String_Number_Buffer_Resource (*getResponseDataEx)(Ark_WebResourceResponse peer); + Ark_String (*getResponseEncoding)(Ark_WebResourceResponse peer); + Ark_String (*getResponseMimeType)(Ark_WebResourceResponse peer); + Ark_String (*getReasonMessage)(Ark_WebResourceResponse peer); + Array_Header (*getResponseHeader)(Ark_WebResourceResponse peer); + Ark_Number (*getResponseCode)(Ark_WebResourceResponse peer); + void (*setResponseData)(Ark_WebResourceResponse peer, + const Ark_Union_String_Number_Resource_Buffer* data); + void (*setResponseEncoding)(Ark_WebResourceResponse peer, + const Ark_String* encoding); + void (*setResponseMimeType)(Ark_WebResourceResponse peer, + const Ark_String* mimeType); + void (*setReasonMessage)(Ark_WebResourceResponse peer, + const Ark_String* reason); + void (*setResponseHeader)(Ark_WebResourceResponse peer, + const Array_Header* header); + void (*setResponseCode)(Ark_WebResourceResponse peer, + const Ark_Number* code); + void (*setResponseIsReady)(Ark_WebResourceResponse peer, + Ark_Boolean IsReady); + Ark_Boolean (*getResponseIsReady)(Ark_WebResourceResponse peer); +} GENERATED_ArkUIWebResourceResponseAccessor; + +typedef struct GENERATED_ArkUIWebview_WebviewControllerAccessor { + void (*destroyPeer)(Ark_webview_WebviewController peer); + Ark_webview_WebviewController (*construct)(); + Ark_NativePointer (*getFinalizer)(); + void (*initializeWebEngine)(); + void (*loadUrl)(Ark_webview_WebviewController peer, + const Ark_Union_String_Resource* url, + const Opt_Array_webview_WebHeader* headers); +} GENERATED_ArkUIWebview_WebviewControllerAccessor; + typedef struct GENERATED_ArkUIXComponentControllerAccessor { void (*destroyPeer)(Ark_XComponentController peer); Ark_XComponentController (*construct)(); Ark_NativePointer (*getFinalizer)(); Ark_String (*getXComponentSurfaceId)(Ark_XComponentController peer); - Ark_Object (*getXComponentContext)(Ark_XComponentController peer); void (*setXComponentSurfaceRect)(Ark_XComponentController peer, const Ark_SurfaceRect* rect); Ark_SurfaceRect (*getXComponentSurfaceRect)(Ark_XComponentController peer); @@ -26068,9 +28452,11 @@ typedef struct GENERATED_ArkUINodeModifiers { const GENERATED_ArkUITextTimerModifier* (*getTextTimerModifier)(); const GENERATED_ArkUITimePickerModifier* (*getTimePickerModifier)(); const GENERATED_ArkUIToggleModifier* (*getToggleModifier)(); + const GENERATED_ArkUIToolBarItemModifier* (*getToolBarItemModifier)(); const GENERATED_ArkUIUIExtensionComponentModifier* (*getUIExtensionComponentModifier)(); const GENERATED_ArkUIVideoModifier* (*getVideoModifier)(); const GENERATED_ArkUIWaterFlowModifier* (*getWaterFlowModifier)(); + const GENERATED_ArkUIWebModifier* (*getWebModifier)(); const GENERATED_ArkUIWindowSceneModifier* (*getWindowSceneModifier)(); const GENERATED_ArkUIWithThemeModifier* (*getWithThemeModifier)(); const GENERATED_ArkUIXComponentModifier* (*getXComponentModifier)(); @@ -26098,17 +28484,21 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIChildrenMainSizeAccessor* (*getChildrenMainSizeAccessor)(); const GENERATED_ArkUICircleShapeAccessor* (*getCircleShapeAccessor)(); const GENERATED_ArkUIClickEventAccessor* (*getClickEventAccessor)(); + const GENERATED_ArkUIClientAuthenticationHandlerAccessor* (*getClientAuthenticationHandlerAccessor)(); const GENERATED_ArkUIColorContentAccessor* (*getColorContentAccessor)(); const GENERATED_ArkUIColorFilterAccessor* (*getColorFilterAccessor)(); const GENERATED_ArkUIColorMetricsAccessor* (*getColorMetricsAccessor)(); const GENERATED_ArkUICommon_ContextAccessor* (*getCommon_ContextAccessor)(); const GENERATED_ArkUICommonShapeAccessor* (*getCommonShapeAccessor)(); const GENERATED_ArkUIComponentContentAccessor* (*getComponentContentAccessor)(); + const GENERATED_ArkUIConsoleMessageAccessor* (*getConsoleMessageAccessor)(); const GENERATED_ArkUIContentModifierHelperAccessor* (*getContentModifierHelperAccessor)(); const GENERATED_ArkUIContextAccessor* (*getContextAccessor)(); + const GENERATED_ArkUIControllerHandlerAccessor* (*getControllerHandlerAccessor)(); const GENERATED_ArkUICurves_ICurveAccessor* (*getCurves_ICurveAccessor)(); const GENERATED_ArkUICustomDialogControllerAccessor* (*getCustomDialogControllerAccessor)(); const GENERATED_ArkUICustomSpanAccessor* (*getCustomSpanAccessor)(); + const GENERATED_ArkUIDataResubmissionHandlerAccessor* (*getDataResubmissionHandlerAccessor)(); const GENERATED_ArkUIDatePickerDialogAccessor* (*getDatePickerDialogAccessor)(); const GENERATED_ArkUIDecorationStyleAccessor* (*getDecorationStyleAccessor)(); const GENERATED_ArkUIDisappearSymbolEffectAccessor* (*getDisappearSymbolEffectAccessor)(); @@ -26140,12 +28530,16 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIEllipseShapeAccessor* (*getEllipseShapeAccessor)(); const GENERATED_ArkUIEnvironmentBackendAccessor* (*getEnvironmentBackendAccessor)(); const GENERATED_ArkUIEventEmulatorAccessor* (*getEventEmulatorAccessor)(); + const GENERATED_ArkUIEventResultAccessor* (*getEventResultAccessor)(); const GENERATED_ArkUIEventTargetInfoAccessor* (*getEventTargetInfoAccessor)(); const GENERATED_ArkUIExtendableComponentAccessor* (*getExtendableComponentAccessor)(); + const GENERATED_ArkUIFileSelectorParamAccessor* (*getFileSelectorParamAccessor)(); + const GENERATED_ArkUIFileSelectorResultAccessor* (*getFileSelectorResultAccessor)(); const GENERATED_ArkUIFocusAxisEventAccessor* (*getFocusAxisEventAccessor)(); const GENERATED_ArkUIFocusControllerAccessor* (*getFocusControllerAccessor)(); const GENERATED_ArkUIFrameNodeAccessor* (*getFrameNodeAccessor)(); const GENERATED_ArkUIFrictionMotionAccessor* (*getFrictionMotionAccessor)(); + const GENERATED_ArkUIFullScreenExitHandlerAccessor* (*getFullScreenExitHandlerAccessor)(); const GENERATED_ArkUIGestureAccessor* (*getGestureAccessor)(); const GENERATED_ArkUIGestureEventAccessor* (*getGestureEventAccessor)(); const GENERATED_ArkUIGestureGroupInterfaceAccessor* (*getGestureGroupInterfaceAccessor)(); @@ -26157,15 +28551,17 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIGlobalScope_ohos_measure_utilsAccessor* (*getGlobalScope_ohos_measure_utilsAccessor)(); const GENERATED_ArkUIHierarchicalSymbolEffectAccessor* (*getHierarchicalSymbolEffectAccessor)(); const GENERATED_ArkUIHoverEventAccessor* (*getHoverEventAccessor)(); + const GENERATED_ArkUIHttpAuthHandlerAccessor* (*getHttpAuthHandlerAccessor)(); const GENERATED_ArkUIImageAnalyzerControllerAccessor* (*getImageAnalyzerControllerAccessor)(); const GENERATED_ArkUIImageAttachmentAccessor* (*getImageAttachmentAccessor)(); const GENERATED_ArkUIImageBitmapAccessor* (*getImageBitmapAccessor)(); const GENERATED_ArkUIImageDataAccessor* (*getImageDataAccessor)(); const GENERATED_ArkUIIndicatorComponentControllerAccessor* (*getIndicatorComponentControllerAccessor)(); const GENERATED_ArkUIIUIContextAccessor* (*getIUIContextAccessor)(); + const GENERATED_ArkUIJsGeolocationAccessor* (*getJsGeolocationAccessor)(); + const GENERATED_ArkUIJsResultAccessor* (*getJsResultAccessor)(); const GENERATED_ArkUIKeyEventAccessor* (*getKeyEventAccessor)(); const GENERATED_ArkUILayoutableAccessor* (*getLayoutableAccessor)(); - const GENERATED_ArkUILayoutCallbackAccessor* (*getLayoutCallbackAccessor)(); const GENERATED_ArkUILayoutChildAccessor* (*getLayoutChildAccessor)(); const GENERATED_ArkUILayoutManagerAccessor* (*getLayoutManagerAccessor)(); const GENERATED_ArkUILayoutPolicyAccessor* (*getLayoutPolicyAccessor)(); @@ -26194,7 +28590,6 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUINodeContentAccessor* (*getNodeContentAccessor)(); const GENERATED_ArkUIOffscreenCanvasAccessor* (*getOffscreenCanvasAccessor)(); const GENERATED_ArkUIOffscreenCanvasRenderingContext2DAccessor* (*getOffscreenCanvasRenderingContext2DAccessor)(); - const GENERATED_ArkUIPageLifeCycleAccessor* (*getPageLifeCycleAccessor)(); const GENERATED_ArkUIPanGestureEventAccessor* (*getPanGestureEventAccessor)(); const GENERATED_ArkUIPanGestureInterfaceAccessor* (*getPanGestureInterfaceAccessor)(); const GENERATED_ArkUIPanGestureOptionsAccessor* (*getPanGestureOptionsAccessor)(); @@ -26203,6 +28598,7 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIPath2DAccessor* (*getPath2DAccessor)(); const GENERATED_ArkUIPathShapeAccessor* (*getPathShapeAccessor)(); const GENERATED_ArkUIPatternLockControllerAccessor* (*getPatternLockControllerAccessor)(); + const GENERATED_ArkUIPermissionRequestAccessor* (*getPermissionRequestAccessor)(); const GENERATED_ArkUIPersistentStorageBackendAccessor* (*getPersistentStorageBackendAccessor)(); const GENERATED_ArkUIPinchGestureEventAccessor* (*getPinchGestureEventAccessor)(); const GENERATED_ArkUIPinchGestureInterfaceAccessor* (*getPinchGestureInterfaceAccessor)(); @@ -26210,6 +28606,7 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIPixelMapMockAccessor* (*getPixelMapMockAccessor)(); const GENERATED_ArkUIProgressMaskAccessor* (*getProgressMaskAccessor)(); const GENERATED_ArkUIPromptActionAccessor* (*getPromptActionAccessor)(); + const GENERATED_ArkUIPulseSymbolEffectAccessor* (*getPulseSymbolEffectAccessor)(); const GENERATED_ArkUIRectShapeAccessor* (*getRectShapeAccessor)(); const GENERATED_ArkUIRenderingContextSettingsAccessor* (*getRenderingContextSettingsAccessor)(); const GENERATED_ArkUIRenderNodeAccessor* (*getRenderNodeAccessor)(); @@ -26224,6 +28621,7 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIRotationRecognizerAccessor* (*getRotationRecognizerAccessor)(); const GENERATED_ArkUIScaleSymbolEffectAccessor* (*getScaleSymbolEffectAccessor)(); const GENERATED_ArkUISceneAccessor* (*getSceneAccessor)(); + const GENERATED_ArkUIScreenCaptureHandlerAccessor* (*getScreenCaptureHandlerAccessor)(); const GENERATED_ArkUIScreenshotServiceAccessor* (*getScreenshotServiceAccessor)(); const GENERATED_ArkUIScrollableTargetInfoAccessor* (*getScrollableTargetInfoAccessor)(); const GENERATED_ArkUIScrollerAccessor* (*getScrollerAccessor)(); @@ -26235,6 +28633,7 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIShapeMaskAccessor* (*getShapeMaskAccessor)(); const GENERATED_ArkUISpringMotionAccessor* (*getSpringMotionAccessor)(); const GENERATED_ArkUISpringPropAccessor* (*getSpringPropAccessor)(); + const GENERATED_ArkUISslErrorHandlerAccessor* (*getSslErrorHandlerAccessor)(); const GENERATED_ArkUIStateStylesOpsAccessor* (*getStateStylesOpsAccessor)(); const GENERATED_ArkUIStyledStringAccessor* (*getStyledStringAccessor)(); const GENERATED_ArkUIStyledStringControllerAccessor* (*getStyledStringControllerAccessor)(); @@ -26288,7 +28687,14 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIUserDataSpanAccessor* (*getUserDataSpanAccessor)(); const GENERATED_ArkUIVideoControllerAccessor* (*getVideoControllerAccessor)(); const GENERATED_ArkUIWaterFlowSectionsAccessor* (*getWaterFlowSectionsAccessor)(); + const GENERATED_ArkUIWebContextMenuParamAccessor* (*getWebContextMenuParamAccessor)(); + const GENERATED_ArkUIWebContextMenuResultAccessor* (*getWebContextMenuResultAccessor)(); const GENERATED_ArkUIWebCookieAccessor* (*getWebCookieAccessor)(); + const GENERATED_ArkUIWebKeyboardControllerAccessor* (*getWebKeyboardControllerAccessor)(); + const GENERATED_ArkUIWebResourceErrorAccessor* (*getWebResourceErrorAccessor)(); + const GENERATED_ArkUIWebResourceRequestAccessor* (*getWebResourceRequestAccessor)(); + const GENERATED_ArkUIWebResourceResponseAccessor* (*getWebResourceResponseAccessor)(); + const GENERATED_ArkUIWebview_WebviewControllerAccessor* (*getWebview_WebviewControllerAccessor)(); const GENERATED_ArkUIXComponentControllerAccessor* (*getXComponentControllerAccessor)(); const GENERATED_ArkUIGlobalScopeAccessor* (*getGlobalScopeAccessor)(); } GENERATED_ArkUIAccessors; @@ -26399,9 +28805,11 @@ typedef enum GENERATED_Ark_NodeType { GENERATED_ARKUI_TEXT_TIMER, GENERATED_ARKUI_TIME_PICKER, GENERATED_ARKUI_TOGGLE, + GENERATED_ARKUI_TOOL_BAR_ITEM, GENERATED_ARKUI_UIEXTENSION_COMPONENT, GENERATED_ARKUI_VIDEO, GENERATED_ARKUI_WATER_FLOW, + GENERATED_ARKUI_WEB, GENERATED_ARKUI_WINDOW_SCENE, GENERATED_ARKUI_WITH_THEME, GENERATED_ARKUI_XCOMPONENT diff --git a/arkoala-arkts/framework/native/src/generated/bridge_generated.cc b/arkoala-arkts/framework/native/src/generated/bridge_generated.cc index 3746ced39..c1481d4fb 100644 --- a/arkoala-arkts/framework/native/src/generated/bridge_generated.cc +++ b/arkoala-arkts/framework/native/src/generated/bridge_generated.cc @@ -1253,7 +1253,7 @@ Ark_NativePointer impl_Canvas_construct(Ark_Int32 id, Ark_Int32 flags) { return GetNodeModifiers()->getCanvasModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Canvas_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_CanvasInterface_setCanvasOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CanvasInterface_setCanvasOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto contextValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -1275,29 +1275,16 @@ void impl_CanvasInterface_setCanvasOptions0(Ark_NativePointer thisPtr, KSerializ contextValueTempTmpBuf.value = static_cast(contextValueTempTmpBuf_); } Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext contextValueTemp = contextValueTempTmpBuf;; - GetNodeModifiers()->getCanvasModifier()->setCanvasOptions0(self, static_cast(&contextValueTemp)); -} -KOALA_INTEROP_DIRECT_V3(CanvasInterface_setCanvasOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CanvasInterface_setCanvasOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 contextValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext contextValueTempTmpBuf = {}; - contextValueTempTmpBuf.selector = contextValueTempTmpBufUnionSelector; - if (contextValueTempTmpBufUnionSelector == 0) { - contextValueTempTmpBuf.selector = 0; - contextValueTempTmpBuf.value0 = static_cast(CanvasRenderingContext2D_serializer::read(thisDeserializer)); - } else if (contextValueTempTmpBufUnionSelector == 1) { - contextValueTempTmpBuf.selector = 1; - contextValueTempTmpBuf.value1 = static_cast(DrawingRenderingContext_serializer::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for contextValueTempTmpBuf has to be chosen through deserialisation."); + const auto imageAIOptionsValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageAIOptions imageAIOptionsValueTempTmpBuf = {}; + imageAIOptionsValueTempTmpBuf.tag = imageAIOptionsValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((imageAIOptionsValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + imageAIOptionsValueTempTmpBuf.value = ImageAIOptions_serializer::read(thisDeserializer); } - Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext contextValueTemp = static_cast(contextValueTempTmpBuf);; - Ark_ImageAIOptions imageAIOptionsValueTemp = ImageAIOptions_serializer::read(thisDeserializer);; - GetNodeModifiers()->getCanvasModifier()->setCanvasOptions1(self, static_cast(&contextValueTemp), static_cast(&imageAIOptionsValueTemp)); + Opt_ImageAIOptions imageAIOptionsValueTemp = imageAIOptionsValueTempTmpBuf;; + GetNodeModifiers()->getCanvasModifier()->setCanvasOptions(self, static_cast(&contextValueTemp), static_cast(&imageAIOptionsValueTemp)); } -KOALA_INTEROP_DIRECT_V3(CanvasInterface_setCanvasOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(CanvasInterface_setCanvasOptions, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CanvasAttribute_setOnReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); @@ -1617,14 +1604,14 @@ KOALA_INTEROP_DIRECT_2(Circle_construct, Ark_NativePointer, Ark_Int32, Ark_Int32 void impl_CircleInterface_setCircleOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_CircleOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = CircleOptions_serializer::read(thisDeserializer); + const auto optionsValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_CircleOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = CircleOptions_serializer::read(thisDeserializer); } - Opt_CircleOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCircleModifier()->setCircleOptions(self, static_cast(&valueValueTemp)); + Opt_CircleOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getCircleModifier()->setCircleOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CircleInterface_setCircleOptions, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_Column_construct(Ark_Int32 id, Ark_Int32 flags) { @@ -1682,19 +1669,6 @@ void impl_ColumnAttribute_setJustifyContent(Ark_NativePointer thisPtr, KSerializ GetNodeModifiers()->getColumnModifier()->setJustifyContent(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ColumnAttribute_setJustifyContent, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ColumnAttribute_setPointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_PointLightStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = PointLightStyle_serializer::read(thisDeserializer); - } - Opt_PointLightStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getColumnModifier()->setPointLight(self, static_cast(&valueValueTemp)); -} -KOALA_INTEROP_DIRECT_V3(ColumnAttribute_setPointLight, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_ColumnAttribute_setReverse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); @@ -3581,7 +3555,7 @@ void impl_CommonMethod_setEnabled(Ark_NativePointer thisPtr, KSerializerBuffer t GetNodeModifiers()->getCommonMethodModifier()->setEnabled(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setEnabled, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_setAlignRules0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CommonMethod_setAlignRulesWithAlignRuleOptionTypedValue(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -3591,10 +3565,10 @@ void impl_CommonMethod_setAlignRules0(Ark_NativePointer thisPtr, KSerializerBuff valueValueTempTmpBuf.value = AlignRuleOption_serializer::read(thisDeserializer); } Opt_AlignRuleOption valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAlignRules0(self, static_cast(&valueValueTemp)); + GetNodeModifiers()->getCommonMethodModifier()->setAlignRulesWithAlignRuleOptionTypedValue(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_setAlignRules0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_setAlignRules1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_setAlignRulesWithAlignRuleOptionTypedValue, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_setAlignRulesWithLocalizedAlignRuleOptionsTypedValue(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -3604,9 +3578,9 @@ void impl_CommonMethod_setAlignRules1(Ark_NativePointer thisPtr, KSerializerBuff valueValueTempTmpBuf.value = LocalizedAlignRuleOptions_serializer::read(thisDeserializer); } Opt_LocalizedAlignRuleOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAlignRules1(self, static_cast(&valueValueTemp)); + GetNodeModifiers()->getCommonMethodModifier()->setAlignRulesWithLocalizedAlignRuleOptionsTypedValue(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_setAlignRules1, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(CommonMethod_setAlignRulesWithLocalizedAlignRuleOptionsTypedValue, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_setAspectRatio(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); @@ -4041,7 +4015,7 @@ void impl_CommonMethod_setPixelStretchEffect(Ark_NativePointer thisPtr, KSeriali GetNodeModifiers()->getCommonMethodModifier()->setPixelStretchEffect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setPixelStretchEffect, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_setAccessibilityGroup0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CommonMethod_setAccessibilityGroupWithValue(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -4051,10 +4025,10 @@ void impl_CommonMethod_setAccessibilityGroup0(Ark_NativePointer thisPtr, KSerial valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); } Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityGroup0(self, static_cast(&valueValueTemp)); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityGroupWithValue(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityGroup0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_setAccessibilityText0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityGroupWithValue, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_setAccessibilityTextOfStringType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -4064,9 +4038,9 @@ void impl_CommonMethod_setAccessibilityText0(Ark_NativePointer thisPtr, KSeriali valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); } Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityText0(self, static_cast(&valueValueTemp)); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityTextOfStringType(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityText0, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityTextOfStringType, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_setAccessibilityNextFocusId(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); @@ -4119,7 +4093,7 @@ void impl_CommonMethod_setAccessibilityScrollTriggerable(Ark_NativePointer thisP GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityScrollTriggerable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityScrollTriggerable, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_setAccessibilityText1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CommonMethod_setAccessibilityTextOfResourceType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -4129,9 +4103,9 @@ void impl_CommonMethod_setAccessibilityText1(Ark_NativePointer thisPtr, KSeriali valueValueTempTmpBuf.value = Resource_serializer::read(thisDeserializer); } Opt_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityText1(self, static_cast(&valueValueTemp)); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityTextOfResourceType(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityText1, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityTextOfResourceType, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_setAccessibilityRole(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); @@ -4171,7 +4145,7 @@ void impl_CommonMethod_setAccessibilityTextHint(Ark_NativePointer thisPtr, KSeri GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityTextHint(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityTextHint, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_setAccessibilityDescription0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CommonMethod_setAccessibilityDescriptionOfStringType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -4181,10 +4155,10 @@ void impl_CommonMethod_setAccessibilityDescription0(Ark_NativePointer thisPtr, K valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); } Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityDescription0(self, static_cast(&valueValueTemp)); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityDescriptionOfStringType(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityDescription0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_setAccessibilityDescription1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityDescriptionOfStringType, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_setAccessibilityDescriptionOfResourceType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -4194,9 +4168,9 @@ void impl_CommonMethod_setAccessibilityDescription1(Ark_NativePointer thisPtr, K valueValueTempTmpBuf.value = Resource_serializer::read(thisDeserializer); } Opt_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityDescription1(self, static_cast(&valueValueTemp)); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityDescriptionOfResourceType(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityDescription1, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityDescriptionOfResourceType, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_setAccessibilityLevel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); @@ -5564,7 +5538,7 @@ void impl_CommonMethod_setKeyboardShortcut(Ark_NativePointer thisPtr, KSerialize GetNodeModifiers()->getCommonMethodModifier()->setKeyboardShortcut(self, static_cast(&valueValueTemp), static_cast(&keysValueTemp), static_cast(&actionValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setKeyboardShortcut, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_setAccessibilityGroup1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CommonMethod_setAccessibilityGroupWithConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto isGroupValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -5574,16 +5548,16 @@ void impl_CommonMethod_setAccessibilityGroup1(Ark_NativePointer thisPtr, KSerial isGroupValueTempTmpBuf.value = thisDeserializer.readBoolean(); } Opt_Boolean isGroupValueTemp = isGroupValueTempTmpBuf;; - const auto accessibilityOptionsValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_AccessibilityOptions accessibilityOptionsValueTempTmpBuf = {}; - accessibilityOptionsValueTempTmpBuf.tag = accessibilityOptionsValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((accessibilityOptionsValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - accessibilityOptionsValueTempTmpBuf.value = AccessibilityOptions_serializer::read(thisDeserializer); + const auto configValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_AccessibilityOptions configValueTempTmpBuf = {}; + configValueTempTmpBuf.tag = configValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((configValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + configValueTempTmpBuf.value = AccessibilityOptions_serializer::read(thisDeserializer); } - Opt_AccessibilityOptions accessibilityOptionsValueTemp = accessibilityOptionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityGroup1(self, static_cast(&isGroupValueTemp), static_cast(&accessibilityOptionsValueTemp)); + Opt_AccessibilityOptions configValueTemp = configValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityGroupWithConfig(self, static_cast(&isGroupValueTemp), static_cast(&configValueTemp)); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityGroup1, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityGroupWithConfig, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_setOnGestureRecognizerJudgeBegin1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); @@ -6613,13 +6587,20 @@ Ark_NativePointer impl_EmbeddedComponent_construct(Ark_Int32 id, Ark_Int32 flags return GetNodeModifiers()->getEmbeddedComponentModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(EmbeddedComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_EmbeddedComponentInterface_setEmbeddedComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, Ark_Int32 type) { +void impl_EmbeddedComponentInterface_setEmbeddedComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); Ark_Want loaderValueTemp = Want_serializer::read(thisDeserializer);; - GetNodeModifiers()->getEmbeddedComponentModifier()->setEmbeddedComponentOptions(self, static_cast(&loaderValueTemp), static_cast(type)); + const auto typeValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_EmbeddedType typeValueTempTmpBuf = {}; + typeValueTempTmpBuf.tag = typeValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((typeValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + typeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EmbeddedType typeValueTemp = typeValueTempTmpBuf;; + GetNodeModifiers()->getEmbeddedComponentModifier()->setEmbeddedComponentOptions(self, static_cast(&loaderValueTemp), static_cast(&typeValueTemp)); } -KOALA_INTEROP_DIRECT_V4(EmbeddedComponentInterface_setEmbeddedComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t, Ark_Int32) +KOALA_INTEROP_DIRECT_V3(EmbeddedComponentInterface_setEmbeddedComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_EmbeddedComponentAttribute_setOnTerminated(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); @@ -6663,19 +6644,6 @@ void impl_FlexInterface_setFlexOptions(Ark_NativePointer thisPtr, KSerializerBuf GetNodeModifiers()->getFlexModifier()->setFlexOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FlexInterface_setFlexOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_FlexAttribute_setPointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_PointLightStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = PointLightStyle_serializer::read(thisDeserializer); - } - Opt_PointLightStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFlexModifier()->setPointLight(self, static_cast(&valueValueTemp)); -} -KOALA_INTEROP_DIRECT_V3(FlexAttribute_setPointLight, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_FlowItem_construct(Ark_Int32 id, Ark_Int32 flags) { return GetNodeModifiers()->getFlowItemModifier()->construct(id, flags); } @@ -7254,6 +7222,72 @@ void impl_GridAttribute_setRowsGap(Ark_NativePointer thisPtr, KSerializerBuffer GetNodeModifiers()->getGridModifier()->setRowsGap(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setRowsGap, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_setScrollBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Number_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); + Ark_Union_Number_String valueValueTempTmpBuf_ = {}; + valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; + if (valueValueTempTmpBuf_UnionSelector == 0) { + valueValueTempTmpBuf_.selector = 0; + valueValueTempTmpBuf_.value0 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBuf_UnionSelector == 1) { + valueValueTempTmpBuf_.selector = 1; + valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + } + Opt_Union_Number_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setScrollBarWidth(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(GridAttribute_setScrollBarWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_setScrollBarColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Color_Number_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); + Ark_Union_Color_Number_String valueValueTempTmpBuf_ = {}; + valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; + if (valueValueTempTmpBuf_UnionSelector == 0) { + valueValueTempTmpBuf_.selector = 0; + valueValueTempTmpBuf_.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBuf_UnionSelector == 1) { + valueValueTempTmpBuf_.selector = 1; + valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBuf_UnionSelector == 2) { + valueValueTempTmpBuf_.selector = 2; + valueValueTempTmpBuf_.value2 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + } + Opt_Union_Color_Number_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setScrollBarColor(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(GridAttribute_setScrollBarColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_setScrollBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BarState valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BarState valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setScrollBar(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(GridAttribute_setScrollBar, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_GridAttribute_setOnScrollBarUpdate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); @@ -7449,6 +7483,57 @@ void impl_GridAttribute_setOnItemDrop(Ark_NativePointer thisPtr, KSerializerBuff GetNodeModifiers()->getGridModifier()->setOnItemDrop(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setOnItemDrop, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_setNestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_NestedScrollOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = NestedScrollOptions_serializer::read(thisDeserializer); + } + Opt_NestedScrollOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setNestedScroll(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(GridAttribute_setNestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_setEnableScrollInteraction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setEnableScrollInteraction(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(GridAttribute_setEnableScrollInteraction, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_setFriction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Number_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource valueValueTempTmpBuf_ = {}; + valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; + if (valueValueTempTmpBuf_UnionSelector == 0) { + valueValueTempTmpBuf_.selector = 0; + valueValueTempTmpBuf_.value0 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBuf_UnionSelector == 1) { + valueValueTempTmpBuf_.selector = 1; + valueValueTempTmpBuf_.value1 = Resource_serializer::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + } + Opt_Union_Number_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setFriction(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(GridAttribute_setFriction, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_GridAttribute_setAlignItems(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); @@ -7521,6 +7606,26 @@ void impl_GridAttribute_setCachedCount1(Ark_NativePointer thisPtr, KSerializerBu GetNodeModifiers()->getGridModifier()->setCachedCount1(self, static_cast(&countValueTemp), static_cast(&showValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setCachedCount1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_setEdgeEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_EdgeEffect valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EdgeEffect valueValueTemp = valueValueTempTmpBuf;; + const auto optionsValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_EdgeEffectOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = EdgeEffectOptions_serializer::read(thisDeserializer); + } + Opt_EdgeEffectOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setEdgeEffect(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(GridAttribute_setEdgeEffect, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_GridCol_construct(Ark_Int32 id, Ark_Int32 flags) { return GetNodeModifiers()->getGridColModifier()->construct(id, flags); } @@ -10754,16 +10859,11 @@ Ark_NativePointer impl_Navigation_construct(Ark_Int32 id, Ark_Int32 flags) { return GetNodeModifiers()->getNavigationModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Navigation_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_NavigationInterface_setNavigationOptions0(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigationModifier()->setNavigationOptions0(self); -} -KOALA_INTEROP_DIRECT_V1(NavigationInterface_setNavigationOptions0, Ark_NativePointer) -void impl_NavigationInterface_setNavigationOptions1(Ark_NativePointer thisPtr, Ark_NativePointer pathInfos) { +void impl_NavigationInterface_setNavigationOptions(Ark_NativePointer thisPtr, Ark_NativePointer pathInfos) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigationModifier()->setNavigationOptions1(self, static_cast(pathInfos)); + GetNodeModifiers()->getNavigationModifier()->setNavigationOptions(self, static_cast(pathInfos)); } -KOALA_INTEROP_DIRECT_V2(NavigationInterface_setNavigationOptions1, Ark_NativePointer, Ark_NativePointer) +KOALA_INTEROP_DIRECT_V2(NavigationInterface_setNavigationOptions, Ark_NativePointer, Ark_NativePointer) void impl_NavigationAttribute_setNavBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); @@ -11442,6 +11542,19 @@ void impl_PathInterface_setPathOptions(Ark_NativePointer thisPtr, KSerializerBuf GetNodeModifiers()->getPathModifier()->setPathOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(PathInterface_setPathOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PathAttribute_setCommands(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPathModifier()->setCommands(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(PathAttribute_setCommands, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_PatternLock_construct(Ark_Int32 id, Ark_Int32 flags) { return GetNodeModifiers()->getPatternLockModifier()->construct(id, flags); } @@ -12318,51 +12431,134 @@ void impl_RectInterface_setRectOptions(Ark_NativePointer thisPtr, KSerializerBuf GetNodeModifiers()->getRectModifier()->setRectOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(RectInterface_setRectOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RectAttribute_setRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_RectAttribute_setRadiusWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Number_String_Array_Union_Number_String valueValueTempTmpBuf = {}; + Opt_Union_F64_String valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Array_Union_Number_String valueValueTempTmpBuf_ = {}; + Ark_Union_F64_String valueValueTempTmpBuf_ = {}; valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; if (valueValueTempTmpBuf_UnionSelector == 0) { valueValueTempTmpBuf_.selector = 0; - valueValueTempTmpBuf_.value0 = static_cast(thisDeserializer.readNumber()); + valueValueTempTmpBuf_.value0 = thisDeserializer.readFloat64(); } else if (valueValueTempTmpBuf_UnionSelector == 1) { valueValueTempTmpBuf_.selector = 1; valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBuf_UnionSelector == 2) { - valueValueTempTmpBuf_.selector = 2; + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRectModifier()->setRadiusWidth(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(RectAttribute_setRadiusWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RectAttribute_setRadiusHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBuf_ = {}; + valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; + if (valueValueTempTmpBuf_UnionSelector == 0) { + valueValueTempTmpBuf_.selector = 0; + valueValueTempTmpBuf_.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBuf_UnionSelector == 1) { + valueValueTempTmpBuf_.selector = 1; + valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRectModifier()->setRadiusHeight(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(RectAttribute_setRadiusHeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RectAttribute_setRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Length_Array_RadiusItem valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); + Ark_Union_Length_Array_RadiusItem valueValueTempTmpBuf_ = {}; + valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; + if (valueValueTempTmpBuf_UnionSelector == 0) { + valueValueTempTmpBuf_.selector = 0; + const Ark_Int8 valueValueTempTmpBuf_BufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBuf_BufU = {}; + valueValueTempTmpBuf_BufU.selector = valueValueTempTmpBuf_BufUUnionSelector; + if (valueValueTempTmpBuf_BufUUnionSelector == 0) { + valueValueTempTmpBuf_BufU.selector = 0; + valueValueTempTmpBuf_BufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBuf_BufUUnionSelector == 1) { + valueValueTempTmpBuf_BufU.selector = 1; + valueValueTempTmpBuf_BufU.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBuf_BufUUnionSelector == 2) { + valueValueTempTmpBuf_BufU.selector = 2; + valueValueTempTmpBuf_BufU.value2 = Resource_serializer::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_BufU has to be chosen through deserialisation."); + } + valueValueTempTmpBuf_.value0 = static_cast(valueValueTempTmpBuf_BufU); + } else if (valueValueTempTmpBuf_UnionSelector == 1) { + valueValueTempTmpBuf_.selector = 1; const Ark_Int32 valueValueTempTmpBuf_BufULength = thisDeserializer.readInt32(); - Array_Union_Number_String valueValueTempTmpBuf_BufU = {}; + Array_RadiusItem valueValueTempTmpBuf_BufU = {}; thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBuf_BufU, valueValueTempTmpBuf_BufULength); for (int valueValueTempTmpBuf_BufUBufCounterI = 0; valueValueTempTmpBuf_BufUBufCounterI < valueValueTempTmpBuf_BufULength; valueValueTempTmpBuf_BufUBufCounterI++) { - const Ark_Int8 valueValueTempTmpBuf_BufUTempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Number_String valueValueTempTmpBuf_BufUTempBuf = {}; - valueValueTempTmpBuf_BufUTempBuf.selector = valueValueTempTmpBuf_BufUTempBufUnionSelector; - if (valueValueTempTmpBuf_BufUTempBufUnionSelector == 0) { - valueValueTempTmpBuf_BufUTempBuf.selector = 0; - valueValueTempTmpBuf_BufUTempBuf.value0 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBuf_BufUTempBufUnionSelector == 1) { - valueValueTempTmpBuf_BufUTempBuf.selector = 1; - valueValueTempTmpBuf_BufUTempBuf.value1 = static_cast(thisDeserializer.readString()); + Ark_RadiusItem valueValueTempTmpBuf_BufUTempBuf = {}; + const Ark_Int8 valueValueTempTmpBuf_BufUTempBufValue0TempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBuf_BufUTempBufValue0TempBuf = {}; + valueValueTempTmpBuf_BufUTempBufValue0TempBuf.selector = valueValueTempTmpBuf_BufUTempBufValue0TempBufUnionSelector; + if (valueValueTempTmpBuf_BufUTempBufValue0TempBufUnionSelector == 0) { + valueValueTempTmpBuf_BufUTempBufValue0TempBuf.selector = 0; + valueValueTempTmpBuf_BufUTempBufValue0TempBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBuf_BufUTempBufValue0TempBufUnionSelector == 1) { + valueValueTempTmpBuf_BufUTempBufValue0TempBuf.selector = 1; + valueValueTempTmpBuf_BufUTempBufValue0TempBuf.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBuf_BufUTempBufValue0TempBufUnionSelector == 2) { + valueValueTempTmpBuf_BufUTempBufValue0TempBuf.selector = 2; + valueValueTempTmpBuf_BufUTempBufValue0TempBuf.value2 = Resource_serializer::read(thisDeserializer); } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_BufUTempBuf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_BufUTempBufValue0TempBuf has to be chosen through deserialisation."); + } + valueValueTempTmpBuf_BufUTempBuf.value0 = static_cast(valueValueTempTmpBuf_BufUTempBufValue0TempBuf); + const Ark_Int8 valueValueTempTmpBuf_BufUTempBufValue1TempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBuf_BufUTempBufValue1TempBuf = {}; + valueValueTempTmpBuf_BufUTempBufValue1TempBuf.selector = valueValueTempTmpBuf_BufUTempBufValue1TempBufUnionSelector; + if (valueValueTempTmpBuf_BufUTempBufValue1TempBufUnionSelector == 0) { + valueValueTempTmpBuf_BufUTempBufValue1TempBuf.selector = 0; + valueValueTempTmpBuf_BufUTempBufValue1TempBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBuf_BufUTempBufValue1TempBufUnionSelector == 1) { + valueValueTempTmpBuf_BufUTempBufValue1TempBuf.selector = 1; + valueValueTempTmpBuf_BufUTempBufValue1TempBuf.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBuf_BufUTempBufValue1TempBufUnionSelector == 2) { + valueValueTempTmpBuf_BufUTempBufValue1TempBuf.selector = 2; + valueValueTempTmpBuf_BufUTempBufValue1TempBuf.value2 = Resource_serializer::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_BufUTempBufValue1TempBuf has to be chosen through deserialisation."); } - valueValueTempTmpBuf_BufU.array[valueValueTempTmpBuf_BufUBufCounterI] = static_cast(valueValueTempTmpBuf_BufUTempBuf); + valueValueTempTmpBuf_BufUTempBuf.value1 = static_cast(valueValueTempTmpBuf_BufUTempBufValue1TempBuf); + valueValueTempTmpBuf_BufU.array[valueValueTempTmpBuf_BufUBufCounterI] = valueValueTempTmpBuf_BufUTempBuf; } - valueValueTempTmpBuf_.value2 = valueValueTempTmpBuf_BufU; + valueValueTempTmpBuf_.value1 = valueValueTempTmpBuf_BufU; } else { INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); } - Opt_Union_Number_String_Array_Union_Number_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRectModifier()->setRadius(self, static_cast(&valueValueTemp)); + Opt_Union_Length_Array_RadiusItem valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRectModifier()->setRadius(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RectAttribute_setRadius, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_Refresh_construct(Ark_Int32 id, Ark_Int32 flags) { @@ -12518,20 +12714,25 @@ Ark_NativePointer impl_RichEditor_construct(Ark_Int32 id, Ark_Int32 flags) { return GetNodeModifiers()->getRichEditorModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(RichEditor_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_RichEditorInterface_setRichEditorOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_RichEditorOptions valueValueTemp = RichEditorOptions_serializer::read(thisDeserializer);; - GetNodeModifiers()->getRichEditorModifier()->setRichEditorOptions0(self, static_cast(&valueValueTemp)); -} -KOALA_INTEROP_DIRECT_V3(RichEditorInterface_setRichEditorOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorInterface_setRichEditorOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_RichEditorStyledStringOptions optionsValueTemp = RichEditorStyledStringOptions_serializer::read(thisDeserializer);; - GetNodeModifiers()->getRichEditorModifier()->setRichEditorOptions1(self, static_cast(&optionsValueTemp)); +void impl_RichEditorInterface_setRichEditorOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 optionsValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_RichEditorOptions_RichEditorStyledStringOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.selector = optionsValueTempTmpBufUnionSelector; + if (optionsValueTempTmpBufUnionSelector == 0) { + optionsValueTempTmpBuf.selector = 0; + optionsValueTempTmpBuf.value0 = RichEditorOptions_serializer::read(thisDeserializer); + } else if (optionsValueTempTmpBufUnionSelector == 1) { + optionsValueTempTmpBuf.selector = 1; + optionsValueTempTmpBuf.value1 = RichEditorStyledStringOptions_serializer::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for optionsValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_RichEditorOptions_RichEditorStyledStringOptions optionsValueTemp = static_cast(optionsValueTempTmpBuf);; + GetNodeModifiers()->getRichEditorModifier()->setRichEditorOptions(self, static_cast(&optionsValueTemp)); } -KOALA_INTEROP_DIRECT_V3(RichEditorInterface_setRichEditorOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(RichEditorInterface_setRichEditorOptions, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_RichEditorAttribute_setOnReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); @@ -13157,19 +13358,6 @@ void impl_RowAttribute_setJustifyContent(Ark_NativePointer thisPtr, KSerializerB GetNodeModifiers()->getRowModifier()->setJustifyContent(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RowAttribute_setJustifyContent, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RowAttribute_setPointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_PointLightStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = PointLightStyle_serializer::read(thisDeserializer); - } - Opt_PointLightStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRowModifier()->setPointLight(self, static_cast(&valueValueTemp)); -} -KOALA_INTEROP_DIRECT_V3(RowAttribute_setPointLight, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_RowAttribute_setReverse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); @@ -14304,24 +14492,12 @@ void impl_SearchAttribute_setSearchButton(Ark_NativePointer thisPtr, KSerializer Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr valueValueTempTmpBuf = {}; + Opt_String valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBuf_ = {}; - valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; - if (valueValueTempTmpBuf_UnionSelector == 0) { - valueValueTempTmpBuf_.selector = 0; - valueValueTempTmpBuf_.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBuf_UnionSelector == 1) { - valueValueTempTmpBuf_.selector = 1; - valueValueTempTmpBuf_.value1 = Resource_serializer::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); } - Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; + Opt_String valueValueTemp = valueValueTempTmpBuf;; const auto optionValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_SearchButtonOptions optionValueTempTmpBuf = {}; optionValueTempTmpBuf.tag = optionValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -14329,7 +14505,7 @@ void impl_SearchAttribute_setSearchButton(Ark_NativePointer thisPtr, KSerializer optionValueTempTmpBuf.value = SearchButtonOptions_serializer::read(thisDeserializer); } Opt_SearchButtonOptions optionValueTemp = optionValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setSearchButton(self, static_cast(&valueValueTemp), static_cast(&optionValueTemp)); + GetNodeModifiers()->getSearchModifier()->setSearchButton(self, static_cast(&valueValueTemp), static_cast(&optionValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setSearchButton, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_SearchAttribute_setInputFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { @@ -14950,6 +15126,37 @@ void impl_SelectAttribute_setMenuOutline(Ark_NativePointer thisPtr, KSerializerB GetNodeModifiers()->getSelectModifier()->setMenuOutline(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setMenuOutline, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_setBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBuf_ = {}; + valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; + if (valueValueTempTmpBuf_UnionSelector == 0) { + valueValueTempTmpBuf_.selector = 0; + valueValueTempTmpBuf_.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBuf_UnionSelector == 1) { + valueValueTempTmpBuf_.selector = 1; + valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBuf_UnionSelector == 2) { + valueValueTempTmpBuf_.selector = 2; + valueValueTempTmpBuf_.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBuf_UnionSelector == 3) { + valueValueTempTmpBuf_.selector = 3; + valueValueTempTmpBuf_.value3 = Resource_serializer::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setBackgroundColor(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(SelectAttribute_setBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_SelectAttribute_setMenuAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); @@ -15066,28 +15273,25 @@ void impl_ShapeAttribute_setStrokeDashOffset(Ark_NativePointer thisPtr, KSeriali Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; + Opt_Union_F64_String valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBuf_ = {}; + Ark_Union_F64_String valueValueTempTmpBuf_ = {}; valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; if (valueValueTempTmpBuf_UnionSelector == 0) { valueValueTempTmpBuf_.selector = 0; - valueValueTempTmpBuf_.value0 = static_cast(thisDeserializer.readString()); + valueValueTempTmpBuf_.value0 = thisDeserializer.readFloat64(); } else if (valueValueTempTmpBuf_UnionSelector == 1) { valueValueTempTmpBuf_.selector = 1; - valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBuf_UnionSelector == 2) { - valueValueTempTmpBuf_.selector = 2; - valueValueTempTmpBuf_.value2 = Resource_serializer::read(thisDeserializer); + valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setStrokeDashOffset(self, static_cast(&valueValueTemp)); + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setStrokeDashOffset(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setStrokeDashOffset, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_ShapeAttribute_setStrokeDashArray(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { @@ -15155,43 +15359,40 @@ void impl_ShapeAttribute_setStrokeMiterLimit(Ark_NativePointer thisPtr, KSeriali Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; + Opt_Union_F64_String valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBuf_ = {}; + Ark_Union_F64_String valueValueTempTmpBuf_ = {}; valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; if (valueValueTempTmpBuf_UnionSelector == 0) { valueValueTempTmpBuf_.selector = 0; - valueValueTempTmpBuf_.value0 = static_cast(thisDeserializer.readString()); + valueValueTempTmpBuf_.value0 = thisDeserializer.readFloat64(); } else if (valueValueTempTmpBuf_UnionSelector == 1) { valueValueTempTmpBuf_.selector = 1; - valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBuf_UnionSelector == 2) { - valueValueTempTmpBuf_.selector = 2; - valueValueTempTmpBuf_.value2 = Resource_serializer::read(thisDeserializer); + valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setStrokeMiterLimit(self, static_cast(&valueValueTemp)); + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setStrokeMiterLimit(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setStrokeMiterLimit, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_ShapeAttribute_setStrokeOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Number_String_Resource valueValueTempTmpBuf = {}; + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource valueValueTempTmpBuf_ = {}; + Ark_Union_F64_String_Resource valueValueTempTmpBuf_ = {}; valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; if (valueValueTempTmpBuf_UnionSelector == 0) { valueValueTempTmpBuf_.selector = 0; - valueValueTempTmpBuf_.value0 = static_cast(thisDeserializer.readNumber()); + valueValueTempTmpBuf_.value0 = thisDeserializer.readFloat64(); } else if (valueValueTempTmpBuf_UnionSelector == 1) { valueValueTempTmpBuf_.selector = 1; valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readString()); @@ -15201,25 +15402,25 @@ void impl_ShapeAttribute_setStrokeOpacity(Ark_NativePointer thisPtr, KSerializer } else { INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); } - Opt_Union_Number_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setStrokeOpacity(self, static_cast(&valueValueTemp)); + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setStrokeOpacity(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setStrokeOpacity, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_ShapeAttribute_setFillOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Number_String_Resource valueValueTempTmpBuf = {}; + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource valueValueTempTmpBuf_ = {}; + Ark_Union_F64_String_Resource valueValueTempTmpBuf_ = {}; valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; if (valueValueTempTmpBuf_UnionSelector == 0) { valueValueTempTmpBuf_.selector = 0; - valueValueTempTmpBuf_.value0 = static_cast(thisDeserializer.readNumber()); + valueValueTempTmpBuf_.value0 = thisDeserializer.readFloat64(); } else if (valueValueTempTmpBuf_UnionSelector == 1) { valueValueTempTmpBuf_.selector = 1; valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readString()); @@ -15229,38 +15430,35 @@ void impl_ShapeAttribute_setFillOpacity(Ark_NativePointer thisPtr, KSerializerBu } else { INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); } - Opt_Union_Number_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setFillOpacity(self, static_cast(&valueValueTemp)); + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setFillOpacity(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setFillOpacity, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_ShapeAttribute_setStrokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; + Opt_Union_F64_String valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBuf_ = {}; + Ark_Union_F64_String valueValueTempTmpBuf_ = {}; valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; if (valueValueTempTmpBuf_UnionSelector == 0) { valueValueTempTmpBuf_.selector = 0; - valueValueTempTmpBuf_.value0 = static_cast(thisDeserializer.readString()); + valueValueTempTmpBuf_.value0 = thisDeserializer.readFloat64(); } else if (valueValueTempTmpBuf_UnionSelector == 1) { valueValueTempTmpBuf_.selector = 1; - valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBuf_UnionSelector == 2) { - valueValueTempTmpBuf_.selector = 2; - valueValueTempTmpBuf_.value2 = Resource_serializer::read(thisDeserializer); + valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setStrokeWidth(self, static_cast(&valueValueTemp)); + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setStrokeWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setStrokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_ShapeAttribute_setAntiAlias(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { @@ -15280,34 +15478,34 @@ void impl_ShapeAttribute_setMesh(Ark_NativePointer thisPtr, KSerializerBuffer th Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_Number valueValueTempTmpBuf = {}; + Opt_Array_Float64 valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { const Ark_Int32 valueValueTempTmpBuf_Length = thisDeserializer.readInt32(); - Array_Number valueValueTempTmpBuf_ = {}; + Array_Float64 valueValueTempTmpBuf_ = {}; thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBuf_, valueValueTempTmpBuf_Length); for (int valueValueTempTmpBuf_BufCounterI = 0; valueValueTempTmpBuf_BufCounterI < valueValueTempTmpBuf_Length; valueValueTempTmpBuf_BufCounterI++) { - valueValueTempTmpBuf_.array[valueValueTempTmpBuf_BufCounterI] = static_cast(thisDeserializer.readNumber()); + valueValueTempTmpBuf_.array[valueValueTempTmpBuf_BufCounterI] = thisDeserializer.readFloat64(); } valueValueTempTmpBuf.value = valueValueTempTmpBuf_; } - Opt_Array_Number valueValueTemp = valueValueTempTmpBuf;; + Opt_Array_Float64 valueValueTemp = valueValueTempTmpBuf;; const auto columnValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Number columnValueTempTmpBuf = {}; + Opt_Int32 columnValueTempTmpBuf = {}; columnValueTempTmpBuf.tag = columnValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((columnValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - columnValueTempTmpBuf.value = static_cast(thisDeserializer.readNumber()); + columnValueTempTmpBuf.value = thisDeserializer.readInt32(); } - Opt_Number columnValueTemp = columnValueTempTmpBuf;; + Opt_Int32 columnValueTemp = columnValueTempTmpBuf;; const auto rowValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Number rowValueTempTmpBuf = {}; + Opt_Int32 rowValueTempTmpBuf = {}; rowValueTempTmpBuf.tag = rowValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((rowValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - rowValueTempTmpBuf.value = static_cast(thisDeserializer.readNumber()); + rowValueTempTmpBuf.value = thisDeserializer.readInt32(); } - Opt_Number rowValueTemp = rowValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setMesh(self, static_cast(&valueValueTemp), static_cast(&columnValueTemp), static_cast(&rowValueTemp)); + Opt_Int32 rowValueTemp = rowValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setMesh(self, static_cast(&valueValueTemp), static_cast(&columnValueTemp), static_cast(&rowValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setMesh, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_SideBarContainer_construct(Ark_Int32 id, Ark_Int32 flags) { @@ -15391,31 +15589,46 @@ void impl_SideBarContainerAttribute_setOnChange(Ark_NativePointer thisPtr, KSeri GetNodeModifiers()->getSideBarContainerModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SideBarContainerAttribute_setSideBarWidth0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_SideBarContainerAttribute_setSideBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Number_Bindable valueValueTempTmpBuf = {}; + Opt_Union_Length_Bindable valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); - Ark_Union_Number_Bindable valueValueTempTmpBuf_ = {}; + Ark_Union_Length_Bindable valueValueTempTmpBuf_ = {}; valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; if (valueValueTempTmpBuf_UnionSelector == 0) { valueValueTempTmpBuf_.selector = 0; - valueValueTempTmpBuf_.value0 = static_cast(thisDeserializer.readNumber()); + const Ark_Int8 valueValueTempTmpBuf_BufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBuf_BufU = {}; + valueValueTempTmpBuf_BufU.selector = valueValueTempTmpBuf_BufUUnionSelector; + if (valueValueTempTmpBuf_BufUUnionSelector == 0) { + valueValueTempTmpBuf_BufU.selector = 0; + valueValueTempTmpBuf_BufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBuf_BufUUnionSelector == 1) { + valueValueTempTmpBuf_BufU.selector = 1; + valueValueTempTmpBuf_BufU.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBuf_BufUUnionSelector == 2) { + valueValueTempTmpBuf_BufU.selector = 2; + valueValueTempTmpBuf_BufU.value2 = Resource_serializer::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_BufU has to be chosen through deserialisation."); + } + valueValueTempTmpBuf_.value0 = static_cast(valueValueTempTmpBuf_BufU); } else if (valueValueTempTmpBuf_UnionSelector == 1) { valueValueTempTmpBuf_.selector = 1; - valueValueTempTmpBuf_.value1 = Bindable_Number_serializer::read(thisDeserializer); + valueValueTempTmpBuf_.value1 = Bindable_Arkui_Component_Units_Length_serializer::read(thisDeserializer); } else { INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); } - Opt_Union_Number_Bindable valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSideBarContainerModifier()->setSideBarWidth0(self, static_cast(&valueValueTemp)); + Opt_Union_Length_Bindable valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSideBarContainerModifier()->setSideBarWidth(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_setSideBarWidth0, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_setSideBarWidth, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_SideBarContainerAttribute_setMinSideBarWidth0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); @@ -15442,34 +15655,6 @@ void impl_SideBarContainerAttribute_setMaxSideBarWidth0(Ark_NativePointer thisPt GetNodeModifiers()->getSideBarContainerModifier()->setMaxSideBarWidth0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_setMaxSideBarWidth0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SideBarContainerAttribute_setSideBarWidth1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBuf_ = {}; - valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; - if (valueValueTempTmpBuf_UnionSelector == 0) { - valueValueTempTmpBuf_.selector = 0; - valueValueTempTmpBuf_.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBuf_UnionSelector == 1) { - valueValueTempTmpBuf_.selector = 1; - valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBuf_UnionSelector == 2) { - valueValueTempTmpBuf_.selector = 2; - valueValueTempTmpBuf_.value2 = Resource_serializer::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); - } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSideBarContainerModifier()->setSideBarWidth1(self, static_cast(&valueValueTemp)); -} -KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_setSideBarWidth1, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_SideBarContainerAttribute_setMinSideBarWidth1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); @@ -16410,19 +16595,6 @@ void impl_StackAttribute_setAlignContent(Ark_NativePointer thisPtr, KSerializerB GetNodeModifiers()->getStackModifier()->setAlignContent(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(StackAttribute_setAlignContent, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_StackAttribute_setPointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_PointLightStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = PointLightStyle_serializer::read(thisDeserializer); - } - Opt_PointLightStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getStackModifier()->setPointLight(self, static_cast(&valueValueTemp)); -} -KOALA_INTEROP_DIRECT_V3(StackAttribute_setPointLight, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_Stepper_construct(Ark_Int32 id, Ark_Int32 flags) { return GetNodeModifiers()->getStepperModifier()->construct(id, flags); } @@ -19045,11 +19217,11 @@ void impl_TextAreaAttribute_setFontWeight(Ark_NativePointer thisPtr, KSerializer Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Number_FontWeight_ResourceStr valueValueTempTmpBuf = {}; + Opt_Union_Number_FontWeight_String valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); - Ark_Union_Number_FontWeight_ResourceStr valueValueTempTmpBuf_ = {}; + Ark_Union_Number_FontWeight_String valueValueTempTmpBuf_ = {}; valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; if (valueValueTempTmpBuf_UnionSelector == 0) { valueValueTempTmpBuf_.selector = 0; @@ -19059,26 +19231,14 @@ void impl_TextAreaAttribute_setFontWeight(Ark_NativePointer thisPtr, KSerializer valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readInt32()); } else if (valueValueTempTmpBuf_UnionSelector == 2) { valueValueTempTmpBuf_.selector = 2; - const Ark_Int8 valueValueTempTmpBuf_BufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBuf_BufU = {}; - valueValueTempTmpBuf_BufU.selector = valueValueTempTmpBuf_BufUUnionSelector; - if (valueValueTempTmpBuf_BufUUnionSelector == 0) { - valueValueTempTmpBuf_BufU.selector = 0; - valueValueTempTmpBuf_BufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBuf_BufUUnionSelector == 1) { - valueValueTempTmpBuf_BufU.selector = 1; - valueValueTempTmpBuf_BufU.value1 = Resource_serializer::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_BufU has to be chosen through deserialisation."); - } - valueValueTempTmpBuf_.value2 = static_cast(valueValueTempTmpBuf_BufU); + valueValueTempTmpBuf_.value2 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); } - Opt_Union_Number_FontWeight_ResourceStr valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setFontWeight(self, static_cast(&valueValueTemp)); + Opt_Union_Number_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setFontWeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setFontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_TextAreaAttribute_setFontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { @@ -20482,11 +20642,11 @@ void impl_TextInputAttribute_setFontWeight(Ark_NativePointer thisPtr, KSerialize Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Number_FontWeight_ResourceStr valueValueTempTmpBuf = {}; + Opt_Union_Number_FontWeight_String valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); - Ark_Union_Number_FontWeight_ResourceStr valueValueTempTmpBuf_ = {}; + Ark_Union_Number_FontWeight_String valueValueTempTmpBuf_ = {}; valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; if (valueValueTempTmpBuf_UnionSelector == 0) { valueValueTempTmpBuf_.selector = 0; @@ -20496,26 +20656,14 @@ void impl_TextInputAttribute_setFontWeight(Ark_NativePointer thisPtr, KSerialize valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readInt32()); } else if (valueValueTempTmpBuf_UnionSelector == 2) { valueValueTempTmpBuf_.selector = 2; - const Ark_Int8 valueValueTempTmpBuf_BufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBuf_BufU = {}; - valueValueTempTmpBuf_BufU.selector = valueValueTempTmpBuf_BufUUnionSelector; - if (valueValueTempTmpBuf_BufUUnionSelector == 0) { - valueValueTempTmpBuf_BufU.selector = 0; - valueValueTempTmpBuf_BufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBuf_BufUUnionSelector == 1) { - valueValueTempTmpBuf_BufU.selector = 1; - valueValueTempTmpBuf_BufU.value1 = Resource_serializer::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_BufU has to be chosen through deserialisation."); - } - valueValueTempTmpBuf_.value2 = static_cast(valueValueTempTmpBuf_BufU); + valueValueTempTmpBuf_.value2 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); } - Opt_Union_Number_FontWeight_ResourceStr valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setFontWeight(self, static_cast(&valueValueTemp)); + Opt_Union_Number_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setFontWeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setFontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_TextInputAttribute_setFontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { @@ -22149,6 +22297,23 @@ void impl_ToggleAttribute_setSwitchStyle(Ark_NativePointer thisPtr, KSerializerB GetNodeModifiers()->getToggleModifier()->setSwitchStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ToggleAttribute_setSwitchStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_ToolBarItem_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getToolBarItemModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(ToolBarItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_ToolBarItemInterface_setToolBarItemOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ToolBarItemOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ToolBarItemOptions_serializer::read(thisDeserializer); + } + Opt_ToolBarItemOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getToolBarItemModifier()->setToolBarItemOptions(self, static_cast(&optionsValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(ToolBarItemInterface_setToolBarItemOptions, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_UIExtensionComponent_construct(Ark_Int32 id, Ark_Int32 flags) { return GetNodeModifiers()->getUIExtensionComponentModifier()->construct(id, flags); } @@ -22184,13 +22349,13 @@ void impl_UIExtensionComponentAttribute_setOnReceive(Ark_NativePointer thisPtr, Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Map_String_Object_Void valueValueTempTmpBuf = {}; + Opt_Callback_Map_String_RecordData_Void valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Map_String_Object_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Map_String_Object_Void))))}; + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Map_String_RecordData_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Map_String_RecordData_Void))))}; } - Opt_Callback_Map_String_Object_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getUIExtensionComponentModifier()->setOnReceive(self, static_cast(&valueValueTemp)); + Opt_Callback_Map_String_RecordData_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getUIExtensionComponentModifier()->setOnReceive(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_setOnReceive, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_UIExtensionComponentAttribute_setOnError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { @@ -22294,151 +22459,1724 @@ void impl_VideoAttribute_setLoop(Ark_NativePointer thisPtr, KSerializerBuffer th Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; GetNodeModifiers()->getVideoModifier()->setLoop(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_setLoop, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_setObjectFit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(VideoAttribute_setLoop, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_setObjectFit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageFit valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ImageFit valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setObjectFit(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_setObjectFit, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_setOnStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnStart(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_setOnPause(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnPause(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnPause, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_setOnFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnFinish(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnFinish, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_setOnFullscreenChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_FullscreenInfo_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_FullscreenInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_FullscreenInfo_Void))))}; + } + Opt_Callback_FullscreenInfo_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnFullscreenChange(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnFullscreenChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_setOnPrepared(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_PreparedInfo_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PreparedInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PreparedInfo_Void))))}; + } + Opt_Callback_PreparedInfo_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnPrepared(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnPrepared, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_setOnSeeking(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_PlaybackInfo_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PlaybackInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PlaybackInfo_Void))))}; + } + Opt_Callback_PlaybackInfo_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnSeeking(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnSeeking, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_setOnSeeked(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_PlaybackInfo_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PlaybackInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PlaybackInfo_Void))))}; + } + Opt_Callback_PlaybackInfo_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnSeeked(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnSeeked, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_setOnUpdate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_PlaybackInfo_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PlaybackInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PlaybackInfo_Void))))}; + } + Opt_Callback_PlaybackInfo_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnUpdate(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnUpdate, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_setOnError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + Opt_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnError(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnError, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_setOnStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnStop(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnStop, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_setEnableAnalyzer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setEnableAnalyzer(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_setEnableAnalyzer, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_setAnalyzerConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageAnalyzerConfig valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ImageAnalyzerConfig_serializer::read(thisDeserializer); + } + Opt_ImageAnalyzerConfig valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setAnalyzerConfig(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_setAnalyzerConfig, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_setEnableShortcutKey(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setEnableShortcutKey(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_setEnableShortcutKey, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_WaterFlow_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getWaterFlowModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(WaterFlow_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_WaterFlowInterface_setWaterFlowOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_WaterFlowOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = WaterFlowOptions_serializer::read(thisDeserializer); + } + Opt_WaterFlowOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setWaterFlowOptions(self, static_cast(&optionsValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowInterface_setWaterFlowOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_setColumnsTemplate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setColumnsTemplate(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setColumnsTemplate, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_setItemConstraintSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ConstraintSizeOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ConstraintSizeOptions_serializer::read(thisDeserializer); + } + Opt_ConstraintSizeOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setItemConstraintSize(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setItemConstraintSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_setRowsTemplate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setRowsTemplate(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setRowsTemplate, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_setColumnsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBuf_ = {}; + valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; + if (valueValueTempTmpBuf_UnionSelector == 0) { + valueValueTempTmpBuf_.selector = 0; + valueValueTempTmpBuf_.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBuf_UnionSelector == 1) { + valueValueTempTmpBuf_.selector = 1; + valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBuf_UnionSelector == 2) { + valueValueTempTmpBuf_.selector = 2; + valueValueTempTmpBuf_.value2 = Resource_serializer::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setColumnsGap(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setColumnsGap, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_setRowsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBuf_ = {}; + valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; + if (valueValueTempTmpBuf_UnionSelector == 0) { + valueValueTempTmpBuf_.selector = 0; + valueValueTempTmpBuf_.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBuf_UnionSelector == 1) { + valueValueTempTmpBuf_.selector = 1; + valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBuf_UnionSelector == 2) { + valueValueTempTmpBuf_.selector = 2; + valueValueTempTmpBuf_.value2 = Resource_serializer::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setRowsGap(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setRowsGap, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_setLayoutDirection(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_FlexDirection valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_FlexDirection valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setLayoutDirection(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setLayoutDirection, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_setCachedCount0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readNumber()); + } + Opt_Number valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setCachedCount0(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setCachedCount0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_setOnScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnScrollFrameBeginCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnScrollFrameBeginCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnScrollFrameBeginCallback))))}; + } + Opt_OnScrollFrameBeginCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setOnScrollFrameBegin(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setOnScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_setOnScrollIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Number_Number_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))}; + } + Opt_Callback_Number_Number_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setOnScrollIndex(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setOnScrollIndex, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_setOnWillScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnWillScrollCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnWillScrollCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnWillScrollCallback))))}; + } + Opt_OnWillScrollCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setOnWillScroll(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setOnWillScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_setOnDidScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnScrollCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnScrollCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnScrollCallback))))}; + } + Opt_OnScrollCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setOnDidScroll(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setOnDidScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_setCachedCount1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto countValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number countValueTempTmpBuf = {}; + countValueTempTmpBuf.tag = countValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((countValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + countValueTempTmpBuf.value = static_cast(thisDeserializer.readNumber()); + } + Opt_Number countValueTemp = countValueTempTmpBuf;; + const auto showValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean showValueTempTmpBuf = {}; + showValueTempTmpBuf.tag = showValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((showValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + showValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean showValueTemp = showValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setCachedCount1(self, static_cast(&countValueTemp), static_cast(&showValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setCachedCount1, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Web_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getWebModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Web_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_WebInterface_setWebOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_WebOptions valueValueTemp = WebOptions_serializer::read(thisDeserializer);; + GetNodeModifiers()->getWebModifier()->setWebOptions(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebInterface_setWebOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setJavaScriptAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setJavaScriptAccess(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setJavaScriptAccess, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setFileAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setFileAccess(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setFileAccess, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnlineImageAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnlineImageAccess(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnlineImageAccess, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setDomStorageAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setDomStorageAccess(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setDomStorageAccess, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setImageAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setImageAccess(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setImageAccess, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setMixedMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_MixedMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_MixedMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setMixedMode(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setMixedMode, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setZoomAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setZoomAccess(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setZoomAccess, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setGeolocationAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setGeolocationAccess(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setGeolocationAccess, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setJavaScriptProxy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_JavaScriptProxy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = JavaScriptProxy_serializer::read(thisDeserializer); + } + Opt_JavaScriptProxy valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setJavaScriptProxy(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setJavaScriptProxy, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setCacheMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_CacheMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CacheMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setCacheMode(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setCacheMode, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setDarkMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_WebDarkMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_WebDarkMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setDarkMode(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setDarkMode, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setForceDarkAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setForceDarkAccess(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setForceDarkAccess, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setMediaOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_WebMediaOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = WebMediaOptions_serializer::read(thisDeserializer); + } + Opt_WebMediaOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setMediaOptions(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setMediaOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOverviewModeAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOverviewModeAccess(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOverviewModeAccess, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOverScrollMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OverScrollMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_OverScrollMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOverScrollMode(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOverScrollMode, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setBlurOnKeyboardHideMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlurOnKeyboardHideMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BlurOnKeyboardHideMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setBlurOnKeyboardHideMode(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setBlurOnKeyboardHideMode, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setTextZoomRatio(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setTextZoomRatio(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setTextZoomRatio, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setDatabaseAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setDatabaseAccess(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setDatabaseAccess, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setInitialScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setInitialScale(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setInitialScale, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setMetaViewport(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setMetaViewport(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setMetaViewport, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnPageEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnPageEndEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPageEndEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPageEndEvent_Void))))}; + } + Opt_Callback_OnPageEndEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnPageEnd(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnPageEnd, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnPageBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnPageBeginEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPageBeginEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPageBeginEvent_Void))))}; + } + Opt_Callback_OnPageBeginEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnPageBegin(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnPageBegin, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnProgressChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnProgressChangeEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnProgressChangeEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnProgressChangeEvent_Void))))}; + } + Opt_Callback_OnProgressChangeEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnProgressChange(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnProgressChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnTitleReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnTitleReceiveEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnTitleReceiveEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnTitleReceiveEvent_Void))))}; + } + Opt_Callback_OnTitleReceiveEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnTitleReceive(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnTitleReceive, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnGeolocationHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + Opt_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnGeolocationHide(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnGeolocationHide, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnGeolocationShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnGeolocationShowEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnGeolocationShowEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnGeolocationShowEvent_Void))))}; + } + Opt_Callback_OnGeolocationShowEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnGeolocationShow(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnGeolocationShow, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnRequestSelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + Opt_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnRequestSelected(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnRequestSelected, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnAlert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnAlertEvent_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnAlertEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnAlertEvent_Boolean))))}; + } + Opt_Callback_OnAlertEvent_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnAlert(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnAlert, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnBeforeUnload(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnBeforeUnloadEvent_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnBeforeUnloadEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnBeforeUnloadEvent_Boolean))))}; + } + Opt_Callback_OnBeforeUnloadEvent_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnBeforeUnload(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnBeforeUnload, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnConfirm(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnConfirmEvent_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnConfirmEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnConfirmEvent_Boolean))))}; + } + Opt_Callback_OnConfirmEvent_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnConfirm(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnConfirm, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnPrompt(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnPromptEvent_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPromptEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPromptEvent_Boolean))))}; + } + Opt_Callback_OnPromptEvent_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnPrompt(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnPrompt, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnConsole(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnConsoleEvent_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnConsoleEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnConsoleEvent_Boolean))))}; + } + Opt_Callback_OnConsoleEvent_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnConsole(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnConsole, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnErrorReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnErrorReceiveEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnErrorReceiveEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnErrorReceiveEvent_Void))))}; + } + Opt_Callback_OnErrorReceiveEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnErrorReceive(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnErrorReceive, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnHttpErrorReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnHttpErrorReceiveEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnHttpErrorReceiveEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnHttpErrorReceiveEvent_Void))))}; + } + Opt_Callback_OnHttpErrorReceiveEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnHttpErrorReceive(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnHttpErrorReceive, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnDownloadStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnDownloadStartEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnDownloadStartEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnDownloadStartEvent_Void))))}; + } + Opt_Callback_OnDownloadStartEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnDownloadStart(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnDownloadStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnRefreshAccessedHistory(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnRefreshAccessedHistoryEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnRefreshAccessedHistoryEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnRefreshAccessedHistoryEvent_Void))))}; + } + Opt_Callback_OnRefreshAccessedHistoryEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnRefreshAccessedHistory(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnRefreshAccessedHistory, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnRenderExited(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnRenderExitedEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnRenderExitedEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnRenderExitedEvent_Void))))}; + } + Opt_Callback_OnRenderExitedEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnRenderExited(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnRenderExited, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnShowFileSelector(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnShowFileSelectorEvent_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnShowFileSelectorEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnShowFileSelectorEvent_Boolean))))}; + } + Opt_Callback_OnShowFileSelectorEvent_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnShowFileSelector(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnShowFileSelector, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnResourceLoad(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnResourceLoadEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnResourceLoadEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnResourceLoadEvent_Void))))}; + } + Opt_Callback_OnResourceLoadEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnResourceLoad(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnResourceLoad, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnFullScreenExit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + Opt_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnFullScreenExit(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnFullScreenExit, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnFullScreenEnter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnFullScreenEnterCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnFullScreenEnterCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnFullScreenEnterCallback))))}; + } + Opt_OnFullScreenEnterCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnFullScreenEnter(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnFullScreenEnter, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnScaleChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnScaleChangeEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnScaleChangeEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnScaleChangeEvent_Void))))}; + } + Opt_Callback_OnScaleChangeEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnScaleChange(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnScaleChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnHttpAuthRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnHttpAuthRequestEvent_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnHttpAuthRequestEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnHttpAuthRequestEvent_Boolean))))}; + } + Opt_Callback_OnHttpAuthRequestEvent_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnHttpAuthRequest(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnHttpAuthRequest, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnInterceptRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnInterceptRequestEvent_WebResourceResponse valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnInterceptRequestEvent_WebResourceResponse)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnInterceptRequestEvent_WebResourceResponse))))}; + } + Opt_Callback_OnInterceptRequestEvent_WebResourceResponse valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnInterceptRequest(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnInterceptRequest, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnPermissionRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnPermissionRequestEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPermissionRequestEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPermissionRequestEvent_Void))))}; + } + Opt_Callback_OnPermissionRequestEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnPermissionRequest(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnPermissionRequest, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnScreenCaptureRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnScreenCaptureRequestEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnScreenCaptureRequestEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnScreenCaptureRequestEvent_Void))))}; + } + Opt_Callback_OnScreenCaptureRequestEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnScreenCaptureRequest(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnScreenCaptureRequest, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnContextMenuShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnContextMenuShowEvent_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnContextMenuShowEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnContextMenuShowEvent_Boolean))))}; + } + Opt_Callback_OnContextMenuShowEvent_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnContextMenuShow(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnContextMenuShow, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnContextMenuHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnContextMenuHideCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnContextMenuHideCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnContextMenuHideCallback))))}; + } + Opt_OnContextMenuHideCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnContextMenuHide(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnContextMenuHide, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setMediaPlayGestureAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setMediaPlayGestureAccess(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setMediaPlayGestureAccess, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnSearchResultReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnSearchResultReceiveEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnSearchResultReceiveEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnSearchResultReceiveEvent_Void))))}; + } + Opt_Callback_OnSearchResultReceiveEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnSearchResultReceive(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnSearchResultReceive, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnScrollEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnScrollEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnScrollEvent_Void))))}; + } + Opt_Callback_OnScrollEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnScroll(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnSslErrorEventReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnSslErrorEventReceiveEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnSslErrorEventReceiveEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnSslErrorEventReceiveEvent_Void))))}; + } + Opt_Callback_OnSslErrorEventReceiveEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnSslErrorEventReceive(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnSslErrorEventReceive, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnSslErrorEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnSslErrorEventCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnSslErrorEventCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnSslErrorEventCallback))))}; + } + Opt_OnSslErrorEventCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnSslErrorEvent(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnSslErrorEvent, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnClientAuthenticationRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnClientAuthenticationEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnClientAuthenticationEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnClientAuthenticationEvent_Void))))}; + } + Opt_Callback_OnClientAuthenticationEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnClientAuthenticationRequest(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnClientAuthenticationRequest, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnWindowNew(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnWindowNewEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnWindowNewEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnWindowNewEvent_Void))))}; + } + Opt_Callback_OnWindowNewEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnWindowNew(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnWindowNew, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnWindowExit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + Opt_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnWindowExit(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnWindowExit, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setMultiWindowAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setMultiWindowAccess(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setMultiWindowAccess, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnInterceptKeyEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_KeyEvent_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_KeyEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_KeyEvent_Boolean))))}; + } + Opt_Callback_KeyEvent_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnInterceptKeyEvent(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnInterceptKeyEvent, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setWebStandardFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setWebStandardFont(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setWebStandardFont, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setWebSerifFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setWebSerifFont(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setWebSerifFont, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setWebSansSerifFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setWebSansSerifFont(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setWebSansSerifFont, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setWebFixedFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setWebFixedFont(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setWebFixedFont, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setWebFantasyFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setWebFantasyFont(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setWebFantasyFont, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setWebCursiveFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setWebCursiveFont(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setWebCursiveFont, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setDefaultFixedFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setDefaultFixedFontSize(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setDefaultFixedFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setDefaultFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setDefaultFontSize(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setDefaultFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setMinFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setMinFontSize(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setMinFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setMinLogicalFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setMinLogicalFontSize(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setMinLogicalFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setDefaultTextEncodingFormat(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setDefaultTextEncodingFormat(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setDefaultTextEncodingFormat, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setForceDisplayScrollBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setForceDisplayScrollBar(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setForceDisplayScrollBar, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setBlockNetwork(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setBlockNetwork(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setBlockNetwork, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setHorizontalScrollBarAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setHorizontalScrollBarAccess(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setHorizontalScrollBarAccess, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setVerticalScrollBarAccess(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setVerticalScrollBarAccess(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setVerticalScrollBarAccess, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnTouchIconUrlReceived(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnTouchIconUrlReceivedEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnTouchIconUrlReceivedEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnTouchIconUrlReceivedEvent_Void))))}; + } + Opt_Callback_OnTouchIconUrlReceivedEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnTouchIconUrlReceived(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnTouchIconUrlReceived, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnFaviconReceived(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnFaviconReceivedEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnFaviconReceivedEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnFaviconReceivedEvent_Void))))}; + } + Opt_Callback_OnFaviconReceivedEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnFaviconReceived(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnFaviconReceived, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnPageVisible(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnPageVisibleEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPageVisibleEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPageVisibleEvent_Void))))}; + } + Opt_Callback_OnPageVisibleEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnPageVisible(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnPageVisible, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnDataResubmitted(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnDataResubmittedEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnDataResubmittedEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnDataResubmittedEvent_Void))))}; + } + Opt_Callback_OnDataResubmittedEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnDataResubmitted(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnDataResubmitted, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setPinchSmooth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setPinchSmooth(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setPinchSmooth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setAllowWindowOpenMethod(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setAllowWindowOpenMethod(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setAllowWindowOpenMethod, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnAudioStateChanged(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnAudioStateChangedEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnAudioStateChangedEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnAudioStateChangedEvent_Void))))}; + } + Opt_Callback_OnAudioStateChangedEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnAudioStateChanged(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnAudioStateChanged, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnFirstContentfulPaint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnFirstContentfulPaintEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnFirstContentfulPaintEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnFirstContentfulPaintEvent_Void))))}; + } + Opt_Callback_OnFirstContentfulPaintEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnFirstContentfulPaint(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnFirstContentfulPaint, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnFirstMeaningfulPaint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnFirstMeaningfulPaintCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnFirstMeaningfulPaintCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnFirstMeaningfulPaintCallback))))}; + } + Opt_OnFirstMeaningfulPaintCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnFirstMeaningfulPaint(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnFirstMeaningfulPaint, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnLargestContentfulPaint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnLargestContentfulPaintCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnLargestContentfulPaintCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnLargestContentfulPaintCallback))))}; + } + Opt_OnLargestContentfulPaintCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnLargestContentfulPaint(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnLargestContentfulPaint, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnLoadIntercept(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnLoadInterceptEvent_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnLoadInterceptEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnLoadInterceptEvent_Boolean))))}; + } + Opt_Callback_OnLoadInterceptEvent_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnLoadIntercept(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnLoadIntercept, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnControllerAttached(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + Opt_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnControllerAttached(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnControllerAttached, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnOverScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_OnOverScrollEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnOverScrollEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnOverScrollEvent_Void))))}; + } + Opt_Callback_OnOverScrollEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnOverScroll(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnOverScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnSafeBrowsingCheckResult(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnSafeBrowsingCheckResultCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnSafeBrowsingCheckResultCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnSafeBrowsingCheckResultCallback))))}; + } + Opt_OnSafeBrowsingCheckResultCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnSafeBrowsingCheckResult(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnSafeBrowsingCheckResult, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnNavigationEntryCommitted(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnNavigationEntryCommittedCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnNavigationEntryCommittedCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnNavigationEntryCommittedCallback))))}; + } + Opt_OnNavigationEntryCommittedCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnNavigationEntryCommitted(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnNavigationEntryCommitted, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnIntelligentTrackingPreventionResult(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageFit valueValueTempTmpBuf = {}; + Opt_OnIntelligentTrackingPreventionCallback valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnIntelligentTrackingPreventionCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnIntelligentTrackingPreventionCallback))))}; } - Opt_ImageFit valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setObjectFit(self, static_cast(&valueValueTemp)); + Opt_OnIntelligentTrackingPreventionCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnIntelligentTrackingPreventionResult(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_setObjectFit, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_setOnStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnIntelligentTrackingPreventionResult, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setJavaScriptOnDocumentStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; + Opt_Array_ScriptItem valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; + const Ark_Int32 valueValueTempTmpBuf_Length = thisDeserializer.readInt32(); + Array_ScriptItem valueValueTempTmpBuf_ = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&valueValueTempTmpBuf_, valueValueTempTmpBuf_Length); + for (int valueValueTempTmpBuf_BufCounterI = 0; valueValueTempTmpBuf_BufCounterI < valueValueTempTmpBuf_Length; valueValueTempTmpBuf_BufCounterI++) { + valueValueTempTmpBuf_.array[valueValueTempTmpBuf_BufCounterI] = ScriptItem_serializer::read(thisDeserializer); + } + valueValueTempTmpBuf.value = valueValueTempTmpBuf_; } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnStart(self, static_cast(&valueValueTemp)); + Opt_Array_ScriptItem valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setJavaScriptOnDocumentStart(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnStart, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_setOnPause(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setJavaScriptOnDocumentStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setJavaScriptOnDocumentEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; + Opt_Array_ScriptItem valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; + const Ark_Int32 valueValueTempTmpBuf_Length = thisDeserializer.readInt32(); + Array_ScriptItem valueValueTempTmpBuf_ = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&valueValueTempTmpBuf_, valueValueTempTmpBuf_Length); + for (int valueValueTempTmpBuf_BufCounterI = 0; valueValueTempTmpBuf_BufCounterI < valueValueTempTmpBuf_Length; valueValueTempTmpBuf_BufCounterI++) { + valueValueTempTmpBuf_.array[valueValueTempTmpBuf_BufCounterI] = ScriptItem_serializer::read(thisDeserializer); + } + valueValueTempTmpBuf.value = valueValueTempTmpBuf_; } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnPause(self, static_cast(&valueValueTemp)); + Opt_Array_ScriptItem valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setJavaScriptOnDocumentEnd(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnPause, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_setOnFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setJavaScriptOnDocumentEnd, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setLayoutMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; + Opt_WebLayoutMode valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnFinish(self, static_cast(&valueValueTemp)); + Opt_WebLayoutMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setLayoutMode(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnFinish, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_setOnFullscreenChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setLayoutMode, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setNestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_FullscreenInfo_Void valueValueTempTmpBuf = {}; + Opt_Union_NestedScrollOptions_NestedScrollOptionsExt valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_FullscreenInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_FullscreenInfo_Void))))}; + const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); + Ark_Union_NestedScrollOptions_NestedScrollOptionsExt valueValueTempTmpBuf_ = {}; + valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; + if (valueValueTempTmpBuf_UnionSelector == 0) { + valueValueTempTmpBuf_.selector = 0; + valueValueTempTmpBuf_.value0 = NestedScrollOptions_serializer::read(thisDeserializer); + } else if (valueValueTempTmpBuf_UnionSelector == 1) { + valueValueTempTmpBuf_.selector = 1; + valueValueTempTmpBuf_.value1 = NestedScrollOptionsExt_serializer::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); } - Opt_Callback_FullscreenInfo_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnFullscreenChange(self, static_cast(&valueValueTemp)); + Opt_Union_NestedScrollOptions_NestedScrollOptionsExt valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setNestedScroll(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnFullscreenChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_setOnPrepared(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setNestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setEnableNativeEmbedMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_PreparedInfo_Void valueValueTempTmpBuf = {}; + Opt_Boolean valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PreparedInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PreparedInfo_Void))))}; + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); } - Opt_Callback_PreparedInfo_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnPrepared(self, static_cast(&valueValueTemp)); + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setEnableNativeEmbedMode(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnPrepared, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_setOnSeeking(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setEnableNativeEmbedMode, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnNativeEmbedLifecycleChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_PlaybackInfo_Void valueValueTempTmpBuf = {}; + Opt_Callback_NativeEmbedDataInfo_Void valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PlaybackInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PlaybackInfo_Void))))}; + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NativeEmbedDataInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NativeEmbedDataInfo_Void))))}; } - Opt_Callback_PlaybackInfo_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnSeeking(self, static_cast(&valueValueTemp)); + Opt_Callback_NativeEmbedDataInfo_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnNativeEmbedLifecycleChange(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnSeeking, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_setOnSeeked(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnNativeEmbedLifecycleChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnNativeEmbedVisibilityChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_PlaybackInfo_Void valueValueTempTmpBuf = {}; + Opt_OnNativeEmbedVisibilityChangeCallback valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PlaybackInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PlaybackInfo_Void))))}; + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnNativeEmbedVisibilityChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnNativeEmbedVisibilityChangeCallback))))}; } - Opt_Callback_PlaybackInfo_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnSeeked(self, static_cast(&valueValueTemp)); + Opt_OnNativeEmbedVisibilityChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnNativeEmbedVisibilityChange(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnSeeked, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_setOnUpdate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnNativeEmbedVisibilityChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnNativeEmbedGestureEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_PlaybackInfo_Void valueValueTempTmpBuf = {}; + Opt_Callback_NativeEmbedTouchInfo_Void valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PlaybackInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PlaybackInfo_Void))))}; + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NativeEmbedTouchInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NativeEmbedTouchInfo_Void))))}; } - Opt_Callback_PlaybackInfo_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnUpdate(self, static_cast(&valueValueTemp)); + Opt_Callback_NativeEmbedTouchInfo_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnNativeEmbedGestureEvent(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnUpdate, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_setOnError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnNativeEmbedGestureEvent, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setCopyOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Void valueValueTempTmpBuf = {}; + Opt_CopyOptions valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); } - Opt_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnError(self, static_cast(&valueValueTemp)); + Opt_CopyOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setCopyOptions(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnError, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_setOnStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setCopyOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnOverrideUrlLoading(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Void valueValueTempTmpBuf = {}; + Opt_OnOverrideUrlLoadingCallback valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnOverrideUrlLoadingCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnOverrideUrlLoadingCallback))))}; } - Opt_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnStop(self, static_cast(&valueValueTemp)); + Opt_OnOverrideUrlLoadingCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnOverrideUrlLoading(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnStop, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_setEnableAnalyzer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnOverrideUrlLoading, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setTextAutosizing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -22448,258 +24186,292 @@ void impl_VideoAttribute_setEnableAnalyzer(Ark_NativePointer thisPtr, KSerialize valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); } Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setEnableAnalyzer(self, static_cast(&valueValueTemp)); + GetNodeModifiers()->getWebModifier()->setTextAutosizing(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_setEnableAnalyzer, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_setAnalyzerConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setTextAutosizing, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setEnableNativeMediaPlayer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageAnalyzerConfig valueValueTempTmpBuf = {}; + Opt_NativeMediaPlayerConfig valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ImageAnalyzerConfig_serializer::read(thisDeserializer); + valueValueTempTmpBuf.value = NativeMediaPlayerConfig_serializer::read(thisDeserializer); } - Opt_ImageAnalyzerConfig valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setAnalyzerConfig(self, static_cast(&valueValueTemp)); + Opt_NativeMediaPlayerConfig valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setEnableNativeMediaPlayer(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_setAnalyzerConfig, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_setSurfaceBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setEnableNativeMediaPlayer, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnRenderProcessNotResponding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ColorMetrics valueValueTempTmpBuf = {}; + Opt_OnRenderProcessNotRespondingCallback valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(ColorMetrics_serializer::read(thisDeserializer)); + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnRenderProcessNotRespondingCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnRenderProcessNotRespondingCallback))))}; } - Opt_ColorMetrics valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setSurfaceBackgroundColor(self, static_cast(&valueValueTemp)); + Opt_OnRenderProcessNotRespondingCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnRenderProcessNotResponding(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_setSurfaceBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_setEnableShortcutKey(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnRenderProcessNotResponding, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnRenderProcessResponding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; + Opt_OnRenderProcessRespondingCallback valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnRenderProcessRespondingCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnRenderProcessRespondingCallback))))}; } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setEnableShortcutKey(self, static_cast(&valueValueTemp)); + Opt_OnRenderProcessRespondingCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnRenderProcessResponding(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_setEnableShortcutKey, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_WaterFlow_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getWaterFlowModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnRenderProcessResponding, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnViewportFitChanged(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnViewportFitChangedCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnViewportFitChangedCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnViewportFitChangedCallback))))}; + } + Opt_OnViewportFitChangedCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnViewportFitChanged(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_2(WaterFlow_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_WaterFlowInterface_setWaterFlowOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnViewportFitChanged, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnInterceptKeyboardAttach(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_WaterFlowOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = WaterFlowOptions_serializer::read(thisDeserializer); + const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_WebKeyboardCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_WebKeyboardCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_WebKeyboardCallback))))}; } - Opt_WaterFlowOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setWaterFlowOptions(self, static_cast(&optionsValueTemp)); + Opt_WebKeyboardCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnInterceptKeyboardAttach(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(WaterFlowInterface_setWaterFlowOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_setColumnsTemplate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnInterceptKeyboardAttach, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOnAdsBlocked(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; + Opt_OnAdsBlockedCallback valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnAdsBlockedCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnAdsBlockedCallback))))}; } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setColumnsTemplate(self, static_cast(&valueValueTemp)); + Opt_OnAdsBlockedCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOnAdsBlocked(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setColumnsTemplate, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_setItemConstraintSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOnAdsBlocked, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setKeyboardAvoidMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ConstraintSizeOptions valueValueTempTmpBuf = {}; + Opt_WebKeyboardAvoidMode valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ConstraintSizeOptions_serializer::read(thisDeserializer); + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); } - Opt_ConstraintSizeOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setItemConstraintSize(self, static_cast(&valueValueTemp)); + Opt_WebKeyboardAvoidMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setKeyboardAvoidMode(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setItemConstraintSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_setRowsTemplate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setKeyboardAvoidMode, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setEditMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; + Opt_EditMenuOptions valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + valueValueTempTmpBuf.value = EditMenuOptions_serializer::read(thisDeserializer); } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setRowsTemplate(self, static_cast(&valueValueTemp)); + Opt_EditMenuOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setEditMenuOptions(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setRowsTemplate, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_setColumnsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setEditMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setEnableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; + Opt_Boolean valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBuf_ = {}; - valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; - if (valueValueTempTmpBuf_UnionSelector == 0) { - valueValueTempTmpBuf_.selector = 0; - valueValueTempTmpBuf_.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBuf_UnionSelector == 1) { - valueValueTempTmpBuf_.selector = 1; - valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBuf_UnionSelector == 2) { - valueValueTempTmpBuf_.selector = 2; - valueValueTempTmpBuf_.value2 = Resource_serializer::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setColumnsGap(self, static_cast(&valueValueTemp)); + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setColumnsGap, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_setRowsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setEnableHapticFeedback, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setOptimizeParserBudget(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; + Opt_Boolean valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBuf_UnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBuf_ = {}; - valueValueTempTmpBuf_.selector = valueValueTempTmpBuf_UnionSelector; - if (valueValueTempTmpBuf_UnionSelector == 0) { - valueValueTempTmpBuf_.selector = 0; - valueValueTempTmpBuf_.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBuf_UnionSelector == 1) { - valueValueTempTmpBuf_.selector = 1; - valueValueTempTmpBuf_.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBuf_UnionSelector == 2) { - valueValueTempTmpBuf_.selector = 2; - valueValueTempTmpBuf_.value2 = Resource_serializer::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf_ has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBuf_); + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setRowsGap(self, static_cast(&valueValueTemp)); + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setOptimizeParserBudget(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setRowsGap, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_setLayoutDirection(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setOptimizeParserBudget, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setEnableFollowSystemFontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_FlexDirection valueValueTempTmpBuf = {}; + Opt_Boolean valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); } - Opt_FlexDirection valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setLayoutDirection(self, static_cast(&valueValueTemp)); + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setEnableFollowSystemFontWeight(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setLayoutDirection, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_setCachedCount0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setEnableFollowSystemFontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setEnableWebAVSession(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Number valueValueTempTmpBuf = {}; + Opt_Boolean valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readNumber()); + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); } - Opt_Number valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setCachedCount0(self, static_cast(&valueValueTemp)); + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setEnableWebAVSession(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setCachedCount0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_setOnScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setEnableWebAVSession, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setRunJavaScriptOnDocumentStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnScrollFrameBeginCallback valueValueTempTmpBuf = {}; + Opt_Array_ScriptItem valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnScrollFrameBeginCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnScrollFrameBeginCallback))))}; + const Ark_Int32 valueValueTempTmpBuf_Length = thisDeserializer.readInt32(); + Array_ScriptItem valueValueTempTmpBuf_ = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&valueValueTempTmpBuf_, valueValueTempTmpBuf_Length); + for (int valueValueTempTmpBuf_BufCounterI = 0; valueValueTempTmpBuf_BufCounterI < valueValueTempTmpBuf_Length; valueValueTempTmpBuf_BufCounterI++) { + valueValueTempTmpBuf_.array[valueValueTempTmpBuf_BufCounterI] = ScriptItem_serializer::read(thisDeserializer); + } + valueValueTempTmpBuf.value = valueValueTempTmpBuf_; } - Opt_OnScrollFrameBeginCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setOnScrollFrameBegin(self, static_cast(&valueValueTemp)); + Opt_Array_ScriptItem valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setRunJavaScriptOnDocumentStart(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setOnScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_setOnScrollIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setRunJavaScriptOnDocumentStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setRunJavaScriptOnDocumentEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Number_Number_Void valueValueTempTmpBuf = {}; + Opt_Array_ScriptItem valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))}; + const Ark_Int32 valueValueTempTmpBuf_Length = thisDeserializer.readInt32(); + Array_ScriptItem valueValueTempTmpBuf_ = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&valueValueTempTmpBuf_, valueValueTempTmpBuf_Length); + for (int valueValueTempTmpBuf_BufCounterI = 0; valueValueTempTmpBuf_BufCounterI < valueValueTempTmpBuf_Length; valueValueTempTmpBuf_BufCounterI++) { + valueValueTempTmpBuf_.array[valueValueTempTmpBuf_BufCounterI] = ScriptItem_serializer::read(thisDeserializer); + } + valueValueTempTmpBuf.value = valueValueTempTmpBuf_; } - Opt_Callback_Number_Number_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setOnScrollIndex(self, static_cast(&valueValueTemp)); + Opt_Array_ScriptItem valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setRunJavaScriptOnDocumentEnd(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setOnScrollIndex, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_setOnWillScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setRunJavaScriptOnDocumentEnd, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setRunJavaScriptOnHeadEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnWillScrollCallback valueValueTempTmpBuf = {}; + Opt_Array_ScriptItem valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnWillScrollCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnWillScrollCallback))))}; + const Ark_Int32 valueValueTempTmpBuf_Length = thisDeserializer.readInt32(); + Array_ScriptItem valueValueTempTmpBuf_ = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&valueValueTempTmpBuf_, valueValueTempTmpBuf_Length); + for (int valueValueTempTmpBuf_BufCounterI = 0; valueValueTempTmpBuf_BufCounterI < valueValueTempTmpBuf_Length; valueValueTempTmpBuf_BufCounterI++) { + valueValueTempTmpBuf_.array[valueValueTempTmpBuf_BufCounterI] = ScriptItem_serializer::read(thisDeserializer); + } + valueValueTempTmpBuf.value = valueValueTempTmpBuf_; } - Opt_OnWillScrollCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setOnWillScroll(self, static_cast(&valueValueTemp)); + Opt_Array_ScriptItem valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setRunJavaScriptOnHeadEnd(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setOnWillScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_setOnDidScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setRunJavaScriptOnHeadEnd, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setNativeEmbedOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnScrollCallback valueValueTempTmpBuf = {}; + Opt_EmbedOptions valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnScrollCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnScrollCallback))))}; + valueValueTempTmpBuf.value = EmbedOptions_serializer::read(thisDeserializer); } - Opt_OnScrollCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setOnDidScroll(self, static_cast(&valueValueTemp)); + Opt_EmbedOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setNativeEmbedOptions(self, static_cast(&valueValueTemp)); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setOnDidScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_setCachedCount1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(WebAttribute_setNativeEmbedOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setRegisterNativeEmbedRule(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); - const auto countValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Number countValueTempTmpBuf = {}; - countValueTempTmpBuf.tag = countValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((countValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - countValueTempTmpBuf.value = static_cast(thisDeserializer.readNumber()); + const auto tagValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String tagValueTempTmpBuf = {}; + tagValueTempTmpBuf.tag = tagValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((tagValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + tagValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); } - Opt_Number countValueTemp = countValueTempTmpBuf;; - const auto showValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean showValueTempTmpBuf = {}; - showValueTempTmpBuf.tag = showValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((showValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - showValueTempTmpBuf.value = thisDeserializer.readBoolean(); + Opt_String tagValueTemp = tagValueTempTmpBuf;; + const auto typeValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String typeValueTempTmpBuf = {}; + typeValueTempTmpBuf.tag = typeValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((typeValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + typeValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); } - Opt_Boolean showValueTemp = showValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setCachedCount1(self, static_cast(&countValueTemp), static_cast(&showValueTemp)); + Opt_String typeValueTemp = typeValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setRegisterNativeEmbedRule(self, static_cast(&tagValueTemp), static_cast(&typeValueTemp)); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setCachedCount1, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(WebAttribute_setRegisterNativeEmbedRule, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_setBindSelectionMenu(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto elementTypeValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_WebElementType elementTypeValueTempTmpBuf = {}; + elementTypeValueTempTmpBuf.tag = elementTypeValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((elementTypeValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + elementTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_WebElementType elementTypeValueTemp = elementTypeValueTempTmpBuf;; + const auto contentValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_CustomNodeBuilder contentValueTempTmpBuf = {}; + contentValueTempTmpBuf.tag = contentValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((contentValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + contentValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + Opt_CustomNodeBuilder contentValueTemp = contentValueTempTmpBuf;; + const auto responseTypeValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_WebResponseType responseTypeValueTempTmpBuf = {}; + responseTypeValueTempTmpBuf.tag = responseTypeValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((responseTypeValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + responseTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_WebResponseType responseTypeValueTemp = responseTypeValueTempTmpBuf;; + const auto optionsValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SelectionMenuOptionsExt optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = SelectionMenuOptionsExt_serializer::read(thisDeserializer); + } + Opt_SelectionMenuOptionsExt optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getWebModifier()->setBindSelectionMenu(self, static_cast(&elementTypeValueTemp), static_cast(&contentValueTemp), static_cast(&responseTypeValueTemp), static_cast(&optionsValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_setBindSelectionMenu, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_WindowScene_construct(Ark_Int32 id, Ark_Int32 flags) { return GetNodeModifiers()->getWindowSceneModifier()->construct(id, flags); } @@ -22744,38 +24516,39 @@ Ark_NativePointer impl_XComponent_construct(Ark_Int32 id, Ark_Int32 flags) { return GetNodeModifiers()->getXComponentModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(XComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_XComponentInterface_setXComponentOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_XComponentParameter valueValueTemp = XComponentParameter_serializer::read(thisDeserializer);; - GetNodeModifiers()->getXComponentModifier()->setXComponentOptions0(self, static_cast(&valueValueTemp)); -} -KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_XComponentInterface_setXComponentOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_XComponentOptions optionsValueTemp = XComponentOptions_serializer::read(thisDeserializer);; - GetNodeModifiers()->getXComponentModifier()->setXComponentOptions1(self, static_cast(&optionsValueTemp)); -} -KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_XComponentInterface_setXComponentOptions2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_NativeXComponentParameters paramsValueTemp = NativeXComponentParameters_serializer::read(thisDeserializer);; - GetNodeModifiers()->getXComponentModifier()->setXComponentOptions2(self, static_cast(¶msValueTemp)); +void impl_XComponentInterface_setXComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 paramsValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters paramsValueTempTmpBuf = {}; + paramsValueTempTmpBuf.selector = paramsValueTempTmpBufUnionSelector; + if (paramsValueTempTmpBufUnionSelector == 0) { + paramsValueTempTmpBuf.selector = 0; + paramsValueTempTmpBuf.value0 = XComponentParameters_serializer::read(thisDeserializer); + } else if (paramsValueTempTmpBufUnionSelector == 1) { + paramsValueTempTmpBuf.selector = 1; + paramsValueTempTmpBuf.value1 = XComponentOptions_serializer::read(thisDeserializer); + } else if (paramsValueTempTmpBufUnionSelector == 2) { + paramsValueTempTmpBuf.selector = 2; + paramsValueTempTmpBuf.value2 = NativeXComponentParameters_serializer::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for paramsValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters paramsValueTemp = static_cast(paramsValueTempTmpBuf);; + GetNodeModifiers()->getXComponentModifier()->setXComponentOptions(self, static_cast(¶msValueTemp)); } -KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions2, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_XComponentAttribute_setOnLoad(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnNativeLoadCallback valueValueTempTmpBuf = {}; + Opt_VoidCallback valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnNativeLoadCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnNativeLoadCallback))))}; + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; } - Opt_OnNativeLoadCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getXComponentModifier()->setOnLoad(self, static_cast(&valueValueTemp)); + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getXComponentModifier()->setOnLoad(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(XComponentAttribute_setOnLoad, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_XComponentAttribute_setOnDestroy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { @@ -22821,28 +24594,15 @@ void impl_XComponentAttribute_setHdrBrightness(Ark_NativePointer thisPtr, KSeria Ark_NodeHandle self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Number valueValueTempTmpBuf = {}; + Opt_Float64 valueValueTempTmpBuf = {}; valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readNumber()); + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); } - Opt_Number valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getXComponentModifier()->setHdrBrightness(self, static_cast(&valueValueTemp)); + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getXComponentModifier()->setHdrBrightness(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(XComponentAttribute_setHdrBrightness, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_XComponentAttribute_setEnableTransparentLayer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getXComponentModifier()->setEnableTransparentLayer(self, static_cast(&valueValueTemp)); -} -KOALA_INTEROP_DIRECT_V3(XComponentAttribute_setEnableTransparentLayer, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_ComponentRoot_construct(Ark_Int32 id, Ark_Int32 flags) { return GetNodeModifiers()->getComponentRootModifier()->construct(id, flags); } @@ -24315,7 +26075,7 @@ KInteropReturnBuffer impl_CanvasRenderer_getFillStyle(Ark_NativePointer thisPtr) } else if (retValue.selector == 1) { _retSerializer.writeInt8(1); const auto retValueForIdx1 = retValue.value1; - _retSerializer.writeNumber(retValueForIdx1); + _retSerializer.writeInt32(retValueForIdx1); } else if (retValue.selector == 2) { _retSerializer.writeInt8(2); const auto retValueForIdx2 = retValue.value2; @@ -24332,14 +26092,14 @@ void impl_CanvasRenderer_setFillStyle(Ark_NativePointer thisPtr, KSerializerBuff Ark_CanvasRenderer self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const Ark_Int8 fillStyleValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_Number_CanvasGradient_CanvasPattern fillStyleValueTempTmpBuf = {}; + Ark_Union_String_I32_CanvasGradient_CanvasPattern fillStyleValueTempTmpBuf = {}; fillStyleValueTempTmpBuf.selector = fillStyleValueTempTmpBufUnionSelector; if (fillStyleValueTempTmpBufUnionSelector == 0) { fillStyleValueTempTmpBuf.selector = 0; fillStyleValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); } else if (fillStyleValueTempTmpBufUnionSelector == 1) { fillStyleValueTempTmpBuf.selector = 1; - fillStyleValueTempTmpBuf.value1 = static_cast(thisDeserializer.readNumber()); + fillStyleValueTempTmpBuf.value1 = thisDeserializer.readInt32(); } else if (fillStyleValueTempTmpBufUnionSelector == 2) { fillStyleValueTempTmpBuf.selector = 2; fillStyleValueTempTmpBuf.value2 = static_cast(CanvasGradient_serializer::read(thisDeserializer)); @@ -24349,8 +26109,8 @@ void impl_CanvasRenderer_setFillStyle(Ark_NativePointer thisPtr, KSerializerBuff } else { INTEROP_FATAL("One of the branches for fillStyleValueTempTmpBuf has to be chosen through deserialisation."); } - Ark_Union_String_Number_CanvasGradient_CanvasPattern fillStyleValueTemp = static_cast(fillStyleValueTempTmpBuf);; - GetAccessors()->getCanvasRendererAccessor()->setFillStyle(self, static_cast(&fillStyleValueTemp)); + Ark_Union_String_I32_CanvasGradient_CanvasPattern fillStyleValueTemp = static_cast(fillStyleValueTempTmpBuf);; + GetAccessors()->getCanvasRendererAccessor()->setFillStyle(self, static_cast(&fillStyleValueTemp)); } KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setFillStyle, Ark_NativePointer, KSerializerBuffer, int32_t) KInteropReturnBuffer impl_CanvasRenderer_getStrokeStyle(Ark_NativePointer thisPtr) { @@ -24364,7 +26124,7 @@ KInteropReturnBuffer impl_CanvasRenderer_getStrokeStyle(Ark_NativePointer thisPt } else if (retValue.selector == 1) { _retSerializer.writeInt8(1); const auto retValueForIdx1 = retValue.value1; - _retSerializer.writeNumber(retValueForIdx1); + _retSerializer.writeInt32(retValueForIdx1); } else if (retValue.selector == 2) { _retSerializer.writeInt8(2); const auto retValueForIdx2 = retValue.value2; @@ -24381,14 +26141,14 @@ void impl_CanvasRenderer_setStrokeStyle(Ark_NativePointer thisPtr, KSerializerBu Ark_CanvasRenderer self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const Ark_Int8 strokeStyleValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_Number_CanvasGradient_CanvasPattern strokeStyleValueTempTmpBuf = {}; + Ark_Union_String_I32_CanvasGradient_CanvasPattern strokeStyleValueTempTmpBuf = {}; strokeStyleValueTempTmpBuf.selector = strokeStyleValueTempTmpBufUnionSelector; if (strokeStyleValueTempTmpBufUnionSelector == 0) { strokeStyleValueTempTmpBuf.selector = 0; strokeStyleValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); } else if (strokeStyleValueTempTmpBufUnionSelector == 1) { strokeStyleValueTempTmpBuf.selector = 1; - strokeStyleValueTempTmpBuf.value1 = static_cast(thisDeserializer.readNumber()); + strokeStyleValueTempTmpBuf.value1 = thisDeserializer.readInt32(); } else if (strokeStyleValueTempTmpBufUnionSelector == 2) { strokeStyleValueTempTmpBuf.selector = 2; strokeStyleValueTempTmpBuf.value2 = static_cast(CanvasGradient_serializer::read(thisDeserializer)); @@ -24398,8 +26158,8 @@ void impl_CanvasRenderer_setStrokeStyle(Ark_NativePointer thisPtr, KSerializerBu } else { INTEROP_FATAL("One of the branches for strokeStyleValueTempTmpBuf has to be chosen through deserialisation."); } - Ark_Union_String_Number_CanvasGradient_CanvasPattern strokeStyleValueTemp = static_cast(strokeStyleValueTempTmpBuf);; - GetAccessors()->getCanvasRendererAccessor()->setStrokeStyle(self, static_cast(&strokeStyleValueTemp)); + Ark_Union_String_I32_CanvasGradient_CanvasPattern strokeStyleValueTemp = static_cast(strokeStyleValueTempTmpBuf);; + GetAccessors()->getCanvasRendererAccessor()->setStrokeStyle(self, static_cast(&strokeStyleValueTemp)); } KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setStrokeStyle, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_String impl_CanvasRenderer_getFilter(Ark_NativePointer thisPtr) { @@ -24953,6 +26713,34 @@ void impl_ClickEvent_setPreventDefault(Ark_NativePointer thisPtr, KSerializerBuf GetAccessors()->getClickEventAccessor()->setPreventDefault(self, static_cast(&preventDefaultValueTemp)); } KOALA_INTEROP_DIRECT_V3(ClickEvent_setPreventDefault, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_ClientAuthenticationHandler_construct() { + return GetAccessors()->getClientAuthenticationHandlerAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(ClientAuthenticationHandler_construct, Ark_NativePointer) +Ark_NativePointer impl_ClientAuthenticationHandler_getFinalizer() { + return GetAccessors()->getClientAuthenticationHandlerAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(ClientAuthenticationHandler_getFinalizer, Ark_NativePointer) +void impl_ClientAuthenticationHandler_confirm0(Ark_NativePointer thisPtr, const KStringPtr& priKeyFile, const KStringPtr& certChainFile) { + Ark_ClientAuthenticationHandler self = reinterpret_cast(thisPtr); + GetAccessors()->getClientAuthenticationHandlerAccessor()->confirm0(self, (const Ark_String*) (&priKeyFile), (const Ark_String*) (&certChainFile)); +} +KOALA_INTEROP_V3(ClientAuthenticationHandler_confirm0, Ark_NativePointer, KStringPtr, KStringPtr) +void impl_ClientAuthenticationHandler_confirm1(Ark_NativePointer thisPtr, const KStringPtr& authUri) { + Ark_ClientAuthenticationHandler self = reinterpret_cast(thisPtr); + GetAccessors()->getClientAuthenticationHandlerAccessor()->confirm1(self, (const Ark_String*) (&authUri)); +} +KOALA_INTEROP_V2(ClientAuthenticationHandler_confirm1, Ark_NativePointer, KStringPtr) +void impl_ClientAuthenticationHandler_cancel(Ark_NativePointer thisPtr) { + Ark_ClientAuthenticationHandler self = reinterpret_cast(thisPtr); + GetAccessors()->getClientAuthenticationHandlerAccessor()->cancel(self); +} +KOALA_INTEROP_DIRECT_V1(ClientAuthenticationHandler_cancel, Ark_NativePointer) +void impl_ClientAuthenticationHandler_ignore(Ark_NativePointer thisPtr) { + Ark_ClientAuthenticationHandler self = reinterpret_cast(thisPtr); + GetAccessors()->getClientAuthenticationHandlerAccessor()->ignore(self); +} +KOALA_INTEROP_DIRECT_V1(ClientAuthenticationHandler_ignore, Ark_NativePointer) Ark_NativePointer impl_ColorContent_construct() { return GetAccessors()->getColorContentAccessor()->construct(); } @@ -25269,6 +27057,34 @@ void impl_ComponentContent_updateConfiguration(Ark_NativePointer thisPtr) { GetAccessors()->getComponentContentAccessor()->updateConfiguration(self); } KOALA_INTEROP_DIRECT_V1(ComponentContent_updateConfiguration, Ark_NativePointer) +Ark_NativePointer impl_ConsoleMessage_construct() { + return GetAccessors()->getConsoleMessageAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(ConsoleMessage_construct, Ark_NativePointer) +Ark_NativePointer impl_ConsoleMessage_getFinalizer() { + return GetAccessors()->getConsoleMessageAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(ConsoleMessage_getFinalizer, Ark_NativePointer) +Ark_String impl_ConsoleMessage_getMessage(Ark_NativePointer thisPtr) { + Ark_ConsoleMessage self = reinterpret_cast(thisPtr); + return GetAccessors()->getConsoleMessageAccessor()->getMessage(self); +} +KOALA_INTEROP_1(ConsoleMessage_getMessage, KStringPtr, Ark_NativePointer) +Ark_String impl_ConsoleMessage_getSourceId(Ark_NativePointer thisPtr) { + Ark_ConsoleMessage self = reinterpret_cast(thisPtr); + return GetAccessors()->getConsoleMessageAccessor()->getSourceId(self); +} +KOALA_INTEROP_1(ConsoleMessage_getSourceId, KStringPtr, Ark_NativePointer) +Ark_Number impl_ConsoleMessage_getLineNumber(Ark_NativePointer thisPtr) { + Ark_ConsoleMessage self = reinterpret_cast(thisPtr); + return GetAccessors()->getConsoleMessageAccessor()->getLineNumber(self); +} +KOALA_INTEROP_DIRECT_1(ConsoleMessage_getLineNumber, KInteropNumber, Ark_NativePointer) +Ark_Int32 impl_ConsoleMessage_getMessageLevel(Ark_NativePointer thisPtr) { + Ark_ConsoleMessage self = reinterpret_cast(thisPtr); + return GetAccessors()->getConsoleMessageAccessor()->getMessageLevel(self); +} +KOALA_INTEROP_DIRECT_1(ConsoleMessage_getMessageLevel, Ark_Int32, Ark_NativePointer) void impl_ContentModifierHelper_contentModifierButton(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) { DeserializerBase thisDeserializer(thisArray, thisLength); Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; @@ -25420,6 +27236,19 @@ Ark_NativePointer impl_Context_getFinalizer() { return GetAccessors()->getContextAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(Context_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_ControllerHandler_construct() { + return GetAccessors()->getControllerHandlerAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(ControllerHandler_construct, Ark_NativePointer) +Ark_NativePointer impl_ControllerHandler_getFinalizer() { + return GetAccessors()->getControllerHandlerAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(ControllerHandler_getFinalizer, Ark_NativePointer) +void impl_ControllerHandler_setWebController(Ark_NativePointer thisPtr, Ark_NativePointer controller) { + Ark_ControllerHandler self = reinterpret_cast(thisPtr); + GetAccessors()->getControllerHandlerAccessor()->setWebController(self, static_cast(controller)); +} +KOALA_INTEROP_DIRECT_V2(ControllerHandler_setWebController, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_curves_ICurve_construct() { return GetAccessors()->getCurves_ICurveAccessor()->construct(); } @@ -25494,6 +27323,24 @@ void impl_CustomSpan_setOnDraw(Ark_NativePointer thisPtr, KSerializerBuffer this GetAccessors()->getCustomSpanAccessor()->setOnDraw(self, static_cast(&onDrawValueTemp)); } KOALA_INTEROP_DIRECT_V3(CustomSpan_setOnDraw, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_DataResubmissionHandler_construct() { + return GetAccessors()->getDataResubmissionHandlerAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(DataResubmissionHandler_construct, Ark_NativePointer) +Ark_NativePointer impl_DataResubmissionHandler_getFinalizer() { + return GetAccessors()->getDataResubmissionHandlerAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(DataResubmissionHandler_getFinalizer, Ark_NativePointer) +void impl_DataResubmissionHandler_resend(Ark_NativePointer thisPtr) { + Ark_DataResubmissionHandler self = reinterpret_cast(thisPtr); + GetAccessors()->getDataResubmissionHandlerAccessor()->resend(self); +} +KOALA_INTEROP_DIRECT_V1(DataResubmissionHandler_resend, Ark_NativePointer) +void impl_DataResubmissionHandler_cancel(Ark_NativePointer thisPtr) { + Ark_DataResubmissionHandler self = reinterpret_cast(thisPtr); + GetAccessors()->getDataResubmissionHandlerAccessor()->cancel(self); +} +KOALA_INTEROP_DIRECT_V1(DataResubmissionHandler_cancel, Ark_NativePointer) Ark_NativePointer impl_DatePickerDialog_construct() { return GetAccessors()->getDatePickerDialogAccessor()->construct(); } @@ -27732,6 +29579,24 @@ void impl_EventEmulator_emitTextInputEvent(Ark_NativePointer node, const KString GetAccessors()->getEventEmulatorAccessor()->emitTextInputEvent(node, (const Ark_String*) (&text)); } KOALA_INTEROP_V2(EventEmulator_emitTextInputEvent, Ark_NativePointer, KStringPtr) +Ark_NativePointer impl_EventResult_construct() { + return GetAccessors()->getEventResultAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(EventResult_construct, Ark_NativePointer) +Ark_NativePointer impl_EventResult_getFinalizer() { + return GetAccessors()->getEventResultAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(EventResult_getFinalizer, Ark_NativePointer) +void impl_EventResult_setGestureEventResult0(Ark_NativePointer thisPtr, Ark_Boolean result) { + Ark_EventResult self = reinterpret_cast(thisPtr); + GetAccessors()->getEventResultAccessor()->setGestureEventResult0(self, result); +} +KOALA_INTEROP_DIRECT_V2(EventResult_setGestureEventResult0, Ark_NativePointer, Ark_Boolean) +void impl_EventResult_setGestureEventResult1(Ark_NativePointer thisPtr, Ark_Boolean result, Ark_Boolean stopPropagation) { + Ark_EventResult self = reinterpret_cast(thisPtr); + GetAccessors()->getEventResultAccessor()->setGestureEventResult1(self, result, stopPropagation); +} +KOALA_INTEROP_DIRECT_V3(EventResult_setGestureEventResult1, Ark_NativePointer, Ark_Boolean, Ark_Boolean) Ark_NativePointer impl_EventTargetInfo_construct() { return GetAccessors()->getEventTargetInfoAccessor()->construct(); } @@ -27827,6 +29692,75 @@ KInteropReturnBuffer impl_ExtendableComponent_queryRouterPageInfo(Ark_NativePoin return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ExtendableComponent_queryRouterPageInfo, KInteropReturnBuffer, Ark_NativePointer) +Ark_NativePointer impl_FileSelectorParam_construct() { + return GetAccessors()->getFileSelectorParamAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(FileSelectorParam_construct, Ark_NativePointer) +Ark_NativePointer impl_FileSelectorParam_getFinalizer() { + return GetAccessors()->getFileSelectorParamAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(FileSelectorParam_getFinalizer, Ark_NativePointer) +Ark_String impl_FileSelectorParam_getTitle(Ark_NativePointer thisPtr) { + Ark_FileSelectorParam self = reinterpret_cast(thisPtr); + return GetAccessors()->getFileSelectorParamAccessor()->getTitle(self); +} +KOALA_INTEROP_1(FileSelectorParam_getTitle, KStringPtr, Ark_NativePointer) +Ark_Int32 impl_FileSelectorParam_getMode(Ark_NativePointer thisPtr) { + Ark_FileSelectorParam self = reinterpret_cast(thisPtr); + return GetAccessors()->getFileSelectorParamAccessor()->getMode(self); +} +KOALA_INTEROP_DIRECT_1(FileSelectorParam_getMode, Ark_Int32, Ark_NativePointer) +KInteropReturnBuffer impl_FileSelectorParam_getAcceptType(Ark_NativePointer thisPtr) { + Ark_FileSelectorParam self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getFileSelectorParamAccessor()->getAcceptType(self); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_String retValueTmpElement = retValue.array[retValueCounterI]; + _retSerializer.writeString(retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(FileSelectorParam_getAcceptType, KInteropReturnBuffer, Ark_NativePointer) +Ark_Boolean impl_FileSelectorParam_isCapture(Ark_NativePointer thisPtr) { + Ark_FileSelectorParam self = reinterpret_cast(thisPtr); + return GetAccessors()->getFileSelectorParamAccessor()->isCapture(self); +} +KOALA_INTEROP_DIRECT_1(FileSelectorParam_isCapture, Ark_Boolean, Ark_NativePointer) +KInteropReturnBuffer impl_FileSelectorParam_getMimeTypes(Ark_NativePointer thisPtr) { + Ark_FileSelectorParam self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getFileSelectorParamAccessor()->getMimeTypes(self); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_String retValueTmpElement = retValue.array[retValueCounterI]; + _retSerializer.writeString(retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(FileSelectorParam_getMimeTypes, KInteropReturnBuffer, Ark_NativePointer) +Ark_NativePointer impl_FileSelectorResult_construct() { + return GetAccessors()->getFileSelectorResultAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(FileSelectorResult_construct, Ark_NativePointer) +Ark_NativePointer impl_FileSelectorResult_getFinalizer() { + return GetAccessors()->getFileSelectorResultAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(FileSelectorResult_getFinalizer, Ark_NativePointer) +void impl_FileSelectorResult_handleFileList(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_FileSelectorResult self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 fileListValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_String fileListValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&fileListValueTempTmpBuf, fileListValueTempTmpBufLength); + for (int fileListValueTempTmpBufBufCounterI = 0; fileListValueTempTmpBufBufCounterI < fileListValueTempTmpBufLength; fileListValueTempTmpBufBufCounterI++) { + fileListValueTempTmpBuf.array[fileListValueTempTmpBufBufCounterI] = static_cast(thisDeserializer.readString()); + } + Array_String fileListValueTemp = fileListValueTempTmpBuf;; + GetAccessors()->getFileSelectorResultAccessor()->handleFileList(self, static_cast(&fileListValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(FileSelectorResult_handleFileList, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_FocusAxisEvent_construct() { return GetAccessors()->getFocusAxisEventAccessor()->construct(); } @@ -28129,6 +30063,19 @@ Ark_NativePointer impl_FrictionMotion_getFinalizer() { return GetAccessors()->getFrictionMotionAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(FrictionMotion_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_FullScreenExitHandler_construct() { + return GetAccessors()->getFullScreenExitHandlerAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(FullScreenExitHandler_construct, Ark_NativePointer) +Ark_NativePointer impl_FullScreenExitHandler_getFinalizer() { + return GetAccessors()->getFullScreenExitHandlerAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(FullScreenExitHandler_getFinalizer, Ark_NativePointer) +void impl_FullScreenExitHandler_exitFullScreen(Ark_NativePointer thisPtr) { + Ark_FullScreenExitHandler self = reinterpret_cast(thisPtr); + GetAccessors()->getFullScreenExitHandlerAccessor()->exitFullScreen(self); +} +KOALA_INTEROP_DIRECT_V1(FullScreenExitHandler_exitFullScreen, Ark_NativePointer) Ark_NativePointer impl_Gesture_construct() { return GetAccessors()->getGestureAccessor()->construct(); } @@ -28709,6 +30656,29 @@ void impl_HoverEvent_setStopPropagation(Ark_NativePointer thisPtr, KSerializerBu GetAccessors()->getHoverEventAccessor()->setStopPropagation(self, static_cast(&stopPropagationValueTemp)); } KOALA_INTEROP_DIRECT_V3(HoverEvent_setStopPropagation, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_HttpAuthHandler_construct() { + return GetAccessors()->getHttpAuthHandlerAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(HttpAuthHandler_construct, Ark_NativePointer) +Ark_NativePointer impl_HttpAuthHandler_getFinalizer() { + return GetAccessors()->getHttpAuthHandlerAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(HttpAuthHandler_getFinalizer, Ark_NativePointer) +Ark_Boolean impl_HttpAuthHandler_confirm(Ark_NativePointer thisPtr, const KStringPtr& userName, const KStringPtr& password) { + Ark_HttpAuthHandler self = reinterpret_cast(thisPtr); + return GetAccessors()->getHttpAuthHandlerAccessor()->confirm(self, (const Ark_String*) (&userName), (const Ark_String*) (&password)); +} +KOALA_INTEROP_3(HttpAuthHandler_confirm, Ark_Boolean, Ark_NativePointer, KStringPtr, KStringPtr) +void impl_HttpAuthHandler_cancel(Ark_NativePointer thisPtr) { + Ark_HttpAuthHandler self = reinterpret_cast(thisPtr); + GetAccessors()->getHttpAuthHandlerAccessor()->cancel(self); +} +KOALA_INTEROP_DIRECT_V1(HttpAuthHandler_cancel, Ark_NativePointer) +Ark_Boolean impl_HttpAuthHandler_isHttpAuthInfoSaved(Ark_NativePointer thisPtr) { + Ark_HttpAuthHandler self = reinterpret_cast(thisPtr); + return GetAccessors()->getHttpAuthHandlerAccessor()->isHttpAuthInfoSaved(self); +} +KOALA_INTEROP_DIRECT_1(HttpAuthHandler_isHttpAuthInfoSaved, Ark_Boolean, Ark_NativePointer) Ark_NativePointer impl_ImageAnalyzerController_construct() { return GetAccessors()->getImageAnalyzerControllerAccessor()->construct(); } @@ -28944,26 +30914,26 @@ void impl_ImageData_setData(Ark_NativePointer thisPtr, KSerializerBuffer thisArr GetAccessors()->getImageDataAccessor()->setData(self, static_cast(&dataValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageData_setData, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_Number impl_ImageData_getHeight(Ark_NativePointer thisPtr) { +Ark_Int32 impl_ImageData_getHeight(Ark_NativePointer thisPtr) { Ark_ImageData self = reinterpret_cast(thisPtr); return GetAccessors()->getImageDataAccessor()->getHeight(self); } -KOALA_INTEROP_DIRECT_1(ImageData_getHeight, KInteropNumber, Ark_NativePointer) -void impl_ImageData_setHeight(Ark_NativePointer thisPtr, KInteropNumber height) { +KOALA_INTEROP_DIRECT_1(ImageData_getHeight, Ark_Int32, Ark_NativePointer) +void impl_ImageData_setHeight(Ark_NativePointer thisPtr, Ark_Int32 height) { Ark_ImageData self = reinterpret_cast(thisPtr); - GetAccessors()->getImageDataAccessor()->setHeight(self, (const Ark_Number*) (&height)); + GetAccessors()->getImageDataAccessor()->setHeight(self, height); } -KOALA_INTEROP_DIRECT_V2(ImageData_setHeight, Ark_NativePointer, KInteropNumber) -Ark_Number impl_ImageData_getWidth(Ark_NativePointer thisPtr) { +KOALA_INTEROP_DIRECT_V2(ImageData_setHeight, Ark_NativePointer, Ark_Int32) +Ark_Int32 impl_ImageData_getWidth(Ark_NativePointer thisPtr) { Ark_ImageData self = reinterpret_cast(thisPtr); return GetAccessors()->getImageDataAccessor()->getWidth(self); } -KOALA_INTEROP_DIRECT_1(ImageData_getWidth, KInteropNumber, Ark_NativePointer) -void impl_ImageData_setWidth(Ark_NativePointer thisPtr, KInteropNumber width) { +KOALA_INTEROP_DIRECT_1(ImageData_getWidth, Ark_Int32, Ark_NativePointer) +void impl_ImageData_setWidth(Ark_NativePointer thisPtr, Ark_Int32 width) { Ark_ImageData self = reinterpret_cast(thisPtr); - GetAccessors()->getImageDataAccessor()->setWidth(self, (const Ark_Number*) (&width)); + GetAccessors()->getImageDataAccessor()->setWidth(self, width); } -KOALA_INTEROP_DIRECT_V2(ImageData_setWidth, Ark_NativePointer, KInteropNumber) +KOALA_INTEROP_DIRECT_V2(ImageData_setWidth, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_IndicatorComponentController_construct() { return GetAccessors()->getIndicatorComponentControllerAccessor()->construct(); } @@ -29003,6 +30973,42 @@ void impl_IUIContext_freezeUINode1(KInteropNumber id, Ark_Boolean isFrozen) { GetAccessors()->getIUIContextAccessor()->freezeUINode1((const Ark_Number*) (&id), isFrozen); } KOALA_INTEROP_DIRECT_V2(IUIContext_freezeUINode1, KInteropNumber, Ark_Boolean) +Ark_NativePointer impl_JsGeolocation_construct() { + return GetAccessors()->getJsGeolocationAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(JsGeolocation_construct, Ark_NativePointer) +Ark_NativePointer impl_JsGeolocation_getFinalizer() { + return GetAccessors()->getJsGeolocationAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(JsGeolocation_getFinalizer, Ark_NativePointer) +void impl_JsGeolocation_invoke(Ark_NativePointer thisPtr, const KStringPtr& origin, Ark_Boolean allow, Ark_Boolean retain) { + Ark_JsGeolocation self = reinterpret_cast(thisPtr); + GetAccessors()->getJsGeolocationAccessor()->invoke(self, (const Ark_String*) (&origin), allow, retain); +} +KOALA_INTEROP_V4(JsGeolocation_invoke, Ark_NativePointer, KStringPtr, Ark_Boolean, Ark_Boolean) +Ark_NativePointer impl_JsResult_construct() { + return GetAccessors()->getJsResultAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(JsResult_construct, Ark_NativePointer) +Ark_NativePointer impl_JsResult_getFinalizer() { + return GetAccessors()->getJsResultAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(JsResult_getFinalizer, Ark_NativePointer) +void impl_JsResult_handleCancel(Ark_NativePointer thisPtr) { + Ark_JsResult self = reinterpret_cast(thisPtr); + GetAccessors()->getJsResultAccessor()->handleCancel(self); +} +KOALA_INTEROP_DIRECT_V1(JsResult_handleCancel, Ark_NativePointer) +void impl_JsResult_handleConfirm(Ark_NativePointer thisPtr) { + Ark_JsResult self = reinterpret_cast(thisPtr); + GetAccessors()->getJsResultAccessor()->handleConfirm(self); +} +KOALA_INTEROP_DIRECT_V1(JsResult_handleConfirm, Ark_NativePointer) +void impl_JsResult_handlePromptConfirm(Ark_NativePointer thisPtr, const KStringPtr& result) { + Ark_JsResult self = reinterpret_cast(thisPtr); + GetAccessors()->getJsResultAccessor()->handlePromptConfirm(self, (const Ark_String*) (&result)); +} +KOALA_INTEROP_V2(JsResult_handlePromptConfirm, Ark_NativePointer, KStringPtr) Ark_NativePointer impl_KeyEvent_construct() { return GetAccessors()->getKeyEventAccessor()->construct(); } @@ -29242,49 +31248,6 @@ void impl_Layoutable_setUniqueId(Ark_NativePointer thisPtr, KSerializerBuffer th GetAccessors()->getLayoutableAccessor()->setUniqueId(self, static_cast(&uniqueIdValueTemp)); } KOALA_INTEROP_DIRECT_V3(Layoutable_setUniqueId, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_LayoutCallback_construct() { - return GetAccessors()->getLayoutCallbackAccessor()->construct(); -} -KOALA_INTEROP_DIRECT_0(LayoutCallback_construct, Ark_NativePointer) -Ark_NativePointer impl_LayoutCallback_getFinalizer() { - return GetAccessors()->getLayoutCallbackAccessor()->getFinalizer(); -} -KOALA_INTEROP_DIRECT_0(LayoutCallback_getFinalizer, Ark_NativePointer) -void impl_LayoutCallback_onPlaceChildren(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_LayoutCallback self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_GeometryInfo selfLayoutInfoValueTemp = GeometryInfo_serializer::read(thisDeserializer);; - const Ark_Int32 childrenValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_Layoutable childrenValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&childrenValueTempTmpBuf, childrenValueTempTmpBufLength); - for (int childrenValueTempTmpBufBufCounterI = 0; childrenValueTempTmpBufBufCounterI < childrenValueTempTmpBufLength; childrenValueTempTmpBufBufCounterI++) { - childrenValueTempTmpBuf.array[childrenValueTempTmpBufBufCounterI] = static_cast(Layoutable_serializer::read(thisDeserializer)); - } - Array_Layoutable childrenValueTemp = childrenValueTempTmpBuf;; - Ark_ConstraintSizeOptions constraintValueTemp = ConstraintSizeOptions_serializer::read(thisDeserializer);; - GetAccessors()->getLayoutCallbackAccessor()->onPlaceChildren(self, static_cast(&selfLayoutInfoValueTemp), static_cast(&childrenValueTemp), static_cast(&constraintValueTemp)); -} -KOALA_INTEROP_DIRECT_V3(LayoutCallback_onPlaceChildren, Ark_NativePointer, KSerializerBuffer, int32_t) -KInteropReturnBuffer impl_LayoutCallback_onMeasureSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_LayoutCallback self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_GeometryInfo selfLayoutInfoValueTemp = GeometryInfo_serializer::read(thisDeserializer);; - const Ark_Int32 childrenValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_Measurable childrenValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&childrenValueTempTmpBuf, childrenValueTempTmpBufLength); - for (int childrenValueTempTmpBufBufCounterI = 0; childrenValueTempTmpBufBufCounterI < childrenValueTempTmpBufLength; childrenValueTempTmpBufBufCounterI++) { - childrenValueTempTmpBuf.array[childrenValueTempTmpBufBufCounterI] = static_cast(Measurable_serializer::read(thisDeserializer)); - } - Array_Measurable childrenValueTemp = childrenValueTempTmpBuf;; - Ark_ConstraintSizeOptions constraintValueTemp = ConstraintSizeOptions_serializer::read(thisDeserializer);; - const auto &retValue = GetAccessors()->getLayoutCallbackAccessor()->onMeasureSize(self, static_cast(&selfLayoutInfoValueTemp), static_cast(&childrenValueTemp), static_cast(&constraintValueTemp)); - SerializerBase _retSerializer {}; - SizeResult_serializer::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); -} -KOALA_INTEROP_3(LayoutCallback_onMeasureSize, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_LayoutChild_construct() { return GetAccessors()->getLayoutChildAccessor()->construct(); } @@ -29793,9 +31756,9 @@ void impl_Matrix2D_setScaleX(Ark_NativePointer thisPtr, KSerializerBuffer thisAr GetAccessors()->getMatrix2DAccessor()->setScaleX(self, static_cast(&scaleXValueTemp)); } KOALA_INTEROP_DIRECT_V3(Matrix2D_setScaleX, Ark_NativePointer, KSerializerBuffer, int32_t) -KInteropReturnBuffer impl_Matrix2D_getRotateY(Ark_NativePointer thisPtr) { +KInteropReturnBuffer impl_Matrix2D_getScaleY(Ark_NativePointer thisPtr) { Ark_Matrix2D self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getRotateY(self); + const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getScaleY(self); SerializerBase _retSerializer {}; if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); @@ -29806,20 +31769,20 @@ KInteropReturnBuffer impl_Matrix2D_getRotateY(Ark_NativePointer thisPtr) { } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(Matrix2D_getRotateY, KInteropReturnBuffer, Ark_NativePointer) -void impl_Matrix2D_setRotateY(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_1(Matrix2D_getScaleY, KInteropReturnBuffer, Ark_NativePointer) +void impl_Matrix2D_setScaleY(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_Matrix2D self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); - const auto rotateYValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Number rotateYValueTempTmpBuf = {}; - rotateYValueTempTmpBuf.tag = rotateYValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((rotateYValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - rotateYValueTempTmpBuf.value = static_cast(thisDeserializer.readNumber()); + const auto scaleYValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number scaleYValueTempTmpBuf = {}; + scaleYValueTempTmpBuf.tag = scaleYValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scaleYValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scaleYValueTempTmpBuf.value = static_cast(thisDeserializer.readNumber()); } - Opt_Number rotateYValueTemp = rotateYValueTempTmpBuf;; - GetAccessors()->getMatrix2DAccessor()->setRotateY(self, static_cast(&rotateYValueTemp)); + Opt_Number scaleYValueTemp = scaleYValueTempTmpBuf;; + GetAccessors()->getMatrix2DAccessor()->setScaleY(self, static_cast(&scaleYValueTemp)); } -KOALA_INTEROP_DIRECT_V3(Matrix2D_setRotateY, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(Matrix2D_setScaleY, Ark_NativePointer, KSerializerBuffer, int32_t) KInteropReturnBuffer impl_Matrix2D_getRotateX(Ark_NativePointer thisPtr) { Ark_Matrix2D self = reinterpret_cast(thisPtr); const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getRotateX(self); @@ -29847,9 +31810,9 @@ void impl_Matrix2D_setRotateX(Ark_NativePointer thisPtr, KSerializerBuffer thisA GetAccessors()->getMatrix2DAccessor()->setRotateX(self, static_cast(&rotateXValueTemp)); } KOALA_INTEROP_DIRECT_V3(Matrix2D_setRotateX, Ark_NativePointer, KSerializerBuffer, int32_t) -KInteropReturnBuffer impl_Matrix2D_getScaleY(Ark_NativePointer thisPtr) { +KInteropReturnBuffer impl_Matrix2D_getRotateY(Ark_NativePointer thisPtr) { Ark_Matrix2D self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getScaleY(self); + const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getRotateY(self); SerializerBase _retSerializer {}; if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); @@ -29860,20 +31823,20 @@ KInteropReturnBuffer impl_Matrix2D_getScaleY(Ark_NativePointer thisPtr) { } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(Matrix2D_getScaleY, KInteropReturnBuffer, Ark_NativePointer) -void impl_Matrix2D_setScaleY(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_1(Matrix2D_getRotateY, KInteropReturnBuffer, Ark_NativePointer) +void impl_Matrix2D_setRotateY(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_Matrix2D self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scaleYValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Number scaleYValueTempTmpBuf = {}; - scaleYValueTempTmpBuf.tag = scaleYValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scaleYValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - scaleYValueTempTmpBuf.value = static_cast(thisDeserializer.readNumber()); + const auto rotateYValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number rotateYValueTempTmpBuf = {}; + rotateYValueTempTmpBuf.tag = rotateYValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((rotateYValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + rotateYValueTempTmpBuf.value = static_cast(thisDeserializer.readNumber()); } - Opt_Number scaleYValueTemp = scaleYValueTempTmpBuf;; - GetAccessors()->getMatrix2DAccessor()->setScaleY(self, static_cast(&scaleYValueTemp)); + Opt_Number rotateYValueTemp = rotateYValueTempTmpBuf;; + GetAccessors()->getMatrix2DAccessor()->setRotateY(self, static_cast(&rotateYValueTemp)); } -KOALA_INTEROP_DIRECT_V3(Matrix2D_setScaleY, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(Matrix2D_setRotateY, Ark_NativePointer, KSerializerBuffer, int32_t) KInteropReturnBuffer impl_Matrix2D_getTranslateX(Ark_NativePointer thisPtr) { Ark_Matrix2D self = reinterpret_cast(thisPtr); const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getTranslateX(self); @@ -31359,47 +33322,6 @@ Ark_NativePointer impl_OffscreenCanvasRenderingContext2D_transferToImageBitmap(A return GetAccessors()->getOffscreenCanvasRenderingContext2DAccessor()->transferToImageBitmap(self); } KOALA_INTEROP_DIRECT_1(OffscreenCanvasRenderingContext2D_transferToImageBitmap, Ark_NativePointer, Ark_NativePointer) -Ark_NativePointer impl_PageLifeCycle_construct() { - return GetAccessors()->getPageLifeCycleAccessor()->construct(); -} -KOALA_INTEROP_DIRECT_0(PageLifeCycle_construct, Ark_NativePointer) -Ark_NativePointer impl_PageLifeCycle_getFinalizer() { - return GetAccessors()->getPageLifeCycleAccessor()->getFinalizer(); -} -KOALA_INTEROP_DIRECT_0(PageLifeCycle_getFinalizer, Ark_NativePointer) -void impl_PageLifeCycle_onPageShow(Ark_NativePointer thisPtr) { - Ark_PageLifeCycle self = reinterpret_cast(thisPtr); - GetAccessors()->getPageLifeCycleAccessor()->onPageShow(self); -} -KOALA_INTEROP_DIRECT_V1(PageLifeCycle_onPageShow, Ark_NativePointer) -void impl_PageLifeCycle_onPageHide(Ark_NativePointer thisPtr) { - Ark_PageLifeCycle self = reinterpret_cast(thisPtr); - GetAccessors()->getPageLifeCycleAccessor()->onPageHide(self); -} -KOALA_INTEROP_DIRECT_V1(PageLifeCycle_onPageHide, Ark_NativePointer) -Ark_Boolean impl_PageLifeCycle_onBackPress(Ark_NativePointer thisPtr) { - Ark_PageLifeCycle self = reinterpret_cast(thisPtr); - return GetAccessors()->getPageLifeCycleAccessor()->onBackPress(self); -} -KOALA_INTEROP_DIRECT_1(PageLifeCycle_onBackPress, Ark_Boolean, Ark_NativePointer) -void impl_PageLifeCycle_pageTransition(Ark_NativePointer thisPtr) { - Ark_PageLifeCycle self = reinterpret_cast(thisPtr); - GetAccessors()->getPageLifeCycleAccessor()->pageTransition(self); -} -KOALA_INTEROP_DIRECT_V1(PageLifeCycle_pageTransition, Ark_NativePointer) -void impl_PageLifeCycle_onNewParam(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_PageLifeCycle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto paramValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Object paramValueTempTmpBuf = {}; - paramValueTempTmpBuf.tag = paramValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((paramValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - paramValueTempTmpBuf.value = static_cast(thisDeserializer.readObject()); - } - Opt_Object paramValueTemp = paramValueTempTmpBuf;; - GetAccessors()->getPageLifeCycleAccessor()->onNewParam(self, static_cast(¶mValueTemp)); -} -KOALA_INTEROP_DIRECT_V3(PageLifeCycle_onNewParam, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_PanGestureEvent_construct() { return GetAccessors()->getPanGestureEventAccessor()->construct(); } @@ -31810,6 +33732,50 @@ void impl_PatternLockController_setChallengeResult(Ark_NativePointer thisPtr, Ar GetAccessors()->getPatternLockControllerAccessor()->setChallengeResult(self, static_cast(result)); } KOALA_INTEROP_DIRECT_V2(PatternLockController_setChallengeResult, Ark_NativePointer, Ark_Int32) +Ark_NativePointer impl_PermissionRequest_construct() { + return GetAccessors()->getPermissionRequestAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(PermissionRequest_construct, Ark_NativePointer) +Ark_NativePointer impl_PermissionRequest_getFinalizer() { + return GetAccessors()->getPermissionRequestAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(PermissionRequest_getFinalizer, Ark_NativePointer) +void impl_PermissionRequest_deny(Ark_NativePointer thisPtr) { + Ark_PermissionRequest self = reinterpret_cast(thisPtr); + GetAccessors()->getPermissionRequestAccessor()->deny(self); +} +KOALA_INTEROP_DIRECT_V1(PermissionRequest_deny, Ark_NativePointer) +Ark_String impl_PermissionRequest_getOrigin(Ark_NativePointer thisPtr) { + Ark_PermissionRequest self = reinterpret_cast(thisPtr); + return GetAccessors()->getPermissionRequestAccessor()->getOrigin(self); +} +KOALA_INTEROP_1(PermissionRequest_getOrigin, KStringPtr, Ark_NativePointer) +KInteropReturnBuffer impl_PermissionRequest_getAccessibleResource(Ark_NativePointer thisPtr) { + Ark_PermissionRequest self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getPermissionRequestAccessor()->getAccessibleResource(self); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_String retValueTmpElement = retValue.array[retValueCounterI]; + _retSerializer.writeString(retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(PermissionRequest_getAccessibleResource, KInteropReturnBuffer, Ark_NativePointer) +void impl_PermissionRequest_grant(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_PermissionRequest self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 resourcesValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_String resourcesValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&resourcesValueTempTmpBuf, resourcesValueTempTmpBufLength); + for (int resourcesValueTempTmpBufBufCounterI = 0; resourcesValueTempTmpBufBufCounterI < resourcesValueTempTmpBufLength; resourcesValueTempTmpBufBufCounterI++) { + resourcesValueTempTmpBuf.array[resourcesValueTempTmpBufBufCounterI] = static_cast(thisDeserializer.readString()); + } + Array_String resourcesValueTemp = resourcesValueTempTmpBuf;; + GetAccessors()->getPermissionRequestAccessor()->grant(self, static_cast(&resourcesValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(PermissionRequest_grant, Ark_NativePointer, KSerializerBuffer, int32_t) KInteropReturnBuffer impl_PersistentStorageBackend_get(const KStringPtr& key) { const auto &retValue = GetAccessors()->getPersistentStorageBackendAccessor()->get((const Ark_String*) (&key)); SerializerBase _retSerializer {}; @@ -32093,6 +34059,14 @@ void impl_PromptAction_closeMenu(KVMContext vmContext, Ark_NativePointer thisPtr GetAccessors()->getPromptActionAccessor()->closeMenu(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(content), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V4(PromptAction_closeMenu, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_PulseSymbolEffect_construct() { + return GetAccessors()->getPulseSymbolEffectAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(PulseSymbolEffect_construct, Ark_NativePointer) +Ark_NativePointer impl_PulseSymbolEffect_getFinalizer() { + return GetAccessors()->getPulseSymbolEffectAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(PulseSymbolEffect_getFinalizer, Ark_NativePointer) Ark_NativePointer impl_RectShape_construct(KSerializerBuffer thisArray, int32_t thisLength) { DeserializerBase thisDeserializer(thisArray, thisLength); const auto optionsValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -32919,15 +34893,15 @@ KOALA_INTEROP_CTX_V3(RestrictedWorker_postMessageWithSharedSendable, Ark_NativeP void impl_RestrictedWorker_on(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& Type, KSerializerBuffer thisArray, int32_t thisLength) { Ark_RestrictedWorker self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_WorkerEventListener listenerValueTemp = WorkerEventListener_serializer::read(thisDeserializer);; - GetAccessors()->getRestrictedWorkerAccessor()->on(reinterpret_cast(vmContext), self, (const Ark_String*) (&Type), static_cast(&listenerValueTemp)); + WorkerEventListener listenerValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_WorkerEventListener)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_WorkerEventListener))))};; + GetAccessors()->getRestrictedWorkerAccessor()->on(reinterpret_cast(vmContext), self, (const Ark_String*) (&Type), static_cast(&listenerValueTemp)); } KOALA_INTEROP_CTX_V4(RestrictedWorker_on, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) void impl_RestrictedWorker_once(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& Type, KSerializerBuffer thisArray, int32_t thisLength) { Ark_RestrictedWorker self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_WorkerEventListener listenerValueTemp = WorkerEventListener_serializer::read(thisDeserializer);; - GetAccessors()->getRestrictedWorkerAccessor()->once(reinterpret_cast(vmContext), self, (const Ark_String*) (&Type), static_cast(&listenerValueTemp)); + WorkerEventListener listenerValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_WorkerEventListener)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_WorkerEventListener))))};; + GetAccessors()->getRestrictedWorkerAccessor()->once(reinterpret_cast(vmContext), self, (const Ark_String*) (&Type), static_cast(&listenerValueTemp)); } KOALA_INTEROP_CTX_V4(RestrictedWorker_once, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) void impl_RestrictedWorker_off(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& Type, KSerializerBuffer thisArray, int32_t thisLength) { @@ -32937,7 +34911,7 @@ void impl_RestrictedWorker_off(KVMContext vmContext, Ark_NativePointer thisPtr, Opt_WorkerEventListener listenerValueTempTmpBuf = {}; listenerValueTempTmpBuf.tag = listenerValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((listenerValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - listenerValueTempTmpBuf.value = WorkerEventListener_serializer::read(thisDeserializer); + listenerValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_WorkerEventListener)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_WorkerEventListener))))}; } Opt_WorkerEventListener listenerValueTemp = listenerValueTempTmpBuf;; GetAccessors()->getRestrictedWorkerAccessor()->off(reinterpret_cast(vmContext), self, (const Ark_String*) (&Type), static_cast(&listenerValueTemp)); @@ -32951,8 +34925,8 @@ KOALA_INTEROP_CTX_V1(RestrictedWorker_terminate, Ark_NativePointer) void impl_RestrictedWorker_addEventListener(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& Type, KSerializerBuffer thisArray, int32_t thisLength) { Ark_RestrictedWorker self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_WorkerEventListener listenerValueTemp = WorkerEventListener_serializer::read(thisDeserializer);; - GetAccessors()->getRestrictedWorkerAccessor()->addEventListener(reinterpret_cast(vmContext), self, (const Ark_String*) (&Type), static_cast(&listenerValueTemp)); + WorkerEventListener listenerValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_WorkerEventListener)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_WorkerEventListener))))};; + GetAccessors()->getRestrictedWorkerAccessor()->addEventListener(reinterpret_cast(vmContext), self, (const Ark_String*) (&Type), static_cast(&listenerValueTemp)); } KOALA_INTEROP_CTX_V4(RestrictedWorker_addEventListener, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) Ark_Boolean impl_RestrictedWorker_dispatchEvent(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { @@ -32969,7 +34943,7 @@ void impl_RestrictedWorker_removeEventListener(KVMContext vmContext, Ark_NativeP Opt_WorkerEventListener callback_ValueTempTmpBuf = {}; callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((callback_ValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = WorkerEventListener_serializer::read(thisDeserializer); + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_WorkerEventListener)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_WorkerEventListener))))}; } Opt_WorkerEventListener callback_ValueTemp = callback_ValueTempTmpBuf;; GetAccessors()->getRestrictedWorkerAccessor()->removeEventListener(reinterpret_cast(vmContext), self, (const Ark_String*) (&Type), static_cast(&callback_ValueTemp)); @@ -33657,6 +35631,31 @@ void impl_Scene_destroy(Ark_NativePointer thisPtr) { GetAccessors()->getSceneAccessor()->destroy(self); } KOALA_INTEROP_DIRECT_V1(Scene_destroy, Ark_NativePointer) +Ark_NativePointer impl_ScreenCaptureHandler_construct() { + return GetAccessors()->getScreenCaptureHandlerAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(ScreenCaptureHandler_construct, Ark_NativePointer) +Ark_NativePointer impl_ScreenCaptureHandler_getFinalizer() { + return GetAccessors()->getScreenCaptureHandlerAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(ScreenCaptureHandler_getFinalizer, Ark_NativePointer) +Ark_String impl_ScreenCaptureHandler_getOrigin(Ark_NativePointer thisPtr) { + Ark_ScreenCaptureHandler self = reinterpret_cast(thisPtr); + return GetAccessors()->getScreenCaptureHandlerAccessor()->getOrigin(self); +} +KOALA_INTEROP_1(ScreenCaptureHandler_getOrigin, KStringPtr, Ark_NativePointer) +void impl_ScreenCaptureHandler_grant(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_ScreenCaptureHandler self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_ScreenCaptureConfig configValueTemp = ScreenCaptureConfig_serializer::read(thisDeserializer);; + GetAccessors()->getScreenCaptureHandlerAccessor()->grant(self, static_cast(&configValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(ScreenCaptureHandler_grant, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScreenCaptureHandler_deny(Ark_NativePointer thisPtr) { + Ark_ScreenCaptureHandler self = reinterpret_cast(thisPtr); + GetAccessors()->getScreenCaptureHandlerAccessor()->deny(self); +} +KOALA_INTEROP_DIRECT_V1(ScreenCaptureHandler_deny, Ark_NativePointer) Ark_Boolean impl_ScreenshotService_requestScreenshot(const KStringPtr& target, const KStringPtr& name) { return GetAccessors()->getScreenshotServiceAccessor()->requestScreenshot((const Ark_String*) (&target), (const Ark_String*) (&name)); } @@ -34005,6 +36004,24 @@ Ark_NativePointer impl_SpringProp_getFinalizer() { return GetAccessors()->getSpringPropAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(SpringProp_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_SslErrorHandler_construct() { + return GetAccessors()->getSslErrorHandlerAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(SslErrorHandler_construct, Ark_NativePointer) +Ark_NativePointer impl_SslErrorHandler_getFinalizer() { + return GetAccessors()->getSslErrorHandlerAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(SslErrorHandler_getFinalizer, Ark_NativePointer) +void impl_SslErrorHandler_handleConfirm(Ark_NativePointer thisPtr) { + Ark_SslErrorHandler self = reinterpret_cast(thisPtr); + GetAccessors()->getSslErrorHandlerAccessor()->handleConfirm(self); +} +KOALA_INTEROP_DIRECT_V1(SslErrorHandler_handleConfirm, Ark_NativePointer) +void impl_SslErrorHandler_handleCancel(Ark_NativePointer thisPtr) { + Ark_SslErrorHandler self = reinterpret_cast(thisPtr); + GetAccessors()->getSslErrorHandlerAccessor()->handleCancel(self); +} +KOALA_INTEROP_DIRECT_V1(SslErrorHandler_handleCancel, Ark_NativePointer) void impl_StateStylesOps_onStateStyleChange(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) { DeserializerBase thisDeserializer(thisArray, thisLength); Callback_StateStylesChange stateStyleChangeValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_StateStylesChange)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_StateStylesChange))))};; @@ -36701,58 +38718,76 @@ void impl_UIExtensionProxy_send(Ark_NativePointer thisPtr, KSerializerBuffer thi Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const Ark_Int32 dataValueTempTmpBufSizeVar = thisDeserializer.readInt32(); - Map_String_Object dataValueTempTmpBuf = {}; - thisDeserializer.resizeMap(&dataValueTempTmpBuf, dataValueTempTmpBufSizeVar); + Map_String_Opt_Object dataValueTempTmpBuf = {}; + thisDeserializer.resizeMap(&dataValueTempTmpBuf, dataValueTempTmpBufSizeVar); for (int dataValueTempTmpBufIVar = 0; dataValueTempTmpBufIVar < dataValueTempTmpBufSizeVar; dataValueTempTmpBufIVar++) { const Ark_String dataValueTempTmpBufKeyVar = static_cast(thisDeserializer.readString()); - const Ark_Object dataValueTempTmpBufValueVar = static_cast(thisDeserializer.readObject()); + const auto dataValueTempTmpBufValueVarTempBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Object dataValueTempTmpBufValueVarTempBuf = {}; + dataValueTempTmpBufValueVarTempBuf.tag = dataValueTempTmpBufValueVarTempBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((dataValueTempTmpBufValueVarTempBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + dataValueTempTmpBufValueVarTempBuf.value = static_cast(thisDeserializer.readObject()); + } + const Opt_Object dataValueTempTmpBufValueVar = dataValueTempTmpBufValueVarTempBuf; dataValueTempTmpBuf.keys[dataValueTempTmpBufIVar] = dataValueTempTmpBufKeyVar; dataValueTempTmpBuf.values[dataValueTempTmpBufIVar] = dataValueTempTmpBufValueVar; } - Map_String_Object dataValueTemp = dataValueTempTmpBuf;; - GetAccessors()->getUIExtensionProxyAccessor()->send(self, static_cast(&dataValueTemp)); + Map_String_Opt_Object dataValueTemp = dataValueTempTmpBuf;; + GetAccessors()->getUIExtensionProxyAccessor()->send(self, static_cast(&dataValueTemp)); } KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_send, Ark_NativePointer, KSerializerBuffer, int32_t) KInteropReturnBuffer impl_UIExtensionProxy_sendSync(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const Ark_Int32 dataValueTempTmpBufSizeVar = thisDeserializer.readInt32(); - Map_String_Object dataValueTempTmpBuf = {}; - thisDeserializer.resizeMap(&dataValueTempTmpBuf, dataValueTempTmpBufSizeVar); + Map_String_Opt_Object dataValueTempTmpBuf = {}; + thisDeserializer.resizeMap(&dataValueTempTmpBuf, dataValueTempTmpBufSizeVar); for (int dataValueTempTmpBufIVar = 0; dataValueTempTmpBufIVar < dataValueTempTmpBufSizeVar; dataValueTempTmpBufIVar++) { const Ark_String dataValueTempTmpBufKeyVar = static_cast(thisDeserializer.readString()); - const Ark_Object dataValueTempTmpBufValueVar = static_cast(thisDeserializer.readObject()); + const auto dataValueTempTmpBufValueVarTempBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Object dataValueTempTmpBufValueVarTempBuf = {}; + dataValueTempTmpBufValueVarTempBuf.tag = dataValueTempTmpBufValueVarTempBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((dataValueTempTmpBufValueVarTempBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + dataValueTempTmpBufValueVarTempBuf.value = static_cast(thisDeserializer.readObject()); + } + const Opt_Object dataValueTempTmpBufValueVar = dataValueTempTmpBufValueVarTempBuf; dataValueTempTmpBuf.keys[dataValueTempTmpBufIVar] = dataValueTempTmpBufKeyVar; dataValueTempTmpBuf.values[dataValueTempTmpBufIVar] = dataValueTempTmpBufValueVar; } - Map_String_Object dataValueTemp = dataValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getUIExtensionProxyAccessor()->sendSync(self, static_cast(&dataValueTemp)); + Map_String_Opt_Object dataValueTemp = dataValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getUIExtensionProxyAccessor()->sendSync(self, static_cast(&dataValueTemp)); SerializerBase _retSerializer {}; _retSerializer.writeInt32(retValue.size); for (int32_t i = 0; i < retValue.size; i++) { auto retValueKeyVar = retValue.keys[i]; auto retValueValueVar = retValue.values[i]; _retSerializer.writeString(retValueKeyVar); - _retSerializer.writeObject(retValueValueVar); + if (runtimeType(retValueValueVar) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueValueVarTmpValue = retValueValueVar.value; + _retSerializer.writeObject(retValueValueVarTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } } return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(UIExtensionProxy_sendSync, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UIExtensionProxy_onAsyncReceiverRegister(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_UIExtensionProxy_onAsyncReceiverRegisterAsyncReceiverRegister(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); Callback_UIExtensionProxy_Void callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_UIExtensionProxy_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_UIExtensionProxy_Void))))};; - GetAccessors()->getUIExtensionProxyAccessor()->onAsyncReceiverRegister(self, static_cast(&callback_ValueTemp)); + GetAccessors()->getUIExtensionProxyAccessor()->onAsyncReceiverRegisterAsyncReceiverRegister(self, static_cast(&callback_ValueTemp)); } -KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_onAsyncReceiverRegister, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UIExtensionProxy_onSyncReceiverRegister(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_onAsyncReceiverRegisterAsyncReceiverRegister, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UIExtensionProxy_onSyncReceiverRegisterSyncReceiverRegister(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); Callback_UIExtensionProxy_Void callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_UIExtensionProxy_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_UIExtensionProxy_Void))))};; - GetAccessors()->getUIExtensionProxyAccessor()->onSyncReceiverRegister(self, static_cast(&callback_ValueTemp)); + GetAccessors()->getUIExtensionProxyAccessor()->onSyncReceiverRegisterSyncReceiverRegister(self, static_cast(&callback_ValueTemp)); } -KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_onSyncReceiverRegister, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UIExtensionProxy_offAsyncReceiverRegister(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_onSyncReceiverRegisterSyncReceiverRegister, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UIExtensionProxy_offAsyncReceiverRegisterAsyncReceiverRegister(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto callback_ValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -36762,10 +38797,10 @@ void impl_UIExtensionProxy_offAsyncReceiverRegister(Ark_NativePointer thisPtr, K callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_UIExtensionProxy_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_UIExtensionProxy_Void))))}; } Opt_Callback_UIExtensionProxy_Void callback_ValueTemp = callback_ValueTempTmpBuf;; - GetAccessors()->getUIExtensionProxyAccessor()->offAsyncReceiverRegister(self, static_cast(&callback_ValueTemp)); + GetAccessors()->getUIExtensionProxyAccessor()->offAsyncReceiverRegisterAsyncReceiverRegister(self, static_cast(&callback_ValueTemp)); } -KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_offAsyncReceiverRegister, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UIExtensionProxy_offSyncReceiverRegister(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_offAsyncReceiverRegisterAsyncReceiverRegister, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UIExtensionProxy_offSyncReceiverRegisterSyncReceiverRegister(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); const auto callback_ValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -36775,9 +38810,9 @@ void impl_UIExtensionProxy_offSyncReceiverRegister(Ark_NativePointer thisPtr, KS callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_UIExtensionProxy_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_UIExtensionProxy_Void))))}; } Opt_Callback_UIExtensionProxy_Void callback_ValueTemp = callback_ValueTempTmpBuf;; - GetAccessors()->getUIExtensionProxyAccessor()->offSyncReceiverRegister(self, static_cast(&callback_ValueTemp)); + GetAccessors()->getUIExtensionProxyAccessor()->offSyncReceiverRegisterSyncReceiverRegister(self, static_cast(&callback_ValueTemp)); } -KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_offSyncReceiverRegister, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(UIExtensionProxy_offSyncReceiverRegisterSyncReceiverRegister, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_uiObserver_DensityInfo_construct() { return GetAccessors()->getUiObserver_DensityInfoAccessor()->construct(); } @@ -36933,11 +38968,6 @@ void impl_VideoController_stop(Ark_NativePointer thisPtr) { GetAccessors()->getVideoControllerAccessor()->stop(self); } KOALA_INTEROP_DIRECT_V1(VideoController_stop, Ark_NativePointer) -void impl_VideoController_setCurrentTime0(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_VideoController self = reinterpret_cast(thisPtr); - GetAccessors()->getVideoControllerAccessor()->setCurrentTime0(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(VideoController_setCurrentTime0, Ark_NativePointer, KInteropNumber) void impl_VideoController_requestFullscreen(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_VideoController self = reinterpret_cast(thisPtr); GetAccessors()->getVideoControllerAccessor()->requestFullscreen(self, value); @@ -36948,11 +38978,20 @@ void impl_VideoController_exitFullscreen(Ark_NativePointer thisPtr) { GetAccessors()->getVideoControllerAccessor()->exitFullscreen(self); } KOALA_INTEROP_DIRECT_V1(VideoController_exitFullscreen, Ark_NativePointer) -void impl_VideoController_setCurrentTime1(Ark_NativePointer thisPtr, KInteropNumber value, Ark_Int32 seekMode) { +void impl_VideoController_setCurrentTimeDefault(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_VideoController self = reinterpret_cast(thisPtr); - GetAccessors()->getVideoControllerAccessor()->setCurrentTime1(self, (const Ark_Number*) (&value), static_cast(seekMode)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Float64 valueValueTemp = thisDeserializer.readFloat64();; + GetAccessors()->getVideoControllerAccessor()->setCurrentTimeDefault(self, valueValueTemp); +} +KOALA_INTEROP_DIRECT_V3(VideoController_setCurrentTimeDefault, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoController_setCurrentTimeWithMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, Ark_Int32 seekMode) { + Ark_VideoController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Float64 valueValueTemp = thisDeserializer.readFloat64();; + GetAccessors()->getVideoControllerAccessor()->setCurrentTimeWithMode(self, valueValueTemp, static_cast(seekMode)); } -KOALA_INTEROP_DIRECT_V3(VideoController_setCurrentTime1, Ark_NativePointer, KInteropNumber, Ark_Int32) +KOALA_INTEROP_DIRECT_V4(VideoController_setCurrentTimeWithMode, Ark_NativePointer, KSerializerBuffer, int32_t, Ark_Int32) void impl_VideoController_reset(Ark_NativePointer thisPtr) { Ark_VideoController self = reinterpret_cast(thisPtr); GetAccessors()->getVideoControllerAccessor()->reset(self); @@ -37024,6 +39063,122 @@ Ark_Number impl_WaterFlowSections_length(Ark_NativePointer thisPtr) { return GetAccessors()->getWaterFlowSectionsAccessor()->length(self); } KOALA_INTEROP_DIRECT_1(WaterFlowSections_length, KInteropNumber, Ark_NativePointer) +Ark_NativePointer impl_WebContextMenuParam_construct() { + return GetAccessors()->getWebContextMenuParamAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(WebContextMenuParam_construct, Ark_NativePointer) +Ark_NativePointer impl_WebContextMenuParam_getFinalizer() { + return GetAccessors()->getWebContextMenuParamAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(WebContextMenuParam_getFinalizer, Ark_NativePointer) +Ark_Int32 impl_WebContextMenuParam_x(Ark_NativePointer thisPtr) { + Ark_WebContextMenuParam self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebContextMenuParamAccessor()->x(self); +} +KOALA_INTEROP_DIRECT_1(WebContextMenuParam_x, Ark_Int32, Ark_NativePointer) +Ark_Int32 impl_WebContextMenuParam_y(Ark_NativePointer thisPtr) { + Ark_WebContextMenuParam self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebContextMenuParamAccessor()->y(self); +} +KOALA_INTEROP_DIRECT_1(WebContextMenuParam_y, Ark_Int32, Ark_NativePointer) +Ark_String impl_WebContextMenuParam_getLinkUrl(Ark_NativePointer thisPtr) { + Ark_WebContextMenuParam self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebContextMenuParamAccessor()->getLinkUrl(self); +} +KOALA_INTEROP_1(WebContextMenuParam_getLinkUrl, KStringPtr, Ark_NativePointer) +Ark_String impl_WebContextMenuParam_getUnfilteredLinkUrl(Ark_NativePointer thisPtr) { + Ark_WebContextMenuParam self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebContextMenuParamAccessor()->getUnfilteredLinkUrl(self); +} +KOALA_INTEROP_1(WebContextMenuParam_getUnfilteredLinkUrl, KStringPtr, Ark_NativePointer) +Ark_String impl_WebContextMenuParam_getSourceUrl(Ark_NativePointer thisPtr) { + Ark_WebContextMenuParam self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebContextMenuParamAccessor()->getSourceUrl(self); +} +KOALA_INTEROP_1(WebContextMenuParam_getSourceUrl, KStringPtr, Ark_NativePointer) +Ark_Boolean impl_WebContextMenuParam_existsImageContents(Ark_NativePointer thisPtr) { + Ark_WebContextMenuParam self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebContextMenuParamAccessor()->existsImageContents(self); +} +KOALA_INTEROP_DIRECT_1(WebContextMenuParam_existsImageContents, Ark_Boolean, Ark_NativePointer) +Ark_Int32 impl_WebContextMenuParam_getMediaType(Ark_NativePointer thisPtr) { + Ark_WebContextMenuParam self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebContextMenuParamAccessor()->getMediaType(self); +} +KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getMediaType, Ark_Int32, Ark_NativePointer) +Ark_String impl_WebContextMenuParam_getSelectionText(Ark_NativePointer thisPtr) { + Ark_WebContextMenuParam self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebContextMenuParamAccessor()->getSelectionText(self); +} +KOALA_INTEROP_1(WebContextMenuParam_getSelectionText, KStringPtr, Ark_NativePointer) +Ark_Int32 impl_WebContextMenuParam_getSourceType(Ark_NativePointer thisPtr) { + Ark_WebContextMenuParam self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebContextMenuParamAccessor()->getSourceType(self); +} +KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getSourceType, Ark_Int32, Ark_NativePointer) +Ark_Int32 impl_WebContextMenuParam_getInputFieldType(Ark_NativePointer thisPtr) { + Ark_WebContextMenuParam self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebContextMenuParamAccessor()->getInputFieldType(self); +} +KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getInputFieldType, Ark_Int32, Ark_NativePointer) +Ark_Boolean impl_WebContextMenuParam_isEditable(Ark_NativePointer thisPtr) { + Ark_WebContextMenuParam self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebContextMenuParamAccessor()->isEditable(self); +} +KOALA_INTEROP_DIRECT_1(WebContextMenuParam_isEditable, Ark_Boolean, Ark_NativePointer) +Ark_Int32 impl_WebContextMenuParam_getEditStateFlags(Ark_NativePointer thisPtr) { + Ark_WebContextMenuParam self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebContextMenuParamAccessor()->getEditStateFlags(self); +} +KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getEditStateFlags, Ark_Int32, Ark_NativePointer) +Ark_Int32 impl_WebContextMenuParam_getPreviewWidth(Ark_NativePointer thisPtr) { + Ark_WebContextMenuParam self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebContextMenuParamAccessor()->getPreviewWidth(self); +} +KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getPreviewWidth, Ark_Int32, Ark_NativePointer) +Ark_Int32 impl_WebContextMenuParam_getPreviewHeight(Ark_NativePointer thisPtr) { + Ark_WebContextMenuParam self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebContextMenuParamAccessor()->getPreviewHeight(self); +} +KOALA_INTEROP_DIRECT_1(WebContextMenuParam_getPreviewHeight, Ark_Int32, Ark_NativePointer) +Ark_NativePointer impl_WebContextMenuResult_construct() { + return GetAccessors()->getWebContextMenuResultAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(WebContextMenuResult_construct, Ark_NativePointer) +Ark_NativePointer impl_WebContextMenuResult_getFinalizer() { + return GetAccessors()->getWebContextMenuResultAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(WebContextMenuResult_getFinalizer, Ark_NativePointer) +void impl_WebContextMenuResult_closeContextMenu(Ark_NativePointer thisPtr) { + Ark_WebContextMenuResult self = reinterpret_cast(thisPtr); + GetAccessors()->getWebContextMenuResultAccessor()->closeContextMenu(self); +} +KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_closeContextMenu, Ark_NativePointer) +void impl_WebContextMenuResult_copyImage(Ark_NativePointer thisPtr) { + Ark_WebContextMenuResult self = reinterpret_cast(thisPtr); + GetAccessors()->getWebContextMenuResultAccessor()->copyImage(self); +} +KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_copyImage, Ark_NativePointer) +void impl_WebContextMenuResult_copy(Ark_NativePointer thisPtr) { + Ark_WebContextMenuResult self = reinterpret_cast(thisPtr); + GetAccessors()->getWebContextMenuResultAccessor()->copy(self); +} +KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_copy, Ark_NativePointer) +void impl_WebContextMenuResult_paste(Ark_NativePointer thisPtr) { + Ark_WebContextMenuResult self = reinterpret_cast(thisPtr); + GetAccessors()->getWebContextMenuResultAccessor()->paste(self); +} +KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_paste, Ark_NativePointer) +void impl_WebContextMenuResult_cut(Ark_NativePointer thisPtr) { + Ark_WebContextMenuResult self = reinterpret_cast(thisPtr); + GetAccessors()->getWebContextMenuResultAccessor()->cut(self); +} +KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_cut, Ark_NativePointer) +void impl_WebContextMenuResult_selectAll(Ark_NativePointer thisPtr) { + Ark_WebContextMenuResult self = reinterpret_cast(thisPtr); + GetAccessors()->getWebContextMenuResultAccessor()->selectAll(self); +} +KOALA_INTEROP_DIRECT_V1(WebContextMenuResult_selectAll, Ark_NativePointer) Ark_NativePointer impl_WebCookie_construct() { return GetAccessors()->getWebCookieAccessor()->construct(); } @@ -37042,6 +39197,291 @@ void impl_WebCookie_saveCookie(Ark_NativePointer thisPtr) { GetAccessors()->getWebCookieAccessor()->saveCookie(self); } KOALA_INTEROP_DIRECT_V1(WebCookie_saveCookie, Ark_NativePointer) +Ark_NativePointer impl_WebKeyboardController_construct() { + return GetAccessors()->getWebKeyboardControllerAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(WebKeyboardController_construct, Ark_NativePointer) +Ark_NativePointer impl_WebKeyboardController_getFinalizer() { + return GetAccessors()->getWebKeyboardControllerAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(WebKeyboardController_getFinalizer, Ark_NativePointer) +void impl_WebKeyboardController_insertText(Ark_NativePointer thisPtr, const KStringPtr& text) { + Ark_WebKeyboardController self = reinterpret_cast(thisPtr); + GetAccessors()->getWebKeyboardControllerAccessor()->insertText(self, (const Ark_String*) (&text)); +} +KOALA_INTEROP_V2(WebKeyboardController_insertText, Ark_NativePointer, KStringPtr) +void impl_WebKeyboardController_deleteForward(Ark_NativePointer thisPtr, Ark_Int32 length) { + Ark_WebKeyboardController self = reinterpret_cast(thisPtr); + GetAccessors()->getWebKeyboardControllerAccessor()->deleteForward(self, length); +} +KOALA_INTEROP_DIRECT_V2(WebKeyboardController_deleteForward, Ark_NativePointer, Ark_Int32) +void impl_WebKeyboardController_deleteBackward(Ark_NativePointer thisPtr, Ark_Int32 length) { + Ark_WebKeyboardController self = reinterpret_cast(thisPtr); + GetAccessors()->getWebKeyboardControllerAccessor()->deleteBackward(self, length); +} +KOALA_INTEROP_DIRECT_V2(WebKeyboardController_deleteBackward, Ark_NativePointer, Ark_Int32) +void impl_WebKeyboardController_sendFunctionKey(Ark_NativePointer thisPtr, Ark_Int32 key) { + Ark_WebKeyboardController self = reinterpret_cast(thisPtr); + GetAccessors()->getWebKeyboardControllerAccessor()->sendFunctionKey(self, key); +} +KOALA_INTEROP_DIRECT_V2(WebKeyboardController_sendFunctionKey, Ark_NativePointer, Ark_Int32) +void impl_WebKeyboardController_close(Ark_NativePointer thisPtr) { + Ark_WebKeyboardController self = reinterpret_cast(thisPtr); + GetAccessors()->getWebKeyboardControllerAccessor()->close(self); +} +KOALA_INTEROP_DIRECT_V1(WebKeyboardController_close, Ark_NativePointer) +Ark_NativePointer impl_WebResourceError_construct() { + return GetAccessors()->getWebResourceErrorAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(WebResourceError_construct, Ark_NativePointer) +Ark_NativePointer impl_WebResourceError_getFinalizer() { + return GetAccessors()->getWebResourceErrorAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(WebResourceError_getFinalizer, Ark_NativePointer) +Ark_String impl_WebResourceError_getErrorInfo(Ark_NativePointer thisPtr) { + Ark_WebResourceError self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebResourceErrorAccessor()->getErrorInfo(self); +} +KOALA_INTEROP_1(WebResourceError_getErrorInfo, KStringPtr, Ark_NativePointer) +Ark_Number impl_WebResourceError_getErrorCode(Ark_NativePointer thisPtr) { + Ark_WebResourceError self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebResourceErrorAccessor()->getErrorCode(self); +} +KOALA_INTEROP_DIRECT_1(WebResourceError_getErrorCode, KInteropNumber, Ark_NativePointer) +Ark_NativePointer impl_WebResourceRequest_construct() { + return GetAccessors()->getWebResourceRequestAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(WebResourceRequest_construct, Ark_NativePointer) +Ark_NativePointer impl_WebResourceRequest_getFinalizer() { + return GetAccessors()->getWebResourceRequestAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(WebResourceRequest_getFinalizer, Ark_NativePointer) +KInteropReturnBuffer impl_WebResourceRequest_getRequestHeader(Ark_NativePointer thisPtr) { + Ark_WebResourceRequest self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getWebResourceRequestAccessor()->getRequestHeader(self); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_Header retValueTmpElement = retValue.array[retValueCounterI]; + Header_serializer::write(_retSerializer, retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(WebResourceRequest_getRequestHeader, KInteropReturnBuffer, Ark_NativePointer) +Ark_String impl_WebResourceRequest_getRequestUrl(Ark_NativePointer thisPtr) { + Ark_WebResourceRequest self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebResourceRequestAccessor()->getRequestUrl(self); +} +KOALA_INTEROP_1(WebResourceRequest_getRequestUrl, KStringPtr, Ark_NativePointer) +Ark_Boolean impl_WebResourceRequest_isRequestGesture(Ark_NativePointer thisPtr) { + Ark_WebResourceRequest self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebResourceRequestAccessor()->isRequestGesture(self); +} +KOALA_INTEROP_DIRECT_1(WebResourceRequest_isRequestGesture, Ark_Boolean, Ark_NativePointer) +Ark_Boolean impl_WebResourceRequest_isMainFrame(Ark_NativePointer thisPtr) { + Ark_WebResourceRequest self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebResourceRequestAccessor()->isMainFrame(self); +} +KOALA_INTEROP_DIRECT_1(WebResourceRequest_isMainFrame, Ark_Boolean, Ark_NativePointer) +Ark_Boolean impl_WebResourceRequest_isRedirect(Ark_NativePointer thisPtr) { + Ark_WebResourceRequest self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebResourceRequestAccessor()->isRedirect(self); +} +KOALA_INTEROP_DIRECT_1(WebResourceRequest_isRedirect, Ark_Boolean, Ark_NativePointer) +Ark_String impl_WebResourceRequest_getRequestMethod(Ark_NativePointer thisPtr) { + Ark_WebResourceRequest self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebResourceRequestAccessor()->getRequestMethod(self); +} +KOALA_INTEROP_1(WebResourceRequest_getRequestMethod, KStringPtr, Ark_NativePointer) +Ark_NativePointer impl_WebResourceResponse_construct() { + return GetAccessors()->getWebResourceResponseAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(WebResourceResponse_construct, Ark_NativePointer) +Ark_NativePointer impl_WebResourceResponse_getFinalizer() { + return GetAccessors()->getWebResourceResponseAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(WebResourceResponse_getFinalizer, Ark_NativePointer) +Ark_String impl_WebResourceResponse_getResponseData(Ark_NativePointer thisPtr) { + Ark_WebResourceResponse self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebResourceResponseAccessor()->getResponseData(self); +} +KOALA_INTEROP_1(WebResourceResponse_getResponseData, KStringPtr, Ark_NativePointer) +KInteropReturnBuffer impl_WebResourceResponse_getResponseDataEx(Ark_NativePointer thisPtr) { + Ark_WebResourceResponse self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getWebResourceResponseAccessor()->getResponseDataEx(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + if (retValueTmpValue.selector == 0) { + _retSerializer.writeInt8(0); + const auto retValueTmpValueForIdx0 = retValueTmpValue.value0; + _retSerializer.writeString(retValueTmpValueForIdx0); + } else if (retValueTmpValue.selector == 1) { + _retSerializer.writeInt8(1); + const auto retValueTmpValueForIdx1 = retValueTmpValue.value1; + _retSerializer.writeNumber(retValueTmpValueForIdx1); + } else if (retValueTmpValue.selector == 2) { + _retSerializer.writeInt8(2); + const auto retValueTmpValueForIdx2 = retValueTmpValue.value2; + _retSerializer.writeBuffer(retValueTmpValueForIdx2); + } else if (retValueTmpValue.selector == 3) { + _retSerializer.writeInt8(3); + const auto retValueTmpValueForIdx3 = retValueTmpValue.value3; + Resource_serializer::write(_retSerializer, retValueTmpValueForIdx3); + } + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(WebResourceResponse_getResponseDataEx, KInteropReturnBuffer, Ark_NativePointer) +Ark_String impl_WebResourceResponse_getResponseEncoding(Ark_NativePointer thisPtr) { + Ark_WebResourceResponse self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebResourceResponseAccessor()->getResponseEncoding(self); +} +KOALA_INTEROP_1(WebResourceResponse_getResponseEncoding, KStringPtr, Ark_NativePointer) +Ark_String impl_WebResourceResponse_getResponseMimeType(Ark_NativePointer thisPtr) { + Ark_WebResourceResponse self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebResourceResponseAccessor()->getResponseMimeType(self); +} +KOALA_INTEROP_1(WebResourceResponse_getResponseMimeType, KStringPtr, Ark_NativePointer) +Ark_String impl_WebResourceResponse_getReasonMessage(Ark_NativePointer thisPtr) { + Ark_WebResourceResponse self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebResourceResponseAccessor()->getReasonMessage(self); +} +KOALA_INTEROP_1(WebResourceResponse_getReasonMessage, KStringPtr, Ark_NativePointer) +KInteropReturnBuffer impl_WebResourceResponse_getResponseHeader(Ark_NativePointer thisPtr) { + Ark_WebResourceResponse self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getWebResourceResponseAccessor()->getResponseHeader(self); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_Header retValueTmpElement = retValue.array[retValueCounterI]; + Header_serializer::write(_retSerializer, retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(WebResourceResponse_getResponseHeader, KInteropReturnBuffer, Ark_NativePointer) +Ark_Number impl_WebResourceResponse_getResponseCode(Ark_NativePointer thisPtr) { + Ark_WebResourceResponse self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebResourceResponseAccessor()->getResponseCode(self); +} +KOALA_INTEROP_DIRECT_1(WebResourceResponse_getResponseCode, KInteropNumber, Ark_NativePointer) +void impl_WebResourceResponse_setResponseData(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_WebResourceResponse self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 dataValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_Number_Resource_Buffer dataValueTempTmpBuf = {}; + dataValueTempTmpBuf.selector = dataValueTempTmpBufUnionSelector; + if (dataValueTempTmpBufUnionSelector == 0) { + dataValueTempTmpBuf.selector = 0; + dataValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (dataValueTempTmpBufUnionSelector == 1) { + dataValueTempTmpBuf.selector = 1; + dataValueTempTmpBuf.value1 = static_cast(thisDeserializer.readNumber()); + } else if (dataValueTempTmpBufUnionSelector == 2) { + dataValueTempTmpBuf.selector = 2; + dataValueTempTmpBuf.value2 = Resource_serializer::read(thisDeserializer); + } else if (dataValueTempTmpBufUnionSelector == 3) { + dataValueTempTmpBuf.selector = 3; + dataValueTempTmpBuf.value3 = static_cast(thisDeserializer.readBuffer()); + } else { + INTEROP_FATAL("One of the branches for dataValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_String_Number_Resource_Buffer dataValueTemp = static_cast(dataValueTempTmpBuf);; + GetAccessors()->getWebResourceResponseAccessor()->setResponseData(self, static_cast(&dataValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebResourceResponse_setResponseData, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebResourceResponse_setResponseEncoding(Ark_NativePointer thisPtr, const KStringPtr& encoding) { + Ark_WebResourceResponse self = reinterpret_cast(thisPtr); + GetAccessors()->getWebResourceResponseAccessor()->setResponseEncoding(self, (const Ark_String*) (&encoding)); +} +KOALA_INTEROP_V2(WebResourceResponse_setResponseEncoding, Ark_NativePointer, KStringPtr) +void impl_WebResourceResponse_setResponseMimeType(Ark_NativePointer thisPtr, const KStringPtr& mimeType) { + Ark_WebResourceResponse self = reinterpret_cast(thisPtr); + GetAccessors()->getWebResourceResponseAccessor()->setResponseMimeType(self, (const Ark_String*) (&mimeType)); +} +KOALA_INTEROP_V2(WebResourceResponse_setResponseMimeType, Ark_NativePointer, KStringPtr) +void impl_WebResourceResponse_setReasonMessage(Ark_NativePointer thisPtr, const KStringPtr& reason) { + Ark_WebResourceResponse self = reinterpret_cast(thisPtr); + GetAccessors()->getWebResourceResponseAccessor()->setReasonMessage(self, (const Ark_String*) (&reason)); +} +KOALA_INTEROP_V2(WebResourceResponse_setReasonMessage, Ark_NativePointer, KStringPtr) +void impl_WebResourceResponse_setResponseHeader(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_WebResourceResponse self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 headerValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_Header headerValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&headerValueTempTmpBuf, headerValueTempTmpBufLength); + for (int headerValueTempTmpBufBufCounterI = 0; headerValueTempTmpBufBufCounterI < headerValueTempTmpBufLength; headerValueTempTmpBufBufCounterI++) { + headerValueTempTmpBuf.array[headerValueTempTmpBufBufCounterI] = Header_serializer::read(thisDeserializer); + } + Array_Header headerValueTemp = headerValueTempTmpBuf;; + GetAccessors()->getWebResourceResponseAccessor()->setResponseHeader(self, static_cast(&headerValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(WebResourceResponse_setResponseHeader, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebResourceResponse_setResponseCode(Ark_NativePointer thisPtr, KInteropNumber code) { + Ark_WebResourceResponse self = reinterpret_cast(thisPtr); + GetAccessors()->getWebResourceResponseAccessor()->setResponseCode(self, (const Ark_Number*) (&code)); +} +KOALA_INTEROP_DIRECT_V2(WebResourceResponse_setResponseCode, Ark_NativePointer, KInteropNumber) +void impl_WebResourceResponse_setResponseIsReady(Ark_NativePointer thisPtr, Ark_Boolean IsReady) { + Ark_WebResourceResponse self = reinterpret_cast(thisPtr); + GetAccessors()->getWebResourceResponseAccessor()->setResponseIsReady(self, IsReady); +} +KOALA_INTEROP_DIRECT_V2(WebResourceResponse_setResponseIsReady, Ark_NativePointer, Ark_Boolean) +Ark_Boolean impl_WebResourceResponse_getResponseIsReady(Ark_NativePointer thisPtr) { + Ark_WebResourceResponse self = reinterpret_cast(thisPtr); + return GetAccessors()->getWebResourceResponseAccessor()->getResponseIsReady(self); +} +KOALA_INTEROP_DIRECT_1(WebResourceResponse_getResponseIsReady, Ark_Boolean, Ark_NativePointer) +Ark_NativePointer impl_webview_WebviewController_construct() { + return GetAccessors()->getWebview_WebviewControllerAccessor()->construct(); +} +KOALA_INTEROP_DIRECT_0(webview_WebviewController_construct, Ark_NativePointer) +Ark_NativePointer impl_webview_WebviewController_getFinalizer() { + return GetAccessors()->getWebview_WebviewControllerAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(webview_WebviewController_getFinalizer, Ark_NativePointer) +void impl_webview_WebviewController_initializeWebEngine() { + GetAccessors()->getWebview_WebviewControllerAccessor()->initializeWebEngine(); +} +KOALA_INTEROP_DIRECT_V0(webview_WebviewController_initializeWebEngine) +void impl_webview_WebviewController_loadUrl(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_webview_WebviewController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 urlValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_Resource urlValueTempTmpBuf = {}; + urlValueTempTmpBuf.selector = urlValueTempTmpBufUnionSelector; + if (urlValueTempTmpBufUnionSelector == 0) { + urlValueTempTmpBuf.selector = 0; + urlValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (urlValueTempTmpBufUnionSelector == 1) { + urlValueTempTmpBuf.selector = 1; + urlValueTempTmpBuf.value1 = Resource_serializer::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for urlValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_String_Resource urlValueTemp = static_cast(urlValueTempTmpBuf);; + const auto headersValueTempTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_webview_WebHeader headersValueTempTmpBuf = {}; + headersValueTempTmpBuf.tag = headersValueTempTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((headersValueTempTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 headersValueTempTmpBuf_Length = thisDeserializer.readInt32(); + Array_webview_WebHeader headersValueTempTmpBuf_ = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&headersValueTempTmpBuf_, headersValueTempTmpBuf_Length); + for (int headersValueTempTmpBuf_BufCounterI = 0; headersValueTempTmpBuf_BufCounterI < headersValueTempTmpBuf_Length; headersValueTempTmpBuf_BufCounterI++) { + headersValueTempTmpBuf_.array[headersValueTempTmpBuf_BufCounterI] = webview_WebHeader_serializer::read(thisDeserializer); + } + headersValueTempTmpBuf.value = headersValueTempTmpBuf_; + } + Opt_Array_webview_WebHeader headersValueTemp = headersValueTempTmpBuf;; + GetAccessors()->getWebview_WebviewControllerAccessor()->loadUrl(self, static_cast(&urlValueTemp), static_cast(&headersValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(webview_WebviewController_loadUrl, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_XComponentController_construct() { return GetAccessors()->getXComponentControllerAccessor()->construct(); } @@ -37055,11 +39495,6 @@ Ark_String impl_XComponentController_getXComponentSurfaceId(Ark_NativePointer th return GetAccessors()->getXComponentControllerAccessor()->getXComponentSurfaceId(self); } KOALA_INTEROP_1(XComponentController_getXComponentSurfaceId, KStringPtr, Ark_NativePointer) -void impl_XComponentController_getXComponentContext(Ark_NativePointer thisPtr) { - Ark_XComponentController self = reinterpret_cast(thisPtr); - GetAccessors()->getXComponentControllerAccessor()->getXComponentContext(self); -} -KOALA_INTEROP_V1(XComponentController_getXComponentContext, Ark_NativePointer) void impl_XComponentController_setXComponentSurfaceRect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_XComponentController self = reinterpret_cast(thisPtr); DeserializerBase thisDeserializer(thisArray, thisLength); @@ -37330,7 +39765,7 @@ void impl_GlobalScope_postCardAction(KSerializerBuffer thisArray, int32_t thisLe KOALA_INTEROP_DIRECT_V2(GlobalScope_postCardAction, KSerializerBuffer, int32_t) void impl_GlobalScope_Profiler_registerVsyncCallback(KSerializerBuffer thisArray, int32_t thisLength) { DeserializerBase thisDeserializer(thisArray, thisLength); - Profiler_Callback_String_Void callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; + Profiler_Callback_String_Void callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; GetAccessors()->getGlobalScopeAccessor()->Profiler_registerVsyncCallback(static_cast(&callback_ValueTemp)); } KOALA_INTEROP_DIRECT_V2(GlobalScope_Profiler_registerVsyncCallback, KSerializerBuffer, int32_t) diff --git a/arkoala-arkts/framework/native/src/generated/callback_deserialize_call.cc b/arkoala-arkts/framework/native/src/generated/callback_deserialize_call.cc index 65f914a17..a42c86729 100644 --- a/arkoala-arkts/framework/native/src/generated/callback_deserialize_call.cc +++ b/arkoala-arkts/framework/native/src/generated/callback_deserialize_call.cc @@ -1180,40 +1180,52 @@ void deserializeAndCallSyncCallback_KeyEvent_Void(Ark_VMContext vmContext, KSeri Ark_KeyEvent event = static_cast(KeyEvent_serializer::read(thisDeserializer)); callSyncMethod(vmContext, resourceId, event); } -void deserializeAndCallCallback_Map_String_Object_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +void deserializeAndCallCallback_Map_String_RecordData_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Map_String_Object_Void)))); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Map_String_RecordData_Void)))); thisDeserializer.readPointer(); const Ark_Int32 value0TmpBufSizeVar = thisDeserializer.readInt32(); - Map_String_Object value0TmpBuf = {}; - thisDeserializer.resizeMap(&value0TmpBuf, value0TmpBufSizeVar); + Map_String_Opt_Object value0TmpBuf = {}; + thisDeserializer.resizeMap(&value0TmpBuf, value0TmpBufSizeVar); for (int value0TmpBufIVar = 0; value0TmpBufIVar < value0TmpBufSizeVar; value0TmpBufIVar++) { const Ark_String value0TmpBufKeyVar = static_cast(thisDeserializer.readString()); - const Ark_Object value0TmpBufValueVar = static_cast(thisDeserializer.readObject()); + const auto value0TmpBufValueVarTempBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Object value0TmpBufValueVarTempBuf = {}; + value0TmpBufValueVarTempBuf.tag = value0TmpBufValueVarTempBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((value0TmpBufValueVarTempBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + value0TmpBufValueVarTempBuf.value = static_cast(thisDeserializer.readObject()); + } + const Opt_Object value0TmpBufValueVar = value0TmpBufValueVarTempBuf; value0TmpBuf.keys[value0TmpBufIVar] = value0TmpBufKeyVar; value0TmpBuf.values[value0TmpBufIVar] = value0TmpBufValueVar; } - Map_String_Object value0 = value0TmpBuf; + Map_String_Opt_Object value0 = value0TmpBuf; _call(_resourceId, value0); } -void deserializeAndCallSyncCallback_Map_String_Object_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +void deserializeAndCallSyncCallback_Map_String_RecordData_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); const Ark_Int32 resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); - const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Map_String_Object_Void)))); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Map_String_RecordData_Void)))); const Ark_Int32 value0TmpBufSizeVar = thisDeserializer.readInt32(); - Map_String_Object value0TmpBuf = {}; - thisDeserializer.resizeMap(&value0TmpBuf, value0TmpBufSizeVar); + Map_String_Opt_Object value0TmpBuf = {}; + thisDeserializer.resizeMap(&value0TmpBuf, value0TmpBufSizeVar); for (int value0TmpBufIVar = 0; value0TmpBufIVar < value0TmpBufSizeVar; value0TmpBufIVar++) { const Ark_String value0TmpBufKeyVar = static_cast(thisDeserializer.readString()); - const Ark_Object value0TmpBufValueVar = static_cast(thisDeserializer.readObject()); + const auto value0TmpBufValueVarTempBuf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Object value0TmpBufValueVarTempBuf = {}; + value0TmpBufValueVarTempBuf.tag = value0TmpBufValueVarTempBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((value0TmpBufValueVarTempBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + value0TmpBufValueVarTempBuf.value = static_cast(thisDeserializer.readObject()); + } + const Opt_Object value0TmpBufValueVar = value0TmpBufValueVarTempBuf; value0TmpBuf.keys[value0TmpBufIVar] = value0TmpBufKeyVar; value0TmpBuf.values[value0TmpBufIVar] = value0TmpBufValueVar; } - Map_String_Object value0 = value0TmpBuf; + Map_String_Opt_Object value0 = value0TmpBuf; callSyncMethod(vmContext, resourceId, value0); } void deserializeAndCallCallback_MarqueeState_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) @@ -1252,6 +1264,60 @@ void deserializeAndCallSyncCallback_MouseEvent_Void(Ark_VMContext vmContext, KSe Ark_MouseEvent event = static_cast(MouseEvent_serializer::read(thisDeserializer)); callSyncMethod(vmContext, resourceId, event); } +void deserializeAndCallCallback_NativeEmbedDataInfo_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NativeEmbedDataInfo_Void)))); + thisDeserializer.readPointer(); + Ark_NativeEmbedDataInfo event = NativeEmbedDataInfo_serializer::read(thisDeserializer); + _call(_resourceId, event); +} +void deserializeAndCallSyncCallback_NativeEmbedDataInfo_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NativeEmbedDataInfo_Void)))); + Ark_NativeEmbedDataInfo event = NativeEmbedDataInfo_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, event); +} +void deserializeAndCallCallback_NativeEmbedTouchInfo_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NativeEmbedTouchInfo_Void)))); + thisDeserializer.readPointer(); + Ark_NativeEmbedTouchInfo event = NativeEmbedTouchInfo_serializer::read(thisDeserializer); + _call(_resourceId, event); +} +void deserializeAndCallSyncCallback_NativeEmbedTouchInfo_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NativeEmbedTouchInfo_Void)))); + Ark_NativeEmbedTouchInfo event = NativeEmbedTouchInfo_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, event); +} +void deserializeAndCallCallback_NativeXComponentPointer_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NativeXComponentPointer_Void)))); + thisDeserializer.readPointer(); + Ark_Int64 value0 = thisDeserializer.readInt64(); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_NativeXComponentPointer_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NativeXComponentPointer_Void)))); + Ark_Int64 value0 = thisDeserializer.readInt64(); + callSyncMethod(vmContext, resourceId, value0); +} void deserializeAndCallCallback_NavDestinationActiveReason_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); @@ -1586,115 +1652,783 @@ void deserializeAndCallSyncCallback_Number_Void(Ark_VMContext vmContext, KSerial Ark_Number value0 = static_cast(thisDeserializer.readNumber()); callSyncMethod(vmContext, resourceId, value0); } -void deserializeAndCallCallback_Object_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +void deserializeAndCallCallback_Object_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Object_Void)))); + thisDeserializer.readPointer(); + Ark_Object value0 = static_cast(thisDeserializer.readObject()); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_Object_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Object_Void)))); + Ark_Object value0 = static_cast(thisDeserializer.readObject()); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnAlertEvent_Boolean(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnAlertEvent_Boolean)))); + thisDeserializer.readPointer(); + Ark_OnAlertEvent value0 = OnAlertEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + _call(_resourceId, value0, continuationResult); +} +void deserializeAndCallSyncCallback_OnAlertEvent_Boolean(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnAlertEvent_Boolean)))); + Ark_OnAlertEvent value0 = OnAlertEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + callSyncMethod(vmContext, resourceId, value0, continuationResult); +} +void deserializeAndCallCallback_OnAudioStateChangedEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnAudioStateChangedEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnAudioStateChangedEvent value0 = OnAudioStateChangedEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnAudioStateChangedEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnAudioStateChangedEvent_Void)))); + Ark_OnAudioStateChangedEvent value0 = OnAudioStateChangedEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnBeforeUnloadEvent_Boolean(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnBeforeUnloadEvent_Boolean)))); + thisDeserializer.readPointer(); + Ark_OnBeforeUnloadEvent value0 = OnBeforeUnloadEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + _call(_resourceId, value0, continuationResult); +} +void deserializeAndCallSyncCallback_OnBeforeUnloadEvent_Boolean(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnBeforeUnloadEvent_Boolean)))); + Ark_OnBeforeUnloadEvent value0 = OnBeforeUnloadEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + callSyncMethod(vmContext, resourceId, value0, continuationResult); +} +void deserializeAndCallCallback_OnClientAuthenticationEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnClientAuthenticationEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnClientAuthenticationEvent value0 = OnClientAuthenticationEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnClientAuthenticationEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnClientAuthenticationEvent_Void)))); + Ark_OnClientAuthenticationEvent value0 = OnClientAuthenticationEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnConfirmEvent_Boolean(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnConfirmEvent_Boolean)))); + thisDeserializer.readPointer(); + Ark_OnConfirmEvent value0 = OnConfirmEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + _call(_resourceId, value0, continuationResult); +} +void deserializeAndCallSyncCallback_OnConfirmEvent_Boolean(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnConfirmEvent_Boolean)))); + Ark_OnConfirmEvent value0 = OnConfirmEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + callSyncMethod(vmContext, resourceId, value0, continuationResult); +} +void deserializeAndCallCallback_OnConsoleEvent_Boolean(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnConsoleEvent_Boolean)))); + thisDeserializer.readPointer(); + Ark_OnConsoleEvent value0 = OnConsoleEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + _call(_resourceId, value0, continuationResult); +} +void deserializeAndCallSyncCallback_OnConsoleEvent_Boolean(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnConsoleEvent_Boolean)))); + Ark_OnConsoleEvent value0 = OnConsoleEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + callSyncMethod(vmContext, resourceId, value0, continuationResult); +} +void deserializeAndCallCallback_OnContextMenuShowEvent_Boolean(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnContextMenuShowEvent_Boolean)))); + thisDeserializer.readPointer(); + Ark_OnContextMenuShowEvent value0 = OnContextMenuShowEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + _call(_resourceId, value0, continuationResult); +} +void deserializeAndCallSyncCallback_OnContextMenuShowEvent_Boolean(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnContextMenuShowEvent_Boolean)))); + Ark_OnContextMenuShowEvent value0 = OnContextMenuShowEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + callSyncMethod(vmContext, resourceId, value0, continuationResult); +} +void deserializeAndCallCallback_OnDataResubmittedEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnDataResubmittedEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnDataResubmittedEvent value0 = OnDataResubmittedEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnDataResubmittedEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnDataResubmittedEvent_Void)))); + Ark_OnDataResubmittedEvent value0 = OnDataResubmittedEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnDownloadStartEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnDownloadStartEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnDownloadStartEvent value0 = OnDownloadStartEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnDownloadStartEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnDownloadStartEvent_Void)))); + Ark_OnDownloadStartEvent value0 = OnDownloadStartEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnErrorReceiveEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnErrorReceiveEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnErrorReceiveEvent value0 = OnErrorReceiveEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnErrorReceiveEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnErrorReceiveEvent_Void)))); + Ark_OnErrorReceiveEvent value0 = OnErrorReceiveEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnFaviconReceivedEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnFaviconReceivedEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnFaviconReceivedEvent value0 = OnFaviconReceivedEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnFaviconReceivedEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnFaviconReceivedEvent_Void)))); + Ark_OnFaviconReceivedEvent value0 = OnFaviconReceivedEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnFirstContentfulPaintEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnFirstContentfulPaintEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnFirstContentfulPaintEvent value0 = OnFirstContentfulPaintEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnFirstContentfulPaintEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnFirstContentfulPaintEvent_Void)))); + Ark_OnFirstContentfulPaintEvent value0 = OnFirstContentfulPaintEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnGeolocationShowEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnGeolocationShowEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnGeolocationShowEvent value0 = OnGeolocationShowEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnGeolocationShowEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnGeolocationShowEvent_Void)))); + Ark_OnGeolocationShowEvent value0 = OnGeolocationShowEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnHttpAuthRequestEvent_Boolean(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnHttpAuthRequestEvent_Boolean)))); + thisDeserializer.readPointer(); + Ark_OnHttpAuthRequestEvent value0 = OnHttpAuthRequestEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + _call(_resourceId, value0, continuationResult); +} +void deserializeAndCallSyncCallback_OnHttpAuthRequestEvent_Boolean(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnHttpAuthRequestEvent_Boolean)))); + Ark_OnHttpAuthRequestEvent value0 = OnHttpAuthRequestEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + callSyncMethod(vmContext, resourceId, value0, continuationResult); +} +void deserializeAndCallCallback_OnHttpErrorReceiveEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnHttpErrorReceiveEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnHttpErrorReceiveEvent value0 = OnHttpErrorReceiveEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnHttpErrorReceiveEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnHttpErrorReceiveEvent_Void)))); + Ark_OnHttpErrorReceiveEvent value0 = OnHttpErrorReceiveEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnInterceptRequestEvent_WebResourceResponse(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnInterceptRequestEvent_WebResourceResponse)))); + thisDeserializer.readPointer(); + Ark_OnInterceptRequestEvent value0 = OnInterceptRequestEvent_serializer::read(thisDeserializer); + Callback_WebResourceResponse_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_WebResourceResponse_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_WebResourceResponse_Void))))}; + _call(_resourceId, value0, continuationResult); +} +void deserializeAndCallSyncCallback_OnInterceptRequestEvent_WebResourceResponse(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnInterceptRequestEvent_WebResourceResponse)))); + Ark_OnInterceptRequestEvent value0 = OnInterceptRequestEvent_serializer::read(thisDeserializer); + Callback_WebResourceResponse_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_WebResourceResponse_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_WebResourceResponse_Void))))}; + callSyncMethod(vmContext, resourceId, value0, continuationResult); +} +void deserializeAndCallCallback_OnLoadInterceptEvent_Boolean(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnLoadInterceptEvent_Boolean)))); + thisDeserializer.readPointer(); + Ark_OnLoadInterceptEvent value0 = OnLoadInterceptEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + _call(_resourceId, value0, continuationResult); +} +void deserializeAndCallSyncCallback_OnLoadInterceptEvent_Boolean(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnLoadInterceptEvent_Boolean)))); + Ark_OnLoadInterceptEvent value0 = OnLoadInterceptEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + callSyncMethod(vmContext, resourceId, value0, continuationResult); +} +void deserializeAndCallCallback_onMeasureSize_SizeResult(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_onMeasureSize_SizeResult)))); + thisDeserializer.readPointer(); + Ark_GeometryInfo selfLayoutInfo = GeometryInfo_serializer::read(thisDeserializer); + const Ark_Int32 childrenTmpBufLength = thisDeserializer.readInt32(); + Array_Measurable childrenTmpBuf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&childrenTmpBuf, childrenTmpBufLength); + for (int childrenTmpBufBufCounterI = 0; childrenTmpBufBufCounterI < childrenTmpBufLength; childrenTmpBufBufCounterI++) { + childrenTmpBuf.array[childrenTmpBufBufCounterI] = static_cast(Measurable_serializer::read(thisDeserializer)); + } + Array_Measurable children = childrenTmpBuf; + Ark_ConstraintSizeOptions constraint = ConstraintSizeOptions_serializer::read(thisDeserializer); + Callback_SizeResult_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_SizeResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_SizeResult_Void))))}; + _call(_resourceId, selfLayoutInfo, children, constraint, continuationResult); +} +void deserializeAndCallSyncCallback_onMeasureSize_SizeResult(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_onMeasureSize_SizeResult)))); + Ark_GeometryInfo selfLayoutInfo = GeometryInfo_serializer::read(thisDeserializer); + const Ark_Int32 childrenTmpBufLength = thisDeserializer.readInt32(); + Array_Measurable childrenTmpBuf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&childrenTmpBuf, childrenTmpBufLength); + for (int childrenTmpBufBufCounterI = 0; childrenTmpBufBufCounterI < childrenTmpBufLength; childrenTmpBufBufCounterI++) { + childrenTmpBuf.array[childrenTmpBufBufCounterI] = static_cast(Measurable_serializer::read(thisDeserializer)); + } + Array_Measurable children = childrenTmpBuf; + Ark_ConstraintSizeOptions constraint = ConstraintSizeOptions_serializer::read(thisDeserializer); + Callback_SizeResult_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_SizeResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_SizeResult_Void))))}; + callSyncMethod(vmContext, resourceId, selfLayoutInfo, children, constraint, continuationResult); +} +void deserializeAndCallCallback_OnOverScrollEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnOverScrollEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnOverScrollEvent value0 = OnOverScrollEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnOverScrollEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnOverScrollEvent_Void)))); + Ark_OnOverScrollEvent value0 = OnOverScrollEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnPageBeginEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPageBeginEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnPageBeginEvent value0 = OnPageBeginEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnPageBeginEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPageBeginEvent_Void)))); + Ark_OnPageBeginEvent value0 = OnPageBeginEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnPageEndEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPageEndEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnPageEndEvent value0 = OnPageEndEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnPageEndEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPageEndEvent_Void)))); + Ark_OnPageEndEvent value0 = OnPageEndEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnPageVisibleEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPageVisibleEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnPageVisibleEvent value0 = OnPageVisibleEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnPageVisibleEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPageVisibleEvent_Void)))); + Ark_OnPageVisibleEvent value0 = OnPageVisibleEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnPermissionRequestEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPermissionRequestEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnPermissionRequestEvent value0 = OnPermissionRequestEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnPermissionRequestEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPermissionRequestEvent_Void)))); + Ark_OnPermissionRequestEvent value0 = OnPermissionRequestEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_onPlaceChildren_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_onPlaceChildren_Void)))); + thisDeserializer.readPointer(); + Ark_GeometryInfo selfLayoutInfo = GeometryInfo_serializer::read(thisDeserializer); + const Ark_Int32 childrenTmpBufLength = thisDeserializer.readInt32(); + Array_Layoutable childrenTmpBuf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&childrenTmpBuf, childrenTmpBufLength); + for (int childrenTmpBufBufCounterI = 0; childrenTmpBufBufCounterI < childrenTmpBufLength; childrenTmpBufBufCounterI++) { + childrenTmpBuf.array[childrenTmpBufBufCounterI] = static_cast(Layoutable_serializer::read(thisDeserializer)); + } + Array_Layoutable children = childrenTmpBuf; + Ark_ConstraintSizeOptions constraint = ConstraintSizeOptions_serializer::read(thisDeserializer); + _call(_resourceId, selfLayoutInfo, children, constraint); +} +void deserializeAndCallSyncCallback_onPlaceChildren_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_onPlaceChildren_Void)))); + Ark_GeometryInfo selfLayoutInfo = GeometryInfo_serializer::read(thisDeserializer); + const Ark_Int32 childrenTmpBufLength = thisDeserializer.readInt32(); + Array_Layoutable childrenTmpBuf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&childrenTmpBuf, childrenTmpBufLength); + for (int childrenTmpBufBufCounterI = 0; childrenTmpBufBufCounterI < childrenTmpBufLength; childrenTmpBufBufCounterI++) { + childrenTmpBuf.array[childrenTmpBufBufCounterI] = static_cast(Layoutable_serializer::read(thisDeserializer)); + } + Array_Layoutable children = childrenTmpBuf; + Ark_ConstraintSizeOptions constraint = ConstraintSizeOptions_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, selfLayoutInfo, children, constraint); +} +void deserializeAndCallCallback_OnProgressChangeEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnProgressChangeEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnProgressChangeEvent value0 = OnProgressChangeEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnProgressChangeEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnProgressChangeEvent_Void)))); + Ark_OnProgressChangeEvent value0 = OnProgressChangeEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnPromptEvent_Boolean(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPromptEvent_Boolean)))); + thisDeserializer.readPointer(); + Ark_OnPromptEvent value0 = OnPromptEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + _call(_resourceId, value0, continuationResult); +} +void deserializeAndCallSyncCallback_OnPromptEvent_Boolean(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPromptEvent_Boolean)))); + Ark_OnPromptEvent value0 = OnPromptEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + callSyncMethod(vmContext, resourceId, value0, continuationResult); +} +void deserializeAndCallCallback_OnRefreshAccessedHistoryEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnRefreshAccessedHistoryEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnRefreshAccessedHistoryEvent value0 = OnRefreshAccessedHistoryEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnRefreshAccessedHistoryEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnRefreshAccessedHistoryEvent_Void)))); + Ark_OnRefreshAccessedHistoryEvent value0 = OnRefreshAccessedHistoryEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnRenderExitedEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnRenderExitedEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnRenderExitedEvent value0 = OnRenderExitedEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnRenderExitedEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnRenderExitedEvent_Void)))); + Ark_OnRenderExitedEvent value0 = OnRenderExitedEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnResourceLoadEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnResourceLoadEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnResourceLoadEvent value0 = OnResourceLoadEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnResourceLoadEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnResourceLoadEvent_Void)))); + Ark_OnResourceLoadEvent value0 = OnResourceLoadEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnScaleChangeEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnScaleChangeEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnScaleChangeEvent value0 = OnScaleChangeEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnScaleChangeEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnScaleChangeEvent_Void)))); + Ark_OnScaleChangeEvent value0 = OnScaleChangeEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnScreenCaptureRequestEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnScreenCaptureRequestEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnScreenCaptureRequestEvent value0 = OnScreenCaptureRequestEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnScreenCaptureRequestEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnScreenCaptureRequestEvent_Void)))); + Ark_OnScreenCaptureRequestEvent value0 = OnScreenCaptureRequestEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnScrollEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnScrollEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnScrollEvent value0 = OnScrollEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnScrollEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnScrollEvent_Void)))); + Ark_OnScrollEvent value0 = OnScrollEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnScrollFrameBeginHandlerResult_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnScrollFrameBeginHandlerResult_Void)))); + thisDeserializer.readPointer(); + Ark_OnScrollFrameBeginHandlerResult value = OnScrollFrameBeginHandlerResult_serializer::read(thisDeserializer); + _call(_resourceId, value); +} +void deserializeAndCallSyncCallback_OnScrollFrameBeginHandlerResult_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnScrollFrameBeginHandlerResult_Void)))); + Ark_OnScrollFrameBeginHandlerResult value = OnScrollFrameBeginHandlerResult_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value); +} +void deserializeAndCallCallback_OnSearchResultReceiveEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnSearchResultReceiveEvent_Void)))); + thisDeserializer.readPointer(); + Ark_OnSearchResultReceiveEvent value0 = OnSearchResultReceiveEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); +} +void deserializeAndCallSyncCallback_OnSearchResultReceiveEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnSearchResultReceiveEvent_Void)))); + Ark_OnSearchResultReceiveEvent value0 = OnSearchResultReceiveEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); +} +void deserializeAndCallCallback_OnShowFileSelectorEvent_Boolean(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnShowFileSelectorEvent_Boolean)))); + thisDeserializer.readPointer(); + Ark_OnShowFileSelectorEvent value0 = OnShowFileSelectorEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + _call(_resourceId, value0, continuationResult); +} +void deserializeAndCallSyncCallback_OnShowFileSelectorEvent_Boolean(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnShowFileSelectorEvent_Boolean)))); + Ark_OnShowFileSelectorEvent value0 = OnShowFileSelectorEvent_serializer::read(thisDeserializer); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + callSyncMethod(vmContext, resourceId, value0, continuationResult); +} +void deserializeAndCallCallback_OnSslErrorEventReceiveEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Object_Void)))); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnSslErrorEventReceiveEvent_Void)))); thisDeserializer.readPointer(); - Ark_Object value0 = static_cast(thisDeserializer.readObject()); + Ark_OnSslErrorEventReceiveEvent value0 = OnSslErrorEventReceiveEvent_serializer::read(thisDeserializer); _call(_resourceId, value0); } -void deserializeAndCallSyncCallback_Object_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +void deserializeAndCallSyncCallback_OnSslErrorEventReceiveEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); const Ark_Int32 resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); - const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Object_Void)))); - Ark_Object value0 = static_cast(thisDeserializer.readObject()); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnSslErrorEventReceiveEvent_Void)))); + Ark_OnSslErrorEventReceiveEvent value0 = OnSslErrorEventReceiveEvent_serializer::read(thisDeserializer); callSyncMethod(vmContext, resourceId, value0); } -void deserializeAndCallCallback_onMeasureSize_SizeResult(KSerializerBuffer thisArray, Ark_Int32 thisLength) +void deserializeAndCallCallback_OnTitleReceiveEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_onMeasureSize_SizeResult)))); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnTitleReceiveEvent_Void)))); thisDeserializer.readPointer(); - Ark_GeometryInfo selfLayoutInfo = GeometryInfo_serializer::read(thisDeserializer); - const Ark_Int32 childrenTmpBufLength = thisDeserializer.readInt32(); - Array_Measurable childrenTmpBuf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&childrenTmpBuf, childrenTmpBufLength); - for (int childrenTmpBufBufCounterI = 0; childrenTmpBufBufCounterI < childrenTmpBufLength; childrenTmpBufBufCounterI++) { - childrenTmpBuf.array[childrenTmpBufBufCounterI] = static_cast(Measurable_serializer::read(thisDeserializer)); - } - Array_Measurable children = childrenTmpBuf; - Ark_ConstraintSizeOptions constraint = ConstraintSizeOptions_serializer::read(thisDeserializer); - Callback_SizeResult_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_SizeResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_SizeResult_Void))))}; - _call(_resourceId, selfLayoutInfo, children, constraint, continuationResult); + Ark_OnTitleReceiveEvent value0 = OnTitleReceiveEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); } -void deserializeAndCallSyncCallback_onMeasureSize_SizeResult(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +void deserializeAndCallSyncCallback_OnTitleReceiveEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); const Ark_Int32 resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); - const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_onMeasureSize_SizeResult)))); - Ark_GeometryInfo selfLayoutInfo = GeometryInfo_serializer::read(thisDeserializer); - const Ark_Int32 childrenTmpBufLength = thisDeserializer.readInt32(); - Array_Measurable childrenTmpBuf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&childrenTmpBuf, childrenTmpBufLength); - for (int childrenTmpBufBufCounterI = 0; childrenTmpBufBufCounterI < childrenTmpBufLength; childrenTmpBufBufCounterI++) { - childrenTmpBuf.array[childrenTmpBufBufCounterI] = static_cast(Measurable_serializer::read(thisDeserializer)); - } - Array_Measurable children = childrenTmpBuf; - Ark_ConstraintSizeOptions constraint = ConstraintSizeOptions_serializer::read(thisDeserializer); - Callback_SizeResult_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_SizeResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_SizeResult_Void))))}; - callSyncMethod(vmContext, resourceId, selfLayoutInfo, children, constraint, continuationResult); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnTitleReceiveEvent_Void)))); + Ark_OnTitleReceiveEvent value0 = OnTitleReceiveEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); } -void deserializeAndCallCallback_onPlaceChildren_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +void deserializeAndCallCallback_OnTouchIconUrlReceivedEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_onPlaceChildren_Void)))); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnTouchIconUrlReceivedEvent_Void)))); thisDeserializer.readPointer(); - Ark_GeometryInfo selfLayoutInfo = GeometryInfo_serializer::read(thisDeserializer); - const Ark_Int32 childrenTmpBufLength = thisDeserializer.readInt32(); - Array_Layoutable childrenTmpBuf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&childrenTmpBuf, childrenTmpBufLength); - for (int childrenTmpBufBufCounterI = 0; childrenTmpBufBufCounterI < childrenTmpBufLength; childrenTmpBufBufCounterI++) { - childrenTmpBuf.array[childrenTmpBufBufCounterI] = static_cast(Layoutable_serializer::read(thisDeserializer)); - } - Array_Layoutable children = childrenTmpBuf; - Ark_ConstraintSizeOptions constraint = ConstraintSizeOptions_serializer::read(thisDeserializer); - _call(_resourceId, selfLayoutInfo, children, constraint); + Ark_OnTouchIconUrlReceivedEvent value0 = OnTouchIconUrlReceivedEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); } -void deserializeAndCallSyncCallback_onPlaceChildren_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +void deserializeAndCallSyncCallback_OnTouchIconUrlReceivedEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); const Ark_Int32 resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); - const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_onPlaceChildren_Void)))); - Ark_GeometryInfo selfLayoutInfo = GeometryInfo_serializer::read(thisDeserializer); - const Ark_Int32 childrenTmpBufLength = thisDeserializer.readInt32(); - Array_Layoutable childrenTmpBuf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&childrenTmpBuf, childrenTmpBufLength); - for (int childrenTmpBufBufCounterI = 0; childrenTmpBufBufCounterI < childrenTmpBufLength; childrenTmpBufBufCounterI++) { - childrenTmpBuf.array[childrenTmpBufBufCounterI] = static_cast(Layoutable_serializer::read(thisDeserializer)); - } - Array_Layoutable children = childrenTmpBuf; - Ark_ConstraintSizeOptions constraint = ConstraintSizeOptions_serializer::read(thisDeserializer); - callSyncMethod(vmContext, resourceId, selfLayoutInfo, children, constraint); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnTouchIconUrlReceivedEvent_Void)))); + Ark_OnTouchIconUrlReceivedEvent value0 = OnTouchIconUrlReceivedEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); } -void deserializeAndCallCallback_OnScrollFrameBeginHandlerResult_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +void deserializeAndCallCallback_OnWindowNewEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnScrollFrameBeginHandlerResult_Void)))); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnWindowNewEvent_Void)))); thisDeserializer.readPointer(); - Ark_OnScrollFrameBeginHandlerResult value = OnScrollFrameBeginHandlerResult_serializer::read(thisDeserializer); - _call(_resourceId, value); + Ark_OnWindowNewEvent value0 = OnWindowNewEvent_serializer::read(thisDeserializer); + _call(_resourceId, value0); } -void deserializeAndCallSyncCallback_OnScrollFrameBeginHandlerResult_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +void deserializeAndCallSyncCallback_OnWindowNewEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); const Ark_Int32 resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); - const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnScrollFrameBeginHandlerResult_Void)))); - Ark_OnScrollFrameBeginHandlerResult value = OnScrollFrameBeginHandlerResult_serializer::read(thisDeserializer); - callSyncMethod(vmContext, resourceId, value); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnWindowNewEvent_Void)))); + Ark_OnWindowNewEvent value0 = OnWindowNewEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value0); } void deserializeAndCallCallback_Opt_Array_FontDescriptor_Opt_Array_String_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { @@ -3472,6 +4206,42 @@ void deserializeAndCallSyncCallback_Void(Ark_VMContext vmContext, KSerializerBuf const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void)))); callSyncMethod(vmContext, resourceId); } +void deserializeAndCallCallback_WebKeyboardOptions_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_WebKeyboardOptions_Void)))); + thisDeserializer.readPointer(); + Ark_WebKeyboardOptions value = WebKeyboardOptions_serializer::read(thisDeserializer); + _call(_resourceId, value); +} +void deserializeAndCallSyncCallback_WebKeyboardOptions_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_WebKeyboardOptions_Void)))); + Ark_WebKeyboardOptions value = WebKeyboardOptions_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, value); +} +void deserializeAndCallCallback_WebResourceResponse_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_WebResourceResponse_Void)))); + thisDeserializer.readPointer(); + Ark_WebResourceResponse value = static_cast(WebResourceResponse_serializer::read(thisDeserializer)); + _call(_resourceId, value); +} +void deserializeAndCallSyncCallback_WebResourceResponse_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_WebResourceResponse_Void)))); + Ark_WebResourceResponse value = static_cast(WebResourceResponse_serializer::read(thisDeserializer)); + callSyncMethod(vmContext, resourceId, value); +} void deserializeAndCallCheckBoxModifierBuilder(KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); @@ -4074,6 +4844,24 @@ void deserializeAndCallSyncNavExtender_OnUpdateStack(Ark_VMContext vmContext, KS const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_NavExtender_OnUpdateStack)))); callSyncMethod(vmContext, resourceId); } +void deserializeAndCallOnAdsBlockedCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnAdsBlockedCallback)))); + thisDeserializer.readPointer(); + Ark_AdsBlockedDetails details = AdsBlockedDetails_serializer::read(thisDeserializer); + _call(_resourceId, details); +} +void deserializeAndCallSyncOnAdsBlockedCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnAdsBlockedCallback)))); + Ark_AdsBlockedDetails details = AdsBlockedDetails_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, details); +} void deserializeAndCallOnAlphabetIndexerPopupSelectCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); @@ -4186,6 +4974,22 @@ void deserializeAndCallSyncOnContentScrollCallback(Ark_VMContext vmContext, KSer Ark_Number totalOffsetY = static_cast(thisDeserializer.readNumber()); callSyncMethod(vmContext, resourceId, totalOffsetX, totalOffsetY); } +void deserializeAndCallOnContextMenuHideCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnContextMenuHideCallback)))); + thisDeserializer.readPointer(); + _call(_resourceId); +} +void deserializeAndCallSyncOnContextMenuHideCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnContextMenuHideCallback)))); + callSyncMethod(vmContext, resourceId); +} void deserializeAndCallOnCreateMenuCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); @@ -4272,6 +5076,24 @@ void deserializeAndCallSyncOnDragEventCallback(Ark_VMContext vmContext, KSeriali Opt_String extraParams = extraParamsTmpBuf; callSyncMethod(vmContext, resourceId, event, extraParams); } +void deserializeAndCallOnFirstMeaningfulPaintCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnFirstMeaningfulPaintCallback)))); + thisDeserializer.readPointer(); + Ark_FirstMeaningfulPaint firstMeaningfulPaint = FirstMeaningfulPaint_serializer::read(thisDeserializer); + _call(_resourceId, firstMeaningfulPaint); +} +void deserializeAndCallSyncOnFirstMeaningfulPaintCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnFirstMeaningfulPaintCallback)))); + Ark_FirstMeaningfulPaint firstMeaningfulPaint = FirstMeaningfulPaint_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, firstMeaningfulPaint); +} void deserializeAndCallOnFoldStatusChangeCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); @@ -4290,6 +5112,24 @@ void deserializeAndCallSyncOnFoldStatusChangeCallback(Ark_VMContext vmContext, K Ark_OnFoldStatusChangeInfo event = OnFoldStatusChangeInfo_serializer::read(thisDeserializer); callSyncMethod(vmContext, resourceId, event); } +void deserializeAndCallOnFullScreenEnterCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnFullScreenEnterCallback)))); + thisDeserializer.readPointer(); + Ark_FullScreenEnterEvent event = FullScreenEnterEvent_serializer::read(thisDeserializer); + _call(_resourceId, event); +} +void deserializeAndCallSyncOnFullScreenEnterCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnFullScreenEnterCallback)))); + Ark_FullScreenEnterEvent event = FullScreenEnterEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, event); +} void deserializeAndCallOnHoverCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); @@ -4328,6 +5168,24 @@ void deserializeAndCallSyncOnHoverStatusChangeCallback(Ark_VMContext vmContext, Ark_HoverEventParam param = HoverEventParam_serializer::read(thisDeserializer); callSyncMethod(vmContext, resourceId, param); } +void deserializeAndCallOnIntelligentTrackingPreventionCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnIntelligentTrackingPreventionCallback)))); + thisDeserializer.readPointer(); + Ark_IntelligentTrackingPreventionDetails details = IntelligentTrackingPreventionDetails_serializer::read(thisDeserializer); + _call(_resourceId, details); +} +void deserializeAndCallSyncOnIntelligentTrackingPreventionCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnIntelligentTrackingPreventionCallback)))); + Ark_IntelligentTrackingPreventionDetails details = IntelligentTrackingPreventionDetails_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, details); +} void deserializeAndCallOnItemDragStartCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); @@ -4350,23 +5208,23 @@ void deserializeAndCallSyncOnItemDragStartCallback(Ark_VMContext vmContext, KSer Callback_Opt_CustomBuilder_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Opt_CustomBuilder_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Opt_CustomBuilder_Void))))}; callSyncMethod(vmContext, resourceId, event, itemIndex, continuationResult); } -void deserializeAndCallOnLazyLoadingFunc(KSerializerBuffer thisArray, Ark_Int32 thisLength) +void deserializeAndCallOnLargestContentfulPaintCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnLazyLoadingFunc)))); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnLargestContentfulPaintCallback)))); thisDeserializer.readPointer(); - Ark_Number index = static_cast(thisDeserializer.readNumber()); - _call(_resourceId, index); + Ark_LargestContentfulPaint largestContentfulPaint = LargestContentfulPaint_serializer::read(thisDeserializer); + _call(_resourceId, largestContentfulPaint); } -void deserializeAndCallSyncOnLazyLoadingFunc(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +void deserializeAndCallSyncOnLargestContentfulPaintCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); const Ark_Int32 resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); - const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnLazyLoadingFunc)))); - Ark_Number index = static_cast(thisDeserializer.readNumber()); - callSyncMethod(vmContext, resourceId, index); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnLargestContentfulPaintCallback)))); + Ark_LargestContentfulPaint largestContentfulPaint = LargestContentfulPaint_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, largestContentfulPaint); } void deserializeAndCallOnLinearIndicatorChangeCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { @@ -4430,35 +5288,61 @@ void deserializeAndCallSyncOnMoveHandler(Ark_VMContext vmContext, KSerializerBuf Ark_Number to = static_cast(thisDeserializer.readNumber()); callSyncMethod(vmContext, resourceId, from, to); } -void deserializeAndCallOnNativeLoadCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +void deserializeAndCallOnNativeEmbedVisibilityChangeCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnNativeLoadCallback)))); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnNativeEmbedVisibilityChangeCallback)))); thisDeserializer.readPointer(); - const auto eventTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Object eventTmpBuf = {}; - eventTmpBuf.tag = eventTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((eventTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - eventTmpBuf.value = static_cast(thisDeserializer.readObject()); - } - Opt_Object event = eventTmpBuf; - _call(_resourceId, event); + Ark_NativeEmbedVisibilityInfo nativeEmbedVisibilityInfo = NativeEmbedVisibilityInfo_serializer::read(thisDeserializer); + _call(_resourceId, nativeEmbedVisibilityInfo); } -void deserializeAndCallSyncOnNativeLoadCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +void deserializeAndCallSyncOnNativeEmbedVisibilityChangeCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); const Ark_Int32 resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); - const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnNativeLoadCallback)))); - const auto eventTmpBuf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Object eventTmpBuf = {}; - eventTmpBuf.tag = eventTmpBuf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((eventTmpBuf_runtimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - eventTmpBuf.value = static_cast(thisDeserializer.readObject()); - } - Opt_Object event = eventTmpBuf; - callSyncMethod(vmContext, resourceId, event); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnNativeEmbedVisibilityChangeCallback)))); + Ark_NativeEmbedVisibilityInfo nativeEmbedVisibilityInfo = NativeEmbedVisibilityInfo_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, nativeEmbedVisibilityInfo); +} +void deserializeAndCallOnNavigationEntryCommittedCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnNavigationEntryCommittedCallback)))); + thisDeserializer.readPointer(); + Ark_LoadCommittedDetails loadCommittedDetails = LoadCommittedDetails_serializer::read(thisDeserializer); + _call(_resourceId, loadCommittedDetails); +} +void deserializeAndCallSyncOnNavigationEntryCommittedCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnNavigationEntryCommittedCallback)))); + Ark_LoadCommittedDetails loadCommittedDetails = LoadCommittedDetails_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, loadCommittedDetails); +} +void deserializeAndCallOnOverrideUrlLoadingCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnOverrideUrlLoadingCallback)))); + thisDeserializer.readPointer(); + Ark_WebResourceRequest webResourceRequest = static_cast(WebResourceRequest_serializer::read(thisDeserializer)); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + _call(_resourceId, webResourceRequest, continuationResult); +} +void deserializeAndCallSyncOnOverrideUrlLoadingCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnOverrideUrlLoadingCallback)))); + Ark_WebResourceRequest webResourceRequest = static_cast(WebResourceRequest_serializer::read(thisDeserializer)); + Callback_Boolean_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + callSyncMethod(vmContext, resourceId, webResourceRequest, continuationResult); } void deserializeAndCallOnPasteCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { @@ -4516,6 +5400,58 @@ void deserializeAndCallSyncOnRatingChangeCallback(Ark_VMContext vmContext, KSeri Ark_Number rating = static_cast(thisDeserializer.readNumber()); callSyncMethod(vmContext, resourceId, rating); } +void deserializeAndCallOnRenderProcessNotRespondingCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnRenderProcessNotRespondingCallback)))); + thisDeserializer.readPointer(); + Ark_RenderProcessNotRespondingData data = RenderProcessNotRespondingData_serializer::read(thisDeserializer); + _call(_resourceId, data); +} +void deserializeAndCallSyncOnRenderProcessNotRespondingCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnRenderProcessNotRespondingCallback)))); + Ark_RenderProcessNotRespondingData data = RenderProcessNotRespondingData_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, data); +} +void deserializeAndCallOnRenderProcessRespondingCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnRenderProcessRespondingCallback)))); + thisDeserializer.readPointer(); + _call(_resourceId); +} +void deserializeAndCallSyncOnRenderProcessRespondingCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnRenderProcessRespondingCallback)))); + callSyncMethod(vmContext, resourceId); +} +void deserializeAndCallOnSafeBrowsingCheckResultCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnSafeBrowsingCheckResultCallback)))); + thisDeserializer.readPointer(); + Ark_ThreatType threatType = static_cast(thisDeserializer.readInt32()); + _call(_resourceId, threatType); +} +void deserializeAndCallSyncOnSafeBrowsingCheckResultCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnSafeBrowsingCheckResultCallback)))); + Ark_ThreatType threatType = static_cast(thisDeserializer.readInt32()); + callSyncMethod(vmContext, resourceId, threatType); +} void deserializeAndCallOnScrollCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); @@ -4616,6 +5552,24 @@ void deserializeAndCallSyncOnSelectCallback(Ark_VMContext vmContext, KSerializer Ark_String selectStr = static_cast(thisDeserializer.readString()); callSyncMethod(vmContext, resourceId, index, selectStr); } +void deserializeAndCallOnSslErrorEventCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnSslErrorEventCallback)))); + thisDeserializer.readPointer(); + Ark_SslErrorEvent sslErrorEvent = SslErrorEvent_serializer::read(thisDeserializer); + _call(_resourceId, sslErrorEvent); +} +void deserializeAndCallSyncOnSslErrorEventCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnSslErrorEventCallback)))); + Ark_SslErrorEvent sslErrorEvent = SslErrorEvent_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, sslErrorEvent); +} void deserializeAndCallOnSubmitCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); @@ -4916,23 +5870,23 @@ void deserializeAndCallSyncOnTimePickerChangeCallback(Ark_VMContext vmContext, K Ark_TimePickerResult result = TimePickerResult_serializer::read(thisDeserializer); callSyncMethod(vmContext, resourceId, result); } -void deserializeAndCallOnTotalCountFunc(KSerializerBuffer thisArray, Ark_Int32 thisLength) +void deserializeAndCallOnViewportFitChangedCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnTotalCountFunc)))); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnViewportFitChangedCallback)))); thisDeserializer.readPointer(); - Callback_Number_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))}; - _call(_resourceId, continuationResult); + Ark_ViewportFit viewportFit = static_cast(thisDeserializer.readInt32()); + _call(_resourceId, viewportFit); } -void deserializeAndCallSyncOnTotalCountFunc(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +void deserializeAndCallSyncOnViewportFitChangedCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) { DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); const Ark_Int32 resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); - const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnTotalCountFunc)))); - Callback_Number_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))}; - callSyncMethod(vmContext, resourceId, continuationResult); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnViewportFitChangedCallback)))); + Ark_ViewportFit viewportFit = static_cast(thisDeserializer.readInt32()); + callSyncMethod(vmContext, resourceId, viewportFit); } void deserializeAndCallOnWillScrollCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { @@ -5954,6 +6908,44 @@ void deserializeAndCallSyncVoidCallback(Ark_VMContext vmContext, KSerializerBuff const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback)))); callSyncMethod(vmContext, resourceId); } +void deserializeAndCallWebKeyboardCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_WebKeyboardCallback)))); + thisDeserializer.readPointer(); + Ark_WebKeyboardCallbackInfo keyboardCallbackInfo = WebKeyboardCallbackInfo_serializer::read(thisDeserializer); + Callback_WebKeyboardOptions_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_WebKeyboardOptions_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_WebKeyboardOptions_Void))))}; + _call(_resourceId, keyboardCallbackInfo, continuationResult); +} +void deserializeAndCallSyncWebKeyboardCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_WebKeyboardCallback)))); + Ark_WebKeyboardCallbackInfo keyboardCallbackInfo = WebKeyboardCallbackInfo_serializer::read(thisDeserializer); + Callback_WebKeyboardOptions_Void continuationResult = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_WebKeyboardOptions_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_WebKeyboardOptions_Void))))}; + callSyncMethod(vmContext, resourceId, keyboardCallbackInfo, continuationResult); +} +void deserializeAndCallWorkerEventListener(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_WorkerEventListener)))); + thisDeserializer.readPointer(); + Ark_Event event = Event_serializer::read(thisDeserializer); + _call(_resourceId, event); +} +void deserializeAndCallSyncWorkerEventListener(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + DeserializerBase thisDeserializer = DeserializerBase(thisArray, thisLength); + const Ark_Int32 resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto callSyncMethod = reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_WorkerEventListener)))); + Ark_Event event = Event_serializer::read(thisDeserializer); + callSyncMethod(vmContext, resourceId, event); +} void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark_Int32 thisLength) { switch (static_cast(kind)) { @@ -6015,9 +7007,12 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case Kind_Callback_ItemDragInfo_Void: return deserializeAndCallCallback_ItemDragInfo_Void(thisArray, thisLength); case Kind_Callback_KeyEvent_Boolean: return deserializeAndCallCallback_KeyEvent_Boolean(thisArray, thisLength); case Kind_Callback_KeyEvent_Void: return deserializeAndCallCallback_KeyEvent_Void(thisArray, thisLength); - case Kind_Callback_Map_String_Object_Void: return deserializeAndCallCallback_Map_String_Object_Void(thisArray, thisLength); + case Kind_Callback_Map_String_RecordData_Void: return deserializeAndCallCallback_Map_String_RecordData_Void(thisArray, thisLength); case Kind_Callback_MarqueeState_Void: return deserializeAndCallCallback_MarqueeState_Void(thisArray, thisLength); case Kind_Callback_MouseEvent_Void: return deserializeAndCallCallback_MouseEvent_Void(thisArray, thisLength); + case Kind_Callback_NativeEmbedDataInfo_Void: return deserializeAndCallCallback_NativeEmbedDataInfo_Void(thisArray, thisLength); + case Kind_Callback_NativeEmbedTouchInfo_Void: return deserializeAndCallCallback_NativeEmbedTouchInfo_Void(thisArray, thisLength); + case Kind_Callback_NativeXComponentPointer_Void: return deserializeAndCallCallback_NativeXComponentPointer_Void(thisArray, thisLength); case Kind_Callback_NavDestinationActiveReason_Void: return deserializeAndCallCallback_NavDestinationActiveReason_Void(thisArray, thisLength); case Kind_Callback_NavDestinationContext_Void: return deserializeAndCallCallback_NavDestinationContext_Void(thisArray, thisLength); case Kind_Callback_NavDestinationInfo_Void: return deserializeAndCallCallback_NavDestinationInfo_Void(thisArray, thisLength); @@ -6036,9 +7031,45 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case Kind_Callback_Number_Tuple_Number_Number_Number_Number: return deserializeAndCallCallback_Number_Tuple_Number_Number_Number_Number(thisArray, thisLength); case Kind_Callback_Number_Void: return deserializeAndCallCallback_Number_Void(thisArray, thisLength); case Kind_Callback_Object_Void: return deserializeAndCallCallback_Object_Void(thisArray, thisLength); + case Kind_Callback_OnAlertEvent_Boolean: return deserializeAndCallCallback_OnAlertEvent_Boolean(thisArray, thisLength); + case Kind_Callback_OnAudioStateChangedEvent_Void: return deserializeAndCallCallback_OnAudioStateChangedEvent_Void(thisArray, thisLength); + case Kind_Callback_OnBeforeUnloadEvent_Boolean: return deserializeAndCallCallback_OnBeforeUnloadEvent_Boolean(thisArray, thisLength); + case Kind_Callback_OnClientAuthenticationEvent_Void: return deserializeAndCallCallback_OnClientAuthenticationEvent_Void(thisArray, thisLength); + case Kind_Callback_OnConfirmEvent_Boolean: return deserializeAndCallCallback_OnConfirmEvent_Boolean(thisArray, thisLength); + case Kind_Callback_OnConsoleEvent_Boolean: return deserializeAndCallCallback_OnConsoleEvent_Boolean(thisArray, thisLength); + case Kind_Callback_OnContextMenuShowEvent_Boolean: return deserializeAndCallCallback_OnContextMenuShowEvent_Boolean(thisArray, thisLength); + case Kind_Callback_OnDataResubmittedEvent_Void: return deserializeAndCallCallback_OnDataResubmittedEvent_Void(thisArray, thisLength); + case Kind_Callback_OnDownloadStartEvent_Void: return deserializeAndCallCallback_OnDownloadStartEvent_Void(thisArray, thisLength); + case Kind_Callback_OnErrorReceiveEvent_Void: return deserializeAndCallCallback_OnErrorReceiveEvent_Void(thisArray, thisLength); + case Kind_Callback_OnFaviconReceivedEvent_Void: return deserializeAndCallCallback_OnFaviconReceivedEvent_Void(thisArray, thisLength); + case Kind_Callback_OnFirstContentfulPaintEvent_Void: return deserializeAndCallCallback_OnFirstContentfulPaintEvent_Void(thisArray, thisLength); + case Kind_Callback_OnGeolocationShowEvent_Void: return deserializeAndCallCallback_OnGeolocationShowEvent_Void(thisArray, thisLength); + case Kind_Callback_OnHttpAuthRequestEvent_Boolean: return deserializeAndCallCallback_OnHttpAuthRequestEvent_Boolean(thisArray, thisLength); + case Kind_Callback_OnHttpErrorReceiveEvent_Void: return deserializeAndCallCallback_OnHttpErrorReceiveEvent_Void(thisArray, thisLength); + case Kind_Callback_OnInterceptRequestEvent_WebResourceResponse: return deserializeAndCallCallback_OnInterceptRequestEvent_WebResourceResponse(thisArray, thisLength); + case Kind_Callback_OnLoadInterceptEvent_Boolean: return deserializeAndCallCallback_OnLoadInterceptEvent_Boolean(thisArray, thisLength); case Kind_Callback_onMeasureSize_SizeResult: return deserializeAndCallCallback_onMeasureSize_SizeResult(thisArray, thisLength); + case Kind_Callback_OnOverScrollEvent_Void: return deserializeAndCallCallback_OnOverScrollEvent_Void(thisArray, thisLength); + case Kind_Callback_OnPageBeginEvent_Void: return deserializeAndCallCallback_OnPageBeginEvent_Void(thisArray, thisLength); + case Kind_Callback_OnPageEndEvent_Void: return deserializeAndCallCallback_OnPageEndEvent_Void(thisArray, thisLength); + case Kind_Callback_OnPageVisibleEvent_Void: return deserializeAndCallCallback_OnPageVisibleEvent_Void(thisArray, thisLength); + case Kind_Callback_OnPermissionRequestEvent_Void: return deserializeAndCallCallback_OnPermissionRequestEvent_Void(thisArray, thisLength); case Kind_Callback_onPlaceChildren_Void: return deserializeAndCallCallback_onPlaceChildren_Void(thisArray, thisLength); + case Kind_Callback_OnProgressChangeEvent_Void: return deserializeAndCallCallback_OnProgressChangeEvent_Void(thisArray, thisLength); + case Kind_Callback_OnPromptEvent_Boolean: return deserializeAndCallCallback_OnPromptEvent_Boolean(thisArray, thisLength); + case Kind_Callback_OnRefreshAccessedHistoryEvent_Void: return deserializeAndCallCallback_OnRefreshAccessedHistoryEvent_Void(thisArray, thisLength); + case Kind_Callback_OnRenderExitedEvent_Void: return deserializeAndCallCallback_OnRenderExitedEvent_Void(thisArray, thisLength); + case Kind_Callback_OnResourceLoadEvent_Void: return deserializeAndCallCallback_OnResourceLoadEvent_Void(thisArray, thisLength); + case Kind_Callback_OnScaleChangeEvent_Void: return deserializeAndCallCallback_OnScaleChangeEvent_Void(thisArray, thisLength); + case Kind_Callback_OnScreenCaptureRequestEvent_Void: return deserializeAndCallCallback_OnScreenCaptureRequestEvent_Void(thisArray, thisLength); + case Kind_Callback_OnScrollEvent_Void: return deserializeAndCallCallback_OnScrollEvent_Void(thisArray, thisLength); case Kind_Callback_OnScrollFrameBeginHandlerResult_Void: return deserializeAndCallCallback_OnScrollFrameBeginHandlerResult_Void(thisArray, thisLength); + case Kind_Callback_OnSearchResultReceiveEvent_Void: return deserializeAndCallCallback_OnSearchResultReceiveEvent_Void(thisArray, thisLength); + case Kind_Callback_OnShowFileSelectorEvent_Boolean: return deserializeAndCallCallback_OnShowFileSelectorEvent_Boolean(thisArray, thisLength); + case Kind_Callback_OnSslErrorEventReceiveEvent_Void: return deserializeAndCallCallback_OnSslErrorEventReceiveEvent_Void(thisArray, thisLength); + case Kind_Callback_OnTitleReceiveEvent_Void: return deserializeAndCallCallback_OnTitleReceiveEvent_Void(thisArray, thisLength); + case Kind_Callback_OnTouchIconUrlReceivedEvent_Void: return deserializeAndCallCallback_OnTouchIconUrlReceivedEvent_Void(thisArray, thisLength); + case Kind_Callback_OnWindowNewEvent_Void: return deserializeAndCallCallback_OnWindowNewEvent_Void(thisArray, thisLength); case Kind_Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void: return deserializeAndCallCallback_Opt_Array_FontDescriptor_Opt_Array_String_Void(thisArray, thisLength); case Kind_Callback_Opt_Array_NavDestinationTransition_Void: return deserializeAndCallCallback_Opt_Array_NavDestinationTransition_Void(thisArray, thisLength); case Kind_Callback_Opt_Array_String_Opt_Array_String_Void: return deserializeAndCallCallback_Opt_Array_String_Opt_Array_String_Void(thisArray, thisLength); @@ -6107,6 +7138,8 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case Kind_Callback_Union_CustomBuilder_DragItemInfo_Void: return deserializeAndCallCallback_Union_CustomBuilder_DragItemInfo_Void(thisArray, thisLength); case Kind_Callback_Union_Object_Undefined_Void: return deserializeAndCallCallback_Union_Object_Undefined_Void(thisArray, thisLength); case Kind_Callback_Void: return deserializeAndCallCallback_Void(thisArray, thisLength); + case Kind_Callback_WebKeyboardOptions_Void: return deserializeAndCallCallback_WebKeyboardOptions_Void(thisArray, thisLength); + case Kind_Callback_WebResourceResponse_Void: return deserializeAndCallCallback_WebResourceResponse_Void(thisArray, thisLength); case Kind_CheckBoxModifierBuilder: return deserializeAndCallCheckBoxModifierBuilder(thisArray, thisLength); case Kind_ContentDidScrollCallback: return deserializeAndCallContentDidScrollCallback(thisArray, thisLength); case Kind_ContentWillScrollCallback: return deserializeAndCallContentWillScrollCallback(thisArray, thisLength); @@ -6131,32 +7164,43 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case Kind_ModifierKeyStateGetter: return deserializeAndCallModifierKeyStateGetter(thisArray, thisLength); case Kind_NavDestinationTransitionDelegate: return deserializeAndCallNavDestinationTransitionDelegate(thisArray, thisLength); case Kind_NavExtender_OnUpdateStack: return deserializeAndCallNavExtender_OnUpdateStack(thisArray, thisLength); + case Kind_OnAdsBlockedCallback: return deserializeAndCallOnAdsBlockedCallback(thisArray, thisLength); case Kind_OnAlphabetIndexerPopupSelectCallback: return deserializeAndCallOnAlphabetIndexerPopupSelectCallback(thisArray, thisLength); case Kind_OnAlphabetIndexerRequestPopupDataCallback: return deserializeAndCallOnAlphabetIndexerRequestPopupDataCallback(thisArray, thisLength); case Kind_OnAlphabetIndexerSelectCallback: return deserializeAndCallOnAlphabetIndexerSelectCallback(thisArray, thisLength); case Kind_OnCheckboxChangeCallback: return deserializeAndCallOnCheckboxChangeCallback(thisArray, thisLength); case Kind_OnCheckboxGroupChangeCallback: return deserializeAndCallOnCheckboxGroupChangeCallback(thisArray, thisLength); case Kind_OnContentScrollCallback: return deserializeAndCallOnContentScrollCallback(thisArray, thisLength); + case Kind_OnContextMenuHideCallback: return deserializeAndCallOnContextMenuHideCallback(thisArray, thisLength); case Kind_OnCreateMenuCallback: return deserializeAndCallOnCreateMenuCallback(thisArray, thisLength); case Kind_OnDidChangeCallback: return deserializeAndCallOnDidChangeCallback(thisArray, thisLength); case Kind_OnDragEventCallback: return deserializeAndCallOnDragEventCallback(thisArray, thisLength); + case Kind_OnFirstMeaningfulPaintCallback: return deserializeAndCallOnFirstMeaningfulPaintCallback(thisArray, thisLength); case Kind_OnFoldStatusChangeCallback: return deserializeAndCallOnFoldStatusChangeCallback(thisArray, thisLength); + case Kind_OnFullScreenEnterCallback: return deserializeAndCallOnFullScreenEnterCallback(thisArray, thisLength); case Kind_OnHoverCallback: return deserializeAndCallOnHoverCallback(thisArray, thisLength); case Kind_OnHoverStatusChangeCallback: return deserializeAndCallOnHoverStatusChangeCallback(thisArray, thisLength); + case Kind_OnIntelligentTrackingPreventionCallback: return deserializeAndCallOnIntelligentTrackingPreventionCallback(thisArray, thisLength); case Kind_OnItemDragStartCallback: return deserializeAndCallOnItemDragStartCallback(thisArray, thisLength); - case Kind_OnLazyLoadingFunc: return deserializeAndCallOnLazyLoadingFunc(thisArray, thisLength); + case Kind_OnLargestContentfulPaintCallback: return deserializeAndCallOnLargestContentfulPaintCallback(thisArray, thisLength); case Kind_OnLinearIndicatorChangeCallback: return deserializeAndCallOnLinearIndicatorChangeCallback(thisArray, thisLength); case Kind_OnMenuItemClickCallback: return deserializeAndCallOnMenuItemClickCallback(thisArray, thisLength); case Kind_OnMoveHandler: return deserializeAndCallOnMoveHandler(thisArray, thisLength); - case Kind_OnNativeLoadCallback: return deserializeAndCallOnNativeLoadCallback(thisArray, thisLength); + case Kind_OnNativeEmbedVisibilityChangeCallback: return deserializeAndCallOnNativeEmbedVisibilityChangeCallback(thisArray, thisLength); + case Kind_OnNavigationEntryCommittedCallback: return deserializeAndCallOnNavigationEntryCommittedCallback(thisArray, thisLength); + case Kind_OnOverrideUrlLoadingCallback: return deserializeAndCallOnOverrideUrlLoadingCallback(thisArray, thisLength); case Kind_OnPasteCallback: return deserializeAndCallOnPasteCallback(thisArray, thisLength); case Kind_OnRadioChangeCallback: return deserializeAndCallOnRadioChangeCallback(thisArray, thisLength); case Kind_OnRatingChangeCallback: return deserializeAndCallOnRatingChangeCallback(thisArray, thisLength); + case Kind_OnRenderProcessNotRespondingCallback: return deserializeAndCallOnRenderProcessNotRespondingCallback(thisArray, thisLength); + case Kind_OnRenderProcessRespondingCallback: return deserializeAndCallOnRenderProcessRespondingCallback(thisArray, thisLength); + case Kind_OnSafeBrowsingCheckResultCallback: return deserializeAndCallOnSafeBrowsingCheckResultCallback(thisArray, thisLength); case Kind_OnScrollCallback: return deserializeAndCallOnScrollCallback(thisArray, thisLength); case Kind_OnScrollEdgeCallback: return deserializeAndCallOnScrollEdgeCallback(thisArray, thisLength); case Kind_OnScrollFrameBeginCallback: return deserializeAndCallOnScrollFrameBeginCallback(thisArray, thisLength); case Kind_OnScrollVisibleContentChangeCallback: return deserializeAndCallOnScrollVisibleContentChangeCallback(thisArray, thisLength); case Kind_OnSelectCallback: return deserializeAndCallOnSelectCallback(thisArray, thisLength); + case Kind_OnSslErrorEventCallback: return deserializeAndCallOnSslErrorEventCallback(thisArray, thisLength); case Kind_OnSubmitCallback: return deserializeAndCallOnSubmitCallback(thisArray, thisLength); case Kind_OnSwiperAnimationEndCallback: return deserializeAndCallOnSwiperAnimationEndCallback(thisArray, thisLength); case Kind_OnSwiperAnimationStartCallback: return deserializeAndCallOnSwiperAnimationStartCallback(thisArray, thisLength); @@ -6168,7 +7212,7 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case Kind_OnTextPickerChangeCallback: return deserializeAndCallOnTextPickerChangeCallback(thisArray, thisLength); case Kind_OnTextSelectionChangeCallback: return deserializeAndCallOnTextSelectionChangeCallback(thisArray, thisLength); case Kind_OnTimePickerChangeCallback: return deserializeAndCallOnTimePickerChangeCallback(thisArray, thisLength); - case Kind_OnTotalCountFunc: return deserializeAndCallOnTotalCountFunc(thisArray, thisLength); + case Kind_OnViewportFitChangedCallback: return deserializeAndCallOnViewportFitChangedCallback(thisArray, thisLength); case Kind_OnWillScrollCallback: return deserializeAndCallOnWillScrollCallback(thisArray, thisLength); case Kind_PageMapBuilder: return deserializeAndCallPageMapBuilder(thisArray, thisLength); case Kind_PageTransitionCallback: return deserializeAndCallPageTransitionCallback(thisArray, thisLength); @@ -6207,6 +7251,8 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case Kind_UpdateTransitionCallback: return deserializeAndCallUpdateTransitionCallback(thisArray, thisLength); case Kind_VisibleAreaChangeCallback: return deserializeAndCallVisibleAreaChangeCallback(thisArray, thisLength); case Kind_VoidCallback: return deserializeAndCallVoidCallback(thisArray, thisLength); + case Kind_WebKeyboardCallback: return deserializeAndCallWebKeyboardCallback(thisArray, thisLength); + case Kind_WorkerEventListener: return deserializeAndCallWorkerEventListener(thisArray, thisLength); } INTEROP_FATAL("Unknown callback kind"); } @@ -6272,9 +7318,12 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case Kind_Callback_ItemDragInfo_Void: return deserializeAndCallSyncCallback_ItemDragInfo_Void(vmContext, thisArray, thisLength); case Kind_Callback_KeyEvent_Boolean: return deserializeAndCallSyncCallback_KeyEvent_Boolean(vmContext, thisArray, thisLength); case Kind_Callback_KeyEvent_Void: return deserializeAndCallSyncCallback_KeyEvent_Void(vmContext, thisArray, thisLength); - case Kind_Callback_Map_String_Object_Void: return deserializeAndCallSyncCallback_Map_String_Object_Void(vmContext, thisArray, thisLength); + case Kind_Callback_Map_String_RecordData_Void: return deserializeAndCallSyncCallback_Map_String_RecordData_Void(vmContext, thisArray, thisLength); case Kind_Callback_MarqueeState_Void: return deserializeAndCallSyncCallback_MarqueeState_Void(vmContext, thisArray, thisLength); case Kind_Callback_MouseEvent_Void: return deserializeAndCallSyncCallback_MouseEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_NativeEmbedDataInfo_Void: return deserializeAndCallSyncCallback_NativeEmbedDataInfo_Void(vmContext, thisArray, thisLength); + case Kind_Callback_NativeEmbedTouchInfo_Void: return deserializeAndCallSyncCallback_NativeEmbedTouchInfo_Void(vmContext, thisArray, thisLength); + case Kind_Callback_NativeXComponentPointer_Void: return deserializeAndCallSyncCallback_NativeXComponentPointer_Void(vmContext, thisArray, thisLength); case Kind_Callback_NavDestinationActiveReason_Void: return deserializeAndCallSyncCallback_NavDestinationActiveReason_Void(vmContext, thisArray, thisLength); case Kind_Callback_NavDestinationContext_Void: return deserializeAndCallSyncCallback_NavDestinationContext_Void(vmContext, thisArray, thisLength); case Kind_Callback_NavDestinationInfo_Void: return deserializeAndCallSyncCallback_NavDestinationInfo_Void(vmContext, thisArray, thisLength); @@ -6293,9 +7342,45 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case Kind_Callback_Number_Tuple_Number_Number_Number_Number: return deserializeAndCallSyncCallback_Number_Tuple_Number_Number_Number_Number(vmContext, thisArray, thisLength); case Kind_Callback_Number_Void: return deserializeAndCallSyncCallback_Number_Void(vmContext, thisArray, thisLength); case Kind_Callback_Object_Void: return deserializeAndCallSyncCallback_Object_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnAlertEvent_Boolean: return deserializeAndCallSyncCallback_OnAlertEvent_Boolean(vmContext, thisArray, thisLength); + case Kind_Callback_OnAudioStateChangedEvent_Void: return deserializeAndCallSyncCallback_OnAudioStateChangedEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnBeforeUnloadEvent_Boolean: return deserializeAndCallSyncCallback_OnBeforeUnloadEvent_Boolean(vmContext, thisArray, thisLength); + case Kind_Callback_OnClientAuthenticationEvent_Void: return deserializeAndCallSyncCallback_OnClientAuthenticationEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnConfirmEvent_Boolean: return deserializeAndCallSyncCallback_OnConfirmEvent_Boolean(vmContext, thisArray, thisLength); + case Kind_Callback_OnConsoleEvent_Boolean: return deserializeAndCallSyncCallback_OnConsoleEvent_Boolean(vmContext, thisArray, thisLength); + case Kind_Callback_OnContextMenuShowEvent_Boolean: return deserializeAndCallSyncCallback_OnContextMenuShowEvent_Boolean(vmContext, thisArray, thisLength); + case Kind_Callback_OnDataResubmittedEvent_Void: return deserializeAndCallSyncCallback_OnDataResubmittedEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnDownloadStartEvent_Void: return deserializeAndCallSyncCallback_OnDownloadStartEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnErrorReceiveEvent_Void: return deserializeAndCallSyncCallback_OnErrorReceiveEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnFaviconReceivedEvent_Void: return deserializeAndCallSyncCallback_OnFaviconReceivedEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnFirstContentfulPaintEvent_Void: return deserializeAndCallSyncCallback_OnFirstContentfulPaintEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnGeolocationShowEvent_Void: return deserializeAndCallSyncCallback_OnGeolocationShowEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnHttpAuthRequestEvent_Boolean: return deserializeAndCallSyncCallback_OnHttpAuthRequestEvent_Boolean(vmContext, thisArray, thisLength); + case Kind_Callback_OnHttpErrorReceiveEvent_Void: return deserializeAndCallSyncCallback_OnHttpErrorReceiveEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnInterceptRequestEvent_WebResourceResponse: return deserializeAndCallSyncCallback_OnInterceptRequestEvent_WebResourceResponse(vmContext, thisArray, thisLength); + case Kind_Callback_OnLoadInterceptEvent_Boolean: return deserializeAndCallSyncCallback_OnLoadInterceptEvent_Boolean(vmContext, thisArray, thisLength); case Kind_Callback_onMeasureSize_SizeResult: return deserializeAndCallSyncCallback_onMeasureSize_SizeResult(vmContext, thisArray, thisLength); + case Kind_Callback_OnOverScrollEvent_Void: return deserializeAndCallSyncCallback_OnOverScrollEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnPageBeginEvent_Void: return deserializeAndCallSyncCallback_OnPageBeginEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnPageEndEvent_Void: return deserializeAndCallSyncCallback_OnPageEndEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnPageVisibleEvent_Void: return deserializeAndCallSyncCallback_OnPageVisibleEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnPermissionRequestEvent_Void: return deserializeAndCallSyncCallback_OnPermissionRequestEvent_Void(vmContext, thisArray, thisLength); case Kind_Callback_onPlaceChildren_Void: return deserializeAndCallSyncCallback_onPlaceChildren_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnProgressChangeEvent_Void: return deserializeAndCallSyncCallback_OnProgressChangeEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnPromptEvent_Boolean: return deserializeAndCallSyncCallback_OnPromptEvent_Boolean(vmContext, thisArray, thisLength); + case Kind_Callback_OnRefreshAccessedHistoryEvent_Void: return deserializeAndCallSyncCallback_OnRefreshAccessedHistoryEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnRenderExitedEvent_Void: return deserializeAndCallSyncCallback_OnRenderExitedEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnResourceLoadEvent_Void: return deserializeAndCallSyncCallback_OnResourceLoadEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnScaleChangeEvent_Void: return deserializeAndCallSyncCallback_OnScaleChangeEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnScreenCaptureRequestEvent_Void: return deserializeAndCallSyncCallback_OnScreenCaptureRequestEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnScrollEvent_Void: return deserializeAndCallSyncCallback_OnScrollEvent_Void(vmContext, thisArray, thisLength); case Kind_Callback_OnScrollFrameBeginHandlerResult_Void: return deserializeAndCallSyncCallback_OnScrollFrameBeginHandlerResult_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnSearchResultReceiveEvent_Void: return deserializeAndCallSyncCallback_OnSearchResultReceiveEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnShowFileSelectorEvent_Boolean: return deserializeAndCallSyncCallback_OnShowFileSelectorEvent_Boolean(vmContext, thisArray, thisLength); + case Kind_Callback_OnSslErrorEventReceiveEvent_Void: return deserializeAndCallSyncCallback_OnSslErrorEventReceiveEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnTitleReceiveEvent_Void: return deserializeAndCallSyncCallback_OnTitleReceiveEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnTouchIconUrlReceivedEvent_Void: return deserializeAndCallSyncCallback_OnTouchIconUrlReceivedEvent_Void(vmContext, thisArray, thisLength); + case Kind_Callback_OnWindowNewEvent_Void: return deserializeAndCallSyncCallback_OnWindowNewEvent_Void(vmContext, thisArray, thisLength); case Kind_Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void: return deserializeAndCallSyncCallback_Opt_Array_FontDescriptor_Opt_Array_String_Void(vmContext, thisArray, thisLength); case Kind_Callback_Opt_Array_NavDestinationTransition_Void: return deserializeAndCallSyncCallback_Opt_Array_NavDestinationTransition_Void(vmContext, thisArray, thisLength); case Kind_Callback_Opt_Array_String_Opt_Array_String_Void: return deserializeAndCallSyncCallback_Opt_Array_String_Opt_Array_String_Void(vmContext, thisArray, thisLength); @@ -6364,6 +7449,8 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case Kind_Callback_Union_CustomBuilder_DragItemInfo_Void: return deserializeAndCallSyncCallback_Union_CustomBuilder_DragItemInfo_Void(vmContext, thisArray, thisLength); case Kind_Callback_Union_Object_Undefined_Void: return deserializeAndCallSyncCallback_Union_Object_Undefined_Void(vmContext, thisArray, thisLength); case Kind_Callback_Void: return deserializeAndCallSyncCallback_Void(vmContext, thisArray, thisLength); + case Kind_Callback_WebKeyboardOptions_Void: return deserializeAndCallSyncCallback_WebKeyboardOptions_Void(vmContext, thisArray, thisLength); + case Kind_Callback_WebResourceResponse_Void: return deserializeAndCallSyncCallback_WebResourceResponse_Void(vmContext, thisArray, thisLength); case Kind_CheckBoxModifierBuilder: return deserializeAndCallSyncCheckBoxModifierBuilder(vmContext, thisArray, thisLength); case Kind_ContentDidScrollCallback: return deserializeAndCallSyncContentDidScrollCallback(vmContext, thisArray, thisLength); case Kind_ContentWillScrollCallback: return deserializeAndCallSyncContentWillScrollCallback(vmContext, thisArray, thisLength); @@ -6388,32 +7475,43 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case Kind_ModifierKeyStateGetter: return deserializeAndCallSyncModifierKeyStateGetter(vmContext, thisArray, thisLength); case Kind_NavDestinationTransitionDelegate: return deserializeAndCallSyncNavDestinationTransitionDelegate(vmContext, thisArray, thisLength); case Kind_NavExtender_OnUpdateStack: return deserializeAndCallSyncNavExtender_OnUpdateStack(vmContext, thisArray, thisLength); + case Kind_OnAdsBlockedCallback: return deserializeAndCallSyncOnAdsBlockedCallback(vmContext, thisArray, thisLength); case Kind_OnAlphabetIndexerPopupSelectCallback: return deserializeAndCallSyncOnAlphabetIndexerPopupSelectCallback(vmContext, thisArray, thisLength); case Kind_OnAlphabetIndexerRequestPopupDataCallback: return deserializeAndCallSyncOnAlphabetIndexerRequestPopupDataCallback(vmContext, thisArray, thisLength); case Kind_OnAlphabetIndexerSelectCallback: return deserializeAndCallSyncOnAlphabetIndexerSelectCallback(vmContext, thisArray, thisLength); case Kind_OnCheckboxChangeCallback: return deserializeAndCallSyncOnCheckboxChangeCallback(vmContext, thisArray, thisLength); case Kind_OnCheckboxGroupChangeCallback: return deserializeAndCallSyncOnCheckboxGroupChangeCallback(vmContext, thisArray, thisLength); case Kind_OnContentScrollCallback: return deserializeAndCallSyncOnContentScrollCallback(vmContext, thisArray, thisLength); + case Kind_OnContextMenuHideCallback: return deserializeAndCallSyncOnContextMenuHideCallback(vmContext, thisArray, thisLength); case Kind_OnCreateMenuCallback: return deserializeAndCallSyncOnCreateMenuCallback(vmContext, thisArray, thisLength); case Kind_OnDidChangeCallback: return deserializeAndCallSyncOnDidChangeCallback(vmContext, thisArray, thisLength); case Kind_OnDragEventCallback: return deserializeAndCallSyncOnDragEventCallback(vmContext, thisArray, thisLength); + case Kind_OnFirstMeaningfulPaintCallback: return deserializeAndCallSyncOnFirstMeaningfulPaintCallback(vmContext, thisArray, thisLength); case Kind_OnFoldStatusChangeCallback: return deserializeAndCallSyncOnFoldStatusChangeCallback(vmContext, thisArray, thisLength); + case Kind_OnFullScreenEnterCallback: return deserializeAndCallSyncOnFullScreenEnterCallback(vmContext, thisArray, thisLength); case Kind_OnHoverCallback: return deserializeAndCallSyncOnHoverCallback(vmContext, thisArray, thisLength); case Kind_OnHoverStatusChangeCallback: return deserializeAndCallSyncOnHoverStatusChangeCallback(vmContext, thisArray, thisLength); + case Kind_OnIntelligentTrackingPreventionCallback: return deserializeAndCallSyncOnIntelligentTrackingPreventionCallback(vmContext, thisArray, thisLength); case Kind_OnItemDragStartCallback: return deserializeAndCallSyncOnItemDragStartCallback(vmContext, thisArray, thisLength); - case Kind_OnLazyLoadingFunc: return deserializeAndCallSyncOnLazyLoadingFunc(vmContext, thisArray, thisLength); + case Kind_OnLargestContentfulPaintCallback: return deserializeAndCallSyncOnLargestContentfulPaintCallback(vmContext, thisArray, thisLength); case Kind_OnLinearIndicatorChangeCallback: return deserializeAndCallSyncOnLinearIndicatorChangeCallback(vmContext, thisArray, thisLength); case Kind_OnMenuItemClickCallback: return deserializeAndCallSyncOnMenuItemClickCallback(vmContext, thisArray, thisLength); case Kind_OnMoveHandler: return deserializeAndCallSyncOnMoveHandler(vmContext, thisArray, thisLength); - case Kind_OnNativeLoadCallback: return deserializeAndCallSyncOnNativeLoadCallback(vmContext, thisArray, thisLength); + case Kind_OnNativeEmbedVisibilityChangeCallback: return deserializeAndCallSyncOnNativeEmbedVisibilityChangeCallback(vmContext, thisArray, thisLength); + case Kind_OnNavigationEntryCommittedCallback: return deserializeAndCallSyncOnNavigationEntryCommittedCallback(vmContext, thisArray, thisLength); + case Kind_OnOverrideUrlLoadingCallback: return deserializeAndCallSyncOnOverrideUrlLoadingCallback(vmContext, thisArray, thisLength); case Kind_OnPasteCallback: return deserializeAndCallSyncOnPasteCallback(vmContext, thisArray, thisLength); case Kind_OnRadioChangeCallback: return deserializeAndCallSyncOnRadioChangeCallback(vmContext, thisArray, thisLength); case Kind_OnRatingChangeCallback: return deserializeAndCallSyncOnRatingChangeCallback(vmContext, thisArray, thisLength); + case Kind_OnRenderProcessNotRespondingCallback: return deserializeAndCallSyncOnRenderProcessNotRespondingCallback(vmContext, thisArray, thisLength); + case Kind_OnRenderProcessRespondingCallback: return deserializeAndCallSyncOnRenderProcessRespondingCallback(vmContext, thisArray, thisLength); + case Kind_OnSafeBrowsingCheckResultCallback: return deserializeAndCallSyncOnSafeBrowsingCheckResultCallback(vmContext, thisArray, thisLength); case Kind_OnScrollCallback: return deserializeAndCallSyncOnScrollCallback(vmContext, thisArray, thisLength); case Kind_OnScrollEdgeCallback: return deserializeAndCallSyncOnScrollEdgeCallback(vmContext, thisArray, thisLength); case Kind_OnScrollFrameBeginCallback: return deserializeAndCallSyncOnScrollFrameBeginCallback(vmContext, thisArray, thisLength); case Kind_OnScrollVisibleContentChangeCallback: return deserializeAndCallSyncOnScrollVisibleContentChangeCallback(vmContext, thisArray, thisLength); case Kind_OnSelectCallback: return deserializeAndCallSyncOnSelectCallback(vmContext, thisArray, thisLength); + case Kind_OnSslErrorEventCallback: return deserializeAndCallSyncOnSslErrorEventCallback(vmContext, thisArray, thisLength); case Kind_OnSubmitCallback: return deserializeAndCallSyncOnSubmitCallback(vmContext, thisArray, thisLength); case Kind_OnSwiperAnimationEndCallback: return deserializeAndCallSyncOnSwiperAnimationEndCallback(vmContext, thisArray, thisLength); case Kind_OnSwiperAnimationStartCallback: return deserializeAndCallSyncOnSwiperAnimationStartCallback(vmContext, thisArray, thisLength); @@ -6425,7 +7523,7 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case Kind_OnTextPickerChangeCallback: return deserializeAndCallSyncOnTextPickerChangeCallback(vmContext, thisArray, thisLength); case Kind_OnTextSelectionChangeCallback: return deserializeAndCallSyncOnTextSelectionChangeCallback(vmContext, thisArray, thisLength); case Kind_OnTimePickerChangeCallback: return deserializeAndCallSyncOnTimePickerChangeCallback(vmContext, thisArray, thisLength); - case Kind_OnTotalCountFunc: return deserializeAndCallSyncOnTotalCountFunc(vmContext, thisArray, thisLength); + case Kind_OnViewportFitChangedCallback: return deserializeAndCallSyncOnViewportFitChangedCallback(vmContext, thisArray, thisLength); case Kind_OnWillScrollCallback: return deserializeAndCallSyncOnWillScrollCallback(vmContext, thisArray, thisLength); case Kind_PageMapBuilder: return deserializeAndCallSyncPageMapBuilder(vmContext, thisArray, thisLength); case Kind_PageTransitionCallback: return deserializeAndCallSyncPageTransitionCallback(vmContext, thisArray, thisLength); @@ -6464,6 +7562,8 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case Kind_UpdateTransitionCallback: return deserializeAndCallSyncUpdateTransitionCallback(vmContext, thisArray, thisLength); case Kind_VisibleAreaChangeCallback: return deserializeAndCallSyncVisibleAreaChangeCallback(vmContext, thisArray, thisLength); case Kind_VoidCallback: return deserializeAndCallSyncVoidCallback(vmContext, thisArray, thisLength); + case Kind_WebKeyboardCallback: return deserializeAndCallSyncWebKeyboardCallback(vmContext, thisArray, thisLength); + case Kind_WorkerEventListener: return deserializeAndCallSyncWorkerEventListener(vmContext, thisArray, thisLength); } INTEROP_FATAL("Unknown callback kind"); } diff --git a/arkoala-arkts/framework/native/src/generated/callback_kind.h b/arkoala-arkts/framework/native/src/generated/callback_kind.h index f467c04c9..88d051495 100644 --- a/arkoala-arkts/framework/native/src/generated/callback_kind.h +++ b/arkoala-arkts/framework/native/src/generated/callback_kind.h @@ -77,9 +77,12 @@ typedef enum CallbackKind { Kind_Callback_ItemDragInfo_Void = 137353252, Kind_Callback_KeyEvent_Boolean = -2061548092, Kind_Callback_KeyEvent_Void = 707696468, - Kind_Callback_Map_String_Object_Void = -1146723341, + Kind_Callback_Map_String_RecordData_Void = -1389599429, Kind_Callback_MarqueeState_Void = -716263454, Kind_Callback_MouseEvent_Void = -1382640094, + Kind_Callback_NativeEmbedDataInfo_Void = 477481563, + Kind_Callback_NativeEmbedTouchInfo_Void = -1090303858, + Kind_Callback_NativeXComponentPointer_Void = -141504638, Kind_Callback_NavDestinationActiveReason_Void = 634825762, Kind_Callback_NavDestinationContext_Void = -1642725259, Kind_Callback_NavDestinationInfo_Void = 605007940, @@ -98,9 +101,45 @@ typedef enum CallbackKind { Kind_Callback_Number_Tuple_Number_Number_Number_Number = 1618565120, Kind_Callback_Number_Void = 36519084, Kind_Callback_Object_Void = -1782529222, + Kind_Callback_OnAlertEvent_Boolean = 806070428, + Kind_Callback_OnAudioStateChangedEvent_Void = -1559789631, + Kind_Callback_OnBeforeUnloadEvent_Boolean = -873162122, + Kind_Callback_OnClientAuthenticationEvent_Void = 608991355, + Kind_Callback_OnConfirmEvent_Boolean = 317864672, + Kind_Callback_OnConsoleEvent_Boolean = 893367077, + Kind_Callback_OnContextMenuShowEvent_Boolean = 332449533, + Kind_Callback_OnDataResubmittedEvent_Void = 118631204, + Kind_Callback_OnDownloadStartEvent_Void = 1834611702, + Kind_Callback_OnErrorReceiveEvent_Void = -1792851375, + Kind_Callback_OnFaviconReceivedEvent_Void = -243916553, + Kind_Callback_OnFirstContentfulPaintEvent_Void = -1852060212, + Kind_Callback_OnGeolocationShowEvent_Void = -941896815, + Kind_Callback_OnHttpAuthRequestEvent_Boolean = 780282803, + Kind_Callback_OnHttpErrorReceiveEvent_Void = -2066745559, + Kind_Callback_OnInterceptRequestEvent_WebResourceResponse = 1442698200, + Kind_Callback_OnLoadInterceptEvent_Boolean = 1231444306, Kind_Callback_onMeasureSize_SizeResult = -1356285653, + Kind_Callback_OnOverScrollEvent_Void = -860386431, + Kind_Callback_OnPageBeginEvent_Void = -2040193994, + Kind_Callback_OnPageEndEvent_Void = -130135362, + Kind_Callback_OnPageVisibleEvent_Void = 1805946367, + Kind_Callback_OnPermissionRequestEvent_Void = 529980696, Kind_Callback_onPlaceChildren_Void = -738620506, + Kind_Callback_OnProgressChangeEvent_Void = 1018740377, + Kind_Callback_OnPromptEvent_Boolean = -1826742986, + Kind_Callback_OnRefreshAccessedHistoryEvent_Void = 1978364344, + Kind_Callback_OnRenderExitedEvent_Void = -1413785559, + Kind_Callback_OnResourceLoadEvent_Void = 793995118, + Kind_Callback_OnScaleChangeEvent_Void = -1782102148, + Kind_Callback_OnScreenCaptureRequestEvent_Void = -1972321573, + Kind_Callback_OnScrollEvent_Void = -172908881, Kind_Callback_OnScrollFrameBeginHandlerResult_Void = 1637092936, + Kind_Callback_OnSearchResultReceiveEvent_Void = -1495570, + Kind_Callback_OnShowFileSelectorEvent_Boolean = -636069598, + Kind_Callback_OnSslErrorEventReceiveEvent_Void = 1624791665, + Kind_Callback_OnTitleReceiveEvent_Void = -318085495, + Kind_Callback_OnTouchIconUrlReceivedEvent_Void = 1657893064, + Kind_Callback_OnWindowNewEvent_Void = -2052382574, Kind_Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void = -296989211, Kind_Callback_Opt_Array_NavDestinationTransition_Void = 406871767, Kind_Callback_Opt_Array_String_Opt_Array_String_Void = 287839344, @@ -169,6 +208,8 @@ typedef enum CallbackKind { Kind_Callback_Union_CustomBuilder_DragItemInfo_Void = -620935067, Kind_Callback_Union_Object_Undefined_Void = 411311059, Kind_Callback_Void = -1867723152, + Kind_Callback_WebKeyboardOptions_Void = -1376223390, + Kind_Callback_WebResourceResponse_Void = 831645046, Kind_CheckBoxModifierBuilder = 1317697111, Kind_ContentDidScrollCallback = 1532328438, Kind_ContentWillScrollCallback = -2146044511, @@ -193,32 +234,43 @@ typedef enum CallbackKind { Kind_ModifierKeyStateGetter = -1026503952, Kind_NavDestinationTransitionDelegate = -1066063065, Kind_NavExtender_OnUpdateStack = -588228933, + Kind_OnAdsBlockedCallback = 1572284740, Kind_OnAlphabetIndexerPopupSelectCallback = 726938390, Kind_OnAlphabetIndexerRequestPopupDataCallback = -1956514817, Kind_OnAlphabetIndexerSelectCallback = -1189721220, Kind_OnCheckboxChangeCallback = -1198592337, Kind_OnCheckboxGroupChangeCallback = -1053064240, Kind_OnContentScrollCallback = -419979106, + Kind_OnContextMenuHideCallback = 1788572278, Kind_OnCreateMenuCallback = 312701677, Kind_OnDidChangeCallback = 1648184341, Kind_OnDragEventCallback = 1451593190, + Kind_OnFirstMeaningfulPaintCallback = 767275770, Kind_OnFoldStatusChangeCallback = 2050387049, + Kind_OnFullScreenEnterCallback = 81230317, Kind_OnHoverCallback = -2025767812, Kind_OnHoverStatusChangeCallback = 9040430, + Kind_OnIntelligentTrackingPreventionCallback = -1377876844, Kind_OnItemDragStartCallback = 949409727, - Kind_OnLazyLoadingFunc = -405536347, + Kind_OnLargestContentfulPaintCallback = 1390640532, Kind_OnLinearIndicatorChangeCallback = -968773856, Kind_OnMenuItemClickCallback = -1106041422, Kind_OnMoveHandler = -1200281222, - Kind_OnNativeLoadCallback = -823037763, + Kind_OnNativeEmbedVisibilityChangeCallback = -1641338704, + Kind_OnNavigationEntryCommittedCallback = -398722176, + Kind_OnOverrideUrlLoadingCallback = 865258467, Kind_OnPasteCallback = 1738363337, Kind_OnRadioChangeCallback = 511412333, Kind_OnRatingChangeCallback = -551895045, + Kind_OnRenderProcessNotRespondingCallback = 47282303, + Kind_OnRenderProcessRespondingCallback = 1334389194, + Kind_OnSafeBrowsingCheckResultCallback = -1099824577, Kind_OnScrollCallback = -160015401, Kind_OnScrollEdgeCallback = -1259214476, Kind_OnScrollFrameBeginCallback = -2133791987, Kind_OnScrollVisibleContentChangeCallback = 625641334, Kind_OnSelectCallback = -1486869198, + Kind_OnSslErrorEventCallback = -399603614, Kind_OnSubmitCallback = -1961646162, Kind_OnSwiperAnimationEndCallback = -143686583, Kind_OnSwiperAnimationStartCallback = 876602502, @@ -230,7 +282,7 @@ typedef enum CallbackKind { Kind_OnTextPickerChangeCallback = -1902343417, Kind_OnTextSelectionChangeCallback = 695228737, Kind_OnTimePickerChangeCallback = 994429103, - Kind_OnTotalCountFunc = 782080172, + Kind_OnViewportFitChangedCallback = 1847083191, Kind_OnWillScrollCallback = 1483622345, Kind_PageMapBuilder = 256377244, Kind_PageTransitionCallback = 1627123591, @@ -269,6 +321,8 @@ typedef enum CallbackKind { Kind_UpdateTransitionCallback = -448105339, Kind_VisibleAreaChangeCallback = 541663396, Kind_VoidCallback = -2038961969, + Kind_WebKeyboardCallback = -1829763354, + Kind_WorkerEventListener = 27710614, } CallbackKind; #endif diff --git a/arkoala-arkts/framework/native/src/generated/callback_managed_caller.cc b/arkoala-arkts/framework/native/src/generated/callback_managed_caller.cc index 3000c2a20..a5ae36255 100644 --- a/arkoala-arkts/framework/native/src/generated/callback_managed_caller.cc +++ b/arkoala-arkts/framework/native/src/generated/callback_managed_caller.cc @@ -1370,36 +1370,48 @@ void callManagedCallback_KeyEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 re KeyEvent_serializer::write(argsSerializer, event); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_Map_String_Object_Void(Ark_Int32 resourceId, Map_String_Object value0) +void callManagedCallback_Map_String_RecordData_Void(Ark_Int32 resourceId, Map_String_Opt_Object value0) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Map_String_Object_Void); + argsSerializer.writeInt32(Kind_Callback_Map_String_RecordData_Void); argsSerializer.writeInt32(resourceId); argsSerializer.writeInt32(value0.size); for (int32_t i = 0; i < value0.size; i++) { auto value0KeyVar = value0.keys[i]; auto value0ValueVar = value0.values[i]; argsSerializer.writeString(value0KeyVar); - argsSerializer.writeObject(value0ValueVar); + if (runtimeType(value0ValueVar) != INTEROP_RUNTIME_UNDEFINED) { + argsSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto value0ValueVarTmpValue = value0ValueVar.value; + argsSerializer.writeObject(value0ValueVarTmpValue); + } else { + argsSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } } enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_Map_String_Object_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Map_String_Object value0) +void callManagedCallback_Map_String_RecordData_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Map_String_Opt_Object value0) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_Map_String_Object_Void); + argsSerializer.writeInt32(Kind_Callback_Map_String_RecordData_Void); argsSerializer.writeInt32(resourceId); argsSerializer.writeInt32(value0.size); for (int32_t i = 0; i < value0.size; i++) { auto value0KeyVar = value0.keys[i]; auto value0ValueVar = value0.values[i]; argsSerializer.writeString(value0KeyVar); - argsSerializer.writeObject(value0ValueVar); + if (runtimeType(value0ValueVar) != INTEROP_RUNTIME_UNDEFINED) { + argsSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto value0ValueVarTmpValue = value0ValueVar.value; + argsSerializer.writeObject(value0ValueVarTmpValue); + } else { + argsSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } } KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } @@ -1445,6 +1457,69 @@ void callManagedCallback_MouseEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 MouseEvent_serializer::write(argsSerializer, event); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } +void callManagedCallback_NativeEmbedDataInfo_Void(Ark_Int32 resourceId, Ark_NativeEmbedDataInfo event) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_NativeEmbedDataInfo_Void); + argsSerializer.writeInt32(resourceId); + NativeEmbedDataInfo_serializer::write(argsSerializer, event); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_NativeEmbedDataInfo_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_NativeEmbedDataInfo event) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_NativeEmbedDataInfo_Void); + argsSerializer.writeInt32(resourceId); + NativeEmbedDataInfo_serializer::write(argsSerializer, event); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_NativeEmbedTouchInfo_Void(Ark_Int32 resourceId, Ark_NativeEmbedTouchInfo event) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_NativeEmbedTouchInfo_Void); + argsSerializer.writeInt32(resourceId); + NativeEmbedTouchInfo_serializer::write(argsSerializer, event); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_NativeEmbedTouchInfo_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_NativeEmbedTouchInfo event) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_NativeEmbedTouchInfo_Void); + argsSerializer.writeInt32(resourceId); + NativeEmbedTouchInfo_serializer::write(argsSerializer, event); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_NativeXComponentPointer_Void(Ark_Int32 resourceId, Ark_Int64 value0) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_NativeXComponentPointer_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeInt64(value0); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_NativeXComponentPointer_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Int64 value0) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_NativeXComponentPointer_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeInt64(value0); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} void callManagedCallback_NavDestinationActiveReason_Void(Ark_Int32 resourceId, Ark_NavDestinationActiveReason value0) { CallbackBuffer callbackBuffer = {{}, {}}; @@ -1526,448 +1601,1264 @@ void callManagedCallback_NavDestinationSwitchInfo_VoidSync(Ark_VMContext vmConte argsSerializer.writeInt32(10); argsSerializer.writeInt32(Kind_Callback_NavDestinationSwitchInfo_Void); argsSerializer.writeInt32(resourceId); - uiObserver_NavDestinationSwitchInfo_serializer::write(argsSerializer, value0); + uiObserver_NavDestinationSwitchInfo_serializer::write(argsSerializer, value0); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_NavigationMode_Void(Ark_Int32 resourceId, Ark_NavigationMode mode) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_NavigationMode_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeInt32(static_cast(mode)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_NavigationMode_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_NavigationMode mode) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_NavigationMode_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeInt32(static_cast(mode)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_NavigationTitleMode_Void(Ark_Int32 resourceId, Ark_NavigationTitleMode titleMode) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_NavigationTitleMode_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeInt32(static_cast(titleMode)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_NavigationTitleMode_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_NavigationTitleMode titleMode) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_NavigationTitleMode_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeInt32(static_cast(titleMode)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_NavigationTransitionProxy_Void(Ark_Int32 resourceId, Ark_NavigationTransitionProxy transitionProxy) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_NavigationTransitionProxy_Void); + argsSerializer.writeInt32(resourceId); + NavigationTransitionProxy_serializer::write(argsSerializer, transitionProxy); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_NavigationTransitionProxy_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_NavigationTransitionProxy transitionProxy) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_NavigationTransitionProxy_Void); + argsSerializer.writeInt32(resourceId); + NavigationTransitionProxy_serializer::write(argsSerializer, transitionProxy); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_Number_Number(Ark_Int32 resourceId, Ark_Number fraction, Callback_Number_Void continuation) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_Number_Number); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(fraction); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_Number_NumberSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number fraction, Callback_Number_Void continuation) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_Number_Number); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(fraction); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_Number_Number_Boolean(Ark_Int32 resourceId, Ark_Number from, Ark_Number to, Callback_Boolean_Void continuation) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_Number_Number_Boolean); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(from); + argsSerializer.writeNumber(to); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_Number_Number_BooleanSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number from, Ark_Number to, Callback_Boolean_Void continuation) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_Number_Number_Boolean); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(from); + argsSerializer.writeNumber(to); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_Number_Number_Boolean_Boolean(Ark_Int32 resourceId, Ark_Number offset, Ark_Number index, Ark_Boolean leadingEdge, Callback_Boolean_Void continuation) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_Number_Number_Boolean_Boolean); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(offset); + argsSerializer.writeNumber(index); + argsSerializer.writeBoolean(leadingEdge); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_Number_Number_Boolean_BooleanSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number offset, Ark_Number index, Ark_Boolean leadingEdge, Callback_Boolean_Void continuation) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_Number_Number_Boolean_Boolean); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(offset); + argsSerializer.writeNumber(index); + argsSerializer.writeBoolean(leadingEdge); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_Number_Number_ComputedBarAttribute(Ark_Int32 resourceId, Ark_Number index, Ark_Number offset, Callback_ComputedBarAttribute_Void continuation) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_Number_Number_ComputedBarAttribute); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(index); + argsSerializer.writeNumber(offset); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_Number_Number_ComputedBarAttributeSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number index, Ark_Number offset, Callback_ComputedBarAttribute_Void continuation) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_Number_Number_ComputedBarAttribute); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(index); + argsSerializer.writeNumber(offset); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_Number_Number_Number_Void(Ark_Int32 resourceId, Ark_Number start, Ark_Number end, Ark_Number center) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_Number_Number_Number_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(start); + argsSerializer.writeNumber(end); + argsSerializer.writeNumber(center); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_Number_Number_Number_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number start, Ark_Number end, Ark_Number center) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_Number_Number_Number_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(start); + argsSerializer.writeNumber(end); + argsSerializer.writeNumber(center); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_Number_Number_Void(Ark_Int32 resourceId, Ark_Number first, Ark_Number last) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_Number_Number_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(first); + argsSerializer.writeNumber(last); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_Number_Number_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number first, Ark_Number last) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_Number_Number_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(first); + argsSerializer.writeNumber(last); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_Number_SliderChangeMode_Void(Ark_Int32 resourceId, Ark_Number value, Ark_SliderChangeMode mode) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_Number_SliderChangeMode_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(value); + argsSerializer.writeInt32(static_cast(mode)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_Number_SliderChangeMode_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number value, Ark_SliderChangeMode mode) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_Number_SliderChangeMode_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(value); + argsSerializer.writeInt32(static_cast(mode)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_Number_Tuple_Number_Number(Ark_Int32 resourceId, Ark_Number index, Callback_Tuple_Number_Number_Void continuation) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_Number_Tuple_Number_Number); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(index); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_Number_Tuple_Number_NumberSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number index, Callback_Tuple_Number_Number_Void continuation) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_Number_Tuple_Number_Number); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(index); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_Number_Tuple_Number_Number_Number_Number(Ark_Int32 resourceId, Ark_Number index, Callback_Tuple_Number_Number_Number_Number_Void continuation) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_Number_Tuple_Number_Number_Number_Number); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(index); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_Number_Tuple_Number_Number_Number_NumberSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number index, Callback_Tuple_Number_Number_Number_Number_Void continuation) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_Number_Tuple_Number_Number_Number_Number); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(index); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_Number_Void(Ark_Int32 resourceId, Ark_Number value0) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_Number_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(value0); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_Number_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number value0) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_Number_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(value0); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_Object_Void(Ark_Int32 resourceId, Ark_Object value0) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_Object_Void); + argsSerializer.writeInt32(resourceId); + const Ark_CallbackResource arg0Resource = {value0.resource.resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&arg0Resource); + argsSerializer.writeObject(value0); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_Object_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Object value0) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_Object_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeObject(value0); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnAlertEvent_Boolean(Ark_Int32 resourceId, Ark_OnAlertEvent value0, Callback_Boolean_Void continuation) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnAlertEvent_Boolean); + argsSerializer.writeInt32(resourceId); + OnAlertEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnAlertEvent_BooleanSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnAlertEvent value0, Callback_Boolean_Void continuation) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnAlertEvent_Boolean); + argsSerializer.writeInt32(resourceId); + OnAlertEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnAudioStateChangedEvent_Void(Ark_Int32 resourceId, Ark_OnAudioStateChangedEvent value0) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnAudioStateChangedEvent_Void); + argsSerializer.writeInt32(resourceId); + OnAudioStateChangedEvent_serializer::write(argsSerializer, value0); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnAudioStateChangedEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnAudioStateChangedEvent value0) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnAudioStateChangedEvent_Void); + argsSerializer.writeInt32(resourceId); + OnAudioStateChangedEvent_serializer::write(argsSerializer, value0); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnBeforeUnloadEvent_Boolean(Ark_Int32 resourceId, Ark_OnBeforeUnloadEvent value0, Callback_Boolean_Void continuation) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnBeforeUnloadEvent_Boolean); + argsSerializer.writeInt32(resourceId); + OnBeforeUnloadEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnBeforeUnloadEvent_BooleanSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnBeforeUnloadEvent value0, Callback_Boolean_Void continuation) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnBeforeUnloadEvent_Boolean); + argsSerializer.writeInt32(resourceId); + OnBeforeUnloadEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnClientAuthenticationEvent_Void(Ark_Int32 resourceId, Ark_OnClientAuthenticationEvent value0) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnClientAuthenticationEvent_Void); + argsSerializer.writeInt32(resourceId); + OnClientAuthenticationEvent_serializer::write(argsSerializer, value0); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnClientAuthenticationEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnClientAuthenticationEvent value0) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnClientAuthenticationEvent_Void); + argsSerializer.writeInt32(resourceId); + OnClientAuthenticationEvent_serializer::write(argsSerializer, value0); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnConfirmEvent_Boolean(Ark_Int32 resourceId, Ark_OnConfirmEvent value0, Callback_Boolean_Void continuation) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnConfirmEvent_Boolean); + argsSerializer.writeInt32(resourceId); + OnConfirmEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnConfirmEvent_BooleanSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnConfirmEvent value0, Callback_Boolean_Void continuation) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnConfirmEvent_Boolean); + argsSerializer.writeInt32(resourceId); + OnConfirmEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnConsoleEvent_Boolean(Ark_Int32 resourceId, Ark_OnConsoleEvent value0, Callback_Boolean_Void continuation) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnConsoleEvent_Boolean); + argsSerializer.writeInt32(resourceId); + OnConsoleEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnConsoleEvent_BooleanSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnConsoleEvent value0, Callback_Boolean_Void continuation) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnConsoleEvent_Boolean); + argsSerializer.writeInt32(resourceId); + OnConsoleEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnContextMenuShowEvent_Boolean(Ark_Int32 resourceId, Ark_OnContextMenuShowEvent value0, Callback_Boolean_Void continuation) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnContextMenuShowEvent_Boolean); + argsSerializer.writeInt32(resourceId); + OnContextMenuShowEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnContextMenuShowEvent_BooleanSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnContextMenuShowEvent value0, Callback_Boolean_Void continuation) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnContextMenuShowEvent_Boolean); + argsSerializer.writeInt32(resourceId); + OnContextMenuShowEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnDataResubmittedEvent_Void(Ark_Int32 resourceId, Ark_OnDataResubmittedEvent value0) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnDataResubmittedEvent_Void); + argsSerializer.writeInt32(resourceId); + OnDataResubmittedEvent_serializer::write(argsSerializer, value0); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnDataResubmittedEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnDataResubmittedEvent value0) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnDataResubmittedEvent_Void); + argsSerializer.writeInt32(resourceId); + OnDataResubmittedEvent_serializer::write(argsSerializer, value0); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnDownloadStartEvent_Void(Ark_Int32 resourceId, Ark_OnDownloadStartEvent value0) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnDownloadStartEvent_Void); + argsSerializer.writeInt32(resourceId); + OnDownloadStartEvent_serializer::write(argsSerializer, value0); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnDownloadStartEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnDownloadStartEvent value0) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnDownloadStartEvent_Void); + argsSerializer.writeInt32(resourceId); + OnDownloadStartEvent_serializer::write(argsSerializer, value0); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnErrorReceiveEvent_Void(Ark_Int32 resourceId, Ark_OnErrorReceiveEvent value0) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnErrorReceiveEvent_Void); + argsSerializer.writeInt32(resourceId); + OnErrorReceiveEvent_serializer::write(argsSerializer, value0); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnErrorReceiveEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnErrorReceiveEvent value0) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnErrorReceiveEvent_Void); + argsSerializer.writeInt32(resourceId); + OnErrorReceiveEvent_serializer::write(argsSerializer, value0); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnFaviconReceivedEvent_Void(Ark_Int32 resourceId, Ark_OnFaviconReceivedEvent value0) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnFaviconReceivedEvent_Void); + argsSerializer.writeInt32(resourceId); + OnFaviconReceivedEvent_serializer::write(argsSerializer, value0); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnFaviconReceivedEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnFaviconReceivedEvent value0) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnFaviconReceivedEvent_Void); + argsSerializer.writeInt32(resourceId); + OnFaviconReceivedEvent_serializer::write(argsSerializer, value0); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnFirstContentfulPaintEvent_Void(Ark_Int32 resourceId, Ark_OnFirstContentfulPaintEvent value0) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnFirstContentfulPaintEvent_Void); + argsSerializer.writeInt32(resourceId); + OnFirstContentfulPaintEvent_serializer::write(argsSerializer, value0); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnFirstContentfulPaintEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnFirstContentfulPaintEvent value0) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnFirstContentfulPaintEvent_Void); + argsSerializer.writeInt32(resourceId); + OnFirstContentfulPaintEvent_serializer::write(argsSerializer, value0); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnGeolocationShowEvent_Void(Ark_Int32 resourceId, Ark_OnGeolocationShowEvent value0) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnGeolocationShowEvent_Void); + argsSerializer.writeInt32(resourceId); + OnGeolocationShowEvent_serializer::write(argsSerializer, value0); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnGeolocationShowEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnGeolocationShowEvent value0) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnGeolocationShowEvent_Void); + argsSerializer.writeInt32(resourceId); + OnGeolocationShowEvent_serializer::write(argsSerializer, value0); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnHttpAuthRequestEvent_Boolean(Ark_Int32 resourceId, Ark_OnHttpAuthRequestEvent value0, Callback_Boolean_Void continuation) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnHttpAuthRequestEvent_Boolean); + argsSerializer.writeInt32(resourceId); + OnHttpAuthRequestEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnHttpAuthRequestEvent_BooleanSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnHttpAuthRequestEvent value0, Callback_Boolean_Void continuation) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnHttpAuthRequestEvent_Boolean); + argsSerializer.writeInt32(resourceId); + OnHttpAuthRequestEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnHttpErrorReceiveEvent_Void(Ark_Int32 resourceId, Ark_OnHttpErrorReceiveEvent value0) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnHttpErrorReceiveEvent_Void); + argsSerializer.writeInt32(resourceId); + OnHttpErrorReceiveEvent_serializer::write(argsSerializer, value0); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnHttpErrorReceiveEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnHttpErrorReceiveEvent value0) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnHttpErrorReceiveEvent_Void); + argsSerializer.writeInt32(resourceId); + OnHttpErrorReceiveEvent_serializer::write(argsSerializer, value0); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnInterceptRequestEvent_WebResourceResponse(Ark_Int32 resourceId, Ark_OnInterceptRequestEvent value0, Callback_WebResourceResponse_Void continuation) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnInterceptRequestEvent_WebResourceResponse); + argsSerializer.writeInt32(resourceId); + OnInterceptRequestEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnInterceptRequestEvent_WebResourceResponseSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnInterceptRequestEvent value0, Callback_WebResourceResponse_Void continuation) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnInterceptRequestEvent_WebResourceResponse); + argsSerializer.writeInt32(resourceId); + OnInterceptRequestEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnLoadInterceptEvent_Boolean(Ark_Int32 resourceId, Ark_OnLoadInterceptEvent value0, Callback_Boolean_Void continuation) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnLoadInterceptEvent_Boolean); + argsSerializer.writeInt32(resourceId); + OnLoadInterceptEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnLoadInterceptEvent_BooleanSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnLoadInterceptEvent value0, Callback_Boolean_Void continuation) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnLoadInterceptEvent_Boolean); + argsSerializer.writeInt32(resourceId); + OnLoadInterceptEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_onMeasureSize_SizeResult(Ark_Int32 resourceId, Ark_GeometryInfo selfLayoutInfo, Array_Measurable children, Ark_ConstraintSizeOptions constraint, Callback_SizeResult_Void continuation) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_onMeasureSize_SizeResult); + argsSerializer.writeInt32(resourceId); + GeometryInfo_serializer::write(argsSerializer, selfLayoutInfo); + argsSerializer.writeInt32(children.length); + for (int childrenCounterI = 0; childrenCounterI < children.length; childrenCounterI++) { + const Ark_Measurable childrenTmpElement = children.array[childrenCounterI]; + Measurable_serializer::write(argsSerializer, childrenTmpElement); + } + ConstraintSizeOptions_serializer::write(argsSerializer, constraint); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_onMeasureSize_SizeResultSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_GeometryInfo selfLayoutInfo, Array_Measurable children, Ark_ConstraintSizeOptions constraint, Callback_SizeResult_Void continuation) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_onMeasureSize_SizeResult); + argsSerializer.writeInt32(resourceId); + GeometryInfo_serializer::write(argsSerializer, selfLayoutInfo); + argsSerializer.writeInt32(children.length); + for (int childrenCounterI = 0; childrenCounterI < children.length; childrenCounterI++) { + const Ark_Measurable childrenTmpElement = children.array[childrenCounterI]; + Measurable_serializer::write(argsSerializer, childrenTmpElement); + } + ConstraintSizeOptions_serializer::write(argsSerializer, constraint); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnOverScrollEvent_Void(Ark_Int32 resourceId, Ark_OnOverScrollEvent value0) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnOverScrollEvent_Void); + argsSerializer.writeInt32(resourceId); + OnOverScrollEvent_serializer::write(argsSerializer, value0); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnOverScrollEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnOverScrollEvent value0) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnOverScrollEvent_Void); + argsSerializer.writeInt32(resourceId); + OnOverScrollEvent_serializer::write(argsSerializer, value0); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnPageBeginEvent_Void(Ark_Int32 resourceId, Ark_OnPageBeginEvent value0) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnPageBeginEvent_Void); + argsSerializer.writeInt32(resourceId); + OnPageBeginEvent_serializer::write(argsSerializer, value0); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnPageBeginEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnPageBeginEvent value0) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnPageBeginEvent_Void); + argsSerializer.writeInt32(resourceId); + OnPageBeginEvent_serializer::write(argsSerializer, value0); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnPageEndEvent_Void(Ark_Int32 resourceId, Ark_OnPageEndEvent value0) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnPageEndEvent_Void); + argsSerializer.writeInt32(resourceId); + OnPageEndEvent_serializer::write(argsSerializer, value0); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnPageEndEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnPageEndEvent value0) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnPageEndEvent_Void); + argsSerializer.writeInt32(resourceId); + OnPageEndEvent_serializer::write(argsSerializer, value0); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_OnPageVisibleEvent_Void(Ark_Int32 resourceId, Ark_OnPageVisibleEvent value0) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_OnPageVisibleEvent_Void); + argsSerializer.writeInt32(resourceId); + OnPageVisibleEvent_serializer::write(argsSerializer, value0); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_OnPageVisibleEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnPageVisibleEvent value0) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_OnPageVisibleEvent_Void); + argsSerializer.writeInt32(resourceId); + OnPageVisibleEvent_serializer::write(argsSerializer, value0); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_NavigationMode_Void(Ark_Int32 resourceId, Ark_NavigationMode mode) +void callManagedCallback_OnPermissionRequestEvent_Void(Ark_Int32 resourceId, Ark_OnPermissionRequestEvent value0) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_NavigationMode_Void); + argsSerializer.writeInt32(Kind_Callback_OnPermissionRequestEvent_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeInt32(static_cast(mode)); + OnPermissionRequestEvent_serializer::write(argsSerializer, value0); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_NavigationMode_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_NavigationMode mode) +void callManagedCallback_OnPermissionRequestEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnPermissionRequestEvent value0) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_NavigationMode_Void); + argsSerializer.writeInt32(Kind_Callback_OnPermissionRequestEvent_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeInt32(static_cast(mode)); + OnPermissionRequestEvent_serializer::write(argsSerializer, value0); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_NavigationTitleMode_Void(Ark_Int32 resourceId, Ark_NavigationTitleMode titleMode) +void callManagedCallback_onPlaceChildren_Void(Ark_Int32 resourceId, Ark_GeometryInfo selfLayoutInfo, Array_Layoutable children, Ark_ConstraintSizeOptions constraint) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_NavigationTitleMode_Void); + argsSerializer.writeInt32(Kind_Callback_onPlaceChildren_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeInt32(static_cast(titleMode)); + GeometryInfo_serializer::write(argsSerializer, selfLayoutInfo); + argsSerializer.writeInt32(children.length); + for (int childrenCounterI = 0; childrenCounterI < children.length; childrenCounterI++) { + const Ark_Layoutable childrenTmpElement = children.array[childrenCounterI]; + Layoutable_serializer::write(argsSerializer, childrenTmpElement); + } + ConstraintSizeOptions_serializer::write(argsSerializer, constraint); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_NavigationTitleMode_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_NavigationTitleMode titleMode) +void callManagedCallback_onPlaceChildren_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_GeometryInfo selfLayoutInfo, Array_Layoutable children, Ark_ConstraintSizeOptions constraint) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_NavigationTitleMode_Void); + argsSerializer.writeInt32(Kind_Callback_onPlaceChildren_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeInt32(static_cast(titleMode)); + GeometryInfo_serializer::write(argsSerializer, selfLayoutInfo); + argsSerializer.writeInt32(children.length); + for (int childrenCounterI = 0; childrenCounterI < children.length; childrenCounterI++) { + const Ark_Layoutable childrenTmpElement = children.array[childrenCounterI]; + Layoutable_serializer::write(argsSerializer, childrenTmpElement); + } + ConstraintSizeOptions_serializer::write(argsSerializer, constraint); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_NavigationTransitionProxy_Void(Ark_Int32 resourceId, Ark_NavigationTransitionProxy transitionProxy) +void callManagedCallback_OnProgressChangeEvent_Void(Ark_Int32 resourceId, Ark_OnProgressChangeEvent value0) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_NavigationTransitionProxy_Void); + argsSerializer.writeInt32(Kind_Callback_OnProgressChangeEvent_Void); argsSerializer.writeInt32(resourceId); - NavigationTransitionProxy_serializer::write(argsSerializer, transitionProxy); + OnProgressChangeEvent_serializer::write(argsSerializer, value0); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_NavigationTransitionProxy_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_NavigationTransitionProxy transitionProxy) +void callManagedCallback_OnProgressChangeEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnProgressChangeEvent value0) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_NavigationTransitionProxy_Void); + argsSerializer.writeInt32(Kind_Callback_OnProgressChangeEvent_Void); argsSerializer.writeInt32(resourceId); - NavigationTransitionProxy_serializer::write(argsSerializer, transitionProxy); + OnProgressChangeEvent_serializer::write(argsSerializer, value0); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_Number_Number(Ark_Int32 resourceId, Ark_Number fraction, Callback_Number_Void continuation) +void callManagedCallback_OnPromptEvent_Boolean(Ark_Int32 resourceId, Ark_OnPromptEvent value0, Callback_Boolean_Void continuation) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Number_Number); + argsSerializer.writeInt32(Kind_Callback_OnPromptEvent_Boolean); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(fraction); + OnPromptEvent_serializer::write(argsSerializer, value0); argsSerializer.writeCallbackResource(continuation.resource); argsSerializer.writePointer(reinterpret_cast(continuation.call)); argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_Number_NumberSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number fraction, Callback_Number_Void continuation) +void callManagedCallback_OnPromptEvent_BooleanSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnPromptEvent value0, Callback_Boolean_Void continuation) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_Number_Number); + argsSerializer.writeInt32(Kind_Callback_OnPromptEvent_Boolean); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(fraction); + OnPromptEvent_serializer::write(argsSerializer, value0); argsSerializer.writeCallbackResource(continuation.resource); argsSerializer.writePointer(reinterpret_cast(continuation.call)); argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_Number_Number_Boolean(Ark_Int32 resourceId, Ark_Number from, Ark_Number to, Callback_Boolean_Void continuation) +void callManagedCallback_OnRefreshAccessedHistoryEvent_Void(Ark_Int32 resourceId, Ark_OnRefreshAccessedHistoryEvent value0) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Number_Number_Boolean); + argsSerializer.writeInt32(Kind_Callback_OnRefreshAccessedHistoryEvent_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(from); - argsSerializer.writeNumber(to); - argsSerializer.writeCallbackResource(continuation.resource); - argsSerializer.writePointer(reinterpret_cast(continuation.call)); - argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + OnRefreshAccessedHistoryEvent_serializer::write(argsSerializer, value0); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_Number_Number_BooleanSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number from, Ark_Number to, Callback_Boolean_Void continuation) +void callManagedCallback_OnRefreshAccessedHistoryEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnRefreshAccessedHistoryEvent value0) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_Number_Number_Boolean); + argsSerializer.writeInt32(Kind_Callback_OnRefreshAccessedHistoryEvent_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(from); - argsSerializer.writeNumber(to); - argsSerializer.writeCallbackResource(continuation.resource); - argsSerializer.writePointer(reinterpret_cast(continuation.call)); - argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + OnRefreshAccessedHistoryEvent_serializer::write(argsSerializer, value0); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_Number_Number_Boolean_Boolean(Ark_Int32 resourceId, Ark_Number offset, Ark_Number index, Ark_Boolean leadingEdge, Callback_Boolean_Void continuation) +void callManagedCallback_OnRenderExitedEvent_Void(Ark_Int32 resourceId, Ark_OnRenderExitedEvent value0) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Number_Number_Boolean_Boolean); + argsSerializer.writeInt32(Kind_Callback_OnRenderExitedEvent_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(offset); - argsSerializer.writeNumber(index); - argsSerializer.writeBoolean(leadingEdge); - argsSerializer.writeCallbackResource(continuation.resource); - argsSerializer.writePointer(reinterpret_cast(continuation.call)); - argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + OnRenderExitedEvent_serializer::write(argsSerializer, value0); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_Number_Number_Boolean_BooleanSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number offset, Ark_Number index, Ark_Boolean leadingEdge, Callback_Boolean_Void continuation) +void callManagedCallback_OnRenderExitedEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnRenderExitedEvent value0) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_Number_Number_Boolean_Boolean); + argsSerializer.writeInt32(Kind_Callback_OnRenderExitedEvent_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(offset); - argsSerializer.writeNumber(index); - argsSerializer.writeBoolean(leadingEdge); - argsSerializer.writeCallbackResource(continuation.resource); - argsSerializer.writePointer(reinterpret_cast(continuation.call)); - argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + OnRenderExitedEvent_serializer::write(argsSerializer, value0); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_Number_Number_ComputedBarAttribute(Ark_Int32 resourceId, Ark_Number index, Ark_Number offset, Callback_ComputedBarAttribute_Void continuation) +void callManagedCallback_OnResourceLoadEvent_Void(Ark_Int32 resourceId, Ark_OnResourceLoadEvent value0) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Number_Number_ComputedBarAttribute); + argsSerializer.writeInt32(Kind_Callback_OnResourceLoadEvent_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(index); - argsSerializer.writeNumber(offset); - argsSerializer.writeCallbackResource(continuation.resource); - argsSerializer.writePointer(reinterpret_cast(continuation.call)); - argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + OnResourceLoadEvent_serializer::write(argsSerializer, value0); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_Number_Number_ComputedBarAttributeSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number index, Ark_Number offset, Callback_ComputedBarAttribute_Void continuation) +void callManagedCallback_OnResourceLoadEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnResourceLoadEvent value0) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_Number_Number_ComputedBarAttribute); + argsSerializer.writeInt32(Kind_Callback_OnResourceLoadEvent_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(index); - argsSerializer.writeNumber(offset); - argsSerializer.writeCallbackResource(continuation.resource); - argsSerializer.writePointer(reinterpret_cast(continuation.call)); - argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + OnResourceLoadEvent_serializer::write(argsSerializer, value0); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_Number_Number_Number_Void(Ark_Int32 resourceId, Ark_Number start, Ark_Number end, Ark_Number center) +void callManagedCallback_OnScaleChangeEvent_Void(Ark_Int32 resourceId, Ark_OnScaleChangeEvent value0) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Number_Number_Number_Void); + argsSerializer.writeInt32(Kind_Callback_OnScaleChangeEvent_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(start); - argsSerializer.writeNumber(end); - argsSerializer.writeNumber(center); + OnScaleChangeEvent_serializer::write(argsSerializer, value0); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_Number_Number_Number_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number start, Ark_Number end, Ark_Number center) +void callManagedCallback_OnScaleChangeEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnScaleChangeEvent value0) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_Number_Number_Number_Void); + argsSerializer.writeInt32(Kind_Callback_OnScaleChangeEvent_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(start); - argsSerializer.writeNumber(end); - argsSerializer.writeNumber(center); + OnScaleChangeEvent_serializer::write(argsSerializer, value0); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_Number_Number_Void(Ark_Int32 resourceId, Ark_Number first, Ark_Number last) +void callManagedCallback_OnScreenCaptureRequestEvent_Void(Ark_Int32 resourceId, Ark_OnScreenCaptureRequestEvent value0) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Number_Number_Void); + argsSerializer.writeInt32(Kind_Callback_OnScreenCaptureRequestEvent_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(first); - argsSerializer.writeNumber(last); + OnScreenCaptureRequestEvent_serializer::write(argsSerializer, value0); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_Number_Number_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number first, Ark_Number last) +void callManagedCallback_OnScreenCaptureRequestEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnScreenCaptureRequestEvent value0) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_Number_Number_Void); + argsSerializer.writeInt32(Kind_Callback_OnScreenCaptureRequestEvent_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(first); - argsSerializer.writeNumber(last); + OnScreenCaptureRequestEvent_serializer::write(argsSerializer, value0); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_Number_SliderChangeMode_Void(Ark_Int32 resourceId, Ark_Number value, Ark_SliderChangeMode mode) +void callManagedCallback_OnScrollEvent_Void(Ark_Int32 resourceId, Ark_OnScrollEvent value0) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Number_SliderChangeMode_Void); + argsSerializer.writeInt32(Kind_Callback_OnScrollEvent_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(value); - argsSerializer.writeInt32(static_cast(mode)); + OnScrollEvent_serializer::write(argsSerializer, value0); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_Number_SliderChangeMode_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number value, Ark_SliderChangeMode mode) +void callManagedCallback_OnScrollEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnScrollEvent value0) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_Number_SliderChangeMode_Void); + argsSerializer.writeInt32(Kind_Callback_OnScrollEvent_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(value); - argsSerializer.writeInt32(static_cast(mode)); + OnScrollEvent_serializer::write(argsSerializer, value0); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_Number_Tuple_Number_Number(Ark_Int32 resourceId, Ark_Number index, Callback_Tuple_Number_Number_Void continuation) +void callManagedCallback_OnScrollFrameBeginHandlerResult_Void(Ark_Int32 resourceId, Ark_OnScrollFrameBeginHandlerResult value) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Number_Tuple_Number_Number); + argsSerializer.writeInt32(Kind_Callback_OnScrollFrameBeginHandlerResult_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(index); - argsSerializer.writeCallbackResource(continuation.resource); - argsSerializer.writePointer(reinterpret_cast(continuation.call)); - argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + OnScrollFrameBeginHandlerResult_serializer::write(argsSerializer, value); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_Number_Tuple_Number_NumberSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number index, Callback_Tuple_Number_Number_Void continuation) +void callManagedCallback_OnScrollFrameBeginHandlerResult_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnScrollFrameBeginHandlerResult value) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_Number_Tuple_Number_Number); + argsSerializer.writeInt32(Kind_Callback_OnScrollFrameBeginHandlerResult_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(index); - argsSerializer.writeCallbackResource(continuation.resource); - argsSerializer.writePointer(reinterpret_cast(continuation.call)); - argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + OnScrollFrameBeginHandlerResult_serializer::write(argsSerializer, value); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_Number_Tuple_Number_Number_Number_Number(Ark_Int32 resourceId, Ark_Number index, Callback_Tuple_Number_Number_Number_Number_Void continuation) +void callManagedCallback_OnSearchResultReceiveEvent_Void(Ark_Int32 resourceId, Ark_OnSearchResultReceiveEvent value0) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Number_Tuple_Number_Number_Number_Number); + argsSerializer.writeInt32(Kind_Callback_OnSearchResultReceiveEvent_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(index); - argsSerializer.writeCallbackResource(continuation.resource); - argsSerializer.writePointer(reinterpret_cast(continuation.call)); - argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + OnSearchResultReceiveEvent_serializer::write(argsSerializer, value0); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_Number_Tuple_Number_Number_Number_NumberSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number index, Callback_Tuple_Number_Number_Number_Number_Void continuation) +void callManagedCallback_OnSearchResultReceiveEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnSearchResultReceiveEvent value0) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_Number_Tuple_Number_Number_Number_Number); + argsSerializer.writeInt32(Kind_Callback_OnSearchResultReceiveEvent_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(index); - argsSerializer.writeCallbackResource(continuation.resource); - argsSerializer.writePointer(reinterpret_cast(continuation.call)); - argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + OnSearchResultReceiveEvent_serializer::write(argsSerializer, value0); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_Number_Void(Ark_Int32 resourceId, Ark_Number value0) +void callManagedCallback_OnShowFileSelectorEvent_Boolean(Ark_Int32 resourceId, Ark_OnShowFileSelectorEvent value0, Callback_Boolean_Void continuation) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Number_Void); + argsSerializer.writeInt32(Kind_Callback_OnShowFileSelectorEvent_Boolean); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(value0); + OnShowFileSelectorEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_Number_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number value0) +void callManagedCallback_OnShowFileSelectorEvent_BooleanSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnShowFileSelectorEvent value0, Callback_Boolean_Void continuation) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_Number_Void); + argsSerializer.writeInt32(Kind_Callback_OnShowFileSelectorEvent_Boolean); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(value0); + OnShowFileSelectorEvent_serializer::write(argsSerializer, value0); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_Object_Void(Ark_Int32 resourceId, Ark_Object value0) +void callManagedCallback_OnSslErrorEventReceiveEvent_Void(Ark_Int32 resourceId, Ark_OnSslErrorEventReceiveEvent value0) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Object_Void); + argsSerializer.writeInt32(Kind_Callback_OnSslErrorEventReceiveEvent_Void); argsSerializer.writeInt32(resourceId); - const Ark_CallbackResource arg0Resource = {value0.resource.resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; - callbackBuffer.resourceHolder.holdCallbackResource(&arg0Resource); - argsSerializer.writeObject(value0); + OnSslErrorEventReceiveEvent_serializer::write(argsSerializer, value0); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_Object_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Object value0) +void callManagedCallback_OnSslErrorEventReceiveEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnSslErrorEventReceiveEvent value0) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_Object_Void); + argsSerializer.writeInt32(Kind_Callback_OnSslErrorEventReceiveEvent_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeObject(value0); + OnSslErrorEventReceiveEvent_serializer::write(argsSerializer, value0); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_onMeasureSize_SizeResult(Ark_Int32 resourceId, Ark_GeometryInfo selfLayoutInfo, Array_Measurable children, Ark_ConstraintSizeOptions constraint, Callback_SizeResult_Void continuation) +void callManagedCallback_OnTitleReceiveEvent_Void(Ark_Int32 resourceId, Ark_OnTitleReceiveEvent value0) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_onMeasureSize_SizeResult); + argsSerializer.writeInt32(Kind_Callback_OnTitleReceiveEvent_Void); argsSerializer.writeInt32(resourceId); - GeometryInfo_serializer::write(argsSerializer, selfLayoutInfo); - argsSerializer.writeInt32(children.length); - for (int childrenCounterI = 0; childrenCounterI < children.length; childrenCounterI++) { - const Ark_Measurable childrenTmpElement = children.array[childrenCounterI]; - Measurable_serializer::write(argsSerializer, childrenTmpElement); - } - ConstraintSizeOptions_serializer::write(argsSerializer, constraint); - argsSerializer.writeCallbackResource(continuation.resource); - argsSerializer.writePointer(reinterpret_cast(continuation.call)); - argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + OnTitleReceiveEvent_serializer::write(argsSerializer, value0); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_onMeasureSize_SizeResultSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_GeometryInfo selfLayoutInfo, Array_Measurable children, Ark_ConstraintSizeOptions constraint, Callback_SizeResult_Void continuation) +void callManagedCallback_OnTitleReceiveEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnTitleReceiveEvent value0) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_onMeasureSize_SizeResult); + argsSerializer.writeInt32(Kind_Callback_OnTitleReceiveEvent_Void); argsSerializer.writeInt32(resourceId); - GeometryInfo_serializer::write(argsSerializer, selfLayoutInfo); - argsSerializer.writeInt32(children.length); - for (int childrenCounterI = 0; childrenCounterI < children.length; childrenCounterI++) { - const Ark_Measurable childrenTmpElement = children.array[childrenCounterI]; - Measurable_serializer::write(argsSerializer, childrenTmpElement); - } - ConstraintSizeOptions_serializer::write(argsSerializer, constraint); - argsSerializer.writeCallbackResource(continuation.resource); - argsSerializer.writePointer(reinterpret_cast(continuation.call)); - argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + OnTitleReceiveEvent_serializer::write(argsSerializer, value0); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_onPlaceChildren_Void(Ark_Int32 resourceId, Ark_GeometryInfo selfLayoutInfo, Array_Layoutable children, Ark_ConstraintSizeOptions constraint) +void callManagedCallback_OnTouchIconUrlReceivedEvent_Void(Ark_Int32 resourceId, Ark_OnTouchIconUrlReceivedEvent value0) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_onPlaceChildren_Void); + argsSerializer.writeInt32(Kind_Callback_OnTouchIconUrlReceivedEvent_Void); argsSerializer.writeInt32(resourceId); - GeometryInfo_serializer::write(argsSerializer, selfLayoutInfo); - argsSerializer.writeInt32(children.length); - for (int childrenCounterI = 0; childrenCounterI < children.length; childrenCounterI++) { - const Ark_Layoutable childrenTmpElement = children.array[childrenCounterI]; - Layoutable_serializer::write(argsSerializer, childrenTmpElement); - } - ConstraintSizeOptions_serializer::write(argsSerializer, constraint); + OnTouchIconUrlReceivedEvent_serializer::write(argsSerializer, value0); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_onPlaceChildren_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_GeometryInfo selfLayoutInfo, Array_Layoutable children, Ark_ConstraintSizeOptions constraint) +void callManagedCallback_OnTouchIconUrlReceivedEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnTouchIconUrlReceivedEvent value0) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_onPlaceChildren_Void); + argsSerializer.writeInt32(Kind_Callback_OnTouchIconUrlReceivedEvent_Void); argsSerializer.writeInt32(resourceId); - GeometryInfo_serializer::write(argsSerializer, selfLayoutInfo); - argsSerializer.writeInt32(children.length); - for (int childrenCounterI = 0; childrenCounterI < children.length; childrenCounterI++) { - const Ark_Layoutable childrenTmpElement = children.array[childrenCounterI]; - Layoutable_serializer::write(argsSerializer, childrenTmpElement); - } - ConstraintSizeOptions_serializer::write(argsSerializer, constraint); + OnTouchIconUrlReceivedEvent_serializer::write(argsSerializer, value0); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_OnScrollFrameBeginHandlerResult_Void(Ark_Int32 resourceId, Ark_OnScrollFrameBeginHandlerResult value) +void callManagedCallback_OnWindowNewEvent_Void(Ark_Int32 resourceId, Ark_OnWindowNewEvent value0) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_OnScrollFrameBeginHandlerResult_Void); + argsSerializer.writeInt32(Kind_Callback_OnWindowNewEvent_Void); argsSerializer.writeInt32(resourceId); - OnScrollFrameBeginHandlerResult_serializer::write(argsSerializer, value); + OnWindowNewEvent_serializer::write(argsSerializer, value0); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_OnScrollFrameBeginHandlerResult_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnScrollFrameBeginHandlerResult value) +void callManagedCallback_OnWindowNewEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_OnWindowNewEvent value0) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_OnScrollFrameBeginHandlerResult_Void); + argsSerializer.writeInt32(Kind_Callback_OnWindowNewEvent_Void); argsSerializer.writeInt32(resourceId); - OnScrollFrameBeginHandlerResult_serializer::write(argsSerializer, value); + OnWindowNewEvent_serializer::write(argsSerializer, value0); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } void callManagedCallback_Opt_Array_FontDescriptor_Opt_Array_String_Void(Ark_Int32 resourceId, Opt_Array_CustomObject value, Opt_Array_String error) @@ -3836,56 +4727,98 @@ void callManagedCallback_Union_CustomBuilder_DragItemInfo_VoidSync(Ark_VMContext } KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_Union_Object_Undefined_Void(Ark_Int32 resourceId, Opt_Object value0) +void callManagedCallback_Union_Object_Undefined_Void(Ark_Int32 resourceId, Opt_Object value0) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_Union_Object_Undefined_Void); + argsSerializer.writeInt32(resourceId); + if (runtimeType(value0) != INTEROP_RUNTIME_UNDEFINED) { + argsSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto value0TmpValue = value0.value; + argsSerializer.writeObject(value0TmpValue); + } else { + argsSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_Union_Object_Undefined_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Opt_Object value0) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_Union_Object_Undefined_Void); + argsSerializer.writeInt32(resourceId); + if (runtimeType(value0) != INTEROP_RUNTIME_UNDEFINED) { + argsSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto value0TmpValue = value0.value; + argsSerializer.writeObject(value0TmpValue); + } else { + argsSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_Void(Ark_Int32 resourceId) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_Void); + argsSerializer.writeInt32(resourceId); + enqueueCallback(10, &callbackBuffer); +} +void callManagedCallback_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_Callback_Void); + argsSerializer.writeInt32(resourceId); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedCallback_WebKeyboardOptions_Void(Ark_Int32 resourceId, Ark_WebKeyboardOptions value) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Union_Object_Undefined_Void); + argsSerializer.writeInt32(Kind_Callback_WebKeyboardOptions_Void); argsSerializer.writeInt32(resourceId); - if (runtimeType(value0) != INTEROP_RUNTIME_UNDEFINED) { - argsSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto value0TmpValue = value0.value; - argsSerializer.writeObject(value0TmpValue); - } else { - argsSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } + WebKeyboardOptions_serializer::write(argsSerializer, value); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_Union_Object_Undefined_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Opt_Object value0) +void callManagedCallback_WebKeyboardOptions_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_WebKeyboardOptions value) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_Union_Object_Undefined_Void); + argsSerializer.writeInt32(Kind_Callback_WebKeyboardOptions_Void); argsSerializer.writeInt32(resourceId); - if (runtimeType(value0) != INTEROP_RUNTIME_UNDEFINED) { - argsSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto value0TmpValue = value0.value; - argsSerializer.writeObject(value0TmpValue); - } else { - argsSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } + WebKeyboardOptions_serializer::write(argsSerializer, value); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedCallback_Void(Ark_Int32 resourceId) +void callManagedCallback_WebResourceResponse_Void(Ark_Int32 resourceId, Ark_WebResourceResponse value) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Void); + argsSerializer.writeInt32(Kind_Callback_WebResourceResponse_Void); argsSerializer.writeInt32(resourceId); + WebResourceResponse_serializer::write(argsSerializer, value); enqueueCallback(10, &callbackBuffer); } -void callManagedCallback_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId) +void callManagedCallback_WebResourceResponse_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_WebResourceResponse value) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_Callback_Void); + argsSerializer.writeInt32(Kind_Callback_WebResourceResponse_Void); argsSerializer.writeInt32(resourceId); + WebResourceResponse_serializer::write(argsSerializer, value); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } void callManagedCheckBoxModifierBuilder(Ark_Int32 resourceId, Ark_NativePointer parentNode, Ark_CheckBoxConfiguration config, Callback_Pointer_Void continuation) @@ -4578,6 +5511,27 @@ void callManagedNavExtender_OnUpdateStackSync(Ark_VMContext vmContext, Ark_Int32 argsSerializer.writeInt32(resourceId); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } +void callManagedOnAdsBlockedCallback(Ark_Int32 resourceId, Ark_AdsBlockedDetails details) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_OnAdsBlockedCallback); + argsSerializer.writeInt32(resourceId); + AdsBlockedDetails_serializer::write(argsSerializer, details); + enqueueCallback(10, &callbackBuffer); +} +void callManagedOnAdsBlockedCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_AdsBlockedDetails details) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_OnAdsBlockedCallback); + argsSerializer.writeInt32(resourceId); + AdsBlockedDetails_serializer::write(argsSerializer, details); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} void callManagedOnAlphabetIndexerPopupSelectCallback(Ark_Int32 resourceId, Ark_Number index) { CallbackBuffer callbackBuffer = {{}, {}}; @@ -4712,6 +5666,25 @@ void callManagedOnContentScrollCallbackSync(Ark_VMContext vmContext, Ark_Int32 r argsSerializer.writeNumber(totalOffsetY); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } +void callManagedOnContextMenuHideCallback(Ark_Int32 resourceId) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_OnContextMenuHideCallback); + argsSerializer.writeInt32(resourceId); + enqueueCallback(10, &callbackBuffer); +} +void callManagedOnContextMenuHideCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_OnContextMenuHideCallback); + argsSerializer.writeInt32(resourceId); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} void callManagedOnCreateMenuCallback(Ark_Int32 resourceId, Array_TextMenuItem menuItems, Callback_Array_TextMenuItem_Void continuation) { CallbackBuffer callbackBuffer = {{}, {}}; @@ -4805,6 +5778,27 @@ void callManagedOnDragEventCallbackSync(Ark_VMContext vmContext, Ark_Int32 resou } KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } +void callManagedOnFirstMeaningfulPaintCallback(Ark_Int32 resourceId, Ark_FirstMeaningfulPaint firstMeaningfulPaint) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_OnFirstMeaningfulPaintCallback); + argsSerializer.writeInt32(resourceId); + FirstMeaningfulPaint_serializer::write(argsSerializer, firstMeaningfulPaint); + enqueueCallback(10, &callbackBuffer); +} +void callManagedOnFirstMeaningfulPaintCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_FirstMeaningfulPaint firstMeaningfulPaint) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_OnFirstMeaningfulPaintCallback); + argsSerializer.writeInt32(resourceId); + FirstMeaningfulPaint_serializer::write(argsSerializer, firstMeaningfulPaint); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} void callManagedOnFoldStatusChangeCallback(Ark_Int32 resourceId, Ark_OnFoldStatusChangeInfo event) { CallbackBuffer callbackBuffer = {{}, {}}; @@ -4826,6 +5820,27 @@ void callManagedOnFoldStatusChangeCallbackSync(Ark_VMContext vmContext, Ark_Int3 OnFoldStatusChangeInfo_serializer::write(argsSerializer, event); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } +void callManagedOnFullScreenEnterCallback(Ark_Int32 resourceId, Ark_FullScreenEnterEvent event) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_OnFullScreenEnterCallback); + argsSerializer.writeInt32(resourceId); + FullScreenEnterEvent_serializer::write(argsSerializer, event); + enqueueCallback(10, &callbackBuffer); +} +void callManagedOnFullScreenEnterCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_FullScreenEnterEvent event) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_OnFullScreenEnterCallback); + argsSerializer.writeInt32(resourceId); + FullScreenEnterEvent_serializer::write(argsSerializer, event); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} void callManagedOnHoverCallback(Ark_Int32 resourceId, Ark_Boolean status, Ark_HoverEvent event) { CallbackBuffer callbackBuffer = {{}, {}}; @@ -4870,6 +5885,27 @@ void callManagedOnHoverStatusChangeCallbackSync(Ark_VMContext vmContext, Ark_Int HoverEventParam_serializer::write(argsSerializer, param); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } +void callManagedOnIntelligentTrackingPreventionCallback(Ark_Int32 resourceId, Ark_IntelligentTrackingPreventionDetails details) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_OnIntelligentTrackingPreventionCallback); + argsSerializer.writeInt32(resourceId); + IntelligentTrackingPreventionDetails_serializer::write(argsSerializer, details); + enqueueCallback(10, &callbackBuffer); +} +void callManagedOnIntelligentTrackingPreventionCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_IntelligentTrackingPreventionDetails details) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_OnIntelligentTrackingPreventionCallback); + argsSerializer.writeInt32(resourceId); + IntelligentTrackingPreventionDetails_serializer::write(argsSerializer, details); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} void callManagedOnItemDragStartCallback(Ark_Int32 resourceId, Ark_ItemDragInfo event, Ark_Number itemIndex, Callback_Opt_CustomBuilder_Void continuation) { CallbackBuffer callbackBuffer = {{}, {}}; @@ -4899,25 +5935,25 @@ void callManagedOnItemDragStartCallbackSync(Ark_VMContext vmContext, Ark_Int32 r argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedOnLazyLoadingFunc(Ark_Int32 resourceId, Ark_Number index) +void callManagedOnLargestContentfulPaintCallback(Ark_Int32 resourceId, Ark_LargestContentfulPaint largestContentfulPaint) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_OnLazyLoadingFunc); + argsSerializer.writeInt32(Kind_OnLargestContentfulPaintCallback); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(index); + LargestContentfulPaint_serializer::write(argsSerializer, largestContentfulPaint); enqueueCallback(10, &callbackBuffer); } -void callManagedOnLazyLoadingFuncSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number index) +void callManagedOnLargestContentfulPaintCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_LargestContentfulPaint largestContentfulPaint) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_OnLazyLoadingFunc); + argsSerializer.writeInt32(Kind_OnLargestContentfulPaintCallback); argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(index); + LargestContentfulPaint_serializer::write(argsSerializer, largestContentfulPaint); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } void callManagedOnLinearIndicatorChangeCallback(Ark_Int32 resourceId, Ark_Number index, Ark_Number progress) @@ -4995,37 +6031,73 @@ void callManagedOnMoveHandlerSync(Ark_VMContext vmContext, Ark_Int32 resourceId, argsSerializer.writeNumber(to); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedOnNativeLoadCallback(Ark_Int32 resourceId, Opt_Object event) +void callManagedOnNativeEmbedVisibilityChangeCallback(Ark_Int32 resourceId, Ark_NativeEmbedVisibilityInfo nativeEmbedVisibilityInfo) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_OnNativeLoadCallback); + argsSerializer.writeInt32(Kind_OnNativeEmbedVisibilityChangeCallback); argsSerializer.writeInt32(resourceId); - if (runtimeType(event) != INTEROP_RUNTIME_UNDEFINED) { - argsSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto eventTmpValue = event.value; - argsSerializer.writeObject(eventTmpValue); - } else { - argsSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } + NativeEmbedVisibilityInfo_serializer::write(argsSerializer, nativeEmbedVisibilityInfo); enqueueCallback(10, &callbackBuffer); } -void callManagedOnNativeLoadCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Opt_Object event) +void callManagedOnNativeEmbedVisibilityChangeCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_NativeEmbedVisibilityInfo nativeEmbedVisibilityInfo) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_OnNativeLoadCallback); + argsSerializer.writeInt32(Kind_OnNativeEmbedVisibilityChangeCallback); argsSerializer.writeInt32(resourceId); - if (runtimeType(event) != INTEROP_RUNTIME_UNDEFINED) { - argsSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto eventTmpValue = event.value; - argsSerializer.writeObject(eventTmpValue); - } else { - argsSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } + NativeEmbedVisibilityInfo_serializer::write(argsSerializer, nativeEmbedVisibilityInfo); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedOnNavigationEntryCommittedCallback(Ark_Int32 resourceId, Ark_LoadCommittedDetails loadCommittedDetails) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_OnNavigationEntryCommittedCallback); + argsSerializer.writeInt32(resourceId); + LoadCommittedDetails_serializer::write(argsSerializer, loadCommittedDetails); + enqueueCallback(10, &callbackBuffer); +} +void callManagedOnNavigationEntryCommittedCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_LoadCommittedDetails loadCommittedDetails) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_OnNavigationEntryCommittedCallback); + argsSerializer.writeInt32(resourceId); + LoadCommittedDetails_serializer::write(argsSerializer, loadCommittedDetails); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedOnOverrideUrlLoadingCallback(Ark_Int32 resourceId, Ark_WebResourceRequest webResourceRequest, Callback_Boolean_Void continuation) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_OnOverrideUrlLoadingCallback); + argsSerializer.writeInt32(resourceId); + WebResourceRequest_serializer::write(argsSerializer, webResourceRequest); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedOnOverrideUrlLoadingCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_WebResourceRequest webResourceRequest, Callback_Boolean_Void continuation) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_OnOverrideUrlLoadingCallback); + argsSerializer.writeInt32(resourceId); + WebResourceRequest_serializer::write(argsSerializer, webResourceRequest); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } void callManagedOnPasteCallback(Ark_Int32 resourceId, Ark_String content, Ark_PasteEvent event) @@ -5093,6 +6165,67 @@ void callManagedOnRatingChangeCallbackSync(Ark_VMContext vmContext, Ark_Int32 re argsSerializer.writeNumber(rating); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } +void callManagedOnRenderProcessNotRespondingCallback(Ark_Int32 resourceId, Ark_RenderProcessNotRespondingData data) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_OnRenderProcessNotRespondingCallback); + argsSerializer.writeInt32(resourceId); + RenderProcessNotRespondingData_serializer::write(argsSerializer, data); + enqueueCallback(10, &callbackBuffer); +} +void callManagedOnRenderProcessNotRespondingCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_RenderProcessNotRespondingData data) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_OnRenderProcessNotRespondingCallback); + argsSerializer.writeInt32(resourceId); + RenderProcessNotRespondingData_serializer::write(argsSerializer, data); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedOnRenderProcessRespondingCallback(Ark_Int32 resourceId) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_OnRenderProcessRespondingCallback); + argsSerializer.writeInt32(resourceId); + enqueueCallback(10, &callbackBuffer); +} +void callManagedOnRenderProcessRespondingCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_OnRenderProcessRespondingCallback); + argsSerializer.writeInt32(resourceId); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedOnSafeBrowsingCheckResultCallback(Ark_Int32 resourceId, Ark_ThreatType threatType) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_OnSafeBrowsingCheckResultCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeInt32(static_cast(threatType)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedOnSafeBrowsingCheckResultCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_ThreatType threatType) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_OnSafeBrowsingCheckResultCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeInt32(static_cast(threatType)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} void callManagedOnScrollCallback(Ark_Int32 resourceId, Ark_Number scrollOffset, Ark_ScrollState scrollState) { CallbackBuffer callbackBuffer = {{}, {}}; @@ -5212,6 +6345,27 @@ void callManagedOnSelectCallbackSync(Ark_VMContext vmContext, Ark_Int32 resource argsSerializer.writeString(selectStr); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } +void callManagedOnSslErrorEventCallback(Ark_Int32 resourceId, Ark_SslErrorEvent sslErrorEvent) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_OnSslErrorEventCallback); + argsSerializer.writeInt32(resourceId); + SslErrorEvent_serializer::write(argsSerializer, sslErrorEvent); + enqueueCallback(10, &callbackBuffer); +} +void callManagedOnSslErrorEventCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_SslErrorEvent sslErrorEvent) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_OnSslErrorEventCallback); + argsSerializer.writeInt32(resourceId); + SslErrorEvent_serializer::write(argsSerializer, sslErrorEvent); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} void callManagedOnSubmitCallback(Ark_Int32 resourceId, Ark_EnterKeyType enterKey, Ark_SubmitEvent event) { CallbackBuffer callbackBuffer = {{}, {}}; @@ -5521,29 +6675,25 @@ void callManagedOnTimePickerChangeCallbackSync(Ark_VMContext vmContext, Ark_Int3 TimePickerResult_serializer::write(argsSerializer, result); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } -void callManagedOnTotalCountFunc(Ark_Int32 resourceId, Callback_Number_Void continuation) +void callManagedOnViewportFitChangedCallback(Ark_Int32 resourceId, Ark_ViewportFit viewportFit) { CallbackBuffer callbackBuffer = {{}, {}}; const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); - argsSerializer.writeInt32(Kind_OnTotalCountFunc); + argsSerializer.writeInt32(Kind_OnViewportFitChangedCallback); argsSerializer.writeInt32(resourceId); - argsSerializer.writeCallbackResource(continuation.resource); - argsSerializer.writePointer(reinterpret_cast(continuation.call)); - argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + argsSerializer.writeInt32(static_cast(viewportFit)); enqueueCallback(10, &callbackBuffer); } -void callManagedOnTotalCountFuncSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Callback_Number_Void continuation) +void callManagedOnViewportFitChangedCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_ViewportFit viewportFit) { uint8_t dataBuffer[4096]; SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); argsSerializer.writeInt32(10); - argsSerializer.writeInt32(Kind_OnTotalCountFunc); + argsSerializer.writeInt32(Kind_OnViewportFitChangedCallback); argsSerializer.writeInt32(resourceId); - argsSerializer.writeCallbackResource(continuation.resource); - argsSerializer.writePointer(reinterpret_cast(continuation.call)); - argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + argsSerializer.writeInt32(static_cast(viewportFit)); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } void callManagedOnWillScrollCallback(Ark_Int32 resourceId, Ark_Number scrollOffset, Ark_ScrollState scrollState, Ark_ScrollSource scrollSource, Callback_Opt_ScrollResult_Void continuation) @@ -6674,6 +7824,54 @@ void callManagedVoidCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId) argsSerializer.writeInt32(resourceId); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); } +void callManagedWebKeyboardCallback(Ark_Int32 resourceId, Ark_WebKeyboardCallbackInfo keyboardCallbackInfo, Callback_WebKeyboardOptions_Void continuation) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_WebKeyboardCallback); + argsSerializer.writeInt32(resourceId); + WebKeyboardCallbackInfo_serializer::write(argsSerializer, keyboardCallbackInfo); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(10, &callbackBuffer); +} +void callManagedWebKeyboardCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_WebKeyboardCallbackInfo keyboardCallbackInfo, Callback_WebKeyboardOptions_Void continuation) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_WebKeyboardCallback); + argsSerializer.writeInt32(resourceId); + WebKeyboardCallbackInfo_serializer::write(argsSerializer, keyboardCallbackInfo); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} +void callManagedWorkerEventListener(Ark_Int32 resourceId, Ark_Event event) +{ + CallbackBuffer callbackBuffer = {{}, {}}; + const Ark_CallbackResource callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + callbackBuffer.resourceHolder.holdCallbackResource(&callbackResourceSelf); + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&(callbackBuffer.buffer), sizeof(callbackBuffer.buffer), &(callbackBuffer.resourceHolder)); + argsSerializer.writeInt32(Kind_WorkerEventListener); + argsSerializer.writeInt32(resourceId); + Event_serializer::write(argsSerializer, event); + enqueueCallback(10, &callbackBuffer); +} +void callManagedWorkerEventListenerSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Event event) +{ + uint8_t dataBuffer[4096]; + SerializerBase argsSerializer = SerializerBase((KSerializerBuffer)&dataBuffer, sizeof(dataBuffer), nullptr); + argsSerializer.writeInt32(10); + argsSerializer.writeInt32(Kind_WorkerEventListener); + argsSerializer.writeInt32(resourceId); + Event_serializer::write(argsSerializer, event); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(dataBuffer), dataBuffer); +} Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) { switch (kind) { @@ -6735,9 +7933,12 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_Callback_ItemDragInfo_Void: return reinterpret_cast(callManagedCallback_ItemDragInfo_Void); case Kind_Callback_KeyEvent_Boolean: return reinterpret_cast(callManagedCallback_KeyEvent_Boolean); case Kind_Callback_KeyEvent_Void: return reinterpret_cast(callManagedCallback_KeyEvent_Void); - case Kind_Callback_Map_String_Object_Void: return reinterpret_cast(callManagedCallback_Map_String_Object_Void); + case Kind_Callback_Map_String_RecordData_Void: return reinterpret_cast(callManagedCallback_Map_String_RecordData_Void); case Kind_Callback_MarqueeState_Void: return reinterpret_cast(callManagedCallback_MarqueeState_Void); case Kind_Callback_MouseEvent_Void: return reinterpret_cast(callManagedCallback_MouseEvent_Void); + case Kind_Callback_NativeEmbedDataInfo_Void: return reinterpret_cast(callManagedCallback_NativeEmbedDataInfo_Void); + case Kind_Callback_NativeEmbedTouchInfo_Void: return reinterpret_cast(callManagedCallback_NativeEmbedTouchInfo_Void); + case Kind_Callback_NativeXComponentPointer_Void: return reinterpret_cast(callManagedCallback_NativeXComponentPointer_Void); case Kind_Callback_NavDestinationActiveReason_Void: return reinterpret_cast(callManagedCallback_NavDestinationActiveReason_Void); case Kind_Callback_NavDestinationContext_Void: return reinterpret_cast(callManagedCallback_NavDestinationContext_Void); case Kind_Callback_NavDestinationInfo_Void: return reinterpret_cast(callManagedCallback_NavDestinationInfo_Void); @@ -6756,9 +7957,45 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_Callback_Number_Tuple_Number_Number_Number_Number: return reinterpret_cast(callManagedCallback_Number_Tuple_Number_Number_Number_Number); case Kind_Callback_Number_Void: return reinterpret_cast(callManagedCallback_Number_Void); case Kind_Callback_Object_Void: return reinterpret_cast(callManagedCallback_Object_Void); + case Kind_Callback_OnAlertEvent_Boolean: return reinterpret_cast(callManagedCallback_OnAlertEvent_Boolean); + case Kind_Callback_OnAudioStateChangedEvent_Void: return reinterpret_cast(callManagedCallback_OnAudioStateChangedEvent_Void); + case Kind_Callback_OnBeforeUnloadEvent_Boolean: return reinterpret_cast(callManagedCallback_OnBeforeUnloadEvent_Boolean); + case Kind_Callback_OnClientAuthenticationEvent_Void: return reinterpret_cast(callManagedCallback_OnClientAuthenticationEvent_Void); + case Kind_Callback_OnConfirmEvent_Boolean: return reinterpret_cast(callManagedCallback_OnConfirmEvent_Boolean); + case Kind_Callback_OnConsoleEvent_Boolean: return reinterpret_cast(callManagedCallback_OnConsoleEvent_Boolean); + case Kind_Callback_OnContextMenuShowEvent_Boolean: return reinterpret_cast(callManagedCallback_OnContextMenuShowEvent_Boolean); + case Kind_Callback_OnDataResubmittedEvent_Void: return reinterpret_cast(callManagedCallback_OnDataResubmittedEvent_Void); + case Kind_Callback_OnDownloadStartEvent_Void: return reinterpret_cast(callManagedCallback_OnDownloadStartEvent_Void); + case Kind_Callback_OnErrorReceiveEvent_Void: return reinterpret_cast(callManagedCallback_OnErrorReceiveEvent_Void); + case Kind_Callback_OnFaviconReceivedEvent_Void: return reinterpret_cast(callManagedCallback_OnFaviconReceivedEvent_Void); + case Kind_Callback_OnFirstContentfulPaintEvent_Void: return reinterpret_cast(callManagedCallback_OnFirstContentfulPaintEvent_Void); + case Kind_Callback_OnGeolocationShowEvent_Void: return reinterpret_cast(callManagedCallback_OnGeolocationShowEvent_Void); + case Kind_Callback_OnHttpAuthRequestEvent_Boolean: return reinterpret_cast(callManagedCallback_OnHttpAuthRequestEvent_Boolean); + case Kind_Callback_OnHttpErrorReceiveEvent_Void: return reinterpret_cast(callManagedCallback_OnHttpErrorReceiveEvent_Void); + case Kind_Callback_OnInterceptRequestEvent_WebResourceResponse: return reinterpret_cast(callManagedCallback_OnInterceptRequestEvent_WebResourceResponse); + case Kind_Callback_OnLoadInterceptEvent_Boolean: return reinterpret_cast(callManagedCallback_OnLoadInterceptEvent_Boolean); case Kind_Callback_onMeasureSize_SizeResult: return reinterpret_cast(callManagedCallback_onMeasureSize_SizeResult); + case Kind_Callback_OnOverScrollEvent_Void: return reinterpret_cast(callManagedCallback_OnOverScrollEvent_Void); + case Kind_Callback_OnPageBeginEvent_Void: return reinterpret_cast(callManagedCallback_OnPageBeginEvent_Void); + case Kind_Callback_OnPageEndEvent_Void: return reinterpret_cast(callManagedCallback_OnPageEndEvent_Void); + case Kind_Callback_OnPageVisibleEvent_Void: return reinterpret_cast(callManagedCallback_OnPageVisibleEvent_Void); + case Kind_Callback_OnPermissionRequestEvent_Void: return reinterpret_cast(callManagedCallback_OnPermissionRequestEvent_Void); case Kind_Callback_onPlaceChildren_Void: return reinterpret_cast(callManagedCallback_onPlaceChildren_Void); + case Kind_Callback_OnProgressChangeEvent_Void: return reinterpret_cast(callManagedCallback_OnProgressChangeEvent_Void); + case Kind_Callback_OnPromptEvent_Boolean: return reinterpret_cast(callManagedCallback_OnPromptEvent_Boolean); + case Kind_Callback_OnRefreshAccessedHistoryEvent_Void: return reinterpret_cast(callManagedCallback_OnRefreshAccessedHistoryEvent_Void); + case Kind_Callback_OnRenderExitedEvent_Void: return reinterpret_cast(callManagedCallback_OnRenderExitedEvent_Void); + case Kind_Callback_OnResourceLoadEvent_Void: return reinterpret_cast(callManagedCallback_OnResourceLoadEvent_Void); + case Kind_Callback_OnScaleChangeEvent_Void: return reinterpret_cast(callManagedCallback_OnScaleChangeEvent_Void); + case Kind_Callback_OnScreenCaptureRequestEvent_Void: return reinterpret_cast(callManagedCallback_OnScreenCaptureRequestEvent_Void); + case Kind_Callback_OnScrollEvent_Void: return reinterpret_cast(callManagedCallback_OnScrollEvent_Void); case Kind_Callback_OnScrollFrameBeginHandlerResult_Void: return reinterpret_cast(callManagedCallback_OnScrollFrameBeginHandlerResult_Void); + case Kind_Callback_OnSearchResultReceiveEvent_Void: return reinterpret_cast(callManagedCallback_OnSearchResultReceiveEvent_Void); + case Kind_Callback_OnShowFileSelectorEvent_Boolean: return reinterpret_cast(callManagedCallback_OnShowFileSelectorEvent_Boolean); + case Kind_Callback_OnSslErrorEventReceiveEvent_Void: return reinterpret_cast(callManagedCallback_OnSslErrorEventReceiveEvent_Void); + case Kind_Callback_OnTitleReceiveEvent_Void: return reinterpret_cast(callManagedCallback_OnTitleReceiveEvent_Void); + case Kind_Callback_OnTouchIconUrlReceivedEvent_Void: return reinterpret_cast(callManagedCallback_OnTouchIconUrlReceivedEvent_Void); + case Kind_Callback_OnWindowNewEvent_Void: return reinterpret_cast(callManagedCallback_OnWindowNewEvent_Void); case Kind_Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void: return reinterpret_cast(callManagedCallback_Opt_Array_FontDescriptor_Opt_Array_String_Void); case Kind_Callback_Opt_Array_NavDestinationTransition_Void: return reinterpret_cast(callManagedCallback_Opt_Array_NavDestinationTransition_Void); case Kind_Callback_Opt_Array_String_Opt_Array_String_Void: return reinterpret_cast(callManagedCallback_Opt_Array_String_Opt_Array_String_Void); @@ -6827,6 +8064,8 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_Callback_Union_CustomBuilder_DragItemInfo_Void: return reinterpret_cast(callManagedCallback_Union_CustomBuilder_DragItemInfo_Void); case Kind_Callback_Union_Object_Undefined_Void: return reinterpret_cast(callManagedCallback_Union_Object_Undefined_Void); case Kind_Callback_Void: return reinterpret_cast(callManagedCallback_Void); + case Kind_Callback_WebKeyboardOptions_Void: return reinterpret_cast(callManagedCallback_WebKeyboardOptions_Void); + case Kind_Callback_WebResourceResponse_Void: return reinterpret_cast(callManagedCallback_WebResourceResponse_Void); case Kind_CheckBoxModifierBuilder: return reinterpret_cast(callManagedCheckBoxModifierBuilder); case Kind_ContentDidScrollCallback: return reinterpret_cast(callManagedContentDidScrollCallback); case Kind_ContentWillScrollCallback: return reinterpret_cast(callManagedContentWillScrollCallback); @@ -6851,32 +8090,43 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_ModifierKeyStateGetter: return reinterpret_cast(callManagedModifierKeyStateGetter); case Kind_NavDestinationTransitionDelegate: return reinterpret_cast(callManagedNavDestinationTransitionDelegate); case Kind_NavExtender_OnUpdateStack: return reinterpret_cast(callManagedNavExtender_OnUpdateStack); + case Kind_OnAdsBlockedCallback: return reinterpret_cast(callManagedOnAdsBlockedCallback); case Kind_OnAlphabetIndexerPopupSelectCallback: return reinterpret_cast(callManagedOnAlphabetIndexerPopupSelectCallback); case Kind_OnAlphabetIndexerRequestPopupDataCallback: return reinterpret_cast(callManagedOnAlphabetIndexerRequestPopupDataCallback); case Kind_OnAlphabetIndexerSelectCallback: return reinterpret_cast(callManagedOnAlphabetIndexerSelectCallback); case Kind_OnCheckboxChangeCallback: return reinterpret_cast(callManagedOnCheckboxChangeCallback); case Kind_OnCheckboxGroupChangeCallback: return reinterpret_cast(callManagedOnCheckboxGroupChangeCallback); case Kind_OnContentScrollCallback: return reinterpret_cast(callManagedOnContentScrollCallback); + case Kind_OnContextMenuHideCallback: return reinterpret_cast(callManagedOnContextMenuHideCallback); case Kind_OnCreateMenuCallback: return reinterpret_cast(callManagedOnCreateMenuCallback); case Kind_OnDidChangeCallback: return reinterpret_cast(callManagedOnDidChangeCallback); case Kind_OnDragEventCallback: return reinterpret_cast(callManagedOnDragEventCallback); + case Kind_OnFirstMeaningfulPaintCallback: return reinterpret_cast(callManagedOnFirstMeaningfulPaintCallback); case Kind_OnFoldStatusChangeCallback: return reinterpret_cast(callManagedOnFoldStatusChangeCallback); + case Kind_OnFullScreenEnterCallback: return reinterpret_cast(callManagedOnFullScreenEnterCallback); case Kind_OnHoverCallback: return reinterpret_cast(callManagedOnHoverCallback); case Kind_OnHoverStatusChangeCallback: return reinterpret_cast(callManagedOnHoverStatusChangeCallback); + case Kind_OnIntelligentTrackingPreventionCallback: return reinterpret_cast(callManagedOnIntelligentTrackingPreventionCallback); case Kind_OnItemDragStartCallback: return reinterpret_cast(callManagedOnItemDragStartCallback); - case Kind_OnLazyLoadingFunc: return reinterpret_cast(callManagedOnLazyLoadingFunc); + case Kind_OnLargestContentfulPaintCallback: return reinterpret_cast(callManagedOnLargestContentfulPaintCallback); case Kind_OnLinearIndicatorChangeCallback: return reinterpret_cast(callManagedOnLinearIndicatorChangeCallback); case Kind_OnMenuItemClickCallback: return reinterpret_cast(callManagedOnMenuItemClickCallback); case Kind_OnMoveHandler: return reinterpret_cast(callManagedOnMoveHandler); - case Kind_OnNativeLoadCallback: return reinterpret_cast(callManagedOnNativeLoadCallback); + case Kind_OnNativeEmbedVisibilityChangeCallback: return reinterpret_cast(callManagedOnNativeEmbedVisibilityChangeCallback); + case Kind_OnNavigationEntryCommittedCallback: return reinterpret_cast(callManagedOnNavigationEntryCommittedCallback); + case Kind_OnOverrideUrlLoadingCallback: return reinterpret_cast(callManagedOnOverrideUrlLoadingCallback); case Kind_OnPasteCallback: return reinterpret_cast(callManagedOnPasteCallback); case Kind_OnRadioChangeCallback: return reinterpret_cast(callManagedOnRadioChangeCallback); case Kind_OnRatingChangeCallback: return reinterpret_cast(callManagedOnRatingChangeCallback); + case Kind_OnRenderProcessNotRespondingCallback: return reinterpret_cast(callManagedOnRenderProcessNotRespondingCallback); + case Kind_OnRenderProcessRespondingCallback: return reinterpret_cast(callManagedOnRenderProcessRespondingCallback); + case Kind_OnSafeBrowsingCheckResultCallback: return reinterpret_cast(callManagedOnSafeBrowsingCheckResultCallback); case Kind_OnScrollCallback: return reinterpret_cast(callManagedOnScrollCallback); case Kind_OnScrollEdgeCallback: return reinterpret_cast(callManagedOnScrollEdgeCallback); case Kind_OnScrollFrameBeginCallback: return reinterpret_cast(callManagedOnScrollFrameBeginCallback); case Kind_OnScrollVisibleContentChangeCallback: return reinterpret_cast(callManagedOnScrollVisibleContentChangeCallback); case Kind_OnSelectCallback: return reinterpret_cast(callManagedOnSelectCallback); + case Kind_OnSslErrorEventCallback: return reinterpret_cast(callManagedOnSslErrorEventCallback); case Kind_OnSubmitCallback: return reinterpret_cast(callManagedOnSubmitCallback); case Kind_OnSwiperAnimationEndCallback: return reinterpret_cast(callManagedOnSwiperAnimationEndCallback); case Kind_OnSwiperAnimationStartCallback: return reinterpret_cast(callManagedOnSwiperAnimationStartCallback); @@ -6888,7 +8138,7 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_OnTextPickerChangeCallback: return reinterpret_cast(callManagedOnTextPickerChangeCallback); case Kind_OnTextSelectionChangeCallback: return reinterpret_cast(callManagedOnTextSelectionChangeCallback); case Kind_OnTimePickerChangeCallback: return reinterpret_cast(callManagedOnTimePickerChangeCallback); - case Kind_OnTotalCountFunc: return reinterpret_cast(callManagedOnTotalCountFunc); + case Kind_OnViewportFitChangedCallback: return reinterpret_cast(callManagedOnViewportFitChangedCallback); case Kind_OnWillScrollCallback: return reinterpret_cast(callManagedOnWillScrollCallback); case Kind_PageMapBuilder: return reinterpret_cast(callManagedPageMapBuilder); case Kind_PageTransitionCallback: return reinterpret_cast(callManagedPageTransitionCallback); @@ -6927,6 +8177,8 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_UpdateTransitionCallback: return reinterpret_cast(callManagedUpdateTransitionCallback); case Kind_VisibleAreaChangeCallback: return reinterpret_cast(callManagedVisibleAreaChangeCallback); case Kind_VoidCallback: return reinterpret_cast(callManagedVoidCallback); + case Kind_WebKeyboardCallback: return reinterpret_cast(callManagedWebKeyboardCallback); + case Kind_WorkerEventListener: return reinterpret_cast(callManagedWorkerEventListener); } return nullptr; } @@ -6991,9 +8243,12 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_Callback_ItemDragInfo_Void: return reinterpret_cast(callManagedCallback_ItemDragInfo_VoidSync); case Kind_Callback_KeyEvent_Boolean: return reinterpret_cast(callManagedCallback_KeyEvent_BooleanSync); case Kind_Callback_KeyEvent_Void: return reinterpret_cast(callManagedCallback_KeyEvent_VoidSync); - case Kind_Callback_Map_String_Object_Void: return reinterpret_cast(callManagedCallback_Map_String_Object_VoidSync); + case Kind_Callback_Map_String_RecordData_Void: return reinterpret_cast(callManagedCallback_Map_String_RecordData_VoidSync); case Kind_Callback_MarqueeState_Void: return reinterpret_cast(callManagedCallback_MarqueeState_VoidSync); case Kind_Callback_MouseEvent_Void: return reinterpret_cast(callManagedCallback_MouseEvent_VoidSync); + case Kind_Callback_NativeEmbedDataInfo_Void: return reinterpret_cast(callManagedCallback_NativeEmbedDataInfo_VoidSync); + case Kind_Callback_NativeEmbedTouchInfo_Void: return reinterpret_cast(callManagedCallback_NativeEmbedTouchInfo_VoidSync); + case Kind_Callback_NativeXComponentPointer_Void: return reinterpret_cast(callManagedCallback_NativeXComponentPointer_VoidSync); case Kind_Callback_NavDestinationActiveReason_Void: return reinterpret_cast(callManagedCallback_NavDestinationActiveReason_VoidSync); case Kind_Callback_NavDestinationContext_Void: return reinterpret_cast(callManagedCallback_NavDestinationContext_VoidSync); case Kind_Callback_NavDestinationInfo_Void: return reinterpret_cast(callManagedCallback_NavDestinationInfo_VoidSync); @@ -7012,9 +8267,45 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_Callback_Number_Tuple_Number_Number_Number_Number: return reinterpret_cast(callManagedCallback_Number_Tuple_Number_Number_Number_NumberSync); case Kind_Callback_Number_Void: return reinterpret_cast(callManagedCallback_Number_VoidSync); case Kind_Callback_Object_Void: return reinterpret_cast(callManagedCallback_Object_VoidSync); + case Kind_Callback_OnAlertEvent_Boolean: return reinterpret_cast(callManagedCallback_OnAlertEvent_BooleanSync); + case Kind_Callback_OnAudioStateChangedEvent_Void: return reinterpret_cast(callManagedCallback_OnAudioStateChangedEvent_VoidSync); + case Kind_Callback_OnBeforeUnloadEvent_Boolean: return reinterpret_cast(callManagedCallback_OnBeforeUnloadEvent_BooleanSync); + case Kind_Callback_OnClientAuthenticationEvent_Void: return reinterpret_cast(callManagedCallback_OnClientAuthenticationEvent_VoidSync); + case Kind_Callback_OnConfirmEvent_Boolean: return reinterpret_cast(callManagedCallback_OnConfirmEvent_BooleanSync); + case Kind_Callback_OnConsoleEvent_Boolean: return reinterpret_cast(callManagedCallback_OnConsoleEvent_BooleanSync); + case Kind_Callback_OnContextMenuShowEvent_Boolean: return reinterpret_cast(callManagedCallback_OnContextMenuShowEvent_BooleanSync); + case Kind_Callback_OnDataResubmittedEvent_Void: return reinterpret_cast(callManagedCallback_OnDataResubmittedEvent_VoidSync); + case Kind_Callback_OnDownloadStartEvent_Void: return reinterpret_cast(callManagedCallback_OnDownloadStartEvent_VoidSync); + case Kind_Callback_OnErrorReceiveEvent_Void: return reinterpret_cast(callManagedCallback_OnErrorReceiveEvent_VoidSync); + case Kind_Callback_OnFaviconReceivedEvent_Void: return reinterpret_cast(callManagedCallback_OnFaviconReceivedEvent_VoidSync); + case Kind_Callback_OnFirstContentfulPaintEvent_Void: return reinterpret_cast(callManagedCallback_OnFirstContentfulPaintEvent_VoidSync); + case Kind_Callback_OnGeolocationShowEvent_Void: return reinterpret_cast(callManagedCallback_OnGeolocationShowEvent_VoidSync); + case Kind_Callback_OnHttpAuthRequestEvent_Boolean: return reinterpret_cast(callManagedCallback_OnHttpAuthRequestEvent_BooleanSync); + case Kind_Callback_OnHttpErrorReceiveEvent_Void: return reinterpret_cast(callManagedCallback_OnHttpErrorReceiveEvent_VoidSync); + case Kind_Callback_OnInterceptRequestEvent_WebResourceResponse: return reinterpret_cast(callManagedCallback_OnInterceptRequestEvent_WebResourceResponseSync); + case Kind_Callback_OnLoadInterceptEvent_Boolean: return reinterpret_cast(callManagedCallback_OnLoadInterceptEvent_BooleanSync); case Kind_Callback_onMeasureSize_SizeResult: return reinterpret_cast(callManagedCallback_onMeasureSize_SizeResultSync); + case Kind_Callback_OnOverScrollEvent_Void: return reinterpret_cast(callManagedCallback_OnOverScrollEvent_VoidSync); + case Kind_Callback_OnPageBeginEvent_Void: return reinterpret_cast(callManagedCallback_OnPageBeginEvent_VoidSync); + case Kind_Callback_OnPageEndEvent_Void: return reinterpret_cast(callManagedCallback_OnPageEndEvent_VoidSync); + case Kind_Callback_OnPageVisibleEvent_Void: return reinterpret_cast(callManagedCallback_OnPageVisibleEvent_VoidSync); + case Kind_Callback_OnPermissionRequestEvent_Void: return reinterpret_cast(callManagedCallback_OnPermissionRequestEvent_VoidSync); case Kind_Callback_onPlaceChildren_Void: return reinterpret_cast(callManagedCallback_onPlaceChildren_VoidSync); + case Kind_Callback_OnProgressChangeEvent_Void: return reinterpret_cast(callManagedCallback_OnProgressChangeEvent_VoidSync); + case Kind_Callback_OnPromptEvent_Boolean: return reinterpret_cast(callManagedCallback_OnPromptEvent_BooleanSync); + case Kind_Callback_OnRefreshAccessedHistoryEvent_Void: return reinterpret_cast(callManagedCallback_OnRefreshAccessedHistoryEvent_VoidSync); + case Kind_Callback_OnRenderExitedEvent_Void: return reinterpret_cast(callManagedCallback_OnRenderExitedEvent_VoidSync); + case Kind_Callback_OnResourceLoadEvent_Void: return reinterpret_cast(callManagedCallback_OnResourceLoadEvent_VoidSync); + case Kind_Callback_OnScaleChangeEvent_Void: return reinterpret_cast(callManagedCallback_OnScaleChangeEvent_VoidSync); + case Kind_Callback_OnScreenCaptureRequestEvent_Void: return reinterpret_cast(callManagedCallback_OnScreenCaptureRequestEvent_VoidSync); + case Kind_Callback_OnScrollEvent_Void: return reinterpret_cast(callManagedCallback_OnScrollEvent_VoidSync); case Kind_Callback_OnScrollFrameBeginHandlerResult_Void: return reinterpret_cast(callManagedCallback_OnScrollFrameBeginHandlerResult_VoidSync); + case Kind_Callback_OnSearchResultReceiveEvent_Void: return reinterpret_cast(callManagedCallback_OnSearchResultReceiveEvent_VoidSync); + case Kind_Callback_OnShowFileSelectorEvent_Boolean: return reinterpret_cast(callManagedCallback_OnShowFileSelectorEvent_BooleanSync); + case Kind_Callback_OnSslErrorEventReceiveEvent_Void: return reinterpret_cast(callManagedCallback_OnSslErrorEventReceiveEvent_VoidSync); + case Kind_Callback_OnTitleReceiveEvent_Void: return reinterpret_cast(callManagedCallback_OnTitleReceiveEvent_VoidSync); + case Kind_Callback_OnTouchIconUrlReceivedEvent_Void: return reinterpret_cast(callManagedCallback_OnTouchIconUrlReceivedEvent_VoidSync); + case Kind_Callback_OnWindowNewEvent_Void: return reinterpret_cast(callManagedCallback_OnWindowNewEvent_VoidSync); case Kind_Callback_Opt_Array_FontDescriptor_Opt_Array_String_Void: return reinterpret_cast(callManagedCallback_Opt_Array_FontDescriptor_Opt_Array_String_VoidSync); case Kind_Callback_Opt_Array_NavDestinationTransition_Void: return reinterpret_cast(callManagedCallback_Opt_Array_NavDestinationTransition_VoidSync); case Kind_Callback_Opt_Array_String_Opt_Array_String_Void: return reinterpret_cast(callManagedCallback_Opt_Array_String_Opt_Array_String_VoidSync); @@ -7083,6 +8374,8 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_Callback_Union_CustomBuilder_DragItemInfo_Void: return reinterpret_cast(callManagedCallback_Union_CustomBuilder_DragItemInfo_VoidSync); case Kind_Callback_Union_Object_Undefined_Void: return reinterpret_cast(callManagedCallback_Union_Object_Undefined_VoidSync); case Kind_Callback_Void: return reinterpret_cast(callManagedCallback_VoidSync); + case Kind_Callback_WebKeyboardOptions_Void: return reinterpret_cast(callManagedCallback_WebKeyboardOptions_VoidSync); + case Kind_Callback_WebResourceResponse_Void: return reinterpret_cast(callManagedCallback_WebResourceResponse_VoidSync); case Kind_CheckBoxModifierBuilder: return reinterpret_cast(callManagedCheckBoxModifierBuilderSync); case Kind_ContentDidScrollCallback: return reinterpret_cast(callManagedContentDidScrollCallbackSync); case Kind_ContentWillScrollCallback: return reinterpret_cast(callManagedContentWillScrollCallbackSync); @@ -7107,32 +8400,43 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_ModifierKeyStateGetter: return reinterpret_cast(callManagedModifierKeyStateGetterSync); case Kind_NavDestinationTransitionDelegate: return reinterpret_cast(callManagedNavDestinationTransitionDelegateSync); case Kind_NavExtender_OnUpdateStack: return reinterpret_cast(callManagedNavExtender_OnUpdateStackSync); + case Kind_OnAdsBlockedCallback: return reinterpret_cast(callManagedOnAdsBlockedCallbackSync); case Kind_OnAlphabetIndexerPopupSelectCallback: return reinterpret_cast(callManagedOnAlphabetIndexerPopupSelectCallbackSync); case Kind_OnAlphabetIndexerRequestPopupDataCallback: return reinterpret_cast(callManagedOnAlphabetIndexerRequestPopupDataCallbackSync); case Kind_OnAlphabetIndexerSelectCallback: return reinterpret_cast(callManagedOnAlphabetIndexerSelectCallbackSync); case Kind_OnCheckboxChangeCallback: return reinterpret_cast(callManagedOnCheckboxChangeCallbackSync); case Kind_OnCheckboxGroupChangeCallback: return reinterpret_cast(callManagedOnCheckboxGroupChangeCallbackSync); case Kind_OnContentScrollCallback: return reinterpret_cast(callManagedOnContentScrollCallbackSync); + case Kind_OnContextMenuHideCallback: return reinterpret_cast(callManagedOnContextMenuHideCallbackSync); case Kind_OnCreateMenuCallback: return reinterpret_cast(callManagedOnCreateMenuCallbackSync); case Kind_OnDidChangeCallback: return reinterpret_cast(callManagedOnDidChangeCallbackSync); case Kind_OnDragEventCallback: return reinterpret_cast(callManagedOnDragEventCallbackSync); + case Kind_OnFirstMeaningfulPaintCallback: return reinterpret_cast(callManagedOnFirstMeaningfulPaintCallbackSync); case Kind_OnFoldStatusChangeCallback: return reinterpret_cast(callManagedOnFoldStatusChangeCallbackSync); + case Kind_OnFullScreenEnterCallback: return reinterpret_cast(callManagedOnFullScreenEnterCallbackSync); case Kind_OnHoverCallback: return reinterpret_cast(callManagedOnHoverCallbackSync); case Kind_OnHoverStatusChangeCallback: return reinterpret_cast(callManagedOnHoverStatusChangeCallbackSync); + case Kind_OnIntelligentTrackingPreventionCallback: return reinterpret_cast(callManagedOnIntelligentTrackingPreventionCallbackSync); case Kind_OnItemDragStartCallback: return reinterpret_cast(callManagedOnItemDragStartCallbackSync); - case Kind_OnLazyLoadingFunc: return reinterpret_cast(callManagedOnLazyLoadingFuncSync); + case Kind_OnLargestContentfulPaintCallback: return reinterpret_cast(callManagedOnLargestContentfulPaintCallbackSync); case Kind_OnLinearIndicatorChangeCallback: return reinterpret_cast(callManagedOnLinearIndicatorChangeCallbackSync); case Kind_OnMenuItemClickCallback: return reinterpret_cast(callManagedOnMenuItemClickCallbackSync); case Kind_OnMoveHandler: return reinterpret_cast(callManagedOnMoveHandlerSync); - case Kind_OnNativeLoadCallback: return reinterpret_cast(callManagedOnNativeLoadCallbackSync); + case Kind_OnNativeEmbedVisibilityChangeCallback: return reinterpret_cast(callManagedOnNativeEmbedVisibilityChangeCallbackSync); + case Kind_OnNavigationEntryCommittedCallback: return reinterpret_cast(callManagedOnNavigationEntryCommittedCallbackSync); + case Kind_OnOverrideUrlLoadingCallback: return reinterpret_cast(callManagedOnOverrideUrlLoadingCallbackSync); case Kind_OnPasteCallback: return reinterpret_cast(callManagedOnPasteCallbackSync); case Kind_OnRadioChangeCallback: return reinterpret_cast(callManagedOnRadioChangeCallbackSync); case Kind_OnRatingChangeCallback: return reinterpret_cast(callManagedOnRatingChangeCallbackSync); + case Kind_OnRenderProcessNotRespondingCallback: return reinterpret_cast(callManagedOnRenderProcessNotRespondingCallbackSync); + case Kind_OnRenderProcessRespondingCallback: return reinterpret_cast(callManagedOnRenderProcessRespondingCallbackSync); + case Kind_OnSafeBrowsingCheckResultCallback: return reinterpret_cast(callManagedOnSafeBrowsingCheckResultCallbackSync); case Kind_OnScrollCallback: return reinterpret_cast(callManagedOnScrollCallbackSync); case Kind_OnScrollEdgeCallback: return reinterpret_cast(callManagedOnScrollEdgeCallbackSync); case Kind_OnScrollFrameBeginCallback: return reinterpret_cast(callManagedOnScrollFrameBeginCallbackSync); case Kind_OnScrollVisibleContentChangeCallback: return reinterpret_cast(callManagedOnScrollVisibleContentChangeCallbackSync); case Kind_OnSelectCallback: return reinterpret_cast(callManagedOnSelectCallbackSync); + case Kind_OnSslErrorEventCallback: return reinterpret_cast(callManagedOnSslErrorEventCallbackSync); case Kind_OnSubmitCallback: return reinterpret_cast(callManagedOnSubmitCallbackSync); case Kind_OnSwiperAnimationEndCallback: return reinterpret_cast(callManagedOnSwiperAnimationEndCallbackSync); case Kind_OnSwiperAnimationStartCallback: return reinterpret_cast(callManagedOnSwiperAnimationStartCallbackSync); @@ -7144,7 +8448,7 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_OnTextPickerChangeCallback: return reinterpret_cast(callManagedOnTextPickerChangeCallbackSync); case Kind_OnTextSelectionChangeCallback: return reinterpret_cast(callManagedOnTextSelectionChangeCallbackSync); case Kind_OnTimePickerChangeCallback: return reinterpret_cast(callManagedOnTimePickerChangeCallbackSync); - case Kind_OnTotalCountFunc: return reinterpret_cast(callManagedOnTotalCountFuncSync); + case Kind_OnViewportFitChangedCallback: return reinterpret_cast(callManagedOnViewportFitChangedCallbackSync); case Kind_OnWillScrollCallback: return reinterpret_cast(callManagedOnWillScrollCallbackSync); case Kind_PageMapBuilder: return reinterpret_cast(callManagedPageMapBuilderSync); case Kind_PageTransitionCallback: return reinterpret_cast(callManagedPageTransitionCallbackSync); @@ -7183,6 +8487,8 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_UpdateTransitionCallback: return reinterpret_cast(callManagedUpdateTransitionCallbackSync); case Kind_VisibleAreaChangeCallback: return reinterpret_cast(callManagedVisibleAreaChangeCallbackSync); case Kind_VoidCallback: return reinterpret_cast(callManagedVoidCallbackSync); + case Kind_WebKeyboardCallback: return reinterpret_cast(callManagedWebKeyboardCallbackSync); + case Kind_WorkerEventListener: return reinterpret_cast(callManagedWorkerEventListenerSync); } return nullptr; } \ No newline at end of file diff --git a/arkoala-arkts/framework/native/src/generated/dummy_impl.cc b/arkoala-arkts/framework/native/src/generated/dummy_impl.cc index 6019ba14a..f5a575910 100644 --- a/arkoala-arkts/framework/native/src/generated/dummy_impl.cc +++ b/arkoala-arkts/framework/native/src/generated/dummy_impl.cc @@ -2035,27 +2035,15 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // CanvasModifier namespace CanvasInterfaceModifier { - void SetCanvasOptions0Impl(Ark_NativePointer node, - const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext* context) + void SetCanvasOptionsImpl(Ark_NativePointer node, + const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext* context, + const Opt_ImageAIOptions* imageAIOptions) { if (!needGroupedLog(1)) { return; } - string out("setCanvasOptions0("); - WriteToString(&out, context); - out.append(") \n"); - appendGroupedLog(1, out); - } - void SetCanvasOptions1Impl(Ark_NativePointer node, - const Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext* context, - const Ark_ImageAIOptions* imageAIOptions) - { - if (!needGroupedLog(1)) - { - return; - } - string out("setCanvasOptions1("); + string out("setCanvasOptions("); WriteToString(&out, context); out.append(", "); WriteToString(&out, imageAIOptions); @@ -2321,14 +2309,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // CircleModifier namespace CircleInterfaceModifier { void SetCircleOptionsImpl(Ark_NativePointer node, - const Opt_CircleOptions* value) + const Opt_CircleOptions* options) { if (!needGroupedLog(1)) { return; } string out("setCircleOptions("); - WriteToString(&out, value); + WriteToString(&out, options); out.append(") \n"); appendGroupedLog(1, out); } @@ -2390,18 +2378,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SetPointLightImpl(Ark_NativePointer node, - const Opt_PointLightStyle* value) - { - if (!needGroupedLog(1)) - { - return; - } - string out("setPointLight("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } void SetReverseImpl(Ark_NativePointer node, const Opt_Boolean* value) { @@ -3664,26 +3640,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SetAlignRules0Impl(Ark_NativePointer node, - const Opt_AlignRuleOption* value) + void SetAlignRulesWithAlignRuleOptionTypedValueImpl(Ark_NativePointer node, + const Opt_AlignRuleOption* value) { if (!needGroupedLog(1)) { return; } - string out("setAlignRules0("); + string out("setAlignRulesWithAlignRuleOptionTypedValue("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void SetAlignRules1Impl(Ark_NativePointer node, - const Opt_LocalizedAlignRuleOptions* value) + void SetAlignRulesWithLocalizedAlignRuleOptionsTypedValueImpl(Ark_NativePointer node, + const Opt_LocalizedAlignRuleOptions* value) { if (!needGroupedLog(1)) { return; } - string out("setAlignRules1("); + string out("setAlignRulesWithLocalizedAlignRuleOptionsTypedValue("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); @@ -4024,26 +4000,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SetAccessibilityGroup0Impl(Ark_NativePointer node, - const Opt_Boolean* value) + void SetAccessibilityGroupWithValueImpl(Ark_NativePointer node, + const Opt_Boolean* value) { if (!needGroupedLog(1)) { return; } - string out("setAccessibilityGroup0("); + string out("setAccessibilityGroupWithValue("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void SetAccessibilityText0Impl(Ark_NativePointer node, - const Opt_String* value) + void SetAccessibilityTextOfStringTypeImpl(Ark_NativePointer node, + const Opt_String* value) { if (!needGroupedLog(1)) { return; } - string out("setAccessibilityText0("); + string out("setAccessibilityTextOfStringType("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); @@ -4096,14 +4072,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SetAccessibilityText1Impl(Ark_NativePointer node, - const Opt_Resource* value) + void SetAccessibilityTextOfResourceTypeImpl(Ark_NativePointer node, + const Opt_Resource* value) { if (!needGroupedLog(1)) { return; } - string out("setAccessibilityText1("); + string out("setAccessibilityTextOfResourceType("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); @@ -4144,26 +4120,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SetAccessibilityDescription0Impl(Ark_NativePointer node, - const Opt_String* value) + void SetAccessibilityDescriptionOfStringTypeImpl(Ark_NativePointer node, + const Opt_String* value) { if (!needGroupedLog(1)) { return; } - string out("setAccessibilityDescription0("); + string out("setAccessibilityDescriptionOfStringType("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void SetAccessibilityDescription1Impl(Ark_NativePointer node, - const Opt_Resource* value) + void SetAccessibilityDescriptionOfResourceTypeImpl(Ark_NativePointer node, + const Opt_Resource* value) { if (!needGroupedLog(1)) { return; } - string out("setAccessibilityDescription1("); + string out("setAccessibilityDescriptionOfResourceType("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); @@ -5006,18 +4982,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SetAccessibilityGroup1Impl(Ark_NativePointer node, - const Opt_Boolean* isGroup, - const Opt_AccessibilityOptions* accessibilityOptions) + void SetAccessibilityGroupWithConfigImpl(Ark_NativePointer node, + const Opt_Boolean* isGroup, + const Opt_AccessibilityOptions* config) { if (!needGroupedLog(1)) { return; } - string out("setAccessibilityGroup1("); + string out("setAccessibilityGroupWithConfig("); WriteToString(&out, isGroup); out.append(", "); - WriteToString(&out, accessibilityOptions); + WriteToString(&out, config); out.append(") \n"); appendGroupedLog(1, out); } @@ -5764,7 +5740,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { namespace EmbeddedComponentInterfaceModifier { void SetEmbeddedComponentOptionsImpl(Ark_NativePointer node, const Ark_Want* loader, - Ark_EmbeddedType type) + const Opt_EmbeddedType* type) { if (!needGroupedLog(1)) { @@ -5836,20 +5812,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } } // FlexInterfaceModifier - namespace FlexAttributeModifier { - void SetPointLightImpl(Ark_NativePointer node, - const Opt_PointLightStyle* value) - { - if (!needGroupedLog(1)) - { - return; - } - string out("setPointLight("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - } // FlexAttributeModifier namespace FlowItemModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, Ark_Int32 flags) @@ -6398,6 +6360,42 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void SetScrollBarWidthImpl(Ark_NativePointer node, + const Opt_Union_Number_String* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setScrollBarWidth("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetScrollBarColorImpl(Ark_NativePointer node, + const Opt_Union_Color_Number_String* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setScrollBarColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetScrollBarImpl(Ark_NativePointer node, + const Opt_BarState* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setScrollBar("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void SetOnScrollBarUpdateImpl(Ark_NativePointer node, const Opt_Callback_Number_Number_ComputedBarAttribute* value) { @@ -6578,6 +6576,42 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void SetNestedScrollImpl(Ark_NativePointer node, + const Opt_NestedScrollOptions* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setNestedScroll("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetEnableScrollInteractionImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setEnableScrollInteraction("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetFrictionImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setFriction("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void SetAlignItemsImpl(Ark_NativePointer node, const Opt_GridItemAlignment* value) { @@ -6641,6 +6675,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void SetEdgeEffectImpl(Ark_NativePointer node, + const Opt_EdgeEffect* value, + const Opt_EdgeEffectOptions* options) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setEdgeEffect("); + WriteToString(&out, value); + out.append(", "); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } } // GridAttributeModifier namespace GridColModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -9300,24 +9349,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // NavigationModifier namespace NavigationInterfaceModifier { - void SetNavigationOptions0Impl(Ark_NativePointer node) + void SetNavigationOptionsImpl(Ark_NativePointer node, + Ark_NavPathStack pathInfos) { if (!needGroupedLog(1)) { return; } - string out("setNavigationOptions0("); - out.append(") \n"); - appendGroupedLog(1, out); - } - void SetNavigationOptions1Impl(Ark_NativePointer node, - Ark_NavPathStack pathInfos) - { - if (!needGroupedLog(1)) - { - return; - } - string out("setNavigationOptions1("); + string out("setNavigationOptions("); WriteToString(&out, pathInfos); out.append(") \n"); appendGroupedLog(1, out); @@ -9758,6 +9797,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } } // PathInterfaceModifier + namespace PathAttributeModifier { + void SetCommandsImpl(Ark_NativePointer node, + const Opt_String* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setCommands("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // PathAttributeModifier namespace PatternLockModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, Ark_Int32 flags) @@ -10435,8 +10488,32 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // RectInterfaceModifier namespace RectAttributeModifier { + void SetRadiusWidthImpl(Ark_NativePointer node, + const Opt_Union_F64_String* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setRadiusWidth("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetRadiusHeightImpl(Ark_NativePointer node, + const Opt_Union_F64_String* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setRadiusHeight("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void SetRadiusImpl(Ark_NativePointer node, - const Opt_Union_Number_String_Array_Union_Number_String* value) + const Opt_Union_Length_Array_RadiusItem* value) { if (!needGroupedLog(1)) { @@ -10661,26 +10738,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // RichEditorModifier namespace RichEditorInterfaceModifier { - void SetRichEditorOptions0Impl(Ark_NativePointer node, - const Ark_RichEditorOptions* value) + void SetRichEditorOptionsImpl(Ark_NativePointer node, + const Ark_Union_RichEditorOptions_RichEditorStyledStringOptions* options) { if (!needGroupedLog(1)) { return; } - string out("setRichEditorOptions0("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void SetRichEditorOptions1Impl(Ark_NativePointer node, - const Ark_RichEditorStyledStringOptions* options) - { - if (!needGroupedLog(1)) - { - return; - } - string out("setRichEditorOptions1("); + string out("setRichEditorOptions("); WriteToString(&out, options); out.append(") \n"); appendGroupedLog(1, out); @@ -11264,18 +11329,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SetPointLightImpl(Ark_NativePointer node, - const Opt_PointLightStyle* value) - { - if (!needGroupedLog(1)) - { - return; - } - string out("setPointLight("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } void SetReverseImpl(Ark_NativePointer node, const Opt_Boolean* value) { @@ -12430,7 +12483,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void SetSearchButtonImpl(Ark_NativePointer node, - const Opt_ResourceStr* value, + const Opt_String* value, const Opt_SearchButtonOptions* option) { if (!needGroupedLog(1)) @@ -12820,6 +12873,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void SetBackgroundColorImpl(Ark_NativePointer node, + const Opt_ResourceColor* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setBackgroundColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void SetMenuAlignImpl(Ark_NativePointer node, const Opt_MenuAlignType* alignType, const Opt_Offset* offset) @@ -12906,7 +12971,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void SetStrokeDashOffsetImpl(Ark_NativePointer node, - const Opt_Length* value) + const Opt_Union_F64_String* value) { if (!needGroupedLog(1)) { @@ -12954,7 +13019,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void SetStrokeMiterLimitImpl(Ark_NativePointer node, - const Opt_Length* value) + const Opt_Union_F64_String* value) { if (!needGroupedLog(1)) { @@ -12966,7 +13031,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void SetStrokeOpacityImpl(Ark_NativePointer node, - const Opt_Union_Number_String_Resource* value) + const Opt_Union_F64_String_Resource* value) { if (!needGroupedLog(1)) { @@ -12978,7 +13043,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void SetFillOpacityImpl(Ark_NativePointer node, - const Opt_Union_Number_String_Resource* value) + const Opt_Union_F64_String_Resource* value) { if (!needGroupedLog(1)) { @@ -12990,7 +13055,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void SetStrokeWidthImpl(Ark_NativePointer node, - const Opt_Length* value) + const Opt_Union_F64_String* value) { if (!needGroupedLog(1)) { @@ -13014,9 +13079,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void SetMeshImpl(Ark_NativePointer node, - const Opt_Array_Number* value, - const Opt_Number* column, - const Opt_Number* row) + const Opt_Array_Float64* value, + const Opt_Int32* column, + const Opt_Int32* row) { if (!needGroupedLog(1)) { @@ -13113,14 +13178,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SetSideBarWidth0Impl(Ark_NativePointer node, - const Opt_Union_Number_Bindable* value) + void SetSideBarWidthImpl(Ark_NativePointer node, + const Opt_Union_Length_Bindable* value) { if (!needGroupedLog(1)) { return; } - string out("setSideBarWidth0("); + string out("setSideBarWidth("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); @@ -13149,18 +13214,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SetSideBarWidth1Impl(Ark_NativePointer node, - const Opt_Length* value) - { - if (!needGroupedLog(1)) - { - return; - } - string out("setSideBarWidth1("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } void SetMinSideBarWidth1Impl(Ark_NativePointer node, const Opt_Length* value) { @@ -13722,18 +13775,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SetPointLightImpl(Ark_NativePointer node, - const Opt_PointLightStyle* value) - { - if (!needGroupedLog(1)) - { - return; - } - string out("setPointLight("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } } // StackAttributeModifier namespace StepperModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -15684,7 +15725,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void SetFontWeightImpl(Ark_NativePointer node, - const Opt_Union_Number_FontWeight_ResourceStr* value) + const Opt_Union_Number_FontWeight_String* value) { if (!needGroupedLog(1)) { @@ -16709,7 +16750,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void SetFontWeightImpl(Ark_NativePointer node, - const Opt_Union_Number_FontWeight_ResourceStr* value) + const Opt_Union_Number_FontWeight_String* value) { if (!needGroupedLog(1)) { @@ -17958,6 +17999,38 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } } // ToggleAttributeModifier + namespace ToolBarItemModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + if (!needGroupedLog(1)) + { + return new TreeNode("ToolBarItem", id, flags);; + } + string out("construct("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, flags); + out.append(") \n"); + out.append("[return nullptr] \n"); + appendGroupedLog(1, out); + return new TreeNode("ToolBarItem", id, flags);; + } + } // ToolBarItemModifier + namespace ToolBarItemInterfaceModifier { + void SetToolBarItemOptionsImpl(Ark_NativePointer node, + const Opt_ToolBarItemOptions* options) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setToolBarItemOptions("); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // ToolBarItemInterfaceModifier namespace UIExtensionComponentModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, Ark_Int32 flags) @@ -18007,7 +18080,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void SetOnReceiveImpl(Ark_NativePointer node, - const Opt_Callback_Map_String_Object_Void* value) + const Opt_Callback_Map_String_RecordData_Void* value) { if (!needGroupedLog(1)) { @@ -18257,7 +18330,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void SetOnStopImpl(Ark_NativePointer node, - const Opt_Callback_Void* value) + const Opt_VoidCallback* value) { if (!needGroupedLog(1)) { @@ -18292,18 +18365,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SetSurfaceBackgroundColorImpl(Ark_NativePointer node, - const Opt_ColorMetrics* value) - { - if (!needGroupedLog(1)) - { - return; - } - string out("setSurfaceBackgroundColor("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } void SetEnableShortcutKeyImpl(Ark_NativePointer node, const Opt_Boolean* value) { @@ -18498,13 +18559,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } } // WaterFlowAttributeModifier - namespace WindowSceneModifier { + namespace WebModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, Ark_Int32 flags) { if (!needGroupedLog(1)) { - return new TreeNode("WindowScene", id, flags);; + return new TreeNode("Web", id, flags);; } string out("construct("); WriteToString(&out, id); @@ -18513,2418 +18574,5741 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return new TreeNode("WindowScene", id, flags);; + return new TreeNode("Web", id, flags);; } - } // WindowSceneModifier - namespace WindowSceneInterfaceModifier { - void SetWindowSceneOptionsImpl(Ark_NativePointer node, - const Ark_Number* persistentId) + } // WebModifier + namespace WebInterfaceModifier { + void SetWebOptionsImpl(Ark_NativePointer node, + const Ark_WebOptions* value) { if (!needGroupedLog(1)) { return; } - string out("setWindowSceneOptions("); - WriteToString(&out, persistentId); + string out("setWebOptions("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - } // WindowSceneInterfaceModifier - namespace WindowSceneAttributeModifier { - void SetAttractionEffectImpl(Ark_NativePointer node, - const Opt_Position* destination, - const Opt_Number* fraction) + } // WebInterfaceModifier + namespace WebAttributeModifier { + void SetJavaScriptAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { if (!needGroupedLog(1)) { return; } - string out("setAttractionEffect("); - WriteToString(&out, destination); - out.append(", "); - WriteToString(&out, fraction); + string out("setJavaScriptAccess("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - } // WindowSceneAttributeModifier - namespace WithThemeModifier { - Ark_NativePointer ConstructImpl(Ark_Int32 id, - Ark_Int32 flags) + void SetFileAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { if (!needGroupedLog(1)) { - return new TreeNode("WithTheme", id, flags);; + return; } - string out("construct("); - WriteToString(&out, id); - out.append(", "); - WriteToString(&out, flags); + string out("setFileAccess("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return new TreeNode("WithTheme", id, flags);; } - } // WithThemeModifier - namespace WithThemeInterfaceModifier { - void SetWithThemeOptionsImpl(Ark_NativePointer node, - const Ark_WithThemeOptions* options) + void SetOnlineImageAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { if (!needGroupedLog(1)) { return; } - string out("setWithThemeOptions("); - WriteToString(&out, options); + string out("setOnlineImageAccess("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - } // WithThemeInterfaceModifier - namespace XComponentModifier { - Ark_NativePointer ConstructImpl(Ark_Int32 id, - Ark_Int32 flags) + void SetDomStorageAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { if (!needGroupedLog(1)) { - return new TreeNode("XComponent", id, flags);; + return; } - string out("construct("); - WriteToString(&out, id); - out.append(", "); - WriteToString(&out, flags); + string out("setDomStorageAccess("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return new TreeNode("XComponent", id, flags);; } - } // XComponentModifier - namespace XComponentInterfaceModifier { - void SetXComponentOptions0Impl(Ark_NativePointer node, - const Ark_XComponentParameter* value) + void SetImageAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { if (!needGroupedLog(1)) { return; } - string out("setXComponentOptions0("); + string out("setImageAccess("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void SetXComponentOptions1Impl(Ark_NativePointer node, - const Ark_XComponentOptions* options) + void SetMixedModeImpl(Ark_NativePointer node, + const Opt_MixedMode* value) { if (!needGroupedLog(1)) { return; } - string out("setXComponentOptions1("); - WriteToString(&out, options); + string out("setMixedMode("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void SetXComponentOptions2Impl(Ark_NativePointer node, - const Ark_NativeXComponentParameters* params) + void SetZoomAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { if (!needGroupedLog(1)) { return; } - string out("setXComponentOptions2("); - WriteToString(&out, params); + string out("setZoomAccess("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - } // XComponentInterfaceModifier - namespace XComponentAttributeModifier { - void SetOnLoadImpl(Ark_NativePointer node, - const Opt_OnNativeLoadCallback* value) + void SetGeolocationAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { if (!needGroupedLog(1)) { return; } - string out("setOnLoad("); + string out("setGeolocationAccess("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void SetOnDestroyImpl(Ark_NativePointer node, - const Opt_VoidCallback* value) + void SetJavaScriptProxyImpl(Ark_NativePointer node, + const Opt_JavaScriptProxy* value) { if (!needGroupedLog(1)) { return; } - string out("setOnDestroy("); + string out("setJavaScriptProxy("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void SetEnableAnalyzerImpl(Ark_NativePointer node, + void SetCacheModeImpl(Ark_NativePointer node, + const Opt_CacheMode* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setCacheMode("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetDarkModeImpl(Ark_NativePointer node, + const Opt_WebDarkMode* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setDarkMode("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetForceDarkAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setForceDarkAccess("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetMediaOptionsImpl(Ark_NativePointer node, + const Opt_WebMediaOptions* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setMediaOptions("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOverviewModeAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setOverviewModeAccess("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOverScrollModeImpl(Ark_NativePointer node, + const Opt_OverScrollMode* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setOverScrollMode("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetBlurOnKeyboardHideModeImpl(Ark_NativePointer node, + const Opt_BlurOnKeyboardHideMode* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setBlurOnKeyboardHideMode("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetTextZoomRatioImpl(Ark_NativePointer node, + const Opt_Int32* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setTextZoomRatio("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetDatabaseAccessImpl(Ark_NativePointer node, const Opt_Boolean* value) { if (!needGroupedLog(1)) { return; } - string out("setEnableAnalyzer("); + string out("setDatabaseAccess("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void SetEnableSecureImpl(Ark_NativePointer node, + void SetInitialScaleImpl(Ark_NativePointer node, + const Opt_Float64* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setInitialScale("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetMetaViewportImpl(Ark_NativePointer node, const Opt_Boolean* value) { if (!needGroupedLog(1)) { return; } - string out("setEnableSecure("); + string out("setMetaViewport("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void SetHdrBrightnessImpl(Ark_NativePointer node, - const Opt_Number* value) + void SetOnPageEndImpl(Ark_NativePointer node, + const Opt_Callback_OnPageEndEvent_Void* value) { if (!needGroupedLog(1)) { return; } - string out("setHdrBrightness("); + string out("setOnPageEnd("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void SetEnableTransparentLayerImpl(Ark_NativePointer node, - const Opt_Boolean* value) + void SetOnPageBeginImpl(Ark_NativePointer node, + const Opt_Callback_OnPageBeginEvent_Void* value) { if (!needGroupedLog(1)) { return; } - string out("setEnableTransparentLayer("); + string out("setOnPageBegin("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - } // XComponentAttributeModifier - const GENERATED_ArkUIAlphabetIndexerModifier* GetAlphabetIndexerModifier() + void SetOnProgressChangeImpl(Ark_NativePointer node, + const Opt_Callback_OnProgressChangeEvent_Void* value) { - static const GENERATED_ArkUIAlphabetIndexerModifier ArkUIAlphabetIndexerModifierImpl { - AlphabetIndexerModifier::ConstructImpl, - AlphabetIndexerInterfaceModifier::SetAlphabetIndexerOptionsImpl, - AlphabetIndexerAttributeModifier::SetColorImpl, - AlphabetIndexerAttributeModifier::SetSelectedColorImpl, - AlphabetIndexerAttributeModifier::SetPopupColorImpl, - AlphabetIndexerAttributeModifier::SetSelectedBackgroundColorImpl, - AlphabetIndexerAttributeModifier::SetPopupBackgroundImpl, - AlphabetIndexerAttributeModifier::SetPopupSelectedColorImpl, - AlphabetIndexerAttributeModifier::SetPopupUnselectedColorImpl, - AlphabetIndexerAttributeModifier::SetPopupItemBackgroundColorImpl, - AlphabetIndexerAttributeModifier::SetUsingPopupImpl, - AlphabetIndexerAttributeModifier::SetSelectedFontImpl, - AlphabetIndexerAttributeModifier::SetPopupFontImpl, - AlphabetIndexerAttributeModifier::SetPopupItemFontImpl, - AlphabetIndexerAttributeModifier::SetItemSizeImpl, - AlphabetIndexerAttributeModifier::SetFontImpl, - AlphabetIndexerAttributeModifier::SetOnSelectImpl, - AlphabetIndexerAttributeModifier::SetOnRequestPopupDataImpl, - AlphabetIndexerAttributeModifier::SetOnPopupSelectImpl, - AlphabetIndexerAttributeModifier::SetSelectedImpl, - AlphabetIndexerAttributeModifier::SetPopupPositionImpl, - AlphabetIndexerAttributeModifier::SetAutoCollapseImpl, - AlphabetIndexerAttributeModifier::SetPopupItemBorderRadiusImpl, - AlphabetIndexerAttributeModifier::SetItemBorderRadiusImpl, - AlphabetIndexerAttributeModifier::SetPopupBackgroundBlurStyleImpl, - AlphabetIndexerAttributeModifier::SetPopupTitleBackgroundImpl, - AlphabetIndexerAttributeModifier::SetEnableHapticFeedbackImpl, - AlphabetIndexerAttributeModifier::SetAlignStyleImpl, - }; - return &ArkUIAlphabetIndexerModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnProgressChange("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIAnimatorModifier* GetAnimatorModifier() + void SetOnTitleReceiveImpl(Ark_NativePointer node, + const Opt_Callback_OnTitleReceiveEvent_Void* value) { - static const GENERATED_ArkUIAnimatorModifier ArkUIAnimatorModifierImpl { - AnimatorModifier::ConstructImpl, - AnimatorInterfaceModifier::SetAnimatorOptionsImpl, - AnimatorAttributeModifier::SetStateImpl, - AnimatorAttributeModifier::SetDurationImpl, - AnimatorAttributeModifier::SetCurveImpl, - AnimatorAttributeModifier::SetDelayImpl, - AnimatorAttributeModifier::SetFillModeImpl, - AnimatorAttributeModifier::SetIterationsImpl, - AnimatorAttributeModifier::SetPlayModeImpl, - AnimatorAttributeModifier::SetMotionImpl, - AnimatorAttributeModifier::SetOnStartImpl, - AnimatorAttributeModifier::SetOnPauseImpl, - AnimatorAttributeModifier::SetOnRepeatImpl, - AnimatorAttributeModifier::SetOnCancelImpl, - AnimatorAttributeModifier::SetOnFinishImpl, - AnimatorAttributeModifier::SetOnFrameImpl, - }; - return &ArkUIAnimatorModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnTitleReceive("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIBadgeModifier* GetBadgeModifier() + void SetOnGeolocationHideImpl(Ark_NativePointer node, + const Opt_Callback_Void* value) { - static const GENERATED_ArkUIBadgeModifier ArkUIBadgeModifierImpl { - BadgeModifier::ConstructImpl, - BadgeInterfaceModifier::SetBadgeOptions0Impl, - BadgeInterfaceModifier::SetBadgeOptions1Impl, - }; - return &ArkUIBadgeModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnGeolocationHide("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIBaseSpanModifier* GetBaseSpanModifier() + void SetOnGeolocationShowImpl(Ark_NativePointer node, + const Opt_Callback_OnGeolocationShowEvent_Void* value) { - static const GENERATED_ArkUIBaseSpanModifier ArkUIBaseSpanModifierImpl { - BaseSpanModifier::ConstructImpl, - BaseSpanModifier::SetTextBackgroundStyleImpl, - BaseSpanModifier::SetBaselineOffsetImpl, - }; - return &ArkUIBaseSpanModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnGeolocationShow("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIBlankModifier* GetBlankModifier() + void SetOnRequestSelectedImpl(Ark_NativePointer node, + const Opt_Callback_Void* value) { - static const GENERATED_ArkUIBlankModifier ArkUIBlankModifierImpl { - BlankModifier::ConstructImpl, - BlankInterfaceModifier::SetBlankOptionsImpl, - BlankAttributeModifier::SetColorImpl, - }; - return &ArkUIBlankModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnRequestSelected("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIButtonModifier* GetButtonModifier() + void SetOnAlertImpl(Ark_NativePointer node, + const Opt_Callback_OnAlertEvent_Boolean* value) { - static const GENERATED_ArkUIButtonModifier ArkUIButtonModifierImpl { - ButtonModifier::ConstructImpl, - ButtonInterfaceModifier::SetButtonOptionsImpl, - ButtonAttributeModifier::SetTypeImpl, - ButtonAttributeModifier::SetStateEffectImpl, - ButtonAttributeModifier::SetButtonStyleImpl, - ButtonAttributeModifier::SetControlSizeImpl, - ButtonAttributeModifier::SetRoleImpl, - ButtonAttributeModifier::SetFontColorImpl, - ButtonAttributeModifier::SetFontSizeImpl, - ButtonAttributeModifier::SetFontWeightImpl, - ButtonAttributeModifier::SetFontStyleImpl, - ButtonAttributeModifier::SetFontFamilyImpl, - ButtonAttributeModifier::SetLabelStyleImpl, - ButtonAttributeModifier::SetMinFontScaleImpl, - ButtonAttributeModifier::SetMaxFontScaleImpl, - }; - return &ArkUIButtonModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnAlert("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUICalendarPickerModifier* GetCalendarPickerModifier() + void SetOnBeforeUnloadImpl(Ark_NativePointer node, + const Opt_Callback_OnBeforeUnloadEvent_Boolean* value) { - static const GENERATED_ArkUICalendarPickerModifier ArkUICalendarPickerModifierImpl { - CalendarPickerModifier::ConstructImpl, - CalendarPickerInterfaceModifier::SetCalendarPickerOptionsImpl, - CalendarPickerAttributeModifier::SetTextStyleImpl, - CalendarPickerAttributeModifier::SetOnChangeImpl, - CalendarPickerAttributeModifier::SetMarkTodayImpl, - CalendarPickerAttributeModifier::SetEdgeAlignImpl, - }; - return &ArkUICalendarPickerModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnBeforeUnload("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUICanvasModifier* GetCanvasModifier() + void SetOnConfirmImpl(Ark_NativePointer node, + const Opt_Callback_OnConfirmEvent_Boolean* value) { - static const GENERATED_ArkUICanvasModifier ArkUICanvasModifierImpl { - CanvasModifier::ConstructImpl, - CanvasInterfaceModifier::SetCanvasOptions0Impl, - CanvasInterfaceModifier::SetCanvasOptions1Impl, - CanvasAttributeModifier::SetOnReadyImpl, - CanvasAttributeModifier::SetEnableAnalyzerImpl, - }; - return &ArkUICanvasModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnConfirm("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUICheckboxModifier* GetCheckboxModifier() + void SetOnPromptImpl(Ark_NativePointer node, + const Opt_Callback_OnPromptEvent_Boolean* value) { - static const GENERATED_ArkUICheckboxModifier ArkUICheckboxModifierImpl { - CheckboxModifier::ConstructImpl, - CheckboxInterfaceModifier::SetCheckboxOptionsImpl, - CheckboxAttributeModifier::SetSelectImpl, - CheckboxAttributeModifier::SetSelectedColorImpl, - CheckboxAttributeModifier::SetShapeImpl, - CheckboxAttributeModifier::SetUnselectedColorImpl, - CheckboxAttributeModifier::SetMarkImpl, - CheckboxAttributeModifier::SetOnChangeImpl, - }; - return &ArkUICheckboxModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnPrompt("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUICheckboxGroupModifier* GetCheckboxGroupModifier() + void SetOnConsoleImpl(Ark_NativePointer node, + const Opt_Callback_OnConsoleEvent_Boolean* value) { - static const GENERATED_ArkUICheckboxGroupModifier ArkUICheckboxGroupModifierImpl { - CheckboxGroupModifier::ConstructImpl, - CheckboxGroupInterfaceModifier::SetCheckboxGroupOptionsImpl, - CheckboxGroupAttributeModifier::SetSelectAllImpl, - CheckboxGroupAttributeModifier::SetSelectedColorImpl, - CheckboxGroupAttributeModifier::SetUnselectedColorImpl, - CheckboxGroupAttributeModifier::SetMarkImpl, - CheckboxGroupAttributeModifier::SetOnChangeImpl, - CheckboxGroupAttributeModifier::SetCheckboxShapeImpl, - }; - return &ArkUICheckboxGroupModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnConsole("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUICircleModifier* GetCircleModifier() + void SetOnErrorReceiveImpl(Ark_NativePointer node, + const Opt_Callback_OnErrorReceiveEvent_Void* value) { - static const GENERATED_ArkUICircleModifier ArkUICircleModifierImpl { - CircleModifier::ConstructImpl, - CircleInterfaceModifier::SetCircleOptionsImpl, - }; - return &ArkUICircleModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnErrorReceive("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIColumnModifier* GetColumnModifier() + void SetOnHttpErrorReceiveImpl(Ark_NativePointer node, + const Opt_Callback_OnHttpErrorReceiveEvent_Void* value) { - static const GENERATED_ArkUIColumnModifier ArkUIColumnModifierImpl { - ColumnModifier::ConstructImpl, - ColumnInterfaceModifier::SetColumnOptionsImpl, - ColumnAttributeModifier::SetAlignItemsImpl, - ColumnAttributeModifier::SetJustifyContentImpl, - ColumnAttributeModifier::SetPointLightImpl, - ColumnAttributeModifier::SetReverseImpl, - }; - return &ArkUIColumnModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnHttpErrorReceive("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIColumnSplitModifier* GetColumnSplitModifier() + void SetOnDownloadStartImpl(Ark_NativePointer node, + const Opt_Callback_OnDownloadStartEvent_Void* value) { - static const GENERATED_ArkUIColumnSplitModifier ArkUIColumnSplitModifierImpl { - ColumnSplitModifier::ConstructImpl, - ColumnSplitInterfaceModifier::SetColumnSplitOptionsImpl, - ColumnSplitAttributeModifier::SetResizeableImpl, - ColumnSplitAttributeModifier::SetDividerImpl, - }; - return &ArkUIColumnSplitModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnDownloadStart("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUICommonMethodModifier* GetCommonMethodModifier() + void SetOnRefreshAccessedHistoryImpl(Ark_NativePointer node, + const Opt_Callback_OnRefreshAccessedHistoryEvent_Void* value) { - static const GENERATED_ArkUICommonMethodModifier ArkUICommonMethodModifierImpl { - CommonMethodModifier::ConstructImpl, - CommonMethodModifier::SetWidthImpl, - CommonMethodModifier::SetHeightImpl, - CommonMethodModifier::SetDrawModifierImpl, - CommonMethodModifier::SetResponseRegionImpl, - CommonMethodModifier::SetMouseResponseRegionImpl, - CommonMethodModifier::SetSizeImpl, - CommonMethodModifier::SetConstraintSizeImpl, - CommonMethodModifier::SetHitTestBehaviorImpl, - CommonMethodModifier::SetOnChildTouchTestImpl, - CommonMethodModifier::SetLayoutWeightImpl, - CommonMethodModifier::SetChainWeightImpl, - CommonMethodModifier::SetPaddingImpl, - CommonMethodModifier::SetSafeAreaPaddingImpl, - CommonMethodModifier::SetMarginImpl, - CommonMethodModifier::SetBackgroundColorImpl, - CommonMethodModifier::SetPixelRoundImpl, - CommonMethodModifier::SetBackgroundImageSizeImpl, - CommonMethodModifier::SetBackgroundImagePositionImpl, - CommonMethodModifier::SetBackgroundEffect0Impl, - CommonMethodModifier::SetBackgroundImageResizableImpl, - CommonMethodModifier::SetForegroundEffectImpl, - CommonMethodModifier::SetVisualEffectImpl, - CommonMethodModifier::SetBackgroundFilterImpl, - CommonMethodModifier::SetForegroundFilterImpl, - CommonMethodModifier::SetCompositingFilterImpl, - CommonMethodModifier::SetOpacityImpl, - CommonMethodModifier::SetBorderImpl, - CommonMethodModifier::SetBorderStyleImpl, - CommonMethodModifier::SetBorderWidthImpl, - CommonMethodModifier::SetBorderColorImpl, - CommonMethodModifier::SetBorderRadiusImpl, - CommonMethodModifier::SetBorderImageImpl, - CommonMethodModifier::SetOutlineImpl, - CommonMethodModifier::SetOutlineStyleImpl, - CommonMethodModifier::SetOutlineWidthImpl, - CommonMethodModifier::SetOutlineColorImpl, - CommonMethodModifier::SetOutlineRadiusImpl, - CommonMethodModifier::SetForegroundColorImpl, - CommonMethodModifier::SetOnClick0Impl, - CommonMethodModifier::SetOnHoverImpl, - CommonMethodModifier::SetOnHoverMoveImpl, - CommonMethodModifier::SetOnAccessibilityHoverImpl, - CommonMethodModifier::SetHoverEffectImpl, - CommonMethodModifier::SetOnMouseImpl, - CommonMethodModifier::SetOnTouchImpl, - CommonMethodModifier::SetOnKeyEventImpl, - CommonMethodModifier::SetOnDigitalCrownImpl, - CommonMethodModifier::SetOnKeyPreImeImpl, - CommonMethodModifier::SetOnKeyEventDispatchImpl, - CommonMethodModifier::SetOnFocusAxisEventImpl, - CommonMethodModifier::SetOnAxisEventImpl, - CommonMethodModifier::SetFocusableImpl, - CommonMethodModifier::SetNextFocusImpl, - CommonMethodModifier::SetTabStopImpl, - CommonMethodModifier::SetOnFocusImpl, - CommonMethodModifier::SetOnBlurImpl, - CommonMethodModifier::SetTabIndexImpl, - CommonMethodModifier::SetDefaultFocusImpl, - CommonMethodModifier::SetGroupDefaultFocusImpl, - CommonMethodModifier::SetFocusOnTouchImpl, - CommonMethodModifier::SetFocusBoxImpl, - CommonMethodModifier::SetAnimationImpl, - CommonMethodModifier::SetTransition0Impl, - CommonMethodModifier::SetMotionBlurImpl, - CommonMethodModifier::SetBrightnessImpl, - CommonMethodModifier::SetContrastImpl, - CommonMethodModifier::SetGrayscaleImpl, - CommonMethodModifier::SetColorBlendImpl, - CommonMethodModifier::SetSaturateImpl, - CommonMethodModifier::SetSepiaImpl, - CommonMethodModifier::SetInvertImpl, - CommonMethodModifier::SetHueRotateImpl, - CommonMethodModifier::SetUseShadowBatchingImpl, - CommonMethodModifier::SetUseEffect0Impl, - CommonMethodModifier::SetRenderGroupImpl, - CommonMethodModifier::SetFreezeImpl, - CommonMethodModifier::SetTranslateImpl, - CommonMethodModifier::SetScaleImpl, - CommonMethodModifier::SetRotateImpl, - CommonMethodModifier::SetTransformImpl, - CommonMethodModifier::SetOnAppearImpl, - CommonMethodModifier::SetOnDisAppearImpl, - CommonMethodModifier::SetOnAttachImpl, - CommonMethodModifier::SetOnDetachImpl, - CommonMethodModifier::SetOnAreaChangeImpl, - CommonMethodModifier::SetVisibilityImpl, - CommonMethodModifier::SetFlexGrowImpl, - CommonMethodModifier::SetFlexShrinkImpl, - CommonMethodModifier::SetFlexBasisImpl, - CommonMethodModifier::SetAlignSelfImpl, - CommonMethodModifier::SetDisplayPriorityImpl, - CommonMethodModifier::SetZIndexImpl, - CommonMethodModifier::SetDirectionImpl, - CommonMethodModifier::SetAlignImpl, - CommonMethodModifier::SetPositionImpl, - CommonMethodModifier::SetMarkAnchorImpl, - CommonMethodModifier::SetOffsetImpl, - CommonMethodModifier::SetEnabledImpl, - CommonMethodModifier::SetAlignRules0Impl, - CommonMethodModifier::SetAlignRules1Impl, - CommonMethodModifier::SetAspectRatioImpl, - CommonMethodModifier::SetClickEffectImpl, - CommonMethodModifier::SetOnDragStartImpl, - CommonMethodModifier::SetOnDragEnterImpl, - CommonMethodModifier::SetOnDragMoveImpl, - CommonMethodModifier::SetOnDragLeaveImpl, - CommonMethodModifier::SetOnDrop0Impl, - CommonMethodModifier::SetOnDragEndImpl, - CommonMethodModifier::SetAllowDropImpl, - CommonMethodModifier::SetDraggableImpl, - CommonMethodModifier::SetDragPreview0Impl, - CommonMethodModifier::SetOnPreDragImpl, - CommonMethodModifier::SetLinearGradientImpl, - CommonMethodModifier::SetSweepGradientImpl, - CommonMethodModifier::SetRadialGradientImpl, - CommonMethodModifier::SetMotionPathImpl, - CommonMethodModifier::SetShadowImpl, - CommonMethodModifier::SetClipImpl, - CommonMethodModifier::SetClipShapeImpl, - CommonMethodModifier::SetMaskImpl, - CommonMethodModifier::SetMaskShapeImpl, - CommonMethodModifier::SetKeyImpl, - CommonMethodModifier::SetIdImpl, - CommonMethodModifier::SetGeometryTransition0Impl, - CommonMethodModifier::SetRestoreIdImpl, - CommonMethodModifier::SetSphericalEffectImpl, - CommonMethodModifier::SetLightUpEffectImpl, - CommonMethodModifier::SetPixelStretchEffectImpl, - CommonMethodModifier::SetAccessibilityGroup0Impl, - CommonMethodModifier::SetAccessibilityText0Impl, - CommonMethodModifier::SetAccessibilityNextFocusIdImpl, - CommonMethodModifier::SetAccessibilityDefaultFocusImpl, - CommonMethodModifier::SetAccessibilityUseSamePageImpl, - CommonMethodModifier::SetAccessibilityScrollTriggerableImpl, - CommonMethodModifier::SetAccessibilityText1Impl, - CommonMethodModifier::SetAccessibilityRoleImpl, - CommonMethodModifier::SetOnAccessibilityFocusImpl, - CommonMethodModifier::SetAccessibilityTextHintImpl, - CommonMethodModifier::SetAccessibilityDescription0Impl, - CommonMethodModifier::SetAccessibilityDescription1Impl, - CommonMethodModifier::SetAccessibilityLevelImpl, - CommonMethodModifier::SetAccessibilityVirtualNodeImpl, - CommonMethodModifier::SetAccessibilityCheckedImpl, - CommonMethodModifier::SetAccessibilitySelectedImpl, - CommonMethodModifier::SetObscuredImpl, - CommonMethodModifier::SetReuseIdImpl, - CommonMethodModifier::SetReuseImpl, - CommonMethodModifier::SetRenderFitImpl, - CommonMethodModifier::SetBackgroundBrightnessImpl, - CommonMethodModifier::SetOnGestureJudgeBeginImpl, - CommonMethodModifier::SetOnGestureRecognizerJudgeBegin0Impl, - CommonMethodModifier::SetShouldBuiltInRecognizerParallelWithImpl, - CommonMethodModifier::SetMonopolizeEventsImpl, - CommonMethodModifier::SetOnTouchInterceptImpl, - CommonMethodModifier::SetOnSizeChangeImpl, - CommonMethodModifier::SetAccessibilityFocusDrawLevelImpl, - CommonMethodModifier::SetCustomPropertyImpl, - CommonMethodModifier::SetExpandSafeAreaImpl, - CommonMethodModifier::SetBackgroundImpl, - CommonMethodModifier::SetBackgroundImage0Impl, - CommonMethodModifier::SetBackgroundImage1Impl, - CommonMethodModifier::SetBackgroundBlurStyleImpl, - CommonMethodModifier::SetBackgroundEffect1Impl, - CommonMethodModifier::SetForegroundBlurStyleImpl, - CommonMethodModifier::SetOnClick1Impl, - CommonMethodModifier::SetFocusScopeIdImpl, - CommonMethodModifier::SetFocusScopePriorityImpl, - CommonMethodModifier::SetTransition1Impl, - CommonMethodModifier::SetGestureImpl, - CommonMethodModifier::SetPriorityGestureImpl, - CommonMethodModifier::SetParallelGestureImpl, - CommonMethodModifier::SetBlurImpl, - CommonMethodModifier::SetLinearGradientBlurImpl, - CommonMethodModifier::SetSystemBarEffectImpl, - CommonMethodModifier::SetUseEffect1Impl, - CommonMethodModifier::SetBackdropBlurImpl, - CommonMethodModifier::SetSharedTransitionImpl, - CommonMethodModifier::SetChainModeImpl, - CommonMethodModifier::SetOnDrop1Impl, - CommonMethodModifier::SetDragPreview1Impl, - CommonMethodModifier::SetDragPreviewOptionsImpl, - CommonMethodModifier::SetOverlayImpl, - CommonMethodModifier::SetBlendModeImpl, - CommonMethodModifier::SetAdvancedBlendModeImpl, - CommonMethodModifier::SetGeometryTransition1Impl, - CommonMethodModifier::SetBindTipsImpl, - CommonMethodModifier::SetBindPopupImpl, - CommonMethodModifier::SetBindMenu0Impl, - CommonMethodModifier::SetBindMenu1Impl, - CommonMethodModifier::SetBindContextMenu0Impl, - CommonMethodModifier::SetBindContextMenu1Impl, - CommonMethodModifier::SetBindContentCover0Impl, - CommonMethodModifier::SetBindContentCover1Impl, - CommonMethodModifier::SetBindSheetImpl, - CommonMethodModifier::SetOnVisibleAreaChangeImpl, - CommonMethodModifier::SetOnVisibleAreaApproximateChangeImpl, - CommonMethodModifier::SetKeyboardShortcutImpl, - CommonMethodModifier::SetAccessibilityGroup1Impl, - CommonMethodModifier::SetOnGestureRecognizerJudgeBegin1Impl, - }; - return &ArkUICommonMethodModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnRefreshAccessedHistory("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUICommonShapeMethodModifier* GetCommonShapeMethodModifier() + void SetOnRenderExitedImpl(Ark_NativePointer node, + const Opt_Callback_OnRenderExitedEvent_Void* value) { - static const GENERATED_ArkUICommonShapeMethodModifier ArkUICommonShapeMethodModifierImpl { - CommonShapeMethodModifier::ConstructImpl, - CommonShapeMethodModifier::SetStrokeImpl, - CommonShapeMethodModifier::SetFillImpl, - CommonShapeMethodModifier::SetStrokeDashOffsetImpl, - CommonShapeMethodModifier::SetStrokeLineCapImpl, - CommonShapeMethodModifier::SetStrokeLineJoinImpl, - CommonShapeMethodModifier::SetStrokeMiterLimitImpl, - CommonShapeMethodModifier::SetStrokeOpacityImpl, - CommonShapeMethodModifier::SetFillOpacityImpl, - CommonShapeMethodModifier::SetStrokeWidthImpl, - CommonShapeMethodModifier::SetAntiAliasImpl, - CommonShapeMethodModifier::SetStrokeDashArrayImpl, - }; - return &ArkUICommonShapeMethodModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnRenderExited("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIComponentRootModifier* GetComponentRootModifier() + void SetOnShowFileSelectorImpl(Ark_NativePointer node, + const Opt_Callback_OnShowFileSelectorEvent_Boolean* value) { - static const GENERATED_ArkUIComponentRootModifier ArkUIComponentRootModifierImpl { - ComponentRootModifier::ConstructImpl, - }; - return &ArkUIComponentRootModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnShowFileSelector("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIContainerSpanModifier* GetContainerSpanModifier() + void SetOnResourceLoadImpl(Ark_NativePointer node, + const Opt_Callback_OnResourceLoadEvent_Void* value) { - static const GENERATED_ArkUIContainerSpanModifier ArkUIContainerSpanModifierImpl { - ContainerSpanModifier::ConstructImpl, - ContainerSpanInterfaceModifier::SetContainerSpanOptionsImpl, - ContainerSpanAttributeModifier::SetTextBackgroundStyleImpl, - }; - return &ArkUIContainerSpanModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnResourceLoad("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUICounterModifier* GetCounterModifier() + void SetOnFullScreenExitImpl(Ark_NativePointer node, + const Opt_Callback_Void* value) { - static const GENERATED_ArkUICounterModifier ArkUICounterModifierImpl { - CounterModifier::ConstructImpl, - CounterInterfaceModifier::SetCounterOptionsImpl, - CounterAttributeModifier::SetOnIncImpl, - CounterAttributeModifier::SetOnDecImpl, - CounterAttributeModifier::SetEnableDecImpl, - CounterAttributeModifier::SetEnableIncImpl, - }; - return &ArkUICounterModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnFullScreenExit("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUICustomBuilderRootModifier* GetCustomBuilderRootModifier() + void SetOnFullScreenEnterImpl(Ark_NativePointer node, + const Opt_OnFullScreenEnterCallback* value) { - static const GENERATED_ArkUICustomBuilderRootModifier ArkUICustomBuilderRootModifierImpl { - CustomBuilderRootModifier::ConstructImpl, - }; - return &ArkUICustomBuilderRootModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnFullScreenEnter("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUICustomLayoutRootModifier* GetCustomLayoutRootModifier() + void SetOnScaleChangeImpl(Ark_NativePointer node, + const Opt_Callback_OnScaleChangeEvent_Void* value) { - static const GENERATED_ArkUICustomLayoutRootModifier ArkUICustomLayoutRootModifierImpl { - CustomLayoutRootModifier::ConstructImpl, - CustomLayoutRootModifier::SetSubscribeOnMeasureSizeImpl, - CustomLayoutRootModifier::SetSubscribeOnPlaceChildrenImpl, - }; - return &ArkUICustomLayoutRootModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnScaleChange("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIDataPanelModifier* GetDataPanelModifier() + void SetOnHttpAuthRequestImpl(Ark_NativePointer node, + const Opt_Callback_OnHttpAuthRequestEvent_Boolean* value) { - static const GENERATED_ArkUIDataPanelModifier ArkUIDataPanelModifierImpl { - DataPanelModifier::ConstructImpl, - DataPanelInterfaceModifier::SetDataPanelOptionsImpl, - DataPanelAttributeModifier::SetCloseEffectImpl, - DataPanelAttributeModifier::SetValueColorsImpl, - DataPanelAttributeModifier::SetTrackBackgroundColorImpl, - DataPanelAttributeModifier::SetStrokeWidthImpl, - DataPanelAttributeModifier::SetTrackShadowImpl, - }; - return &ArkUIDataPanelModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnHttpAuthRequest("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIDatePickerModifier* GetDatePickerModifier() + void SetOnInterceptRequestImpl(Ark_NativePointer node, + const Opt_Callback_OnInterceptRequestEvent_WebResourceResponse* value) { - static const GENERATED_ArkUIDatePickerModifier ArkUIDatePickerModifierImpl { - DatePickerModifier::ConstructImpl, - DatePickerInterfaceModifier::SetDatePickerOptionsImpl, - DatePickerAttributeModifier::SetLunarImpl, - DatePickerAttributeModifier::SetDisappearTextStyleImpl, - DatePickerAttributeModifier::SetTextStyleImpl, - DatePickerAttributeModifier::SetSelectedTextStyleImpl, - DatePickerAttributeModifier::SetOnDateChangeImpl, - DatePickerAttributeModifier::SetDigitalCrownSensitivityImpl, - DatePickerAttributeModifier::SetEnableHapticFeedbackImpl, - }; - return &ArkUIDatePickerModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnInterceptRequest("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIDividerModifier* GetDividerModifier() + void SetOnPermissionRequestImpl(Ark_NativePointer node, + const Opt_Callback_OnPermissionRequestEvent_Void* value) { - static const GENERATED_ArkUIDividerModifier ArkUIDividerModifierImpl { - DividerModifier::ConstructImpl, - DividerInterfaceModifier::SetDividerOptionsImpl, - DividerAttributeModifier::SetVerticalImpl, - DividerAttributeModifier::SetColorImpl, - DividerAttributeModifier::SetStrokeWidthImpl, - DividerAttributeModifier::SetLineCapImpl, - }; - return &ArkUIDividerModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnPermissionRequest("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIEffectComponentModifier* GetEffectComponentModifier() + void SetOnScreenCaptureRequestImpl(Ark_NativePointer node, + const Opt_Callback_OnScreenCaptureRequestEvent_Void* value) { - static const GENERATED_ArkUIEffectComponentModifier ArkUIEffectComponentModifierImpl { - EffectComponentModifier::ConstructImpl, - EffectComponentInterfaceModifier::SetEffectComponentOptionsImpl, - }; - return &ArkUIEffectComponentModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnScreenCaptureRequest("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIEllipseModifier* GetEllipseModifier() + void SetOnContextMenuShowImpl(Ark_NativePointer node, + const Opt_Callback_OnContextMenuShowEvent_Boolean* value) { - static const GENERATED_ArkUIEllipseModifier ArkUIEllipseModifierImpl { - EllipseModifier::ConstructImpl, - EllipseInterfaceModifier::SetEllipseOptionsImpl, - }; - return &ArkUIEllipseModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnContextMenuShow("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIEmbeddedComponentModifier* GetEmbeddedComponentModifier() + void SetOnContextMenuHideImpl(Ark_NativePointer node, + const Opt_OnContextMenuHideCallback* value) { - static const GENERATED_ArkUIEmbeddedComponentModifier ArkUIEmbeddedComponentModifierImpl { - EmbeddedComponentModifier::ConstructImpl, - EmbeddedComponentInterfaceModifier::SetEmbeddedComponentOptionsImpl, - EmbeddedComponentAttributeModifier::SetOnTerminatedImpl, - EmbeddedComponentAttributeModifier::SetOnErrorImpl, - }; - return &ArkUIEmbeddedComponentModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnContextMenuHide("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIFlexModifier* GetFlexModifier() + void SetMediaPlayGestureAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIFlexModifier ArkUIFlexModifierImpl { - FlexModifier::ConstructImpl, - FlexInterfaceModifier::SetFlexOptionsImpl, - FlexAttributeModifier::SetPointLightImpl, - }; - return &ArkUIFlexModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setMediaPlayGestureAccess("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIFlowItemModifier* GetFlowItemModifier() + void SetOnSearchResultReceiveImpl(Ark_NativePointer node, + const Opt_Callback_OnSearchResultReceiveEvent_Void* value) { - static const GENERATED_ArkUIFlowItemModifier ArkUIFlowItemModifierImpl { - FlowItemModifier::ConstructImpl, - FlowItemInterfaceModifier::SetFlowItemOptionsImpl, - }; - return &ArkUIFlowItemModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnSearchResultReceive("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIFolderStackModifier* GetFolderStackModifier() + void SetOnScrollImpl(Ark_NativePointer node, + const Opt_Callback_OnScrollEvent_Void* value) { - static const GENERATED_ArkUIFolderStackModifier ArkUIFolderStackModifierImpl { - FolderStackModifier::ConstructImpl, - FolderStackInterfaceModifier::SetFolderStackOptionsImpl, - FolderStackAttributeModifier::SetAlignContentImpl, - FolderStackAttributeModifier::SetOnFolderStateChangeImpl, - FolderStackAttributeModifier::SetOnHoverStatusChangeImpl, - FolderStackAttributeModifier::SetEnableAnimationImpl, - FolderStackAttributeModifier::SetAutoHalfFoldImpl, - }; - return &ArkUIFolderStackModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnScroll("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIFormComponentModifier* GetFormComponentModifier() + void SetOnSslErrorEventReceiveImpl(Ark_NativePointer node, + const Opt_Callback_OnSslErrorEventReceiveEvent_Void* value) { - static const GENERATED_ArkUIFormComponentModifier ArkUIFormComponentModifierImpl { - FormComponentModifier::ConstructImpl, - FormComponentInterfaceModifier::SetFormComponentOptionsImpl, - FormComponentAttributeModifier::SetSizeImpl, - FormComponentAttributeModifier::SetModuleNameImpl, - FormComponentAttributeModifier::SetDimensionImpl, - FormComponentAttributeModifier::SetAllowUpdateImpl, - FormComponentAttributeModifier::SetVisibilityImpl, - FormComponentAttributeModifier::SetOnAcquiredImpl, - FormComponentAttributeModifier::SetOnErrorImpl, - FormComponentAttributeModifier::SetOnRouterImpl, - FormComponentAttributeModifier::SetOnUninstallImpl, - FormComponentAttributeModifier::SetOnLoadImpl, - FormComponentAttributeModifier::SetOnUpdateImpl, - }; - return &ArkUIFormComponentModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnSslErrorEventReceive("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIFormLinkModifier* GetFormLinkModifier() + void SetOnSslErrorEventImpl(Ark_NativePointer node, + const Opt_OnSslErrorEventCallback* value) { - static const GENERATED_ArkUIFormLinkModifier ArkUIFormLinkModifierImpl { - FormLinkModifier::ConstructImpl, - FormLinkInterfaceModifier::SetFormLinkOptionsImpl, - }; - return &ArkUIFormLinkModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnSslErrorEvent("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIGaugeModifier* GetGaugeModifier() + void SetOnClientAuthenticationRequestImpl(Ark_NativePointer node, + const Opt_Callback_OnClientAuthenticationEvent_Void* value) { - static const GENERATED_ArkUIGaugeModifier ArkUIGaugeModifierImpl { - GaugeModifier::ConstructImpl, - GaugeInterfaceModifier::SetGaugeOptionsImpl, - GaugeAttributeModifier::SetValueImpl, - GaugeAttributeModifier::SetStartAngleImpl, - GaugeAttributeModifier::SetEndAngleImpl, - GaugeAttributeModifier::SetColorsImpl, - GaugeAttributeModifier::SetStrokeWidthImpl, - GaugeAttributeModifier::SetDescriptionImpl, - GaugeAttributeModifier::SetTrackShadowImpl, - GaugeAttributeModifier::SetIndicatorImpl, - GaugeAttributeModifier::SetPrivacySensitiveImpl, - }; - return &ArkUIGaugeModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnClientAuthenticationRequest("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIGridModifier* GetGridModifier() + void SetOnWindowNewImpl(Ark_NativePointer node, + const Opt_Callback_OnWindowNewEvent_Void* value) { - static const GENERATED_ArkUIGridModifier ArkUIGridModifierImpl { - GridModifier::ConstructImpl, - GridInterfaceModifier::SetGridOptionsImpl, - GridAttributeModifier::SetColumnsTemplateImpl, - GridAttributeModifier::SetRowsTemplateImpl, - GridAttributeModifier::SetColumnsGapImpl, - GridAttributeModifier::SetRowsGapImpl, - GridAttributeModifier::SetOnScrollBarUpdateImpl, - GridAttributeModifier::SetOnScrollIndexImpl, - GridAttributeModifier::SetCachedCount0Impl, - GridAttributeModifier::SetEditModeImpl, - GridAttributeModifier::SetMultiSelectableImpl, - GridAttributeModifier::SetMaxCountImpl, - GridAttributeModifier::SetMinCountImpl, - GridAttributeModifier::SetCellLengthImpl, - GridAttributeModifier::SetLayoutDirectionImpl, - GridAttributeModifier::SetSupportAnimationImpl, - GridAttributeModifier::SetOnItemDragStartImpl, - GridAttributeModifier::SetOnItemDragEnterImpl, - GridAttributeModifier::SetOnItemDragMoveImpl, - GridAttributeModifier::SetOnItemDragLeaveImpl, - GridAttributeModifier::SetOnItemDropImpl, - GridAttributeModifier::SetAlignItemsImpl, - GridAttributeModifier::SetOnScrollFrameBeginImpl, - GridAttributeModifier::SetOnWillScrollImpl, - GridAttributeModifier::SetOnDidScrollImpl, - GridAttributeModifier::SetCachedCount1Impl, - }; - return &ArkUIGridModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnWindowNew("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIGridColModifier* GetGridColModifier() + void SetOnWindowExitImpl(Ark_NativePointer node, + const Opt_Callback_Void* value) { - static const GENERATED_ArkUIGridColModifier ArkUIGridColModifierImpl { - GridColModifier::ConstructImpl, - GridColInterfaceModifier::SetGridColOptionsImpl, - GridColAttributeModifier::SetSpanImpl, - GridColAttributeModifier::SetGridColOffsetImpl, - GridColAttributeModifier::SetOrderImpl, - }; - return &ArkUIGridColModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnWindowExit("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIGridItemModifier* GetGridItemModifier() + void SetMultiWindowAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIGridItemModifier ArkUIGridItemModifierImpl { - GridItemModifier::ConstructImpl, - GridItemInterfaceModifier::SetGridItemOptionsImpl, - GridItemAttributeModifier::SetRowStartImpl, - GridItemAttributeModifier::SetRowEndImpl, - GridItemAttributeModifier::SetColumnStartImpl, - GridItemAttributeModifier::SetColumnEndImpl, - GridItemAttributeModifier::SetSelectableImpl, - GridItemAttributeModifier::SetSelectedImpl, - GridItemAttributeModifier::SetOnSelectImpl, - }; - return &ArkUIGridItemModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setMultiWindowAccess("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIGridRowModifier* GetGridRowModifier() + void SetOnInterceptKeyEventImpl(Ark_NativePointer node, + const Opt_Callback_KeyEvent_Boolean* value) { - static const GENERATED_ArkUIGridRowModifier ArkUIGridRowModifierImpl { - GridRowModifier::ConstructImpl, - GridRowInterfaceModifier::SetGridRowOptionsImpl, - GridRowAttributeModifier::SetOnBreakpointChangeImpl, - GridRowAttributeModifier::SetAlignItemsImpl, - }; - return &ArkUIGridRowModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnInterceptKeyEvent("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIHyperlinkModifier* GetHyperlinkModifier() + void SetWebStandardFontImpl(Ark_NativePointer node, + const Opt_String* value) { - static const GENERATED_ArkUIHyperlinkModifier ArkUIHyperlinkModifierImpl { - HyperlinkModifier::ConstructImpl, - HyperlinkInterfaceModifier::SetHyperlinkOptionsImpl, - HyperlinkAttributeModifier::SetColorImpl, - }; - return &ArkUIHyperlinkModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setWebStandardFont("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIImageModifier* GetImageModifier() + void SetWebSerifFontImpl(Ark_NativePointer node, + const Opt_String* value) { - static const GENERATED_ArkUIImageModifier ArkUIImageModifierImpl { - ImageModifier::ConstructImpl, - ImageInterfaceModifier::SetImageOptions0Impl, - ImageInterfaceModifier::SetImageOptions1Impl, - ImageAttributeModifier::SetAltImpl, - ImageAttributeModifier::SetMatchTextDirectionImpl, - ImageAttributeModifier::SetFitOriginalSizeImpl, - ImageAttributeModifier::SetFillColorImpl, - ImageAttributeModifier::SetObjectFitImpl, - ImageAttributeModifier::SetImageMatrixImpl, - ImageAttributeModifier::SetObjectRepeatImpl, - ImageAttributeModifier::SetAutoResizeImpl, - ImageAttributeModifier::SetRenderModeImpl, - ImageAttributeModifier::SetDynamicRangeModeImpl, - ImageAttributeModifier::SetInterpolationImpl, - ImageAttributeModifier::SetSourceSizeImpl, - ImageAttributeModifier::SetSyncLoadImpl, - ImageAttributeModifier::SetColorFilterImpl, - ImageAttributeModifier::SetCopyOptionImpl, - ImageAttributeModifier::SetDraggableImpl, - ImageAttributeModifier::SetPointLightImpl, - ImageAttributeModifier::SetEdgeAntialiasingImpl, - ImageAttributeModifier::SetOnCompleteImpl, - ImageAttributeModifier::SetOnErrorImpl, - ImageAttributeModifier::SetOnFinishImpl, - ImageAttributeModifier::SetEnableAnalyzerImpl, - ImageAttributeModifier::SetAnalyzerConfigImpl, - ImageAttributeModifier::SetResizableImpl, - ImageAttributeModifier::SetPrivacySensitiveImpl, - ImageAttributeModifier::SetEnhancedImageQualityImpl, - ImageAttributeModifier::SetOrientationImpl, - }; - return &ArkUIImageModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setWebSerifFont("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIImageAnimatorModifier* GetImageAnimatorModifier() + void SetWebSansSerifFontImpl(Ark_NativePointer node, + const Opt_String* value) { - static const GENERATED_ArkUIImageAnimatorModifier ArkUIImageAnimatorModifierImpl { - ImageAnimatorModifier::ConstructImpl, - ImageAnimatorInterfaceModifier::SetImageAnimatorOptionsImpl, - ImageAnimatorAttributeModifier::SetImagesImpl, - ImageAnimatorAttributeModifier::SetStateImpl, - ImageAnimatorAttributeModifier::SetDurationImpl, - ImageAnimatorAttributeModifier::SetReverseImpl, - ImageAnimatorAttributeModifier::SetFixedSizeImpl, - ImageAnimatorAttributeModifier::SetFillModeImpl, - ImageAnimatorAttributeModifier::SetIterationsImpl, - ImageAnimatorAttributeModifier::SetMonitorInvisibleAreaImpl, - ImageAnimatorAttributeModifier::SetOnStartImpl, - ImageAnimatorAttributeModifier::SetOnPauseImpl, - ImageAnimatorAttributeModifier::SetOnRepeatImpl, - ImageAnimatorAttributeModifier::SetOnCancelImpl, - ImageAnimatorAttributeModifier::SetOnFinishImpl, - }; - return &ArkUIImageAnimatorModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setWebSansSerifFont("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIImageSpanModifier* GetImageSpanModifier() + void SetWebFixedFontImpl(Ark_NativePointer node, + const Opt_String* value) { - static const GENERATED_ArkUIImageSpanModifier ArkUIImageSpanModifierImpl { - ImageSpanModifier::ConstructImpl, - ImageSpanInterfaceModifier::SetImageSpanOptionsImpl, - ImageSpanAttributeModifier::SetVerticalAlignImpl, - ImageSpanAttributeModifier::SetColorFilterImpl, - ImageSpanAttributeModifier::SetObjectFitImpl, - ImageSpanAttributeModifier::SetOnCompleteImpl, - ImageSpanAttributeModifier::SetOnErrorImpl, - ImageSpanAttributeModifier::SetAltImpl, - }; - return &ArkUIImageSpanModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setWebFixedFont("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIIndicatorComponentModifier* GetIndicatorComponentModifier() + void SetWebFantasyFontImpl(Ark_NativePointer node, + const Opt_String* value) { - static const GENERATED_ArkUIIndicatorComponentModifier ArkUIIndicatorComponentModifierImpl { - IndicatorComponentModifier::ConstructImpl, - IndicatorComponentInterfaceModifier::SetIndicatorComponentOptionsImpl, - IndicatorComponentAttributeModifier::SetInitialIndexImpl, - IndicatorComponentAttributeModifier::SetCountImpl, - IndicatorComponentAttributeModifier::SetStyleImpl, - IndicatorComponentAttributeModifier::SetLoopImpl, - IndicatorComponentAttributeModifier::SetVerticalImpl, - IndicatorComponentAttributeModifier::SetOnChangeImpl, - }; - return &ArkUIIndicatorComponentModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setWebFantasyFont("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUILineModifier* GetLineModifier() + void SetWebCursiveFontImpl(Ark_NativePointer node, + const Opt_String* value) { - static const GENERATED_ArkUILineModifier ArkUILineModifierImpl { - LineModifier::ConstructImpl, - LineInterfaceModifier::SetLineOptionsImpl, - LineAttributeModifier::SetStartPointImpl, - LineAttributeModifier::SetEndPointImpl, - }; - return &ArkUILineModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setWebCursiveFont("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUILinearIndicatorModifier* GetLinearIndicatorModifier() + void SetDefaultFixedFontSizeImpl(Ark_NativePointer node, + const Opt_Int32* value) { - static const GENERATED_ArkUILinearIndicatorModifier ArkUILinearIndicatorModifierImpl { - LinearIndicatorModifier::ConstructImpl, - LinearIndicatorInterfaceModifier::SetLinearIndicatorOptionsImpl, - LinearIndicatorAttributeModifier::SetIndicatorStyleImpl, - LinearIndicatorAttributeModifier::SetIndicatorLoopImpl, - LinearIndicatorAttributeModifier::SetOnChangeImpl, - }; - return &ArkUILinearIndicatorModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setDefaultFixedFontSize("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIListModifier* GetListModifier() + void SetDefaultFontSizeImpl(Ark_NativePointer node, + const Opt_Int32* value) { - static const GENERATED_ArkUIListModifier ArkUIListModifierImpl { - ListModifier::ConstructImpl, - ListInterfaceModifier::SetListOptionsImpl, - ListAttributeModifier::SetAlignListItemImpl, - ListAttributeModifier::SetListDirectionImpl, - ListAttributeModifier::SetContentStartOffsetImpl, - ListAttributeModifier::SetContentEndOffsetImpl, - ListAttributeModifier::SetDividerImpl, - ListAttributeModifier::SetMultiSelectableImpl, - ListAttributeModifier::SetCachedCount0Impl, - ListAttributeModifier::SetChainAnimationImpl, - ListAttributeModifier::SetChainAnimationOptionsImpl, - ListAttributeModifier::SetStickyImpl, - ListAttributeModifier::SetScrollSnapAlignImpl, - ListAttributeModifier::SetChildrenMainSizeImpl, - ListAttributeModifier::SetMaintainVisibleContentPositionImpl, - ListAttributeModifier::SetStackFromEndImpl, - ListAttributeModifier::SetOnScrollIndexImpl, - ListAttributeModifier::SetOnScrollVisibleContentChangeImpl, - ListAttributeModifier::SetOnItemMoveImpl, - ListAttributeModifier::SetOnItemDragStartImpl, - ListAttributeModifier::SetOnItemDragEnterImpl, - ListAttributeModifier::SetOnItemDragMoveImpl, - ListAttributeModifier::SetOnItemDragLeaveImpl, - ListAttributeModifier::SetOnItemDropImpl, - ListAttributeModifier::SetOnScrollFrameBeginImpl, - ListAttributeModifier::SetOnWillScrollImpl, - ListAttributeModifier::SetOnDidScrollImpl, - ListAttributeModifier::SetLanesImpl, - ListAttributeModifier::SetCachedCount1Impl, - }; - return &ArkUIListModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setDefaultFontSize("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIListItemModifier* GetListItemModifier() + void SetMinFontSizeImpl(Ark_NativePointer node, + const Opt_Int32* value) { - static const GENERATED_ArkUIListItemModifier ArkUIListItemModifierImpl { - ListItemModifier::ConstructImpl, - ListItemInterfaceModifier::SetListItemOptionsImpl, - ListItemAttributeModifier::SetSelectableImpl, - ListItemAttributeModifier::SetSelectedImpl, - ListItemAttributeModifier::SetSwipeActionImpl, - ListItemAttributeModifier::SetOnSelectImpl, - }; - return &ArkUIListItemModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setMinFontSize("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIListItemGroupModifier* GetListItemGroupModifier() + void SetMinLogicalFontSizeImpl(Ark_NativePointer node, + const Opt_Int32* value) { - static const GENERATED_ArkUIListItemGroupModifier ArkUIListItemGroupModifierImpl { - ListItemGroupModifier::ConstructImpl, - ListItemGroupInterfaceModifier::SetListItemGroupOptionsImpl, - ListItemGroupAttributeModifier::SetDividerImpl, - ListItemGroupAttributeModifier::SetChildrenMainSizeImpl, - }; - return &ArkUIListItemGroupModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setMinLogicalFontSize("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUILoadingProgressModifier* GetLoadingProgressModifier() + void SetDefaultTextEncodingFormatImpl(Ark_NativePointer node, + const Opt_String* value) { - static const GENERATED_ArkUILoadingProgressModifier ArkUILoadingProgressModifierImpl { - LoadingProgressModifier::ConstructImpl, - LoadingProgressInterfaceModifier::SetLoadingProgressOptionsImpl, - LoadingProgressAttributeModifier::SetColorImpl, - LoadingProgressAttributeModifier::SetEnableLoadingImpl, - }; - return &ArkUILoadingProgressModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setDefaultTextEncodingFormat("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIMarqueeModifier* GetMarqueeModifier() + void SetForceDisplayScrollBarImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIMarqueeModifier ArkUIMarqueeModifierImpl { - MarqueeModifier::ConstructImpl, - MarqueeInterfaceModifier::SetMarqueeOptionsImpl, - MarqueeAttributeModifier::SetFontColorImpl, - MarqueeAttributeModifier::SetFontSizeImpl, - MarqueeAttributeModifier::SetAllowScaleImpl, - MarqueeAttributeModifier::SetFontWeightImpl, - MarqueeAttributeModifier::SetFontFamilyImpl, - MarqueeAttributeModifier::SetMarqueeUpdateStrategyImpl, - MarqueeAttributeModifier::SetOnStartImpl, - MarqueeAttributeModifier::SetOnBounceImpl, - MarqueeAttributeModifier::SetOnFinishImpl, - }; - return &ArkUIMarqueeModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setForceDisplayScrollBar("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIMediaCachedImageModifier* GetMediaCachedImageModifier() + void SetBlockNetworkImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIMediaCachedImageModifier ArkUIMediaCachedImageModifierImpl { - MediaCachedImageModifier::ConstructImpl, - MediaCachedImageInterfaceModifier::SetMediaCachedImageOptionsImpl, - }; - return &ArkUIMediaCachedImageModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setBlockNetwork("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIMenuModifier* GetMenuModifier() + void SetHorizontalScrollBarAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIMenuModifier ArkUIMenuModifierImpl { - MenuModifier::ConstructImpl, - MenuInterfaceModifier::SetMenuOptionsImpl, - MenuAttributeModifier::SetFontImpl, - MenuAttributeModifier::SetFontColorImpl, - MenuAttributeModifier::SetRadiusImpl, - MenuAttributeModifier::SetMenuItemDividerImpl, - MenuAttributeModifier::SetMenuItemGroupDividerImpl, - MenuAttributeModifier::SetSubMenuExpandingModeImpl, - }; - return &ArkUIMenuModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setHorizontalScrollBarAccess("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIMenuItemModifier* GetMenuItemModifier() + void SetVerticalScrollBarAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIMenuItemModifier ArkUIMenuItemModifierImpl { - MenuItemModifier::ConstructImpl, - MenuItemInterfaceModifier::SetMenuItemOptionsImpl, - MenuItemAttributeModifier::SetSelectedImpl, - MenuItemAttributeModifier::SetSelectIconImpl, - MenuItemAttributeModifier::SetOnChangeImpl, - MenuItemAttributeModifier::SetContentFontImpl, - MenuItemAttributeModifier::SetContentFontColorImpl, - MenuItemAttributeModifier::SetLabelFontImpl, - MenuItemAttributeModifier::SetLabelFontColorImpl, - }; - return &ArkUIMenuItemModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setVerticalScrollBarAccess("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIMenuItemGroupModifier* GetMenuItemGroupModifier() + void SetOnTouchIconUrlReceivedImpl(Ark_NativePointer node, + const Opt_Callback_OnTouchIconUrlReceivedEvent_Void* value) { - static const GENERATED_ArkUIMenuItemGroupModifier ArkUIMenuItemGroupModifierImpl { - MenuItemGroupModifier::ConstructImpl, - MenuItemGroupInterfaceModifier::SetMenuItemGroupOptionsImpl, - }; - return &ArkUIMenuItemGroupModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnTouchIconUrlReceived("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUINavDestinationModifier* GetNavDestinationModifier() + void SetOnFaviconReceivedImpl(Ark_NativePointer node, + const Opt_Callback_OnFaviconReceivedEvent_Void* value) { - static const GENERATED_ArkUINavDestinationModifier ArkUINavDestinationModifierImpl { - NavDestinationModifier::ConstructImpl, - NavDestinationInterfaceModifier::SetNavDestinationOptionsImpl, - NavDestinationAttributeModifier::SetHideTitleBar0Impl, - NavDestinationAttributeModifier::SetHideBackButtonImpl, - NavDestinationAttributeModifier::SetOnShownImpl, - NavDestinationAttributeModifier::SetOnHiddenImpl, - NavDestinationAttributeModifier::SetOnBackPressedImpl, - NavDestinationAttributeModifier::SetOnResultImpl, - NavDestinationAttributeModifier::SetModeImpl, - NavDestinationAttributeModifier::SetBackButtonIcon0Impl, - NavDestinationAttributeModifier::SetMenus0Impl, - NavDestinationAttributeModifier::SetOnReadyImpl, - NavDestinationAttributeModifier::SetOnWillAppearImpl, - NavDestinationAttributeModifier::SetOnWillDisappearImpl, - NavDestinationAttributeModifier::SetOnWillShowImpl, - NavDestinationAttributeModifier::SetOnWillHideImpl, - NavDestinationAttributeModifier::SetSystemBarStyleImpl, - NavDestinationAttributeModifier::SetRecoverableImpl, - NavDestinationAttributeModifier::SetSystemTransitionImpl, - NavDestinationAttributeModifier::SetBindToScrollableImpl, - NavDestinationAttributeModifier::SetBindToNestedScrollableImpl, - NavDestinationAttributeModifier::SetOnActiveImpl, - NavDestinationAttributeModifier::SetOnInactiveImpl, - NavDestinationAttributeModifier::SetCustomTransitionImpl, - NavDestinationAttributeModifier::SetOnNewParamImpl, - NavDestinationAttributeModifier::SetPreferredOrientationImpl, - NavDestinationAttributeModifier::SetEnableNavigationIndicatorImpl, - NavDestinationAttributeModifier::SetTitleImpl, - NavDestinationAttributeModifier::SetHideTitleBar1Impl, - NavDestinationAttributeModifier::SetBackButtonIcon1Impl, - NavDestinationAttributeModifier::SetMenus1Impl, - NavDestinationAttributeModifier::SetToolbarConfigurationImpl, - NavDestinationAttributeModifier::SetHideToolBarImpl, - NavDestinationAttributeModifier::SetIgnoreLayoutSafeAreaImpl, - NavDestinationAttributeModifier::SetEnableStatusBarImpl, - }; - return &ArkUINavDestinationModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnFaviconReceived("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUINavigationModifier* GetNavigationModifier() + void SetOnPageVisibleImpl(Ark_NativePointer node, + const Opt_Callback_OnPageVisibleEvent_Void* value) { - static const GENERATED_ArkUINavigationModifier ArkUINavigationModifierImpl { - NavigationModifier::ConstructImpl, - NavigationInterfaceModifier::SetNavigationOptions0Impl, - NavigationInterfaceModifier::SetNavigationOptions1Impl, - NavigationAttributeModifier::SetNavBarWidthImpl, - NavigationAttributeModifier::SetNavBarPositionImpl, - NavigationAttributeModifier::SetNavBarWidthRangeImpl, - NavigationAttributeModifier::SetMinContentWidthImpl, - NavigationAttributeModifier::SetModeImpl, - NavigationAttributeModifier::SetBackButtonIcon0Impl, - NavigationAttributeModifier::SetHideNavBarImpl, - NavigationAttributeModifier::SetHideTitleBar0Impl, - NavigationAttributeModifier::SetHideBackButtonImpl, - NavigationAttributeModifier::SetTitleModeImpl, - NavigationAttributeModifier::SetMenus0Impl, - NavigationAttributeModifier::SetHideToolBar0Impl, - NavigationAttributeModifier::SetEnableToolBarAdaptationImpl, - NavigationAttributeModifier::SetOnTitleModeChangeImpl, - NavigationAttributeModifier::SetOnNavBarStateChangeImpl, - NavigationAttributeModifier::SetOnNavigationModeChangeImpl, - NavigationAttributeModifier::SetNavDestinationImpl, - NavigationAttributeModifier::SetCustomNavContentTransitionImpl, - NavigationAttributeModifier::SetSystemBarStyleImpl, - NavigationAttributeModifier::SetRecoverableImpl, - NavigationAttributeModifier::SetEnableDragBarImpl, - NavigationAttributeModifier::SetEnableModeChangeAnimationImpl, - NavigationAttributeModifier::SetBackButtonIcon1Impl, - NavigationAttributeModifier::SetTitleImpl, - NavigationAttributeModifier::SetHideTitleBar1Impl, - NavigationAttributeModifier::SetMenus1Impl, - NavigationAttributeModifier::SetToolbarConfigurationImpl, - NavigationAttributeModifier::SetHideToolBar1Impl, - NavigationAttributeModifier::SetIgnoreLayoutSafeAreaImpl, - }; - return &ArkUINavigationModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnPageVisible("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUINodeContainerModifier* GetNodeContainerModifier() + void SetOnDataResubmittedImpl(Ark_NativePointer node, + const Opt_Callback_OnDataResubmittedEvent_Void* value) { - static const GENERATED_ArkUINodeContainerModifier ArkUINodeContainerModifierImpl { - NodeContainerModifier::ConstructImpl, - NodeContainerInterfaceModifier::SetNodeContainerOptionsImpl, - }; - return &ArkUINodeContainerModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnDataResubmitted("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIPathModifier* GetPathModifier() + void SetPinchSmoothImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIPathModifier ArkUIPathModifierImpl { - PathModifier::ConstructImpl, - PathInterfaceModifier::SetPathOptionsImpl, - }; - return &ArkUIPathModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setPinchSmooth("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIPatternLockModifier* GetPatternLockModifier() + void SetAllowWindowOpenMethodImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIPatternLockModifier ArkUIPatternLockModifierImpl { - PatternLockModifier::ConstructImpl, - PatternLockInterfaceModifier::SetPatternLockOptionsImpl, - PatternLockAttributeModifier::SetSideLengthImpl, - PatternLockAttributeModifier::SetCircleRadiusImpl, - PatternLockAttributeModifier::SetBackgroundColorImpl, - PatternLockAttributeModifier::SetRegularColorImpl, - PatternLockAttributeModifier::SetSelectedColorImpl, - PatternLockAttributeModifier::SetActiveColorImpl, - PatternLockAttributeModifier::SetPathColorImpl, - PatternLockAttributeModifier::SetPathStrokeWidthImpl, - PatternLockAttributeModifier::SetOnPatternCompleteImpl, - PatternLockAttributeModifier::SetAutoResetImpl, - PatternLockAttributeModifier::SetOnDotConnectImpl, - PatternLockAttributeModifier::SetActivateCircleStyleImpl, - PatternLockAttributeModifier::SetSkipUnselectedPointImpl, - }; - return &ArkUIPatternLockModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setAllowWindowOpenMethod("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIPluginComponentModifier* GetPluginComponentModifier() + void SetOnAudioStateChangedImpl(Ark_NativePointer node, + const Opt_Callback_OnAudioStateChangedEvent_Void* value) { - static const GENERATED_ArkUIPluginComponentModifier ArkUIPluginComponentModifierImpl { - PluginComponentModifier::ConstructImpl, - PluginComponentInterfaceModifier::SetPluginComponentOptionsImpl, - PluginComponentAttributeModifier::SetOnCompleteImpl, - PluginComponentAttributeModifier::SetOnErrorImpl, - }; - return &ArkUIPluginComponentModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnAudioStateChanged("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIPolygonModifier* GetPolygonModifier() + void SetOnFirstContentfulPaintImpl(Ark_NativePointer node, + const Opt_Callback_OnFirstContentfulPaintEvent_Void* value) { - static const GENERATED_ArkUIPolygonModifier ArkUIPolygonModifierImpl { - PolygonModifier::ConstructImpl, - PolygonInterfaceModifier::SetPolygonOptionsImpl, - PolygonAttributeModifier::SetPointsImpl, - }; - return &ArkUIPolygonModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnFirstContentfulPaint("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIPolylineModifier* GetPolylineModifier() + void SetOnFirstMeaningfulPaintImpl(Ark_NativePointer node, + const Opt_OnFirstMeaningfulPaintCallback* value) { - static const GENERATED_ArkUIPolylineModifier ArkUIPolylineModifierImpl { - PolylineModifier::ConstructImpl, - PolylineInterfaceModifier::SetPolylineOptionsImpl, - PolylineAttributeModifier::SetPointsImpl, - }; - return &ArkUIPolylineModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnFirstMeaningfulPaint("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIProgressModifier* GetProgressModifier() + void SetOnLargestContentfulPaintImpl(Ark_NativePointer node, + const Opt_OnLargestContentfulPaintCallback* value) { - static const GENERATED_ArkUIProgressModifier ArkUIProgressModifierImpl { - ProgressModifier::ConstructImpl, - ProgressInterfaceModifier::SetProgressOptionsImpl, - ProgressAttributeModifier::SetValueImpl, - ProgressAttributeModifier::SetColorImpl, - ProgressAttributeModifier::SetStyleImpl, - ProgressAttributeModifier::SetPrivacySensitiveImpl, - }; - return &ArkUIProgressModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnLargestContentfulPaint("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIQRCodeModifier* GetQRCodeModifier() + void SetOnLoadInterceptImpl(Ark_NativePointer node, + const Opt_Callback_OnLoadInterceptEvent_Boolean* value) { - static const GENERATED_ArkUIQRCodeModifier ArkUIQRCodeModifierImpl { - QRCodeModifier::ConstructImpl, - QRCodeInterfaceModifier::SetQRCodeOptionsImpl, - QRCodeAttributeModifier::SetColorImpl, - QRCodeAttributeModifier::SetBackgroundColorImpl, - QRCodeAttributeModifier::SetContentOpacityImpl, - }; - return &ArkUIQRCodeModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnLoadIntercept("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIRadioModifier* GetRadioModifier() + void SetOnControllerAttachedImpl(Ark_NativePointer node, + const Opt_Callback_Void* value) { - static const GENERATED_ArkUIRadioModifier ArkUIRadioModifierImpl { - RadioModifier::ConstructImpl, - RadioInterfaceModifier::SetRadioOptionsImpl, - RadioAttributeModifier::SetCheckedImpl, - RadioAttributeModifier::SetOnChangeImpl, - RadioAttributeModifier::SetRadioStyleImpl, - }; - return &ArkUIRadioModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnControllerAttached("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIRatingModifier* GetRatingModifier() + void SetOnOverScrollImpl(Ark_NativePointer node, + const Opt_Callback_OnOverScrollEvent_Void* value) { - static const GENERATED_ArkUIRatingModifier ArkUIRatingModifierImpl { - RatingModifier::ConstructImpl, - RatingInterfaceModifier::SetRatingOptionsImpl, - RatingAttributeModifier::SetStarsImpl, - RatingAttributeModifier::SetStepSizeImpl, - RatingAttributeModifier::SetStarStyleImpl, - RatingAttributeModifier::SetOnChangeImpl, - }; - return &ArkUIRatingModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnOverScroll("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIRectModifier* GetRectModifier() + void SetOnSafeBrowsingCheckResultImpl(Ark_NativePointer node, + const Opt_OnSafeBrowsingCheckResultCallback* value) { - static const GENERATED_ArkUIRectModifier ArkUIRectModifierImpl { - RectModifier::ConstructImpl, - RectInterfaceModifier::SetRectOptionsImpl, - RectAttributeModifier::SetRadiusImpl, - }; - return &ArkUIRectModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnSafeBrowsingCheckResult("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIRefreshModifier* GetRefreshModifier() + void SetOnNavigationEntryCommittedImpl(Ark_NativePointer node, + const Opt_OnNavigationEntryCommittedCallback* value) { - static const GENERATED_ArkUIRefreshModifier ArkUIRefreshModifierImpl { - RefreshModifier::ConstructImpl, - RefreshInterfaceModifier::SetRefreshOptionsImpl, - RefreshAttributeModifier::SetOnStateChangeImpl, - RefreshAttributeModifier::SetOnRefreshingImpl, - RefreshAttributeModifier::SetRefreshOffsetImpl, - RefreshAttributeModifier::SetPullToRefreshImpl, - RefreshAttributeModifier::SetOnOffsetChangeImpl, - RefreshAttributeModifier::SetPullDownRatioImpl, - }; - return &ArkUIRefreshModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnNavigationEntryCommitted("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIRelativeContainerModifier* GetRelativeContainerModifier() + void SetOnIntelligentTrackingPreventionResultImpl(Ark_NativePointer node, + const Opt_OnIntelligentTrackingPreventionCallback* value) { - static const GENERATED_ArkUIRelativeContainerModifier ArkUIRelativeContainerModifierImpl { - RelativeContainerModifier::ConstructImpl, - RelativeContainerInterfaceModifier::SetRelativeContainerOptionsImpl, - RelativeContainerAttributeModifier::SetGuideLineImpl, - RelativeContainerAttributeModifier::SetBarrierImpl, - }; - return &ArkUIRelativeContainerModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnIntelligentTrackingPreventionResult("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIRemoteWindowModifier* GetRemoteWindowModifier() + void SetJavaScriptOnDocumentStartImpl(Ark_NativePointer node, + const Opt_Array_ScriptItem* value) { - static const GENERATED_ArkUIRemoteWindowModifier ArkUIRemoteWindowModifierImpl { - RemoteWindowModifier::ConstructImpl, - RemoteWindowInterfaceModifier::SetRemoteWindowOptionsImpl, - }; - return &ArkUIRemoteWindowModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setJavaScriptOnDocumentStart("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIRichEditorModifier* GetRichEditorModifier() + void SetJavaScriptOnDocumentEndImpl(Ark_NativePointer node, + const Opt_Array_ScriptItem* value) { - static const GENERATED_ArkUIRichEditorModifier ArkUIRichEditorModifierImpl { - RichEditorModifier::ConstructImpl, - RichEditorInterfaceModifier::SetRichEditorOptions0Impl, - RichEditorInterfaceModifier::SetRichEditorOptions1Impl, - RichEditorAttributeModifier::SetOnReadyImpl, - RichEditorAttributeModifier::SetOnSelectImpl, - RichEditorAttributeModifier::SetOnSelectionChangeImpl, - RichEditorAttributeModifier::SetAboutToIMEInputImpl, - RichEditorAttributeModifier::SetOnIMEInputCompleteImpl, - RichEditorAttributeModifier::SetOnDidIMEInputImpl, - RichEditorAttributeModifier::SetAboutToDeleteImpl, - RichEditorAttributeModifier::SetOnDeleteCompleteImpl, - RichEditorAttributeModifier::SetCopyOptionsImpl, - RichEditorAttributeModifier::SetOnPasteImpl, - RichEditorAttributeModifier::SetEnableDataDetectorImpl, - RichEditorAttributeModifier::SetEnablePreviewTextImpl, - RichEditorAttributeModifier::SetDataDetectorConfigImpl, - RichEditorAttributeModifier::SetCaretColorImpl, - RichEditorAttributeModifier::SetSelectedBackgroundColorImpl, - RichEditorAttributeModifier::SetOnEditingChangeImpl, - RichEditorAttributeModifier::SetEnterKeyTypeImpl, - RichEditorAttributeModifier::SetOnSubmitImpl, - RichEditorAttributeModifier::SetOnWillChangeImpl, - RichEditorAttributeModifier::SetOnDidChangeImpl, - RichEditorAttributeModifier::SetOnCutImpl, - RichEditorAttributeModifier::SetOnCopyImpl, - RichEditorAttributeModifier::SetEditMenuOptionsImpl, - RichEditorAttributeModifier::SetEnableKeyboardOnFocusImpl, - RichEditorAttributeModifier::SetEnableHapticFeedbackImpl, - RichEditorAttributeModifier::SetBarStateImpl, - RichEditorAttributeModifier::SetMaxLengthImpl, - RichEditorAttributeModifier::SetMaxLinesImpl, - RichEditorAttributeModifier::SetKeyboardAppearanceImpl, - RichEditorAttributeModifier::SetStopBackPressImpl, - RichEditorAttributeModifier::SetBindSelectionMenuImpl, - RichEditorAttributeModifier::SetCustomKeyboardImpl, - RichEditorAttributeModifier::SetPlaceholderImpl, - }; - return &ArkUIRichEditorModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setJavaScriptOnDocumentEnd("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIRichTextModifier* GetRichTextModifier() + void SetLayoutModeImpl(Ark_NativePointer node, + const Opt_WebLayoutMode* value) { - static const GENERATED_ArkUIRichTextModifier ArkUIRichTextModifierImpl { - RichTextModifier::ConstructImpl, - RichTextInterfaceModifier::SetRichTextOptionsImpl, - RichTextAttributeModifier::SetOnStartImpl, - RichTextAttributeModifier::SetOnCompleteImpl, - }; - return &ArkUIRichTextModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setLayoutMode("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIRootModifier* GetRootModifier() + void SetNestedScrollImpl(Ark_NativePointer node, + const Opt_Union_NestedScrollOptions_NestedScrollOptionsExt* value) { - static const GENERATED_ArkUIRootModifier ArkUIRootModifierImpl { - RootModifier::ConstructImpl, - }; - return &ArkUIRootModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setNestedScroll("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIRootSceneModifier* GetRootSceneModifier() + void SetEnableNativeEmbedModeImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIRootSceneModifier ArkUIRootSceneModifierImpl { - RootSceneModifier::ConstructImpl, - RootSceneInterfaceModifier::SetRootSceneOptionsImpl, - }; - return &ArkUIRootSceneModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setEnableNativeEmbedMode("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIRowModifier* GetRowModifier() + void SetOnNativeEmbedLifecycleChangeImpl(Ark_NativePointer node, + const Opt_Callback_NativeEmbedDataInfo_Void* value) { - static const GENERATED_ArkUIRowModifier ArkUIRowModifierImpl { - RowModifier::ConstructImpl, - RowInterfaceModifier::SetRowOptionsImpl, - RowAttributeModifier::SetAlignItemsImpl, - RowAttributeModifier::SetJustifyContentImpl, - RowAttributeModifier::SetPointLightImpl, - RowAttributeModifier::SetReverseImpl, - }; - return &ArkUIRowModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnNativeEmbedLifecycleChange("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIRowSplitModifier* GetRowSplitModifier() + void SetOnNativeEmbedVisibilityChangeImpl(Ark_NativePointer node, + const Opt_OnNativeEmbedVisibilityChangeCallback* value) { - static const GENERATED_ArkUIRowSplitModifier ArkUIRowSplitModifierImpl { - RowSplitModifier::ConstructImpl, - RowSplitInterfaceModifier::SetRowSplitOptionsImpl, - RowSplitAttributeModifier::SetResizeableImpl, - }; - return &ArkUIRowSplitModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnNativeEmbedVisibilityChange("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIScreenModifier* GetScreenModifier() + void SetOnNativeEmbedGestureEventImpl(Ark_NativePointer node, + const Opt_Callback_NativeEmbedTouchInfo_Void* value) { - static const GENERATED_ArkUIScreenModifier ArkUIScreenModifierImpl { - ScreenModifier::ConstructImpl, - ScreenInterfaceModifier::SetScreenOptionsImpl, - }; - return &ArkUIScreenModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnNativeEmbedGestureEvent("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIScrollModifier* GetScrollModifier() + void SetCopyOptionsImpl(Ark_NativePointer node, + const Opt_CopyOptions* value) { - static const GENERATED_ArkUIScrollModifier ArkUIScrollModifierImpl { - ScrollModifier::ConstructImpl, - ScrollInterfaceModifier::SetScrollOptionsImpl, - ScrollAttributeModifier::SetScrollableImpl, - ScrollAttributeModifier::SetOnWillScrollImpl, - ScrollAttributeModifier::SetOnDidScrollImpl, - ScrollAttributeModifier::SetOnScrollEdgeImpl, - ScrollAttributeModifier::SetOnScrollStartImpl, - ScrollAttributeModifier::SetOnScrollStopImpl, - ScrollAttributeModifier::SetScrollBarImpl, - ScrollAttributeModifier::SetScrollBarColorImpl, - ScrollAttributeModifier::SetScrollBarWidthImpl, - ScrollAttributeModifier::SetOnScrollFrameBeginImpl, - ScrollAttributeModifier::SetNestedScrollImpl, - ScrollAttributeModifier::SetEnableScrollInteractionImpl, - ScrollAttributeModifier::SetFrictionImpl, - ScrollAttributeModifier::SetScrollSnapImpl, - ScrollAttributeModifier::SetEnablePagingImpl, - ScrollAttributeModifier::SetInitialOffsetImpl, - ScrollAttributeModifier::SetEdgeEffectImpl, - }; - return &ArkUIScrollModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setCopyOptions("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIScrollableCommonMethodModifier* GetScrollableCommonMethodModifier() + void SetOnOverrideUrlLoadingImpl(Ark_NativePointer node, + const Opt_OnOverrideUrlLoadingCallback* value) { - static const GENERATED_ArkUIScrollableCommonMethodModifier ArkUIScrollableCommonMethodModifierImpl { - ScrollableCommonMethodModifier::ConstructImpl, - ScrollableCommonMethodModifier::SetScrollBarImpl, - ScrollableCommonMethodModifier::SetScrollBarColorImpl, - ScrollableCommonMethodModifier::SetScrollBarWidthImpl, - ScrollableCommonMethodModifier::SetNestedScrollImpl, - ScrollableCommonMethodModifier::SetEnableScrollInteractionImpl, - ScrollableCommonMethodModifier::SetFrictionImpl, - ScrollableCommonMethodModifier::SetOnReachStartImpl, - ScrollableCommonMethodModifier::SetOnReachEndImpl, - ScrollableCommonMethodModifier::SetOnScrollStartImpl, - ScrollableCommonMethodModifier::SetOnScrollStopImpl, - ScrollableCommonMethodModifier::SetFlingSpeedLimitImpl, - ScrollableCommonMethodModifier::SetClipContentImpl, - ScrollableCommonMethodModifier::SetDigitalCrownSensitivityImpl, - ScrollableCommonMethodModifier::SetBackToTopImpl, - ScrollableCommonMethodModifier::SetEdgeEffectImpl, - ScrollableCommonMethodModifier::SetFadingEdgeImpl, - }; - return &ArkUIScrollableCommonMethodModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnOverrideUrlLoading("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIScrollBarModifier* GetScrollBarModifier() + void SetTextAutosizingImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIScrollBarModifier ArkUIScrollBarModifierImpl { - ScrollBarModifier::ConstructImpl, - ScrollBarInterfaceModifier::SetScrollBarOptionsImpl, - ScrollBarAttributeModifier::SetEnableNestedScrollImpl, - }; - return &ArkUIScrollBarModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setTextAutosizing("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUISearchModifier* GetSearchModifier() + void SetEnableNativeMediaPlayerImpl(Ark_NativePointer node, + const Opt_NativeMediaPlayerConfig* value) { - static const GENERATED_ArkUISearchModifier ArkUISearchModifierImpl { - SearchModifier::ConstructImpl, - SearchInterfaceModifier::SetSearchOptionsImpl, - SearchAttributeModifier::SetFontColorImpl, - SearchAttributeModifier::SetSearchIconImpl, - SearchAttributeModifier::SetCancelButtonImpl, - SearchAttributeModifier::SetTextIndentImpl, - SearchAttributeModifier::SetOnEditChangeImpl, - SearchAttributeModifier::SetSelectedBackgroundColorImpl, - SearchAttributeModifier::SetCaretStyleImpl, - SearchAttributeModifier::SetPlaceholderColorImpl, - SearchAttributeModifier::SetPlaceholderFontImpl, - SearchAttributeModifier::SetTextFontImpl, - SearchAttributeModifier::SetEnterKeyTypeImpl, - SearchAttributeModifier::SetOnSubmitImpl, - SearchAttributeModifier::SetOnChangeImpl, - SearchAttributeModifier::SetOnTextSelectionChangeImpl, - SearchAttributeModifier::SetOnContentScrollImpl, - SearchAttributeModifier::SetOnCopyImpl, - SearchAttributeModifier::SetOnCutImpl, - SearchAttributeModifier::SetOnPasteImpl, - SearchAttributeModifier::SetCopyOptionImpl, - SearchAttributeModifier::SetMaxLengthImpl, - SearchAttributeModifier::SetTextAlignImpl, - SearchAttributeModifier::SetEnableKeyboardOnFocusImpl, - SearchAttributeModifier::SetSelectionMenuHiddenImpl, - SearchAttributeModifier::SetMinFontSizeImpl, - SearchAttributeModifier::SetMaxFontSizeImpl, - SearchAttributeModifier::SetMinFontScaleImpl, - SearchAttributeModifier::SetMaxFontScaleImpl, - SearchAttributeModifier::SetDecorationImpl, - SearchAttributeModifier::SetLetterSpacingImpl, - SearchAttributeModifier::SetLineHeightImpl, - SearchAttributeModifier::SetTypeImpl, - SearchAttributeModifier::SetFontFeatureImpl, - SearchAttributeModifier::SetOnWillInsertImpl, - SearchAttributeModifier::SetOnDidInsertImpl, - SearchAttributeModifier::SetOnWillDeleteImpl, - SearchAttributeModifier::SetOnDidDeleteImpl, - SearchAttributeModifier::SetEditMenuOptionsImpl, - SearchAttributeModifier::SetEnablePreviewTextImpl, - SearchAttributeModifier::SetEnableHapticFeedbackImpl, - SearchAttributeModifier::SetAutoCapitalizationModeImpl, - SearchAttributeModifier::SetHalfLeadingImpl, - SearchAttributeModifier::SetStopBackPressImpl, - SearchAttributeModifier::SetOnWillChangeImpl, - SearchAttributeModifier::SetKeyboardAppearanceImpl, - SearchAttributeModifier::SetSearchButtonImpl, - SearchAttributeModifier::SetInputFilterImpl, - SearchAttributeModifier::SetCustomKeyboardImpl, - }; - return &ArkUISearchModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setEnableNativeMediaPlayer("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUISelectModifier* GetSelectModifier() + void SetOnRenderProcessNotRespondingImpl(Ark_NativePointer node, + const Opt_OnRenderProcessNotRespondingCallback* value) { - static const GENERATED_ArkUISelectModifier ArkUISelectModifierImpl { - SelectModifier::ConstructImpl, - SelectInterfaceModifier::SetSelectOptionsImpl, - SelectAttributeModifier::SetSelectedImpl, - SelectAttributeModifier::SetValueImpl, - SelectAttributeModifier::SetFontImpl, - SelectAttributeModifier::SetFontColorImpl, - SelectAttributeModifier::SetSelectedOptionBgColorImpl, - SelectAttributeModifier::SetSelectedOptionFontImpl, - SelectAttributeModifier::SetSelectedOptionFontColorImpl, - SelectAttributeModifier::SetOptionBgColorImpl, - SelectAttributeModifier::SetOptionFontImpl, - SelectAttributeModifier::SetOptionFontColorImpl, - SelectAttributeModifier::SetOnSelectImpl, - SelectAttributeModifier::SetSpaceImpl, - SelectAttributeModifier::SetArrowPositionImpl, - SelectAttributeModifier::SetOptionWidthImpl, - SelectAttributeModifier::SetOptionHeightImpl, - SelectAttributeModifier::SetMenuBackgroundColorImpl, - SelectAttributeModifier::SetMenuBackgroundBlurStyleImpl, - SelectAttributeModifier::SetControlSizeImpl, - SelectAttributeModifier::SetDividerImpl, - SelectAttributeModifier::SetTextModifierImpl, - SelectAttributeModifier::SetArrowModifierImpl, - SelectAttributeModifier::SetOptionTextModifierImpl, - SelectAttributeModifier::SetSelectedOptionTextModifierImpl, - SelectAttributeModifier::SetDividerStyleImpl, - SelectAttributeModifier::SetAvoidanceImpl, - SelectAttributeModifier::SetMenuOutlineImpl, - SelectAttributeModifier::SetMenuAlignImpl, - }; - return &ArkUISelectModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnRenderProcessNotResponding("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIShapeModifier* GetShapeModifier() + void SetOnRenderProcessRespondingImpl(Ark_NativePointer node, + const Opt_OnRenderProcessRespondingCallback* value) { - static const GENERATED_ArkUIShapeModifier ArkUIShapeModifierImpl { - ShapeModifier::ConstructImpl, - ShapeInterfaceModifier::SetShapeOptionsImpl, - ShapeAttributeModifier::SetViewPortImpl, - ShapeAttributeModifier::SetStrokeImpl, - ShapeAttributeModifier::SetFillImpl, - ShapeAttributeModifier::SetStrokeDashOffsetImpl, - ShapeAttributeModifier::SetStrokeDashArrayImpl, - ShapeAttributeModifier::SetStrokeLineCapImpl, - ShapeAttributeModifier::SetStrokeLineJoinImpl, - ShapeAttributeModifier::SetStrokeMiterLimitImpl, - ShapeAttributeModifier::SetStrokeOpacityImpl, - ShapeAttributeModifier::SetFillOpacityImpl, - ShapeAttributeModifier::SetStrokeWidthImpl, - ShapeAttributeModifier::SetAntiAliasImpl, - ShapeAttributeModifier::SetMeshImpl, - }; - return &ArkUIShapeModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnRenderProcessResponding("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUISideBarContainerModifier* GetSideBarContainerModifier() + void SetOnViewportFitChangedImpl(Ark_NativePointer node, + const Opt_OnViewportFitChangedCallback* value) { - static const GENERATED_ArkUISideBarContainerModifier ArkUISideBarContainerModifierImpl { - SideBarContainerModifier::ConstructImpl, - SideBarContainerInterfaceModifier::SetSideBarContainerOptionsImpl, - SideBarContainerAttributeModifier::SetShowSideBarImpl, - SideBarContainerAttributeModifier::SetControlButtonImpl, - SideBarContainerAttributeModifier::SetShowControlButtonImpl, - SideBarContainerAttributeModifier::SetOnChangeImpl, - SideBarContainerAttributeModifier::SetSideBarWidth0Impl, - SideBarContainerAttributeModifier::SetMinSideBarWidth0Impl, - SideBarContainerAttributeModifier::SetMaxSideBarWidth0Impl, - SideBarContainerAttributeModifier::SetSideBarWidth1Impl, - SideBarContainerAttributeModifier::SetMinSideBarWidth1Impl, - SideBarContainerAttributeModifier::SetMaxSideBarWidth1Impl, - SideBarContainerAttributeModifier::SetAutoHideImpl, - SideBarContainerAttributeModifier::SetSideBarPositionImpl, - SideBarContainerAttributeModifier::SetDividerImpl, - SideBarContainerAttributeModifier::SetMinContentWidthImpl, - }; - return &ArkUISideBarContainerModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnViewportFitChanged("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUISliderModifier* GetSliderModifier() + void SetOnInterceptKeyboardAttachImpl(Ark_NativePointer node, + const Opt_WebKeyboardCallback* value) { - static const GENERATED_ArkUISliderModifier ArkUISliderModifierImpl { - SliderModifier::ConstructImpl, - SliderInterfaceModifier::SetSliderOptionsImpl, - SliderAttributeModifier::SetBlockColorImpl, - SliderAttributeModifier::SetTrackColorImpl, - SliderAttributeModifier::SetSelectedColorImpl, - SliderAttributeModifier::SetShowStepsImpl, - SliderAttributeModifier::SetTrackThicknessImpl, - SliderAttributeModifier::SetOnChangeImpl, - SliderAttributeModifier::SetBlockBorderColorImpl, - SliderAttributeModifier::SetBlockBorderWidthImpl, - SliderAttributeModifier::SetStepColorImpl, - SliderAttributeModifier::SetTrackBorderRadiusImpl, - SliderAttributeModifier::SetSelectedBorderRadiusImpl, - SliderAttributeModifier::SetBlockSizeImpl, - SliderAttributeModifier::SetBlockStyleImpl, - SliderAttributeModifier::SetStepSizeImpl, - SliderAttributeModifier::SetSliderInteractionModeImpl, - SliderAttributeModifier::SetMinResponsiveDistanceImpl, - SliderAttributeModifier::SetSlideRangeImpl, - SliderAttributeModifier::SetDigitalCrownSensitivityImpl, - SliderAttributeModifier::SetEnableHapticFeedbackImpl, - SliderAttributeModifier::SetShowTipsImpl, - }; - return &ArkUISliderModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnInterceptKeyboardAttach("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUISpanModifier* GetSpanModifier() + void SetOnAdsBlockedImpl(Ark_NativePointer node, + const Opt_OnAdsBlockedCallback* value) { - static const GENERATED_ArkUISpanModifier ArkUISpanModifierImpl { - SpanModifier::ConstructImpl, - SpanInterfaceModifier::SetSpanOptionsImpl, - SpanAttributeModifier::SetFontImpl, - SpanAttributeModifier::SetFontColorImpl, - SpanAttributeModifier::SetFontSizeImpl, - SpanAttributeModifier::SetFontStyleImpl, - SpanAttributeModifier::SetFontWeightImpl, - SpanAttributeModifier::SetFontFamilyImpl, - SpanAttributeModifier::SetDecorationImpl, - SpanAttributeModifier::SetLetterSpacingImpl, - SpanAttributeModifier::SetTextCaseImpl, - SpanAttributeModifier::SetLineHeightImpl, - SpanAttributeModifier::SetTextShadowImpl, - }; - return &ArkUISpanModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOnAdsBlocked("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIStackModifier* GetStackModifier() + void SetKeyboardAvoidModeImpl(Ark_NativePointer node, + const Opt_WebKeyboardAvoidMode* value) { - static const GENERATED_ArkUIStackModifier ArkUIStackModifierImpl { - StackModifier::ConstructImpl, - StackInterfaceModifier::SetStackOptionsImpl, - StackAttributeModifier::SetAlignContentImpl, - StackAttributeModifier::SetPointLightImpl, - }; - return &ArkUIStackModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setKeyboardAvoidMode("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIStepperModifier* GetStepperModifier() + void SetEditMenuOptionsImpl(Ark_NativePointer node, + const Opt_EditMenuOptions* value) { - static const GENERATED_ArkUIStepperModifier ArkUIStepperModifierImpl { - StepperModifier::ConstructImpl, - StepperInterfaceModifier::SetStepperOptionsImpl, - StepperAttributeModifier::SetOnFinishImpl, - StepperAttributeModifier::SetOnSkipImpl, - StepperAttributeModifier::SetOnChangeImpl, - StepperAttributeModifier::SetOnNextImpl, - StepperAttributeModifier::SetOnPreviousImpl, - }; - return &ArkUIStepperModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setEditMenuOptions("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIStepperItemModifier* GetStepperItemModifier() + void SetEnableHapticFeedbackImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIStepperItemModifier ArkUIStepperItemModifierImpl { - StepperItemModifier::ConstructImpl, - StepperItemInterfaceModifier::SetStepperItemOptionsImpl, - StepperItemAttributeModifier::SetPrevLabelImpl, - StepperItemAttributeModifier::SetNextLabelImpl, - StepperItemAttributeModifier::SetStatusImpl, - }; - return &ArkUIStepperItemModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setEnableHapticFeedback("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUISwiperModifier* GetSwiperModifier() + void SetOptimizeParserBudgetImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUISwiperModifier ArkUISwiperModifierImpl { - SwiperModifier::ConstructImpl, - SwiperInterfaceModifier::SetSwiperOptionsImpl, - SwiperAttributeModifier::SetIndexImpl, - SwiperAttributeModifier::SetIntervalImpl, - SwiperAttributeModifier::SetIndicatorImpl, - SwiperAttributeModifier::SetLoopImpl, - SwiperAttributeModifier::SetDurationImpl, - SwiperAttributeModifier::SetVerticalImpl, - SwiperAttributeModifier::SetItemSpaceImpl, - SwiperAttributeModifier::SetDisplayModeImpl, - SwiperAttributeModifier::SetCachedCount0Impl, - SwiperAttributeModifier::SetEffectModeImpl, - SwiperAttributeModifier::SetDisableSwipeImpl, - SwiperAttributeModifier::SetCurveImpl, - SwiperAttributeModifier::SetOnChangeImpl, - SwiperAttributeModifier::SetOnSelectedImpl, - SwiperAttributeModifier::SetOnUnselectedImpl, - SwiperAttributeModifier::SetOnAnimationStartImpl, - SwiperAttributeModifier::SetOnAnimationEndImpl, - SwiperAttributeModifier::SetOnGestureSwipeImpl, - SwiperAttributeModifier::SetNestedScrollImpl, - SwiperAttributeModifier::SetCustomContentTransitionImpl, - SwiperAttributeModifier::SetOnContentDidScrollImpl, - SwiperAttributeModifier::SetIndicatorInteractiveImpl, - SwiperAttributeModifier::SetPageFlipModeImpl, - SwiperAttributeModifier::SetOnContentWillScrollImpl, - SwiperAttributeModifier::SetAutoPlayImpl, - SwiperAttributeModifier::SetDisplayArrowImpl, - SwiperAttributeModifier::SetCachedCount1Impl, - SwiperAttributeModifier::SetDisplayCountImpl, - SwiperAttributeModifier::SetPrevMarginImpl, - SwiperAttributeModifier::SetNextMarginImpl, - }; - return &ArkUISwiperModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setOptimizeParserBudget("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUISymbolGlyphModifier* GetSymbolGlyphModifier() + void SetEnableFollowSystemFontWeightImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUISymbolGlyphModifier ArkUISymbolGlyphModifierImpl { - SymbolGlyphModifier::ConstructImpl, - SymbolGlyphInterfaceModifier::SetSymbolGlyphOptionsImpl, - SymbolGlyphAttributeModifier::SetFontSizeImpl, - SymbolGlyphAttributeModifier::SetFontColorImpl, - SymbolGlyphAttributeModifier::SetFontWeightImpl, - SymbolGlyphAttributeModifier::SetEffectStrategyImpl, - SymbolGlyphAttributeModifier::SetRenderingStrategyImpl, - SymbolGlyphAttributeModifier::SetMinFontScaleImpl, - SymbolGlyphAttributeModifier::SetMaxFontScaleImpl, - SymbolGlyphAttributeModifier::SetSymbolEffectImpl, - }; - return &ArkUISymbolGlyphModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setEnableFollowSystemFontWeight("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUISymbolSpanModifier* GetSymbolSpanModifier() + void SetEnableWebAVSessionImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUISymbolSpanModifier ArkUISymbolSpanModifierImpl { - SymbolSpanModifier::ConstructImpl, - SymbolSpanInterfaceModifier::SetSymbolSpanOptionsImpl, - SymbolSpanAttributeModifier::SetFontSizeImpl, - SymbolSpanAttributeModifier::SetFontColorImpl, - SymbolSpanAttributeModifier::SetFontWeightImpl, - SymbolSpanAttributeModifier::SetEffectStrategyImpl, - SymbolSpanAttributeModifier::SetRenderingStrategyImpl, - }; - return &ArkUISymbolSpanModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setEnableWebAVSession("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUITabContentModifier* GetTabContentModifier() + void SetRunJavaScriptOnDocumentStartImpl(Ark_NativePointer node, + const Opt_Array_ScriptItem* value) { - static const GENERATED_ArkUITabContentModifier ArkUITabContentModifierImpl { - TabContentModifier::ConstructImpl, - TabContentInterfaceModifier::SetTabContentOptionsImpl, - TabContentAttributeModifier::SetTabBarImpl, - TabContentAttributeModifier::SetOnWillShowImpl, - TabContentAttributeModifier::SetOnWillHideImpl, - }; - return &ArkUITabContentModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setRunJavaScriptOnDocumentStart("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUITabsModifier* GetTabsModifier() + void SetRunJavaScriptOnDocumentEndImpl(Ark_NativePointer node, + const Opt_Array_ScriptItem* value) { - static const GENERATED_ArkUITabsModifier ArkUITabsModifierImpl { - TabsModifier::ConstructImpl, - TabsInterfaceModifier::SetTabsOptionsImpl, - TabsAttributeModifier::SetVerticalImpl, - TabsAttributeModifier::SetBarPositionImpl, - TabsAttributeModifier::SetScrollableImpl, - TabsAttributeModifier::SetBarWidthImpl, - TabsAttributeModifier::SetBarHeightImpl, - TabsAttributeModifier::SetAnimationDurationImpl, - TabsAttributeModifier::SetAnimationModeImpl, - TabsAttributeModifier::SetEdgeEffectImpl, - TabsAttributeModifier::SetOnChangeImpl, - TabsAttributeModifier::SetOnSelectedImpl, - TabsAttributeModifier::SetOnTabBarClickImpl, - TabsAttributeModifier::SetOnUnselectedImpl, - TabsAttributeModifier::SetOnAnimationStartImpl, - TabsAttributeModifier::SetOnAnimationEndImpl, - TabsAttributeModifier::SetOnGestureSwipeImpl, - TabsAttributeModifier::SetFadingEdgeImpl, - TabsAttributeModifier::SetDividerImpl, - TabsAttributeModifier::SetBarOverlapImpl, - TabsAttributeModifier::SetBarBackgroundColorImpl, - TabsAttributeModifier::SetBarGridAlignImpl, - TabsAttributeModifier::SetCustomContentTransitionImpl, - TabsAttributeModifier::SetBarBackgroundBlurStyle0Impl, - TabsAttributeModifier::SetPageFlipModeImpl, - TabsAttributeModifier::SetBarBackgroundEffectImpl, - TabsAttributeModifier::SetOnContentWillChangeImpl, - TabsAttributeModifier::SetBarModeImpl, - TabsAttributeModifier::SetBarBackgroundBlurStyle1Impl, - TabsAttributeModifier::SetCachedMaxCountImpl, - }; - return &ArkUITabsModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setRunJavaScriptOnDocumentEnd("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUITextModifier* GetTextModifier() + void SetRunJavaScriptOnHeadEndImpl(Ark_NativePointer node, + const Opt_Array_ScriptItem* value) { - static const GENERATED_ArkUITextModifier ArkUITextModifierImpl { - TextModifier::ConstructImpl, - TextInterfaceModifier::SetTextOptionsImpl, - TextAttributeModifier::SetFontColorImpl, - TextAttributeModifier::SetFontSizeImpl, - TextAttributeModifier::SetMinFontSizeImpl, - TextAttributeModifier::SetMaxFontSizeImpl, - TextAttributeModifier::SetMinFontScaleImpl, - TextAttributeModifier::SetMaxFontScaleImpl, - TextAttributeModifier::SetFontStyleImpl, - TextAttributeModifier::SetLineSpacingImpl, - TextAttributeModifier::SetTextAlignImpl, - TextAttributeModifier::SetLineHeightImpl, - TextAttributeModifier::SetTextOverflowImpl, - TextAttributeModifier::SetFontFamilyImpl, - TextAttributeModifier::SetMaxLinesImpl, - TextAttributeModifier::SetDecorationImpl, - TextAttributeModifier::SetLetterSpacingImpl, - TextAttributeModifier::SetTextCaseImpl, - TextAttributeModifier::SetBaselineOffsetImpl, - TextAttributeModifier::SetCopyOptionImpl, - TextAttributeModifier::SetDraggableImpl, - TextAttributeModifier::SetTextShadowImpl, - TextAttributeModifier::SetHeightAdaptivePolicyImpl, - TextAttributeModifier::SetTextIndentImpl, - TextAttributeModifier::SetWordBreakImpl, - TextAttributeModifier::SetLineBreakStrategyImpl, - TextAttributeModifier::SetOnCopyImpl, - TextAttributeModifier::SetCaretColorImpl, - TextAttributeModifier::SetSelectedBackgroundColorImpl, - TextAttributeModifier::SetEllipsisModeImpl, - TextAttributeModifier::SetEnableDataDetectorImpl, - TextAttributeModifier::SetDataDetectorConfigImpl, - TextAttributeModifier::SetOnTextSelectionChangeImpl, - TextAttributeModifier::SetFontFeatureImpl, - TextAttributeModifier::SetMarqueeOptionsImpl, - TextAttributeModifier::SetOnMarqueeStateChangeImpl, - TextAttributeModifier::SetPrivacySensitiveImpl, - TextAttributeModifier::SetTextSelectableImpl, - TextAttributeModifier::SetEditMenuOptionsImpl, - TextAttributeModifier::SetHalfLeadingImpl, - TextAttributeModifier::SetEnableHapticFeedbackImpl, - TextAttributeModifier::SetFontImpl, - TextAttributeModifier::SetFontWeightImpl, - TextAttributeModifier::SetSelectionImpl, - TextAttributeModifier::SetBindSelectionMenuImpl, - }; - return &ArkUITextModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setRunJavaScriptOnHeadEnd("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUITextAreaModifier* GetTextAreaModifier() + void SetNativeEmbedOptionsImpl(Ark_NativePointer node, + const Opt_EmbedOptions* value) { - static const GENERATED_ArkUITextAreaModifier ArkUITextAreaModifierImpl { - TextAreaModifier::ConstructImpl, - TextAreaInterfaceModifier::SetTextAreaOptionsImpl, - TextAreaAttributeModifier::SetPlaceholderColorImpl, - TextAreaAttributeModifier::SetPlaceholderFontImpl, - TextAreaAttributeModifier::SetEnterKeyTypeImpl, - TextAreaAttributeModifier::SetTextAlignImpl, - TextAreaAttributeModifier::SetCaretColorImpl, - TextAreaAttributeModifier::SetFontColorImpl, - TextAreaAttributeModifier::SetFontSizeImpl, - TextAreaAttributeModifier::SetFontStyleImpl, - TextAreaAttributeModifier::SetFontWeightImpl, - TextAreaAttributeModifier::SetFontFamilyImpl, - TextAreaAttributeModifier::SetTextOverflowImpl, - TextAreaAttributeModifier::SetTextIndentImpl, - TextAreaAttributeModifier::SetCaretStyleImpl, - TextAreaAttributeModifier::SetSelectedBackgroundColorImpl, - TextAreaAttributeModifier::SetOnSubmitImpl, - TextAreaAttributeModifier::SetOnChangeImpl, - TextAreaAttributeModifier::SetOnTextSelectionChangeImpl, - TextAreaAttributeModifier::SetOnContentScrollImpl, - TextAreaAttributeModifier::SetOnEditChangeImpl, - TextAreaAttributeModifier::SetOnCopyImpl, - TextAreaAttributeModifier::SetOnCutImpl, - TextAreaAttributeModifier::SetOnPasteImpl, - TextAreaAttributeModifier::SetCopyOptionImpl, - TextAreaAttributeModifier::SetEnableKeyboardOnFocusImpl, - TextAreaAttributeModifier::SetMaxLengthImpl, - TextAreaAttributeModifier::SetStyleImpl, - TextAreaAttributeModifier::SetBarStateImpl, - TextAreaAttributeModifier::SetSelectionMenuHiddenImpl, - TextAreaAttributeModifier::SetMinFontSizeImpl, - TextAreaAttributeModifier::SetMaxFontSizeImpl, - TextAreaAttributeModifier::SetMinFontScaleImpl, - TextAreaAttributeModifier::SetMaxFontScaleImpl, - TextAreaAttributeModifier::SetHeightAdaptivePolicyImpl, - TextAreaAttributeModifier::SetMaxLinesImpl, - TextAreaAttributeModifier::SetWordBreakImpl, - TextAreaAttributeModifier::SetLineBreakStrategyImpl, - TextAreaAttributeModifier::SetDecorationImpl, - TextAreaAttributeModifier::SetLetterSpacingImpl, - TextAreaAttributeModifier::SetLineSpacingImpl, - TextAreaAttributeModifier::SetLineHeightImpl, - TextAreaAttributeModifier::SetTypeImpl, - TextAreaAttributeModifier::SetEnableAutoFillImpl, - TextAreaAttributeModifier::SetContentTypeImpl, - TextAreaAttributeModifier::SetFontFeatureImpl, - TextAreaAttributeModifier::SetOnWillInsertImpl, - TextAreaAttributeModifier::SetOnDidInsertImpl, - TextAreaAttributeModifier::SetOnWillDeleteImpl, - TextAreaAttributeModifier::SetOnDidDeleteImpl, - TextAreaAttributeModifier::SetEditMenuOptionsImpl, - TextAreaAttributeModifier::SetEnablePreviewTextImpl, - TextAreaAttributeModifier::SetEnableHapticFeedbackImpl, - TextAreaAttributeModifier::SetAutoCapitalizationModeImpl, - TextAreaAttributeModifier::SetHalfLeadingImpl, - TextAreaAttributeModifier::SetEllipsisModeImpl, - TextAreaAttributeModifier::SetStopBackPressImpl, - TextAreaAttributeModifier::SetOnWillChangeImpl, - TextAreaAttributeModifier::SetKeyboardAppearanceImpl, - TextAreaAttributeModifier::SetInputFilterImpl, - TextAreaAttributeModifier::SetShowCounterImpl, - TextAreaAttributeModifier::SetCustomKeyboardImpl, - }; - return &ArkUITextAreaModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setNativeEmbedOptions("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUITextClockModifier* GetTextClockModifier() + void SetRegisterNativeEmbedRuleImpl(Ark_NativePointer node, + const Opt_String* tag, + const Opt_String* type) { - static const GENERATED_ArkUITextClockModifier ArkUITextClockModifierImpl { - TextClockModifier::ConstructImpl, - TextClockInterfaceModifier::SetTextClockOptionsImpl, - TextClockAttributeModifier::SetFormatImpl, - TextClockAttributeModifier::SetOnDateChangeImpl, - TextClockAttributeModifier::SetFontColorImpl, - TextClockAttributeModifier::SetFontSizeImpl, - TextClockAttributeModifier::SetFontStyleImpl, - TextClockAttributeModifier::SetFontWeightImpl, - TextClockAttributeModifier::SetFontFamilyImpl, - TextClockAttributeModifier::SetTextShadowImpl, - TextClockAttributeModifier::SetFontFeatureImpl, - TextClockAttributeModifier::SetDateTimeOptionsImpl, - }; - return &ArkUITextClockModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("setRegisterNativeEmbedRule("); + WriteToString(&out, tag); + out.append(", "); + WriteToString(&out, type); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUITextInputModifier* GetTextInputModifier() + void SetBindSelectionMenuImpl(Ark_NativePointer node, + const Opt_WebElementType* elementType, + const Opt_CustomNodeBuilder* content, + const Opt_WebResponseType* responseType, + const Opt_SelectionMenuOptionsExt* options) { - static const GENERATED_ArkUITextInputModifier ArkUITextInputModifierImpl { - TextInputModifier::ConstructImpl, - TextInputInterfaceModifier::SetTextInputOptionsImpl, - TextInputAttributeModifier::SetTypeImpl, - TextInputAttributeModifier::SetContentTypeImpl, - TextInputAttributeModifier::SetPlaceholderColorImpl, - TextInputAttributeModifier::SetTextOverflowImpl, - TextInputAttributeModifier::SetTextIndentImpl, - TextInputAttributeModifier::SetPlaceholderFontImpl, - TextInputAttributeModifier::SetEnterKeyTypeImpl, - TextInputAttributeModifier::SetCaretColorImpl, - TextInputAttributeModifier::SetOnEditChangeImpl, - TextInputAttributeModifier::SetOnSubmitImpl, - TextInputAttributeModifier::SetOnChangeImpl, - TextInputAttributeModifier::SetOnTextSelectionChangeImpl, - TextInputAttributeModifier::SetOnContentScrollImpl, - TextInputAttributeModifier::SetMaxLengthImpl, - TextInputAttributeModifier::SetFontColorImpl, - TextInputAttributeModifier::SetFontSizeImpl, - TextInputAttributeModifier::SetFontStyleImpl, - TextInputAttributeModifier::SetFontWeightImpl, - TextInputAttributeModifier::SetFontFamilyImpl, - TextInputAttributeModifier::SetOnCopyImpl, - TextInputAttributeModifier::SetOnCutImpl, - TextInputAttributeModifier::SetOnPasteImpl, - TextInputAttributeModifier::SetCopyOptionImpl, - TextInputAttributeModifier::SetShowPasswordIconImpl, - TextInputAttributeModifier::SetTextAlignImpl, - TextInputAttributeModifier::SetStyleImpl, - TextInputAttributeModifier::SetCaretStyleImpl, - TextInputAttributeModifier::SetSelectedBackgroundColorImpl, - TextInputAttributeModifier::SetCaretPositionImpl, - TextInputAttributeModifier::SetEnableKeyboardOnFocusImpl, - TextInputAttributeModifier::SetPasswordIconImpl, - TextInputAttributeModifier::SetShowErrorImpl, - TextInputAttributeModifier::SetShowUnitImpl, - TextInputAttributeModifier::SetShowUnderlineImpl, - TextInputAttributeModifier::SetUnderlineColorImpl, - TextInputAttributeModifier::SetSelectionMenuHiddenImpl, - TextInputAttributeModifier::SetBarStateImpl, - TextInputAttributeModifier::SetMaxLinesImpl, - TextInputAttributeModifier::SetWordBreakImpl, - TextInputAttributeModifier::SetLineBreakStrategyImpl, - TextInputAttributeModifier::SetCancelButtonImpl, - TextInputAttributeModifier::SetSelectAllImpl, - TextInputAttributeModifier::SetMinFontSizeImpl, - TextInputAttributeModifier::SetMaxFontSizeImpl, - TextInputAttributeModifier::SetMinFontScaleImpl, - TextInputAttributeModifier::SetMaxFontScaleImpl, - TextInputAttributeModifier::SetHeightAdaptivePolicyImpl, - TextInputAttributeModifier::SetEnableAutoFillImpl, - TextInputAttributeModifier::SetDecorationImpl, - TextInputAttributeModifier::SetLetterSpacingImpl, - TextInputAttributeModifier::SetLineHeightImpl, - TextInputAttributeModifier::SetPasswordRulesImpl, - TextInputAttributeModifier::SetFontFeatureImpl, - TextInputAttributeModifier::SetShowPasswordImpl, - TextInputAttributeModifier::SetOnSecurityStateChangeImpl, - TextInputAttributeModifier::SetOnWillInsertImpl, - TextInputAttributeModifier::SetOnDidInsertImpl, - TextInputAttributeModifier::SetOnWillDeleteImpl, - TextInputAttributeModifier::SetOnDidDeleteImpl, - TextInputAttributeModifier::SetEditMenuOptionsImpl, - TextInputAttributeModifier::SetEnablePreviewTextImpl, - TextInputAttributeModifier::SetEnableHapticFeedbackImpl, - TextInputAttributeModifier::SetAutoCapitalizationModeImpl, - TextInputAttributeModifier::SetHalfLeadingImpl, - TextInputAttributeModifier::SetEllipsisModeImpl, - TextInputAttributeModifier::SetStopBackPressImpl, - TextInputAttributeModifier::SetOnWillChangeImpl, - TextInputAttributeModifier::SetKeyboardAppearanceImpl, - TextInputAttributeModifier::SetInputFilterImpl, - TextInputAttributeModifier::SetCustomKeyboardImpl, - TextInputAttributeModifier::SetShowCounterImpl, + if (!needGroupedLog(1)) + { + return; + } + string out("setBindSelectionMenu("); + WriteToString(&out, elementType); + out.append(", "); + WriteToString(&out, content); + out.append(", "); + WriteToString(&out, responseType); + out.append(", "); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // WebAttributeModifier + namespace WindowSceneModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + if (!needGroupedLog(1)) + { + return new TreeNode("WindowScene", id, flags);; + } + string out("construct("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, flags); + out.append(") \n"); + out.append("[return nullptr] \n"); + appendGroupedLog(1, out); + return new TreeNode("WindowScene", id, flags);; + } + } // WindowSceneModifier + namespace WindowSceneInterfaceModifier { + void SetWindowSceneOptionsImpl(Ark_NativePointer node, + const Ark_Number* persistentId) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setWindowSceneOptions("); + WriteToString(&out, persistentId); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // WindowSceneInterfaceModifier + namespace WindowSceneAttributeModifier { + void SetAttractionEffectImpl(Ark_NativePointer node, + const Opt_Position* destination, + const Opt_Number* fraction) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setAttractionEffect("); + WriteToString(&out, destination); + out.append(", "); + WriteToString(&out, fraction); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // WindowSceneAttributeModifier + namespace WithThemeModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + if (!needGroupedLog(1)) + { + return new TreeNode("WithTheme", id, flags);; + } + string out("construct("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, flags); + out.append(") \n"); + out.append("[return nullptr] \n"); + appendGroupedLog(1, out); + return new TreeNode("WithTheme", id, flags);; + } + } // WithThemeModifier + namespace WithThemeInterfaceModifier { + void SetWithThemeOptionsImpl(Ark_NativePointer node, + const Ark_WithThemeOptions* options) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setWithThemeOptions("); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // WithThemeInterfaceModifier + namespace XComponentModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + if (!needGroupedLog(1)) + { + return new TreeNode("XComponent", id, flags);; + } + string out("construct("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, flags); + out.append(") \n"); + out.append("[return nullptr] \n"); + appendGroupedLog(1, out); + return new TreeNode("XComponent", id, flags);; + } + } // XComponentModifier + namespace XComponentInterfaceModifier { + void SetXComponentOptionsImpl(Ark_NativePointer node, + const Ark_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters* params) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setXComponentOptions("); + WriteToString(&out, params); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // XComponentInterfaceModifier + namespace XComponentAttributeModifier { + void SetOnLoadImpl(Ark_NativePointer node, + const Opt_VoidCallback* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setOnLoad("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOnDestroyImpl(Ark_NativePointer node, + const Opt_VoidCallback* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setOnDestroy("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetEnableAnalyzerImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setEnableAnalyzer("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetEnableSecureImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setEnableSecure("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetHdrBrightnessImpl(Ark_NativePointer node, + const Opt_Float64* value) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setHdrBrightness("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // XComponentAttributeModifier + const GENERATED_ArkUIAlphabetIndexerModifier* GetAlphabetIndexerModifier() + { + static const GENERATED_ArkUIAlphabetIndexerModifier ArkUIAlphabetIndexerModifierImpl { + AlphabetIndexerModifier::ConstructImpl, + AlphabetIndexerInterfaceModifier::SetAlphabetIndexerOptionsImpl, + AlphabetIndexerAttributeModifier::SetColorImpl, + AlphabetIndexerAttributeModifier::SetSelectedColorImpl, + AlphabetIndexerAttributeModifier::SetPopupColorImpl, + AlphabetIndexerAttributeModifier::SetSelectedBackgroundColorImpl, + AlphabetIndexerAttributeModifier::SetPopupBackgroundImpl, + AlphabetIndexerAttributeModifier::SetPopupSelectedColorImpl, + AlphabetIndexerAttributeModifier::SetPopupUnselectedColorImpl, + AlphabetIndexerAttributeModifier::SetPopupItemBackgroundColorImpl, + AlphabetIndexerAttributeModifier::SetUsingPopupImpl, + AlphabetIndexerAttributeModifier::SetSelectedFontImpl, + AlphabetIndexerAttributeModifier::SetPopupFontImpl, + AlphabetIndexerAttributeModifier::SetPopupItemFontImpl, + AlphabetIndexerAttributeModifier::SetItemSizeImpl, + AlphabetIndexerAttributeModifier::SetFontImpl, + AlphabetIndexerAttributeModifier::SetOnSelectImpl, + AlphabetIndexerAttributeModifier::SetOnRequestPopupDataImpl, + AlphabetIndexerAttributeModifier::SetOnPopupSelectImpl, + AlphabetIndexerAttributeModifier::SetSelectedImpl, + AlphabetIndexerAttributeModifier::SetPopupPositionImpl, + AlphabetIndexerAttributeModifier::SetAutoCollapseImpl, + AlphabetIndexerAttributeModifier::SetPopupItemBorderRadiusImpl, + AlphabetIndexerAttributeModifier::SetItemBorderRadiusImpl, + AlphabetIndexerAttributeModifier::SetPopupBackgroundBlurStyleImpl, + AlphabetIndexerAttributeModifier::SetPopupTitleBackgroundImpl, + AlphabetIndexerAttributeModifier::SetEnableHapticFeedbackImpl, + AlphabetIndexerAttributeModifier::SetAlignStyleImpl, }; - return &ArkUITextInputModifierImpl; + return &ArkUIAlphabetIndexerModifierImpl; } - const GENERATED_ArkUITextPickerModifier* GetTextPickerModifier() + const GENERATED_ArkUIAnimatorModifier* GetAnimatorModifier() { - static const GENERATED_ArkUITextPickerModifier ArkUITextPickerModifierImpl { - TextPickerModifier::ConstructImpl, - TextPickerInterfaceModifier::SetTextPickerOptionsImpl, - TextPickerAttributeModifier::SetDefaultPickerItemHeightImpl, - TextPickerAttributeModifier::SetCanLoopImpl, - TextPickerAttributeModifier::SetDisappearTextStyleImpl, - TextPickerAttributeModifier::SetTextStyleImpl, - TextPickerAttributeModifier::SetSelectedTextStyleImpl, - TextPickerAttributeModifier::SetDisableTextStyleAnimationImpl, - TextPickerAttributeModifier::SetDefaultTextStyleImpl, - TextPickerAttributeModifier::SetOnChangeImpl, - TextPickerAttributeModifier::SetOnScrollStopImpl, - TextPickerAttributeModifier::SetOnEnterSelectedAreaImpl, - TextPickerAttributeModifier::SetSelectedIndexImpl, - TextPickerAttributeModifier::SetDividerImpl, - TextPickerAttributeModifier::SetGradientHeightImpl, - TextPickerAttributeModifier::SetEnableHapticFeedbackImpl, - TextPickerAttributeModifier::SetDigitalCrownSensitivityImpl, + static const GENERATED_ArkUIAnimatorModifier ArkUIAnimatorModifierImpl { + AnimatorModifier::ConstructImpl, + AnimatorInterfaceModifier::SetAnimatorOptionsImpl, + AnimatorAttributeModifier::SetStateImpl, + AnimatorAttributeModifier::SetDurationImpl, + AnimatorAttributeModifier::SetCurveImpl, + AnimatorAttributeModifier::SetDelayImpl, + AnimatorAttributeModifier::SetFillModeImpl, + AnimatorAttributeModifier::SetIterationsImpl, + AnimatorAttributeModifier::SetPlayModeImpl, + AnimatorAttributeModifier::SetMotionImpl, + AnimatorAttributeModifier::SetOnStartImpl, + AnimatorAttributeModifier::SetOnPauseImpl, + AnimatorAttributeModifier::SetOnRepeatImpl, + AnimatorAttributeModifier::SetOnCancelImpl, + AnimatorAttributeModifier::SetOnFinishImpl, + AnimatorAttributeModifier::SetOnFrameImpl, }; - return &ArkUITextPickerModifierImpl; + return &ArkUIAnimatorModifierImpl; } - const GENERATED_ArkUITextTimerModifier* GetTextTimerModifier() + const GENERATED_ArkUIBadgeModifier* GetBadgeModifier() { - static const GENERATED_ArkUITextTimerModifier ArkUITextTimerModifierImpl { - TextTimerModifier::ConstructImpl, - TextTimerInterfaceModifier::SetTextTimerOptionsImpl, - TextTimerAttributeModifier::SetFormatImpl, - TextTimerAttributeModifier::SetFontColorImpl, - TextTimerAttributeModifier::SetFontSizeImpl, - TextTimerAttributeModifier::SetFontStyleImpl, - TextTimerAttributeModifier::SetFontWeightImpl, - TextTimerAttributeModifier::SetFontFamilyImpl, - TextTimerAttributeModifier::SetOnTimerImpl, - TextTimerAttributeModifier::SetTextShadowImpl, + static const GENERATED_ArkUIBadgeModifier ArkUIBadgeModifierImpl { + BadgeModifier::ConstructImpl, + BadgeInterfaceModifier::SetBadgeOptions0Impl, + BadgeInterfaceModifier::SetBadgeOptions1Impl, }; - return &ArkUITextTimerModifierImpl; + return &ArkUIBadgeModifierImpl; } - const GENERATED_ArkUITimePickerModifier* GetTimePickerModifier() + const GENERATED_ArkUIBaseSpanModifier* GetBaseSpanModifier() { - static const GENERATED_ArkUITimePickerModifier ArkUITimePickerModifierImpl { - TimePickerModifier::ConstructImpl, - TimePickerInterfaceModifier::SetTimePickerOptionsImpl, - TimePickerAttributeModifier::SetUseMilitaryTimeImpl, - TimePickerAttributeModifier::SetLoopImpl, - TimePickerAttributeModifier::SetDisappearTextStyleImpl, - TimePickerAttributeModifier::SetTextStyleImpl, - TimePickerAttributeModifier::SetSelectedTextStyleImpl, - TimePickerAttributeModifier::SetDateTimeOptionsImpl, - TimePickerAttributeModifier::SetOnChangeImpl, - TimePickerAttributeModifier::SetOnEnterSelectedAreaImpl, - TimePickerAttributeModifier::SetEnableHapticFeedbackImpl, - TimePickerAttributeModifier::SetDigitalCrownSensitivityImpl, - TimePickerAttributeModifier::SetEnableCascadeImpl, + static const GENERATED_ArkUIBaseSpanModifier ArkUIBaseSpanModifierImpl { + BaseSpanModifier::ConstructImpl, + BaseSpanModifier::SetTextBackgroundStyleImpl, + BaseSpanModifier::SetBaselineOffsetImpl, }; - return &ArkUITimePickerModifierImpl; + return &ArkUIBaseSpanModifierImpl; } - const GENERATED_ArkUIToggleModifier* GetToggleModifier() + const GENERATED_ArkUIBlankModifier* GetBlankModifier() { - static const GENERATED_ArkUIToggleModifier ArkUIToggleModifierImpl { - ToggleModifier::ConstructImpl, - ToggleInterfaceModifier::SetToggleOptionsImpl, - ToggleAttributeModifier::SetOnChangeImpl, - ToggleAttributeModifier::SetSelectedColorImpl, - ToggleAttributeModifier::SetSwitchPointColorImpl, - ToggleAttributeModifier::SetSwitchStyleImpl, + static const GENERATED_ArkUIBlankModifier ArkUIBlankModifierImpl { + BlankModifier::ConstructImpl, + BlankInterfaceModifier::SetBlankOptionsImpl, + BlankAttributeModifier::SetColorImpl, }; - return &ArkUIToggleModifierImpl; + return &ArkUIBlankModifierImpl; } - const GENERATED_ArkUIUIExtensionComponentModifier* GetUIExtensionComponentModifier() + const GENERATED_ArkUIButtonModifier* GetButtonModifier() { - static const GENERATED_ArkUIUIExtensionComponentModifier ArkUIUIExtensionComponentModifierImpl { - UIExtensionComponentModifier::ConstructImpl, - UIExtensionComponentInterfaceModifier::SetUIExtensionComponentOptionsImpl, - UIExtensionComponentAttributeModifier::SetOnRemoteReadyImpl, - UIExtensionComponentAttributeModifier::SetOnReceiveImpl, - UIExtensionComponentAttributeModifier::SetOnErrorImpl, - UIExtensionComponentAttributeModifier::SetOnTerminatedImpl, - UIExtensionComponentAttributeModifier::SetOnDrawReadyImpl, + static const GENERATED_ArkUIButtonModifier ArkUIButtonModifierImpl { + ButtonModifier::ConstructImpl, + ButtonInterfaceModifier::SetButtonOptionsImpl, + ButtonAttributeModifier::SetTypeImpl, + ButtonAttributeModifier::SetStateEffectImpl, + ButtonAttributeModifier::SetButtonStyleImpl, + ButtonAttributeModifier::SetControlSizeImpl, + ButtonAttributeModifier::SetRoleImpl, + ButtonAttributeModifier::SetFontColorImpl, + ButtonAttributeModifier::SetFontSizeImpl, + ButtonAttributeModifier::SetFontWeightImpl, + ButtonAttributeModifier::SetFontStyleImpl, + ButtonAttributeModifier::SetFontFamilyImpl, + ButtonAttributeModifier::SetLabelStyleImpl, + ButtonAttributeModifier::SetMinFontScaleImpl, + ButtonAttributeModifier::SetMaxFontScaleImpl, }; - return &ArkUIUIExtensionComponentModifierImpl; + return &ArkUIButtonModifierImpl; } - const GENERATED_ArkUIVideoModifier* GetVideoModifier() + const GENERATED_ArkUICalendarPickerModifier* GetCalendarPickerModifier() { - static const GENERATED_ArkUIVideoModifier ArkUIVideoModifierImpl { - VideoModifier::ConstructImpl, - VideoInterfaceModifier::SetVideoOptionsImpl, - VideoAttributeModifier::SetMutedImpl, - VideoAttributeModifier::SetAutoPlayImpl, - VideoAttributeModifier::SetControlsImpl, - VideoAttributeModifier::SetLoopImpl, - VideoAttributeModifier::SetObjectFitImpl, - VideoAttributeModifier::SetOnStartImpl, - VideoAttributeModifier::SetOnPauseImpl, - VideoAttributeModifier::SetOnFinishImpl, - VideoAttributeModifier::SetOnFullscreenChangeImpl, - VideoAttributeModifier::SetOnPreparedImpl, - VideoAttributeModifier::SetOnSeekingImpl, - VideoAttributeModifier::SetOnSeekedImpl, - VideoAttributeModifier::SetOnUpdateImpl, - VideoAttributeModifier::SetOnErrorImpl, - VideoAttributeModifier::SetOnStopImpl, - VideoAttributeModifier::SetEnableAnalyzerImpl, - VideoAttributeModifier::SetAnalyzerConfigImpl, - VideoAttributeModifier::SetSurfaceBackgroundColorImpl, - VideoAttributeModifier::SetEnableShortcutKeyImpl, + static const GENERATED_ArkUICalendarPickerModifier ArkUICalendarPickerModifierImpl { + CalendarPickerModifier::ConstructImpl, + CalendarPickerInterfaceModifier::SetCalendarPickerOptionsImpl, + CalendarPickerAttributeModifier::SetTextStyleImpl, + CalendarPickerAttributeModifier::SetOnChangeImpl, + CalendarPickerAttributeModifier::SetMarkTodayImpl, + CalendarPickerAttributeModifier::SetEdgeAlignImpl, }; - return &ArkUIVideoModifierImpl; + return &ArkUICalendarPickerModifierImpl; } - const GENERATED_ArkUIWaterFlowModifier* GetWaterFlowModifier() + const GENERATED_ArkUICanvasModifier* GetCanvasModifier() { - static const GENERATED_ArkUIWaterFlowModifier ArkUIWaterFlowModifierImpl { - WaterFlowModifier::ConstructImpl, - WaterFlowInterfaceModifier::SetWaterFlowOptionsImpl, - WaterFlowAttributeModifier::SetColumnsTemplateImpl, - WaterFlowAttributeModifier::SetItemConstraintSizeImpl, - WaterFlowAttributeModifier::SetRowsTemplateImpl, - WaterFlowAttributeModifier::SetColumnsGapImpl, - WaterFlowAttributeModifier::SetRowsGapImpl, - WaterFlowAttributeModifier::SetLayoutDirectionImpl, - WaterFlowAttributeModifier::SetCachedCount0Impl, - WaterFlowAttributeModifier::SetOnScrollFrameBeginImpl, - WaterFlowAttributeModifier::SetOnScrollIndexImpl, - WaterFlowAttributeModifier::SetOnWillScrollImpl, - WaterFlowAttributeModifier::SetOnDidScrollImpl, - WaterFlowAttributeModifier::SetCachedCount1Impl, + static const GENERATED_ArkUICanvasModifier ArkUICanvasModifierImpl { + CanvasModifier::ConstructImpl, + CanvasInterfaceModifier::SetCanvasOptionsImpl, + CanvasAttributeModifier::SetOnReadyImpl, + CanvasAttributeModifier::SetEnableAnalyzerImpl, }; - return &ArkUIWaterFlowModifierImpl; + return &ArkUICanvasModifierImpl; + } + + const GENERATED_ArkUICheckboxModifier* GetCheckboxModifier() + { + static const GENERATED_ArkUICheckboxModifier ArkUICheckboxModifierImpl { + CheckboxModifier::ConstructImpl, + CheckboxInterfaceModifier::SetCheckboxOptionsImpl, + CheckboxAttributeModifier::SetSelectImpl, + CheckboxAttributeModifier::SetSelectedColorImpl, + CheckboxAttributeModifier::SetShapeImpl, + CheckboxAttributeModifier::SetUnselectedColorImpl, + CheckboxAttributeModifier::SetMarkImpl, + CheckboxAttributeModifier::SetOnChangeImpl, + }; + return &ArkUICheckboxModifierImpl; + } + + const GENERATED_ArkUICheckboxGroupModifier* GetCheckboxGroupModifier() + { + static const GENERATED_ArkUICheckboxGroupModifier ArkUICheckboxGroupModifierImpl { + CheckboxGroupModifier::ConstructImpl, + CheckboxGroupInterfaceModifier::SetCheckboxGroupOptionsImpl, + CheckboxGroupAttributeModifier::SetSelectAllImpl, + CheckboxGroupAttributeModifier::SetSelectedColorImpl, + CheckboxGroupAttributeModifier::SetUnselectedColorImpl, + CheckboxGroupAttributeModifier::SetMarkImpl, + CheckboxGroupAttributeModifier::SetOnChangeImpl, + CheckboxGroupAttributeModifier::SetCheckboxShapeImpl, + }; + return &ArkUICheckboxGroupModifierImpl; + } + + const GENERATED_ArkUICircleModifier* GetCircleModifier() + { + static const GENERATED_ArkUICircleModifier ArkUICircleModifierImpl { + CircleModifier::ConstructImpl, + CircleInterfaceModifier::SetCircleOptionsImpl, + }; + return &ArkUICircleModifierImpl; + } + + const GENERATED_ArkUIColumnModifier* GetColumnModifier() + { + static const GENERATED_ArkUIColumnModifier ArkUIColumnModifierImpl { + ColumnModifier::ConstructImpl, + ColumnInterfaceModifier::SetColumnOptionsImpl, + ColumnAttributeModifier::SetAlignItemsImpl, + ColumnAttributeModifier::SetJustifyContentImpl, + ColumnAttributeModifier::SetReverseImpl, + }; + return &ArkUIColumnModifierImpl; + } + + const GENERATED_ArkUIColumnSplitModifier* GetColumnSplitModifier() + { + static const GENERATED_ArkUIColumnSplitModifier ArkUIColumnSplitModifierImpl { + ColumnSplitModifier::ConstructImpl, + ColumnSplitInterfaceModifier::SetColumnSplitOptionsImpl, + ColumnSplitAttributeModifier::SetResizeableImpl, + ColumnSplitAttributeModifier::SetDividerImpl, + }; + return &ArkUIColumnSplitModifierImpl; + } + + const GENERATED_ArkUICommonMethodModifier* GetCommonMethodModifier() + { + static const GENERATED_ArkUICommonMethodModifier ArkUICommonMethodModifierImpl { + CommonMethodModifier::ConstructImpl, + CommonMethodModifier::SetWidthImpl, + CommonMethodModifier::SetHeightImpl, + CommonMethodModifier::SetDrawModifierImpl, + CommonMethodModifier::SetResponseRegionImpl, + CommonMethodModifier::SetMouseResponseRegionImpl, + CommonMethodModifier::SetSizeImpl, + CommonMethodModifier::SetConstraintSizeImpl, + CommonMethodModifier::SetHitTestBehaviorImpl, + CommonMethodModifier::SetOnChildTouchTestImpl, + CommonMethodModifier::SetLayoutWeightImpl, + CommonMethodModifier::SetChainWeightImpl, + CommonMethodModifier::SetPaddingImpl, + CommonMethodModifier::SetSafeAreaPaddingImpl, + CommonMethodModifier::SetMarginImpl, + CommonMethodModifier::SetBackgroundColorImpl, + CommonMethodModifier::SetPixelRoundImpl, + CommonMethodModifier::SetBackgroundImageSizeImpl, + CommonMethodModifier::SetBackgroundImagePositionImpl, + CommonMethodModifier::SetBackgroundEffect0Impl, + CommonMethodModifier::SetBackgroundImageResizableImpl, + CommonMethodModifier::SetForegroundEffectImpl, + CommonMethodModifier::SetVisualEffectImpl, + CommonMethodModifier::SetBackgroundFilterImpl, + CommonMethodModifier::SetForegroundFilterImpl, + CommonMethodModifier::SetCompositingFilterImpl, + CommonMethodModifier::SetOpacityImpl, + CommonMethodModifier::SetBorderImpl, + CommonMethodModifier::SetBorderStyleImpl, + CommonMethodModifier::SetBorderWidthImpl, + CommonMethodModifier::SetBorderColorImpl, + CommonMethodModifier::SetBorderRadiusImpl, + CommonMethodModifier::SetBorderImageImpl, + CommonMethodModifier::SetOutlineImpl, + CommonMethodModifier::SetOutlineStyleImpl, + CommonMethodModifier::SetOutlineWidthImpl, + CommonMethodModifier::SetOutlineColorImpl, + CommonMethodModifier::SetOutlineRadiusImpl, + CommonMethodModifier::SetForegroundColorImpl, + CommonMethodModifier::SetOnClick0Impl, + CommonMethodModifier::SetOnHoverImpl, + CommonMethodModifier::SetOnHoverMoveImpl, + CommonMethodModifier::SetOnAccessibilityHoverImpl, + CommonMethodModifier::SetHoverEffectImpl, + CommonMethodModifier::SetOnMouseImpl, + CommonMethodModifier::SetOnTouchImpl, + CommonMethodModifier::SetOnKeyEventImpl, + CommonMethodModifier::SetOnDigitalCrownImpl, + CommonMethodModifier::SetOnKeyPreImeImpl, + CommonMethodModifier::SetOnKeyEventDispatchImpl, + CommonMethodModifier::SetOnFocusAxisEventImpl, + CommonMethodModifier::SetOnAxisEventImpl, + CommonMethodModifier::SetFocusableImpl, + CommonMethodModifier::SetNextFocusImpl, + CommonMethodModifier::SetTabStopImpl, + CommonMethodModifier::SetOnFocusImpl, + CommonMethodModifier::SetOnBlurImpl, + CommonMethodModifier::SetTabIndexImpl, + CommonMethodModifier::SetDefaultFocusImpl, + CommonMethodModifier::SetGroupDefaultFocusImpl, + CommonMethodModifier::SetFocusOnTouchImpl, + CommonMethodModifier::SetFocusBoxImpl, + CommonMethodModifier::SetAnimationImpl, + CommonMethodModifier::SetTransition0Impl, + CommonMethodModifier::SetMotionBlurImpl, + CommonMethodModifier::SetBrightnessImpl, + CommonMethodModifier::SetContrastImpl, + CommonMethodModifier::SetGrayscaleImpl, + CommonMethodModifier::SetColorBlendImpl, + CommonMethodModifier::SetSaturateImpl, + CommonMethodModifier::SetSepiaImpl, + CommonMethodModifier::SetInvertImpl, + CommonMethodModifier::SetHueRotateImpl, + CommonMethodModifier::SetUseShadowBatchingImpl, + CommonMethodModifier::SetUseEffect0Impl, + CommonMethodModifier::SetRenderGroupImpl, + CommonMethodModifier::SetFreezeImpl, + CommonMethodModifier::SetTranslateImpl, + CommonMethodModifier::SetScaleImpl, + CommonMethodModifier::SetRotateImpl, + CommonMethodModifier::SetTransformImpl, + CommonMethodModifier::SetOnAppearImpl, + CommonMethodModifier::SetOnDisAppearImpl, + CommonMethodModifier::SetOnAttachImpl, + CommonMethodModifier::SetOnDetachImpl, + CommonMethodModifier::SetOnAreaChangeImpl, + CommonMethodModifier::SetVisibilityImpl, + CommonMethodModifier::SetFlexGrowImpl, + CommonMethodModifier::SetFlexShrinkImpl, + CommonMethodModifier::SetFlexBasisImpl, + CommonMethodModifier::SetAlignSelfImpl, + CommonMethodModifier::SetDisplayPriorityImpl, + CommonMethodModifier::SetZIndexImpl, + CommonMethodModifier::SetDirectionImpl, + CommonMethodModifier::SetAlignImpl, + CommonMethodModifier::SetPositionImpl, + CommonMethodModifier::SetMarkAnchorImpl, + CommonMethodModifier::SetOffsetImpl, + CommonMethodModifier::SetEnabledImpl, + CommonMethodModifier::SetAlignRulesWithAlignRuleOptionTypedValueImpl, + CommonMethodModifier::SetAlignRulesWithLocalizedAlignRuleOptionsTypedValueImpl, + CommonMethodModifier::SetAspectRatioImpl, + CommonMethodModifier::SetClickEffectImpl, + CommonMethodModifier::SetOnDragStartImpl, + CommonMethodModifier::SetOnDragEnterImpl, + CommonMethodModifier::SetOnDragMoveImpl, + CommonMethodModifier::SetOnDragLeaveImpl, + CommonMethodModifier::SetOnDrop0Impl, + CommonMethodModifier::SetOnDragEndImpl, + CommonMethodModifier::SetAllowDropImpl, + CommonMethodModifier::SetDraggableImpl, + CommonMethodModifier::SetDragPreview0Impl, + CommonMethodModifier::SetOnPreDragImpl, + CommonMethodModifier::SetLinearGradientImpl, + CommonMethodModifier::SetSweepGradientImpl, + CommonMethodModifier::SetRadialGradientImpl, + CommonMethodModifier::SetMotionPathImpl, + CommonMethodModifier::SetShadowImpl, + CommonMethodModifier::SetClipImpl, + CommonMethodModifier::SetClipShapeImpl, + CommonMethodModifier::SetMaskImpl, + CommonMethodModifier::SetMaskShapeImpl, + CommonMethodModifier::SetKeyImpl, + CommonMethodModifier::SetIdImpl, + CommonMethodModifier::SetGeometryTransition0Impl, + CommonMethodModifier::SetRestoreIdImpl, + CommonMethodModifier::SetSphericalEffectImpl, + CommonMethodModifier::SetLightUpEffectImpl, + CommonMethodModifier::SetPixelStretchEffectImpl, + CommonMethodModifier::SetAccessibilityGroupWithValueImpl, + CommonMethodModifier::SetAccessibilityTextOfStringTypeImpl, + CommonMethodModifier::SetAccessibilityNextFocusIdImpl, + CommonMethodModifier::SetAccessibilityDefaultFocusImpl, + CommonMethodModifier::SetAccessibilityUseSamePageImpl, + CommonMethodModifier::SetAccessibilityScrollTriggerableImpl, + CommonMethodModifier::SetAccessibilityTextOfResourceTypeImpl, + CommonMethodModifier::SetAccessibilityRoleImpl, + CommonMethodModifier::SetOnAccessibilityFocusImpl, + CommonMethodModifier::SetAccessibilityTextHintImpl, + CommonMethodModifier::SetAccessibilityDescriptionOfStringTypeImpl, + CommonMethodModifier::SetAccessibilityDescriptionOfResourceTypeImpl, + CommonMethodModifier::SetAccessibilityLevelImpl, + CommonMethodModifier::SetAccessibilityVirtualNodeImpl, + CommonMethodModifier::SetAccessibilityCheckedImpl, + CommonMethodModifier::SetAccessibilitySelectedImpl, + CommonMethodModifier::SetObscuredImpl, + CommonMethodModifier::SetReuseIdImpl, + CommonMethodModifier::SetReuseImpl, + CommonMethodModifier::SetRenderFitImpl, + CommonMethodModifier::SetBackgroundBrightnessImpl, + CommonMethodModifier::SetOnGestureJudgeBeginImpl, + CommonMethodModifier::SetOnGestureRecognizerJudgeBegin0Impl, + CommonMethodModifier::SetShouldBuiltInRecognizerParallelWithImpl, + CommonMethodModifier::SetMonopolizeEventsImpl, + CommonMethodModifier::SetOnTouchInterceptImpl, + CommonMethodModifier::SetOnSizeChangeImpl, + CommonMethodModifier::SetAccessibilityFocusDrawLevelImpl, + CommonMethodModifier::SetCustomPropertyImpl, + CommonMethodModifier::SetExpandSafeAreaImpl, + CommonMethodModifier::SetBackgroundImpl, + CommonMethodModifier::SetBackgroundImage0Impl, + CommonMethodModifier::SetBackgroundImage1Impl, + CommonMethodModifier::SetBackgroundBlurStyleImpl, + CommonMethodModifier::SetBackgroundEffect1Impl, + CommonMethodModifier::SetForegroundBlurStyleImpl, + CommonMethodModifier::SetOnClick1Impl, + CommonMethodModifier::SetFocusScopeIdImpl, + CommonMethodModifier::SetFocusScopePriorityImpl, + CommonMethodModifier::SetTransition1Impl, + CommonMethodModifier::SetGestureImpl, + CommonMethodModifier::SetPriorityGestureImpl, + CommonMethodModifier::SetParallelGestureImpl, + CommonMethodModifier::SetBlurImpl, + CommonMethodModifier::SetLinearGradientBlurImpl, + CommonMethodModifier::SetSystemBarEffectImpl, + CommonMethodModifier::SetUseEffect1Impl, + CommonMethodModifier::SetBackdropBlurImpl, + CommonMethodModifier::SetSharedTransitionImpl, + CommonMethodModifier::SetChainModeImpl, + CommonMethodModifier::SetOnDrop1Impl, + CommonMethodModifier::SetDragPreview1Impl, + CommonMethodModifier::SetDragPreviewOptionsImpl, + CommonMethodModifier::SetOverlayImpl, + CommonMethodModifier::SetBlendModeImpl, + CommonMethodModifier::SetAdvancedBlendModeImpl, + CommonMethodModifier::SetGeometryTransition1Impl, + CommonMethodModifier::SetBindTipsImpl, + CommonMethodModifier::SetBindPopupImpl, + CommonMethodModifier::SetBindMenu0Impl, + CommonMethodModifier::SetBindMenu1Impl, + CommonMethodModifier::SetBindContextMenu0Impl, + CommonMethodModifier::SetBindContextMenu1Impl, + CommonMethodModifier::SetBindContentCover0Impl, + CommonMethodModifier::SetBindContentCover1Impl, + CommonMethodModifier::SetBindSheetImpl, + CommonMethodModifier::SetOnVisibleAreaChangeImpl, + CommonMethodModifier::SetOnVisibleAreaApproximateChangeImpl, + CommonMethodModifier::SetKeyboardShortcutImpl, + CommonMethodModifier::SetAccessibilityGroupWithConfigImpl, + CommonMethodModifier::SetOnGestureRecognizerJudgeBegin1Impl, + }; + return &ArkUICommonMethodModifierImpl; + } + + const GENERATED_ArkUICommonShapeMethodModifier* GetCommonShapeMethodModifier() + { + static const GENERATED_ArkUICommonShapeMethodModifier ArkUICommonShapeMethodModifierImpl { + CommonShapeMethodModifier::ConstructImpl, + CommonShapeMethodModifier::SetStrokeImpl, + CommonShapeMethodModifier::SetFillImpl, + CommonShapeMethodModifier::SetStrokeDashOffsetImpl, + CommonShapeMethodModifier::SetStrokeLineCapImpl, + CommonShapeMethodModifier::SetStrokeLineJoinImpl, + CommonShapeMethodModifier::SetStrokeMiterLimitImpl, + CommonShapeMethodModifier::SetStrokeOpacityImpl, + CommonShapeMethodModifier::SetFillOpacityImpl, + CommonShapeMethodModifier::SetStrokeWidthImpl, + CommonShapeMethodModifier::SetAntiAliasImpl, + CommonShapeMethodModifier::SetStrokeDashArrayImpl, + }; + return &ArkUICommonShapeMethodModifierImpl; + } + + const GENERATED_ArkUIComponentRootModifier* GetComponentRootModifier() + { + static const GENERATED_ArkUIComponentRootModifier ArkUIComponentRootModifierImpl { + ComponentRootModifier::ConstructImpl, + }; + return &ArkUIComponentRootModifierImpl; + } + + const GENERATED_ArkUIContainerSpanModifier* GetContainerSpanModifier() + { + static const GENERATED_ArkUIContainerSpanModifier ArkUIContainerSpanModifierImpl { + ContainerSpanModifier::ConstructImpl, + ContainerSpanInterfaceModifier::SetContainerSpanOptionsImpl, + ContainerSpanAttributeModifier::SetTextBackgroundStyleImpl, + }; + return &ArkUIContainerSpanModifierImpl; + } + + const GENERATED_ArkUICounterModifier* GetCounterModifier() + { + static const GENERATED_ArkUICounterModifier ArkUICounterModifierImpl { + CounterModifier::ConstructImpl, + CounterInterfaceModifier::SetCounterOptionsImpl, + CounterAttributeModifier::SetOnIncImpl, + CounterAttributeModifier::SetOnDecImpl, + CounterAttributeModifier::SetEnableDecImpl, + CounterAttributeModifier::SetEnableIncImpl, + }; + return &ArkUICounterModifierImpl; + } + + const GENERATED_ArkUICustomBuilderRootModifier* GetCustomBuilderRootModifier() + { + static const GENERATED_ArkUICustomBuilderRootModifier ArkUICustomBuilderRootModifierImpl { + CustomBuilderRootModifier::ConstructImpl, + }; + return &ArkUICustomBuilderRootModifierImpl; + } + + const GENERATED_ArkUICustomLayoutRootModifier* GetCustomLayoutRootModifier() + { + static const GENERATED_ArkUICustomLayoutRootModifier ArkUICustomLayoutRootModifierImpl { + CustomLayoutRootModifier::ConstructImpl, + CustomLayoutRootModifier::SetSubscribeOnMeasureSizeImpl, + CustomLayoutRootModifier::SetSubscribeOnPlaceChildrenImpl, + }; + return &ArkUICustomLayoutRootModifierImpl; + } + + const GENERATED_ArkUIDataPanelModifier* GetDataPanelModifier() + { + static const GENERATED_ArkUIDataPanelModifier ArkUIDataPanelModifierImpl { + DataPanelModifier::ConstructImpl, + DataPanelInterfaceModifier::SetDataPanelOptionsImpl, + DataPanelAttributeModifier::SetCloseEffectImpl, + DataPanelAttributeModifier::SetValueColorsImpl, + DataPanelAttributeModifier::SetTrackBackgroundColorImpl, + DataPanelAttributeModifier::SetStrokeWidthImpl, + DataPanelAttributeModifier::SetTrackShadowImpl, + }; + return &ArkUIDataPanelModifierImpl; + } + + const GENERATED_ArkUIDatePickerModifier* GetDatePickerModifier() + { + static const GENERATED_ArkUIDatePickerModifier ArkUIDatePickerModifierImpl { + DatePickerModifier::ConstructImpl, + DatePickerInterfaceModifier::SetDatePickerOptionsImpl, + DatePickerAttributeModifier::SetLunarImpl, + DatePickerAttributeModifier::SetDisappearTextStyleImpl, + DatePickerAttributeModifier::SetTextStyleImpl, + DatePickerAttributeModifier::SetSelectedTextStyleImpl, + DatePickerAttributeModifier::SetOnDateChangeImpl, + DatePickerAttributeModifier::SetDigitalCrownSensitivityImpl, + DatePickerAttributeModifier::SetEnableHapticFeedbackImpl, + }; + return &ArkUIDatePickerModifierImpl; + } + + const GENERATED_ArkUIDividerModifier* GetDividerModifier() + { + static const GENERATED_ArkUIDividerModifier ArkUIDividerModifierImpl { + DividerModifier::ConstructImpl, + DividerInterfaceModifier::SetDividerOptionsImpl, + DividerAttributeModifier::SetVerticalImpl, + DividerAttributeModifier::SetColorImpl, + DividerAttributeModifier::SetStrokeWidthImpl, + DividerAttributeModifier::SetLineCapImpl, + }; + return &ArkUIDividerModifierImpl; + } + + const GENERATED_ArkUIEffectComponentModifier* GetEffectComponentModifier() + { + static const GENERATED_ArkUIEffectComponentModifier ArkUIEffectComponentModifierImpl { + EffectComponentModifier::ConstructImpl, + EffectComponentInterfaceModifier::SetEffectComponentOptionsImpl, + }; + return &ArkUIEffectComponentModifierImpl; + } + + const GENERATED_ArkUIEllipseModifier* GetEllipseModifier() + { + static const GENERATED_ArkUIEllipseModifier ArkUIEllipseModifierImpl { + EllipseModifier::ConstructImpl, + EllipseInterfaceModifier::SetEllipseOptionsImpl, + }; + return &ArkUIEllipseModifierImpl; + } + + const GENERATED_ArkUIEmbeddedComponentModifier* GetEmbeddedComponentModifier() + { + static const GENERATED_ArkUIEmbeddedComponentModifier ArkUIEmbeddedComponentModifierImpl { + EmbeddedComponentModifier::ConstructImpl, + EmbeddedComponentInterfaceModifier::SetEmbeddedComponentOptionsImpl, + EmbeddedComponentAttributeModifier::SetOnTerminatedImpl, + EmbeddedComponentAttributeModifier::SetOnErrorImpl, + }; + return &ArkUIEmbeddedComponentModifierImpl; + } + + const GENERATED_ArkUIFlexModifier* GetFlexModifier() + { + static const GENERATED_ArkUIFlexModifier ArkUIFlexModifierImpl { + FlexModifier::ConstructImpl, + FlexInterfaceModifier::SetFlexOptionsImpl, + }; + return &ArkUIFlexModifierImpl; + } + + const GENERATED_ArkUIFlowItemModifier* GetFlowItemModifier() + { + static const GENERATED_ArkUIFlowItemModifier ArkUIFlowItemModifierImpl { + FlowItemModifier::ConstructImpl, + FlowItemInterfaceModifier::SetFlowItemOptionsImpl, + }; + return &ArkUIFlowItemModifierImpl; + } + + const GENERATED_ArkUIFolderStackModifier* GetFolderStackModifier() + { + static const GENERATED_ArkUIFolderStackModifier ArkUIFolderStackModifierImpl { + FolderStackModifier::ConstructImpl, + FolderStackInterfaceModifier::SetFolderStackOptionsImpl, + FolderStackAttributeModifier::SetAlignContentImpl, + FolderStackAttributeModifier::SetOnFolderStateChangeImpl, + FolderStackAttributeModifier::SetOnHoverStatusChangeImpl, + FolderStackAttributeModifier::SetEnableAnimationImpl, + FolderStackAttributeModifier::SetAutoHalfFoldImpl, + }; + return &ArkUIFolderStackModifierImpl; + } + + const GENERATED_ArkUIFormComponentModifier* GetFormComponentModifier() + { + static const GENERATED_ArkUIFormComponentModifier ArkUIFormComponentModifierImpl { + FormComponentModifier::ConstructImpl, + FormComponentInterfaceModifier::SetFormComponentOptionsImpl, + FormComponentAttributeModifier::SetSizeImpl, + FormComponentAttributeModifier::SetModuleNameImpl, + FormComponentAttributeModifier::SetDimensionImpl, + FormComponentAttributeModifier::SetAllowUpdateImpl, + FormComponentAttributeModifier::SetVisibilityImpl, + FormComponentAttributeModifier::SetOnAcquiredImpl, + FormComponentAttributeModifier::SetOnErrorImpl, + FormComponentAttributeModifier::SetOnRouterImpl, + FormComponentAttributeModifier::SetOnUninstallImpl, + FormComponentAttributeModifier::SetOnLoadImpl, + FormComponentAttributeModifier::SetOnUpdateImpl, + }; + return &ArkUIFormComponentModifierImpl; + } + + const GENERATED_ArkUIFormLinkModifier* GetFormLinkModifier() + { + static const GENERATED_ArkUIFormLinkModifier ArkUIFormLinkModifierImpl { + FormLinkModifier::ConstructImpl, + FormLinkInterfaceModifier::SetFormLinkOptionsImpl, + }; + return &ArkUIFormLinkModifierImpl; + } + + const GENERATED_ArkUIGaugeModifier* GetGaugeModifier() + { + static const GENERATED_ArkUIGaugeModifier ArkUIGaugeModifierImpl { + GaugeModifier::ConstructImpl, + GaugeInterfaceModifier::SetGaugeOptionsImpl, + GaugeAttributeModifier::SetValueImpl, + GaugeAttributeModifier::SetStartAngleImpl, + GaugeAttributeModifier::SetEndAngleImpl, + GaugeAttributeModifier::SetColorsImpl, + GaugeAttributeModifier::SetStrokeWidthImpl, + GaugeAttributeModifier::SetDescriptionImpl, + GaugeAttributeModifier::SetTrackShadowImpl, + GaugeAttributeModifier::SetIndicatorImpl, + GaugeAttributeModifier::SetPrivacySensitiveImpl, + }; + return &ArkUIGaugeModifierImpl; + } + + const GENERATED_ArkUIGridModifier* GetGridModifier() + { + static const GENERATED_ArkUIGridModifier ArkUIGridModifierImpl { + GridModifier::ConstructImpl, + GridInterfaceModifier::SetGridOptionsImpl, + GridAttributeModifier::SetColumnsTemplateImpl, + GridAttributeModifier::SetRowsTemplateImpl, + GridAttributeModifier::SetColumnsGapImpl, + GridAttributeModifier::SetRowsGapImpl, + GridAttributeModifier::SetScrollBarWidthImpl, + GridAttributeModifier::SetScrollBarColorImpl, + GridAttributeModifier::SetScrollBarImpl, + GridAttributeModifier::SetOnScrollBarUpdateImpl, + GridAttributeModifier::SetOnScrollIndexImpl, + GridAttributeModifier::SetCachedCount0Impl, + GridAttributeModifier::SetEditModeImpl, + GridAttributeModifier::SetMultiSelectableImpl, + GridAttributeModifier::SetMaxCountImpl, + GridAttributeModifier::SetMinCountImpl, + GridAttributeModifier::SetCellLengthImpl, + GridAttributeModifier::SetLayoutDirectionImpl, + GridAttributeModifier::SetSupportAnimationImpl, + GridAttributeModifier::SetOnItemDragStartImpl, + GridAttributeModifier::SetOnItemDragEnterImpl, + GridAttributeModifier::SetOnItemDragMoveImpl, + GridAttributeModifier::SetOnItemDragLeaveImpl, + GridAttributeModifier::SetOnItemDropImpl, + GridAttributeModifier::SetNestedScrollImpl, + GridAttributeModifier::SetEnableScrollInteractionImpl, + GridAttributeModifier::SetFrictionImpl, + GridAttributeModifier::SetAlignItemsImpl, + GridAttributeModifier::SetOnScrollFrameBeginImpl, + GridAttributeModifier::SetOnWillScrollImpl, + GridAttributeModifier::SetOnDidScrollImpl, + GridAttributeModifier::SetCachedCount1Impl, + GridAttributeModifier::SetEdgeEffectImpl, + }; + return &ArkUIGridModifierImpl; + } + + const GENERATED_ArkUIGridColModifier* GetGridColModifier() + { + static const GENERATED_ArkUIGridColModifier ArkUIGridColModifierImpl { + GridColModifier::ConstructImpl, + GridColInterfaceModifier::SetGridColOptionsImpl, + GridColAttributeModifier::SetSpanImpl, + GridColAttributeModifier::SetGridColOffsetImpl, + GridColAttributeModifier::SetOrderImpl, + }; + return &ArkUIGridColModifierImpl; + } + + const GENERATED_ArkUIGridItemModifier* GetGridItemModifier() + { + static const GENERATED_ArkUIGridItemModifier ArkUIGridItemModifierImpl { + GridItemModifier::ConstructImpl, + GridItemInterfaceModifier::SetGridItemOptionsImpl, + GridItemAttributeModifier::SetRowStartImpl, + GridItemAttributeModifier::SetRowEndImpl, + GridItemAttributeModifier::SetColumnStartImpl, + GridItemAttributeModifier::SetColumnEndImpl, + GridItemAttributeModifier::SetSelectableImpl, + GridItemAttributeModifier::SetSelectedImpl, + GridItemAttributeModifier::SetOnSelectImpl, + }; + return &ArkUIGridItemModifierImpl; + } + + const GENERATED_ArkUIGridRowModifier* GetGridRowModifier() + { + static const GENERATED_ArkUIGridRowModifier ArkUIGridRowModifierImpl { + GridRowModifier::ConstructImpl, + GridRowInterfaceModifier::SetGridRowOptionsImpl, + GridRowAttributeModifier::SetOnBreakpointChangeImpl, + GridRowAttributeModifier::SetAlignItemsImpl, + }; + return &ArkUIGridRowModifierImpl; + } + + const GENERATED_ArkUIHyperlinkModifier* GetHyperlinkModifier() + { + static const GENERATED_ArkUIHyperlinkModifier ArkUIHyperlinkModifierImpl { + HyperlinkModifier::ConstructImpl, + HyperlinkInterfaceModifier::SetHyperlinkOptionsImpl, + HyperlinkAttributeModifier::SetColorImpl, + }; + return &ArkUIHyperlinkModifierImpl; + } + + const GENERATED_ArkUIImageModifier* GetImageModifier() + { + static const GENERATED_ArkUIImageModifier ArkUIImageModifierImpl { + ImageModifier::ConstructImpl, + ImageInterfaceModifier::SetImageOptions0Impl, + ImageInterfaceModifier::SetImageOptions1Impl, + ImageAttributeModifier::SetAltImpl, + ImageAttributeModifier::SetMatchTextDirectionImpl, + ImageAttributeModifier::SetFitOriginalSizeImpl, + ImageAttributeModifier::SetFillColorImpl, + ImageAttributeModifier::SetObjectFitImpl, + ImageAttributeModifier::SetImageMatrixImpl, + ImageAttributeModifier::SetObjectRepeatImpl, + ImageAttributeModifier::SetAutoResizeImpl, + ImageAttributeModifier::SetRenderModeImpl, + ImageAttributeModifier::SetDynamicRangeModeImpl, + ImageAttributeModifier::SetInterpolationImpl, + ImageAttributeModifier::SetSourceSizeImpl, + ImageAttributeModifier::SetSyncLoadImpl, + ImageAttributeModifier::SetColorFilterImpl, + ImageAttributeModifier::SetCopyOptionImpl, + ImageAttributeModifier::SetDraggableImpl, + ImageAttributeModifier::SetPointLightImpl, + ImageAttributeModifier::SetEdgeAntialiasingImpl, + ImageAttributeModifier::SetOnCompleteImpl, + ImageAttributeModifier::SetOnErrorImpl, + ImageAttributeModifier::SetOnFinishImpl, + ImageAttributeModifier::SetEnableAnalyzerImpl, + ImageAttributeModifier::SetAnalyzerConfigImpl, + ImageAttributeModifier::SetResizableImpl, + ImageAttributeModifier::SetPrivacySensitiveImpl, + ImageAttributeModifier::SetEnhancedImageQualityImpl, + ImageAttributeModifier::SetOrientationImpl, + }; + return &ArkUIImageModifierImpl; + } + + const GENERATED_ArkUIImageAnimatorModifier* GetImageAnimatorModifier() + { + static const GENERATED_ArkUIImageAnimatorModifier ArkUIImageAnimatorModifierImpl { + ImageAnimatorModifier::ConstructImpl, + ImageAnimatorInterfaceModifier::SetImageAnimatorOptionsImpl, + ImageAnimatorAttributeModifier::SetImagesImpl, + ImageAnimatorAttributeModifier::SetStateImpl, + ImageAnimatorAttributeModifier::SetDurationImpl, + ImageAnimatorAttributeModifier::SetReverseImpl, + ImageAnimatorAttributeModifier::SetFixedSizeImpl, + ImageAnimatorAttributeModifier::SetFillModeImpl, + ImageAnimatorAttributeModifier::SetIterationsImpl, + ImageAnimatorAttributeModifier::SetMonitorInvisibleAreaImpl, + ImageAnimatorAttributeModifier::SetOnStartImpl, + ImageAnimatorAttributeModifier::SetOnPauseImpl, + ImageAnimatorAttributeModifier::SetOnRepeatImpl, + ImageAnimatorAttributeModifier::SetOnCancelImpl, + ImageAnimatorAttributeModifier::SetOnFinishImpl, + }; + return &ArkUIImageAnimatorModifierImpl; + } + + const GENERATED_ArkUIImageSpanModifier* GetImageSpanModifier() + { + static const GENERATED_ArkUIImageSpanModifier ArkUIImageSpanModifierImpl { + ImageSpanModifier::ConstructImpl, + ImageSpanInterfaceModifier::SetImageSpanOptionsImpl, + ImageSpanAttributeModifier::SetVerticalAlignImpl, + ImageSpanAttributeModifier::SetColorFilterImpl, + ImageSpanAttributeModifier::SetObjectFitImpl, + ImageSpanAttributeModifier::SetOnCompleteImpl, + ImageSpanAttributeModifier::SetOnErrorImpl, + ImageSpanAttributeModifier::SetAltImpl, + }; + return &ArkUIImageSpanModifierImpl; + } + + const GENERATED_ArkUIIndicatorComponentModifier* GetIndicatorComponentModifier() + { + static const GENERATED_ArkUIIndicatorComponentModifier ArkUIIndicatorComponentModifierImpl { + IndicatorComponentModifier::ConstructImpl, + IndicatorComponentInterfaceModifier::SetIndicatorComponentOptionsImpl, + IndicatorComponentAttributeModifier::SetInitialIndexImpl, + IndicatorComponentAttributeModifier::SetCountImpl, + IndicatorComponentAttributeModifier::SetStyleImpl, + IndicatorComponentAttributeModifier::SetLoopImpl, + IndicatorComponentAttributeModifier::SetVerticalImpl, + IndicatorComponentAttributeModifier::SetOnChangeImpl, + }; + return &ArkUIIndicatorComponentModifierImpl; + } + + const GENERATED_ArkUILineModifier* GetLineModifier() + { + static const GENERATED_ArkUILineModifier ArkUILineModifierImpl { + LineModifier::ConstructImpl, + LineInterfaceModifier::SetLineOptionsImpl, + LineAttributeModifier::SetStartPointImpl, + LineAttributeModifier::SetEndPointImpl, + }; + return &ArkUILineModifierImpl; + } + + const GENERATED_ArkUILinearIndicatorModifier* GetLinearIndicatorModifier() + { + static const GENERATED_ArkUILinearIndicatorModifier ArkUILinearIndicatorModifierImpl { + LinearIndicatorModifier::ConstructImpl, + LinearIndicatorInterfaceModifier::SetLinearIndicatorOptionsImpl, + LinearIndicatorAttributeModifier::SetIndicatorStyleImpl, + LinearIndicatorAttributeModifier::SetIndicatorLoopImpl, + LinearIndicatorAttributeModifier::SetOnChangeImpl, + }; + return &ArkUILinearIndicatorModifierImpl; + } + + const GENERATED_ArkUIListModifier* GetListModifier() + { + static const GENERATED_ArkUIListModifier ArkUIListModifierImpl { + ListModifier::ConstructImpl, + ListInterfaceModifier::SetListOptionsImpl, + ListAttributeModifier::SetAlignListItemImpl, + ListAttributeModifier::SetListDirectionImpl, + ListAttributeModifier::SetContentStartOffsetImpl, + ListAttributeModifier::SetContentEndOffsetImpl, + ListAttributeModifier::SetDividerImpl, + ListAttributeModifier::SetMultiSelectableImpl, + ListAttributeModifier::SetCachedCount0Impl, + ListAttributeModifier::SetChainAnimationImpl, + ListAttributeModifier::SetChainAnimationOptionsImpl, + ListAttributeModifier::SetStickyImpl, + ListAttributeModifier::SetScrollSnapAlignImpl, + ListAttributeModifier::SetChildrenMainSizeImpl, + ListAttributeModifier::SetMaintainVisibleContentPositionImpl, + ListAttributeModifier::SetStackFromEndImpl, + ListAttributeModifier::SetOnScrollIndexImpl, + ListAttributeModifier::SetOnScrollVisibleContentChangeImpl, + ListAttributeModifier::SetOnItemMoveImpl, + ListAttributeModifier::SetOnItemDragStartImpl, + ListAttributeModifier::SetOnItemDragEnterImpl, + ListAttributeModifier::SetOnItemDragMoveImpl, + ListAttributeModifier::SetOnItemDragLeaveImpl, + ListAttributeModifier::SetOnItemDropImpl, + ListAttributeModifier::SetOnScrollFrameBeginImpl, + ListAttributeModifier::SetOnWillScrollImpl, + ListAttributeModifier::SetOnDidScrollImpl, + ListAttributeModifier::SetLanesImpl, + ListAttributeModifier::SetCachedCount1Impl, + }; + return &ArkUIListModifierImpl; + } + + const GENERATED_ArkUIListItemModifier* GetListItemModifier() + { + static const GENERATED_ArkUIListItemModifier ArkUIListItemModifierImpl { + ListItemModifier::ConstructImpl, + ListItemInterfaceModifier::SetListItemOptionsImpl, + ListItemAttributeModifier::SetSelectableImpl, + ListItemAttributeModifier::SetSelectedImpl, + ListItemAttributeModifier::SetSwipeActionImpl, + ListItemAttributeModifier::SetOnSelectImpl, + }; + return &ArkUIListItemModifierImpl; + } + + const GENERATED_ArkUIListItemGroupModifier* GetListItemGroupModifier() + { + static const GENERATED_ArkUIListItemGroupModifier ArkUIListItemGroupModifierImpl { + ListItemGroupModifier::ConstructImpl, + ListItemGroupInterfaceModifier::SetListItemGroupOptionsImpl, + ListItemGroupAttributeModifier::SetDividerImpl, + ListItemGroupAttributeModifier::SetChildrenMainSizeImpl, + }; + return &ArkUIListItemGroupModifierImpl; + } + + const GENERATED_ArkUILoadingProgressModifier* GetLoadingProgressModifier() + { + static const GENERATED_ArkUILoadingProgressModifier ArkUILoadingProgressModifierImpl { + LoadingProgressModifier::ConstructImpl, + LoadingProgressInterfaceModifier::SetLoadingProgressOptionsImpl, + LoadingProgressAttributeModifier::SetColorImpl, + LoadingProgressAttributeModifier::SetEnableLoadingImpl, + }; + return &ArkUILoadingProgressModifierImpl; + } + + const GENERATED_ArkUIMarqueeModifier* GetMarqueeModifier() + { + static const GENERATED_ArkUIMarqueeModifier ArkUIMarqueeModifierImpl { + MarqueeModifier::ConstructImpl, + MarqueeInterfaceModifier::SetMarqueeOptionsImpl, + MarqueeAttributeModifier::SetFontColorImpl, + MarqueeAttributeModifier::SetFontSizeImpl, + MarqueeAttributeModifier::SetAllowScaleImpl, + MarqueeAttributeModifier::SetFontWeightImpl, + MarqueeAttributeModifier::SetFontFamilyImpl, + MarqueeAttributeModifier::SetMarqueeUpdateStrategyImpl, + MarqueeAttributeModifier::SetOnStartImpl, + MarqueeAttributeModifier::SetOnBounceImpl, + MarqueeAttributeModifier::SetOnFinishImpl, + }; + return &ArkUIMarqueeModifierImpl; + } + + const GENERATED_ArkUIMediaCachedImageModifier* GetMediaCachedImageModifier() + { + static const GENERATED_ArkUIMediaCachedImageModifier ArkUIMediaCachedImageModifierImpl { + MediaCachedImageModifier::ConstructImpl, + MediaCachedImageInterfaceModifier::SetMediaCachedImageOptionsImpl, + }; + return &ArkUIMediaCachedImageModifierImpl; + } + + const GENERATED_ArkUIMenuModifier* GetMenuModifier() + { + static const GENERATED_ArkUIMenuModifier ArkUIMenuModifierImpl { + MenuModifier::ConstructImpl, + MenuInterfaceModifier::SetMenuOptionsImpl, + MenuAttributeModifier::SetFontImpl, + MenuAttributeModifier::SetFontColorImpl, + MenuAttributeModifier::SetRadiusImpl, + MenuAttributeModifier::SetMenuItemDividerImpl, + MenuAttributeModifier::SetMenuItemGroupDividerImpl, + MenuAttributeModifier::SetSubMenuExpandingModeImpl, + }; + return &ArkUIMenuModifierImpl; + } + + const GENERATED_ArkUIMenuItemModifier* GetMenuItemModifier() + { + static const GENERATED_ArkUIMenuItemModifier ArkUIMenuItemModifierImpl { + MenuItemModifier::ConstructImpl, + MenuItemInterfaceModifier::SetMenuItemOptionsImpl, + MenuItemAttributeModifier::SetSelectedImpl, + MenuItemAttributeModifier::SetSelectIconImpl, + MenuItemAttributeModifier::SetOnChangeImpl, + MenuItemAttributeModifier::SetContentFontImpl, + MenuItemAttributeModifier::SetContentFontColorImpl, + MenuItemAttributeModifier::SetLabelFontImpl, + MenuItemAttributeModifier::SetLabelFontColorImpl, + }; + return &ArkUIMenuItemModifierImpl; + } + + const GENERATED_ArkUIMenuItemGroupModifier* GetMenuItemGroupModifier() + { + static const GENERATED_ArkUIMenuItemGroupModifier ArkUIMenuItemGroupModifierImpl { + MenuItemGroupModifier::ConstructImpl, + MenuItemGroupInterfaceModifier::SetMenuItemGroupOptionsImpl, + }; + return &ArkUIMenuItemGroupModifierImpl; + } + + const GENERATED_ArkUINavDestinationModifier* GetNavDestinationModifier() + { + static const GENERATED_ArkUINavDestinationModifier ArkUINavDestinationModifierImpl { + NavDestinationModifier::ConstructImpl, + NavDestinationInterfaceModifier::SetNavDestinationOptionsImpl, + NavDestinationAttributeModifier::SetHideTitleBar0Impl, + NavDestinationAttributeModifier::SetHideBackButtonImpl, + NavDestinationAttributeModifier::SetOnShownImpl, + NavDestinationAttributeModifier::SetOnHiddenImpl, + NavDestinationAttributeModifier::SetOnBackPressedImpl, + NavDestinationAttributeModifier::SetOnResultImpl, + NavDestinationAttributeModifier::SetModeImpl, + NavDestinationAttributeModifier::SetBackButtonIcon0Impl, + NavDestinationAttributeModifier::SetMenus0Impl, + NavDestinationAttributeModifier::SetOnReadyImpl, + NavDestinationAttributeModifier::SetOnWillAppearImpl, + NavDestinationAttributeModifier::SetOnWillDisappearImpl, + NavDestinationAttributeModifier::SetOnWillShowImpl, + NavDestinationAttributeModifier::SetOnWillHideImpl, + NavDestinationAttributeModifier::SetSystemBarStyleImpl, + NavDestinationAttributeModifier::SetRecoverableImpl, + NavDestinationAttributeModifier::SetSystemTransitionImpl, + NavDestinationAttributeModifier::SetBindToScrollableImpl, + NavDestinationAttributeModifier::SetBindToNestedScrollableImpl, + NavDestinationAttributeModifier::SetOnActiveImpl, + NavDestinationAttributeModifier::SetOnInactiveImpl, + NavDestinationAttributeModifier::SetCustomTransitionImpl, + NavDestinationAttributeModifier::SetOnNewParamImpl, + NavDestinationAttributeModifier::SetPreferredOrientationImpl, + NavDestinationAttributeModifier::SetEnableNavigationIndicatorImpl, + NavDestinationAttributeModifier::SetTitleImpl, + NavDestinationAttributeModifier::SetHideTitleBar1Impl, + NavDestinationAttributeModifier::SetBackButtonIcon1Impl, + NavDestinationAttributeModifier::SetMenus1Impl, + NavDestinationAttributeModifier::SetToolbarConfigurationImpl, + NavDestinationAttributeModifier::SetHideToolBarImpl, + NavDestinationAttributeModifier::SetIgnoreLayoutSafeAreaImpl, + NavDestinationAttributeModifier::SetEnableStatusBarImpl, + }; + return &ArkUINavDestinationModifierImpl; + } + + const GENERATED_ArkUINavigationModifier* GetNavigationModifier() + { + static const GENERATED_ArkUINavigationModifier ArkUINavigationModifierImpl { + NavigationModifier::ConstructImpl, + NavigationInterfaceModifier::SetNavigationOptionsImpl, + NavigationAttributeModifier::SetNavBarWidthImpl, + NavigationAttributeModifier::SetNavBarPositionImpl, + NavigationAttributeModifier::SetNavBarWidthRangeImpl, + NavigationAttributeModifier::SetMinContentWidthImpl, + NavigationAttributeModifier::SetModeImpl, + NavigationAttributeModifier::SetBackButtonIcon0Impl, + NavigationAttributeModifier::SetHideNavBarImpl, + NavigationAttributeModifier::SetHideTitleBar0Impl, + NavigationAttributeModifier::SetHideBackButtonImpl, + NavigationAttributeModifier::SetTitleModeImpl, + NavigationAttributeModifier::SetMenus0Impl, + NavigationAttributeModifier::SetHideToolBar0Impl, + NavigationAttributeModifier::SetEnableToolBarAdaptationImpl, + NavigationAttributeModifier::SetOnTitleModeChangeImpl, + NavigationAttributeModifier::SetOnNavBarStateChangeImpl, + NavigationAttributeModifier::SetOnNavigationModeChangeImpl, + NavigationAttributeModifier::SetNavDestinationImpl, + NavigationAttributeModifier::SetCustomNavContentTransitionImpl, + NavigationAttributeModifier::SetSystemBarStyleImpl, + NavigationAttributeModifier::SetRecoverableImpl, + NavigationAttributeModifier::SetEnableDragBarImpl, + NavigationAttributeModifier::SetEnableModeChangeAnimationImpl, + NavigationAttributeModifier::SetBackButtonIcon1Impl, + NavigationAttributeModifier::SetTitleImpl, + NavigationAttributeModifier::SetHideTitleBar1Impl, + NavigationAttributeModifier::SetMenus1Impl, + NavigationAttributeModifier::SetToolbarConfigurationImpl, + NavigationAttributeModifier::SetHideToolBar1Impl, + NavigationAttributeModifier::SetIgnoreLayoutSafeAreaImpl, + }; + return &ArkUINavigationModifierImpl; + } + + const GENERATED_ArkUINodeContainerModifier* GetNodeContainerModifier() + { + static const GENERATED_ArkUINodeContainerModifier ArkUINodeContainerModifierImpl { + NodeContainerModifier::ConstructImpl, + NodeContainerInterfaceModifier::SetNodeContainerOptionsImpl, + }; + return &ArkUINodeContainerModifierImpl; + } + + const GENERATED_ArkUIPathModifier* GetPathModifier() + { + static const GENERATED_ArkUIPathModifier ArkUIPathModifierImpl { + PathModifier::ConstructImpl, + PathInterfaceModifier::SetPathOptionsImpl, + PathAttributeModifier::SetCommandsImpl, + }; + return &ArkUIPathModifierImpl; + } + + const GENERATED_ArkUIPatternLockModifier* GetPatternLockModifier() + { + static const GENERATED_ArkUIPatternLockModifier ArkUIPatternLockModifierImpl { + PatternLockModifier::ConstructImpl, + PatternLockInterfaceModifier::SetPatternLockOptionsImpl, + PatternLockAttributeModifier::SetSideLengthImpl, + PatternLockAttributeModifier::SetCircleRadiusImpl, + PatternLockAttributeModifier::SetBackgroundColorImpl, + PatternLockAttributeModifier::SetRegularColorImpl, + PatternLockAttributeModifier::SetSelectedColorImpl, + PatternLockAttributeModifier::SetActiveColorImpl, + PatternLockAttributeModifier::SetPathColorImpl, + PatternLockAttributeModifier::SetPathStrokeWidthImpl, + PatternLockAttributeModifier::SetOnPatternCompleteImpl, + PatternLockAttributeModifier::SetAutoResetImpl, + PatternLockAttributeModifier::SetOnDotConnectImpl, + PatternLockAttributeModifier::SetActivateCircleStyleImpl, + PatternLockAttributeModifier::SetSkipUnselectedPointImpl, + }; + return &ArkUIPatternLockModifierImpl; + } + + const GENERATED_ArkUIPluginComponentModifier* GetPluginComponentModifier() + { + static const GENERATED_ArkUIPluginComponentModifier ArkUIPluginComponentModifierImpl { + PluginComponentModifier::ConstructImpl, + PluginComponentInterfaceModifier::SetPluginComponentOptionsImpl, + PluginComponentAttributeModifier::SetOnCompleteImpl, + PluginComponentAttributeModifier::SetOnErrorImpl, + }; + return &ArkUIPluginComponentModifierImpl; + } + + const GENERATED_ArkUIPolygonModifier* GetPolygonModifier() + { + static const GENERATED_ArkUIPolygonModifier ArkUIPolygonModifierImpl { + PolygonModifier::ConstructImpl, + PolygonInterfaceModifier::SetPolygonOptionsImpl, + PolygonAttributeModifier::SetPointsImpl, + }; + return &ArkUIPolygonModifierImpl; + } + + const GENERATED_ArkUIPolylineModifier* GetPolylineModifier() + { + static const GENERATED_ArkUIPolylineModifier ArkUIPolylineModifierImpl { + PolylineModifier::ConstructImpl, + PolylineInterfaceModifier::SetPolylineOptionsImpl, + PolylineAttributeModifier::SetPointsImpl, + }; + return &ArkUIPolylineModifierImpl; + } + + const GENERATED_ArkUIProgressModifier* GetProgressModifier() + { + static const GENERATED_ArkUIProgressModifier ArkUIProgressModifierImpl { + ProgressModifier::ConstructImpl, + ProgressInterfaceModifier::SetProgressOptionsImpl, + ProgressAttributeModifier::SetValueImpl, + ProgressAttributeModifier::SetColorImpl, + ProgressAttributeModifier::SetStyleImpl, + ProgressAttributeModifier::SetPrivacySensitiveImpl, + }; + return &ArkUIProgressModifierImpl; + } + + const GENERATED_ArkUIQRCodeModifier* GetQRCodeModifier() + { + static const GENERATED_ArkUIQRCodeModifier ArkUIQRCodeModifierImpl { + QRCodeModifier::ConstructImpl, + QRCodeInterfaceModifier::SetQRCodeOptionsImpl, + QRCodeAttributeModifier::SetColorImpl, + QRCodeAttributeModifier::SetBackgroundColorImpl, + QRCodeAttributeModifier::SetContentOpacityImpl, + }; + return &ArkUIQRCodeModifierImpl; + } + + const GENERATED_ArkUIRadioModifier* GetRadioModifier() + { + static const GENERATED_ArkUIRadioModifier ArkUIRadioModifierImpl { + RadioModifier::ConstructImpl, + RadioInterfaceModifier::SetRadioOptionsImpl, + RadioAttributeModifier::SetCheckedImpl, + RadioAttributeModifier::SetOnChangeImpl, + RadioAttributeModifier::SetRadioStyleImpl, + }; + return &ArkUIRadioModifierImpl; + } + + const GENERATED_ArkUIRatingModifier* GetRatingModifier() + { + static const GENERATED_ArkUIRatingModifier ArkUIRatingModifierImpl { + RatingModifier::ConstructImpl, + RatingInterfaceModifier::SetRatingOptionsImpl, + RatingAttributeModifier::SetStarsImpl, + RatingAttributeModifier::SetStepSizeImpl, + RatingAttributeModifier::SetStarStyleImpl, + RatingAttributeModifier::SetOnChangeImpl, + }; + return &ArkUIRatingModifierImpl; + } + + const GENERATED_ArkUIRectModifier* GetRectModifier() + { + static const GENERATED_ArkUIRectModifier ArkUIRectModifierImpl { + RectModifier::ConstructImpl, + RectInterfaceModifier::SetRectOptionsImpl, + RectAttributeModifier::SetRadiusWidthImpl, + RectAttributeModifier::SetRadiusHeightImpl, + RectAttributeModifier::SetRadiusImpl, + }; + return &ArkUIRectModifierImpl; + } + + const GENERATED_ArkUIRefreshModifier* GetRefreshModifier() + { + static const GENERATED_ArkUIRefreshModifier ArkUIRefreshModifierImpl { + RefreshModifier::ConstructImpl, + RefreshInterfaceModifier::SetRefreshOptionsImpl, + RefreshAttributeModifier::SetOnStateChangeImpl, + RefreshAttributeModifier::SetOnRefreshingImpl, + RefreshAttributeModifier::SetRefreshOffsetImpl, + RefreshAttributeModifier::SetPullToRefreshImpl, + RefreshAttributeModifier::SetOnOffsetChangeImpl, + RefreshAttributeModifier::SetPullDownRatioImpl, + }; + return &ArkUIRefreshModifierImpl; + } + + const GENERATED_ArkUIRelativeContainerModifier* GetRelativeContainerModifier() + { + static const GENERATED_ArkUIRelativeContainerModifier ArkUIRelativeContainerModifierImpl { + RelativeContainerModifier::ConstructImpl, + RelativeContainerInterfaceModifier::SetRelativeContainerOptionsImpl, + RelativeContainerAttributeModifier::SetGuideLineImpl, + RelativeContainerAttributeModifier::SetBarrierImpl, + }; + return &ArkUIRelativeContainerModifierImpl; + } + + const GENERATED_ArkUIRemoteWindowModifier* GetRemoteWindowModifier() + { + static const GENERATED_ArkUIRemoteWindowModifier ArkUIRemoteWindowModifierImpl { + RemoteWindowModifier::ConstructImpl, + RemoteWindowInterfaceModifier::SetRemoteWindowOptionsImpl, + }; + return &ArkUIRemoteWindowModifierImpl; + } + + const GENERATED_ArkUIRichEditorModifier* GetRichEditorModifier() + { + static const GENERATED_ArkUIRichEditorModifier ArkUIRichEditorModifierImpl { + RichEditorModifier::ConstructImpl, + RichEditorInterfaceModifier::SetRichEditorOptionsImpl, + RichEditorAttributeModifier::SetOnReadyImpl, + RichEditorAttributeModifier::SetOnSelectImpl, + RichEditorAttributeModifier::SetOnSelectionChangeImpl, + RichEditorAttributeModifier::SetAboutToIMEInputImpl, + RichEditorAttributeModifier::SetOnIMEInputCompleteImpl, + RichEditorAttributeModifier::SetOnDidIMEInputImpl, + RichEditorAttributeModifier::SetAboutToDeleteImpl, + RichEditorAttributeModifier::SetOnDeleteCompleteImpl, + RichEditorAttributeModifier::SetCopyOptionsImpl, + RichEditorAttributeModifier::SetOnPasteImpl, + RichEditorAttributeModifier::SetEnableDataDetectorImpl, + RichEditorAttributeModifier::SetEnablePreviewTextImpl, + RichEditorAttributeModifier::SetDataDetectorConfigImpl, + RichEditorAttributeModifier::SetCaretColorImpl, + RichEditorAttributeModifier::SetSelectedBackgroundColorImpl, + RichEditorAttributeModifier::SetOnEditingChangeImpl, + RichEditorAttributeModifier::SetEnterKeyTypeImpl, + RichEditorAttributeModifier::SetOnSubmitImpl, + RichEditorAttributeModifier::SetOnWillChangeImpl, + RichEditorAttributeModifier::SetOnDidChangeImpl, + RichEditorAttributeModifier::SetOnCutImpl, + RichEditorAttributeModifier::SetOnCopyImpl, + RichEditorAttributeModifier::SetEditMenuOptionsImpl, + RichEditorAttributeModifier::SetEnableKeyboardOnFocusImpl, + RichEditorAttributeModifier::SetEnableHapticFeedbackImpl, + RichEditorAttributeModifier::SetBarStateImpl, + RichEditorAttributeModifier::SetMaxLengthImpl, + RichEditorAttributeModifier::SetMaxLinesImpl, + RichEditorAttributeModifier::SetKeyboardAppearanceImpl, + RichEditorAttributeModifier::SetStopBackPressImpl, + RichEditorAttributeModifier::SetBindSelectionMenuImpl, + RichEditorAttributeModifier::SetCustomKeyboardImpl, + RichEditorAttributeModifier::SetPlaceholderImpl, + }; + return &ArkUIRichEditorModifierImpl; + } + + const GENERATED_ArkUIRichTextModifier* GetRichTextModifier() + { + static const GENERATED_ArkUIRichTextModifier ArkUIRichTextModifierImpl { + RichTextModifier::ConstructImpl, + RichTextInterfaceModifier::SetRichTextOptionsImpl, + RichTextAttributeModifier::SetOnStartImpl, + RichTextAttributeModifier::SetOnCompleteImpl, + }; + return &ArkUIRichTextModifierImpl; + } + + const GENERATED_ArkUIRootModifier* GetRootModifier() + { + static const GENERATED_ArkUIRootModifier ArkUIRootModifierImpl { + RootModifier::ConstructImpl, + }; + return &ArkUIRootModifierImpl; + } + + const GENERATED_ArkUIRootSceneModifier* GetRootSceneModifier() + { + static const GENERATED_ArkUIRootSceneModifier ArkUIRootSceneModifierImpl { + RootSceneModifier::ConstructImpl, + RootSceneInterfaceModifier::SetRootSceneOptionsImpl, + }; + return &ArkUIRootSceneModifierImpl; + } + + const GENERATED_ArkUIRowModifier* GetRowModifier() + { + static const GENERATED_ArkUIRowModifier ArkUIRowModifierImpl { + RowModifier::ConstructImpl, + RowInterfaceModifier::SetRowOptionsImpl, + RowAttributeModifier::SetAlignItemsImpl, + RowAttributeModifier::SetJustifyContentImpl, + RowAttributeModifier::SetReverseImpl, + }; + return &ArkUIRowModifierImpl; + } + + const GENERATED_ArkUIRowSplitModifier* GetRowSplitModifier() + { + static const GENERATED_ArkUIRowSplitModifier ArkUIRowSplitModifierImpl { + RowSplitModifier::ConstructImpl, + RowSplitInterfaceModifier::SetRowSplitOptionsImpl, + RowSplitAttributeModifier::SetResizeableImpl, + }; + return &ArkUIRowSplitModifierImpl; + } + + const GENERATED_ArkUIScreenModifier* GetScreenModifier() + { + static const GENERATED_ArkUIScreenModifier ArkUIScreenModifierImpl { + ScreenModifier::ConstructImpl, + ScreenInterfaceModifier::SetScreenOptionsImpl, + }; + return &ArkUIScreenModifierImpl; + } + + const GENERATED_ArkUIScrollModifier* GetScrollModifier() + { + static const GENERATED_ArkUIScrollModifier ArkUIScrollModifierImpl { + ScrollModifier::ConstructImpl, + ScrollInterfaceModifier::SetScrollOptionsImpl, + ScrollAttributeModifier::SetScrollableImpl, + ScrollAttributeModifier::SetOnWillScrollImpl, + ScrollAttributeModifier::SetOnDidScrollImpl, + ScrollAttributeModifier::SetOnScrollEdgeImpl, + ScrollAttributeModifier::SetOnScrollStartImpl, + ScrollAttributeModifier::SetOnScrollStopImpl, + ScrollAttributeModifier::SetScrollBarImpl, + ScrollAttributeModifier::SetScrollBarColorImpl, + ScrollAttributeModifier::SetScrollBarWidthImpl, + ScrollAttributeModifier::SetOnScrollFrameBeginImpl, + ScrollAttributeModifier::SetNestedScrollImpl, + ScrollAttributeModifier::SetEnableScrollInteractionImpl, + ScrollAttributeModifier::SetFrictionImpl, + ScrollAttributeModifier::SetScrollSnapImpl, + ScrollAttributeModifier::SetEnablePagingImpl, + ScrollAttributeModifier::SetInitialOffsetImpl, + ScrollAttributeModifier::SetEdgeEffectImpl, + }; + return &ArkUIScrollModifierImpl; + } + + const GENERATED_ArkUIScrollableCommonMethodModifier* GetScrollableCommonMethodModifier() + { + static const GENERATED_ArkUIScrollableCommonMethodModifier ArkUIScrollableCommonMethodModifierImpl { + ScrollableCommonMethodModifier::ConstructImpl, + ScrollableCommonMethodModifier::SetScrollBarImpl, + ScrollableCommonMethodModifier::SetScrollBarColorImpl, + ScrollableCommonMethodModifier::SetScrollBarWidthImpl, + ScrollableCommonMethodModifier::SetNestedScrollImpl, + ScrollableCommonMethodModifier::SetEnableScrollInteractionImpl, + ScrollableCommonMethodModifier::SetFrictionImpl, + ScrollableCommonMethodModifier::SetOnReachStartImpl, + ScrollableCommonMethodModifier::SetOnReachEndImpl, + ScrollableCommonMethodModifier::SetOnScrollStartImpl, + ScrollableCommonMethodModifier::SetOnScrollStopImpl, + ScrollableCommonMethodModifier::SetFlingSpeedLimitImpl, + ScrollableCommonMethodModifier::SetClipContentImpl, + ScrollableCommonMethodModifier::SetDigitalCrownSensitivityImpl, + ScrollableCommonMethodModifier::SetBackToTopImpl, + ScrollableCommonMethodModifier::SetEdgeEffectImpl, + ScrollableCommonMethodModifier::SetFadingEdgeImpl, + }; + return &ArkUIScrollableCommonMethodModifierImpl; + } + + const GENERATED_ArkUIScrollBarModifier* GetScrollBarModifier() + { + static const GENERATED_ArkUIScrollBarModifier ArkUIScrollBarModifierImpl { + ScrollBarModifier::ConstructImpl, + ScrollBarInterfaceModifier::SetScrollBarOptionsImpl, + ScrollBarAttributeModifier::SetEnableNestedScrollImpl, + }; + return &ArkUIScrollBarModifierImpl; + } + + const GENERATED_ArkUISearchModifier* GetSearchModifier() + { + static const GENERATED_ArkUISearchModifier ArkUISearchModifierImpl { + SearchModifier::ConstructImpl, + SearchInterfaceModifier::SetSearchOptionsImpl, + SearchAttributeModifier::SetFontColorImpl, + SearchAttributeModifier::SetSearchIconImpl, + SearchAttributeModifier::SetCancelButtonImpl, + SearchAttributeModifier::SetTextIndentImpl, + SearchAttributeModifier::SetOnEditChangeImpl, + SearchAttributeModifier::SetSelectedBackgroundColorImpl, + SearchAttributeModifier::SetCaretStyleImpl, + SearchAttributeModifier::SetPlaceholderColorImpl, + SearchAttributeModifier::SetPlaceholderFontImpl, + SearchAttributeModifier::SetTextFontImpl, + SearchAttributeModifier::SetEnterKeyTypeImpl, + SearchAttributeModifier::SetOnSubmitImpl, + SearchAttributeModifier::SetOnChangeImpl, + SearchAttributeModifier::SetOnTextSelectionChangeImpl, + SearchAttributeModifier::SetOnContentScrollImpl, + SearchAttributeModifier::SetOnCopyImpl, + SearchAttributeModifier::SetOnCutImpl, + SearchAttributeModifier::SetOnPasteImpl, + SearchAttributeModifier::SetCopyOptionImpl, + SearchAttributeModifier::SetMaxLengthImpl, + SearchAttributeModifier::SetTextAlignImpl, + SearchAttributeModifier::SetEnableKeyboardOnFocusImpl, + SearchAttributeModifier::SetSelectionMenuHiddenImpl, + SearchAttributeModifier::SetMinFontSizeImpl, + SearchAttributeModifier::SetMaxFontSizeImpl, + SearchAttributeModifier::SetMinFontScaleImpl, + SearchAttributeModifier::SetMaxFontScaleImpl, + SearchAttributeModifier::SetDecorationImpl, + SearchAttributeModifier::SetLetterSpacingImpl, + SearchAttributeModifier::SetLineHeightImpl, + SearchAttributeModifier::SetTypeImpl, + SearchAttributeModifier::SetFontFeatureImpl, + SearchAttributeModifier::SetOnWillInsertImpl, + SearchAttributeModifier::SetOnDidInsertImpl, + SearchAttributeModifier::SetOnWillDeleteImpl, + SearchAttributeModifier::SetOnDidDeleteImpl, + SearchAttributeModifier::SetEditMenuOptionsImpl, + SearchAttributeModifier::SetEnablePreviewTextImpl, + SearchAttributeModifier::SetEnableHapticFeedbackImpl, + SearchAttributeModifier::SetAutoCapitalizationModeImpl, + SearchAttributeModifier::SetHalfLeadingImpl, + SearchAttributeModifier::SetStopBackPressImpl, + SearchAttributeModifier::SetOnWillChangeImpl, + SearchAttributeModifier::SetKeyboardAppearanceImpl, + SearchAttributeModifier::SetSearchButtonImpl, + SearchAttributeModifier::SetInputFilterImpl, + SearchAttributeModifier::SetCustomKeyboardImpl, + }; + return &ArkUISearchModifierImpl; + } + + const GENERATED_ArkUISelectModifier* GetSelectModifier() + { + static const GENERATED_ArkUISelectModifier ArkUISelectModifierImpl { + SelectModifier::ConstructImpl, + SelectInterfaceModifier::SetSelectOptionsImpl, + SelectAttributeModifier::SetSelectedImpl, + SelectAttributeModifier::SetValueImpl, + SelectAttributeModifier::SetFontImpl, + SelectAttributeModifier::SetFontColorImpl, + SelectAttributeModifier::SetSelectedOptionBgColorImpl, + SelectAttributeModifier::SetSelectedOptionFontImpl, + SelectAttributeModifier::SetSelectedOptionFontColorImpl, + SelectAttributeModifier::SetOptionBgColorImpl, + SelectAttributeModifier::SetOptionFontImpl, + SelectAttributeModifier::SetOptionFontColorImpl, + SelectAttributeModifier::SetOnSelectImpl, + SelectAttributeModifier::SetSpaceImpl, + SelectAttributeModifier::SetArrowPositionImpl, + SelectAttributeModifier::SetOptionWidthImpl, + SelectAttributeModifier::SetOptionHeightImpl, + SelectAttributeModifier::SetMenuBackgroundColorImpl, + SelectAttributeModifier::SetMenuBackgroundBlurStyleImpl, + SelectAttributeModifier::SetControlSizeImpl, + SelectAttributeModifier::SetDividerImpl, + SelectAttributeModifier::SetTextModifierImpl, + SelectAttributeModifier::SetArrowModifierImpl, + SelectAttributeModifier::SetOptionTextModifierImpl, + SelectAttributeModifier::SetSelectedOptionTextModifierImpl, + SelectAttributeModifier::SetDividerStyleImpl, + SelectAttributeModifier::SetAvoidanceImpl, + SelectAttributeModifier::SetMenuOutlineImpl, + SelectAttributeModifier::SetBackgroundColorImpl, + SelectAttributeModifier::SetMenuAlignImpl, + }; + return &ArkUISelectModifierImpl; + } + + const GENERATED_ArkUIShapeModifier* GetShapeModifier() + { + static const GENERATED_ArkUIShapeModifier ArkUIShapeModifierImpl { + ShapeModifier::ConstructImpl, + ShapeInterfaceModifier::SetShapeOptionsImpl, + ShapeAttributeModifier::SetViewPortImpl, + ShapeAttributeModifier::SetStrokeImpl, + ShapeAttributeModifier::SetFillImpl, + ShapeAttributeModifier::SetStrokeDashOffsetImpl, + ShapeAttributeModifier::SetStrokeDashArrayImpl, + ShapeAttributeModifier::SetStrokeLineCapImpl, + ShapeAttributeModifier::SetStrokeLineJoinImpl, + ShapeAttributeModifier::SetStrokeMiterLimitImpl, + ShapeAttributeModifier::SetStrokeOpacityImpl, + ShapeAttributeModifier::SetFillOpacityImpl, + ShapeAttributeModifier::SetStrokeWidthImpl, + ShapeAttributeModifier::SetAntiAliasImpl, + ShapeAttributeModifier::SetMeshImpl, + }; + return &ArkUIShapeModifierImpl; + } + + const GENERATED_ArkUISideBarContainerModifier* GetSideBarContainerModifier() + { + static const GENERATED_ArkUISideBarContainerModifier ArkUISideBarContainerModifierImpl { + SideBarContainerModifier::ConstructImpl, + SideBarContainerInterfaceModifier::SetSideBarContainerOptionsImpl, + SideBarContainerAttributeModifier::SetShowSideBarImpl, + SideBarContainerAttributeModifier::SetControlButtonImpl, + SideBarContainerAttributeModifier::SetShowControlButtonImpl, + SideBarContainerAttributeModifier::SetOnChangeImpl, + SideBarContainerAttributeModifier::SetSideBarWidthImpl, + SideBarContainerAttributeModifier::SetMinSideBarWidth0Impl, + SideBarContainerAttributeModifier::SetMaxSideBarWidth0Impl, + SideBarContainerAttributeModifier::SetMinSideBarWidth1Impl, + SideBarContainerAttributeModifier::SetMaxSideBarWidth1Impl, + SideBarContainerAttributeModifier::SetAutoHideImpl, + SideBarContainerAttributeModifier::SetSideBarPositionImpl, + SideBarContainerAttributeModifier::SetDividerImpl, + SideBarContainerAttributeModifier::SetMinContentWidthImpl, + }; + return &ArkUISideBarContainerModifierImpl; + } + + const GENERATED_ArkUISliderModifier* GetSliderModifier() + { + static const GENERATED_ArkUISliderModifier ArkUISliderModifierImpl { + SliderModifier::ConstructImpl, + SliderInterfaceModifier::SetSliderOptionsImpl, + SliderAttributeModifier::SetBlockColorImpl, + SliderAttributeModifier::SetTrackColorImpl, + SliderAttributeModifier::SetSelectedColorImpl, + SliderAttributeModifier::SetShowStepsImpl, + SliderAttributeModifier::SetTrackThicknessImpl, + SliderAttributeModifier::SetOnChangeImpl, + SliderAttributeModifier::SetBlockBorderColorImpl, + SliderAttributeModifier::SetBlockBorderWidthImpl, + SliderAttributeModifier::SetStepColorImpl, + SliderAttributeModifier::SetTrackBorderRadiusImpl, + SliderAttributeModifier::SetSelectedBorderRadiusImpl, + SliderAttributeModifier::SetBlockSizeImpl, + SliderAttributeModifier::SetBlockStyleImpl, + SliderAttributeModifier::SetStepSizeImpl, + SliderAttributeModifier::SetSliderInteractionModeImpl, + SliderAttributeModifier::SetMinResponsiveDistanceImpl, + SliderAttributeModifier::SetSlideRangeImpl, + SliderAttributeModifier::SetDigitalCrownSensitivityImpl, + SliderAttributeModifier::SetEnableHapticFeedbackImpl, + SliderAttributeModifier::SetShowTipsImpl, + }; + return &ArkUISliderModifierImpl; + } + + const GENERATED_ArkUISpanModifier* GetSpanModifier() + { + static const GENERATED_ArkUISpanModifier ArkUISpanModifierImpl { + SpanModifier::ConstructImpl, + SpanInterfaceModifier::SetSpanOptionsImpl, + SpanAttributeModifier::SetFontImpl, + SpanAttributeModifier::SetFontColorImpl, + SpanAttributeModifier::SetFontSizeImpl, + SpanAttributeModifier::SetFontStyleImpl, + SpanAttributeModifier::SetFontWeightImpl, + SpanAttributeModifier::SetFontFamilyImpl, + SpanAttributeModifier::SetDecorationImpl, + SpanAttributeModifier::SetLetterSpacingImpl, + SpanAttributeModifier::SetTextCaseImpl, + SpanAttributeModifier::SetLineHeightImpl, + SpanAttributeModifier::SetTextShadowImpl, + }; + return &ArkUISpanModifierImpl; + } + + const GENERATED_ArkUIStackModifier* GetStackModifier() + { + static const GENERATED_ArkUIStackModifier ArkUIStackModifierImpl { + StackModifier::ConstructImpl, + StackInterfaceModifier::SetStackOptionsImpl, + StackAttributeModifier::SetAlignContentImpl, + }; + return &ArkUIStackModifierImpl; + } + + const GENERATED_ArkUIStepperModifier* GetStepperModifier() + { + static const GENERATED_ArkUIStepperModifier ArkUIStepperModifierImpl { + StepperModifier::ConstructImpl, + StepperInterfaceModifier::SetStepperOptionsImpl, + StepperAttributeModifier::SetOnFinishImpl, + StepperAttributeModifier::SetOnSkipImpl, + StepperAttributeModifier::SetOnChangeImpl, + StepperAttributeModifier::SetOnNextImpl, + StepperAttributeModifier::SetOnPreviousImpl, + }; + return &ArkUIStepperModifierImpl; + } + + const GENERATED_ArkUIStepperItemModifier* GetStepperItemModifier() + { + static const GENERATED_ArkUIStepperItemModifier ArkUIStepperItemModifierImpl { + StepperItemModifier::ConstructImpl, + StepperItemInterfaceModifier::SetStepperItemOptionsImpl, + StepperItemAttributeModifier::SetPrevLabelImpl, + StepperItemAttributeModifier::SetNextLabelImpl, + StepperItemAttributeModifier::SetStatusImpl, + }; + return &ArkUIStepperItemModifierImpl; + } + + const GENERATED_ArkUISwiperModifier* GetSwiperModifier() + { + static const GENERATED_ArkUISwiperModifier ArkUISwiperModifierImpl { + SwiperModifier::ConstructImpl, + SwiperInterfaceModifier::SetSwiperOptionsImpl, + SwiperAttributeModifier::SetIndexImpl, + SwiperAttributeModifier::SetIntervalImpl, + SwiperAttributeModifier::SetIndicatorImpl, + SwiperAttributeModifier::SetLoopImpl, + SwiperAttributeModifier::SetDurationImpl, + SwiperAttributeModifier::SetVerticalImpl, + SwiperAttributeModifier::SetItemSpaceImpl, + SwiperAttributeModifier::SetDisplayModeImpl, + SwiperAttributeModifier::SetCachedCount0Impl, + SwiperAttributeModifier::SetEffectModeImpl, + SwiperAttributeModifier::SetDisableSwipeImpl, + SwiperAttributeModifier::SetCurveImpl, + SwiperAttributeModifier::SetOnChangeImpl, + SwiperAttributeModifier::SetOnSelectedImpl, + SwiperAttributeModifier::SetOnUnselectedImpl, + SwiperAttributeModifier::SetOnAnimationStartImpl, + SwiperAttributeModifier::SetOnAnimationEndImpl, + SwiperAttributeModifier::SetOnGestureSwipeImpl, + SwiperAttributeModifier::SetNestedScrollImpl, + SwiperAttributeModifier::SetCustomContentTransitionImpl, + SwiperAttributeModifier::SetOnContentDidScrollImpl, + SwiperAttributeModifier::SetIndicatorInteractiveImpl, + SwiperAttributeModifier::SetPageFlipModeImpl, + SwiperAttributeModifier::SetOnContentWillScrollImpl, + SwiperAttributeModifier::SetAutoPlayImpl, + SwiperAttributeModifier::SetDisplayArrowImpl, + SwiperAttributeModifier::SetCachedCount1Impl, + SwiperAttributeModifier::SetDisplayCountImpl, + SwiperAttributeModifier::SetPrevMarginImpl, + SwiperAttributeModifier::SetNextMarginImpl, + }; + return &ArkUISwiperModifierImpl; + } + + const GENERATED_ArkUISymbolGlyphModifier* GetSymbolGlyphModifier() + { + static const GENERATED_ArkUISymbolGlyphModifier ArkUISymbolGlyphModifierImpl { + SymbolGlyphModifier::ConstructImpl, + SymbolGlyphInterfaceModifier::SetSymbolGlyphOptionsImpl, + SymbolGlyphAttributeModifier::SetFontSizeImpl, + SymbolGlyphAttributeModifier::SetFontColorImpl, + SymbolGlyphAttributeModifier::SetFontWeightImpl, + SymbolGlyphAttributeModifier::SetEffectStrategyImpl, + SymbolGlyphAttributeModifier::SetRenderingStrategyImpl, + SymbolGlyphAttributeModifier::SetMinFontScaleImpl, + SymbolGlyphAttributeModifier::SetMaxFontScaleImpl, + SymbolGlyphAttributeModifier::SetSymbolEffectImpl, + }; + return &ArkUISymbolGlyphModifierImpl; + } + + const GENERATED_ArkUISymbolSpanModifier* GetSymbolSpanModifier() + { + static const GENERATED_ArkUISymbolSpanModifier ArkUISymbolSpanModifierImpl { + SymbolSpanModifier::ConstructImpl, + SymbolSpanInterfaceModifier::SetSymbolSpanOptionsImpl, + SymbolSpanAttributeModifier::SetFontSizeImpl, + SymbolSpanAttributeModifier::SetFontColorImpl, + SymbolSpanAttributeModifier::SetFontWeightImpl, + SymbolSpanAttributeModifier::SetEffectStrategyImpl, + SymbolSpanAttributeModifier::SetRenderingStrategyImpl, + }; + return &ArkUISymbolSpanModifierImpl; + } + + const GENERATED_ArkUITabContentModifier* GetTabContentModifier() + { + static const GENERATED_ArkUITabContentModifier ArkUITabContentModifierImpl { + TabContentModifier::ConstructImpl, + TabContentInterfaceModifier::SetTabContentOptionsImpl, + TabContentAttributeModifier::SetTabBarImpl, + TabContentAttributeModifier::SetOnWillShowImpl, + TabContentAttributeModifier::SetOnWillHideImpl, + }; + return &ArkUITabContentModifierImpl; + } + + const GENERATED_ArkUITabsModifier* GetTabsModifier() + { + static const GENERATED_ArkUITabsModifier ArkUITabsModifierImpl { + TabsModifier::ConstructImpl, + TabsInterfaceModifier::SetTabsOptionsImpl, + TabsAttributeModifier::SetVerticalImpl, + TabsAttributeModifier::SetBarPositionImpl, + TabsAttributeModifier::SetScrollableImpl, + TabsAttributeModifier::SetBarWidthImpl, + TabsAttributeModifier::SetBarHeightImpl, + TabsAttributeModifier::SetAnimationDurationImpl, + TabsAttributeModifier::SetAnimationModeImpl, + TabsAttributeModifier::SetEdgeEffectImpl, + TabsAttributeModifier::SetOnChangeImpl, + TabsAttributeModifier::SetOnSelectedImpl, + TabsAttributeModifier::SetOnTabBarClickImpl, + TabsAttributeModifier::SetOnUnselectedImpl, + TabsAttributeModifier::SetOnAnimationStartImpl, + TabsAttributeModifier::SetOnAnimationEndImpl, + TabsAttributeModifier::SetOnGestureSwipeImpl, + TabsAttributeModifier::SetFadingEdgeImpl, + TabsAttributeModifier::SetDividerImpl, + TabsAttributeModifier::SetBarOverlapImpl, + TabsAttributeModifier::SetBarBackgroundColorImpl, + TabsAttributeModifier::SetBarGridAlignImpl, + TabsAttributeModifier::SetCustomContentTransitionImpl, + TabsAttributeModifier::SetBarBackgroundBlurStyle0Impl, + TabsAttributeModifier::SetPageFlipModeImpl, + TabsAttributeModifier::SetBarBackgroundEffectImpl, + TabsAttributeModifier::SetOnContentWillChangeImpl, + TabsAttributeModifier::SetBarModeImpl, + TabsAttributeModifier::SetBarBackgroundBlurStyle1Impl, + TabsAttributeModifier::SetCachedMaxCountImpl, + }; + return &ArkUITabsModifierImpl; + } + + const GENERATED_ArkUITextModifier* GetTextModifier() + { + static const GENERATED_ArkUITextModifier ArkUITextModifierImpl { + TextModifier::ConstructImpl, + TextInterfaceModifier::SetTextOptionsImpl, + TextAttributeModifier::SetFontColorImpl, + TextAttributeModifier::SetFontSizeImpl, + TextAttributeModifier::SetMinFontSizeImpl, + TextAttributeModifier::SetMaxFontSizeImpl, + TextAttributeModifier::SetMinFontScaleImpl, + TextAttributeModifier::SetMaxFontScaleImpl, + TextAttributeModifier::SetFontStyleImpl, + TextAttributeModifier::SetLineSpacingImpl, + TextAttributeModifier::SetTextAlignImpl, + TextAttributeModifier::SetLineHeightImpl, + TextAttributeModifier::SetTextOverflowImpl, + TextAttributeModifier::SetFontFamilyImpl, + TextAttributeModifier::SetMaxLinesImpl, + TextAttributeModifier::SetDecorationImpl, + TextAttributeModifier::SetLetterSpacingImpl, + TextAttributeModifier::SetTextCaseImpl, + TextAttributeModifier::SetBaselineOffsetImpl, + TextAttributeModifier::SetCopyOptionImpl, + TextAttributeModifier::SetDraggableImpl, + TextAttributeModifier::SetTextShadowImpl, + TextAttributeModifier::SetHeightAdaptivePolicyImpl, + TextAttributeModifier::SetTextIndentImpl, + TextAttributeModifier::SetWordBreakImpl, + TextAttributeModifier::SetLineBreakStrategyImpl, + TextAttributeModifier::SetOnCopyImpl, + TextAttributeModifier::SetCaretColorImpl, + TextAttributeModifier::SetSelectedBackgroundColorImpl, + TextAttributeModifier::SetEllipsisModeImpl, + TextAttributeModifier::SetEnableDataDetectorImpl, + TextAttributeModifier::SetDataDetectorConfigImpl, + TextAttributeModifier::SetOnTextSelectionChangeImpl, + TextAttributeModifier::SetFontFeatureImpl, + TextAttributeModifier::SetMarqueeOptionsImpl, + TextAttributeModifier::SetOnMarqueeStateChangeImpl, + TextAttributeModifier::SetPrivacySensitiveImpl, + TextAttributeModifier::SetTextSelectableImpl, + TextAttributeModifier::SetEditMenuOptionsImpl, + TextAttributeModifier::SetHalfLeadingImpl, + TextAttributeModifier::SetEnableHapticFeedbackImpl, + TextAttributeModifier::SetFontImpl, + TextAttributeModifier::SetFontWeightImpl, + TextAttributeModifier::SetSelectionImpl, + TextAttributeModifier::SetBindSelectionMenuImpl, + }; + return &ArkUITextModifierImpl; + } + + const GENERATED_ArkUITextAreaModifier* GetTextAreaModifier() + { + static const GENERATED_ArkUITextAreaModifier ArkUITextAreaModifierImpl { + TextAreaModifier::ConstructImpl, + TextAreaInterfaceModifier::SetTextAreaOptionsImpl, + TextAreaAttributeModifier::SetPlaceholderColorImpl, + TextAreaAttributeModifier::SetPlaceholderFontImpl, + TextAreaAttributeModifier::SetEnterKeyTypeImpl, + TextAreaAttributeModifier::SetTextAlignImpl, + TextAreaAttributeModifier::SetCaretColorImpl, + TextAreaAttributeModifier::SetFontColorImpl, + TextAreaAttributeModifier::SetFontSizeImpl, + TextAreaAttributeModifier::SetFontStyleImpl, + TextAreaAttributeModifier::SetFontWeightImpl, + TextAreaAttributeModifier::SetFontFamilyImpl, + TextAreaAttributeModifier::SetTextOverflowImpl, + TextAreaAttributeModifier::SetTextIndentImpl, + TextAreaAttributeModifier::SetCaretStyleImpl, + TextAreaAttributeModifier::SetSelectedBackgroundColorImpl, + TextAreaAttributeModifier::SetOnSubmitImpl, + TextAreaAttributeModifier::SetOnChangeImpl, + TextAreaAttributeModifier::SetOnTextSelectionChangeImpl, + TextAreaAttributeModifier::SetOnContentScrollImpl, + TextAreaAttributeModifier::SetOnEditChangeImpl, + TextAreaAttributeModifier::SetOnCopyImpl, + TextAreaAttributeModifier::SetOnCutImpl, + TextAreaAttributeModifier::SetOnPasteImpl, + TextAreaAttributeModifier::SetCopyOptionImpl, + TextAreaAttributeModifier::SetEnableKeyboardOnFocusImpl, + TextAreaAttributeModifier::SetMaxLengthImpl, + TextAreaAttributeModifier::SetStyleImpl, + TextAreaAttributeModifier::SetBarStateImpl, + TextAreaAttributeModifier::SetSelectionMenuHiddenImpl, + TextAreaAttributeModifier::SetMinFontSizeImpl, + TextAreaAttributeModifier::SetMaxFontSizeImpl, + TextAreaAttributeModifier::SetMinFontScaleImpl, + TextAreaAttributeModifier::SetMaxFontScaleImpl, + TextAreaAttributeModifier::SetHeightAdaptivePolicyImpl, + TextAreaAttributeModifier::SetMaxLinesImpl, + TextAreaAttributeModifier::SetWordBreakImpl, + TextAreaAttributeModifier::SetLineBreakStrategyImpl, + TextAreaAttributeModifier::SetDecorationImpl, + TextAreaAttributeModifier::SetLetterSpacingImpl, + TextAreaAttributeModifier::SetLineSpacingImpl, + TextAreaAttributeModifier::SetLineHeightImpl, + TextAreaAttributeModifier::SetTypeImpl, + TextAreaAttributeModifier::SetEnableAutoFillImpl, + TextAreaAttributeModifier::SetContentTypeImpl, + TextAreaAttributeModifier::SetFontFeatureImpl, + TextAreaAttributeModifier::SetOnWillInsertImpl, + TextAreaAttributeModifier::SetOnDidInsertImpl, + TextAreaAttributeModifier::SetOnWillDeleteImpl, + TextAreaAttributeModifier::SetOnDidDeleteImpl, + TextAreaAttributeModifier::SetEditMenuOptionsImpl, + TextAreaAttributeModifier::SetEnablePreviewTextImpl, + TextAreaAttributeModifier::SetEnableHapticFeedbackImpl, + TextAreaAttributeModifier::SetAutoCapitalizationModeImpl, + TextAreaAttributeModifier::SetHalfLeadingImpl, + TextAreaAttributeModifier::SetEllipsisModeImpl, + TextAreaAttributeModifier::SetStopBackPressImpl, + TextAreaAttributeModifier::SetOnWillChangeImpl, + TextAreaAttributeModifier::SetKeyboardAppearanceImpl, + TextAreaAttributeModifier::SetInputFilterImpl, + TextAreaAttributeModifier::SetShowCounterImpl, + TextAreaAttributeModifier::SetCustomKeyboardImpl, + }; + return &ArkUITextAreaModifierImpl; + } + + const GENERATED_ArkUITextClockModifier* GetTextClockModifier() + { + static const GENERATED_ArkUITextClockModifier ArkUITextClockModifierImpl { + TextClockModifier::ConstructImpl, + TextClockInterfaceModifier::SetTextClockOptionsImpl, + TextClockAttributeModifier::SetFormatImpl, + TextClockAttributeModifier::SetOnDateChangeImpl, + TextClockAttributeModifier::SetFontColorImpl, + TextClockAttributeModifier::SetFontSizeImpl, + TextClockAttributeModifier::SetFontStyleImpl, + TextClockAttributeModifier::SetFontWeightImpl, + TextClockAttributeModifier::SetFontFamilyImpl, + TextClockAttributeModifier::SetTextShadowImpl, + TextClockAttributeModifier::SetFontFeatureImpl, + TextClockAttributeModifier::SetDateTimeOptionsImpl, + }; + return &ArkUITextClockModifierImpl; + } + + const GENERATED_ArkUITextInputModifier* GetTextInputModifier() + { + static const GENERATED_ArkUITextInputModifier ArkUITextInputModifierImpl { + TextInputModifier::ConstructImpl, + TextInputInterfaceModifier::SetTextInputOptionsImpl, + TextInputAttributeModifier::SetTypeImpl, + TextInputAttributeModifier::SetContentTypeImpl, + TextInputAttributeModifier::SetPlaceholderColorImpl, + TextInputAttributeModifier::SetTextOverflowImpl, + TextInputAttributeModifier::SetTextIndentImpl, + TextInputAttributeModifier::SetPlaceholderFontImpl, + TextInputAttributeModifier::SetEnterKeyTypeImpl, + TextInputAttributeModifier::SetCaretColorImpl, + TextInputAttributeModifier::SetOnEditChangeImpl, + TextInputAttributeModifier::SetOnSubmitImpl, + TextInputAttributeModifier::SetOnChangeImpl, + TextInputAttributeModifier::SetOnTextSelectionChangeImpl, + TextInputAttributeModifier::SetOnContentScrollImpl, + TextInputAttributeModifier::SetMaxLengthImpl, + TextInputAttributeModifier::SetFontColorImpl, + TextInputAttributeModifier::SetFontSizeImpl, + TextInputAttributeModifier::SetFontStyleImpl, + TextInputAttributeModifier::SetFontWeightImpl, + TextInputAttributeModifier::SetFontFamilyImpl, + TextInputAttributeModifier::SetOnCopyImpl, + TextInputAttributeModifier::SetOnCutImpl, + TextInputAttributeModifier::SetOnPasteImpl, + TextInputAttributeModifier::SetCopyOptionImpl, + TextInputAttributeModifier::SetShowPasswordIconImpl, + TextInputAttributeModifier::SetTextAlignImpl, + TextInputAttributeModifier::SetStyleImpl, + TextInputAttributeModifier::SetCaretStyleImpl, + TextInputAttributeModifier::SetSelectedBackgroundColorImpl, + TextInputAttributeModifier::SetCaretPositionImpl, + TextInputAttributeModifier::SetEnableKeyboardOnFocusImpl, + TextInputAttributeModifier::SetPasswordIconImpl, + TextInputAttributeModifier::SetShowErrorImpl, + TextInputAttributeModifier::SetShowUnitImpl, + TextInputAttributeModifier::SetShowUnderlineImpl, + TextInputAttributeModifier::SetUnderlineColorImpl, + TextInputAttributeModifier::SetSelectionMenuHiddenImpl, + TextInputAttributeModifier::SetBarStateImpl, + TextInputAttributeModifier::SetMaxLinesImpl, + TextInputAttributeModifier::SetWordBreakImpl, + TextInputAttributeModifier::SetLineBreakStrategyImpl, + TextInputAttributeModifier::SetCancelButtonImpl, + TextInputAttributeModifier::SetSelectAllImpl, + TextInputAttributeModifier::SetMinFontSizeImpl, + TextInputAttributeModifier::SetMaxFontSizeImpl, + TextInputAttributeModifier::SetMinFontScaleImpl, + TextInputAttributeModifier::SetMaxFontScaleImpl, + TextInputAttributeModifier::SetHeightAdaptivePolicyImpl, + TextInputAttributeModifier::SetEnableAutoFillImpl, + TextInputAttributeModifier::SetDecorationImpl, + TextInputAttributeModifier::SetLetterSpacingImpl, + TextInputAttributeModifier::SetLineHeightImpl, + TextInputAttributeModifier::SetPasswordRulesImpl, + TextInputAttributeModifier::SetFontFeatureImpl, + TextInputAttributeModifier::SetShowPasswordImpl, + TextInputAttributeModifier::SetOnSecurityStateChangeImpl, + TextInputAttributeModifier::SetOnWillInsertImpl, + TextInputAttributeModifier::SetOnDidInsertImpl, + TextInputAttributeModifier::SetOnWillDeleteImpl, + TextInputAttributeModifier::SetOnDidDeleteImpl, + TextInputAttributeModifier::SetEditMenuOptionsImpl, + TextInputAttributeModifier::SetEnablePreviewTextImpl, + TextInputAttributeModifier::SetEnableHapticFeedbackImpl, + TextInputAttributeModifier::SetAutoCapitalizationModeImpl, + TextInputAttributeModifier::SetHalfLeadingImpl, + TextInputAttributeModifier::SetEllipsisModeImpl, + TextInputAttributeModifier::SetStopBackPressImpl, + TextInputAttributeModifier::SetOnWillChangeImpl, + TextInputAttributeModifier::SetKeyboardAppearanceImpl, + TextInputAttributeModifier::SetInputFilterImpl, + TextInputAttributeModifier::SetCustomKeyboardImpl, + TextInputAttributeModifier::SetShowCounterImpl, + }; + return &ArkUITextInputModifierImpl; + } + + const GENERATED_ArkUITextPickerModifier* GetTextPickerModifier() + { + static const GENERATED_ArkUITextPickerModifier ArkUITextPickerModifierImpl { + TextPickerModifier::ConstructImpl, + TextPickerInterfaceModifier::SetTextPickerOptionsImpl, + TextPickerAttributeModifier::SetDefaultPickerItemHeightImpl, + TextPickerAttributeModifier::SetCanLoopImpl, + TextPickerAttributeModifier::SetDisappearTextStyleImpl, + TextPickerAttributeModifier::SetTextStyleImpl, + TextPickerAttributeModifier::SetSelectedTextStyleImpl, + TextPickerAttributeModifier::SetDisableTextStyleAnimationImpl, + TextPickerAttributeModifier::SetDefaultTextStyleImpl, + TextPickerAttributeModifier::SetOnChangeImpl, + TextPickerAttributeModifier::SetOnScrollStopImpl, + TextPickerAttributeModifier::SetOnEnterSelectedAreaImpl, + TextPickerAttributeModifier::SetSelectedIndexImpl, + TextPickerAttributeModifier::SetDividerImpl, + TextPickerAttributeModifier::SetGradientHeightImpl, + TextPickerAttributeModifier::SetEnableHapticFeedbackImpl, + TextPickerAttributeModifier::SetDigitalCrownSensitivityImpl, + }; + return &ArkUITextPickerModifierImpl; + } + + const GENERATED_ArkUITextTimerModifier* GetTextTimerModifier() + { + static const GENERATED_ArkUITextTimerModifier ArkUITextTimerModifierImpl { + TextTimerModifier::ConstructImpl, + TextTimerInterfaceModifier::SetTextTimerOptionsImpl, + TextTimerAttributeModifier::SetFormatImpl, + TextTimerAttributeModifier::SetFontColorImpl, + TextTimerAttributeModifier::SetFontSizeImpl, + TextTimerAttributeModifier::SetFontStyleImpl, + TextTimerAttributeModifier::SetFontWeightImpl, + TextTimerAttributeModifier::SetFontFamilyImpl, + TextTimerAttributeModifier::SetOnTimerImpl, + TextTimerAttributeModifier::SetTextShadowImpl, + }; + return &ArkUITextTimerModifierImpl; + } + + const GENERATED_ArkUITimePickerModifier* GetTimePickerModifier() + { + static const GENERATED_ArkUITimePickerModifier ArkUITimePickerModifierImpl { + TimePickerModifier::ConstructImpl, + TimePickerInterfaceModifier::SetTimePickerOptionsImpl, + TimePickerAttributeModifier::SetUseMilitaryTimeImpl, + TimePickerAttributeModifier::SetLoopImpl, + TimePickerAttributeModifier::SetDisappearTextStyleImpl, + TimePickerAttributeModifier::SetTextStyleImpl, + TimePickerAttributeModifier::SetSelectedTextStyleImpl, + TimePickerAttributeModifier::SetDateTimeOptionsImpl, + TimePickerAttributeModifier::SetOnChangeImpl, + TimePickerAttributeModifier::SetOnEnterSelectedAreaImpl, + TimePickerAttributeModifier::SetEnableHapticFeedbackImpl, + TimePickerAttributeModifier::SetDigitalCrownSensitivityImpl, + TimePickerAttributeModifier::SetEnableCascadeImpl, + }; + return &ArkUITimePickerModifierImpl; + } + + const GENERATED_ArkUIToggleModifier* GetToggleModifier() + { + static const GENERATED_ArkUIToggleModifier ArkUIToggleModifierImpl { + ToggleModifier::ConstructImpl, + ToggleInterfaceModifier::SetToggleOptionsImpl, + ToggleAttributeModifier::SetOnChangeImpl, + ToggleAttributeModifier::SetSelectedColorImpl, + ToggleAttributeModifier::SetSwitchPointColorImpl, + ToggleAttributeModifier::SetSwitchStyleImpl, + }; + return &ArkUIToggleModifierImpl; + } + + const GENERATED_ArkUIToolBarItemModifier* GetToolBarItemModifier() + { + static const GENERATED_ArkUIToolBarItemModifier ArkUIToolBarItemModifierImpl { + ToolBarItemModifier::ConstructImpl, + ToolBarItemInterfaceModifier::SetToolBarItemOptionsImpl, + }; + return &ArkUIToolBarItemModifierImpl; + } + + const GENERATED_ArkUIUIExtensionComponentModifier* GetUIExtensionComponentModifier() + { + static const GENERATED_ArkUIUIExtensionComponentModifier ArkUIUIExtensionComponentModifierImpl { + UIExtensionComponentModifier::ConstructImpl, + UIExtensionComponentInterfaceModifier::SetUIExtensionComponentOptionsImpl, + UIExtensionComponentAttributeModifier::SetOnRemoteReadyImpl, + UIExtensionComponentAttributeModifier::SetOnReceiveImpl, + UIExtensionComponentAttributeModifier::SetOnErrorImpl, + UIExtensionComponentAttributeModifier::SetOnTerminatedImpl, + UIExtensionComponentAttributeModifier::SetOnDrawReadyImpl, + }; + return &ArkUIUIExtensionComponentModifierImpl; + } + + const GENERATED_ArkUIVideoModifier* GetVideoModifier() + { + static const GENERATED_ArkUIVideoModifier ArkUIVideoModifierImpl { + VideoModifier::ConstructImpl, + VideoInterfaceModifier::SetVideoOptionsImpl, + VideoAttributeModifier::SetMutedImpl, + VideoAttributeModifier::SetAutoPlayImpl, + VideoAttributeModifier::SetControlsImpl, + VideoAttributeModifier::SetLoopImpl, + VideoAttributeModifier::SetObjectFitImpl, + VideoAttributeModifier::SetOnStartImpl, + VideoAttributeModifier::SetOnPauseImpl, + VideoAttributeModifier::SetOnFinishImpl, + VideoAttributeModifier::SetOnFullscreenChangeImpl, + VideoAttributeModifier::SetOnPreparedImpl, + VideoAttributeModifier::SetOnSeekingImpl, + VideoAttributeModifier::SetOnSeekedImpl, + VideoAttributeModifier::SetOnUpdateImpl, + VideoAttributeModifier::SetOnErrorImpl, + VideoAttributeModifier::SetOnStopImpl, + VideoAttributeModifier::SetEnableAnalyzerImpl, + VideoAttributeModifier::SetAnalyzerConfigImpl, + VideoAttributeModifier::SetEnableShortcutKeyImpl, + }; + return &ArkUIVideoModifierImpl; + } + + const GENERATED_ArkUIWaterFlowModifier* GetWaterFlowModifier() + { + static const GENERATED_ArkUIWaterFlowModifier ArkUIWaterFlowModifierImpl { + WaterFlowModifier::ConstructImpl, + WaterFlowInterfaceModifier::SetWaterFlowOptionsImpl, + WaterFlowAttributeModifier::SetColumnsTemplateImpl, + WaterFlowAttributeModifier::SetItemConstraintSizeImpl, + WaterFlowAttributeModifier::SetRowsTemplateImpl, + WaterFlowAttributeModifier::SetColumnsGapImpl, + WaterFlowAttributeModifier::SetRowsGapImpl, + WaterFlowAttributeModifier::SetLayoutDirectionImpl, + WaterFlowAttributeModifier::SetCachedCount0Impl, + WaterFlowAttributeModifier::SetOnScrollFrameBeginImpl, + WaterFlowAttributeModifier::SetOnScrollIndexImpl, + WaterFlowAttributeModifier::SetOnWillScrollImpl, + WaterFlowAttributeModifier::SetOnDidScrollImpl, + WaterFlowAttributeModifier::SetCachedCount1Impl, + }; + return &ArkUIWaterFlowModifierImpl; + } + + const GENERATED_ArkUIWebModifier* GetWebModifier() + { + static const GENERATED_ArkUIWebModifier ArkUIWebModifierImpl { + WebModifier::ConstructImpl, + WebInterfaceModifier::SetWebOptionsImpl, + WebAttributeModifier::SetJavaScriptAccessImpl, + WebAttributeModifier::SetFileAccessImpl, + WebAttributeModifier::SetOnlineImageAccessImpl, + WebAttributeModifier::SetDomStorageAccessImpl, + WebAttributeModifier::SetImageAccessImpl, + WebAttributeModifier::SetMixedModeImpl, + WebAttributeModifier::SetZoomAccessImpl, + WebAttributeModifier::SetGeolocationAccessImpl, + WebAttributeModifier::SetJavaScriptProxyImpl, + WebAttributeModifier::SetCacheModeImpl, + WebAttributeModifier::SetDarkModeImpl, + WebAttributeModifier::SetForceDarkAccessImpl, + WebAttributeModifier::SetMediaOptionsImpl, + WebAttributeModifier::SetOverviewModeAccessImpl, + WebAttributeModifier::SetOverScrollModeImpl, + WebAttributeModifier::SetBlurOnKeyboardHideModeImpl, + WebAttributeModifier::SetTextZoomRatioImpl, + WebAttributeModifier::SetDatabaseAccessImpl, + WebAttributeModifier::SetInitialScaleImpl, + WebAttributeModifier::SetMetaViewportImpl, + WebAttributeModifier::SetOnPageEndImpl, + WebAttributeModifier::SetOnPageBeginImpl, + WebAttributeModifier::SetOnProgressChangeImpl, + WebAttributeModifier::SetOnTitleReceiveImpl, + WebAttributeModifier::SetOnGeolocationHideImpl, + WebAttributeModifier::SetOnGeolocationShowImpl, + WebAttributeModifier::SetOnRequestSelectedImpl, + WebAttributeModifier::SetOnAlertImpl, + WebAttributeModifier::SetOnBeforeUnloadImpl, + WebAttributeModifier::SetOnConfirmImpl, + WebAttributeModifier::SetOnPromptImpl, + WebAttributeModifier::SetOnConsoleImpl, + WebAttributeModifier::SetOnErrorReceiveImpl, + WebAttributeModifier::SetOnHttpErrorReceiveImpl, + WebAttributeModifier::SetOnDownloadStartImpl, + WebAttributeModifier::SetOnRefreshAccessedHistoryImpl, + WebAttributeModifier::SetOnRenderExitedImpl, + WebAttributeModifier::SetOnShowFileSelectorImpl, + WebAttributeModifier::SetOnResourceLoadImpl, + WebAttributeModifier::SetOnFullScreenExitImpl, + WebAttributeModifier::SetOnFullScreenEnterImpl, + WebAttributeModifier::SetOnScaleChangeImpl, + WebAttributeModifier::SetOnHttpAuthRequestImpl, + WebAttributeModifier::SetOnInterceptRequestImpl, + WebAttributeModifier::SetOnPermissionRequestImpl, + WebAttributeModifier::SetOnScreenCaptureRequestImpl, + WebAttributeModifier::SetOnContextMenuShowImpl, + WebAttributeModifier::SetOnContextMenuHideImpl, + WebAttributeModifier::SetMediaPlayGestureAccessImpl, + WebAttributeModifier::SetOnSearchResultReceiveImpl, + WebAttributeModifier::SetOnScrollImpl, + WebAttributeModifier::SetOnSslErrorEventReceiveImpl, + WebAttributeModifier::SetOnSslErrorEventImpl, + WebAttributeModifier::SetOnClientAuthenticationRequestImpl, + WebAttributeModifier::SetOnWindowNewImpl, + WebAttributeModifier::SetOnWindowExitImpl, + WebAttributeModifier::SetMultiWindowAccessImpl, + WebAttributeModifier::SetOnInterceptKeyEventImpl, + WebAttributeModifier::SetWebStandardFontImpl, + WebAttributeModifier::SetWebSerifFontImpl, + WebAttributeModifier::SetWebSansSerifFontImpl, + WebAttributeModifier::SetWebFixedFontImpl, + WebAttributeModifier::SetWebFantasyFontImpl, + WebAttributeModifier::SetWebCursiveFontImpl, + WebAttributeModifier::SetDefaultFixedFontSizeImpl, + WebAttributeModifier::SetDefaultFontSizeImpl, + WebAttributeModifier::SetMinFontSizeImpl, + WebAttributeModifier::SetMinLogicalFontSizeImpl, + WebAttributeModifier::SetDefaultTextEncodingFormatImpl, + WebAttributeModifier::SetForceDisplayScrollBarImpl, + WebAttributeModifier::SetBlockNetworkImpl, + WebAttributeModifier::SetHorizontalScrollBarAccessImpl, + WebAttributeModifier::SetVerticalScrollBarAccessImpl, + WebAttributeModifier::SetOnTouchIconUrlReceivedImpl, + WebAttributeModifier::SetOnFaviconReceivedImpl, + WebAttributeModifier::SetOnPageVisibleImpl, + WebAttributeModifier::SetOnDataResubmittedImpl, + WebAttributeModifier::SetPinchSmoothImpl, + WebAttributeModifier::SetAllowWindowOpenMethodImpl, + WebAttributeModifier::SetOnAudioStateChangedImpl, + WebAttributeModifier::SetOnFirstContentfulPaintImpl, + WebAttributeModifier::SetOnFirstMeaningfulPaintImpl, + WebAttributeModifier::SetOnLargestContentfulPaintImpl, + WebAttributeModifier::SetOnLoadInterceptImpl, + WebAttributeModifier::SetOnControllerAttachedImpl, + WebAttributeModifier::SetOnOverScrollImpl, + WebAttributeModifier::SetOnSafeBrowsingCheckResultImpl, + WebAttributeModifier::SetOnNavigationEntryCommittedImpl, + WebAttributeModifier::SetOnIntelligentTrackingPreventionResultImpl, + WebAttributeModifier::SetJavaScriptOnDocumentStartImpl, + WebAttributeModifier::SetJavaScriptOnDocumentEndImpl, + WebAttributeModifier::SetLayoutModeImpl, + WebAttributeModifier::SetNestedScrollImpl, + WebAttributeModifier::SetEnableNativeEmbedModeImpl, + WebAttributeModifier::SetOnNativeEmbedLifecycleChangeImpl, + WebAttributeModifier::SetOnNativeEmbedVisibilityChangeImpl, + WebAttributeModifier::SetOnNativeEmbedGestureEventImpl, + WebAttributeModifier::SetCopyOptionsImpl, + WebAttributeModifier::SetOnOverrideUrlLoadingImpl, + WebAttributeModifier::SetTextAutosizingImpl, + WebAttributeModifier::SetEnableNativeMediaPlayerImpl, + WebAttributeModifier::SetOnRenderProcessNotRespondingImpl, + WebAttributeModifier::SetOnRenderProcessRespondingImpl, + WebAttributeModifier::SetOnViewportFitChangedImpl, + WebAttributeModifier::SetOnInterceptKeyboardAttachImpl, + WebAttributeModifier::SetOnAdsBlockedImpl, + WebAttributeModifier::SetKeyboardAvoidModeImpl, + WebAttributeModifier::SetEditMenuOptionsImpl, + WebAttributeModifier::SetEnableHapticFeedbackImpl, + WebAttributeModifier::SetOptimizeParserBudgetImpl, + WebAttributeModifier::SetEnableFollowSystemFontWeightImpl, + WebAttributeModifier::SetEnableWebAVSessionImpl, + WebAttributeModifier::SetRunJavaScriptOnDocumentStartImpl, + WebAttributeModifier::SetRunJavaScriptOnDocumentEndImpl, + WebAttributeModifier::SetRunJavaScriptOnHeadEndImpl, + WebAttributeModifier::SetNativeEmbedOptionsImpl, + WebAttributeModifier::SetRegisterNativeEmbedRuleImpl, + WebAttributeModifier::SetBindSelectionMenuImpl, + }; + return &ArkUIWebModifierImpl; + } + + const GENERATED_ArkUIWindowSceneModifier* GetWindowSceneModifier() + { + static const GENERATED_ArkUIWindowSceneModifier ArkUIWindowSceneModifierImpl { + WindowSceneModifier::ConstructImpl, + WindowSceneInterfaceModifier::SetWindowSceneOptionsImpl, + WindowSceneAttributeModifier::SetAttractionEffectImpl, + }; + return &ArkUIWindowSceneModifierImpl; + } + + const GENERATED_ArkUIWithThemeModifier* GetWithThemeModifier() + { + static const GENERATED_ArkUIWithThemeModifier ArkUIWithThemeModifierImpl { + WithThemeModifier::ConstructImpl, + WithThemeInterfaceModifier::SetWithThemeOptionsImpl, + }; + return &ArkUIWithThemeModifierImpl; + } + + const GENERATED_ArkUIXComponentModifier* GetXComponentModifier() + { + static const GENERATED_ArkUIXComponentModifier ArkUIXComponentModifierImpl { + XComponentModifier::ConstructImpl, + XComponentInterfaceModifier::SetXComponentOptionsImpl, + XComponentAttributeModifier::SetOnLoadImpl, + XComponentAttributeModifier::SetOnDestroyImpl, + XComponentAttributeModifier::SetEnableAnalyzerImpl, + XComponentAttributeModifier::SetEnableSecureImpl, + XComponentAttributeModifier::SetHdrBrightnessImpl, + }; + return &ArkUIXComponentModifierImpl; + } + + const GENERATED_ArkUINodeModifiers* GENERATED_GetArkUINodeModifiers() + { + static const GENERATED_ArkUINodeModifiers modifiersImpl = { + GetAlphabetIndexerModifier, + GetAnimatorModifier, + GetBadgeModifier, + GetBaseSpanModifier, + GetBlankModifier, + GetButtonModifier, + GetCalendarPickerModifier, + GetCanvasModifier, + GetCheckboxModifier, + GetCheckboxGroupModifier, + GetCircleModifier, + GetColumnModifier, + GetColumnSplitModifier, + GetCommonMethodModifier, + GetCommonShapeMethodModifier, + GetComponentRootModifier, + GetContainerSpanModifier, + GetCounterModifier, + GetCustomBuilderRootModifier, + GetCustomLayoutRootModifier, + GetDataPanelModifier, + GetDatePickerModifier, + GetDividerModifier, + GetEffectComponentModifier, + GetEllipseModifier, + GetEmbeddedComponentModifier, + GetFlexModifier, + GetFlowItemModifier, + GetFolderStackModifier, + GetFormComponentModifier, + GetFormLinkModifier, + GetGaugeModifier, + GetGridModifier, + GetGridColModifier, + GetGridItemModifier, + GetGridRowModifier, + GetHyperlinkModifier, + GetImageModifier, + GetImageAnimatorModifier, + GetImageSpanModifier, + GetIndicatorComponentModifier, + GetLineModifier, + GetLinearIndicatorModifier, + GetListModifier, + GetListItemModifier, + GetListItemGroupModifier, + GetLoadingProgressModifier, + GetMarqueeModifier, + GetMediaCachedImageModifier, + GetMenuModifier, + GetMenuItemModifier, + GetMenuItemGroupModifier, + GetNavDestinationModifier, + GetNavigationModifier, + GetNodeContainerModifier, + GetPathModifier, + GetPatternLockModifier, + GetPluginComponentModifier, + GetPolygonModifier, + GetPolylineModifier, + GetProgressModifier, + GetQRCodeModifier, + GetRadioModifier, + GetRatingModifier, + GetRectModifier, + GetRefreshModifier, + GetRelativeContainerModifier, + GetRemoteWindowModifier, + GetRichEditorModifier, + GetRichTextModifier, + GetRootModifier, + GetRootSceneModifier, + GetRowModifier, + GetRowSplitModifier, + GetScreenModifier, + GetScrollModifier, + GetScrollableCommonMethodModifier, + GetScrollBarModifier, + GetSearchModifier, + GetSelectModifier, + GetShapeModifier, + GetSideBarContainerModifier, + GetSliderModifier, + GetSpanModifier, + GetStackModifier, + GetStepperModifier, + GetStepperItemModifier, + GetSwiperModifier, + GetSymbolGlyphModifier, + GetSymbolSpanModifier, + GetTabContentModifier, + GetTabsModifier, + GetTextModifier, + GetTextAreaModifier, + GetTextClockModifier, + GetTextInputModifier, + GetTextPickerModifier, + GetTextTimerModifier, + GetTimePickerModifier, + GetToggleModifier, + GetToolBarItemModifier, + GetUIExtensionComponentModifier, + GetVideoModifier, + GetWaterFlowModifier, + GetWebModifier, + GetWindowSceneModifier, + GetWithThemeModifier, + GetXComponentModifier, + }; + return &modifiersImpl; + } + namespace AccessibilityHoverEventAccessor { + void DestroyPeerImpl(Ark_AccessibilityHoverEvent peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_AccessibilityHoverEvent ConstructImpl() + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(100); + } + string out("new AccessibilityHoverEvent("); + out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(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_AccessibilityHoverType GetTypeImpl(Ark_AccessibilityHoverEvent peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getType("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetTypeImpl(Ark_AccessibilityHoverEvent peer, + Ark_AccessibilityHoverType type) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setType("); + WriteToString(&out, type); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetXImpl(Ark_AccessibilityHoverEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getX("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetXImpl(Ark_AccessibilityHoverEvent peer, + const Ark_Number* x) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setX("); + WriteToString(&out, x); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetYImpl(Ark_AccessibilityHoverEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getY("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetYImpl(Ark_AccessibilityHoverEvent peer, + const Ark_Number* y) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setY("); + WriteToString(&out, y); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetDisplayXImpl(Ark_AccessibilityHoverEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getDisplayX("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetDisplayXImpl(Ark_AccessibilityHoverEvent peer, + const Ark_Number* displayX) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setDisplayX("); + WriteToString(&out, displayX); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetDisplayYImpl(Ark_AccessibilityHoverEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getDisplayY("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetDisplayYImpl(Ark_AccessibilityHoverEvent peer, + const Ark_Number* displayY) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setDisplayY("); + WriteToString(&out, displayY); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetWindowXImpl(Ark_AccessibilityHoverEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getWindowX("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetWindowXImpl(Ark_AccessibilityHoverEvent peer, + const Ark_Number* windowX) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setWindowX("); + WriteToString(&out, windowX); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetWindowYImpl(Ark_AccessibilityHoverEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getWindowY("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetWindowYImpl(Ark_AccessibilityHoverEvent peer, + const Ark_Number* windowY) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setWindowY("); + WriteToString(&out, windowY); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // AccessibilityHoverEventAccessor + namespace AnimationExtenderAccessor { + void SetClipRectImpl(Ark_NativePointer node, + Ark_Float32 x, + Ark_Float32 y, + Ark_Float32 width, + Ark_Float32 height) + { + if (!needGroupedLog(1)) + { + return; + } + string out("SetClipRect("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); + out.append(", "); + WriteToString(&out, width); + out.append(", "); + WriteToString(&out, height); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OpenImplicitAnimationImpl(const Ark_AnimateParam* param) + { + if (!needGroupedLog(1)) + { + return; + } + string out("OpenImplicitAnimation("); + WriteToString(&out, param); + out.append(") \n"); + appendGroupedLog(1, out); + } + void CloseImplicitAnimationImpl() + { + if (!needGroupedLog(1)) + { + return; + } + string out("CloseImplicitAnimation("); + out.append(") \n"); + appendGroupedLog(1, out); + } + void StartDoubleAnimationImpl(Ark_NativePointer node, + const Ark_DoubleAnimationParam* param) + { + if (!needGroupedLog(1)) + { + return; + } + string out("StartDoubleAnimation("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, param); + out.append(") \n"); + appendGroupedLog(1, out); + } + void AnimationTranslateImpl(Ark_NativePointer node, + const Ark_TranslateOptions* options) + { + if (!needGroupedLog(1)) + { + return; + } + string out("AnimationTranslate("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // AnimationExtenderAccessor + namespace AppearSymbolEffectAccessor { + void DestroyPeerImpl(Ark_AppearSymbolEffect peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_AppearSymbolEffect ConstructImpl(const Opt_EffectScope* scope) + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(100); + } + string out("new AppearSymbolEffect("); + WriteToString(&out, scope); + out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(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); + } + Opt_EffectScope GetScopeImpl(Ark_AppearSymbolEffect peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getScope("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetScopeImpl(Ark_AppearSymbolEffect peer, + const Opt_EffectScope* scope) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setScope("); + WriteToString(&out, scope); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // AppearSymbolEffectAccessor + namespace AxisEventAccessor { + void DestroyPeerImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_AxisEvent ConstructImpl() + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(100); + } + string out("new AxisEvent("); + out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(100); + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + { + return fnPtr(dummyClassFinalizer); + } + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + Ark_Number GetHorizontalAxisValueImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getHorizontalAxisValue("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + Ark_Number GetVerticalAxisValueImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getVerticalAxisValue("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + Ark_AxisAction GetActionImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getAction("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetActionImpl(Ark_AxisEvent peer, + Ark_AxisAction action) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setAction("); + WriteToString(&out, action); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetDisplayXImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getDisplayX("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetDisplayXImpl(Ark_AxisEvent peer, + const Ark_Number* displayX) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setDisplayX("); + WriteToString(&out, displayX); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetDisplayYImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getDisplayY("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetDisplayYImpl(Ark_AxisEvent peer, + const Ark_Number* displayY) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setDisplayY("); + WriteToString(&out, displayY); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetWindowXImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getWindowX("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetWindowXImpl(Ark_AxisEvent peer, + const Ark_Number* windowX) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setWindowX("); + WriteToString(&out, windowX); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetWindowYImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getWindowY("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetWindowYImpl(Ark_AxisEvent peer, + const Ark_Number* windowY) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setWindowY("); + WriteToString(&out, windowY); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetXImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getX("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetXImpl(Ark_AxisEvent peer, + const Ark_Number* x) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setX("); + WriteToString(&out, x); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetYImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getY("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetYImpl(Ark_AxisEvent peer, + const Ark_Number* y) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setY("); + WriteToString(&out, y); + out.append(") \n"); + appendGroupedLog(1, out); + } + Opt_Number GetScrollStepImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getScrollStep("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetScrollStepImpl(Ark_AxisEvent peer, + const Opt_Number* scrollStep) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setScrollStep("); + WriteToString(&out, scrollStep); + out.append(") \n"); + appendGroupedLog(1, out); + } + Callback_Void GetPropagationImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getPropagation("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetPropagationImpl(Ark_AxisEvent peer, + const Callback_Void* propagation) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setPropagation("); + WriteToString(&out, propagation); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // AxisEventAccessor + namespace BackgroundColorStyleAccessor { + void DestroyPeerImpl(Ark_BackgroundColorStyle peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_BackgroundColorStyle ConstructImpl(const Ark_TextBackgroundStyle* textBackgroundStyle) + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(100); + } + string out("new BackgroundColorStyle("); + WriteToString(&out, textBackgroundStyle); + out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(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_TextBackgroundStyle GetTextBackgroundStyleImpl(Ark_BackgroundColorStyle peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getTextBackgroundStyle("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + } // BackgroundColorStyleAccessor + namespace BaseContextAccessor { + void DestroyPeerImpl(Ark_BaseContext peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_BaseContext ConstructImpl() + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(100); + } + string out("new BaseContext("); + out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(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); + } + } // BaseContextAccessor + namespace BaseEventAccessor { + void DestroyPeerImpl(Ark_BaseEvent peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_BaseEvent ConstructImpl() + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(100); + } + string out("new BaseEvent("); + out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(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_EventTarget GetTargetImpl(Ark_BaseEvent peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getTarget("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetTargetImpl(Ark_BaseEvent peer, + const Ark_EventTarget* target) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setTarget("); + WriteToString(&out, target); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetTimestampImpl(Ark_BaseEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getTimestamp("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetTimestampImpl(Ark_BaseEvent peer, + const Ark_Number* timestamp) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setTimestamp("); + WriteToString(&out, timestamp); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_SourceType GetSourceImpl(Ark_BaseEvent peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getSource("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetSourceImpl(Ark_BaseEvent peer, + Ark_SourceType source) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setSource("); + WriteToString(&out, source); + out.append(") \n"); + appendGroupedLog(1, out); + } + Opt_Number GetAxisHorizontalImpl(Ark_BaseEvent peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getAxisHorizontal("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetAxisHorizontalImpl(Ark_BaseEvent peer, + const Opt_Number* axisHorizontal) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setAxisHorizontal("); + WriteToString(&out, axisHorizontal); + out.append(") \n"); + appendGroupedLog(1, out); + } + Opt_Number GetAxisVerticalImpl(Ark_BaseEvent peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getAxisVertical("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetAxisVerticalImpl(Ark_BaseEvent peer, + const Opt_Number* axisVertical) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setAxisVertical("); + WriteToString(&out, axisVertical); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetPressureImpl(Ark_BaseEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getPressure("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetPressureImpl(Ark_BaseEvent peer, + const Ark_Number* pressure) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setPressure("); + WriteToString(&out, pressure); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetTiltXImpl(Ark_BaseEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getTiltX("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetTiltXImpl(Ark_BaseEvent peer, + const Ark_Number* tiltX) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setTiltX("); + WriteToString(&out, tiltX); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetTiltYImpl(Ark_BaseEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getTiltY("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetTiltYImpl(Ark_BaseEvent peer, + const Ark_Number* tiltY) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setTiltY("); + WriteToString(&out, tiltY); + out.append(") \n"); + appendGroupedLog(1, out); + } + Opt_Number GetRollAngleImpl(Ark_BaseEvent peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getRollAngle("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetRollAngleImpl(Ark_BaseEvent peer, + const Opt_Number* rollAngle) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setRollAngle("); + WriteToString(&out, rollAngle); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_SourceTool GetSourceToolImpl(Ark_BaseEvent peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getSourceTool("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetSourceToolImpl(Ark_BaseEvent peer, + Ark_SourceTool sourceTool) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setSourceTool("); + WriteToString(&out, sourceTool); + out.append(") \n"); + appendGroupedLog(1, out); + } + Opt_ModifierKeyStateGetter GetGetModifierKeyStateImpl(Ark_BaseEvent peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getGetModifierKeyState("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetGetModifierKeyStateImpl(Ark_BaseEvent peer, + const Opt_ModifierKeyStateGetter* getModifierKeyState) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setGetModifierKeyState("); + WriteToString(&out, getModifierKeyState); + out.append(") \n"); + appendGroupedLog(1, out); + } + Opt_Number GetDeviceIdImpl(Ark_BaseEvent peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getDeviceId("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetDeviceIdImpl(Ark_BaseEvent peer, + const Opt_Number* deviceId) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setDeviceId("); + WriteToString(&out, deviceId); + out.append(") \n"); + appendGroupedLog(1, out); + } + Opt_Number GetTargetDisplayIdImpl(Ark_BaseEvent peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getTargetDisplayId("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetTargetDisplayIdImpl(Ark_BaseEvent peer, + const Opt_Number* targetDisplayId) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setTargetDisplayId("); + WriteToString(&out, targetDisplayId); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // BaseEventAccessor + namespace BaseGestureEventAccessor { + void DestroyPeerImpl(Ark_BaseGestureEvent peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_BaseGestureEvent ConstructImpl() + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(100); + } + string out("new BaseGestureEvent("); + out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(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); + } + Array_FingerInfo GetFingerListImpl(Ark_BaseGestureEvent peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getFingerList("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetFingerListImpl(Ark_BaseGestureEvent peer, + const Array_FingerInfo* fingerList) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setFingerList("); + WriteToString(&out, fingerList); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // BaseGestureEventAccessor + namespace BaselineOffsetStyleAccessor { + void DestroyPeerImpl(Ark_BaselineOffsetStyle peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_BaselineOffsetStyle ConstructImpl(Ark_LengthMetrics value) + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(100); + } + string out("new BaselineOffsetStyle("); + WriteToString(&out, value); + out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(100); + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + { + return fnPtr(dummyClassFinalizer); + } + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + Ark_Number GetBaselineOffsetImpl(Ark_BaselineOffsetStyle peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getBaselineOffset("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + } // BaselineOffsetStyleAccessor + namespace BaseShapeAccessor { + void DestroyPeerImpl(Ark_BaseShape peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_BaseShape ConstructImpl() + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(100); + } + string out("new BaseShape("); + out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(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_BaseShape WidthImpl(Ark_BaseShape peer, + const Ark_Length* width) + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(300); + } + string out("width("); + WriteToString(&out, width); + out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(300); + } + Ark_BaseShape HeightImpl(Ark_BaseShape peer, + const Ark_Length* height) + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(300); + } + string out("height("); + WriteToString(&out, height); + out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(300); + } + Ark_BaseShape SizeImpl(Ark_BaseShape peer, + const Ark_SizeOptions* size) + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(300); + } + string out("size("); + WriteToString(&out, size); + out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(300); + } + } // BaseShapeAccessor + namespace BounceSymbolEffectAccessor { + void DestroyPeerImpl(Ark_BounceSymbolEffect peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_BounceSymbolEffect ConstructImpl(const Opt_EffectScope* scope, + const Opt_EffectDirection* direction) + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(100); + } + string out("new BounceSymbolEffect("); + WriteToString(&out, scope); + out.append(", "); + WriteToString(&out, direction); + out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(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); + } + Opt_EffectScope GetScopeImpl(Ark_BounceSymbolEffect peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getScope("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetScopeImpl(Ark_BounceSymbolEffect peer, + const Opt_EffectScope* scope) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setScope("); + WriteToString(&out, scope); + out.append(") \n"); + appendGroupedLog(1, out); + } + Opt_EffectDirection GetDirectionImpl(Ark_BounceSymbolEffect peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getDirection("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetDirectionImpl(Ark_BounceSymbolEffect peer, + const Opt_EffectDirection* direction) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setDirection("); + WriteToString(&out, direction); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // BounceSymbolEffectAccessor + namespace BuilderNodeOpsAccessor { + void DestroyPeerImpl(Ark_BuilderNodeOps peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_BuilderNodeOps ConstructImpl() + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(100); + } + string out("new BuilderNodeOps("); + out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(100); + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + { + return fnPtr(dummyClassFinalizer); + } + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + void CreateImpl(Ark_BuilderNodeOps peer, + const Callback_Void* buildFunc) + { + if (!needGroupedLog(1)) + { + return; + } + string out("create("); + WriteToString(&out, buildFunc); + out.append(") \n"); + appendGroupedLog(1, out); + } + void DisposeNodeImpl(Ark_BuilderNodeOps peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("disposeNode("); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetUpdateConfigurationCallbackImpl(Ark_BuilderNodeOps peer, + const Callback_Void* configurationUpdateFunc) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setUpdateConfigurationCallback("); + WriteToString(&out, configurationUpdateFunc); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOptionsImpl(Ark_BuilderNodeOps peer, + const Ark_BuilderNodeOptions* options) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setOptions("); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Boolean PostTouchEventImpl(Ark_BuilderNodeOps peer, + Ark_TouchEvent event) + { + if (!needGroupedLog(1)) + { + return 0; + } + string out("postTouchEvent("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer SetRootFrameNodeInBuilderNodeImpl(Ark_BuilderNodeOps peer, + Ark_NativePointer node) + { + if (!needGroupedLog(1)) + { + return nullptr; + } + string out("setRootFrameNodeInBuilderNode("); + WriteToString(&out, node); + out.append(") \n"); + out.append("[return nullptr] \n"); + appendGroupedLog(1, out); + return nullptr; + } + } // BuilderNodeOpsAccessor + namespace CalendarPickerDialogAccessor { + void DestroyPeerImpl(Ark_CalendarPickerDialog peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_CalendarPickerDialog ConstructImpl() + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(100); + } + string out("new CalendarPickerDialog("); + out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(100); + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + { + return fnPtr(dummyClassFinalizer); + } + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + void ShowImpl(const Opt_CalendarDialogOptions* options) + { + if (!needGroupedLog(1)) + { + return; + } + string out("show("); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // CalendarPickerDialogAccessor + namespace CanvasGradientAccessor { + void DestroyPeerImpl(Ark_CanvasGradient peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_CanvasGradient ConstructImpl() + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(100); + } + string out("new CanvasGradient("); + out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(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 AddColorStopImpl(Ark_CanvasGradient peer, + const Ark_Number* offset, + const Ark_String* color) + { + if (!needGroupedLog(1)) + { + return; + } + string out("addColorStop("); + WriteToString(&out, offset); + out.append(", "); + WriteToString(&out, color); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // CanvasGradientAccessor + namespace CanvasPathAccessor { + void DestroyPeerImpl(Ark_CanvasPath peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_CanvasPath ConstructImpl() + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(100); + } + string out("new CanvasPath("); + out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(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 ArcImpl(Ark_CanvasPath peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* radius, + const Ark_Number* startAngle, + const Ark_Number* endAngle, + const Opt_Boolean* counterclockwise) + { + if (!needGroupedLog(1)) + { + return; + } + string out("arc("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); + out.append(", "); + WriteToString(&out, radius); + out.append(", "); + WriteToString(&out, startAngle); + out.append(", "); + WriteToString(&out, endAngle); + out.append(", "); + WriteToString(&out, counterclockwise); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ArcToImpl(Ark_CanvasPath peer, + const Ark_Number* x1, + const Ark_Number* y1, + const Ark_Number* x2, + const Ark_Number* y2, + const Ark_Number* radius) + { + if (!needGroupedLog(1)) + { + return; + } + string out("arcTo("); + WriteToString(&out, x1); + out.append(", "); + WriteToString(&out, y1); + out.append(", "); + WriteToString(&out, x2); + out.append(", "); + WriteToString(&out, y2); + out.append(", "); + WriteToString(&out, radius); + out.append(") \n"); + appendGroupedLog(1, out); + } + void BezierCurveToImpl(Ark_CanvasPath peer, + const Ark_Number* cp1x, + const Ark_Number* cp1y, + const Ark_Number* cp2x, + const Ark_Number* cp2y, + const Ark_Number* x, + const Ark_Number* y) + { + if (!needGroupedLog(1)) + { + return; + } + string out("bezierCurveTo("); + WriteToString(&out, cp1x); + out.append(", "); + WriteToString(&out, cp1y); + out.append(", "); + WriteToString(&out, cp2x); + out.append(", "); + WriteToString(&out, cp2y); + out.append(", "); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ClosePathImpl(Ark_CanvasPath peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("closePath("); + out.append(") \n"); + appendGroupedLog(1, out); + } + void EllipseImpl(Ark_CanvasPath peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* radiusX, + const Ark_Number* radiusY, + const Ark_Number* rotation, + const Ark_Number* startAngle, + const Ark_Number* endAngle, + const Opt_Boolean* counterclockwise) + { + if (!needGroupedLog(1)) + { + return; + } + string out("ellipse("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); + out.append(", "); + WriteToString(&out, radiusX); + out.append(", "); + WriteToString(&out, radiusY); + out.append(", "); + WriteToString(&out, rotation); + out.append(", "); + WriteToString(&out, startAngle); + out.append(", "); + WriteToString(&out, endAngle); + out.append(", "); + WriteToString(&out, counterclockwise); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIWindowSceneModifier* GetWindowSceneModifier() + void LineToImpl(Ark_CanvasPath peer, + const Ark_Number* x, + const Ark_Number* y) { - static const GENERATED_ArkUIWindowSceneModifier ArkUIWindowSceneModifierImpl { - WindowSceneModifier::ConstructImpl, - WindowSceneInterfaceModifier::SetWindowSceneOptionsImpl, - WindowSceneAttributeModifier::SetAttractionEffectImpl, - }; - return &ArkUIWindowSceneModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("lineTo("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIWithThemeModifier* GetWithThemeModifier() + void MoveToImpl(Ark_CanvasPath peer, + const Ark_Number* x, + const Ark_Number* y) { - static const GENERATED_ArkUIWithThemeModifier ArkUIWithThemeModifierImpl { - WithThemeModifier::ConstructImpl, - WithThemeInterfaceModifier::SetWithThemeOptionsImpl, - }; - return &ArkUIWithThemeModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("moveTo("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUIXComponentModifier* GetXComponentModifier() + void QuadraticCurveToImpl(Ark_CanvasPath peer, + const Ark_Number* cpx, + const Ark_Number* cpy, + const Ark_Number* x, + const Ark_Number* y) { - static const GENERATED_ArkUIXComponentModifier ArkUIXComponentModifierImpl { - XComponentModifier::ConstructImpl, - XComponentInterfaceModifier::SetXComponentOptions0Impl, - XComponentInterfaceModifier::SetXComponentOptions1Impl, - XComponentInterfaceModifier::SetXComponentOptions2Impl, - XComponentAttributeModifier::SetOnLoadImpl, - XComponentAttributeModifier::SetOnDestroyImpl, - XComponentAttributeModifier::SetEnableAnalyzerImpl, - XComponentAttributeModifier::SetEnableSecureImpl, - XComponentAttributeModifier::SetHdrBrightnessImpl, - XComponentAttributeModifier::SetEnableTransparentLayerImpl, - }; - return &ArkUIXComponentModifierImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("quadraticCurveTo("); + WriteToString(&out, cpx); + out.append(", "); + WriteToString(&out, cpy); + out.append(", "); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); + out.append(") \n"); + appendGroupedLog(1, out); } - - const GENERATED_ArkUINodeModifiers* GENERATED_GetArkUINodeModifiers() + void RectImpl(Ark_CanvasPath peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* w, + const Ark_Number* h) { - static const GENERATED_ArkUINodeModifiers modifiersImpl = { - GetAlphabetIndexerModifier, - GetAnimatorModifier, - GetBadgeModifier, - GetBaseSpanModifier, - GetBlankModifier, - GetButtonModifier, - GetCalendarPickerModifier, - GetCanvasModifier, - GetCheckboxModifier, - GetCheckboxGroupModifier, - GetCircleModifier, - GetColumnModifier, - GetColumnSplitModifier, - GetCommonMethodModifier, - GetCommonShapeMethodModifier, - GetComponentRootModifier, - GetContainerSpanModifier, - GetCounterModifier, - GetCustomBuilderRootModifier, - GetCustomLayoutRootModifier, - GetDataPanelModifier, - GetDatePickerModifier, - GetDividerModifier, - GetEffectComponentModifier, - GetEllipseModifier, - GetEmbeddedComponentModifier, - GetFlexModifier, - GetFlowItemModifier, - GetFolderStackModifier, - GetFormComponentModifier, - GetFormLinkModifier, - GetGaugeModifier, - GetGridModifier, - GetGridColModifier, - GetGridItemModifier, - GetGridRowModifier, - GetHyperlinkModifier, - GetImageModifier, - GetImageAnimatorModifier, - GetImageSpanModifier, - GetIndicatorComponentModifier, - GetLineModifier, - GetLinearIndicatorModifier, - GetListModifier, - GetListItemModifier, - GetListItemGroupModifier, - GetLoadingProgressModifier, - GetMarqueeModifier, - GetMediaCachedImageModifier, - GetMenuModifier, - GetMenuItemModifier, - GetMenuItemGroupModifier, - GetNavDestinationModifier, - GetNavigationModifier, - GetNodeContainerModifier, - GetPathModifier, - GetPatternLockModifier, - GetPluginComponentModifier, - GetPolygonModifier, - GetPolylineModifier, - GetProgressModifier, - GetQRCodeModifier, - GetRadioModifier, - GetRatingModifier, - GetRectModifier, - GetRefreshModifier, - GetRelativeContainerModifier, - GetRemoteWindowModifier, - GetRichEditorModifier, - GetRichTextModifier, - GetRootModifier, - GetRootSceneModifier, - GetRowModifier, - GetRowSplitModifier, - GetScreenModifier, - GetScrollModifier, - GetScrollableCommonMethodModifier, - GetScrollBarModifier, - GetSearchModifier, - GetSelectModifier, - GetShapeModifier, - GetSideBarContainerModifier, - GetSliderModifier, - GetSpanModifier, - GetStackModifier, - GetStepperModifier, - GetStepperItemModifier, - GetSwiperModifier, - GetSymbolGlyphModifier, - GetSymbolSpanModifier, - GetTabContentModifier, - GetTabsModifier, - GetTextModifier, - GetTextAreaModifier, - GetTextClockModifier, - GetTextInputModifier, - GetTextPickerModifier, - GetTextTimerModifier, - GetTimePickerModifier, - GetToggleModifier, - GetUIExtensionComponentModifier, - GetVideoModifier, - GetWaterFlowModifier, - GetWindowSceneModifier, - GetWithThemeModifier, - GetXComponentModifier, - }; - return &modifiersImpl; + if (!needGroupedLog(1)) + { + return; + } + string out("rect("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); + out.append(", "); + WriteToString(&out, w); + out.append(", "); + WriteToString(&out, h); + out.append(") \n"); + appendGroupedLog(1, out); } - namespace AccessibilityHoverEventAccessor { - void DestroyPeerImpl(Ark_AccessibilityHoverEvent peer) + } // CanvasPathAccessor + namespace CanvasPatternAccessor { + void DestroyPeerImpl(Ark_CanvasPattern peer) { if (!needGroupedLog(1)) { @@ -20934,17 +24318,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_AccessibilityHoverEvent ConstructImpl() + Ark_CanvasPattern ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new AccessibilityHoverEvent("); + string out("new CanvasPattern("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -20958,1081 +24342,1276 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_AccessibilityHoverType GetTypeImpl(Ark_AccessibilityHoverEvent peer) + void SetTransformImpl(Ark_CanvasPattern peer, + const Opt_Matrix2D* transform) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getType("); + string out("setTransform("); + WriteToString(&out, transform); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetTypeImpl(Ark_AccessibilityHoverEvent peer, - Ark_AccessibilityHoverType type) + } // CanvasPatternAccessor + namespace CanvasRendererAccessor { + void DestroyPeerImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { return; } - string out("setType("); - WriteToString(&out, type); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetXImpl(Ark_AccessibilityHoverEvent peer) + Ark_CanvasRenderer ConstructImpl() { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(100); } - string out("getX("); + string out("new CanvasRenderer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(100); } - void SetXImpl(Ark_AccessibilityHoverEvent peer, - const Ark_Number* x) + 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 DrawImage0Impl(Ark_CanvasRenderer peer, + const Ark_Union_ImageBitmap_PixelMap* image, + const Ark_Number* dx, + const Ark_Number* dy) { if (!needGroupedLog(1)) { return; } - string out("setX("); - WriteToString(&out, x); + string out("drawImage0("); + WriteToString(&out, image); + out.append(", "); + WriteToString(&out, dx); + out.append(", "); + WriteToString(&out, dy); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetYImpl(Ark_AccessibilityHoverEvent peer) + void DrawImage1Impl(Ark_CanvasRenderer peer, + const Ark_Union_ImageBitmap_PixelMap* image, + const Ark_Number* dx, + const Ark_Number* dy, + const Ark_Number* dw, + const Ark_Number* dh) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getY("); + string out("drawImage1("); + WriteToString(&out, image); + out.append(", "); + WriteToString(&out, dx); + out.append(", "); + WriteToString(&out, dy); + out.append(", "); + WriteToString(&out, dw); + out.append(", "); + WriteToString(&out, dh); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetYImpl(Ark_AccessibilityHoverEvent peer, - const Ark_Number* y) + void DrawImage2Impl(Ark_CanvasRenderer peer, + const Ark_Union_ImageBitmap_PixelMap* image, + const Ark_Number* sx, + const Ark_Number* sy, + const Ark_Number* sw, + const Ark_Number* sh, + const Ark_Number* dx, + const Ark_Number* dy, + const Ark_Number* dw, + const Ark_Number* dh) { if (!needGroupedLog(1)) { return; } - string out("setY("); - WriteToString(&out, y); + string out("drawImage2("); + WriteToString(&out, image); + out.append(", "); + WriteToString(&out, sx); + out.append(", "); + WriteToString(&out, sy); + out.append(", "); + WriteToString(&out, sw); + out.append(", "); + WriteToString(&out, sh); + out.append(", "); + WriteToString(&out, dx); + out.append(", "); + WriteToString(&out, dy); + out.append(", "); + WriteToString(&out, dw); + out.append(", "); + WriteToString(&out, dh); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetDisplayXImpl(Ark_AccessibilityHoverEvent peer) + void BeginPathImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getDisplayX("); + string out("beginPath("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetDisplayXImpl(Ark_AccessibilityHoverEvent peer, - const Ark_Number* displayX) + void Clip0Impl(Ark_CanvasRenderer peer, + const Opt_String* fillRule) { if (!needGroupedLog(1)) { return; } - string out("setDisplayX("); - WriteToString(&out, displayX); + string out("clip0("); + WriteToString(&out, fillRule); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetDisplayYImpl(Ark_AccessibilityHoverEvent peer) + void Clip1Impl(Ark_CanvasRenderer peer, + Ark_Path2D path, + const Opt_String* fillRule) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getDisplayY("); + string out("clip1("); + WriteToString(&out, path); + out.append(", "); + WriteToString(&out, fillRule); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetDisplayYImpl(Ark_AccessibilityHoverEvent peer, - const Ark_Number* displayY) + void Fill0Impl(Ark_CanvasRenderer peer, + const Opt_String* fillRule) { if (!needGroupedLog(1)) { return; } - string out("setDisplayY("); - WriteToString(&out, displayY); + string out("fill0("); + WriteToString(&out, fillRule); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetWindowXImpl(Ark_AccessibilityHoverEvent peer) + void Fill1Impl(Ark_CanvasRenderer peer, + Ark_Path2D path, + const Opt_String* fillRule) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getWindowX("); + string out("fill1("); + WriteToString(&out, path); + out.append(", "); + WriteToString(&out, fillRule); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetWindowXImpl(Ark_AccessibilityHoverEvent peer, - const Ark_Number* windowX) + void StrokeImpl(Ark_CanvasRenderer peer, + const Opt_Path2D* path) { if (!needGroupedLog(1)) { return; } - string out("setWindowX("); - WriteToString(&out, windowX); + string out("stroke("); + WriteToString(&out, path); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetWindowYImpl(Ark_AccessibilityHoverEvent peer) + Ark_CanvasGradient CreateLinearGradientImpl(Ark_CanvasRenderer peer, + const Ark_Number* x0, + const Ark_Number* y0, + const Ark_Number* x1, + const Ark_Number* y1) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("getWindowY("); + string out("createLinearGradient("); + WriteToString(&out, x0); + out.append(", "); + WriteToString(&out, y0); + out.append(", "); + WriteToString(&out, x1); + out.append(", "); + WriteToString(&out, y1); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - void SetWindowYImpl(Ark_AccessibilityHoverEvent peer, - const Ark_Number* windowY) + Opt_CanvasPattern CreatePatternImpl(Ark_CanvasRenderer peer, + Ark_ImageBitmap image, + const Opt_String* repetition) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setWindowY("); - WriteToString(&out, windowY); + string out("createPattern("); + WriteToString(&out, image); + out.append(", "); + WriteToString(&out, repetition); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // AccessibilityHoverEventAccessor - namespace AnimationExtenderAccessor { - void SetClipRectImpl(Ark_NativePointer node, - Ark_Float32 x, - Ark_Float32 y, - Ark_Float32 width, - Ark_Float32 height) + Ark_CanvasGradient CreateRadialGradientImpl(Ark_CanvasRenderer peer, + const Ark_Number* x0, + const Ark_Number* y0, + const Ark_Number* r0, + const Ark_Number* x1, + const Ark_Number* y1, + const Ark_Number* r1) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("SetClipRect("); - WriteToString(&out, node); + string out("createRadialGradient("); + WriteToString(&out, x0); out.append(", "); - WriteToString(&out, x); + WriteToString(&out, y0); out.append(", "); - WriteToString(&out, y); + WriteToString(&out, r0); out.append(", "); - WriteToString(&out, width); + WriteToString(&out, x1); out.append(", "); - WriteToString(&out, height); + WriteToString(&out, y1); + out.append(", "); + WriteToString(&out, r1); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void OpenImplicitAnimationImpl(const Ark_AnimateParam* param) + Ark_CanvasGradient CreateConicGradientImpl(Ark_CanvasRenderer peer, + const Ark_Number* startAngle, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("OpenImplicitAnimation("); - WriteToString(&out, param); + string out("createConicGradient("); + WriteToString(&out, startAngle); + out.append(", "); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); + out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(300); + } + Ark_ImageData CreateImageData0Impl(Ark_CanvasRenderer peer, + const Ark_Number* sw, + const Ark_Number* sh) + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(300); + } + string out("createImageData0("); + WriteToString(&out, sw); + out.append(", "); + WriteToString(&out, sh); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void CloseImplicitAnimationImpl() + Ark_ImageData CreateImageData1Impl(Ark_CanvasRenderer peer, + Ark_ImageData imagedata) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("CloseImplicitAnimation("); + string out("createImageData1("); + WriteToString(&out, imagedata); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void StartDoubleAnimationImpl(Ark_NativePointer node, - const Ark_DoubleAnimationParam* param) + Ark_ImageData GetImageDataImpl(Ark_CanvasRenderer peer, + const Ark_Number* sx, + const Ark_Number* sy, + const Ark_Number* sw, + const Ark_Number* sh) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("StartDoubleAnimation("); - WriteToString(&out, node); + string out("getImageData("); + WriteToString(&out, sx); out.append(", "); - WriteToString(&out, param); + WriteToString(&out, sy); + out.append(", "); + WriteToString(&out, sw); + out.append(", "); + WriteToString(&out, sh); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void AnimationTranslateImpl(Ark_NativePointer node, - const Ark_TranslateOptions* options) + Ark_image_PixelMap GetPixelMapImpl(Ark_CanvasRenderer peer, + const Ark_Number* sx, + const Ark_Number* sy, + const Ark_Number* sw, + const Ark_Number* sh) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("AnimationTranslate("); - WriteToString(&out, node); + string out("getPixelMap("); + WriteToString(&out, sx); out.append(", "); - WriteToString(&out, options); + WriteToString(&out, sy); + out.append(", "); + WriteToString(&out, sw); + out.append(", "); + WriteToString(&out, sh); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - } // AnimationExtenderAccessor - namespace AppearSymbolEffectAccessor { - void DestroyPeerImpl(Ark_AppearSymbolEffect peer) + void PutImageData0Impl(Ark_CanvasRenderer peer, + Ark_ImageData imagedata, + const Ark_Union_Number_String* dx, + const Ark_Union_Number_String* dy) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("putImageData0("); + WriteToString(&out, imagedata); + out.append(", "); + WriteToString(&out, dx); + out.append(", "); + WriteToString(&out, dy); out.append(") \n"); appendGroupedLog(1, out); } - Ark_AppearSymbolEffect ConstructImpl(const Opt_EffectScope* scope) + void PutImageData1Impl(Ark_CanvasRenderer peer, + Ark_ImageData imagedata, + const Ark_Union_Number_String* dx, + const Ark_Union_Number_String* dy, + const Ark_Union_Number_String* dirtyX, + const Ark_Union_Number_String* dirtyY, + const Ark_Union_Number_String* dirtyWidth, + const Ark_Union_Number_String* dirtyHeight) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new AppearSymbolEffect("); - WriteToString(&out, scope); + string out("putImageData1("); + WriteToString(&out, imagedata); + out.append(", "); + WriteToString(&out, dx); + out.append(", "); + WriteToString(&out, dy); + out.append(", "); + WriteToString(&out, dirtyX); + out.append(", "); + WriteToString(&out, dirtyY); + out.append(", "); + WriteToString(&out, dirtyWidth); + out.append(", "); + WriteToString(&out, dirtyHeight); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + Array_Number GetLineDashImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getLineDash("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - Opt_EffectScope GetScopeImpl(Ark_AppearSymbolEffect peer) + void SetLineDashImpl(Ark_CanvasRenderer peer, + const Array_Number* segments) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getScope("); + string out("setLineDash("); + WriteToString(&out, segments); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetScopeImpl(Ark_AppearSymbolEffect peer, - const Opt_EffectScope* scope) + void ClearRectImpl(Ark_CanvasRenderer peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* w, + const Ark_Number* h) { if (!needGroupedLog(1)) { return; } - string out("setScope("); - WriteToString(&out, scope); + string out("clearRect("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); + out.append(", "); + WriteToString(&out, w); + out.append(", "); + WriteToString(&out, h); out.append(") \n"); appendGroupedLog(1, out); } - } // AppearSymbolEffectAccessor - namespace AxisEventAccessor { - void DestroyPeerImpl(Ark_AxisEvent peer) + void FillRectImpl(Ark_CanvasRenderer peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* w, + const Ark_Number* h) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("fillRect("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); + out.append(", "); + WriteToString(&out, w); + out.append(", "); + WriteToString(&out, h); out.append(") \n"); appendGroupedLog(1, out); } - Ark_AxisEvent ConstructImpl() + void StrokeRectImpl(Ark_CanvasRenderer peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* w, + const Ark_Number* h) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new AxisEvent("); + string out("strokeRect("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); + out.append(", "); + WriteToString(&out, w); + out.append(", "); + WriteToString(&out, h); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void RestoreImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("restore("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_Number GetHorizontalAxisValueImpl(Ark_AxisEvent peer) + void SaveImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getHorizontalAxisValue("); + string out("save("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Number GetVerticalAxisValueImpl(Ark_AxisEvent peer) + void FillTextImpl(Ark_CanvasRenderer peer, + const Ark_String* text, + const Ark_Number* x, + const Ark_Number* y, + const Opt_Number* maxWidth) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getVerticalAxisValue("); + string out("fillText("); + WriteToString(&out, text); + out.append(", "); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); + out.append(", "); + WriteToString(&out, maxWidth); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_AxisAction GetActionImpl(Ark_AxisEvent peer) + Ark_TextMetrics MeasureTextImpl(Ark_CanvasRenderer peer, + const Ark_String* text) { if (!needGroupedLog(1)) { return {}; } - string out("getAction("); + string out("measureText("); + WriteToString(&out, text); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetActionImpl(Ark_AxisEvent peer, - Ark_AxisAction action) + void StrokeTextImpl(Ark_CanvasRenderer peer, + const Ark_String* text, + const Ark_Number* x, + const Ark_Number* y, + const Opt_Number* maxWidth) { if (!needGroupedLog(1)) { return; } - string out("setAction("); - WriteToString(&out, action); + string out("strokeText("); + WriteToString(&out, text); + out.append(", "); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); + out.append(", "); + WriteToString(&out, maxWidth); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetDisplayXImpl(Ark_AxisEvent peer) + Ark_Matrix2D GetTransformImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("getDisplayX("); + string out("getTransform("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - void SetDisplayXImpl(Ark_AxisEvent peer, - const Ark_Number* displayX) + void ResetTransformImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { return; } - string out("setDisplayX("); - WriteToString(&out, displayX); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Number GetDisplayYImpl(Ark_AxisEvent peer) - { - if (!needGroupedLog(1)) - { - return {42}; - } - string out("getDisplayY("); + string out("resetTransform("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetDisplayYImpl(Ark_AxisEvent peer, - const Ark_Number* displayY) + void RotateImpl(Ark_CanvasRenderer peer, + const Ark_Number* angle) { if (!needGroupedLog(1)) { return; } - string out("setDisplayY("); - WriteToString(&out, displayY); + string out("rotate("); + WriteToString(&out, angle); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetWindowXImpl(Ark_AxisEvent peer) + void ScaleImpl(Ark_CanvasRenderer peer, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getWindowX("); + string out("scale("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetWindowXImpl(Ark_AxisEvent peer, - const Ark_Number* windowX) + void SetTransform0Impl(Ark_CanvasRenderer peer, + const Ark_Number* a, + const Ark_Number* b, + const Ark_Number* c, + const Ark_Number* d, + const Ark_Number* e, + const Ark_Number* f) { if (!needGroupedLog(1)) { return; } - string out("setWindowX("); - WriteToString(&out, windowX); + string out("setTransform0("); + WriteToString(&out, a); + out.append(", "); + WriteToString(&out, b); + out.append(", "); + WriteToString(&out, c); + out.append(", "); + WriteToString(&out, d); + out.append(", "); + WriteToString(&out, e); + out.append(", "); + WriteToString(&out, f); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetWindowYImpl(Ark_AxisEvent peer) + void SetTransform1Impl(Ark_CanvasRenderer peer, + const Opt_Matrix2D* transform) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getWindowY("); + string out("setTransform1("); + WriteToString(&out, transform); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetWindowYImpl(Ark_AxisEvent peer, - const Ark_Number* windowY) + void TransformImpl(Ark_CanvasRenderer peer, + const Ark_Number* a, + const Ark_Number* b, + const Ark_Number* c, + const Ark_Number* d, + const Ark_Number* e, + const Ark_Number* f) { if (!needGroupedLog(1)) { return; } - string out("setWindowY("); - WriteToString(&out, windowY); + string out("transform("); + WriteToString(&out, a); + out.append(", "); + WriteToString(&out, b); + out.append(", "); + WriteToString(&out, c); + out.append(", "); + WriteToString(&out, d); + out.append(", "); + WriteToString(&out, e); + out.append(", "); + WriteToString(&out, f); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetXImpl(Ark_AxisEvent peer) + void TranslateImpl(Ark_CanvasRenderer peer, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getX("); + string out("translate("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetXImpl(Ark_AxisEvent peer, - const Ark_Number* x) + void SetPixelMapImpl(Ark_CanvasRenderer peer, + const Opt_image_PixelMap* value) { if (!needGroupedLog(1)) { return; } - string out("setX("); - WriteToString(&out, x); + string out("setPixelMap("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetYImpl(Ark_AxisEvent peer) + void TransferFromImageBitmapImpl(Ark_CanvasRenderer peer, + Ark_ImageBitmap bitmap) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getY("); + string out("transferFromImageBitmap("); + WriteToString(&out, bitmap); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetYImpl(Ark_AxisEvent peer, - const Ark_Number* y) + void SaveLayerImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { return; } - string out("setY("); - WriteToString(&out, y); + string out("saveLayer("); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetScrollStepImpl(Ark_AxisEvent peer) + void RestoreLayerImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getScrollStep("); + string out("restoreLayer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetScrollStepImpl(Ark_AxisEvent peer, - const Opt_Number* scrollStep) + void ResetImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { return; } - string out("setScrollStep("); - WriteToString(&out, scrollStep); + string out("reset("); out.append(") \n"); appendGroupedLog(1, out); } - Callback_Void GetPropagationImpl(Ark_AxisEvent peer) + Ark_Union_LengthMetrics_String GetLetterSpacingImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { return {}; } - string out("getPropagation("); + string out("getLetterSpacing("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetPropagationImpl(Ark_AxisEvent peer, - const Callback_Void* propagation) + void SetLetterSpacingImpl(Ark_CanvasRenderer peer, + const Ark_Union_LengthMetrics_String* letterSpacing) { if (!needGroupedLog(1)) { return; } - string out("setPropagation("); - WriteToString(&out, propagation); + string out("setLetterSpacing("); + WriteToString(&out, letterSpacing); out.append(") \n"); appendGroupedLog(1, out); } - } // AxisEventAccessor - namespace BackgroundColorStyleAccessor { - void DestroyPeerImpl(Ark_BackgroundColorStyle peer) + Ark_Number GetGlobalAlphaImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("destroyPeer("); + string out("getGlobalAlpha("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_BackgroundColorStyle ConstructImpl(const Ark_TextBackgroundStyle* textBackgroundStyle) + void SetGlobalAlphaImpl(Ark_CanvasRenderer peer, + const Ark_Number* globalAlpha) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new BackgroundColorStyle("); - WriteToString(&out, textBackgroundStyle); + string out("setGlobalAlpha("); + WriteToString(&out, globalAlpha); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + Ark_String GetGlobalCompositeOperationImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getGlobalCompositeOperation("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - Ark_TextBackgroundStyle GetTextBackgroundStyleImpl(Ark_BackgroundColorStyle peer) + void SetGlobalCompositeOperationImpl(Ark_CanvasRenderer peer, + const Ark_String* globalCompositeOperation) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getTextBackgroundStyle("); + string out("setGlobalCompositeOperation("); + WriteToString(&out, globalCompositeOperation); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - } // BackgroundColorStyleAccessor - namespace BaseContextAccessor { - void DestroyPeerImpl(Ark_BaseContext peer) + Ark_Union_String_I32_CanvasGradient_CanvasPattern GetFillStyleImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("destroyPeer("); + string out("getFillStyle("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_BaseContext ConstructImpl() + void SetFillStyleImpl(Ark_CanvasRenderer peer, + const Ark_Union_String_I32_CanvasGradient_CanvasPattern* fillStyle) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new BaseContext("); + string out("setFillStyle("); + WriteToString(&out, fillStyle); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + Ark_Union_String_I32_CanvasGradient_CanvasPattern GetStrokeStyleImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getStrokeStyle("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - } // BaseContextAccessor - namespace BaseEventAccessor { - void DestroyPeerImpl(Ark_BaseEvent peer) + void SetStrokeStyleImpl(Ark_CanvasRenderer peer, + const Ark_Union_String_I32_CanvasGradient_CanvasPattern* strokeStyle) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setStrokeStyle("); + WriteToString(&out, strokeStyle); out.append(") \n"); appendGroupedLog(1, out); } - Ark_BaseEvent ConstructImpl() + Ark_String GetFilterImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new BaseEvent("); + string out("getFilter("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetFilterImpl(Ark_CanvasRenderer peer, + const Ark_String* filter) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setFilter("); + WriteToString(&out, filter); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_EventTarget GetTargetImpl(Ark_BaseEvent peer) + Ark_Boolean GetImageSmoothingEnabledImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { - return {}; + return 0; } - string out("getTarget("); + string out("getImageSmoothingEnabled("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {}; + return 0; } - void SetTargetImpl(Ark_BaseEvent peer, - const Ark_EventTarget* target) + void SetImageSmoothingEnabledImpl(Ark_CanvasRenderer peer, + Ark_Boolean imageSmoothingEnabled) { if (!needGroupedLog(1)) { return; } - string out("setTarget("); - WriteToString(&out, target); + string out("setImageSmoothingEnabled("); + WriteToString(&out, imageSmoothingEnabled); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetTimestampImpl(Ark_BaseEvent peer) + Ark_String GetImageSmoothingQualityImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getTimestamp("); + string out("getImageSmoothingQuality("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - void SetTimestampImpl(Ark_BaseEvent peer, - const Ark_Number* timestamp) + void SetImageSmoothingQualityImpl(Ark_CanvasRenderer peer, + const Ark_String* imageSmoothingQuality) { if (!needGroupedLog(1)) { return; } - string out("setTimestamp("); - WriteToString(&out, timestamp); + string out("setImageSmoothingQuality("); + WriteToString(&out, imageSmoothingQuality); out.append(") \n"); appendGroupedLog(1, out); } - Ark_SourceType GetSourceImpl(Ark_BaseEvent peer) + Ark_String GetLineCapImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { return {}; } - string out("getSource("); + string out("getLineCap("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetSourceImpl(Ark_BaseEvent peer, - Ark_SourceType source) + void SetLineCapImpl(Ark_CanvasRenderer peer, + const Ark_String* lineCap) { if (!needGroupedLog(1)) { return; } - string out("setSource("); - WriteToString(&out, source); + string out("setLineCap("); + WriteToString(&out, lineCap); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetAxisHorizontalImpl(Ark_BaseEvent peer) + Ark_Number GetLineDashOffsetImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getAxisHorizontal("); + string out("getLineDashOffset("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetAxisHorizontalImpl(Ark_BaseEvent peer, - const Opt_Number* axisHorizontal) + void SetLineDashOffsetImpl(Ark_CanvasRenderer peer, + const Ark_Number* lineDashOffset) { if (!needGroupedLog(1)) { return; } - string out("setAxisHorizontal("); - WriteToString(&out, axisHorizontal); + string out("setLineDashOffset("); + WriteToString(&out, lineDashOffset); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetAxisVerticalImpl(Ark_BaseEvent peer) + Ark_String GetLineJoinImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { return {}; } - string out("getAxisVertical("); + string out("getLineJoin("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetAxisVerticalImpl(Ark_BaseEvent peer, - const Opt_Number* axisVertical) + void SetLineJoinImpl(Ark_CanvasRenderer peer, + const Ark_String* lineJoin) { if (!needGroupedLog(1)) { return; } - string out("setAxisVertical("); - WriteToString(&out, axisVertical); + string out("setLineJoin("); + WriteToString(&out, lineJoin); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetPressureImpl(Ark_BaseEvent peer) + Ark_Number GetLineWidthImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { return {42}; } - string out("getPressure("); + string out("getLineWidth("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - void SetPressureImpl(Ark_BaseEvent peer, - const Ark_Number* pressure) + void SetLineWidthImpl(Ark_CanvasRenderer peer, + const Ark_Number* lineWidth) { if (!needGroupedLog(1)) { return; } - string out("setPressure("); - WriteToString(&out, pressure); + string out("setLineWidth("); + WriteToString(&out, lineWidth); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetTiltXImpl(Ark_BaseEvent peer) + Ark_Number GetMiterLimitImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { return {42}; } - string out("getTiltX("); + string out("getMiterLimit("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - void SetTiltXImpl(Ark_BaseEvent peer, - const Ark_Number* tiltX) + void SetMiterLimitImpl(Ark_CanvasRenderer peer, + const Ark_Number* miterLimit) { if (!needGroupedLog(1)) { return; } - string out("setTiltX("); - WriteToString(&out, tiltX); + string out("setMiterLimit("); + WriteToString(&out, miterLimit); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetTiltYImpl(Ark_BaseEvent peer) + Ark_Number GetShadowBlurImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { return {42}; } - string out("getTiltY("); + string out("getShadowBlur("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - void SetTiltYImpl(Ark_BaseEvent peer, - const Ark_Number* tiltY) + void SetShadowBlurImpl(Ark_CanvasRenderer peer, + const Ark_Number* shadowBlur) { if (!needGroupedLog(1)) { return; } - string out("setTiltY("); - WriteToString(&out, tiltY); + string out("setShadowBlur("); + WriteToString(&out, shadowBlur); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetRollAngleImpl(Ark_BaseEvent peer) + Ark_String GetShadowColorImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { return {}; } - string out("getRollAngle("); + string out("getShadowColor("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetRollAngleImpl(Ark_BaseEvent peer, - const Opt_Number* rollAngle) + void SetShadowColorImpl(Ark_CanvasRenderer peer, + const Ark_String* shadowColor) { if (!needGroupedLog(1)) { return; } - string out("setRollAngle("); - WriteToString(&out, rollAngle); + string out("setShadowColor("); + WriteToString(&out, shadowColor); out.append(") \n"); appendGroupedLog(1, out); } - Ark_SourceTool GetSourceToolImpl(Ark_BaseEvent peer) + Ark_Number GetShadowOffsetXImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getSourceTool("); + string out("getShadowOffsetX("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetSourceToolImpl(Ark_BaseEvent peer, - Ark_SourceTool sourceTool) + void SetShadowOffsetXImpl(Ark_CanvasRenderer peer, + const Ark_Number* shadowOffsetX) { if (!needGroupedLog(1)) { return; } - string out("setSourceTool("); - WriteToString(&out, sourceTool); + string out("setShadowOffsetX("); + WriteToString(&out, shadowOffsetX); out.append(") \n"); appendGroupedLog(1, out); } - Opt_ModifierKeyStateGetter GetGetModifierKeyStateImpl(Ark_BaseEvent peer) + Ark_Number GetShadowOffsetYImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getGetModifierKeyState("); + string out("getShadowOffsetY("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetGetModifierKeyStateImpl(Ark_BaseEvent peer, - const Opt_ModifierKeyStateGetter* getModifierKeyState) + void SetShadowOffsetYImpl(Ark_CanvasRenderer peer, + const Ark_Number* shadowOffsetY) { if (!needGroupedLog(1)) { return; } - string out("setGetModifierKeyState("); - WriteToString(&out, getModifierKeyState); + string out("setShadowOffsetY("); + WriteToString(&out, shadowOffsetY); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetDeviceIdImpl(Ark_BaseEvent peer) + Ark_String GetDirectionImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { return {}; } - string out("getDeviceId("); + string out("getDirection("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetDeviceIdImpl(Ark_BaseEvent peer, - const Opt_Number* deviceId) + void SetDirectionImpl(Ark_CanvasRenderer peer, + const Ark_String* direction) { if (!needGroupedLog(1)) { return; } - string out("setDeviceId("); - WriteToString(&out, deviceId); + string out("setDirection("); + WriteToString(&out, direction); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetTargetDisplayIdImpl(Ark_BaseEvent peer) + Ark_String GetFontImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { return {}; } - string out("getTargetDisplayId("); + string out("getFont("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetTargetDisplayIdImpl(Ark_BaseEvent peer, - const Opt_Number* targetDisplayId) - { - if (!needGroupedLog(1)) - { - return; - } - string out("setTargetDisplayId("); - WriteToString(&out, targetDisplayId); - out.append(") \n"); - appendGroupedLog(1, out); - } - } // BaseEventAccessor - namespace BaseGestureEventAccessor { - void DestroyPeerImpl(Ark_BaseGestureEvent peer) + void SetFontImpl(Ark_CanvasRenderer peer, + const Ark_String* font) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setFont("); + WriteToString(&out, font); out.append(") \n"); appendGroupedLog(1, out); } - Ark_BaseGestureEvent ConstructImpl() + Ark_String GetTextAlignImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new BaseGestureEvent("); + string out("getTextAlign("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetTextAlignImpl(Ark_CanvasRenderer peer, + const Ark_String* textAlign) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setTextAlign("); + WriteToString(&out, textAlign); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Array_FingerInfo GetFingerListImpl(Ark_BaseGestureEvent peer) + Ark_String GetTextBaselineImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) { return {}; } - string out("getFingerList("); + string out("getTextBaseline("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetFingerListImpl(Ark_BaseGestureEvent peer, - const Array_FingerInfo* fingerList) + void SetTextBaselineImpl(Ark_CanvasRenderer peer, + const Ark_String* textBaseline) { if (!needGroupedLog(1)) { return; } - string out("setFingerList("); - WriteToString(&out, fingerList); + string out("setTextBaseline("); + WriteToString(&out, textBaseline); out.append(") \n"); appendGroupedLog(1, out); } - } // BaseGestureEventAccessor - namespace BaselineOffsetStyleAccessor { - void DestroyPeerImpl(Ark_BaselineOffsetStyle peer) + } // CanvasRendererAccessor + namespace CanvasRenderingContext2DAccessor { + void DestroyPeerImpl(Ark_CanvasRenderingContext2D peer) { if (!needGroupedLog(1)) { @@ -22042,18 +25621,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_BaselineOffsetStyle ConstructImpl(Ark_LengthMetrics value) + Ark_CanvasRenderingContext2D ConstructImpl(const Opt_RenderingContextSettings* settings, + const Opt_LengthMetricsUnit* unit) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new BaselineOffsetStyle("); - WriteToString(&out, value); + string out("new CanvasRenderingContext2D("); + WriteToString(&out, settings); + out.append(", "); + WriteToString(&out, unit); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -22067,187 +25649,175 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Number GetBaselineOffsetImpl(Ark_BaselineOffsetStyle peer) + Ark_String ToDataURLImpl(Ark_CanvasRenderingContext2D peer, + const Opt_String* type, + const Opt_Number* quality) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getBaselineOffset("); + string out("toDataURL("); + WriteToString(&out, type); + out.append(", "); + WriteToString(&out, quality); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - } // BaselineOffsetStyleAccessor - namespace BaseShapeAccessor { - void DestroyPeerImpl(Ark_BaseShape peer) + void StartImageAnalyzerImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_CanvasRenderingContext2D peer, + const Ark_ImageAnalyzerConfig* config, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_BaseShape ConstructImpl() - { - if (!needGroupedLog(1)) - { - return reinterpret_cast(100); - } - string out("new BaseShape("); + string out("startImageAnalyzer("); + WriteToString(&out, config); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void StopImageAnalyzerImpl(Ark_CanvasRenderingContext2D peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("stopImageAnalyzer("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_BaseShape WidthImpl(Ark_BaseShape peer, - const Ark_Length* width) + void OnOnAttachImpl(Ark_VMContext vmContext, + Ark_CanvasRenderingContext2D peer, + const Callback_Void* callback_) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("width("); - WriteToString(&out, width); + string out("onOnAttach("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_BaseShape HeightImpl(Ark_BaseShape peer, - const Ark_Length* height) + void OffOnAttachImpl(Ark_VMContext vmContext, + Ark_CanvasRenderingContext2D peer, + const Opt_Callback_Void* callback_) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("height("); - WriteToString(&out, height); + string out("offOnAttach("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_BaseShape SizeImpl(Ark_BaseShape peer, - const Ark_SizeOptions* size) + void OnOnDetachImpl(Ark_CanvasRenderingContext2D peer, + const Callback_Void* callback_) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("size("); - WriteToString(&out, size); + string out("onOnDetach("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // BaseShapeAccessor - namespace BounceSymbolEffectAccessor { - void DestroyPeerImpl(Ark_BounceSymbolEffect peer) + void OffOnDetachImpl(Ark_CanvasRenderingContext2D peer, + const Opt_Callback_Void* callback_) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("offOnDetach("); + WriteToString(&out, callback_); out.append(") \n"); appendGroupedLog(1, out); } - Ark_BounceSymbolEffect ConstructImpl(const Opt_EffectScope* scope, - const Opt_EffectDirection* direction) + Ark_Number GetHeightImpl(Ark_CanvasRenderingContext2D peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new BounceSymbolEffect("); - WriteToString(&out, scope); - out.append(", "); - WriteToString(&out, direction); + string out("getHeight("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + void SetHeightImpl(Ark_CanvasRenderingContext2D peer, + const Ark_Number* height) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setHeight("); + WriteToString(&out, height); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Opt_EffectScope GetScopeImpl(Ark_BounceSymbolEffect peer) + Ark_Number GetWidthImpl(Ark_CanvasRenderingContext2D peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getScope("); + string out("getWidth("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetScopeImpl(Ark_BounceSymbolEffect peer, - const Opt_EffectScope* scope) + void SetWidthImpl(Ark_CanvasRenderingContext2D peer, + const Ark_Number* width) { if (!needGroupedLog(1)) { return; } - string out("setScope("); - WriteToString(&out, scope); + string out("setWidth("); + WriteToString(&out, width); out.append(") \n"); appendGroupedLog(1, out); } - Opt_EffectDirection GetDirectionImpl(Ark_BounceSymbolEffect peer) + Ark_FrameNode GetCanvasImpl(Ark_CanvasRenderingContext2D peer) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getDirection("); + string out("getCanvas("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - void SetDirectionImpl(Ark_BounceSymbolEffect peer, - const Opt_EffectDirection* direction) + void SetCanvasImpl(Ark_CanvasRenderingContext2D peer, + Ark_FrameNode canvas) { if (!needGroupedLog(1)) { return; } - string out("setDirection("); - WriteToString(&out, direction); + string out("setCanvas("); + WriteToString(&out, canvas); out.append(") \n"); appendGroupedLog(1, out); } - } // BounceSymbolEffectAccessor - namespace BuilderNodeOpsAccessor { - void DestroyPeerImpl(Ark_BuilderNodeOps peer) + } // CanvasRenderingContext2DAccessor + namespace ChildrenMainSizeAccessor { + void DestroyPeerImpl(Ark_ChildrenMainSize peer) { if (!needGroupedLog(1)) { @@ -22257,17 +25827,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_BuilderNodeOps ConstructImpl() + Ark_ChildrenMainSize ConstructImpl(const Ark_Number* childDefaultSize) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new BuilderNodeOps("); + string out("new ChildrenMainSize("); + WriteToString(&out, childDefaultSize); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -22281,130 +25852,66 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void CreateImpl(Ark_BuilderNodeOps peer, - const Callback_Void* buildFunc) - { - if (!needGroupedLog(1)) - { - return; - } - string out("create("); - WriteToString(&out, buildFunc); - out.append(") \n"); - appendGroupedLog(1, out); - } - void DisposeNodeImpl(Ark_BuilderNodeOps peer) - { - if (!needGroupedLog(1)) - { - return; - } - string out("disposeNode("); - out.append(") \n"); - appendGroupedLog(1, out); - } - void SetUpdateConfigurationCallbackImpl(Ark_BuilderNodeOps peer, - const Callback_Void* configurationUpdateFunc) - { - if (!needGroupedLog(1)) - { - return; - } - string out("setUpdateConfigurationCallback("); - WriteToString(&out, configurationUpdateFunc); - out.append(") \n"); - appendGroupedLog(1, out); - } - void SetOptionsImpl(Ark_BuilderNodeOps peer, - const Ark_BuilderNodeOptions* options) + void SpliceImpl(Ark_ChildrenMainSize peer, + const Ark_Number* start, + const Opt_Number* deleteCount, + const Opt_Array_Number* childrenSize) { if (!needGroupedLog(1)) { return; } - string out("setOptions("); - WriteToString(&out, options); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Boolean PostTouchEventImpl(Ark_BuilderNodeOps peer, - Ark_TouchEvent event) - { - if (!needGroupedLog(1)) - { - return 0; - } - string out("postTouchEvent("); - WriteToString(&out, event); - out.append(") \n"); - out.append("[return 0] \n"); - appendGroupedLog(1, out); - return 0; - } - Ark_NativePointer SetRootFrameNodeInBuilderNodeImpl(Ark_BuilderNodeOps peer, - Ark_NativePointer node) - { - if (!needGroupedLog(1)) - { - return nullptr; - } - string out("setRootFrameNodeInBuilderNode("); - WriteToString(&out, node); + string out("splice("); + WriteToString(&out, start); + out.append(", "); + WriteToString(&out, deleteCount); + out.append(", "); + WriteToString(&out, childrenSize); out.append(") \n"); - out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return nullptr; } - } // BuilderNodeOpsAccessor - namespace CalendarPickerDialogAccessor { - void DestroyPeerImpl(Ark_CalendarPickerDialog peer) + void UpdateImpl(Ark_ChildrenMainSize peer, + const Ark_Number* index, + const Ark_Number* childSize) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_CalendarPickerDialog ConstructImpl() - { - if (!needGroupedLog(1)) - { - return reinterpret_cast(100); - } - string out("new CalendarPickerDialog("); + string out("update("); + WriteToString(&out, index); + out.append(", "); + WriteToString(&out, childSize); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + Ark_Number GetChildDefaultSizeImpl(Ark_ChildrenMainSize peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {42}; } - string out("getFinalizer("); + string out("getChildDefaultSize("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {42}; } - void ShowImpl(const Opt_CalendarDialogOptions* options) + void SetChildDefaultSizeImpl(Ark_ChildrenMainSize peer, + const Ark_Number* childDefaultSize) { if (!needGroupedLog(1)) { return; } - string out("show("); - WriteToString(&out, options); + string out("setChildDefaultSize("); + WriteToString(&out, childDefaultSize); out.append(") \n"); appendGroupedLog(1, out); } - } // CalendarPickerDialogAccessor - namespace CanvasGradientAccessor { - void DestroyPeerImpl(Ark_CanvasGradient peer) + } // ChildrenMainSizeAccessor + namespace CircleShapeAccessor { + void DestroyPeerImpl(Ark_CircleShape peer) { if (!needGroupedLog(1)) { @@ -22414,17 +25921,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_CanvasGradient ConstructImpl() + Ark_CircleShape ConstructImpl(const Opt_ShapeSize* options) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new CanvasGradient("); + string out("new CircleShape("); + WriteToString(&out, options); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -22438,1762 +25946,1598 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void AddColorStopImpl(Ark_CanvasGradient peer, - const Ark_Number* offset, - const Ark_String* color) + Ark_CircleShape OffsetImpl(Ark_CircleShape peer, + const Ark_Position* offset) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("addColorStop("); + string out("offset("); WriteToString(&out, offset); - out.append(", "); + out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(300); + } + Ark_CircleShape FillImpl(Ark_CircleShape peer, + const Ark_ResourceColor* color) + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(300); + } + string out("fill("); WriteToString(&out, color); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - } // CanvasGradientAccessor - namespace CanvasPathAccessor { - void DestroyPeerImpl(Ark_CanvasPath peer) + Ark_CircleShape PositionImpl(Ark_CircleShape peer, + const Ark_Position* position) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("destroyPeer("); + string out("position("); + WriteToString(&out, position); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_CanvasPath ConstructImpl() + Ark_CircleShape WidthImpl(Ark_CircleShape peer, + const Ark_Length* width) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(300); } - string out("new CanvasPath("); + string out("width("); + WriteToString(&out, width); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(300); } - Ark_NativePointer GetFinalizerImpl() + Ark_CircleShape HeightImpl(Ark_CircleShape peer, + const Ark_Length* height) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - string out("getFinalizer("); + string out("height("); + WriteToString(&out, height); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - void ArcImpl(Ark_CanvasPath peer, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* radius, - const Ark_Number* startAngle, - const Ark_Number* endAngle, - const Opt_Boolean* counterclockwise) + Ark_CircleShape SizeImpl(Ark_CircleShape peer, + const Ark_SizeOptions* size) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("arc("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); - out.append(", "); - WriteToString(&out, radius); - out.append(", "); - WriteToString(&out, startAngle); - out.append(", "); - WriteToString(&out, endAngle); - out.append(", "); - WriteToString(&out, counterclockwise); + string out("size("); + WriteToString(&out, size); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void ArcToImpl(Ark_CanvasPath peer, - const Ark_Number* x1, - const Ark_Number* y1, - const Ark_Number* x2, - const Ark_Number* y2, - const Ark_Number* radius) + } // CircleShapeAccessor + namespace ClickEventAccessor { + void DestroyPeerImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) { return; } - string out("arcTo("); - WriteToString(&out, x1); - out.append(", "); - WriteToString(&out, y1); - out.append(", "); - WriteToString(&out, x2); - out.append(", "); - WriteToString(&out, y2); - out.append(", "); - WriteToString(&out, radius); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void BezierCurveToImpl(Ark_CanvasPath peer, - const Ark_Number* cp1x, - const Ark_Number* cp1y, - const Ark_Number* cp2x, - const Ark_Number* cp2y, - const Ark_Number* x, - const Ark_Number* y) + Ark_ClickEvent ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("bezierCurveTo("); - WriteToString(&out, cp1x); - out.append(", "); - WriteToString(&out, cp1y); - out.append(", "); - WriteToString(&out, cp2x); - out.append(", "); - WriteToString(&out, cp2y); - out.append(", "); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("new ClickEvent("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void ClosePathImpl(Ark_CanvasPath peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("closePath("); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void EllipseImpl(Ark_CanvasPath peer, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* radiusX, - const Ark_Number* radiusY, - const Ark_Number* rotation, - const Ark_Number* startAngle, - const Ark_Number* endAngle, - const Opt_Boolean* counterclockwise) + Ark_Number GetDisplayXImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("ellipse("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); - out.append(", "); - WriteToString(&out, radiusX); - out.append(", "); - WriteToString(&out, radiusY); - out.append(", "); - WriteToString(&out, rotation); - out.append(", "); - WriteToString(&out, startAngle); - out.append(", "); - WriteToString(&out, endAngle); - out.append(", "); - WriteToString(&out, counterclockwise); + string out("getDisplayX("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void LineToImpl(Ark_CanvasPath peer, - const Ark_Number* x, - const Ark_Number* y) + void SetDisplayXImpl(Ark_ClickEvent peer, + const Ark_Number* displayX) { if (!needGroupedLog(1)) { return; } - string out("lineTo("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("setDisplayX("); + WriteToString(&out, displayX); out.append(") \n"); appendGroupedLog(1, out); } - void MoveToImpl(Ark_CanvasPath peer, - const Ark_Number* x, - const Ark_Number* y) + Ark_Number GetDisplayYImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("moveTo("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("getDisplayY("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void QuadraticCurveToImpl(Ark_CanvasPath peer, - const Ark_Number* cpx, - const Ark_Number* cpy, - const Ark_Number* x, - const Ark_Number* y) + void SetDisplayYImpl(Ark_ClickEvent peer, + const Ark_Number* displayY) { if (!needGroupedLog(1)) { return; } - string out("quadraticCurveTo("); - WriteToString(&out, cpx); - out.append(", "); - WriteToString(&out, cpy); - out.append(", "); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("setDisplayY("); + WriteToString(&out, displayY); out.append(") \n"); appendGroupedLog(1, out); } - void RectImpl(Ark_CanvasPath peer, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* w, - const Ark_Number* h) + Ark_Number GetWindowXImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("rect("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); - out.append(", "); - WriteToString(&out, w); - out.append(", "); - WriteToString(&out, h); + string out("getWindowX("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - } // CanvasPathAccessor - namespace CanvasPatternAccessor { - void DestroyPeerImpl(Ark_CanvasPattern peer) + void SetWindowXImpl(Ark_ClickEvent peer, + const Ark_Number* windowX) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setWindowX("); + WriteToString(&out, windowX); out.append(") \n"); appendGroupedLog(1, out); } - Ark_CanvasPattern ConstructImpl() + Ark_Number GetWindowYImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new CanvasPattern("); + string out("getWindowY("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + void SetWindowYImpl(Ark_ClickEvent peer, + const Ark_Number* windowY) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setWindowY("); + WriteToString(&out, windowY); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void SetTransformImpl(Ark_CanvasPattern peer, - const Opt_Matrix2D* transform) + Ark_Number GetXImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setTransform("); - WriteToString(&out, transform); + string out("getX("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - } // CanvasPatternAccessor - namespace CanvasRendererAccessor { - void DestroyPeerImpl(Ark_CanvasRenderer peer) + void SetXImpl(Ark_ClickEvent peer, + const Ark_Number* x) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setX("); + WriteToString(&out, x); out.append(") \n"); appendGroupedLog(1, out); } - Ark_CanvasRenderer ConstructImpl() + Ark_Number GetYImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new CanvasRenderer("); + string out("getY("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + void SetYImpl(Ark_ClickEvent peer, + const Ark_Number* y) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setY("); + WriteToString(&out, y); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void DrawImage0Impl(Ark_CanvasRenderer peer, - const Ark_Union_ImageBitmap_PixelMap* image, - const Ark_Number* dx, - const Ark_Number* dy) + Opt_InteractionHand GetHandImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("drawImage0("); - WriteToString(&out, image); - out.append(", "); - WriteToString(&out, dx); - out.append(", "); - WriteToString(&out, dy); + string out("getHand("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void DrawImage1Impl(Ark_CanvasRenderer peer, - const Ark_Union_ImageBitmap_PixelMap* image, - const Ark_Number* dx, - const Ark_Number* dy, - const Ark_Number* dw, - const Ark_Number* dh) + void SetHandImpl(Ark_ClickEvent peer, + const Opt_InteractionHand* hand) { if (!needGroupedLog(1)) { return; } - string out("drawImage1("); - WriteToString(&out, image); - out.append(", "); - WriteToString(&out, dx); - out.append(", "); - WriteToString(&out, dy); - out.append(", "); - WriteToString(&out, dw); - out.append(", "); - WriteToString(&out, dh); + string out("setHand("); + WriteToString(&out, hand); out.append(") \n"); appendGroupedLog(1, out); } - void DrawImage2Impl(Ark_CanvasRenderer peer, - const Ark_Union_ImageBitmap_PixelMap* image, - const Ark_Number* sx, - const Ark_Number* sy, - const Ark_Number* sw, - const Ark_Number* sh, - const Ark_Number* dx, - const Ark_Number* dy, - const Ark_Number* dw, - const Ark_Number* dh) + Callback_Void GetPreventDefaultImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("drawImage2("); - WriteToString(&out, image); - out.append(", "); - WriteToString(&out, sx); - out.append(", "); - WriteToString(&out, sy); - out.append(", "); - WriteToString(&out, sw); - out.append(", "); - WriteToString(&out, sh); - out.append(", "); - WriteToString(&out, dx); - out.append(", "); - WriteToString(&out, dy); - out.append(", "); - WriteToString(&out, dw); - out.append(", "); - WriteToString(&out, dh); + string out("getPreventDefault("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void BeginPathImpl(Ark_CanvasRenderer peer) + void SetPreventDefaultImpl(Ark_ClickEvent peer, + const Callback_Void* preventDefault) { if (!needGroupedLog(1)) { return; } - string out("beginPath("); + string out("setPreventDefault("); + WriteToString(&out, preventDefault); out.append(") \n"); appendGroupedLog(1, out); } - void Clip0Impl(Ark_CanvasRenderer peer, - const Opt_String* fillRule) + } // ClickEventAccessor + namespace ClientAuthenticationHandlerAccessor { + void DestroyPeerImpl(Ark_ClientAuthenticationHandler peer) { if (!needGroupedLog(1)) { return; } - string out("clip0("); - WriteToString(&out, fillRule); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void Clip1Impl(Ark_CanvasRenderer peer, - Ark_Path2D path, - const Opt_String* fillRule) + Ark_ClientAuthenticationHandler ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("clip1("); - WriteToString(&out, path); - out.append(", "); - WriteToString(&out, fillRule); + string out("new ClientAuthenticationHandler("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void Fill0Impl(Ark_CanvasRenderer peer, - const Opt_String* fillRule) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("fill0("); - WriteToString(&out, fillRule); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void Fill1Impl(Ark_CanvasRenderer peer, - Ark_Path2D path, - const Opt_String* fillRule) + void Confirm0Impl(Ark_ClientAuthenticationHandler peer, + const Ark_String* priKeyFile, + const Ark_String* certChainFile) { if (!needGroupedLog(1)) { return; } - string out("fill1("); - WriteToString(&out, path); + string out("confirm0("); + WriteToString(&out, priKeyFile); out.append(", "); - WriteToString(&out, fillRule); + WriteToString(&out, certChainFile); out.append(") \n"); appendGroupedLog(1, out); } - void StrokeImpl(Ark_CanvasRenderer peer, - const Opt_Path2D* path) + void Confirm1Impl(Ark_ClientAuthenticationHandler peer, + const Ark_String* authUri) { if (!needGroupedLog(1)) { return; } - string out("stroke("); - WriteToString(&out, path); + string out("confirm1("); + WriteToString(&out, authUri); out.append(") \n"); appendGroupedLog(1, out); } - Ark_CanvasGradient CreateLinearGradientImpl(Ark_CanvasRenderer peer, - const Ark_Number* x0, - const Ark_Number* y0, - const Ark_Number* x1, - const Ark_Number* y1) + void CancelImpl(Ark_ClientAuthenticationHandler peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("createLinearGradient("); - WriteToString(&out, x0); - out.append(", "); - WriteToString(&out, y0); - out.append(", "); - WriteToString(&out, x1); - out.append(", "); - WriteToString(&out, y1); + string out("cancel("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Opt_CanvasPattern CreatePatternImpl(Ark_CanvasRenderer peer, - Ark_ImageBitmap image, - const Opt_String* repetition) + void IgnoreImpl(Ark_ClientAuthenticationHandler peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("createPattern("); - WriteToString(&out, image); - out.append(", "); - WriteToString(&out, repetition); + string out("ignore("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_CanvasGradient CreateRadialGradientImpl(Ark_CanvasRenderer peer, - const Ark_Number* x0, - const Ark_Number* y0, - const Ark_Number* r0, - const Ark_Number* x1, - const Ark_Number* y1, - const Ark_Number* r1) + } // ClientAuthenticationHandlerAccessor + namespace ColorContentAccessor { + void DestroyPeerImpl(Ark_ColorContent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("createRadialGradient("); - WriteToString(&out, x0); - out.append(", "); - WriteToString(&out, y0); - out.append(", "); - WriteToString(&out, r0); - out.append(", "); - WriteToString(&out, x1); - out.append(", "); - WriteToString(&out, y1); - out.append(", "); - WriteToString(&out, r1); + string out("destroyPeer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_CanvasGradient CreateConicGradientImpl(Ark_CanvasRenderer peer, - const Ark_Number* startAngle, - const Ark_Number* x, - const Ark_Number* y) + Ark_ColorContent ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(100); } - string out("createConicGradient("); - WriteToString(&out, startAngle); - out.append(", "); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("new ColorContent("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(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_ImageData CreateImageData0Impl(Ark_CanvasRenderer peer, - const Ark_Number* sw, - const Ark_Number* sh) + Ark_ColorContent GetORIGINImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("createImageData0("); - WriteToString(&out, sw); - out.append(", "); - WriteToString(&out, sh); + string out("getORIGIN("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - Ark_ImageData CreateImageData1Impl(Ark_CanvasRenderer peer, - Ark_ImageData imagedata) + } // ColorContentAccessor + namespace ColorFilterAccessor { + void DestroyPeerImpl(Ark_ColorFilter peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("createImageData1("); - WriteToString(&out, imagedata); + string out("destroyPeer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_ImageData GetImageDataImpl(Ark_CanvasRenderer peer, - const Ark_Number* sx, - const Ark_Number* sy, - const Ark_Number* sw, - const Ark_Number* sh) + Ark_ColorFilter ConstructImpl(const Array_Number* value) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(100); } - string out("getImageData("); - WriteToString(&out, sx); - out.append(", "); - WriteToString(&out, sy); - out.append(", "); - WriteToString(&out, sw); - out.append(", "); - WriteToString(&out, sh); + string out("new ColorFilter("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(100); } - Ark_image_PixelMap GetPixelMapImpl(Ark_CanvasRenderer peer, - const Ark_Number* sx, - const Ark_Number* sy, - const Ark_Number* sw, - const Ark_Number* sh) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - string out("getPixelMap("); - WriteToString(&out, sx); - out.append(", "); - WriteToString(&out, sy); - out.append(", "); - WriteToString(&out, sw); - out.append(", "); - WriteToString(&out, sh); + string out("getFinalizer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - void PutImageData0Impl(Ark_CanvasRenderer peer, - Ark_ImageData imagedata, - const Ark_Union_Number_String* dx, - const Ark_Union_Number_String* dy) + } // ColorFilterAccessor + namespace ColorMetricsAccessor { + void DestroyPeerImpl(Ark_ColorMetrics peer) { if (!needGroupedLog(1)) { return; } - string out("putImageData0("); - WriteToString(&out, imagedata); - out.append(", "); - WriteToString(&out, dx); - out.append(", "); - WriteToString(&out, dy); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void PutImageData1Impl(Ark_CanvasRenderer peer, - Ark_ImageData imagedata, - const Ark_Union_Number_String* dx, - const Ark_Union_Number_String* dy, - const Ark_Union_Number_String* dirtyX, - const Ark_Union_Number_String* dirtyY, - const Ark_Union_Number_String* dirtyWidth, - const Ark_Union_Number_String* dirtyHeight) + Ark_ColorMetrics ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("putImageData1("); - WriteToString(&out, imagedata); - out.append(", "); - WriteToString(&out, dx); - out.append(", "); - WriteToString(&out, dy); - out.append(", "); - WriteToString(&out, dirtyX); - out.append(", "); - WriteToString(&out, dirtyY); - out.append(", "); - WriteToString(&out, dirtyWidth); - out.append(", "); - WriteToString(&out, dirtyHeight); + string out("new ColorMetrics("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Array_Number GetLineDashImpl(Ark_CanvasRenderer peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getLineDash("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - void SetLineDashImpl(Ark_CanvasRenderer peer, - const Array_Number* segments) + Ark_ColorMetrics NumericImpl(const Ark_Number* value) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setLineDash("); - WriteToString(&out, segments); + string out("numeric("); + WriteToString(&out, value); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void ClearRectImpl(Ark_CanvasRenderer peer, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* w, - const Ark_Number* h) + Ark_ColorMetrics RgbaImpl(const Ark_Number* red, + const Ark_Number* green, + const Ark_Number* blue, + const Ark_Number* alpha) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("clearRect("); - WriteToString(&out, x); + string out("rgba("); + WriteToString(&out, red); out.append(", "); - WriteToString(&out, y); + WriteToString(&out, green); out.append(", "); - WriteToString(&out, w); + WriteToString(&out, blue); out.append(", "); - WriteToString(&out, h); + WriteToString(&out, alpha); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void FillRectImpl(Ark_CanvasRenderer peer, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* w, - const Ark_Number* h) + Ark_ColorMetrics ResourceColorImpl(const Ark_ResourceColor* color) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("fillRect("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); - out.append(", "); - WriteToString(&out, w); - out.append(", "); - WriteToString(&out, h); + string out("resourceColor("); + WriteToString(&out, color); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void StrokeRectImpl(Ark_CanvasRenderer peer, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* w, - const Ark_Number* h) + Ark_ColorMetrics BlendColorImpl(Ark_ColorMetrics peer, + Ark_ColorMetrics overlayColor) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("strokeRect("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); - out.append(", "); - WriteToString(&out, w); - out.append(", "); - WriteToString(&out, h); + string out("blendColor("); + WriteToString(&out, overlayColor); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void RestoreImpl(Ark_CanvasRenderer peer) + Ark_String ColorImpl(Ark_ColorMetrics peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("restore("); + string out("color("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SaveImpl(Ark_CanvasRenderer peer) + Ark_Number RedImpl(Ark_ColorMetrics peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("save("); + string out("red("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void FillTextImpl(Ark_CanvasRenderer peer, - const Ark_String* text, - const Ark_Number* x, - const Ark_Number* y, - const Opt_Number* maxWidth) + Ark_Number GreenImpl(Ark_ColorMetrics peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("fillText("); - WriteToString(&out, text); - out.append(", "); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); - out.append(", "); - WriteToString(&out, maxWidth); + string out("green("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_TextMetrics MeasureTextImpl(Ark_CanvasRenderer peer, - const Ark_String* text) + Ark_Number BlueImpl(Ark_ColorMetrics peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("measureText("); - WriteToString(&out, text); + string out("blue("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void StrokeTextImpl(Ark_CanvasRenderer peer, - const Ark_String* text, - const Ark_Number* x, - const Ark_Number* y, - const Opt_Number* maxWidth) + Ark_Number AlphaImpl(Ark_ColorMetrics peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("alpha("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + } // ColorMetricsAccessor + namespace common_ContextAccessor { + void DestroyPeerImpl(Ark_common_Context peer) { if (!needGroupedLog(1)) { return; } - string out("strokeText("); - WriteToString(&out, text); - out.append(", "); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); - out.append(", "); - WriteToString(&out, maxWidth); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Matrix2D GetTransformImpl(Ark_CanvasRenderer peer) + Ark_common_Context ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(100); } - string out("getTransform("); + string out("new Context("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(100); } - void ResetTransformImpl(Ark_CanvasRenderer peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("resetTransform("); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void RotateImpl(Ark_CanvasRenderer peer, - const Ark_Number* angle) + Ark_common_Context CreateBundleContextImpl(Ark_VMContext vmContext, + Ark_common_Context peer, + const Ark_String* bundleName) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("rotate("); - WriteToString(&out, angle); + string out("createBundleContext("); + WriteToString(&out, bundleName); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void ScaleImpl(Ark_CanvasRenderer peer, - const Ark_Number* x, - const Ark_Number* y) + Ark_common_Context CreateModuleContext0Impl(Ark_VMContext vmContext, + Ark_common_Context peer, + const Ark_String* moduleName) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("scale("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("createModuleContext0("); + WriteToString(&out, moduleName); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void SetTransform0Impl(Ark_CanvasRenderer peer, - const Ark_Number* a, - const Ark_Number* b, - const Ark_Number* c, - const Ark_Number* d, - const Ark_Number* e, - const Ark_Number* f) + Ark_common_Context CreateModuleContext1Impl(Ark_VMContext vmContext, + Ark_common_Context peer, + const Ark_String* bundleName, + const Ark_String* moduleName) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setTransform0("); - WriteToString(&out, a); - out.append(", "); - WriteToString(&out, b); - out.append(", "); - WriteToString(&out, c); - out.append(", "); - WriteToString(&out, d); - out.append(", "); - WriteToString(&out, e); + string out("createModuleContext1("); + WriteToString(&out, bundleName); out.append(", "); - WriteToString(&out, f); + WriteToString(&out, moduleName); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void SetTransform1Impl(Ark_CanvasRenderer peer, - const Opt_Matrix2D* transform) + void GetGroupDir0Impl(Ark_VMContext vmContext, + Ark_common_Context peer, + const Ark_String* dataGroupID, + const Context_getGroupDir_Callback* callback_) { if (!needGroupedLog(1)) { return; } - string out("setTransform1("); - WriteToString(&out, transform); + string out("getGroupDir0("); + WriteToString(&out, dataGroupID); + out.append(", "); + WriteToString(&out, callback_); out.append(") \n"); appendGroupedLog(1, out); } - void TransformImpl(Ark_CanvasRenderer peer, - const Ark_Number* a, - const Ark_Number* b, - const Ark_Number* c, - const Ark_Number* d, - const Ark_Number* e, - const Ark_Number* f) + void GetGroupDir1Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_common_Context peer, + const Ark_String* dataGroupID, + const Callback_Opt_String_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { return; } - string out("transform("); - WriteToString(&out, a); - out.append(", "); - WriteToString(&out, b); - out.append(", "); - WriteToString(&out, c); - out.append(", "); - WriteToString(&out, d); - out.append(", "); - WriteToString(&out, e); + string out("getGroupDir1("); + WriteToString(&out, dataGroupID); out.append(", "); - WriteToString(&out, f); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); appendGroupedLog(1, out); } - void TranslateImpl(Ark_CanvasRenderer peer, - const Ark_Number* x, - const Ark_Number* y) + Ark_String GetCacheDirImpl(Ark_common_Context peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("translate("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("getCacheDir("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SetPixelMapImpl(Ark_CanvasRenderer peer, - const Opt_image_PixelMap* value) + void SetCacheDirImpl(Ark_common_Context peer, + const Ark_String* cacheDir) { if (!needGroupedLog(1)) { return; } - string out("setPixelMap("); - WriteToString(&out, value); + string out("setCacheDir("); + WriteToString(&out, cacheDir); out.append(") \n"); appendGroupedLog(1, out); } - void TransferFromImageBitmapImpl(Ark_CanvasRenderer peer, - Ark_ImageBitmap bitmap) + Ark_String GetTempDirImpl(Ark_common_Context peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("transferFromImageBitmap("); - WriteToString(&out, bitmap); + string out("getTempDir("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SaveLayerImpl(Ark_CanvasRenderer peer) + void SetTempDirImpl(Ark_common_Context peer, + const Ark_String* tempDir) { if (!needGroupedLog(1)) { return; } - string out("saveLayer("); + string out("setTempDir("); + WriteToString(&out, tempDir); out.append(") \n"); appendGroupedLog(1, out); } - void RestoreLayerImpl(Ark_CanvasRenderer peer) + Ark_String GetFilesDirImpl(Ark_common_Context peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("restoreLayer("); + string out("getFilesDir("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void ResetImpl(Ark_CanvasRenderer peer) + void SetFilesDirImpl(Ark_common_Context peer, + const Ark_String* filesDir) { if (!needGroupedLog(1)) { return; } - string out("reset("); + string out("setFilesDir("); + WriteToString(&out, filesDir); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Union_LengthMetrics_String GetLetterSpacingImpl(Ark_CanvasRenderer peer) + Ark_String GetDatabaseDirImpl(Ark_common_Context peer) { if (!needGroupedLog(1)) { return {}; } - string out("getLetterSpacing("); + string out("getDatabaseDir("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetLetterSpacingImpl(Ark_CanvasRenderer peer, - const Ark_Union_LengthMetrics_String* letterSpacing) + void SetDatabaseDirImpl(Ark_common_Context peer, + const Ark_String* databaseDir) { if (!needGroupedLog(1)) { return; } - string out("setLetterSpacing("); - WriteToString(&out, letterSpacing); + string out("setDatabaseDir("); + WriteToString(&out, databaseDir); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetGlobalAlphaImpl(Ark_CanvasRenderer peer) + Ark_String GetPreferencesDirImpl(Ark_common_Context peer) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getGlobalAlpha("); + string out("getPreferencesDir("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - void SetGlobalAlphaImpl(Ark_CanvasRenderer peer, - const Ark_Number* globalAlpha) + void SetPreferencesDirImpl(Ark_common_Context peer, + const Ark_String* preferencesDir) { if (!needGroupedLog(1)) { return; } - string out("setGlobalAlpha("); - WriteToString(&out, globalAlpha); + string out("setPreferencesDir("); + WriteToString(&out, preferencesDir); out.append(") \n"); appendGroupedLog(1, out); } - Ark_String GetGlobalCompositeOperationImpl(Ark_CanvasRenderer peer) + Ark_String GetBundleCodeDirImpl(Ark_common_Context peer) { if (!needGroupedLog(1)) { return {}; } - string out("getGlobalCompositeOperation("); + string out("getBundleCodeDir("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetGlobalCompositeOperationImpl(Ark_CanvasRenderer peer, - const Ark_String* globalCompositeOperation) + void SetBundleCodeDirImpl(Ark_common_Context peer, + const Ark_String* bundleCodeDir) { if (!needGroupedLog(1)) { return; } - string out("setGlobalCompositeOperation("); - WriteToString(&out, globalCompositeOperation); + string out("setBundleCodeDir("); + WriteToString(&out, bundleCodeDir); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Union_String_Number_CanvasGradient_CanvasPattern GetFillStyleImpl(Ark_CanvasRenderer peer) + Ark_String GetDistributedFilesDirImpl(Ark_common_Context peer) { if (!needGroupedLog(1)) { return {}; } - string out("getFillStyle("); + string out("getDistributedFilesDir("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetFillStyleImpl(Ark_CanvasRenderer peer, - const Ark_Union_String_Number_CanvasGradient_CanvasPattern* fillStyle) + void SetDistributedFilesDirImpl(Ark_common_Context peer, + const Ark_String* distributedFilesDir) { if (!needGroupedLog(1)) { return; } - string out("setFillStyle("); - WriteToString(&out, fillStyle); + string out("setDistributedFilesDir("); + WriteToString(&out, distributedFilesDir); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Union_String_Number_CanvasGradient_CanvasPattern GetStrokeStyleImpl(Ark_CanvasRenderer peer) + Ark_String GetResourceDirImpl(Ark_common_Context peer) { if (!needGroupedLog(1)) { return {}; } - string out("getStrokeStyle("); + string out("getResourceDir("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetStrokeStyleImpl(Ark_CanvasRenderer peer, - const Ark_Union_String_Number_CanvasGradient_CanvasPattern* strokeStyle) + void SetResourceDirImpl(Ark_common_Context peer, + const Ark_String* resourceDir) { if (!needGroupedLog(1)) { return; } - string out("setStrokeStyle("); - WriteToString(&out, strokeStyle); + string out("setResourceDir("); + WriteToString(&out, resourceDir); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_String GetCloudFileDirImpl(Ark_common_Context peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getCloudFileDir("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_String GetFilterImpl(Ark_CanvasRenderer peer) + void SetCloudFileDirImpl(Ark_common_Context peer, + const Ark_String* cloudFileDir) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getFilter("); + string out("setCloudFileDir("); + WriteToString(&out, cloudFileDir); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetFilterImpl(Ark_CanvasRenderer peer, - const Ark_String* filter) + } // common_ContextAccessor + namespace CommonShapeAccessor { + void DestroyPeerImpl(Ark_CommonShape peer) { if (!needGroupedLog(1)) { return; } - string out("setFilter("); - WriteToString(&out, filter); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Boolean GetImageSmoothingEnabledImpl(Ark_CanvasRenderer peer) + Ark_CommonShape ConstructImpl() { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(100); } - string out("getImageSmoothingEnabled("); + string out("new CommonShape("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(100); } - void SetImageSmoothingEnabledImpl(Ark_CanvasRenderer peer, - Ark_Boolean imageSmoothingEnabled) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setImageSmoothingEnabled("); - WriteToString(&out, imageSmoothingEnabled); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_String GetImageSmoothingQualityImpl(Ark_CanvasRenderer peer) + Ark_CommonShape OffsetImpl(Ark_CommonShape peer, + const Ark_Position* offset) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getImageSmoothingQuality("); + string out("offset("); + WriteToString(&out, offset); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - void SetImageSmoothingQualityImpl(Ark_CanvasRenderer peer, - const Ark_String* imageSmoothingQuality) + Ark_CommonShape FillImpl(Ark_CommonShape peer, + const Ark_ResourceColor* color) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setImageSmoothingQuality("); - WriteToString(&out, imageSmoothingQuality); + string out("fill("); + WriteToString(&out, color); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_String GetLineCapImpl(Ark_CanvasRenderer peer) + Ark_CommonShape PositionImpl(Ark_CommonShape peer, + const Ark_Position* position) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getLineCap("); + string out("position("); + WriteToString(&out, position); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - void SetLineCapImpl(Ark_CanvasRenderer peer, - const Ark_String* lineCap) + } // CommonShapeAccessor + namespace ComponentContentAccessor { + void DestroyPeerImpl(Ark_ComponentContent peer) { if (!needGroupedLog(1)) { return; } - string out("setLineCap("); - WriteToString(&out, lineCap); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetLineDashOffsetImpl(Ark_CanvasRenderer peer) + Ark_ComponentContent ConstructImpl() { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(100); } - string out("getLineDashOffset("); + string out("new ComponentContent("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(100); } - void SetLineDashOffsetImpl(Ark_CanvasRenderer peer, - const Ark_Number* lineDashOffset) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setLineDashOffset("); - WriteToString(&out, lineDashOffset); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_String GetLineJoinImpl(Ark_CanvasRenderer peer) + void UpdateImpl(Ark_ComponentContent peer, + const Ark_Object* args) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getLineJoin("); + string out("update("); + WriteToString(&out, args); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetLineJoinImpl(Ark_CanvasRenderer peer, - const Ark_String* lineJoin) + void ReuseImpl(Ark_ComponentContent peer, + const Opt_Object* param) { if (!needGroupedLog(1)) { return; } - string out("setLineJoin("); - WriteToString(&out, lineJoin); + string out("reuse("); + WriteToString(&out, param); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetLineWidthImpl(Ark_CanvasRenderer peer) + void RecycleImpl(Ark_ComponentContent peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getLineWidth("); + string out("recycle("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetLineWidthImpl(Ark_CanvasRenderer peer, - const Ark_Number* lineWidth) + void DisposeImpl(Ark_ComponentContent peer) { if (!needGroupedLog(1)) { return; } - string out("setLineWidth("); - WriteToString(&out, lineWidth); + string out("dispose("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetMiterLimitImpl(Ark_CanvasRenderer peer) + void UpdateConfigurationImpl(Ark_ComponentContent peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getMiterLimit("); + string out("updateConfiguration("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetMiterLimitImpl(Ark_CanvasRenderer peer, - const Ark_Number* miterLimit) + } // ComponentContentAccessor + namespace ConsoleMessageAccessor { + void DestroyPeerImpl(Ark_ConsoleMessage peer) { if (!needGroupedLog(1)) { return; } - string out("setMiterLimit("); - WriteToString(&out, miterLimit); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetShadowBlurImpl(Ark_CanvasRenderer peer) + Ark_ConsoleMessage ConstructImpl() { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(100); } - string out("getShadowBlur("); + string out("new ConsoleMessage("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(100); } - void SetShadowBlurImpl(Ark_CanvasRenderer peer, - const Ark_Number* shadowBlur) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setShadowBlur("); - WriteToString(&out, shadowBlur); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_String GetShadowColorImpl(Ark_CanvasRenderer peer) + Ark_String GetMessageImpl(Ark_ConsoleMessage peer) { if (!needGroupedLog(1)) { return {}; } - string out("getShadowColor("); + string out("getMessage("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetShadowColorImpl(Ark_CanvasRenderer peer, - const Ark_String* shadowColor) + Ark_String GetSourceIdImpl(Ark_ConsoleMessage peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setShadowColor("); - WriteToString(&out, shadowColor); + string out("getSourceId("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_Number GetShadowOffsetXImpl(Ark_CanvasRenderer peer) + Ark_Number GetLineNumberImpl(Ark_ConsoleMessage peer) { if (!needGroupedLog(1)) { return {42}; } - string out("getShadowOffsetX("); + string out("getLineNumber("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - void SetShadowOffsetXImpl(Ark_CanvasRenderer peer, - const Ark_Number* shadowOffsetX) + Ark_MessageLevel GetMessageLevelImpl(Ark_ConsoleMessage peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setShadowOffsetX("); - WriteToString(&out, shadowOffsetX); + string out("getMessageLevel("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_Number GetShadowOffsetYImpl(Ark_CanvasRenderer peer) + } // ConsoleMessageAccessor + namespace ContentModifierHelperAccessor { + void ContentModifierButtonImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const ButtonModifierBuilder* builder) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getShadowOffsetY("); + string out("contentModifierButton("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, contentModifier); + out.append(", "); + WriteToString(&out, builder); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetShadowOffsetYImpl(Ark_CanvasRenderer peer, - const Ark_Number* shadowOffsetY) + void ResetContentModifierButtonImpl(Ark_NativePointer node) { if (!needGroupedLog(1)) { return; } - string out("setShadowOffsetY("); - WriteToString(&out, shadowOffsetY); + string out("resetContentModifierButton("); + WriteToString(&out, node); out.append(") \n"); appendGroupedLog(1, out); } - Ark_String GetDirectionImpl(Ark_CanvasRenderer peer) + void ContentModifierCheckBoxImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const CheckBoxModifierBuilder* builder) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getDirection("); + string out("contentModifierCheckBox("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, contentModifier); + out.append(", "); + WriteToString(&out, builder); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetDirectionImpl(Ark_CanvasRenderer peer, - const Ark_String* direction) + void ResetContentModifierCheckBoxImpl(Ark_NativePointer node) { if (!needGroupedLog(1)) { return; } - string out("setDirection("); - WriteToString(&out, direction); + string out("resetContentModifierCheckBox("); + WriteToString(&out, node); out.append(") \n"); appendGroupedLog(1, out); } - Ark_String GetFontImpl(Ark_CanvasRenderer peer) + void ContentModifierDataPanelImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const DataPanelModifierBuilder* builder) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getFont("); + string out("contentModifierDataPanel("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, contentModifier); + out.append(", "); + WriteToString(&out, builder); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetFontImpl(Ark_CanvasRenderer peer, - const Ark_String* font) + void ResetContentModifierDataPanelImpl(Ark_NativePointer node) { if (!needGroupedLog(1)) { return; } - string out("setFont("); - WriteToString(&out, font); + string out("resetContentModifierDataPanel("); + WriteToString(&out, node); out.append(") \n"); appendGroupedLog(1, out); } - Ark_String GetTextAlignImpl(Ark_CanvasRenderer peer) + void ContentModifierGaugeImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const GaugeModifierBuilder* builder) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getTextAlign("); + string out("contentModifierGauge("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, contentModifier); + out.append(", "); + WriteToString(&out, builder); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetTextAlignImpl(Ark_CanvasRenderer peer, - const Ark_String* textAlign) + void ResetContentModifierGaugeImpl(Ark_NativePointer node) { if (!needGroupedLog(1)) { return; } - string out("setTextAlign("); - WriteToString(&out, textAlign); + string out("resetContentModifierGauge("); + WriteToString(&out, node); out.append(") \n"); appendGroupedLog(1, out); } - Ark_String GetTextBaselineImpl(Ark_CanvasRenderer peer) + void ContentModifierLoadingProgressImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const LoadingProgressModifierBuilder* builder) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getTextBaseline("); + string out("contentModifierLoadingProgress("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, contentModifier); + out.append(", "); + WriteToString(&out, builder); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetTextBaselineImpl(Ark_CanvasRenderer peer, - const Ark_String* textBaseline) + void ResetContentModifierLoadingProgressImpl(Ark_NativePointer node) { if (!needGroupedLog(1)) { return; } - string out("setTextBaseline("); - WriteToString(&out, textBaseline); + string out("resetContentModifierLoadingProgress("); + WriteToString(&out, node); out.append(") \n"); appendGroupedLog(1, out); } - } // CanvasRendererAccessor - namespace CanvasRenderingContext2DAccessor { - void DestroyPeerImpl(Ark_CanvasRenderingContext2D peer) + void ContentModifierProgressImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const ProgressModifierBuilder* builder) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("contentModifierProgress("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, contentModifier); + out.append(", "); + WriteToString(&out, builder); out.append(") \n"); appendGroupedLog(1, out); } - Ark_CanvasRenderingContext2D ConstructImpl(const Opt_RenderingContextSettings* settings, - const Opt_LengthMetricsUnit* unit) + void ResetContentModifierProgressImpl(Ark_NativePointer node) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new CanvasRenderingContext2D("); - WriteToString(&out, settings); - out.append(", "); - WriteToString(&out, unit); + string out("resetContentModifierProgress("); + WriteToString(&out, node); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void ContentModifierRadioImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const RadioModifierBuilder* builder) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("contentModifierRadio("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, contentModifier); + out.append(", "); + WriteToString(&out, builder); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_String ToDataURLImpl(Ark_CanvasRenderingContext2D peer, - const Opt_String* type, - const Opt_Number* quality) + void ResetContentModifierRadioImpl(Ark_NativePointer node) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("toDataURL("); - WriteToString(&out, type); - out.append(", "); - WriteToString(&out, quality); + string out("resetContentModifierRadio("); + WriteToString(&out, node); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void StartImageAnalyzerImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_CanvasRenderingContext2D peer, - const Ark_ImageAnalyzerConfig* config, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + void ContentModifierRatingImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const RatingModifierBuilder* builder) { if (!needGroupedLog(1)) { return; } - string out("startImageAnalyzer("); - WriteToString(&out, config); + string out("contentModifierRating("); + WriteToString(&out, node); out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + WriteToString(&out, contentModifier); + out.append(", "); + WriteToString(&out, builder); out.append(") \n"); appendGroupedLog(1, out); } - void StopImageAnalyzerImpl(Ark_CanvasRenderingContext2D peer) + void ResetContentModifierRatingImpl(Ark_NativePointer node) { if (!needGroupedLog(1)) { return; } - string out("stopImageAnalyzer("); + string out("resetContentModifierRating("); + WriteToString(&out, node); out.append(") \n"); appendGroupedLog(1, out); } - void OnOnAttachImpl(Ark_VMContext vmContext, - Ark_CanvasRenderingContext2D peer, - const Callback_Void* callback_) + void ContentModifierMenuItemImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const MenuItemModifierBuilder* builder) { if (!needGroupedLog(1)) { return; } - string out("onOnAttach("); - WriteToString(&out, callback_); + string out("contentModifierMenuItem("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, contentModifier); + out.append(", "); + WriteToString(&out, builder); out.append(") \n"); appendGroupedLog(1, out); } - void OffOnAttachImpl(Ark_VMContext vmContext, - Ark_CanvasRenderingContext2D peer, - const Opt_Callback_Void* callback_) + void ResetContentModifierMenuItemImpl(Ark_NativePointer node) { if (!needGroupedLog(1)) { return; } - string out("offOnAttach("); - WriteToString(&out, callback_); + string out("resetContentModifierMenuItem("); + WriteToString(&out, node); out.append(") \n"); appendGroupedLog(1, out); } - void OnOnDetachImpl(Ark_CanvasRenderingContext2D peer, - const Callback_Void* callback_) + void ContentModifierSliderImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const SliderModifierBuilder* builder) { if (!needGroupedLog(1)) { return; } - string out("onOnDetach("); - WriteToString(&out, callback_); + string out("contentModifierSlider("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, contentModifier); + out.append(", "); + WriteToString(&out, builder); out.append(") \n"); appendGroupedLog(1, out); } - void OffOnDetachImpl(Ark_CanvasRenderingContext2D peer, - const Opt_Callback_Void* callback_) + void ResetContentModifierSliderImpl(Ark_NativePointer node) { if (!needGroupedLog(1)) { return; } - string out("offOnDetach("); - WriteToString(&out, callback_); + string out("resetContentModifierSlider("); + WriteToString(&out, node); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetHeightImpl(Ark_CanvasRenderingContext2D peer) + void ContentModifierTextClockImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const TextClockModifierBuilder* builder) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getHeight("); + string out("contentModifierTextClock("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, contentModifier); + out.append(", "); + WriteToString(&out, builder); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetHeightImpl(Ark_CanvasRenderingContext2D peer, - const Ark_Number* height) + void ResetContentModifierTextClockImpl(Ark_NativePointer node) { if (!needGroupedLog(1)) { return; } - string out("setHeight("); - WriteToString(&out, height); + string out("resetContentModifierTextClock("); + WriteToString(&out, node); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetWidthImpl(Ark_CanvasRenderingContext2D peer) + void ContentModifierTextTimerImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const TextTimerModifierBuilder* builder) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getWidth("); + string out("contentModifierTextTimer("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, contentModifier); + out.append(", "); + WriteToString(&out, builder); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetWidthImpl(Ark_CanvasRenderingContext2D peer, - const Ark_Number* width) + void ResetContentModifierTextTimerImpl(Ark_NativePointer node) { if (!needGroupedLog(1)) { return; } - string out("setWidth("); - WriteToString(&out, width); + string out("resetContentModifierTextTimer("); + WriteToString(&out, node); out.append(") \n"); appendGroupedLog(1, out); } - Ark_FrameNode GetCanvasImpl(Ark_CanvasRenderingContext2D peer) + void ContentModifierToggleImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const ToggleModifierBuilder* builder) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getCanvas("); + string out("contentModifierToggle("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, contentModifier); + out.append(", "); + WriteToString(&out, builder); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - void SetCanvasImpl(Ark_CanvasRenderingContext2D peer, - Ark_FrameNode canvas) + void ResetContentModifierToggleImpl(Ark_NativePointer node) { if (!needGroupedLog(1)) { return; } - string out("setCanvas("); - WriteToString(&out, canvas); + string out("resetContentModifierToggle("); + WriteToString(&out, node); out.append(") \n"); appendGroupedLog(1, out); } - } // CanvasRenderingContext2DAccessor - namespace ChildrenMainSizeAccessor { - void DestroyPeerImpl(Ark_ChildrenMainSize peer) + } // ContentModifierHelperAccessor + namespace ContextAccessor { + void DestroyPeerImpl(Ark_Context peer) { if (!needGroupedLog(1)) { @@ -24203,18 +27547,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_ChildrenMainSize ConstructImpl(const Ark_Number* childDefaultSize) + Ark_Context ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new ChildrenMainSize("); - WriteToString(&out, childDefaultSize); + string out("new Context("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -24228,66 +27571,57 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void SpliceImpl(Ark_ChildrenMainSize peer, - const Ark_Number* start, - const Opt_Number* deleteCount, - const Opt_Array_Number* childrenSize) + } // ContextAccessor + namespace ControllerHandlerAccessor { + void DestroyPeerImpl(Ark_ControllerHandler peer) { if (!needGroupedLog(1)) { return; } - string out("splice("); - WriteToString(&out, start); - out.append(", "); - WriteToString(&out, deleteCount); - out.append(", "); - WriteToString(&out, childrenSize); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); - } - void UpdateImpl(Ark_ChildrenMainSize peer, - const Ark_Number* index, - const Ark_Number* childSize) + } + Ark_ControllerHandler ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("update("); - WriteToString(&out, index); - out.append(", "); - WriteToString(&out, childSize); + string out("new ControllerHandler("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_Number GetChildDefaultSizeImpl(Ark_ChildrenMainSize peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {42}; + return fnPtr(dummyClassFinalizer); } - string out("getChildDefaultSize("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {42}; + return fnPtr(dummyClassFinalizer); } - void SetChildDefaultSizeImpl(Ark_ChildrenMainSize peer, - const Ark_Number* childDefaultSize) + void SetWebControllerImpl(Ark_ControllerHandler peer, + Ark_webview_WebviewController controller) { if (!needGroupedLog(1)) { return; } - string out("setChildDefaultSize("); - WriteToString(&out, childDefaultSize); + string out("setWebController("); + WriteToString(&out, controller); out.append(") \n"); appendGroupedLog(1, out); } - } // ChildrenMainSizeAccessor - namespace CircleShapeAccessor { - void DestroyPeerImpl(Ark_CircleShape peer) + } // ControllerHandlerAccessor + namespace curves_ICurveAccessor { + void DestroyPeerImpl(Ark_curves_ICurve peer) { if (!needGroupedLog(1)) { @@ -24297,18 +27631,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_CircleShape ConstructImpl(const Opt_ShapeSize* options) + Ark_curves_ICurve ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new CircleShape("); - WriteToString(&out, options); + string out("new ICurve("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -24322,93 +27655,80 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_CircleShape OffsetImpl(Ark_CircleShape peer, - const Ark_Position* offset) + Ark_Number InterpolateImpl(Ark_curves_ICurve peer, + const Ark_Number* fraction) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {42}; } - string out("offset("); - WriteToString(&out, offset); + string out("interpolate("); + WriteToString(&out, fraction); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {42}; } - Ark_CircleShape FillImpl(Ark_CircleShape peer, - const Ark_ResourceColor* color) + } // curves_ICurveAccessor + namespace CustomDialogControllerAccessor { + void DestroyPeerImpl(Ark_CustomDialogController peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("fill("); - WriteToString(&out, color); + string out("destroyPeer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_CircleShape PositionImpl(Ark_CircleShape peer, - const Ark_Position* position) + Ark_CustomDialogController ConstructImpl(const Ark_CustomDialogControllerOptions* value) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(100); } - string out("position("); - WriteToString(&out, position); + string out("new CustomDialogController("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(100); } - Ark_CircleShape WidthImpl(Ark_CircleShape peer, - const Ark_Length* width) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - string out("width("); - WriteToString(&out, width); + string out("getFinalizer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - Ark_CircleShape HeightImpl(Ark_CircleShape peer, - const Ark_Length* height) + void OpenImpl(Ark_CustomDialogController peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("height("); - WriteToString(&out, height); + string out("open("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_CircleShape SizeImpl(Ark_CircleShape peer, - const Ark_SizeOptions* size) + void CloseImpl(Ark_CustomDialogController peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("size("); - WriteToString(&out, size); + string out("close("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // CircleShapeAccessor - namespace ClickEventAccessor { - void DestroyPeerImpl(Ark_ClickEvent peer) + } // CustomDialogControllerAccessor + namespace CustomSpanAccessor { + void DestroyPeerImpl(Ark_CustomSpan peer) { if (!needGroupedLog(1)) { @@ -24418,17 +27738,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_ClickEvent ConstructImpl() + Ark_CustomSpan ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new ClickEvent("); + string out("new CustomSpan("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -24442,249 +27762,232 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Number GetDisplayXImpl(Ark_ClickEvent peer) - { - if (!needGroupedLog(1)) - { - return {42}; - } - string out("getDisplayX("); - out.append(") \n"); - out.append("[return {42}] \n"); - appendGroupedLog(1, out); - return {42}; - } - void SetDisplayXImpl(Ark_ClickEvent peer, - const Ark_Number* displayX) + void InvalidateImpl(Ark_CustomSpan peer) { if (!needGroupedLog(1)) { return; } - string out("setDisplayX("); - WriteToString(&out, displayX); + string out("invalidate("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetDisplayYImpl(Ark_ClickEvent peer) + Callback_CustomSpanMeasureInfo_CustomSpanMetrics GetOnMeasureImpl(Ark_CustomSpan peer) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getDisplayY("); + string out("getOnMeasure("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - void SetDisplayYImpl(Ark_ClickEvent peer, - const Ark_Number* displayY) + void SetOnMeasureImpl(Ark_CustomSpan peer, + const Callback_CustomSpanMeasureInfo_CustomSpanMetrics* onMeasure) { if (!needGroupedLog(1)) { return; } - string out("setDisplayY("); - WriteToString(&out, displayY); + string out("setOnMeasure("); + WriteToString(&out, onMeasure); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetWindowXImpl(Ark_ClickEvent peer) + Callback_DrawContext_CustomSpanDrawInfo_Void GetOnDrawImpl(Ark_CustomSpan peer) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getWindowX("); + string out("getOnDraw("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - void SetWindowXImpl(Ark_ClickEvent peer, - const Ark_Number* windowX) + void SetOnDrawImpl(Ark_CustomSpan peer, + const Callback_DrawContext_CustomSpanDrawInfo_Void* onDraw) { if (!needGroupedLog(1)) { return; } - string out("setWindowX("); - WriteToString(&out, windowX); + string out("setOnDraw("); + WriteToString(&out, onDraw); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetWindowYImpl(Ark_ClickEvent peer) + } // CustomSpanAccessor + namespace DataResubmissionHandlerAccessor { + void DestroyPeerImpl(Ark_DataResubmissionHandler peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getWindowY("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetWindowYImpl(Ark_ClickEvent peer, - const Ark_Number* windowY) + Ark_DataResubmissionHandler ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setWindowY("); - WriteToString(&out, windowY); + string out("new DataResubmissionHandler("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_Number GetXImpl(Ark_ClickEvent peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {42}; + return fnPtr(dummyClassFinalizer); } - string out("getX("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {42}; + return fnPtr(dummyClassFinalizer); } - void SetXImpl(Ark_ClickEvent peer, - const Ark_Number* x) + void ResendImpl(Ark_DataResubmissionHandler peer) { if (!needGroupedLog(1)) { return; } - string out("setX("); - WriteToString(&out, x); + string out("resend("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetYImpl(Ark_ClickEvent peer) + void CancelImpl(Ark_DataResubmissionHandler peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getY("); + string out("cancel("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetYImpl(Ark_ClickEvent peer, - const Ark_Number* y) + } // DataResubmissionHandlerAccessor + namespace DatePickerDialogAccessor { + void DestroyPeerImpl(Ark_DatePickerDialog peer) { if (!needGroupedLog(1)) { return; } - string out("setY("); - WriteToString(&out, y); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Opt_InteractionHand GetHandImpl(Ark_ClickEvent peer) + Ark_DatePickerDialog ConstructImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getHand("); + string out("new DatePickerDialog("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - void SetHandImpl(Ark_ClickEvent peer, - const Opt_InteractionHand* hand) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setHand("); - WriteToString(&out, hand); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Callback_Void GetPreventDefaultImpl(Ark_ClickEvent peer) + } // DatePickerDialogAccessor + namespace DecorationStyleAccessor { + void DestroyPeerImpl(Ark_DecorationStyle peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getPreventDefault("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetPreventDefaultImpl(Ark_ClickEvent peer, - const Callback_Void* preventDefault) + Ark_DecorationStyle ConstructImpl(const Ark_DecorationStyleInterface* value) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setPreventDefault("); - WriteToString(&out, preventDefault); + string out("new DecorationStyle("); + WriteToString(&out, value); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - } // ClickEventAccessor - namespace ColorContentAccessor { - void DestroyPeerImpl(Ark_ColorContent peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("destroyPeer("); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_ColorContent ConstructImpl() + Ark_TextDecorationType GetTypeImpl(Ark_DecorationStyle peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new ColorContent("); + string out("getType("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + Opt_ResourceColor GetColorImpl(Ark_DecorationStyle peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getColor("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - Ark_ColorContent GetORIGINImpl() + Opt_TextDecorationStyle GetStyleImpl(Ark_DecorationStyle peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("getORIGIN("); + string out("getStyle("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - } // ColorContentAccessor - namespace ColorFilterAccessor { - void DestroyPeerImpl(Ark_ColorFilter peer) + } // DecorationStyleAccessor + namespace DisappearSymbolEffectAccessor { + void DestroyPeerImpl(Ark_DisappearSymbolEffect peer) { if (!needGroupedLog(1)) { @@ -24694,18 +27997,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_ColorFilter ConstructImpl(const Array_Number* value) + Ark_DisappearSymbolEffect ConstructImpl(const Opt_EffectScope* scope) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new ColorFilter("); - WriteToString(&out, value); + string out("new DisappearSymbolEffect("); + WriteToString(&out, scope); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -24719,9 +28022,33 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - } // ColorFilterAccessor - namespace ColorMetricsAccessor { - void DestroyPeerImpl(Ark_ColorMetrics peer) + Opt_EffectScope GetScopeImpl(Ark_DisappearSymbolEffect peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getScope("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetScopeImpl(Ark_DisappearSymbolEffect peer, + const Opt_EffectScope* scope) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setScope("); + WriteToString(&out, scope); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // DisappearSymbolEffectAccessor + namespace DismissDialogActionAccessor { + void DestroyPeerImpl(Ark_DismissDialogAction peer) { if (!needGroupedLog(1)) { @@ -24731,17 +28058,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_ColorMetrics ConstructImpl() + Ark_DismissDialogAction ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new ColorMetrics("); + string out("new DismissDialogAction("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -24755,131 +28082,113 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_ColorMetrics NumericImpl(const Ark_Number* value) + void DismissImpl(Ark_DismissDialogAction peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("numeric("); - WriteToString(&out, value); + string out("dismiss("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_ColorMetrics RgbaImpl(const Ark_Number* red, - const Ark_Number* green, - const Ark_Number* blue, - const Ark_Number* alpha) + Ark_DismissReason GetReasonImpl(Ark_DismissDialogAction peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("rgba("); - WriteToString(&out, red); - out.append(", "); - WriteToString(&out, green); - out.append(", "); - WriteToString(&out, blue); - out.append(", "); - WriteToString(&out, alpha); + string out("getReason("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - Ark_ColorMetrics ResourceColorImpl(const Ark_ResourceColor* color) + void SetReasonImpl(Ark_DismissDialogAction peer, + Ark_DismissReason reason) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("resourceColor("); - WriteToString(&out, color); + string out("setReason("); + WriteToString(&out, reason); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_ColorMetrics BlendColorImpl(Ark_ColorMetrics peer, - Ark_ColorMetrics overlayColor) + } // DismissDialogActionAccessor + namespace DismissPopupActionAccessor { + void DestroyPeerImpl(Ark_DismissPopupAction peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("blendColor("); - WriteToString(&out, overlayColor); + string out("destroyPeer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_String ColorImpl(Ark_ColorMetrics peer) + Ark_DismissPopupAction ConstructImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("color("); + string out("new DismissPopupAction("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - Ark_Number RedImpl(Ark_ColorMetrics peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {42}; + return fnPtr(dummyClassFinalizer); } - string out("red("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {42}; + return fnPtr(dummyClassFinalizer); } - Ark_Number GreenImpl(Ark_ColorMetrics peer) + void DismissImpl(Ark_DismissPopupAction peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("green("); + string out("dismiss("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Number BlueImpl(Ark_ColorMetrics peer) + Ark_DismissReason GetReasonImpl(Ark_DismissPopupAction peer) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("blue("); + string out("getReason("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - Ark_Number AlphaImpl(Ark_ColorMetrics peer) + void SetReasonImpl(Ark_DismissPopupAction peer, + Ark_DismissReason reason) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("alpha("); + string out("setReason("); + WriteToString(&out, reason); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - } // ColorMetricsAccessor - namespace common_ContextAccessor { - void DestroyPeerImpl(Ark_common_Context peer) + } // DismissPopupActionAccessor + namespace DragEventAccessor { + void DestroyPeerImpl(Ark_DragEvent peer) { if (!needGroupedLog(1)) { @@ -24889,17 +28198,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_common_Context ConstructImpl() + Ark_DragEvent ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new Context("); + string out("new DragEvent("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -24913,306 +28222,261 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_common_Context CreateBundleContextImpl(Ark_VMContext vmContext, - Ark_common_Context peer, - const Ark_String* bundleName) - { - if (!needGroupedLog(1)) - { - return reinterpret_cast(300); - } - string out("createBundleContext("); - WriteToString(&out, bundleName); - out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); - appendGroupedLog(1, out); - return reinterpret_cast(300); - } - Ark_common_Context CreateModuleContext0Impl(Ark_VMContext vmContext, - Ark_common_Context peer, - const Ark_String* moduleName) + Ark_Number GetDisplayXImpl(Ark_DragEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {42}; } - string out("createModuleContext0("); - WriteToString(&out, moduleName); + string out("getDisplayX("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {42}; } - Ark_common_Context CreateModuleContext1Impl(Ark_VMContext vmContext, - Ark_common_Context peer, - const Ark_String* bundleName, - const Ark_String* moduleName) + Ark_Number GetDisplayYImpl(Ark_DragEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {42}; } - string out("createModuleContext1("); - WriteToString(&out, bundleName); - out.append(", "); - WriteToString(&out, moduleName); + string out("getDisplayY("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {42}; } - void GetGroupDir0Impl(Ark_VMContext vmContext, - Ark_common_Context peer, - const Ark_String* dataGroupID, - const Context_getGroupDir_Callback* callback_) + Ark_Number GetWindowXImpl(Ark_DragEvent peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("getGroupDir0("); - WriteToString(&out, dataGroupID); - out.append(", "); - WriteToString(&out, callback_); + string out("getWindowX("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void GetGroupDir1Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_common_Context peer, - const Ark_String* dataGroupID, - const Callback_Opt_String_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_Number GetWindowYImpl(Ark_DragEvent peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("getGroupDir1("); - WriteToString(&out, dataGroupID); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("getWindowY("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_String GetCacheDirImpl(Ark_common_Context peer) + void SetDataImpl(Ark_DragEvent peer, + Ark_unifiedDataChannel_UnifiedData unifiedData) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getCacheDir("); + string out("setData("); + WriteToString(&out, unifiedData); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetCacheDirImpl(Ark_common_Context peer, - const Ark_String* cacheDir) + Ark_unifiedDataChannel_UnifiedData GetDataImpl(Ark_DragEvent peer) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setCacheDir("); - WriteToString(&out, cacheDir); + string out("getData("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_String GetTempDirImpl(Ark_common_Context peer) + Ark_unifiedDataChannel_Summary GetSummaryImpl(Ark_DragEvent peer) { if (!needGroupedLog(1)) { return {}; } - string out("getTempDir("); + string out("getSummary("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetTempDirImpl(Ark_common_Context peer, - const Ark_String* tempDir) + void SetResultImpl(Ark_DragEvent peer, + Ark_DragResult dragResult) { if (!needGroupedLog(1)) { return; } - string out("setTempDir("); - WriteToString(&out, tempDir); + string out("setResult("); + WriteToString(&out, dragResult); out.append(") \n"); appendGroupedLog(1, out); } - Ark_String GetFilesDirImpl(Ark_common_Context peer) + Ark_DragResult GetResultImpl(Ark_DragEvent peer) { if (!needGroupedLog(1)) { return {}; } - string out("getFilesDir("); + string out("getResult("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetFilesDirImpl(Ark_common_Context peer, - const Ark_String* filesDir) - { - if (!needGroupedLog(1)) - { - return; - } - string out("setFilesDir("); - WriteToString(&out, filesDir); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_String GetDatabaseDirImpl(Ark_common_Context peer) + Ark_Rectangle GetPreviewRectImpl(Ark_DragEvent peer) { if (!needGroupedLog(1)) { return {}; } - string out("getDatabaseDir("); + string out("getPreviewRect("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetDatabaseDirImpl(Ark_common_Context peer, - const Ark_String* databaseDir) + Ark_Number GetVelocityXImpl(Ark_DragEvent peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setDatabaseDir("); - WriteToString(&out, databaseDir); + string out("getVelocityX("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_String GetPreferencesDirImpl(Ark_common_Context peer) + Ark_Number GetVelocityYImpl(Ark_DragEvent peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getPreferencesDir("); + string out("getVelocityY("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetPreferencesDirImpl(Ark_common_Context peer, - const Ark_String* preferencesDir) + Ark_Number GetVelocityImpl(Ark_DragEvent peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setPreferencesDir("); - WriteToString(&out, preferencesDir); + string out("getVelocity("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_String GetBundleCodeDirImpl(Ark_common_Context peer) + void ExecuteDropAnimationImpl(Ark_DragEvent peer, + const Callback_Void* customDropAnimation) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getBundleCodeDir("); + string out("executeDropAnimation("); + WriteToString(&out, customDropAnimation); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetBundleCodeDirImpl(Ark_common_Context peer, - const Ark_String* bundleCodeDir) + void EnableInternalDropAnimationImpl(Ark_DragEvent peer, + const Ark_String* configuration) { if (!needGroupedLog(1)) { return; } - string out("setBundleCodeDir("); - WriteToString(&out, bundleCodeDir); + string out("enableInternalDropAnimation("); + WriteToString(&out, configuration); out.append(") \n"); appendGroupedLog(1, out); } - Ark_String GetDistributedFilesDirImpl(Ark_common_Context peer) + Ark_DragBehavior GetDragBehaviorImpl(Ark_DragEvent peer) { if (!needGroupedLog(1)) { return {}; } - string out("getDistributedFilesDir("); + string out("getDragBehavior("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetDistributedFilesDirImpl(Ark_common_Context peer, - const Ark_String* distributedFilesDir) + void SetDragBehaviorImpl(Ark_DragEvent peer, + Ark_DragBehavior dragBehavior) { if (!needGroupedLog(1)) { return; } - string out("setDistributedFilesDir("); - WriteToString(&out, distributedFilesDir); + string out("setDragBehavior("); + WriteToString(&out, dragBehavior); out.append(") \n"); appendGroupedLog(1, out); } - Ark_String GetResourceDirImpl(Ark_common_Context peer) + Ark_Boolean GetUseCustomDropAnimationImpl(Ark_DragEvent peer) { if (!needGroupedLog(1)) { - return {}; + return 0; } - string out("getResourceDir("); + string out("getUseCustomDropAnimation("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {}; + return 0; } - void SetResourceDirImpl(Ark_common_Context peer, - const Ark_String* resourceDir) + void SetUseCustomDropAnimationImpl(Ark_DragEvent peer, + Ark_Boolean useCustomDropAnimation) { if (!needGroupedLog(1)) { return; } - string out("setResourceDir("); - WriteToString(&out, resourceDir); + string out("setUseCustomDropAnimation("); + WriteToString(&out, useCustomDropAnimation); out.append(") \n"); appendGroupedLog(1, out); } - Ark_String GetCloudFileDirImpl(Ark_common_Context peer) + Opt_ModifierKeyStateGetter GetGetModifierKeyStateImpl(Ark_DragEvent peer) { if (!needGroupedLog(1)) { return {}; } - string out("getCloudFileDir("); + string out("getGetModifierKeyState("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetCloudFileDirImpl(Ark_common_Context peer, - const Ark_String* cloudFileDir) + void SetGetModifierKeyStateImpl(Ark_DragEvent peer, + const Opt_ModifierKeyStateGetter* getModifierKeyState) { if (!needGroupedLog(1)) { return; } - string out("setCloudFileDir("); - WriteToString(&out, cloudFileDir); + string out("setGetModifierKeyState("); + WriteToString(&out, getModifierKeyState); out.append(") \n"); appendGroupedLog(1, out); } - } // common_ContextAccessor - namespace CommonShapeAccessor { - void DestroyPeerImpl(Ark_CommonShape peer) + } // DragEventAccessor + namespace DrawableDescriptorAccessor { + void DestroyPeerImpl(Ark_DrawableDescriptor peer) { if (!needGroupedLog(1)) { @@ -25222,17 +28486,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_CommonShape ConstructImpl() + Ark_DrawableDescriptor ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new CommonShape("); + string out("new DrawableDescriptor("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -25246,51 +28510,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_CommonShape OffsetImpl(Ark_CommonShape peer, - const Ark_Position* offset) - { - if (!needGroupedLog(1)) - { - return reinterpret_cast(300); - } - string out("offset("); - WriteToString(&out, offset); - out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); - appendGroupedLog(1, out); - return reinterpret_cast(300); - } - Ark_CommonShape FillImpl(Ark_CommonShape peer, - const Ark_ResourceColor* color) - { - if (!needGroupedLog(1)) - { - return reinterpret_cast(300); - } - string out("fill("); - WriteToString(&out, color); - out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); - appendGroupedLog(1, out); - return reinterpret_cast(300); - } - Ark_CommonShape PositionImpl(Ark_CommonShape peer, - const Ark_Position* position) + Ark_image_PixelMap GetPixelMapImpl(Ark_DrawableDescriptor peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("position("); - WriteToString(&out, position); + string out("getPixelMap("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - } // CommonShapeAccessor - namespace ComponentContentAccessor { - void DestroyPeerImpl(Ark_ComponentContent peer) + } // DrawableDescriptorAccessor + namespace DrawContextAccessor { + void DestroyPeerImpl(Ark_DrawContext peer) { if (!needGroupedLog(1)) { @@ -25300,17 +28534,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_ComponentContent ConstructImpl() + Ark_DrawContext ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new ComponentContent("); + string out("new DrawContext("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -25324,976 +28558,1140 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void UpdateImpl(Ark_ComponentContent peer, - const Ark_Object* args) + Ark_Size SizeImpl(Ark_DrawContext peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("update("); - WriteToString(&out, args); + string out("size("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void ReuseImpl(Ark_ComponentContent peer, - const Opt_Object* param) + Ark_Size SizeInPixelImpl(Ark_DrawContext peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("reuse("); - WriteToString(&out, param); + string out("sizeInPixel("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void RecycleImpl(Ark_ComponentContent peer) + Ark_drawing_Canvas CanvasImpl(Ark_DrawContext peer) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("recycle("); + string out("canvas("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void DisposeImpl(Ark_ComponentContent peer) + } // DrawContextAccessor + namespace drawing_BrushAccessor { + void DestroyPeerImpl(Ark_drawing_Brush peer) { if (!needGroupedLog(1)) { return; } - string out("dispose("); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void UpdateConfigurationImpl(Ark_ComponentContent peer) + Ark_drawing_Brush Construct0Impl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("updateConfiguration("); + string out("construct0("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - } // ComponentContentAccessor - namespace ContentModifierHelperAccessor { - void ContentModifierButtonImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const ButtonModifierBuilder* builder) + Ark_drawing_Brush Construct1Impl(Ark_drawing_Brush brush) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("contentModifierButton("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, contentModifier); - out.append(", "); - WriteToString(&out, builder); + string out("construct1("); + WriteToString(&out, brush); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void ResetContentModifierButtonImpl(Ark_NativePointer node) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("resetContentModifierButton("); - WriteToString(&out, node); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void ContentModifierCheckBoxImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const CheckBoxModifierBuilder* builder) + void SetColor0Impl(Ark_drawing_Brush peer, + const Ark_common2D_Color* color) { if (!needGroupedLog(1)) { return; } - string out("contentModifierCheckBox("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, contentModifier); - out.append(", "); - WriteToString(&out, builder); + string out("setColor0("); + WriteToString(&out, color); out.append(") \n"); appendGroupedLog(1, out); } - void ResetContentModifierCheckBoxImpl(Ark_NativePointer node) + void SetColor1Impl(Ark_drawing_Brush peer, + const Ark_Number* color) { if (!needGroupedLog(1)) { return; } - string out("resetContentModifierCheckBox("); - WriteToString(&out, node); + string out("setColor1("); + WriteToString(&out, color); out.append(") \n"); appendGroupedLog(1, out); } - void ContentModifierDataPanelImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const DataPanelModifierBuilder* builder) + void SetColor2Impl(Ark_drawing_Brush peer, + const Ark_Number* alpha, + const Ark_Number* red, + const Ark_Number* green, + const Ark_Number* blue) { if (!needGroupedLog(1)) { return; } - string out("contentModifierDataPanel("); - WriteToString(&out, node); + string out("setColor2("); + WriteToString(&out, alpha); out.append(", "); - WriteToString(&out, contentModifier); + WriteToString(&out, red); out.append(", "); - WriteToString(&out, builder); + WriteToString(&out, green); + out.append(", "); + WriteToString(&out, blue); out.append(") \n"); appendGroupedLog(1, out); } - void ResetContentModifierDataPanelImpl(Ark_NativePointer node) + Ark_common2D_Color GetColorImpl(Ark_drawing_Brush peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("resetContentModifierDataPanel("); - WriteToString(&out, node); + string out("getColor("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void ContentModifierGaugeImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const GaugeModifierBuilder* builder) + Ark_Number GetHexColorImpl(Ark_drawing_Brush peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("contentModifierGauge("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, contentModifier); - out.append(", "); - WriteToString(&out, builder); + string out("getHexColor("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void ResetContentModifierGaugeImpl(Ark_NativePointer node) + void SetAntiAliasImpl(Ark_drawing_Brush peer, + Ark_Boolean aa) { if (!needGroupedLog(1)) { return; } - string out("resetContentModifierGauge("); - WriteToString(&out, node); + string out("setAntiAlias("); + WriteToString(&out, aa); out.append(") \n"); appendGroupedLog(1, out); } - void ContentModifierLoadingProgressImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const LoadingProgressModifierBuilder* builder) + Ark_Boolean IsAntiAliasImpl(Ark_drawing_Brush peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("contentModifierLoadingProgress("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, contentModifier); - out.append(", "); - WriteToString(&out, builder); + string out("isAntiAlias("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - void ResetContentModifierLoadingProgressImpl(Ark_NativePointer node) + void SetAlphaImpl(Ark_drawing_Brush peer, + const Ark_Number* alpha) { if (!needGroupedLog(1)) { return; } - string out("resetContentModifierLoadingProgress("); - WriteToString(&out, node); + string out("setAlpha("); + WriteToString(&out, alpha); out.append(") \n"); appendGroupedLog(1, out); } - void ContentModifierProgressImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const ProgressModifierBuilder* builder) + Ark_Number GetAlphaImpl(Ark_drawing_Brush peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("contentModifierProgress("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, contentModifier); - out.append(", "); - WriteToString(&out, builder); + string out("getAlpha("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void ResetContentModifierProgressImpl(Ark_NativePointer node) + void SetColorFilterImpl(Ark_drawing_Brush peer, + Ark_drawing_ColorFilter filter) { if (!needGroupedLog(1)) { return; } - string out("resetContentModifierProgress("); - WriteToString(&out, node); + string out("setColorFilter("); + WriteToString(&out, filter); out.append(") \n"); appendGroupedLog(1, out); } - void ContentModifierRadioImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const RadioModifierBuilder* builder) + Ark_drawing_ColorFilter GetColorFilterImpl(Ark_drawing_Brush peer) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("contentModifierRadio("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, contentModifier); - out.append(", "); - WriteToString(&out, builder); + string out("getColorFilter("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void ResetContentModifierRadioImpl(Ark_NativePointer node) + void SetImageFilterImpl(Ark_drawing_Brush peer, + const Opt_drawing_ImageFilter* filter) { if (!needGroupedLog(1)) { return; } - string out("resetContentModifierRadio("); - WriteToString(&out, node); + string out("setImageFilter("); + WriteToString(&out, filter); out.append(") \n"); appendGroupedLog(1, out); } - void ContentModifierRatingImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const RatingModifierBuilder* builder) + void SetMaskFilterImpl(Ark_drawing_Brush peer, + Ark_drawing_MaskFilter filter) { if (!needGroupedLog(1)) { return; } - string out("contentModifierRating("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, contentModifier); - out.append(", "); - WriteToString(&out, builder); + string out("setMaskFilter("); + WriteToString(&out, filter); out.append(") \n"); appendGroupedLog(1, out); } - void ResetContentModifierRatingImpl(Ark_NativePointer node) + void SetShadowLayerImpl(Ark_drawing_Brush peer, + Ark_drawing_ShadowLayer shadowLayer) { if (!needGroupedLog(1)) { return; } - string out("resetContentModifierRating("); - WriteToString(&out, node); + string out("setShadowLayer("); + WriteToString(&out, shadowLayer); out.append(") \n"); appendGroupedLog(1, out); } - void ContentModifierMenuItemImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const MenuItemModifierBuilder* builder) + void SetShaderEffectImpl(Ark_drawing_Brush peer, + Ark_drawing_ShaderEffect shaderEffect) { if (!needGroupedLog(1)) { return; } - string out("contentModifierMenuItem("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, contentModifier); - out.append(", "); - WriteToString(&out, builder); + string out("setShaderEffect("); + WriteToString(&out, shaderEffect); out.append(") \n"); appendGroupedLog(1, out); } - void ResetContentModifierMenuItemImpl(Ark_NativePointer node) + void SetBlendModeImpl(Ark_drawing_Brush peer, + Ark_drawing_BlendMode mode) { if (!needGroupedLog(1)) { return; } - string out("resetContentModifierMenuItem("); - WriteToString(&out, node); + string out("setBlendMode("); + WriteToString(&out, mode); out.append(") \n"); appendGroupedLog(1, out); } - void ContentModifierSliderImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const SliderModifierBuilder* builder) + void ResetImpl(Ark_drawing_Brush peer) { if (!needGroupedLog(1)) { return; } - string out("contentModifierSlider("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, contentModifier); - out.append(", "); - WriteToString(&out, builder); + string out("reset("); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // drawing_BrushAccessor + namespace drawing_CanvasAccessor { + void DestroyPeerImpl(Ark_drawing_Canvas peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void ResetContentModifierSliderImpl(Ark_NativePointer node) + Ark_drawing_Canvas ConstructImpl(Ark_image_PixelMap pixelmap) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("resetContentModifierSlider("); - WriteToString(&out, node); + string out("new Canvas("); + WriteToString(&out, pixelmap); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void ContentModifierTextClockImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const TextClockModifierBuilder* builder) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("contentModifierTextClock("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, contentModifier); - out.append(", "); - WriteToString(&out, builder); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void ResetContentModifierTextClockImpl(Ark_NativePointer node) + void DrawRect0Impl(Ark_drawing_Canvas peer, + const Ark_common2D_Rect* rect) { if (!needGroupedLog(1)) { return; } - string out("resetContentModifierTextClock("); - WriteToString(&out, node); + string out("drawRect0("); + WriteToString(&out, rect); out.append(") \n"); appendGroupedLog(1, out); } - void ContentModifierTextTimerImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const TextTimerModifierBuilder* builder) + void DrawRect1Impl(Ark_drawing_Canvas peer, + const Ark_Number* left, + const Ark_Number* top, + const Ark_Number* right, + const Ark_Number* bottom) { if (!needGroupedLog(1)) { return; } - string out("contentModifierTextTimer("); - WriteToString(&out, node); + string out("drawRect1("); + WriteToString(&out, left); out.append(", "); - WriteToString(&out, contentModifier); + WriteToString(&out, top); out.append(", "); - WriteToString(&out, builder); + WriteToString(&out, right); + out.append(", "); + WriteToString(&out, bottom); out.append(") \n"); appendGroupedLog(1, out); } - void ResetContentModifierTextTimerImpl(Ark_NativePointer node) + void DrawRoundRectImpl(Ark_drawing_Canvas peer, + Ark_drawing_RoundRect roundRect) { if (!needGroupedLog(1)) { return; } - string out("resetContentModifierTextTimer("); - WriteToString(&out, node); + string out("drawRoundRect("); + WriteToString(&out, roundRect); out.append(") \n"); appendGroupedLog(1, out); } - void ContentModifierToggleImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const ToggleModifierBuilder* builder) + void DrawNestedRoundRectImpl(Ark_drawing_Canvas peer, + Ark_drawing_RoundRect outer, + Ark_drawing_RoundRect inner) { if (!needGroupedLog(1)) { return; } - string out("contentModifierToggle("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, contentModifier); + string out("drawNestedRoundRect("); + WriteToString(&out, outer); out.append(", "); - WriteToString(&out, builder); + WriteToString(&out, inner); out.append(") \n"); appendGroupedLog(1, out); } - void ResetContentModifierToggleImpl(Ark_NativePointer node) + void DrawBackgroundImpl(Ark_drawing_Canvas peer, + Ark_drawing_Brush brush) { if (!needGroupedLog(1)) { return; } - string out("resetContentModifierToggle("); - WriteToString(&out, node); + string out("drawBackground("); + WriteToString(&out, brush); out.append(") \n"); appendGroupedLog(1, out); } - } // ContentModifierHelperAccessor - namespace ContextAccessor { - void DestroyPeerImpl(Ark_Context peer) + void DrawShadow0Impl(Ark_drawing_Canvas peer, + Ark_drawing_Path path, + const Ark_common2D_Point3d* planeParams, + const Ark_common2D_Point3d* devLightPos, + const Ark_Number* lightRadius, + const Ark_common2D_Color* ambientColor, + const Ark_common2D_Color* spotColor, + Ark_drawing_ShadowFlag flag) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("drawShadow0("); + WriteToString(&out, path); + out.append(", "); + WriteToString(&out, planeParams); + out.append(", "); + WriteToString(&out, devLightPos); + out.append(", "); + WriteToString(&out, lightRadius); + out.append(", "); + WriteToString(&out, ambientColor); + out.append(", "); + WriteToString(&out, spotColor); + out.append(", "); + WriteToString(&out, flag); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Context ConstructImpl() + void DrawShadow1Impl(Ark_drawing_Canvas peer, + Ark_drawing_Path path, + const Ark_common2D_Point3d* planeParams, + const Ark_common2D_Point3d* devLightPos, + const Ark_Number* lightRadius, + const Ark_Number* ambientColor, + const Ark_Number* spotColor, + Ark_drawing_ShadowFlag flag) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new Context("); + string out("drawShadow1("); + WriteToString(&out, path); + out.append(", "); + WriteToString(&out, planeParams); + out.append(", "); + WriteToString(&out, devLightPos); + out.append(", "); + WriteToString(&out, lightRadius); + out.append(", "); + WriteToString(&out, ambientColor); + out.append(", "); + WriteToString(&out, spotColor); + out.append(", "); + WriteToString(&out, flag); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void DrawCircleImpl(Ark_drawing_Canvas peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* radius) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("drawCircle("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); + out.append(", "); + WriteToString(&out, radius); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - } // ContextAccessor - namespace curves_ICurveAccessor { - void DestroyPeerImpl(Ark_curves_ICurve peer) + void DrawImageImpl(Ark_drawing_Canvas peer, + Ark_image_PixelMap pixelmap, + const Ark_Number* left, + const Ark_Number* top, + Ark_drawing_SamplingOptions samplingOptions) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("drawImage("); + WriteToString(&out, pixelmap); + out.append(", "); + WriteToString(&out, left); + out.append(", "); + WriteToString(&out, top); + out.append(", "); + WriteToString(&out, samplingOptions); out.append(") \n"); appendGroupedLog(1, out); } - Ark_curves_ICurve ConstructImpl() + void DrawImageRectImpl(Ark_drawing_Canvas peer, + Ark_image_PixelMap pixelmap, + const Ark_common2D_Rect* dstRect, + Ark_drawing_SamplingOptions samplingOptions) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new ICurve("); + string out("drawImageRect("); + WriteToString(&out, pixelmap); + out.append(", "); + WriteToString(&out, dstRect); + out.append(", "); + WriteToString(&out, samplingOptions); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void DrawImageRectWithSrcImpl(Ark_drawing_Canvas peer, + Ark_image_PixelMap pixelmap, + const Ark_common2D_Rect* srcRect, + const Ark_common2D_Rect* dstRect, + Ark_drawing_SamplingOptions samplingOptions, + Ark_drawing_SrcRectConstraint constraint) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("drawImageRectWithSrc("); + WriteToString(&out, pixelmap); + out.append(", "); + WriteToString(&out, srcRect); + out.append(", "); + WriteToString(&out, dstRect); + out.append(", "); + WriteToString(&out, samplingOptions); + out.append(", "); + WriteToString(&out, constraint); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_Number InterpolateImpl(Ark_curves_ICurve peer, - const Ark_Number* fraction) + void DrawColor0Impl(Ark_drawing_Canvas peer, + const Ark_common2D_Color* color, + Ark_drawing_BlendMode blendMode) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("interpolate("); - WriteToString(&out, fraction); + string out("drawColor0("); + WriteToString(&out, color); + out.append(", "); + WriteToString(&out, blendMode); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - } // curves_ICurveAccessor - namespace CustomDialogControllerAccessor { - void DestroyPeerImpl(Ark_CustomDialogController peer) + void DrawColor1Impl(Ark_drawing_Canvas peer, + const Ark_Number* color, + Ark_drawing_BlendMode blendMode) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("drawColor1("); + WriteToString(&out, color); + out.append(", "); + WriteToString(&out, blendMode); out.append(") \n"); appendGroupedLog(1, out); } - Ark_CustomDialogController ConstructImpl(const Ark_CustomDialogControllerOptions* value) + void DrawColor2Impl(Ark_drawing_Canvas peer, + const Ark_Number* alpha, + const Ark_Number* red, + const Ark_Number* green, + const Ark_Number* blue, + Ark_drawing_BlendMode blendMode) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new CustomDialogController("); - WriteToString(&out, value); + string out("drawColor2("); + WriteToString(&out, alpha); + out.append(", "); + WriteToString(&out, red); + out.append(", "); + WriteToString(&out, green); + out.append(", "); + WriteToString(&out, blue); + out.append(", "); + WriteToString(&out, blendMode); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void DrawOvalImpl(Ark_drawing_Canvas peer, + const Ark_common2D_Rect* oval) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("drawOval("); + WriteToString(&out, oval); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void OpenImpl(Ark_CustomDialogController peer) + void DrawArcImpl(Ark_drawing_Canvas peer, + const Ark_common2D_Rect* arc, + const Ark_Number* startAngle, + const Ark_Number* sweepAngle) { if (!needGroupedLog(1)) { return; } - string out("open("); + string out("drawArc("); + WriteToString(&out, arc); + out.append(", "); + WriteToString(&out, startAngle); + out.append(", "); + WriteToString(&out, sweepAngle); out.append(") \n"); appendGroupedLog(1, out); } - void CloseImpl(Ark_CustomDialogController peer) + void DrawPointImpl(Ark_drawing_Canvas peer, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { return; } - string out("close("); + string out("drawPoint("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); appendGroupedLog(1, out); } - } // CustomDialogControllerAccessor - namespace CustomSpanAccessor { - void DestroyPeerImpl(Ark_CustomSpan peer) + void DrawPointsImpl(Ark_drawing_Canvas peer, + const Array_common2D_Point* points, + Ark_drawing_PointMode mode) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("drawPoints("); + WriteToString(&out, points); + out.append(", "); + WriteToString(&out, mode); out.append(") \n"); appendGroupedLog(1, out); } - Ark_CustomSpan ConstructImpl() + void DrawPathImpl(Ark_drawing_Canvas peer, + Ark_drawing_Path path) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new CustomSpan("); + string out("drawPath("); + WriteToString(&out, path); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void DrawLineImpl(Ark_drawing_Canvas peer, + const Ark_Number* x0, + const Ark_Number* y0, + const Ark_Number* x1, + const Ark_Number* y1) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("drawLine("); + WriteToString(&out, x0); + out.append(", "); + WriteToString(&out, y0); + out.append(", "); + WriteToString(&out, x1); + out.append(", "); + WriteToString(&out, y1); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void InvalidateImpl(Ark_CustomSpan peer) + void DrawSingleCharacterImpl(Ark_drawing_Canvas peer, + const Ark_String* text, + Ark_drawing_Font font, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { return; } - string out("invalidate("); + string out("drawSingleCharacter("); + WriteToString(&out, text); + out.append(", "); + WriteToString(&out, font); + out.append(", "); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); appendGroupedLog(1, out); } - Callback_CustomSpanMeasureInfo_CustomSpanMetrics GetOnMeasureImpl(Ark_CustomSpan peer) + void DrawTextBlobImpl(Ark_drawing_Canvas peer, + Ark_drawing_TextBlob blob, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getOnMeasure("); + string out("drawTextBlob("); + WriteToString(&out, blob); + out.append(", "); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetOnMeasureImpl(Ark_CustomSpan peer, - const Callback_CustomSpanMeasureInfo_CustomSpanMetrics* onMeasure) + void DrawPixelMapMeshImpl(Ark_drawing_Canvas peer, + Ark_image_PixelMap pixelmap, + const Ark_Number* meshWidth, + const Ark_Number* meshHeight, + const Array_Number* vertices, + const Ark_Number* vertOffset, + const Array_Number* colors, + const Ark_Number* colorOffset) { if (!needGroupedLog(1)) { return; } - string out("setOnMeasure("); - WriteToString(&out, onMeasure); + string out("drawPixelMapMesh("); + WriteToString(&out, pixelmap); + out.append(", "); + WriteToString(&out, meshWidth); + out.append(", "); + WriteToString(&out, meshHeight); + out.append(", "); + WriteToString(&out, vertices); + out.append(", "); + WriteToString(&out, vertOffset); + out.append(", "); + WriteToString(&out, colors); + out.append(", "); + WriteToString(&out, colorOffset); out.append(") \n"); appendGroupedLog(1, out); } - Callback_DrawContext_CustomSpanDrawInfo_Void GetOnDrawImpl(Ark_CustomSpan peer) + void DrawRegionImpl(Ark_drawing_Canvas peer, + Ark_drawing_Region region) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getOnDraw("); + string out("drawRegion("); + WriteToString(&out, region); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetOnDrawImpl(Ark_CustomSpan peer, - const Callback_DrawContext_CustomSpanDrawInfo_Void* onDraw) + void AttachPenImpl(Ark_drawing_Canvas peer, + Ark_drawing_Pen pen) { if (!needGroupedLog(1)) { return; } - string out("setOnDraw("); - WriteToString(&out, onDraw); + string out("attachPen("); + WriteToString(&out, pen); out.append(") \n"); appendGroupedLog(1, out); } - } // CustomSpanAccessor - namespace DatePickerDialogAccessor { - void DestroyPeerImpl(Ark_DatePickerDialog peer) + void AttachBrushImpl(Ark_drawing_Canvas peer, + Ark_drawing_Brush brush) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("attachBrush("); + WriteToString(&out, brush); out.append(") \n"); appendGroupedLog(1, out); } - Ark_DatePickerDialog ConstructImpl() + void DetachPenImpl(Ark_drawing_Canvas peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new DatePickerDialog("); + string out("detachPen("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void DetachBrushImpl(Ark_drawing_Canvas peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("detachBrush("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - } // DatePickerDialogAccessor - namespace DecorationStyleAccessor { - void DestroyPeerImpl(Ark_DecorationStyle peer) + Ark_Number SaveImpl(Ark_drawing_Canvas peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("destroyPeer("); + string out("save("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_DecorationStyle ConstructImpl(const Ark_DecorationStyleInterface* value) + Ark_Number SaveLayerImpl(Ark_drawing_Canvas peer, + const Opt_common2D_Rect* rect, + const Opt_drawing_Brush* brush) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new DecorationStyle("); - WriteToString(&out, value); + string out("saveLayer("); + WriteToString(&out, rect); + out.append(", "); + WriteToString(&out, brush); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + void Clear0Impl(Ark_drawing_Canvas peer, + const Ark_common2D_Color* color) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("clear0("); + WriteToString(&out, color); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_TextDecorationType GetTypeImpl(Ark_DecorationStyle peer) + void Clear1Impl(Ark_drawing_Canvas peer, + const Ark_Number* color) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getType("); + string out("clear1("); + WriteToString(&out, color); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Opt_ResourceColor GetColorImpl(Ark_DecorationStyle peer) + void RestoreImpl(Ark_drawing_Canvas peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getColor("); + string out("restore("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Opt_TextDecorationStyle GetStyleImpl(Ark_DecorationStyle peer) + void RestoreToCountImpl(Ark_drawing_Canvas peer, + const Ark_Number* count) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getStyle("); + string out("restoreToCount("); + WriteToString(&out, count); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - } // DecorationStyleAccessor - namespace DisappearSymbolEffectAccessor { - void DestroyPeerImpl(Ark_DisappearSymbolEffect peer) + Ark_Number GetSaveCountImpl(Ark_drawing_Canvas peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("destroyPeer("); + string out("getSaveCount("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_DisappearSymbolEffect ConstructImpl(const Opt_EffectScope* scope) + Ark_Number GetWidthImpl(Ark_drawing_Canvas peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new DisappearSymbolEffect("); - WriteToString(&out, scope); + string out("getWidth("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number GetHeightImpl(Ark_drawing_Canvas peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {42}; } - string out("getFinalizer("); + string out("getHeight("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {42}; } - Opt_EffectScope GetScopeImpl(Ark_DisappearSymbolEffect peer) + Ark_common2D_Rect GetLocalClipBoundsImpl(Ark_drawing_Canvas peer) { if (!needGroupedLog(1)) { return {}; } - string out("getScope("); + string out("getLocalClipBounds("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetScopeImpl(Ark_DisappearSymbolEffect peer, - const Opt_EffectScope* scope) + Ark_drawing_Matrix GetTotalMatrixImpl(Ark_drawing_Canvas peer) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setScope("); - WriteToString(&out, scope); + string out("getTotalMatrix("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - } // DisappearSymbolEffectAccessor - namespace DismissDialogActionAccessor { - void DestroyPeerImpl(Ark_DismissDialogAction peer) + void ScaleImpl(Ark_drawing_Canvas peer, + const Ark_Number* sx, + const Ark_Number* sy) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("scale("); + WriteToString(&out, sx); + out.append(", "); + WriteToString(&out, sy); out.append(") \n"); appendGroupedLog(1, out); } - Ark_DismissDialogAction ConstructImpl() + void SkewImpl(Ark_drawing_Canvas peer, + const Ark_Number* sx, + const Ark_Number* sy) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new DismissDialogAction("); + string out("skew("); + WriteToString(&out, sx); + out.append(", "); + WriteToString(&out, sy); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void RotateImpl(Ark_drawing_Canvas peer, + const Ark_Number* degrees, + const Ark_Number* sx, + const Ark_Number* sy) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("rotate("); + WriteToString(&out, degrees); + out.append(", "); + WriteToString(&out, sx); + out.append(", "); + WriteToString(&out, sy); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void DismissImpl(Ark_DismissDialogAction peer) + void TranslateImpl(Ark_drawing_Canvas peer, + const Ark_Number* dx, + const Ark_Number* dy) { if (!needGroupedLog(1)) { return; } - string out("dismiss("); + string out("translate("); + WriteToString(&out, dx); + out.append(", "); + WriteToString(&out, dy); out.append(") \n"); appendGroupedLog(1, out); } - Ark_DismissReason GetReasonImpl(Ark_DismissDialogAction peer) + void ClipPathImpl(Ark_drawing_Canvas peer, + Ark_drawing_Path path, + Ark_drawing_ClipOp clipOp, + Ark_Boolean doAntiAlias) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getReason("); + string out("clipPath("); + WriteToString(&out, path); + out.append(", "); + WriteToString(&out, clipOp); + out.append(", "); + WriteToString(&out, doAntiAlias); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetReasonImpl(Ark_DismissDialogAction peer, - Ark_DismissReason reason) + void ClipRectImpl(Ark_drawing_Canvas peer, + const Ark_common2D_Rect* rect, + Ark_drawing_ClipOp clipOp, + Ark_Boolean doAntiAlias) { if (!needGroupedLog(1)) { return; } - string out("setReason("); - WriteToString(&out, reason); + string out("clipRect("); + WriteToString(&out, rect); + out.append(", "); + WriteToString(&out, clipOp); + out.append(", "); + WriteToString(&out, doAntiAlias); out.append(") \n"); appendGroupedLog(1, out); } - } // DismissDialogActionAccessor - namespace DismissPopupActionAccessor { - void DestroyPeerImpl(Ark_DismissPopupAction peer) + void ConcatMatrixImpl(Ark_drawing_Canvas peer, + Ark_drawing_Matrix matrix) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("concatMatrix("); + WriteToString(&out, matrix); out.append(") \n"); appendGroupedLog(1, out); } - Ark_DismissPopupAction ConstructImpl() + void ClipRegionImpl(Ark_drawing_Canvas peer, + Ark_drawing_Region region, + Ark_drawing_ClipOp clipOp) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new DismissPopupAction("); + string out("clipRegion("); + WriteToString(&out, region); + out.append(", "); + WriteToString(&out, clipOp); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void ClipRoundRectImpl(Ark_drawing_Canvas peer, + Ark_drawing_RoundRect roundRect, + Ark_drawing_ClipOp clipOp, + Ark_Boolean doAntiAlias) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("clipRoundRect("); + WriteToString(&out, roundRect); + out.append(", "); + WriteToString(&out, clipOp); + out.append(", "); + WriteToString(&out, doAntiAlias); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void DismissImpl(Ark_DismissPopupAction peer) + Ark_Boolean IsClipEmptyImpl(Ark_drawing_Canvas peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("dismiss("); + string out("isClipEmpty("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Ark_DismissReason GetReasonImpl(Ark_DismissPopupAction peer) + void SetMatrixImpl(Ark_drawing_Canvas peer, + Ark_drawing_Matrix matrix) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getReason("); + string out("setMatrix("); + WriteToString(&out, matrix); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetReasonImpl(Ark_DismissPopupAction peer, - Ark_DismissReason reason) + void ResetMatrixImpl(Ark_drawing_Canvas peer) { if (!needGroupedLog(1)) { return; } - string out("setReason("); - WriteToString(&out, reason); + string out("resetMatrix("); out.append(") \n"); appendGroupedLog(1, out); } - } // DismissPopupActionAccessor - namespace DragEventAccessor { - void DestroyPeerImpl(Ark_DragEvent peer) + } // drawing_CanvasAccessor + namespace drawing_ColorFilterAccessor { + void DestroyPeerImpl(Ark_drawing_ColorFilter peer) { if (!needGroupedLog(1)) { @@ -26303,17 +29701,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_DragEvent ConstructImpl() + Ark_drawing_ColorFilter ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new DragEvent("); + string out("new ColorFilter("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -26327,641 +29725,643 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Number GetDisplayXImpl(Ark_DragEvent peer) + Ark_drawing_ColorFilter CreateBlendModeColorFilter0Impl(const Ark_common2D_Color* color, + Ark_drawing_BlendMode mode) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("getDisplayX("); + string out("createBlendModeColorFilter0("); + WriteToString(&out, color); + out.append(", "); + WriteToString(&out, mode); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - Ark_Number GetDisplayYImpl(Ark_DragEvent peer) + Ark_drawing_ColorFilter CreateBlendModeColorFilter1Impl(const Ark_Number* color, + Ark_drawing_BlendMode mode) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("getDisplayY("); + string out("createBlendModeColorFilter1("); + WriteToString(&out, color); + out.append(", "); + WriteToString(&out, mode); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - Ark_Number GetWindowXImpl(Ark_DragEvent peer) + Ark_drawing_ColorFilter CreateComposeColorFilterImpl(Ark_drawing_ColorFilter outer, + Ark_drawing_ColorFilter inner) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("getWindowX("); + string out("createComposeColorFilter("); + WriteToString(&out, outer); + out.append(", "); + WriteToString(&out, inner); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - Ark_Number GetWindowYImpl(Ark_DragEvent peer) + Ark_drawing_ColorFilter CreateLinearToSRGBGammaImpl() { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("getWindowY("); + string out("createLinearToSRGBGamma("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - void SetDataImpl(Ark_DragEvent peer, - Ark_unifiedDataChannel_UnifiedData unifiedData) + Ark_drawing_ColorFilter CreateSRGBGammaToLinearImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setData("); - WriteToString(&out, unifiedData); + string out("createSRGBGammaToLinear("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_unifiedDataChannel_UnifiedData GetDataImpl(Ark_DragEvent peer) + Ark_drawing_ColorFilter CreateLumaColorFilterImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("getData("); + string out("createLumaColorFilter("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - Ark_unifiedDataChannel_Summary GetSummaryImpl(Ark_DragEvent peer) + Ark_drawing_ColorFilter CreateMatrixColorFilterImpl(const Array_Number* matrix) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getSummary("); + string out("createMatrixColorFilter("); + WriteToString(&out, matrix); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - void SetResultImpl(Ark_DragEvent peer, - Ark_DragResult dragResult) + } // drawing_ColorFilterAccessor + namespace drawing_FontAccessor { + void DestroyPeerImpl(Ark_drawing_Font peer) { if (!needGroupedLog(1)) { return; } - string out("setResult("); - WriteToString(&out, dragResult); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_DragResult GetResultImpl(Ark_DragEvent peer) - { - if (!needGroupedLog(1)) - { - return {}; - } - string out("getResult("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_Rectangle GetPreviewRectImpl(Ark_DragEvent peer) + Ark_drawing_Font ConstructImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getPreviewRect("); + string out("new Font("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - Ark_Number GetVelocityXImpl(Ark_DragEvent peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {42}; + return fnPtr(dummyClassFinalizer); } - string out("getVelocityX("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {42}; + return fnPtr(dummyClassFinalizer); } - Ark_Number GetVelocityYImpl(Ark_DragEvent peer) + void EnableSubpixelImpl(Ark_drawing_Font peer, + Ark_Boolean isSubpixel) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getVelocityY("); + string out("enableSubpixel("); + WriteToString(&out, isSubpixel); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Number GetVelocityImpl(Ark_DragEvent peer) + void EnableEmboldenImpl(Ark_drawing_Font peer, + Ark_Boolean isEmbolden) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getVelocity("); + string out("enableEmbolden("); + WriteToString(&out, isEmbolden); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void ExecuteDropAnimationImpl(Ark_DragEvent peer, - const Callback_Void* customDropAnimation) + void EnableLinearMetricsImpl(Ark_drawing_Font peer, + Ark_Boolean isLinearMetrics) { if (!needGroupedLog(1)) { return; } - string out("executeDropAnimation("); - WriteToString(&out, customDropAnimation); + string out("enableLinearMetrics("); + WriteToString(&out, isLinearMetrics); out.append(") \n"); appendGroupedLog(1, out); } - void EnableInternalDropAnimationImpl(Ark_DragEvent peer, - const Ark_String* configuration) + void SetSizeImpl(Ark_drawing_Font peer, + const Ark_Number* textSize) { if (!needGroupedLog(1)) { return; } - string out("enableInternalDropAnimation("); - WriteToString(&out, configuration); + string out("setSize("); + WriteToString(&out, textSize); out.append(") \n"); appendGroupedLog(1, out); } - Ark_DragBehavior GetDragBehaviorImpl(Ark_DragEvent peer) + Ark_Number GetSizeImpl(Ark_drawing_Font peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getDragBehavior("); + string out("getSize("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetDragBehaviorImpl(Ark_DragEvent peer, - Ark_DragBehavior dragBehavior) + void SetTypefaceImpl(Ark_drawing_Font peer, + Ark_drawing_Typeface typeface) { if (!needGroupedLog(1)) { return; } - string out("setDragBehavior("); - WriteToString(&out, dragBehavior); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Boolean GetUseCustomDropAnimationImpl(Ark_DragEvent peer) - { - if (!needGroupedLog(1)) - { - return 0; - } - string out("getUseCustomDropAnimation("); + string out("setTypeface("); + WriteToString(&out, typeface); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - void SetUseCustomDropAnimationImpl(Ark_DragEvent peer, - Ark_Boolean useCustomDropAnimation) + Ark_drawing_Typeface GetTypefaceImpl(Ark_drawing_Font peer) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setUseCustomDropAnimation("); - WriteToString(&out, useCustomDropAnimation); + string out("getTypeface("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Opt_ModifierKeyStateGetter GetGetModifierKeyStateImpl(Ark_DragEvent peer) + Ark_drawing_FontMetrics GetMetricsImpl(Ark_drawing_Font peer) { if (!needGroupedLog(1)) { return {}; } - string out("getGetModifierKeyState("); + string out("getMetrics("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetGetModifierKeyStateImpl(Ark_DragEvent peer, - const Opt_ModifierKeyStateGetter* getModifierKeyState) - { - if (!needGroupedLog(1)) - { - return; - } - string out("setGetModifierKeyState("); - WriteToString(&out, getModifierKeyState); - out.append(") \n"); - appendGroupedLog(1, out); - } - } // DragEventAccessor - namespace DrawableDescriptorAccessor { - void DestroyPeerImpl(Ark_DrawableDescriptor peer) - { - if (!needGroupedLog(1)) - { - return; - } - string out("destroyPeer("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_DrawableDescriptor ConstructImpl() + Ark_Number MeasureSingleCharacterImpl(Ark_drawing_Font peer, + const Ark_String* text) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new DrawableDescriptor("); + string out("measureSingleCharacter("); + WriteToString(&out, text); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number MeasureTextImpl(Ark_drawing_Font peer, + const Ark_String* text, + Ark_drawing_TextEncoding encoding) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {42}; } - string out("getFinalizer("); + string out("measureText("); + WriteToString(&out, text); + out.append(", "); + WriteToString(&out, encoding); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {42}; } - Ark_image_PixelMap GetPixelMapImpl(Ark_DrawableDescriptor peer) + void SetScaleXImpl(Ark_drawing_Font peer, + const Ark_Number* scaleX) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getPixelMap("); + string out("setScaleX("); + WriteToString(&out, scaleX); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // DrawableDescriptorAccessor - namespace DrawContextAccessor { - void DestroyPeerImpl(Ark_DrawContext peer) + void SetSkewXImpl(Ark_drawing_Font peer, + const Ark_Number* skewX) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setSkewX("); + WriteToString(&out, skewX); out.append(") \n"); appendGroupedLog(1, out); } - Ark_DrawContext ConstructImpl() + void SetEdgingImpl(Ark_drawing_Font peer, + Ark_drawing_FontEdging edging) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new DrawContext("); + string out("setEdging("); + WriteToString(&out, edging); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void SetHintingImpl(Ark_drawing_Font peer, + Ark_drawing_FontHinting hinting) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setHinting("); + WriteToString(&out, hinting); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_Size SizeImpl(Ark_DrawContext peer) + Ark_Number CountTextImpl(Ark_drawing_Font peer, + const Ark_String* text) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("size("); + string out("countText("); + WriteToString(&out, text); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - Ark_Size SizeInPixelImpl(Ark_DrawContext peer) + void SetBaselineSnapImpl(Ark_drawing_Font peer, + Ark_Boolean isBaselineSnap) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("sizeInPixel("); + string out("setBaselineSnap("); + WriteToString(&out, isBaselineSnap); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_drawing_Canvas CanvasImpl(Ark_DrawContext peer) + Ark_Boolean IsBaselineSnapImpl(Ark_drawing_Font peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return 0; } - string out("canvas("); + string out("isBaselineSnap("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return 0; } - } // DrawContextAccessor - namespace drawing_BrushAccessor { - void DestroyPeerImpl(Ark_drawing_Brush peer) + void SetEmbeddedBitmapsImpl(Ark_drawing_Font peer, + Ark_Boolean isEmbeddedBitmaps) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setEmbeddedBitmaps("); + WriteToString(&out, isEmbeddedBitmaps); out.append(") \n"); appendGroupedLog(1, out); } - Ark_drawing_Brush Construct0Impl() + Ark_Boolean IsEmbeddedBitmapsImpl(Ark_drawing_Font peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return 0; } - string out("construct0("); + string out("isEmbeddedBitmaps("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return 0; } - Ark_drawing_Brush Construct1Impl(Ark_drawing_Brush brush) + void SetForceAutoHintingImpl(Ark_drawing_Font peer, + Ark_Boolean isForceAutoHinting) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("construct1("); - WriteToString(&out, brush); + string out("setForceAutoHinting("); + WriteToString(&out, isForceAutoHinting); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_NativePointer GetFinalizerImpl() + Ark_Boolean IsForceAutoHintingImpl(Ark_drawing_Font peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return 0; } - string out("getFinalizer("); + string out("isForceAutoHinting("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return 0; } - void SetColor0Impl(Ark_drawing_Brush peer, - const Ark_common2D_Color* color) + Array_Number GetWidthsImpl(Ark_drawing_Font peer, + const Array_Number* glyphs) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setColor0("); - WriteToString(&out, color); + string out("getWidths("); + WriteToString(&out, glyphs); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SetColor1Impl(Ark_drawing_Brush peer, - const Ark_Number* color) + Array_Number TextToGlyphsImpl(Ark_drawing_Font peer, + const Ark_String* text, + const Ark_Number* glyphCount) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setColor1("); - WriteToString(&out, color); + string out("textToGlyphs("); + WriteToString(&out, text); + out.append(", "); + WriteToString(&out, glyphCount); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SetColor2Impl(Ark_drawing_Brush peer, - const Ark_Number* alpha, - const Ark_Number* red, - const Ark_Number* green, - const Ark_Number* blue) + Ark_Boolean IsSubpixelImpl(Ark_drawing_Font peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("setColor2("); - WriteToString(&out, alpha); - out.append(", "); - WriteToString(&out, red); - out.append(", "); - WriteToString(&out, green); - out.append(", "); - WriteToString(&out, blue); + string out("isSubpixel("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Ark_common2D_Color GetColorImpl(Ark_drawing_Brush peer) + Ark_Boolean IsLinearMetricsImpl(Ark_drawing_Font peer) { if (!needGroupedLog(1)) { - return {}; + return 0; } - string out("getColor("); + string out("isLinearMetrics("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {}; + return 0; } - Ark_Number GetHexColorImpl(Ark_drawing_Brush peer) + Ark_Number GetSkewXImpl(Ark_drawing_Font peer) { if (!needGroupedLog(1)) { return {42}; } - string out("getHexColor("); + string out("getSkewX("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - void SetAntiAliasImpl(Ark_drawing_Brush peer, - Ark_Boolean aa) + Ark_Boolean IsEmboldenImpl(Ark_drawing_Font peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("setAntiAlias("); - WriteToString(&out, aa); + string out("isEmbolden("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Ark_Boolean IsAntiAliasImpl(Ark_drawing_Brush peer) + Ark_Number GetScaleXImpl(Ark_drawing_Font peer) { if (!needGroupedLog(1)) { - return 0; + return {42}; } - string out("isAntiAlias("); + string out("getScaleX("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return 0; + return {42}; } - void SetAlphaImpl(Ark_drawing_Brush peer, - const Ark_Number* alpha) + Ark_drawing_FontHinting GetHintingImpl(Ark_drawing_Font peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setAlpha("); - WriteToString(&out, alpha); + string out("getHinting("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_Number GetAlphaImpl(Ark_drawing_Brush peer) + Ark_drawing_FontEdging GetEdgingImpl(Ark_drawing_Font peer) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getAlpha("); + string out("getEdging("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - void SetColorFilterImpl(Ark_drawing_Brush peer, - Ark_drawing_ColorFilter filter) + Ark_drawing_Path CreatePathForGlyphImpl(Ark_drawing_Font peer, + const Ark_Number* index) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setColorFilter("); - WriteToString(&out, filter); + string out("createPathForGlyph("); + WriteToString(&out, index); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_drawing_ColorFilter GetColorFilterImpl(Ark_drawing_Brush peer) + Array_common2D_Rect GetBoundsImpl(Ark_drawing_Font peer, + const Array_Number* glyphs) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("getColorFilter("); + string out("getBounds("); + WriteToString(&out, glyphs); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - void SetImageFilterImpl(Ark_drawing_Brush peer, - const Opt_drawing_ImageFilter* filter) + Ark_drawing_Path GetTextPathImpl(Ark_drawing_Font peer, + const Ark_String* text, + const Ark_Number* byteLength, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setImageFilter("); - WriteToString(&out, filter); + string out("getTextPath("); + WriteToString(&out, text); + out.append(", "); + WriteToString(&out, byteLength); + out.append(", "); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void SetMaskFilterImpl(Ark_drawing_Brush peer, - Ark_drawing_MaskFilter filter) + } // drawing_FontAccessor + namespace drawing_ImageFilterAccessor { + void DestroyPeerImpl(Ark_drawing_ImageFilter peer) { if (!needGroupedLog(1)) { return; } - string out("setMaskFilter("); - WriteToString(&out, filter); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void SetShadowLayerImpl(Ark_drawing_Brush peer, - Ark_drawing_ShadowLayer shadowLayer) + Ark_drawing_ImageFilter ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setShadowLayer("); - WriteToString(&out, shadowLayer); + string out("new ImageFilter("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void SetShaderEffectImpl(Ark_drawing_Brush peer, - Ark_drawing_ShaderEffect shaderEffect) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setShaderEffect("); - WriteToString(&out, shaderEffect); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void SetBlendModeImpl(Ark_drawing_Brush peer, - Ark_drawing_BlendMode mode) + Ark_drawing_ImageFilter CreateBlurImageFilterImpl(const Ark_Number* sigmaX, + const Ark_Number* sigmaY, + Ark_drawing_TileMode tileMode, + const Opt_drawing_ImageFilter* imageFilter) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setBlendMode("); - WriteToString(&out, mode); + string out("createBlurImageFilter("); + WriteToString(&out, sigmaX); + out.append(", "); + WriteToString(&out, sigmaY); + out.append(", "); + WriteToString(&out, tileMode); + out.append(", "); + WriteToString(&out, imageFilter); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void ResetImpl(Ark_drawing_Brush peer) + Ark_drawing_ImageFilter CreateFromColorFilterImpl(Ark_drawing_ColorFilter colorFilter, + const Opt_drawing_ImageFilter* imageFilter) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("reset("); + string out("createFromColorFilter("); + WriteToString(&out, colorFilter); + out.append(", "); + WriteToString(&out, imageFilter); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - } // drawing_BrushAccessor - namespace drawing_CanvasAccessor { - void DestroyPeerImpl(Ark_drawing_Canvas peer) + } // drawing_ImageFilterAccessor + namespace drawing_LatticeAccessor { + void DestroyPeerImpl(Ark_drawing_Lattice peer) { if (!needGroupedLog(1)) { @@ -26971,18 +30371,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_drawing_Canvas ConstructImpl(Ark_image_PixelMap pixelmap) + Ark_drawing_Lattice ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new Canvas("); - WriteToString(&out, pixelmap); + string out("new Lattice("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -26996,940 +30395,1051 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void DrawRect0Impl(Ark_drawing_Canvas peer, - const Ark_common2D_Rect* rect) + Ark_drawing_Lattice CreateImageLatticeImpl(const Array_Number* xDivs, + const Array_Number* yDivs, + const Ark_Number* fXCount, + const Ark_Number* fYCount, + const Opt_common2D_Rect* fBounds, + const Opt_Array_drawing_RectType* fRectTypes, + const Opt_Array_CustomObject* fColors) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("drawRect0("); - WriteToString(&out, rect); + string out("createImageLattice("); + WriteToString(&out, xDivs); + out.append(", "); + WriteToString(&out, yDivs); + out.append(", "); + WriteToString(&out, fXCount); + out.append(", "); + WriteToString(&out, fYCount); + out.append(", "); + WriteToString(&out, fBounds); + out.append(", "); + WriteToString(&out, fRectTypes); + out.append(", "); + WriteToString(&out, fColors); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void DrawRect1Impl(Ark_drawing_Canvas peer, - const Ark_Number* left, - const Ark_Number* top, - const Ark_Number* right, - const Ark_Number* bottom) + } // drawing_LatticeAccessor + namespace drawing_MaskFilterAccessor { + void DestroyPeerImpl(Ark_drawing_MaskFilter peer) { if (!needGroupedLog(1)) { return; } - string out("drawRect1("); - WriteToString(&out, left); - out.append(", "); - WriteToString(&out, top); - out.append(", "); - WriteToString(&out, right); - out.append(", "); - WriteToString(&out, bottom); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void DrawRoundRectImpl(Ark_drawing_Canvas peer, - Ark_drawing_RoundRect roundRect) + Ark_drawing_MaskFilter ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("drawRoundRect("); - WriteToString(&out, roundRect); + string out("new MaskFilter("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void DrawNestedRoundRectImpl(Ark_drawing_Canvas peer, - Ark_drawing_RoundRect outer, - Ark_drawing_RoundRect inner) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("drawNestedRoundRect("); - WriteToString(&out, outer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + Ark_drawing_MaskFilter CreateBlurMaskFilterImpl(Ark_drawing_BlurType blurType, + const Ark_Number* sigma) + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(300); + } + string out("createBlurMaskFilter("); + WriteToString(&out, blurType); out.append(", "); - WriteToString(&out, inner); + WriteToString(&out, sigma); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void DrawBackgroundImpl(Ark_drawing_Canvas peer, - Ark_drawing_Brush brush) + } // drawing_MaskFilterAccessor + namespace drawing_MatrixAccessor { + void DestroyPeerImpl(Ark_drawing_Matrix peer) { if (!needGroupedLog(1)) { return; } - string out("drawBackground("); - WriteToString(&out, brush); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void DrawShadow0Impl(Ark_drawing_Canvas peer, - Ark_drawing_Path path, - const Ark_common2D_Point3d* planeParams, - const Ark_common2D_Point3d* devLightPos, - const Ark_Number* lightRadius, - const Ark_common2D_Color* ambientColor, - const Ark_common2D_Color* spotColor, - Ark_drawing_ShadowFlag flag) + Ark_drawing_Matrix ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("drawShadow0("); - WriteToString(&out, path); - out.append(", "); - WriteToString(&out, planeParams); - out.append(", "); - WriteToString(&out, devLightPos); - out.append(", "); - WriteToString(&out, lightRadius); - out.append(", "); - WriteToString(&out, ambientColor); - out.append(", "); - WriteToString(&out, spotColor); - out.append(", "); - WriteToString(&out, flag); + string out("new Matrix("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void DrawShadow1Impl(Ark_drawing_Canvas peer, - Ark_drawing_Path path, - const Ark_common2D_Point3d* planeParams, - const Ark_common2D_Point3d* devLightPos, - const Ark_Number* lightRadius, - const Ark_Number* ambientColor, - const Ark_Number* spotColor, - Ark_drawing_ShadowFlag flag) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("drawShadow1("); - WriteToString(&out, path); - out.append(", "); - WriteToString(&out, planeParams); - out.append(", "); - WriteToString(&out, devLightPos); - out.append(", "); - WriteToString(&out, lightRadius); - out.append(", "); - WriteToString(&out, ambientColor); - out.append(", "); - WriteToString(&out, spotColor); - out.append(", "); - WriteToString(&out, flag); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void DrawCircleImpl(Ark_drawing_Canvas peer, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* radius) + void SetRotationImpl(Ark_drawing_Matrix peer, + const Ark_Number* degree, + const Ark_Number* px, + const Ark_Number* py) { if (!needGroupedLog(1)) { return; } - string out("drawCircle("); - WriteToString(&out, x); + string out("setRotation("); + WriteToString(&out, degree); out.append(", "); - WriteToString(&out, y); + WriteToString(&out, px); out.append(", "); - WriteToString(&out, radius); + WriteToString(&out, py); out.append(") \n"); appendGroupedLog(1, out); } - void DrawImageImpl(Ark_drawing_Canvas peer, - Ark_image_PixelMap pixelmap, - const Ark_Number* left, - const Ark_Number* top, - Ark_drawing_SamplingOptions samplingOptions) + void SetScaleImpl(Ark_drawing_Matrix peer, + const Ark_Number* sx, + const Ark_Number* sy, + const Ark_Number* px, + const Ark_Number* py) { if (!needGroupedLog(1)) { return; } - string out("drawImage("); - WriteToString(&out, pixelmap); + string out("setScale("); + WriteToString(&out, sx); out.append(", "); - WriteToString(&out, left); + WriteToString(&out, sy); out.append(", "); - WriteToString(&out, top); + WriteToString(&out, px); out.append(", "); - WriteToString(&out, samplingOptions); + WriteToString(&out, py); out.append(") \n"); appendGroupedLog(1, out); } - void DrawImageRectImpl(Ark_drawing_Canvas peer, - Ark_image_PixelMap pixelmap, - const Ark_common2D_Rect* dstRect, - Ark_drawing_SamplingOptions samplingOptions) + void SetTranslationImpl(Ark_drawing_Matrix peer, + const Ark_Number* dx, + const Ark_Number* dy) { if (!needGroupedLog(1)) { return; } - string out("drawImageRect("); - WriteToString(&out, pixelmap); - out.append(", "); - WriteToString(&out, dstRect); + string out("setTranslation("); + WriteToString(&out, dx); out.append(", "); - WriteToString(&out, samplingOptions); + WriteToString(&out, dy); out.append(") \n"); appendGroupedLog(1, out); } - void DrawImageRectWithSrcImpl(Ark_drawing_Canvas peer, - Ark_image_PixelMap pixelmap, - const Ark_common2D_Rect* srcRect, - const Ark_common2D_Rect* dstRect, - Ark_drawing_SamplingOptions samplingOptions, - Ark_drawing_SrcRectConstraint constraint) + void SetMatrixImpl(Ark_drawing_Matrix peer, + const Array_Number* values) { if (!needGroupedLog(1)) { return; } - string out("drawImageRectWithSrc("); - WriteToString(&out, pixelmap); - out.append(", "); - WriteToString(&out, srcRect); - out.append(", "); - WriteToString(&out, dstRect); - out.append(", "); - WriteToString(&out, samplingOptions); - out.append(", "); - WriteToString(&out, constraint); + string out("setMatrix("); + WriteToString(&out, values); out.append(") \n"); appendGroupedLog(1, out); } - void DrawColor0Impl(Ark_drawing_Canvas peer, - const Ark_common2D_Color* color, - Ark_drawing_BlendMode blendMode) + void PreConcatImpl(Ark_drawing_Matrix peer, + Ark_drawing_Matrix matrix) { if (!needGroupedLog(1)) { return; } - string out("drawColor0("); - WriteToString(&out, color); - out.append(", "); - WriteToString(&out, blendMode); + string out("preConcat("); + WriteToString(&out, matrix); out.append(") \n"); appendGroupedLog(1, out); } - void DrawColor1Impl(Ark_drawing_Canvas peer, - const Ark_Number* color, - Ark_drawing_BlendMode blendMode) + Ark_Boolean IsEqualImpl(Ark_drawing_Matrix peer, + Ark_drawing_Matrix matrix) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("drawColor1("); - WriteToString(&out, color); - out.append(", "); - WriteToString(&out, blendMode); + string out("isEqual("); + WriteToString(&out, matrix); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - void DrawColor2Impl(Ark_drawing_Canvas peer, - const Ark_Number* alpha, - const Ark_Number* red, - const Ark_Number* green, - const Ark_Number* blue, - Ark_drawing_BlendMode blendMode) + Ark_Boolean InvertImpl(Ark_drawing_Matrix peer, + Ark_drawing_Matrix matrix) + { + if (!needGroupedLog(1)) + { + return 0; + } + string out("invert("); + WriteToString(&out, matrix); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_Boolean IsIdentityImpl(Ark_drawing_Matrix peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("drawColor2("); - WriteToString(&out, alpha); - out.append(", "); - WriteToString(&out, red); - out.append(", "); - WriteToString(&out, green); - out.append(", "); - WriteToString(&out, blue); - out.append(", "); - WriteToString(&out, blendMode); + string out("isIdentity("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - void DrawOvalImpl(Ark_drawing_Canvas peer, - const Ark_common2D_Rect* oval) + Ark_Number GetValueImpl(Ark_drawing_Matrix peer, + const Ark_Number* index) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("drawOval("); - WriteToString(&out, oval); + string out("getValue("); + WriteToString(&out, index); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void DrawArcImpl(Ark_drawing_Canvas peer, - const Ark_common2D_Rect* arc, - const Ark_Number* startAngle, - const Ark_Number* sweepAngle) + void PostRotateImpl(Ark_drawing_Matrix peer, + const Ark_Number* degree, + const Ark_Number* px, + const Ark_Number* py) { if (!needGroupedLog(1)) { return; } - string out("drawArc("); - WriteToString(&out, arc); + string out("postRotate("); + WriteToString(&out, degree); out.append(", "); - WriteToString(&out, startAngle); + WriteToString(&out, px); out.append(", "); - WriteToString(&out, sweepAngle); + WriteToString(&out, py); out.append(") \n"); appendGroupedLog(1, out); } - void DrawPointImpl(Ark_drawing_Canvas peer, - const Ark_Number* x, - const Ark_Number* y) + void PostScaleImpl(Ark_drawing_Matrix peer, + const Ark_Number* sx, + const Ark_Number* sy, + const Ark_Number* px, + const Ark_Number* py) { if (!needGroupedLog(1)) { return; } - string out("drawPoint("); - WriteToString(&out, x); + string out("postScale("); + WriteToString(&out, sx); out.append(", "); - WriteToString(&out, y); + WriteToString(&out, sy); + out.append(", "); + WriteToString(&out, px); + out.append(", "); + WriteToString(&out, py); out.append(") \n"); appendGroupedLog(1, out); } - void DrawPointsImpl(Ark_drawing_Canvas peer, - const Array_common2D_Point* points, - Ark_drawing_PointMode mode) + void PostTranslateImpl(Ark_drawing_Matrix peer, + const Ark_Number* dx, + const Ark_Number* dy) { if (!needGroupedLog(1)) { return; } - string out("drawPoints("); - WriteToString(&out, points); + string out("postTranslate("); + WriteToString(&out, dx); out.append(", "); - WriteToString(&out, mode); + WriteToString(&out, dy); out.append(") \n"); appendGroupedLog(1, out); } - void DrawPathImpl(Ark_drawing_Canvas peer, - Ark_drawing_Path path) + void PreRotateImpl(Ark_drawing_Matrix peer, + const Ark_Number* degree, + const Ark_Number* px, + const Ark_Number* py) { if (!needGroupedLog(1)) { return; } - string out("drawPath("); - WriteToString(&out, path); + string out("preRotate("); + WriteToString(&out, degree); + out.append(", "); + WriteToString(&out, px); + out.append(", "); + WriteToString(&out, py); out.append(") \n"); appendGroupedLog(1, out); } - void DrawLineImpl(Ark_drawing_Canvas peer, - const Ark_Number* x0, - const Ark_Number* y0, - const Ark_Number* x1, - const Ark_Number* y1) + void PreScaleImpl(Ark_drawing_Matrix peer, + const Ark_Number* sx, + const Ark_Number* sy, + const Ark_Number* px, + const Ark_Number* py) { if (!needGroupedLog(1)) { return; } - string out("drawLine("); - WriteToString(&out, x0); + string out("preScale("); + WriteToString(&out, sx); out.append(", "); - WriteToString(&out, y0); + WriteToString(&out, sy); out.append(", "); - WriteToString(&out, x1); + WriteToString(&out, px); out.append(", "); - WriteToString(&out, y1); + WriteToString(&out, py); out.append(") \n"); appendGroupedLog(1, out); } - void DrawSingleCharacterImpl(Ark_drawing_Canvas peer, - const Ark_String* text, - Ark_drawing_Font font, - const Ark_Number* x, - const Ark_Number* y) + void PreTranslateImpl(Ark_drawing_Matrix peer, + const Ark_Number* dx, + const Ark_Number* dy) { if (!needGroupedLog(1)) { return; } - string out("drawSingleCharacter("); - WriteToString(&out, text); - out.append(", "); - WriteToString(&out, font); - out.append(", "); - WriteToString(&out, x); + string out("preTranslate("); + WriteToString(&out, dx); out.append(", "); - WriteToString(&out, y); + WriteToString(&out, dy); out.append(") \n"); appendGroupedLog(1, out); } - void DrawTextBlobImpl(Ark_drawing_Canvas peer, - Ark_drawing_TextBlob blob, - const Ark_Number* x, - const Ark_Number* y) + void ResetImpl(Ark_drawing_Matrix peer) { if (!needGroupedLog(1)) { return; } - string out("drawTextBlob("); - WriteToString(&out, blob); - out.append(", "); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("reset("); out.append(") \n"); appendGroupedLog(1, out); } - void DrawPixelMapMeshImpl(Ark_drawing_Canvas peer, - Ark_image_PixelMap pixelmap, - const Ark_Number* meshWidth, - const Ark_Number* meshHeight, - const Array_Number* vertices, - const Ark_Number* vertOffset, - const Array_Number* colors, - const Ark_Number* colorOffset) + Array_common2D_Point MapPointsImpl(Ark_drawing_Matrix peer, + const Array_common2D_Point* src) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("drawPixelMapMesh("); - WriteToString(&out, pixelmap); - out.append(", "); - WriteToString(&out, meshWidth); - out.append(", "); - WriteToString(&out, meshHeight); - out.append(", "); - WriteToString(&out, vertices); - out.append(", "); - WriteToString(&out, vertOffset); - out.append(", "); - WriteToString(&out, colors); - out.append(", "); - WriteToString(&out, colorOffset); + string out("mapPoints("); + WriteToString(&out, src); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void DrawRegionImpl(Ark_drawing_Canvas peer, - Ark_drawing_Region region) + Array_Number GetAllImpl(Ark_drawing_Matrix peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("drawRegion("); - WriteToString(&out, region); + string out("getAll("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void AttachPenImpl(Ark_drawing_Canvas peer, - Ark_drawing_Pen pen) + Ark_Boolean MapRectImpl(Ark_drawing_Matrix peer, + const Ark_common2D_Rect* dst, + const Ark_common2D_Rect* src) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("attachPen("); - WriteToString(&out, pen); + string out("mapRect("); + WriteToString(&out, dst); + out.append(", "); + WriteToString(&out, src); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - void AttachBrushImpl(Ark_drawing_Canvas peer, - Ark_drawing_Brush brush) + Ark_Boolean SetRectToRectImpl(Ark_drawing_Matrix peer, + const Ark_common2D_Rect* src, + const Ark_common2D_Rect* dst, + Ark_drawing_ScaleToFit scaleToFit) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("attachBrush("); - WriteToString(&out, brush); + string out("setRectToRect("); + WriteToString(&out, src); + out.append(", "); + WriteToString(&out, dst); + out.append(", "); + WriteToString(&out, scaleToFit); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - void DetachPenImpl(Ark_drawing_Canvas peer) + Ark_Boolean SetPolyToPolyImpl(Ark_drawing_Matrix peer, + const Array_common2D_Point* src, + const Array_common2D_Point* dst, + const Ark_Number* count) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("detachPen("); + string out("setPolyToPoly("); + WriteToString(&out, src); + out.append(", "); + WriteToString(&out, dst); + out.append(", "); + WriteToString(&out, count); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - void DetachBrushImpl(Ark_drawing_Canvas peer) + } // drawing_MatrixAccessor + namespace drawing_PathAccessor { + void DestroyPeerImpl(Ark_drawing_Path peer) { if (!needGroupedLog(1)) { return; } - string out("detachBrush("); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number SaveImpl(Ark_drawing_Canvas peer) + Ark_drawing_Path Construct0Impl() { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("save("); + string out("construct0("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - Ark_Number SaveLayerImpl(Ark_drawing_Canvas peer, - const Opt_common2D_Rect* rect, - const Opt_drawing_Brush* brush) + Ark_drawing_Path Construct1Impl(Ark_drawing_Path path) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("saveLayer("); - WriteToString(&out, rect); - out.append(", "); - WriteToString(&out, brush); + string out("construct1("); + WriteToString(&out, path); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - void Clear0Impl(Ark_drawing_Canvas peer, - const Ark_common2D_Color* color) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("clear0("); - WriteToString(&out, color); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void Clear1Impl(Ark_drawing_Canvas peer, - const Ark_Number* color) + void MoveToImpl(Ark_drawing_Path peer, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { return; } - string out("clear1("); - WriteToString(&out, color); + string out("moveTo("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); appendGroupedLog(1, out); } - void RestoreImpl(Ark_drawing_Canvas peer) + void LineToImpl(Ark_drawing_Path peer, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { return; } - string out("restore("); + string out("lineTo("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); appendGroupedLog(1, out); } - void RestoreToCountImpl(Ark_drawing_Canvas peer, - const Ark_Number* count) + void ArcToImpl(Ark_drawing_Path peer, + const Ark_Number* x1, + const Ark_Number* y1, + const Ark_Number* x2, + const Ark_Number* y2, + const Ark_Number* startDeg, + const Ark_Number* sweepDeg) { if (!needGroupedLog(1)) { return; } - string out("restoreToCount("); - WriteToString(&out, count); + string out("arcTo("); + WriteToString(&out, x1); + out.append(", "); + WriteToString(&out, y1); + out.append(", "); + WriteToString(&out, x2); + out.append(", "); + WriteToString(&out, y2); + out.append(", "); + WriteToString(&out, startDeg); + out.append(", "); + WriteToString(&out, sweepDeg); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetSaveCountImpl(Ark_drawing_Canvas peer) + void QuadToImpl(Ark_drawing_Path peer, + const Ark_Number* ctrlX, + const Ark_Number* ctrlY, + const Ark_Number* endX, + const Ark_Number* endY) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getSaveCount("); + string out("quadTo("); + WriteToString(&out, ctrlX); + out.append(", "); + WriteToString(&out, ctrlY); + out.append(", "); + WriteToString(&out, endX); + out.append(", "); + WriteToString(&out, endY); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Number GetWidthImpl(Ark_drawing_Canvas peer) + void ConicToImpl(Ark_drawing_Path peer, + const Ark_Number* ctrlX, + const Ark_Number* ctrlY, + const Ark_Number* endX, + const Ark_Number* endY, + const Ark_Number* weight) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getWidth("); + string out("conicTo("); + WriteToString(&out, ctrlX); + out.append(", "); + WriteToString(&out, ctrlY); + out.append(", "); + WriteToString(&out, endX); + out.append(", "); + WriteToString(&out, endY); + out.append(", "); + WriteToString(&out, weight); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Number GetHeightImpl(Ark_drawing_Canvas peer) + void CubicToImpl(Ark_drawing_Path peer, + const Ark_Number* ctrlX1, + const Ark_Number* ctrlY1, + const Ark_Number* ctrlX2, + const Ark_Number* ctrlY2, + const Ark_Number* endX, + const Ark_Number* endY) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getHeight("); + string out("cubicTo("); + WriteToString(&out, ctrlX1); + out.append(", "); + WriteToString(&out, ctrlY1); + out.append(", "); + WriteToString(&out, ctrlX2); + out.append(", "); + WriteToString(&out, ctrlY2); + out.append(", "); + WriteToString(&out, endX); + out.append(", "); + WriteToString(&out, endY); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_common2D_Rect GetLocalClipBoundsImpl(Ark_drawing_Canvas peer) + void RMoveToImpl(Ark_drawing_Path peer, + const Ark_Number* dx, + const Ark_Number* dy) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getLocalClipBounds("); + string out("rMoveTo("); + WriteToString(&out, dx); + out.append(", "); + WriteToString(&out, dy); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_drawing_Matrix GetTotalMatrixImpl(Ark_drawing_Canvas peer) + void RLineToImpl(Ark_drawing_Path peer, + const Ark_Number* dx, + const Ark_Number* dy) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getTotalMatrix("); + string out("rLineTo("); + WriteToString(&out, dx); + out.append(", "); + WriteToString(&out, dy); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - void ScaleImpl(Ark_drawing_Canvas peer, - const Ark_Number* sx, - const Ark_Number* sy) + void RQuadToImpl(Ark_drawing_Path peer, + const Ark_Number* dx1, + const Ark_Number* dy1, + const Ark_Number* dx2, + const Ark_Number* dy2) { if (!needGroupedLog(1)) { return; } - string out("scale("); - WriteToString(&out, sx); + string out("rQuadTo("); + WriteToString(&out, dx1); out.append(", "); - WriteToString(&out, sy); + WriteToString(&out, dy1); + out.append(", "); + WriteToString(&out, dx2); + out.append(", "); + WriteToString(&out, dy2); out.append(") \n"); appendGroupedLog(1, out); } - void SkewImpl(Ark_drawing_Canvas peer, - const Ark_Number* sx, - const Ark_Number* sy) + void RConicToImpl(Ark_drawing_Path peer, + const Ark_Number* ctrlX, + const Ark_Number* ctrlY, + const Ark_Number* endX, + const Ark_Number* endY, + const Ark_Number* weight) { if (!needGroupedLog(1)) { return; } - string out("skew("); - WriteToString(&out, sx); + string out("rConicTo("); + WriteToString(&out, ctrlX); out.append(", "); - WriteToString(&out, sy); + WriteToString(&out, ctrlY); + out.append(", "); + WriteToString(&out, endX); + out.append(", "); + WriteToString(&out, endY); + out.append(", "); + WriteToString(&out, weight); out.append(") \n"); appendGroupedLog(1, out); } - void RotateImpl(Ark_drawing_Canvas peer, - const Ark_Number* degrees, - const Ark_Number* sx, - const Ark_Number* sy) + void RCubicToImpl(Ark_drawing_Path peer, + const Ark_Number* ctrlX1, + const Ark_Number* ctrlY1, + const Ark_Number* ctrlX2, + const Ark_Number* ctrlY2, + const Ark_Number* endX, + const Ark_Number* endY) { if (!needGroupedLog(1)) { return; } - string out("rotate("); - WriteToString(&out, degrees); + string out("rCubicTo("); + WriteToString(&out, ctrlX1); out.append(", "); - WriteToString(&out, sx); + WriteToString(&out, ctrlY1); out.append(", "); - WriteToString(&out, sy); + WriteToString(&out, ctrlX2); + out.append(", "); + WriteToString(&out, ctrlY2); + out.append(", "); + WriteToString(&out, endX); + out.append(", "); + WriteToString(&out, endY); out.append(") \n"); appendGroupedLog(1, out); } - void TranslateImpl(Ark_drawing_Canvas peer, - const Ark_Number* dx, - const Ark_Number* dy) + void AddPolygonImpl(Ark_drawing_Path peer, + const Array_common2D_Point* points, + Ark_Boolean close) { if (!needGroupedLog(1)) { return; } - string out("translate("); - WriteToString(&out, dx); + string out("addPolygon("); + WriteToString(&out, points); out.append(", "); - WriteToString(&out, dy); + WriteToString(&out, close); out.append(") \n"); appendGroupedLog(1, out); } - void ClipPathImpl(Ark_drawing_Canvas peer, - Ark_drawing_Path path, - Ark_drawing_ClipOp clipOp, - Ark_Boolean doAntiAlias) + Ark_Boolean OpImpl(Ark_drawing_Path peer, + Ark_drawing_Path path, + Ark_drawing_PathOp pathOp) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("clipPath("); + string out("op("); WriteToString(&out, path); out.append(", "); - WriteToString(&out, clipOp); + WriteToString(&out, pathOp); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void AddArcImpl(Ark_drawing_Path peer, + const Ark_common2D_Rect* rect, + const Ark_Number* startAngle, + const Ark_Number* sweepAngle) + { + if (!needGroupedLog(1)) + { + return; + } + string out("addArc("); + WriteToString(&out, rect); + out.append(", "); + WriteToString(&out, startAngle); out.append(", "); - WriteToString(&out, doAntiAlias); + WriteToString(&out, sweepAngle); out.append(") \n"); appendGroupedLog(1, out); } - void ClipRectImpl(Ark_drawing_Canvas peer, - const Ark_common2D_Rect* rect, - Ark_drawing_ClipOp clipOp, - Ark_Boolean doAntiAlias) + void AddCircleImpl(Ark_drawing_Path peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* radius, + Ark_drawing_PathDirection pathDirection) { if (!needGroupedLog(1)) { return; } - string out("clipRect("); - WriteToString(&out, rect); + string out("addCircle("); + WriteToString(&out, x); out.append(", "); - WriteToString(&out, clipOp); + WriteToString(&out, y); out.append(", "); - WriteToString(&out, doAntiAlias); + WriteToString(&out, radius); + out.append(", "); + WriteToString(&out, pathDirection); out.append(") \n"); appendGroupedLog(1, out); } - void ConcatMatrixImpl(Ark_drawing_Canvas peer, - Ark_drawing_Matrix matrix) + void AddOvalImpl(Ark_drawing_Path peer, + const Ark_common2D_Rect* rect, + const Ark_Number* start, + Ark_drawing_PathDirection pathDirection) { if (!needGroupedLog(1)) { return; } - string out("concatMatrix("); - WriteToString(&out, matrix); + string out("addOval("); + WriteToString(&out, rect); + out.append(", "); + WriteToString(&out, start); + out.append(", "); + WriteToString(&out, pathDirection); out.append(") \n"); appendGroupedLog(1, out); } - void ClipRegionImpl(Ark_drawing_Canvas peer, - Ark_drawing_Region region, - Ark_drawing_ClipOp clipOp) + void AddRectImpl(Ark_drawing_Path peer, + const Ark_common2D_Rect* rect, + Ark_drawing_PathDirection pathDirection) { if (!needGroupedLog(1)) { return; } - string out("clipRegion("); - WriteToString(&out, region); + string out("addRect("); + WriteToString(&out, rect); out.append(", "); - WriteToString(&out, clipOp); + WriteToString(&out, pathDirection); out.append(") \n"); appendGroupedLog(1, out); } - void ClipRoundRectImpl(Ark_drawing_Canvas peer, - Ark_drawing_RoundRect roundRect, - Ark_drawing_ClipOp clipOp, - Ark_Boolean doAntiAlias) + void AddRoundRectImpl(Ark_drawing_Path peer, + Ark_drawing_RoundRect roundRect, + Ark_drawing_PathDirection pathDirection) { if (!needGroupedLog(1)) { return; } - string out("clipRoundRect("); + string out("addRoundRect("); WriteToString(&out, roundRect); out.append(", "); - WriteToString(&out, clipOp); - out.append(", "); - WriteToString(&out, doAntiAlias); + WriteToString(&out, pathDirection); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Boolean IsClipEmptyImpl(Ark_drawing_Canvas peer) + void AddPathImpl(Ark_drawing_Path peer, + Ark_drawing_Path path, + const Opt_drawing_Matrix* matrix) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("isClipEmpty("); + string out("addPath("); + WriteToString(&out, path); + out.append(", "); + WriteToString(&out, matrix); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - void SetMatrixImpl(Ark_drawing_Canvas peer, + void TransformImpl(Ark_drawing_Path peer, Ark_drawing_Matrix matrix) { if (!needGroupedLog(1)) { return; } - string out("setMatrix("); + string out("transform("); WriteToString(&out, matrix); out.append(") \n"); appendGroupedLog(1, out); } - void ResetMatrixImpl(Ark_drawing_Canvas peer) + Ark_Boolean ContainsImpl(Ark_drawing_Path peer, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("resetMatrix("); + string out("contains("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - } // drawing_CanvasAccessor - namespace drawing_ColorFilterAccessor { - void DestroyPeerImpl(Ark_drawing_ColorFilter peer) + void SetFillTypeImpl(Ark_drawing_Path peer, + Ark_drawing_PathFillType pathFillType) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setFillType("); + WriteToString(&out, pathFillType); out.append(") \n"); appendGroupedLog(1, out); } - Ark_drawing_ColorFilter ConstructImpl() + Ark_common2D_Rect GetBoundsImpl(Ark_drawing_Path peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new ColorFilter("); + string out("getBounds("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + void CloseImpl(Ark_drawing_Path peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("close("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_drawing_ColorFilter CreateBlendModeColorFilter0Impl(const Ark_common2D_Color* color, - Ark_drawing_BlendMode mode) + Ark_drawing_Path OffsetImpl(Ark_drawing_Path peer, + const Ark_Number* dx, + const Ark_Number* dy) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("createBlendModeColorFilter0("); - WriteToString(&out, color); + string out("offset("); + WriteToString(&out, dx); out.append(", "); - WriteToString(&out, mode); + WriteToString(&out, dy); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - Ark_drawing_ColorFilter CreateBlendModeColorFilter1Impl(const Ark_Number* color, - Ark_drawing_BlendMode mode) + void ResetImpl(Ark_drawing_Path peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("createBlendModeColorFilter1("); - WriteToString(&out, color); - out.append(", "); - WriteToString(&out, mode); + string out("reset("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_drawing_ColorFilter CreateComposeColorFilterImpl(Ark_drawing_ColorFilter outer, - Ark_drawing_ColorFilter inner) + Ark_Number GetLengthImpl(Ark_drawing_Path peer, + Ark_Boolean forceClosed) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {42}; } - string out("createComposeColorFilter("); - WriteToString(&out, outer); - out.append(", "); - WriteToString(&out, inner); + string out("getLength("); + WriteToString(&out, forceClosed); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {42}; } - Ark_drawing_ColorFilter CreateLinearToSRGBGammaImpl() + Ark_Boolean GetPositionAndTangentImpl(Ark_drawing_Path peer, + Ark_Boolean forceClosed, + const Ark_Number* distance, + const Ark_common2D_Point* position, + const Ark_common2D_Point* tangent) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return 0; } - string out("createLinearToSRGBGamma("); + string out("getPositionAndTangent("); + WriteToString(&out, forceClosed); + out.append(", "); + WriteToString(&out, distance); + out.append(", "); + WriteToString(&out, position); + out.append(", "); + WriteToString(&out, tangent); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return 0; } - Ark_drawing_ColorFilter CreateSRGBGammaToLinearImpl() + Ark_Boolean IsClosedImpl(Ark_drawing_Path peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return 0; } - string out("createSRGBGammaToLinear("); + string out("isClosed("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return 0; } - Ark_drawing_ColorFilter CreateLumaColorFilterImpl() + Ark_Boolean GetMatrixImpl(Ark_drawing_Path peer, + Ark_Boolean forceClosed, + const Ark_Number* distance, + Ark_drawing_Matrix matrix, + Ark_drawing_PathMeasureMatrixFlags flags) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return 0; } - string out("createLumaColorFilter("); + string out("getMatrix("); + WriteToString(&out, forceClosed); + out.append(", "); + WriteToString(&out, distance); + out.append(", "); + WriteToString(&out, matrix); + out.append(", "); + WriteToString(&out, flags); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return 0; } - Ark_drawing_ColorFilter CreateMatrixColorFilterImpl(const Array_Number* matrix) + Ark_Boolean BuildFromSvgStringImpl(Ark_drawing_Path peer, + const Ark_String* str) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return 0; } - string out("createMatrixColorFilter("); - WriteToString(&out, matrix); + string out("buildFromSvgString("); + WriteToString(&out, str); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return 0; } - } // drawing_ColorFilterAccessor - namespace drawing_FontAccessor { - void DestroyPeerImpl(Ark_drawing_Font peer) + } // drawing_PathAccessor + namespace drawing_PathEffectAccessor { + void DestroyPeerImpl(Ark_drawing_PathEffect peer) { if (!needGroupedLog(1)) { @@ -27939,17 +31449,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_drawing_Font ConstructImpl() + Ark_drawing_PathEffect ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new Font("); + string out("new PathEffect("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -27963,436 +31473,435 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void EnableSubpixelImpl(Ark_drawing_Font peer, - Ark_Boolean isSubpixel) + Ark_drawing_PathEffect CreateDashPathEffectImpl(const Array_Number* intervals, + const Ark_Number* phase) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("enableSubpixel("); - WriteToString(&out, isSubpixel); + string out("createDashPathEffect("); + WriteToString(&out, intervals); + out.append(", "); + WriteToString(&out, phase); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void EnableEmboldenImpl(Ark_drawing_Font peer, - Ark_Boolean isEmbolden) + Ark_drawing_PathEffect CreateCornerPathEffectImpl(const Ark_Number* radius) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("enableEmbolden("); - WriteToString(&out, isEmbolden); + string out("createCornerPathEffect("); + WriteToString(&out, radius); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void EnableLinearMetricsImpl(Ark_drawing_Font peer, - Ark_Boolean isLinearMetrics) + } // drawing_PathEffectAccessor + namespace drawing_PenAccessor { + void DestroyPeerImpl(Ark_drawing_Pen peer) { if (!needGroupedLog(1)) { return; } - string out("enableLinearMetrics("); - WriteToString(&out, isLinearMetrics); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void SetSizeImpl(Ark_drawing_Font peer, - const Ark_Number* textSize) + Ark_drawing_Pen Construct0Impl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setSize("); - WriteToString(&out, textSize); + string out("construct0("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_Number GetSizeImpl(Ark_drawing_Font peer) + Ark_drawing_Pen Construct1Impl(Ark_drawing_Pen pen) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("getSize("); + string out("construct1("); + WriteToString(&out, pen); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - void SetTypefaceImpl(Ark_drawing_Font peer, - Ark_drawing_Typeface typeface) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setTypeface("); - WriteToString(&out, typeface); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_drawing_Typeface GetTypefaceImpl(Ark_drawing_Font peer) + void SetMiterLimitImpl(Ark_drawing_Pen peer, + const Ark_Number* miter) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getTypeface("); + string out("setMiterLimit("); + WriteToString(&out, miter); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_drawing_FontMetrics GetMetricsImpl(Ark_drawing_Font peer) + Ark_Number GetMiterLimitImpl(Ark_drawing_Pen peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getMetrics("); + string out("getMiterLimit("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - Ark_Number MeasureSingleCharacterImpl(Ark_drawing_Font peer, - const Ark_String* text) + void SetShaderEffectImpl(Ark_drawing_Pen peer, + Ark_drawing_ShaderEffect shaderEffect) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("measureSingleCharacter("); - WriteToString(&out, text); + string out("setShaderEffect("); + WriteToString(&out, shaderEffect); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Number MeasureTextImpl(Ark_drawing_Font peer, - const Ark_String* text, - Ark_drawing_TextEncoding encoding) + void SetColor0Impl(Ark_drawing_Pen peer, + const Ark_common2D_Color* color) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("measureText("); - WriteToString(&out, text); - out.append(", "); - WriteToString(&out, encoding); + string out("setColor0("); + WriteToString(&out, color); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetScaleXImpl(Ark_drawing_Font peer, - const Ark_Number* scaleX) + void SetColor1Impl(Ark_drawing_Pen peer, + const Ark_Number* color) { if (!needGroupedLog(1)) { return; } - string out("setScaleX("); - WriteToString(&out, scaleX); + string out("setColor1("); + WriteToString(&out, color); out.append(") \n"); appendGroupedLog(1, out); } - void SetSkewXImpl(Ark_drawing_Font peer, - const Ark_Number* skewX) + void SetColor2Impl(Ark_drawing_Pen peer, + const Ark_Number* alpha, + const Ark_Number* red, + const Ark_Number* green, + const Ark_Number* blue) { if (!needGroupedLog(1)) { return; } - string out("setSkewX("); - WriteToString(&out, skewX); + string out("setColor2("); + WriteToString(&out, alpha); + out.append(", "); + WriteToString(&out, red); + out.append(", "); + WriteToString(&out, green); + out.append(", "); + WriteToString(&out, blue); out.append(") \n"); appendGroupedLog(1, out); } - void SetEdgingImpl(Ark_drawing_Font peer, - Ark_drawing_FontEdging edging) + Ark_common2D_Color GetColorImpl(Ark_drawing_Pen peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setEdging("); - WriteToString(&out, edging); + string out("getColor("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SetHintingImpl(Ark_drawing_Font peer, - Ark_drawing_FontHinting hinting) + Ark_Number GetHexColorImpl(Ark_drawing_Pen peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getHexColor("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetStrokeWidthImpl(Ark_drawing_Pen peer, + const Ark_Number* width) { if (!needGroupedLog(1)) { return; } - string out("setHinting("); - WriteToString(&out, hinting); + string out("setStrokeWidth("); + WriteToString(&out, width); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number CountTextImpl(Ark_drawing_Font peer, - const Ark_String* text) + Ark_Number GetWidthImpl(Ark_drawing_Pen peer) { if (!needGroupedLog(1)) { return {42}; } - string out("countText("); - WriteToString(&out, text); + string out("getWidth("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - void SetBaselineSnapImpl(Ark_drawing_Font peer, - Ark_Boolean isBaselineSnap) + void SetAntiAliasImpl(Ark_drawing_Pen peer, + Ark_Boolean aa) { if (!needGroupedLog(1)) { return; } - string out("setBaselineSnap("); - WriteToString(&out, isBaselineSnap); + string out("setAntiAlias("); + WriteToString(&out, aa); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Boolean IsBaselineSnapImpl(Ark_drawing_Font peer) + Ark_Boolean IsAntiAliasImpl(Ark_drawing_Pen peer) { if (!needGroupedLog(1)) { return 0; } - string out("isBaselineSnap("); + string out("isAntiAlias("); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - void SetEmbeddedBitmapsImpl(Ark_drawing_Font peer, - Ark_Boolean isEmbeddedBitmaps) + void SetAlphaImpl(Ark_drawing_Pen peer, + const Ark_Number* alpha) { if (!needGroupedLog(1)) { return; } - string out("setEmbeddedBitmaps("); - WriteToString(&out, isEmbeddedBitmaps); + string out("setAlpha("); + WriteToString(&out, alpha); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Boolean IsEmbeddedBitmapsImpl(Ark_drawing_Font peer) + Ark_Number GetAlphaImpl(Ark_drawing_Pen peer) { if (!needGroupedLog(1)) { - return 0; + return {42}; } - string out("isEmbeddedBitmaps("); + string out("getAlpha("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return 0; + return {42}; } - void SetForceAutoHintingImpl(Ark_drawing_Font peer, - Ark_Boolean isForceAutoHinting) + void SetColorFilterImpl(Ark_drawing_Pen peer, + Ark_drawing_ColorFilter filter) { if (!needGroupedLog(1)) { return; } - string out("setForceAutoHinting("); - WriteToString(&out, isForceAutoHinting); + string out("setColorFilter("); + WriteToString(&out, filter); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Boolean IsForceAutoHintingImpl(Ark_drawing_Font peer) + Ark_drawing_ColorFilter GetColorFilterImpl(Ark_drawing_Pen peer) { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(300); } - string out("isForceAutoHinting("); + string out("getColorFilter("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(300); } - Array_Number GetWidthsImpl(Ark_drawing_Font peer, - const Array_Number* glyphs) + void SetImageFilterImpl(Ark_drawing_Pen peer, + const Opt_drawing_ImageFilter* filter) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getWidths("); - WriteToString(&out, glyphs); + string out("setImageFilter("); + WriteToString(&out, filter); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Array_Number TextToGlyphsImpl(Ark_drawing_Font peer, - const Ark_String* text, - const Ark_Number* glyphCount) + void SetMaskFilterImpl(Ark_drawing_Pen peer, + Ark_drawing_MaskFilter filter) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("textToGlyphs("); - WriteToString(&out, text); - out.append(", "); - WriteToString(&out, glyphCount); + string out("setMaskFilter("); + WriteToString(&out, filter); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_Boolean IsSubpixelImpl(Ark_drawing_Font peer) + void SetPathEffectImpl(Ark_drawing_Pen peer, + Ark_drawing_PathEffect effect) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("isSubpixel("); + string out("setPathEffect("); + WriteToString(&out, effect); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_Boolean IsLinearMetricsImpl(Ark_drawing_Font peer) + void SetShadowLayerImpl(Ark_drawing_Pen peer, + Ark_drawing_ShadowLayer shadowLayer) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("isLinearMetrics("); + string out("setShadowLayer("); + WriteToString(&out, shadowLayer); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_Number GetSkewXImpl(Ark_drawing_Font peer) + void SetBlendModeImpl(Ark_drawing_Pen peer, + Ark_drawing_BlendMode mode) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getSkewX("); + string out("setBlendMode("); + WriteToString(&out, mode); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Boolean IsEmboldenImpl(Ark_drawing_Font peer) + void SetDitherImpl(Ark_drawing_Pen peer, + Ark_Boolean dither) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("isEmbolden("); + string out("setDither("); + WriteToString(&out, dither); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_Number GetScaleXImpl(Ark_drawing_Font peer) + void SetJoinStyleImpl(Ark_drawing_Pen peer, + Ark_drawing_JoinStyle style) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getScaleX("); + string out("setJoinStyle("); + WriteToString(&out, style); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_drawing_FontHinting GetHintingImpl(Ark_drawing_Font peer) + Ark_drawing_JoinStyle GetJoinStyleImpl(Ark_drawing_Pen peer) { if (!needGroupedLog(1)) { return {}; } - string out("getHinting("); + string out("getJoinStyle("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Ark_drawing_FontEdging GetEdgingImpl(Ark_drawing_Font peer) + void SetCapStyleImpl(Ark_drawing_Pen peer, + Ark_drawing_CapStyle style) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getEdging("); + string out("setCapStyle("); + WriteToString(&out, style); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_drawing_Path CreatePathForGlyphImpl(Ark_drawing_Font peer, - const Ark_Number* index) + Ark_drawing_CapStyle GetCapStyleImpl(Ark_drawing_Pen peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("createPathForGlyph("); - WriteToString(&out, index); + string out("getCapStyle("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - Array_common2D_Rect GetBoundsImpl(Ark_drawing_Font peer, - const Array_Number* glyphs) + void ResetImpl(Ark_drawing_Pen peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getBounds("); - WriteToString(&out, glyphs); + string out("reset("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_drawing_Path GetTextPathImpl(Ark_drawing_Font peer, - const Ark_String* text, - const Ark_Number* byteLength, - const Ark_Number* x, - const Ark_Number* y) + Ark_Boolean GetFillPathImpl(Ark_drawing_Pen peer, + Ark_drawing_Path src, + Ark_drawing_Path dst) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return 0; } - string out("getTextPath("); - WriteToString(&out, text); - out.append(", "); - WriteToString(&out, byteLength); - out.append(", "); - WriteToString(&out, x); + string out("getFillPath("); + WriteToString(&out, src); out.append(", "); - WriteToString(&out, y); + WriteToString(&out, dst); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return 0; } - } // drawing_FontAccessor - namespace drawing_ImageFilterAccessor { - void DestroyPeerImpl(Ark_drawing_ImageFilter peer) + } // drawing_PenAccessor + namespace drawing_RegionAccessor { + void DestroyPeerImpl(Ark_drawing_Region peer) { if (!needGroupedLog(1)) { @@ -28402,17 +31911,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_drawing_ImageFilter ConstructImpl() + Ark_drawing_Region ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new ImageFilter("); + string out("new Region("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -28426,114 +31935,120 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_drawing_ImageFilter CreateBlurImageFilterImpl(const Ark_Number* sigmaX, - const Ark_Number* sigmaY, - Ark_drawing_TileMode tileMode, - const Opt_drawing_ImageFilter* imageFilter) + Ark_Boolean IsPointContainedImpl(Ark_drawing_Region peer, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return 0; } - string out("createBlurImageFilter("); - WriteToString(&out, sigmaX); - out.append(", "); - WriteToString(&out, sigmaY); - out.append(", "); - WriteToString(&out, tileMode); + string out("isPointContained("); + WriteToString(&out, x); out.append(", "); - WriteToString(&out, imageFilter); + WriteToString(&out, y); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return 0; } - Ark_drawing_ImageFilter CreateFromColorFilterImpl(Ark_drawing_ColorFilter colorFilter, - const Opt_drawing_ImageFilter* imageFilter) + Ark_Boolean IsRegionContainedImpl(Ark_drawing_Region peer, + Ark_drawing_Region other) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return 0; } - string out("createFromColorFilter("); - WriteToString(&out, colorFilter); - out.append(", "); - WriteToString(&out, imageFilter); + string out("isRegionContained("); + WriteToString(&out, other); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return 0; } - } // drawing_ImageFilterAccessor - namespace drawing_LatticeAccessor { - void DestroyPeerImpl(Ark_drawing_Lattice peer) + Ark_Boolean OpImpl(Ark_drawing_Region peer, + Ark_drawing_Region region, + Ark_drawing_RegionOp regionOp) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("destroyPeer("); + string out("op("); + WriteToString(&out, region); + out.append(", "); + WriteToString(&out, regionOp); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Ark_drawing_Lattice ConstructImpl() + Ark_Boolean QuickRejectImpl(Ark_drawing_Region peer, + const Ark_Number* left, + const Ark_Number* top, + const Ark_Number* right, + const Ark_Number* bottom) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return 0; } - string out("new Lattice("); + string out("quickReject("); + WriteToString(&out, left); + out.append(", "); + WriteToString(&out, top); + out.append(", "); + WriteToString(&out, right); + out.append(", "); + WriteToString(&out, bottom); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return 0; } - Ark_NativePointer GetFinalizerImpl() + Ark_Boolean SetPathImpl(Ark_drawing_Region peer, + Ark_drawing_Path path, + Ark_drawing_Region clip) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return 0; } - string out("getFinalizer("); + string out("setPath("); + WriteToString(&out, path); + out.append(", "); + WriteToString(&out, clip); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return 0; } - Ark_drawing_Lattice CreateImageLatticeImpl(const Array_Number* xDivs, - const Array_Number* yDivs, - const Ark_Number* fXCount, - const Ark_Number* fYCount, - const Opt_common2D_Rect* fBounds, - const Opt_Array_drawing_RectType* fRectTypes, - const Opt_Array_CustomObject* fColors) + Ark_Boolean SetRectImpl(Ark_drawing_Region peer, + const Ark_Number* left, + const Ark_Number* top, + const Ark_Number* right, + const Ark_Number* bottom) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return 0; } - string out("createImageLattice("); - WriteToString(&out, xDivs); - out.append(", "); - WriteToString(&out, yDivs); - out.append(", "); - WriteToString(&out, fXCount); - out.append(", "); - WriteToString(&out, fYCount); + string out("setRect("); + WriteToString(&out, left); out.append(", "); - WriteToString(&out, fBounds); + WriteToString(&out, top); out.append(", "); - WriteToString(&out, fRectTypes); + WriteToString(&out, right); out.append(", "); - WriteToString(&out, fColors); + WriteToString(&out, bottom); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return 0; } - } // drawing_LatticeAccessor - namespace drawing_MaskFilterAccessor { - void DestroyPeerImpl(Ark_drawing_MaskFilter peer) + } // drawing_RegionAccessor + namespace drawing_RoundRectAccessor { + void DestroyPeerImpl(Ark_drawing_RoundRect peer) { if (!needGroupedLog(1)) { @@ -28543,17 +32058,24 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_drawing_MaskFilter ConstructImpl() + Ark_drawing_RoundRect ConstructImpl(const Ark_common2D_Rect* rect, + const Ark_Number* xRadii, + const Ark_Number* yRadii) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new MaskFilter("); + string out("new RoundRect("); + WriteToString(&out, rect); + out.append(", "); + WriteToString(&out, xRadii); + out.append(", "); + WriteToString(&out, yRadii); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -28567,25 +32089,56 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_drawing_MaskFilter CreateBlurMaskFilterImpl(Ark_drawing_BlurType blurType, - const Ark_Number* sigma) + void SetCornerImpl(Ark_drawing_RoundRect peer, + Ark_drawing_CornerPos pos, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("createBlurMaskFilter("); - WriteToString(&out, blurType); + string out("setCorner("); + WriteToString(&out, pos); out.append(", "); - WriteToString(&out, sigma); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // drawing_MaskFilterAccessor - namespace drawing_MatrixAccessor { - void DestroyPeerImpl(Ark_drawing_Matrix peer) + Ark_common2D_Point GetCornerImpl(Ark_drawing_RoundRect peer, + Ark_drawing_CornerPos pos) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getCorner("); + WriteToString(&out, pos); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void OffsetImpl(Ark_drawing_RoundRect peer, + const Ark_Number* dx, + const Ark_Number* dy) + { + if (!needGroupedLog(1)) + { + return; + } + string out("offset("); + WriteToString(&out, dx); + out.append(", "); + WriteToString(&out, dy); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // drawing_RoundRectAccessor + namespace drawing_SamplingOptionsAccessor { + void DestroyPeerImpl(Ark_drawing_SamplingOptions peer) { if (!needGroupedLog(1)) { @@ -28595,399 +32148,436 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_drawing_Matrix ConstructImpl() + Ark_drawing_SamplingOptions Construct0Impl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(300); } - string out("new Matrix("); + string out("construct0("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(300); } - Ark_NativePointer GetFinalizerImpl() + Ark_drawing_SamplingOptions Construct1Impl(Ark_drawing_FilterMode filterMode) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - string out("getFinalizer("); + string out("construct1("); + WriteToString(&out, filterMode); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - void SetRotationImpl(Ark_drawing_Matrix peer, - const Ark_Number* degree, - const Ark_Number* px, - const Ark_Number* py) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setRotation("); - WriteToString(&out, degree); - out.append(", "); - WriteToString(&out, px); - out.append(", "); - WriteToString(&out, py); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void SetScaleImpl(Ark_drawing_Matrix peer, - const Ark_Number* sx, - const Ark_Number* sy, - const Ark_Number* px, - const Ark_Number* py) + } // drawing_SamplingOptionsAccessor + namespace drawing_ShaderEffectAccessor { + void DestroyPeerImpl(Ark_drawing_ShaderEffect peer) { if (!needGroupedLog(1)) { return; } - string out("setScale("); - WriteToString(&out, sx); - out.append(", "); - WriteToString(&out, sy); - out.append(", "); - WriteToString(&out, px); - out.append(", "); - WriteToString(&out, py); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void SetTranslationImpl(Ark_drawing_Matrix peer, - const Ark_Number* dx, - const Ark_Number* dy) + Ark_drawing_ShaderEffect ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setTranslation("); - WriteToString(&out, dx); - out.append(", "); - WriteToString(&out, dy); + string out("new ShaderEffect("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void SetMatrixImpl(Ark_drawing_Matrix peer, - const Array_Number* values) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setMatrix("); - WriteToString(&out, values); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void PreConcatImpl(Ark_drawing_Matrix peer, - Ark_drawing_Matrix matrix) + Ark_drawing_ShaderEffect CreateColorShaderImpl(const Ark_Number* color) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("preConcat("); - WriteToString(&out, matrix); + string out("createColorShader("); + WriteToString(&out, color); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_Boolean IsEqualImpl(Ark_drawing_Matrix peer, - Ark_drawing_Matrix matrix) + Ark_drawing_ShaderEffect CreateLinearGradientImpl(const Ark_common2D_Point* startPt, + const Ark_common2D_Point* endPt, + const Array_Number* colors, + Ark_drawing_TileMode mode, + const Opt_Array_Number* pos, + const Opt_drawing_Matrix* matrix) { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(300); } - string out("isEqual("); + string out("createLinearGradient("); + WriteToString(&out, startPt); + out.append(", "); + WriteToString(&out, endPt); + out.append(", "); + WriteToString(&out, colors); + out.append(", "); + WriteToString(&out, mode); + out.append(", "); + WriteToString(&out, pos); + out.append(", "); WriteToString(&out, matrix); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(300); } - Ark_Boolean InvertImpl(Ark_drawing_Matrix peer, - Ark_drawing_Matrix matrix) + Ark_drawing_ShaderEffect CreateRadialGradientImpl(const Ark_common2D_Point* centerPt, + const Ark_Number* radius, + const Array_Number* colors, + Ark_drawing_TileMode mode, + const Opt_Array_Number* pos, + const Opt_drawing_Matrix* matrix) { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(300); } - string out("invert("); + string out("createRadialGradient("); + WriteToString(&out, centerPt); + out.append(", "); + WriteToString(&out, radius); + out.append(", "); + WriteToString(&out, colors); + out.append(", "); + WriteToString(&out, mode); + out.append(", "); + WriteToString(&out, pos); + out.append(", "); WriteToString(&out, matrix); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(300); } - Ark_Boolean IsIdentityImpl(Ark_drawing_Matrix peer) + Ark_drawing_ShaderEffect CreateSweepGradientImpl(const Ark_common2D_Point* centerPt, + const Array_Number* colors, + Ark_drawing_TileMode mode, + const Ark_Number* startAngle, + const Ark_Number* endAngle, + const Opt_Array_Number* pos, + const Opt_drawing_Matrix* matrix) { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(300); } - string out("isIdentity("); + string out("createSweepGradient("); + WriteToString(&out, centerPt); + out.append(", "); + WriteToString(&out, colors); + out.append(", "); + WriteToString(&out, mode); + out.append(", "); + WriteToString(&out, startAngle); + out.append(", "); + WriteToString(&out, endAngle); + out.append(", "); + WriteToString(&out, pos); + out.append(", "); + WriteToString(&out, matrix); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(300); } - Ark_Number GetValueImpl(Ark_drawing_Matrix peer, - const Ark_Number* index) + Ark_drawing_ShaderEffect CreateConicalGradientImpl(const Ark_common2D_Point* startPt, + const Ark_Number* startRadius, + const Ark_common2D_Point* endPt, + const Ark_Number* endRadius, + const Array_Number* colors, + Ark_drawing_TileMode mode, + const Opt_Array_Number* pos, + const Opt_drawing_Matrix* matrix) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("getValue("); - WriteToString(&out, index); + string out("createConicalGradient("); + WriteToString(&out, startPt); + out.append(", "); + WriteToString(&out, startRadius); + out.append(", "); + WriteToString(&out, endPt); + out.append(", "); + WriteToString(&out, endRadius); + out.append(", "); + WriteToString(&out, colors); + out.append(", "); + WriteToString(&out, mode); + out.append(", "); + WriteToString(&out, pos); + out.append(", "); + WriteToString(&out, matrix); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - void PostRotateImpl(Ark_drawing_Matrix peer, - const Ark_Number* degree, - const Ark_Number* px, - const Ark_Number* py) + } // drawing_ShaderEffectAccessor + namespace drawing_ShadowLayerAccessor { + void DestroyPeerImpl(Ark_drawing_ShadowLayer peer) { if (!needGroupedLog(1)) { return; } - string out("postRotate("); - WriteToString(&out, degree); - out.append(", "); - WriteToString(&out, px); - out.append(", "); - WriteToString(&out, py); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void PostScaleImpl(Ark_drawing_Matrix peer, - const Ark_Number* sx, - const Ark_Number* sy, - const Ark_Number* px, - const Ark_Number* py) + Ark_drawing_ShadowLayer ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("postScale("); - WriteToString(&out, sx); - out.append(", "); - WriteToString(&out, sy); - out.append(", "); - WriteToString(&out, px); - out.append(", "); - WriteToString(&out, py); + string out("new ShadowLayer("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void PostTranslateImpl(Ark_drawing_Matrix peer, - const Ark_Number* dx, - const Ark_Number* dy) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("postTranslate("); - WriteToString(&out, dx); - out.append(", "); - WriteToString(&out, dy); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void PreRotateImpl(Ark_drawing_Matrix peer, - const Ark_Number* degree, - const Ark_Number* px, - const Ark_Number* py) + Ark_drawing_ShadowLayer Create0Impl(const Ark_Number* blurRadius, + const Ark_Number* x, + const Ark_Number* y, + const Ark_common2D_Color* color) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("preRotate("); - WriteToString(&out, degree); + string out("create0("); + WriteToString(&out, blurRadius); out.append(", "); - WriteToString(&out, px); + WriteToString(&out, x); out.append(", "); - WriteToString(&out, py); + WriteToString(&out, y); + out.append(", "); + WriteToString(&out, color); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void PreScaleImpl(Ark_drawing_Matrix peer, - const Ark_Number* sx, - const Ark_Number* sy, - const Ark_Number* px, - const Ark_Number* py) + Ark_drawing_ShadowLayer Create1Impl(const Ark_Number* blurRadius, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* color) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("preScale("); - WriteToString(&out, sx); + string out("create1("); + WriteToString(&out, blurRadius); out.append(", "); - WriteToString(&out, sy); + WriteToString(&out, x); out.append(", "); - WriteToString(&out, px); + WriteToString(&out, y); out.append(", "); - WriteToString(&out, py); + WriteToString(&out, color); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void PreTranslateImpl(Ark_drawing_Matrix peer, - const Ark_Number* dx, - const Ark_Number* dy) + } // drawing_ShadowLayerAccessor + namespace drawing_TextBlobAccessor { + void DestroyPeerImpl(Ark_drawing_TextBlob peer) { if (!needGroupedLog(1)) { return; } - string out("preTranslate("); - WriteToString(&out, dx); - out.append(", "); - WriteToString(&out, dy); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void ResetImpl(Ark_drawing_Matrix peer) + Ark_drawing_TextBlob ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("reset("); + string out("new TextBlob("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Array_common2D_Point MapPointsImpl(Ark_drawing_Matrix peer, - const Array_common2D_Point* src) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("mapPoints("); - WriteToString(&out, src); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - Array_Number GetAllImpl(Ark_drawing_Matrix peer) + Ark_drawing_TextBlob MakeFromStringImpl(const Ark_String* text, + Ark_drawing_Font font, + Ark_drawing_TextEncoding encoding) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getAll("); + string out("makeFromString("); + WriteToString(&out, text); + out.append(", "); + WriteToString(&out, font); + out.append(", "); + WriteToString(&out, encoding); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - Ark_Boolean MapRectImpl(Ark_drawing_Matrix peer, - const Ark_common2D_Rect* dst, - const Ark_common2D_Rect* src) + Ark_drawing_TextBlob MakeFromPosTextImpl(const Ark_String* text, + const Ark_Number* len, + const Array_common2D_Point* points, + Ark_drawing_Font font) { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(300); } - string out("mapRect("); - WriteToString(&out, dst); + string out("makeFromPosText("); + WriteToString(&out, text); out.append(", "); - WriteToString(&out, src); + WriteToString(&out, len); + out.append(", "); + WriteToString(&out, points); + out.append(", "); + WriteToString(&out, font); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(300); } - Ark_Boolean SetRectToRectImpl(Ark_drawing_Matrix peer, - const Ark_common2D_Rect* src, - const Ark_common2D_Rect* dst, - Ark_drawing_ScaleToFit scaleToFit) + Ark_drawing_TextBlob MakeFromRunBufferImpl(const Array_drawing_TextBlobRunBuffer* pos, + Ark_drawing_Font font, + const Ark_common2D_Rect* bounds) { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(300); } - string out("setRectToRect("); - WriteToString(&out, src); + string out("makeFromRunBuffer("); + WriteToString(&out, pos); out.append(", "); - WriteToString(&out, dst); + WriteToString(&out, font); out.append(", "); - WriteToString(&out, scaleToFit); + WriteToString(&out, bounds); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(300); } - Ark_Boolean SetPolyToPolyImpl(Ark_drawing_Matrix peer, - const Array_common2D_Point* src, - const Array_common2D_Point* dst, - const Ark_Number* count) + Ark_common2D_Rect BoundsImpl(Ark_drawing_TextBlob peer) { if (!needGroupedLog(1)) { - return 0; + return {}; } - string out("setPolyToPoly("); - WriteToString(&out, src); - out.append(", "); - WriteToString(&out, dst); - out.append(", "); - WriteToString(&out, count); + string out("bounds("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return 0; + return {}; } - } // drawing_MatrixAccessor - namespace drawing_PathAccessor { - void DestroyPeerImpl(Ark_drawing_Path peer) + Ark_Number UniqueIDImpl(Ark_drawing_TextBlob peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("destroyPeer("); + string out("uniqueID("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_drawing_Path Construct0Impl() + } // drawing_TextBlobAccessor + namespace drawing_TypefaceAccessor { + void DestroyPeerImpl(Ark_drawing_Typeface peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("construct0("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_drawing_Path Construct1Impl(Ark_drawing_Path path) + Ark_drawing_Typeface ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(100); } - string out("construct1("); - WriteToString(&out, path); + string out("new Typeface("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -29001,550 +32591,415 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void MoveToImpl(Ark_drawing_Path peer, - const Ark_Number* x, - const Ark_Number* y) + Ark_String GetFamilyNameImpl(Ark_drawing_Typeface peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("moveTo("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("getFamilyName("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void LineToImpl(Ark_drawing_Path peer, - const Ark_Number* x, - const Ark_Number* y) + Ark_drawing_Typeface MakeFromFileImpl(const Ark_String* filePath) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("lineTo("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("makeFromFile("); + WriteToString(&out, filePath); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void ArcToImpl(Ark_drawing_Path peer, - const Ark_Number* x1, - const Ark_Number* y1, - const Ark_Number* x2, - const Ark_Number* y2, - const Ark_Number* startDeg, - const Ark_Number* sweepDeg) + } // drawing_TypefaceAccessor + namespace DrawingRenderingContextAccessor { + void DestroyPeerImpl(Ark_DrawingRenderingContext peer) { if (!needGroupedLog(1)) { return; } - string out("arcTo("); - WriteToString(&out, x1); - out.append(", "); - WriteToString(&out, y1); - out.append(", "); - WriteToString(&out, x2); - out.append(", "); - WriteToString(&out, y2); - out.append(", "); - WriteToString(&out, startDeg); - out.append(", "); - WriteToString(&out, sweepDeg); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void QuadToImpl(Ark_drawing_Path peer, - const Ark_Number* ctrlX, - const Ark_Number* ctrlY, - const Ark_Number* endX, - const Ark_Number* endY) + Ark_DrawingRenderingContext ConstructImpl(const Opt_LengthMetricsUnit* unit) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("quadTo("); - WriteToString(&out, ctrlX); - out.append(", "); - WriteToString(&out, ctrlY); - out.append(", "); - WriteToString(&out, endX); - out.append(", "); - WriteToString(&out, endY); + string out("new DrawingRenderingContext("); + WriteToString(&out, unit); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void ConicToImpl(Ark_drawing_Path peer, - const Ark_Number* ctrlX, - const Ark_Number* ctrlY, - const Ark_Number* endX, - const Ark_Number* endY, - const Ark_Number* weight) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("conicTo("); - WriteToString(&out, ctrlX); - out.append(", "); - WriteToString(&out, ctrlY); - out.append(", "); - WriteToString(&out, endX); - out.append(", "); - WriteToString(&out, endY); - out.append(", "); - WriteToString(&out, weight); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void CubicToImpl(Ark_drawing_Path peer, - const Ark_Number* ctrlX1, - const Ark_Number* ctrlY1, - const Ark_Number* ctrlX2, - const Ark_Number* ctrlY2, - const Ark_Number* endX, - const Ark_Number* endY) + void InvalidateImpl(Ark_DrawingRenderingContext peer) { if (!needGroupedLog(1)) { return; } - string out("cubicTo("); - WriteToString(&out, ctrlX1); - out.append(", "); - WriteToString(&out, ctrlY1); - out.append(", "); - WriteToString(&out, ctrlX2); - out.append(", "); - WriteToString(&out, ctrlY2); - out.append(", "); - WriteToString(&out, endX); - out.append(", "); - WriteToString(&out, endY); + string out("invalidate("); out.append(") \n"); appendGroupedLog(1, out); } - void RMoveToImpl(Ark_drawing_Path peer, - const Ark_Number* dx, - const Ark_Number* dy) + Ark_Size GetSizeImpl(Ark_DrawingRenderingContext peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("rMoveTo("); - WriteToString(&out, dx); - out.append(", "); - WriteToString(&out, dy); + string out("getSize("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void RLineToImpl(Ark_drawing_Path peer, - const Ark_Number* dx, - const Ark_Number* dy) + void SetSizeImpl(Ark_DrawingRenderingContext peer, + const Ark_Size* size) { if (!needGroupedLog(1)) { return; } - string out("rLineTo("); - WriteToString(&out, dx); - out.append(", "); - WriteToString(&out, dy); + string out("setSize("); + WriteToString(&out, size); out.append(") \n"); appendGroupedLog(1, out); } - void RQuadToImpl(Ark_drawing_Path peer, - const Ark_Number* dx1, - const Ark_Number* dy1, - const Ark_Number* dx2, - const Ark_Number* dy2) + } // DrawingRenderingContextAccessor + namespace DrawModifierAccessor { + void DestroyPeerImpl(Ark_DrawModifier peer) { if (!needGroupedLog(1)) { return; } - string out("rQuadTo("); - WriteToString(&out, dx1); - out.append(", "); - WriteToString(&out, dy1); - out.append(", "); - WriteToString(&out, dx2); - out.append(", "); - WriteToString(&out, dy2); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void RConicToImpl(Ark_drawing_Path peer, - const Ark_Number* ctrlX, - const Ark_Number* ctrlY, - const Ark_Number* endX, - const Ark_Number* endY, - const Ark_Number* weight) + Ark_DrawModifier ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("rConicTo("); - WriteToString(&out, ctrlX); - out.append(", "); - WriteToString(&out, ctrlY); - out.append(", "); - WriteToString(&out, endX); - out.append(", "); - WriteToString(&out, endY); - out.append(", "); - WriteToString(&out, weight); + string out("new DrawModifier("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void RCubicToImpl(Ark_drawing_Path peer, - const Ark_Number* ctrlX1, - const Ark_Number* ctrlY1, - const Ark_Number* ctrlX2, - const Ark_Number* ctrlY2, - const Ark_Number* endX, - const Ark_Number* endY) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("rCubicTo("); - WriteToString(&out, ctrlX1); - out.append(", "); - WriteToString(&out, ctrlY1); - out.append(", "); - WriteToString(&out, ctrlX2); - out.append(", "); - WriteToString(&out, ctrlY2); - out.append(", "); - WriteToString(&out, endX); - out.append(", "); - WriteToString(&out, endY); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void AddPolygonImpl(Ark_drawing_Path peer, - const Array_common2D_Point* points, - Ark_Boolean close) + Callback_DrawContext_Void GetDrawBehind_callbackImpl(Ark_DrawModifier peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("addPolygon("); - WriteToString(&out, points); - out.append(", "); - WriteToString(&out, close); + string out("getDrawBehind_callback("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_Boolean OpImpl(Ark_drawing_Path peer, - Ark_drawing_Path path, - Ark_drawing_PathOp pathOp) + Callback_DrawContext_Void GetDrawContent_callbackImpl(Ark_DrawModifier peer) { if (!needGroupedLog(1)) { - return 0; + return {}; } - string out("op("); - WriteToString(&out, path); - out.append(", "); - WriteToString(&out, pathOp); + string out("getDrawContent_callback("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return 0; + return {}; } - void AddArcImpl(Ark_drawing_Path peer, - const Ark_common2D_Rect* rect, - const Ark_Number* startAngle, - const Ark_Number* sweepAngle) + } // DrawModifierAccessor + namespace EllipseShapeAccessor { + void DestroyPeerImpl(Ark_EllipseShape peer) { if (!needGroupedLog(1)) { return; } - string out("addArc("); - WriteToString(&out, rect); - out.append(", "); - WriteToString(&out, startAngle); - out.append(", "); - WriteToString(&out, sweepAngle); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void AddCircleImpl(Ark_drawing_Path peer, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* radius, - Ark_drawing_PathDirection pathDirection) + Ark_EllipseShape ConstructImpl(const Opt_ShapeSize* options) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("addCircle("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); - out.append(", "); - WriteToString(&out, radius); - out.append(", "); - WriteToString(&out, pathDirection); + string out("new EllipseShape("); + WriteToString(&out, options); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void AddOvalImpl(Ark_drawing_Path peer, - const Ark_common2D_Rect* rect, - const Ark_Number* start, - Ark_drawing_PathDirection pathDirection) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("addOval("); - WriteToString(&out, rect); - out.append(", "); - WriteToString(&out, start); - out.append(", "); - WriteToString(&out, pathDirection); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + Ark_EllipseShape OffsetImpl(Ark_EllipseShape peer, + const Ark_Position* offset) + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(300); + } + string out("offset("); + WriteToString(&out, offset); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void AddRectImpl(Ark_drawing_Path peer, - const Ark_common2D_Rect* rect, - Ark_drawing_PathDirection pathDirection) + Ark_EllipseShape FillImpl(Ark_EllipseShape peer, + const Ark_ResourceColor* color) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("addRect("); - WriteToString(&out, rect); - out.append(", "); - WriteToString(&out, pathDirection); + string out("fill("); + WriteToString(&out, color); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void AddRoundRectImpl(Ark_drawing_Path peer, - Ark_drawing_RoundRect roundRect, - Ark_drawing_PathDirection pathDirection) + Ark_EllipseShape PositionImpl(Ark_EllipseShape peer, + const Ark_Position* position) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("addRoundRect("); - WriteToString(&out, roundRect); - out.append(", "); - WriteToString(&out, pathDirection); + string out("position("); + WriteToString(&out, position); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void AddPathImpl(Ark_drawing_Path peer, - Ark_drawing_Path path, - const Opt_drawing_Matrix* matrix) + Ark_EllipseShape WidthImpl(Ark_EllipseShape peer, + const Ark_Length* width) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("addPath("); - WriteToString(&out, path); - out.append(", "); - WriteToString(&out, matrix); + string out("width("); + WriteToString(&out, width); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void TransformImpl(Ark_drawing_Path peer, - Ark_drawing_Matrix matrix) + Ark_EllipseShape HeightImpl(Ark_EllipseShape peer, + const Ark_Length* height) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("transform("); - WriteToString(&out, matrix); + string out("height("); + WriteToString(&out, height); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_Boolean ContainsImpl(Ark_drawing_Path peer, - const Ark_Number* x, - const Ark_Number* y) + Ark_EllipseShape SizeImpl(Ark_EllipseShape peer, + const Ark_SizeOptions* size) { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(300); } - string out("contains("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("size("); + WriteToString(&out, size); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(300); } - void SetFillTypeImpl(Ark_drawing_Path peer, - Ark_drawing_PathFillType pathFillType) + } // EllipseShapeAccessor + namespace EnvironmentBackendAccessor { + } // EnvironmentBackendAccessor + namespace EventEmulatorAccessor { + void EmitTextInputEventImpl(Ark_NativePointer node, + const Ark_String* text) { if (!needGroupedLog(1)) { return; } - string out("setFillType("); - WriteToString(&out, pathFillType); + string out("emitTextInputEvent("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, text); out.append(") \n"); appendGroupedLog(1, out); } - Ark_common2D_Rect GetBoundsImpl(Ark_drawing_Path peer) + } // EventEmulatorAccessor + namespace EventResultAccessor { + void DestroyPeerImpl(Ark_EventResult peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getBounds("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void CloseImpl(Ark_drawing_Path peer) + Ark_EventResult ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("close("); + string out("new EventResult("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_drawing_Path OffsetImpl(Ark_drawing_Path peer, - const Ark_Number* dx, - const Ark_Number* dy) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - string out("offset("); - WriteToString(&out, dx); - out.append(", "); - WriteToString(&out, dy); + string out("getFinalizer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - void ResetImpl(Ark_drawing_Path peer) + void SetGestureEventResult0Impl(Ark_EventResult peer, + Ark_Boolean result) { if (!needGroupedLog(1)) { return; } - string out("reset("); + string out("setGestureEventResult0("); + WriteToString(&out, result); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetLengthImpl(Ark_drawing_Path peer, - Ark_Boolean forceClosed) + void SetGestureEventResult1Impl(Ark_EventResult peer, + Ark_Boolean result, + Ark_Boolean stopPropagation) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getLength("); - WriteToString(&out, forceClosed); + string out("setGestureEventResult1("); + WriteToString(&out, result); + out.append(", "); + WriteToString(&out, stopPropagation); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Boolean GetPositionAndTangentImpl(Ark_drawing_Path peer, - Ark_Boolean forceClosed, - const Ark_Number* distance, - const Ark_common2D_Point* position, - const Ark_common2D_Point* tangent) + } // EventResultAccessor + namespace EventTargetInfoAccessor { + void DestroyPeerImpl(Ark_EventTargetInfo peer) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("getPositionAndTangent("); - WriteToString(&out, forceClosed); - out.append(", "); - WriteToString(&out, distance); - out.append(", "); - WriteToString(&out, position); - out.append(", "); - WriteToString(&out, tangent); + string out("destroyPeer("); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_Boolean IsClosedImpl(Ark_drawing_Path peer) + Ark_EventTargetInfo ConstructImpl() { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(100); } - string out("isClosed("); + string out("new EventTargetInfo("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(100); } - Ark_Boolean GetMatrixImpl(Ark_drawing_Path peer, - Ark_Boolean forceClosed, - const Ark_Number* distance, - Ark_drawing_Matrix matrix, - Ark_drawing_PathMeasureMatrixFlags flags) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return 0; + return fnPtr(dummyClassFinalizer); } - string out("getMatrix("); - WriteToString(&out, forceClosed); - out.append(", "); - WriteToString(&out, distance); - out.append(", "); - WriteToString(&out, matrix); - out.append(", "); - WriteToString(&out, flags); + string out("getFinalizer("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return 0; + return fnPtr(dummyClassFinalizer); } - Ark_Boolean BuildFromSvgStringImpl(Ark_drawing_Path peer, - const Ark_String* str) + Ark_String GetIdImpl(Ark_EventTargetInfo peer) { if (!needGroupedLog(1)) { - return 0; + return {}; } - string out("buildFromSvgString("); - WriteToString(&out, str); + string out("getId("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return 0; + return {}; } - } // drawing_PathAccessor - namespace drawing_PathEffectAccessor { - void DestroyPeerImpl(Ark_drawing_PathEffect peer) + } // EventTargetInfoAccessor + namespace ExtendableComponentAccessor { + void DestroyPeerImpl(Ark_ExtendableComponent peer) { if (!needGroupedLog(1)) { @@ -29554,17 +33009,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_drawing_PathEffect ConstructImpl() + Ark_ExtendableComponent ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new PathEffect("); + string out("new ExtendableComponent("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -29578,1091 +33033,941 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_drawing_PathEffect CreateDashPathEffectImpl(const Array_Number* intervals, - const Ark_Number* phase) + Ark_UIContext GetUIContextImpl(Ark_ExtendableComponent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("createDashPathEffect("); - WriteToString(&out, intervals); - out.append(", "); - WriteToString(&out, phase); + string out("getUIContext("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - Ark_drawing_PathEffect CreateCornerPathEffectImpl(const Ark_Number* radius) + Ark_Int32 GetUniqueIdImpl(Ark_ExtendableComponent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return 0; } - string out("createCornerPathEffect("); - WriteToString(&out, radius); + string out("getUniqueId("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return 0; } - } // drawing_PathEffectAccessor - namespace drawing_PenAccessor { - void DestroyPeerImpl(Ark_drawing_Pen peer) + Opt_uiObserver_NavDestinationInfo QueryNavDestinationInfo0Impl(Ark_ExtendableComponent peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("destroyPeer("); + string out("queryNavDestinationInfo0("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_drawing_Pen Construct0Impl() + Opt_uiObserver_NavDestinationInfo QueryNavDestinationInfo1Impl(Ark_ExtendableComponent peer, + const Opt_Boolean* isInner) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("construct0("); + string out("queryNavDestinationInfo1("); + WriteToString(&out, isInner); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - Ark_drawing_Pen Construct1Impl(Ark_drawing_Pen pen) + Opt_uiObserver_NavigationInfo QueryNavigationInfoImpl(Ark_ExtendableComponent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("construct1("); - WriteToString(&out, pen); + string out("queryNavigationInfo("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - Ark_NativePointer GetFinalizerImpl() + Opt_uiObserver_RouterPageInfo QueryRouterPageInfoImpl(Ark_ExtendableComponent peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("queryRouterPageInfo("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - void SetMiterLimitImpl(Ark_drawing_Pen peer, - const Ark_Number* miter) + } // ExtendableComponentAccessor + namespace FileSelectorParamAccessor { + void DestroyPeerImpl(Ark_FileSelectorParam peer) { if (!needGroupedLog(1)) { return; } - string out("setMiterLimit("); - WriteToString(&out, miter); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetMiterLimitImpl(Ark_drawing_Pen peer) + Ark_FileSelectorParam ConstructImpl() { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(100); } - string out("getMiterLimit("); + string out("new FileSelectorParam("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(100); } - void SetShaderEffectImpl(Ark_drawing_Pen peer, - Ark_drawing_ShaderEffect shaderEffect) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setShaderEffect("); - WriteToString(&out, shaderEffect); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void SetColor0Impl(Ark_drawing_Pen peer, - const Ark_common2D_Color* color) + Ark_String GetTitleImpl(Ark_FileSelectorParam peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setColor0("); - WriteToString(&out, color); + string out("getTitle("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SetColor1Impl(Ark_drawing_Pen peer, - const Ark_Number* color) + Ark_FileSelectorMode GetModeImpl(Ark_FileSelectorParam peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setColor1("); - WriteToString(&out, color); + string out("getMode("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + Array_String GetAcceptTypeImpl(Ark_FileSelectorParam peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getAcceptType("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SetColor2Impl(Ark_drawing_Pen peer, - const Ark_Number* alpha, - const Ark_Number* red, - const Ark_Number* green, - const Ark_Number* blue) + Ark_Boolean IsCaptureImpl(Ark_FileSelectorParam peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("setColor2("); - WriteToString(&out, alpha); - out.append(", "); - WriteToString(&out, red); - out.append(", "); - WriteToString(&out, green); - out.append(", "); - WriteToString(&out, blue); + string out("isCapture("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Ark_common2D_Color GetColorImpl(Ark_drawing_Pen peer) + Array_String GetMimeTypesImpl(Ark_FileSelectorParam peer) { if (!needGroupedLog(1)) { return {}; } - string out("getColor("); + string out("getMimeTypes("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Ark_Number GetHexColorImpl(Ark_drawing_Pen peer) + } // FileSelectorParamAccessor + namespace FileSelectorResultAccessor { + void DestroyPeerImpl(Ark_FileSelectorResult peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getHexColor("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetStrokeWidthImpl(Ark_drawing_Pen peer, - const Ark_Number* width) + Ark_FileSelectorResult ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setStrokeWidth("); - WriteToString(&out, width); + string out("new FileSelectorResult("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_Number GetWidthImpl(Ark_drawing_Pen peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {42}; + return fnPtr(dummyClassFinalizer); } - string out("getWidth("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {42}; + return fnPtr(dummyClassFinalizer); } - void SetAntiAliasImpl(Ark_drawing_Pen peer, - Ark_Boolean aa) + void HandleFileListImpl(Ark_FileSelectorResult peer, + const Array_String* fileList) { if (!needGroupedLog(1)) { return; } - string out("setAntiAlias("); - WriteToString(&out, aa); + string out("handleFileList("); + WriteToString(&out, fileList); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Boolean IsAntiAliasImpl(Ark_drawing_Pen peer) + } // FileSelectorResultAccessor + namespace FocusAxisEventAccessor { + void DestroyPeerImpl(Ark_FocusAxisEvent peer) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("isAntiAlias("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - void SetAlphaImpl(Ark_drawing_Pen peer, - const Ark_Number* alpha) + Ark_FocusAxisEvent ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setAlpha("); - WriteToString(&out, alpha); + string out("new FocusAxisEvent("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_Number GetAlphaImpl(Ark_drawing_Pen peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {42}; + return fnPtr(dummyClassFinalizer); } - string out("getAlpha("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {42}; + return fnPtr(dummyClassFinalizer); } - void SetColorFilterImpl(Ark_drawing_Pen peer, - Ark_drawing_ColorFilter filter) + Map_AxisModel_Number GetAxisMapImpl(Ark_FocusAxisEvent peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setColorFilter("); - WriteToString(&out, filter); + string out("getAxisMap("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_drawing_ColorFilter GetColorFilterImpl(Ark_drawing_Pen peer) + void SetAxisMapImpl(Ark_FocusAxisEvent peer, + const Map_AxisModel_Number* axisMap) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getColorFilter("); + string out("setAxisMap("); + WriteToString(&out, axisMap); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - void SetImageFilterImpl(Ark_drawing_Pen peer, - const Opt_drawing_ImageFilter* filter) + Callback_Void GetStopPropagationImpl(Ark_FocusAxisEvent peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setImageFilter("); - WriteToString(&out, filter); + string out("getStopPropagation("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SetMaskFilterImpl(Ark_drawing_Pen peer, - Ark_drawing_MaskFilter filter) + void SetStopPropagationImpl(Ark_FocusAxisEvent peer, + const Callback_Void* stopPropagation) { if (!needGroupedLog(1)) { return; } - string out("setMaskFilter("); - WriteToString(&out, filter); + string out("setStopPropagation("); + WriteToString(&out, stopPropagation); out.append(") \n"); appendGroupedLog(1, out); } - void SetPathEffectImpl(Ark_drawing_Pen peer, - Ark_drawing_PathEffect effect) + } // FocusAxisEventAccessor + namespace FocusControllerAccessor { + void RequestFocusImpl(const Ark_String* key) { if (!needGroupedLog(1)) { return; } - string out("setPathEffect("); - WriteToString(&out, effect); + string out("requestFocus("); + WriteToString(&out, key); out.append(") \n"); appendGroupedLog(1, out); } - void SetShadowLayerImpl(Ark_drawing_Pen peer, - Ark_drawing_ShadowLayer shadowLayer) + } // FocusControllerAccessor + namespace FrameNodeAccessor { + void DestroyPeerImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { return; } - string out("setShadowLayer("); - WriteToString(&out, shadowLayer); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void SetBlendModeImpl(Ark_drawing_Pen peer, - Ark_drawing_BlendMode mode) + Ark_FrameNode ConstructImpl(Ark_UIContext uiContext) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setBlendMode("); - WriteToString(&out, mode); + string out("new FrameNode("); + WriteToString(&out, uiContext); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void SetDitherImpl(Ark_drawing_Pen peer, - Ark_Boolean dither) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setDither("); - WriteToString(&out, dither); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void SetJoinStyleImpl(Ark_drawing_Pen peer, - Ark_drawing_JoinStyle style) + Ark_Boolean IsModifiableImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("setJoinStyle("); - WriteToString(&out, style); + string out("isModifiable("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Ark_drawing_JoinStyle GetJoinStyleImpl(Ark_drawing_Pen peer) + void AppendChildImpl(Ark_FrameNode peer, + Ark_FrameNode node) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getJoinStyle("); + string out("appendChild("); + WriteToString(&out, node); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetCapStyleImpl(Ark_drawing_Pen peer, - Ark_drawing_CapStyle style) + void InsertChildAfterImpl(Ark_FrameNode peer, + Ark_FrameNode child, + Ark_FrameNode sibling) { if (!needGroupedLog(1)) { return; } - string out("setCapStyle("); - WriteToString(&out, style); + string out("insertChildAfter("); + WriteToString(&out, child); + out.append(", "); + WriteToString(&out, sibling); out.append(") \n"); appendGroupedLog(1, out); } - Ark_drawing_CapStyle GetCapStyleImpl(Ark_drawing_Pen peer) + void RemoveChildImpl(Ark_FrameNode peer, + Ark_FrameNode node) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getCapStyle("); + string out("removeChild("); + WriteToString(&out, node); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void ResetImpl(Ark_drawing_Pen peer) + void ClearChildrenImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { return; } - string out("reset("); + string out("clearChildren("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Boolean GetFillPathImpl(Ark_drawing_Pen peer, - Ark_drawing_Path src, - Ark_drawing_Path dst) + Ark_FrameNode GetChildImpl(Ark_FrameNode peer, + const Ark_Number* index, + const Ark_Number* expandMode) { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(300); } - string out("getFillPath("); - WriteToString(&out, src); + string out("getChild("); + WriteToString(&out, index); out.append(", "); - WriteToString(&out, dst); + WriteToString(&out, expandMode); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(300); } - } // drawing_PenAccessor - namespace drawing_RegionAccessor { - void DestroyPeerImpl(Ark_drawing_Region peer) + Ark_FrameNode GetFirstChildImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("destroyPeer("); + string out("getFirstChild("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_drawing_Region ConstructImpl() + Ark_FrameNode GetNextSiblingImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(300); } - string out("new Region("); + string out("getNextSibling("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(300); } - Ark_NativePointer GetFinalizerImpl() + Ark_FrameNode GetPreviousSiblingImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - string out("getFinalizer("); + string out("getPreviousSibling("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - Ark_Boolean IsPointContainedImpl(Ark_drawing_Region peer, - const Ark_Number* x, - const Ark_Number* y) + Ark_FrameNode GetParentImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(300); } - string out("isPointContained("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("getParent("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(300); } - Ark_Boolean IsRegionContainedImpl(Ark_drawing_Region peer, - Ark_drawing_Region other) + Ark_Int32 GetChildrenCountImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { return 0; } - string out("isRegionContained("); - WriteToString(&out, other); + string out("getChildrenCount("); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - Ark_Boolean OpImpl(Ark_drawing_Region peer, - Ark_drawing_Region region, - Ark_drawing_RegionOp regionOp) + void DisposeImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("op("); - WriteToString(&out, region); - out.append(", "); - WriteToString(&out, regionOp); + string out("dispose("); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_Boolean QuickRejectImpl(Ark_drawing_Region peer, - const Ark_Number* left, - const Ark_Number* top, - const Ark_Number* right, - const Ark_Number* bottom) + Ark_String GetIdImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return 0; + return {}; } - string out("quickReject("); - WriteToString(&out, left); - out.append(", "); - WriteToString(&out, top); - out.append(", "); - WriteToString(&out, right); - out.append(", "); - WriteToString(&out, bottom); + string out("getId("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return 0; + return {}; } - Ark_Boolean SetPathImpl(Ark_drawing_Region peer, - Ark_drawing_Path path, - Ark_drawing_Region clip) + Ark_Number GetUniqueIdImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return 0; + return {42}; } - string out("setPath("); - WriteToString(&out, path); - out.append(", "); - WriteToString(&out, clip); + string out("getUniqueId("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return 0; + return {42}; } - Ark_Boolean SetRectImpl(Ark_drawing_Region peer, - const Ark_Number* left, - const Ark_Number* top, - const Ark_Number* right, - const Ark_Number* bottom) + Ark_String GetNodeTypeImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return 0; + return {}; } - string out("setRect("); - WriteToString(&out, left); - out.append(", "); - WriteToString(&out, top); - out.append(", "); - WriteToString(&out, right); - out.append(", "); - WriteToString(&out, bottom); + string out("getNodeType("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return 0; + return {}; } - } // drawing_RegionAccessor - namespace drawing_RoundRectAccessor { - void DestroyPeerImpl(Ark_drawing_RoundRect peer) + Ark_Number GetOpacityImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("destroyPeer("); + string out("getOpacity("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_drawing_RoundRect ConstructImpl(const Ark_common2D_Rect* rect, - const Ark_Number* xRadii, - const Ark_Number* yRadii) + Ark_Boolean IsVisibleImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return 0; } - string out("new RoundRect("); - WriteToString(&out, rect); - out.append(", "); - WriteToString(&out, xRadii); - out.append(", "); - WriteToString(&out, yRadii); + string out("isVisible("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return 0; } - Ark_NativePointer GetFinalizerImpl() + Ark_Boolean IsClipToFrameImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return 0; } - string out("getFinalizer("); + string out("isClipToFrame("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return 0; } - void SetCornerImpl(Ark_drawing_RoundRect peer, - Ark_drawing_CornerPos pos, - const Ark_Number* x, - const Ark_Number* y) + Ark_Boolean IsAttachedImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("setCorner("); - WriteToString(&out, pos); - out.append(", "); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("isAttached("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Ark_common2D_Point GetCornerImpl(Ark_drawing_RoundRect peer, - Ark_drawing_CornerPos pos) + Ark_Object GetInspectorInfoImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { return {}; } - string out("getCorner("); - WriteToString(&out, pos); + string out("getInspectorInfo("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void OffsetImpl(Ark_drawing_RoundRect peer, - const Ark_Number* dx, - const Ark_Number* dy) + void InvalidateImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { return; } - string out("offset("); - WriteToString(&out, dx); - out.append(", "); - WriteToString(&out, dy); + string out("invalidate("); out.append(") \n"); appendGroupedLog(1, out); } - } // drawing_RoundRectAccessor - namespace drawing_SamplingOptionsAccessor { - void DestroyPeerImpl(Ark_drawing_SamplingOptions peer) + void DisposeTreeImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("disposeTree("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_drawing_SamplingOptions Construct0Impl() + void SetCrossLanguageOptionsImpl(Ark_FrameNode peer, + const Ark_CrossLanguageOptions* options) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("construct0("); + string out("setCrossLanguageOptions("); + WriteToString(&out, options); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_drawing_SamplingOptions Construct1Impl(Ark_drawing_FilterMode filterMode) + Ark_CrossLanguageOptions GetCrossLanguageOptionsImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("construct1("); - WriteToString(&out, filterMode); + string out("getCrossLanguageOptions("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetMeasuredSizeImpl(Ark_FrameNode peer, + const Ark_Size* size) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setMeasuredSize("); + WriteToString(&out, size); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - } // drawing_SamplingOptionsAccessor - namespace drawing_ShaderEffectAccessor { - void DestroyPeerImpl(Ark_drawing_ShaderEffect peer) + void SetLayoutPositionImpl(Ark_FrameNode peer, + const Ark_Position* position) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setLayoutPosition("); + WriteToString(&out, position); out.append(") \n"); appendGroupedLog(1, out); } - Ark_drawing_ShaderEffect ConstructImpl() + void MeasureImpl(Ark_FrameNode peer, + const Ark_LayoutConstraint* constraint) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new ShaderEffect("); + string out("measure("); + WriteToString(&out, constraint); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void LayoutImpl(Ark_FrameNode peer, + const Ark_Position* position) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("layout("); + WriteToString(&out, position); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_drawing_ShaderEffect CreateColorShaderImpl(const Ark_Number* color) + void SetNeedsLayoutImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("createColorShader("); - WriteToString(&out, color); + string out("setNeedsLayout("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_drawing_ShaderEffect CreateLinearGradientImpl(const Ark_common2D_Point* startPt, - const Ark_common2D_Point* endPt, - const Array_Number* colors, - Ark_drawing_TileMode mode, - const Opt_Array_Number* pos, - const Opt_drawing_Matrix* matrix) + Ark_Position GetPositionToWindowWithTransformImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("createLinearGradient("); - WriteToString(&out, startPt); - out.append(", "); - WriteToString(&out, endPt); - out.append(", "); - WriteToString(&out, colors); - out.append(", "); - WriteToString(&out, mode); - out.append(", "); - WriteToString(&out, pos); - out.append(", "); - WriteToString(&out, matrix); + string out("getPositionToWindowWithTransform("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - Ark_drawing_ShaderEffect CreateRadialGradientImpl(const Ark_common2D_Point* centerPt, - const Ark_Number* radius, - const Array_Number* colors, - Ark_drawing_TileMode mode, - const Opt_Array_Number* pos, - const Opt_drawing_Matrix* matrix) + Ark_FrameNode GetFrameNodeByKeyImpl(const Ark_String* name) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("createRadialGradient("); - WriteToString(&out, centerPt); - out.append(", "); - WriteToString(&out, radius); - out.append(", "); - WriteToString(&out, colors); - out.append(", "); - WriteToString(&out, mode); - out.append(", "); - WriteToString(&out, pos); - out.append(", "); - WriteToString(&out, matrix); + string out("getFrameNodeByKey("); + WriteToString(&out, name); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - Ark_drawing_ShaderEffect CreateSweepGradientImpl(const Ark_common2D_Point* centerPt, - const Array_Number* colors, - Ark_drawing_TileMode mode, - const Ark_Number* startAngle, - const Ark_Number* endAngle, - const Opt_Array_Number* pos, - const Opt_drawing_Matrix* matrix) + Ark_Number GetIdByFrameNodeImpl(Ark_FrameNode peer, + Ark_FrameNode node) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {42}; } - string out("createSweepGradient("); - WriteToString(&out, centerPt); - out.append(", "); - WriteToString(&out, colors); - out.append(", "); - WriteToString(&out, mode); - out.append(", "); - WriteToString(&out, startAngle); - out.append(", "); - WriteToString(&out, endAngle); - out.append(", "); - WriteToString(&out, pos); - out.append(", "); - WriteToString(&out, matrix); + string out("getIdByFrameNode("); + WriteToString(&out, node); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {42}; } - Ark_drawing_ShaderEffect CreateConicalGradientImpl(const Ark_common2D_Point* startPt, - const Ark_Number* startRadius, - const Ark_common2D_Point* endPt, - const Ark_Number* endRadius, - const Array_Number* colors, - Ark_drawing_TileMode mode, - const Opt_Array_Number* pos, - const Opt_drawing_Matrix* matrix) + void MoveToImpl(Ark_FrameNode peer, + Ark_FrameNode targetParent, + const Ark_Number* index) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("createConicalGradient("); - WriteToString(&out, startPt); - out.append(", "); - WriteToString(&out, startRadius); - out.append(", "); - WriteToString(&out, endPt); - out.append(", "); - WriteToString(&out, endRadius); - out.append(", "); - WriteToString(&out, colors); - out.append(", "); - WriteToString(&out, mode); - out.append(", "); - WriteToString(&out, pos); + string out("moveTo("); + WriteToString(&out, targetParent); out.append(", "); - WriteToString(&out, matrix); + WriteToString(&out, index); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // drawing_ShaderEffectAccessor - namespace drawing_ShadowLayerAccessor { - void DestroyPeerImpl(Ark_drawing_ShadowLayer peer) + Ark_Number GetFirstChildIndexWithoutExpandImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("destroyPeer("); + string out("getFirstChildIndexWithoutExpand("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_drawing_ShadowLayer ConstructImpl() + Ark_Number GetLastChildIndexWithoutExpandImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new ShadowLayer("); + string out("getLastChildIndexWithoutExpand("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + Ark_FrameNode GetAttachedFrameNodeByIdImpl(const Ark_String* id) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - string out("getFinalizer("); + string out("getAttachedFrameNodeById("); + WriteToString(&out, id); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - Ark_drawing_ShadowLayer Create0Impl(const Ark_Number* blurRadius, - const Ark_Number* x, - const Ark_Number* y, - const Ark_common2D_Color* color) + Ark_FrameNode GetFrameNodeByIdImpl(const Ark_Number* id) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("create0("); - WriteToString(&out, blurRadius); - out.append(", "); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); - out.append(", "); - WriteToString(&out, color); + string out("getFrameNodeById("); + WriteToString(&out, id); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - Ark_drawing_ShadowLayer Create1Impl(const Ark_Number* blurRadius, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* color) + Ark_FrameNode GetFrameNodeByUniqueIdImpl(const Ark_Number* id) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("create1("); - WriteToString(&out, blurRadius); - out.append(", "); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); - out.append(", "); - WriteToString(&out, color); + string out("getFrameNodeByUniqueId("); + WriteToString(&out, id); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - } // drawing_ShadowLayerAccessor - namespace drawing_TextBlobAccessor { - void DestroyPeerImpl(Ark_drawing_TextBlob peer) + void ReuseImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("reuse("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_drawing_TextBlob ConstructImpl() + void RecycleImpl(Ark_FrameNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new TextBlob("); + string out("recycle("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + Ark_NativePointer GetFrameNodePtrImpl(Ark_FrameNode node) + { + if (!needGroupedLog(1)) + { + return nullptr; + } + string out("getFrameNodePtr("); + WriteToString(&out, node); + out.append(") \n"); + out.append("[return nullptr] \n"); + appendGroupedLog(1, out); + return nullptr; + } + Ark_FrameNode CreateTypedFrameNodeImpl(const Ark_String* type) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - string out("getFinalizer("); + string out("createTypedFrameNode("); + WriteToString(&out, type); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - Ark_drawing_TextBlob MakeFromStringImpl(const Ark_String* text, - Ark_drawing_Font font, - Ark_drawing_TextEncoding encoding) + Ark_NativePointer CreateByRawPtrImpl(Ark_FrameNode peer, + Ark_FrameNode pointer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return nullptr; } - string out("makeFromString("); - WriteToString(&out, text); - out.append(", "); - WriteToString(&out, font); - out.append(", "); - WriteToString(&out, encoding); + string out("createByRawPtr("); + WriteToString(&out, pointer); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return nullptr; } - Ark_drawing_TextBlob MakeFromPosTextImpl(const Ark_String* text, - const Ark_Number* len, - const Array_common2D_Point* points, - Ark_drawing_Font font) + Ark_FrameNode UnWrapRawPtrImpl(Ark_FrameNode peer, + Ark_NativePointer pointer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("makeFromPosText("); - WriteToString(&out, text); - out.append(", "); - WriteToString(&out, len); - out.append(", "); - WriteToString(&out, points); - out.append(", "); - WriteToString(&out, font); + string out("unWrapRawPtr("); + WriteToString(&out, pointer); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - Ark_drawing_TextBlob MakeFromRunBufferImpl(const Array_drawing_TextBlobRunBuffer* pos, - Ark_drawing_Font font, - const Ark_common2D_Rect* bounds) + } // FrameNodeAccessor + namespace FrictionMotionAccessor { + void DestroyPeerImpl(Ark_FrictionMotion peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("makeFromRunBuffer("); - WriteToString(&out, pos); - out.append(", "); - WriteToString(&out, font); - out.append(", "); - WriteToString(&out, bounds); + string out("destroyPeer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_common2D_Rect BoundsImpl(Ark_drawing_TextBlob peer) + Ark_FrictionMotion ConstructImpl(const Ark_Number* friction, + const Ark_Number* position, + const Ark_Number* velocity) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("bounds("); + string out("new FrictionMotion("); + WriteToString(&out, friction); + out.append(", "); + WriteToString(&out, position); + out.append(", "); + WriteToString(&out, velocity); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - Ark_Number UniqueIDImpl(Ark_drawing_TextBlob peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {42}; + return fnPtr(dummyClassFinalizer); } - string out("uniqueID("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {42}; + return fnPtr(dummyClassFinalizer); } - } // drawing_TextBlobAccessor - namespace drawing_TypefaceAccessor { - void DestroyPeerImpl(Ark_drawing_Typeface peer) + } // FrictionMotionAccessor + namespace FullScreenExitHandlerAccessor { + void DestroyPeerImpl(Ark_FullScreenExitHandler peer) { if (!needGroupedLog(1)) { @@ -30672,17 +33977,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_drawing_Typeface ConstructImpl() + Ark_FullScreenExitHandler ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new Typeface("); + string out("new FullScreenExitHandler("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -30696,34 +34001,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_String GetFamilyNameImpl(Ark_drawing_Typeface peer) - { - if (!needGroupedLog(1)) - { - return {}; - } - string out("getFamilyName("); - out.append(") \n"); - out.append("[return {}] \n"); - appendGroupedLog(1, out); - return {}; - } - Ark_drawing_Typeface MakeFromFileImpl(const Ark_String* filePath) + void ExitFullScreenImpl(Ark_FullScreenExitHandler peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("makeFromFile("); - WriteToString(&out, filePath); + string out("exitFullScreen("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // drawing_TypefaceAccessor - namespace DrawingRenderingContextAccessor { - void DestroyPeerImpl(Ark_DrawingRenderingContext peer) + } // FullScreenExitHandlerAccessor + namespace GestureAccessor { + void DestroyPeerImpl(Ark_Gesture peer) { if (!needGroupedLog(1)) { @@ -30733,18 +34023,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_DrawingRenderingContext ConstructImpl(const Opt_LengthMetricsUnit* unit) + Ark_Gesture ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new DrawingRenderingContext("); - WriteToString(&out, unit); + string out("new Gesture("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -30758,43 +34047,33 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void InvalidateImpl(Ark_DrawingRenderingContext peer) + void TagImpl(Ark_Gesture peer, + const Ark_String* tag) { if (!needGroupedLog(1)) { return; } - string out("invalidate("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Size GetSizeImpl(Ark_DrawingRenderingContext peer) - { - if (!needGroupedLog(1)) - { - return {}; - } - string out("getSize("); + string out("tag("); + WriteToString(&out, tag); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetSizeImpl(Ark_DrawingRenderingContext peer, - const Ark_Size* size) + void AllowedTypesImpl(Ark_Gesture peer, + const Array_SourceTool* types) { if (!needGroupedLog(1)) { return; } - string out("setSize("); - WriteToString(&out, size); + string out("allowedTypes("); + WriteToString(&out, types); out.append(") \n"); appendGroupedLog(1, out); } - } // DrawingRenderingContextAccessor - namespace DrawModifierAccessor { - void DestroyPeerImpl(Ark_DrawModifier peer) + } // GestureAccessor + namespace GestureEventAccessor { + void DestroyPeerImpl(Ark_GestureEvent peer) { if (!needGroupedLog(1)) { @@ -30804,17 +34083,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_DrawModifier ConstructImpl() + Ark_GestureEvent ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new DrawModifier("); + string out("new GestureEvent("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -30828,330 +34107,351 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Callback_DrawContext_Void GetDrawBehind_callbackImpl(Ark_DrawModifier peer) + Ark_Boolean GetRepeatImpl(Ark_GestureEvent peer) { if (!needGroupedLog(1)) { - return {}; + return 0; } - string out("getDrawBehind_callback("); + string out("getRepeat("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {}; + return 0; } - Callback_DrawContext_Void GetDrawContent_callbackImpl(Ark_DrawModifier peer) + void SetRepeatImpl(Ark_GestureEvent peer, + Ark_Boolean repeat) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setRepeat("); + WriteToString(&out, repeat); + out.append(") \n"); + appendGroupedLog(1, out); + } + Array_FingerInfo GetFingerListImpl(Ark_GestureEvent peer) { if (!needGroupedLog(1)) { return {}; } - string out("getDrawContent_callback("); + string out("getFingerList("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - } // DrawModifierAccessor - namespace EllipseShapeAccessor { - void DestroyPeerImpl(Ark_EllipseShape peer) + void SetFingerListImpl(Ark_GestureEvent peer, + const Array_FingerInfo* fingerList) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setFingerList("); + WriteToString(&out, fingerList); out.append(") \n"); appendGroupedLog(1, out); } - Ark_EllipseShape ConstructImpl(const Opt_ShapeSize* options) + Ark_Number GetOffsetXImpl(Ark_GestureEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new EllipseShape("); - WriteToString(&out, options); + string out("getOffsetX("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + void SetOffsetXImpl(Ark_GestureEvent peer, + const Ark_Number* offsetX) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setOffsetX("); + WriteToString(&out, offsetX); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_EllipseShape OffsetImpl(Ark_EllipseShape peer, - const Ark_Position* offset) + Ark_Number GetOffsetYImpl(Ark_GestureEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {42}; } - string out("offset("); - WriteToString(&out, offset); + string out("getOffsetY("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {42}; } - Ark_EllipseShape FillImpl(Ark_EllipseShape peer, - const Ark_ResourceColor* color) + void SetOffsetYImpl(Ark_GestureEvent peer, + const Ark_Number* offsetY) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("fill("); - WriteToString(&out, color); + string out("setOffsetY("); + WriteToString(&out, offsetY); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_EllipseShape PositionImpl(Ark_EllipseShape peer, - const Ark_Position* position) + Ark_Number GetAngleImpl(Ark_GestureEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {42}; } - string out("position("); - WriteToString(&out, position); + string out("getAngle("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {42}; } - Ark_EllipseShape WidthImpl(Ark_EllipseShape peer, - const Ark_Length* width) + void SetAngleImpl(Ark_GestureEvent peer, + const Ark_Number* angle) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("width("); - WriteToString(&out, width); + string out("setAngle("); + WriteToString(&out, angle); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_EllipseShape HeightImpl(Ark_EllipseShape peer, - const Ark_Length* height) + Ark_Number GetSpeedImpl(Ark_GestureEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {42}; } - string out("height("); - WriteToString(&out, height); + string out("getSpeed("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {42}; } - Ark_EllipseShape SizeImpl(Ark_EllipseShape peer, - const Ark_SizeOptions* size) + void SetSpeedImpl(Ark_GestureEvent peer, + const Ark_Number* speed) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("size("); - WriteToString(&out, size); + string out("setSpeed("); + WriteToString(&out, speed); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // EllipseShapeAccessor - namespace EnvironmentBackendAccessor { - } // EnvironmentBackendAccessor - namespace EventEmulatorAccessor { - void EmitTextInputEventImpl(Ark_NativePointer node, - const Ark_String* text) + Ark_Number GetScaleImpl(Ark_GestureEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getScale("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetScaleImpl(Ark_GestureEvent peer, + const Ark_Number* scale) { if (!needGroupedLog(1)) { return; } - string out("emitTextInputEvent("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, text); + string out("setScale("); + WriteToString(&out, scale); out.append(") \n"); appendGroupedLog(1, out); } - } // EventEmulatorAccessor - namespace EventTargetInfoAccessor { - void DestroyPeerImpl(Ark_EventTargetInfo peer) + Ark_Number GetPinchCenterXImpl(Ark_GestureEvent peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getPinchCenterX("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetPinchCenterXImpl(Ark_GestureEvent peer, + const Ark_Number* pinchCenterX) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setPinchCenterX("); + WriteToString(&out, pinchCenterX); out.append(") \n"); appendGroupedLog(1, out); } - Ark_EventTargetInfo ConstructImpl() + Ark_Number GetPinchCenterYImpl(Ark_GestureEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new EventTargetInfo("); + string out("getPinchCenterY("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + void SetPinchCenterYImpl(Ark_GestureEvent peer, + const Ark_Number* pinchCenterY) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setPinchCenterY("); + WriteToString(&out, pinchCenterY); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_String GetIdImpl(Ark_EventTargetInfo peer) + Ark_Number GetVelocityXImpl(Ark_GestureEvent peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getId("); + string out("getVelocityX("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - } // EventTargetInfoAccessor - namespace ExtendableComponentAccessor { - void DestroyPeerImpl(Ark_ExtendableComponent peer) + void SetVelocityXImpl(Ark_GestureEvent peer, + const Ark_Number* velocityX) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setVelocityX("); + WriteToString(&out, velocityX); out.append(") \n"); appendGroupedLog(1, out); } - Ark_ExtendableComponent ConstructImpl() + Ark_Number GetVelocityYImpl(Ark_GestureEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new ExtendableComponent("); + string out("getVelocityY("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + void SetVelocityYImpl(Ark_GestureEvent peer, + const Ark_Number* velocityY) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setVelocityY("); + WriteToString(&out, velocityY); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_UIContext GetUIContextImpl(Ark_ExtendableComponent peer) + Ark_Number GetVelocityImpl(Ark_GestureEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {42}; } - string out("getUIContext("); + string out("getVelocity("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {42}; } - Ark_Int32 GetUniqueIdImpl(Ark_ExtendableComponent peer) + void SetVelocityImpl(Ark_GestureEvent peer, + const Ark_Number* velocity) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("getUniqueId("); + string out("setVelocity("); + WriteToString(&out, velocity); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Opt_uiObserver_NavDestinationInfo QueryNavDestinationInfo0Impl(Ark_ExtendableComponent peer) + } // GestureEventAccessor + namespace GestureGroupInterfaceAccessor { + void DestroyPeerImpl(Ark_GestureGroupInterface peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("queryNavDestinationInfo0("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Opt_uiObserver_NavDestinationInfo QueryNavDestinationInfo1Impl(Ark_ExtendableComponent peer, - const Opt_Boolean* isInner) + Ark_GestureGroupInterface ConstructImpl(Ark_GestureMode mode, + const Array_GestureType* gesture) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("queryNavDestinationInfo1("); - WriteToString(&out, isInner); + string out("new GestureGroupInterface("); + WriteToString(&out, mode); + out.append(", "); + WriteToString(&out, gesture); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - Opt_uiObserver_NavigationInfo QueryNavigationInfoImpl(Ark_ExtendableComponent peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("queryNavigationInfo("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - Opt_uiObserver_RouterPageInfo QueryRouterPageInfoImpl(Ark_ExtendableComponent peer) + Ark_GestureGroupInterface OnCancelImpl(Ark_GestureGroupInterface peer, + const Callback_Void* event) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("queryRouterPageInfo("); + string out("onCancel("); + WriteToString(&out, event); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - } // ExtendableComponentAccessor - namespace FocusAxisEventAccessor { - void DestroyPeerImpl(Ark_FocusAxisEvent peer) + } // GestureGroupInterfaceAccessor + namespace GestureRecognizerAccessor { + void DestroyPeerImpl(Ark_GestureRecognizer peer) { if (!needGroupedLog(1)) { @@ -31161,17 +34461,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_FocusAxisEvent ConstructImpl() + Ark_GestureRecognizer ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new FocusAxisEvent("); + string out("new GestureRecognizer("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -31185,644 +34485,638 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Map_AxisModel_Number GetAxisMapImpl(Ark_FocusAxisEvent peer) - { - if (!needGroupedLog(1)) - { - return {}; - } - string out("getAxisMap("); - out.append(") \n"); - out.append("[return {}] \n"); - appendGroupedLog(1, out); - return {}; - } - void SetAxisMapImpl(Ark_FocusAxisEvent peer, - const Map_AxisModel_Number* axisMap) + Ark_String GetTagImpl(Ark_GestureRecognizer peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setAxisMap("); - WriteToString(&out, axisMap); + string out("getTag("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Callback_Void GetStopPropagationImpl(Ark_FocusAxisEvent peer) + Ark_GestureControl_GestureType GetTypeImpl(Ark_GestureRecognizer peer) { if (!needGroupedLog(1)) { return {}; } - string out("getStopPropagation("); + string out("getType("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetStopPropagationImpl(Ark_FocusAxisEvent peer, - const Callback_Void* stopPropagation) + Ark_Boolean IsBuiltInImpl(Ark_GestureRecognizer peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("setStopPropagation("); - WriteToString(&out, stopPropagation); + string out("isBuiltIn("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - } // FocusAxisEventAccessor - namespace FocusControllerAccessor { - void RequestFocusImpl(const Ark_String* key) + void SetEnabledImpl(Ark_GestureRecognizer peer, + Ark_Boolean isEnabled) { if (!needGroupedLog(1)) { return; } - string out("requestFocus("); - WriteToString(&out, key); + string out("setEnabled("); + WriteToString(&out, isEnabled); out.append(") \n"); appendGroupedLog(1, out); } - } // FocusControllerAccessor - namespace FrameNodeAccessor { - void DestroyPeerImpl(Ark_FrameNode peer) + Ark_Boolean IsEnabledImpl(Ark_GestureRecognizer peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("destroyPeer("); + string out("isEnabled("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Ark_FrameNode ConstructImpl(Ark_UIContext uiContext) + Ark_GestureRecognizerState GetStateImpl(Ark_GestureRecognizer peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new FrameNode("); - WriteToString(&out, uiContext); + string out("getState("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_EventTargetInfo GetEventTargetInfoImpl(Ark_GestureRecognizer peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - string out("getFinalizer("); + string out("getEventTargetInfo("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - Ark_Boolean IsModifiableImpl(Ark_FrameNode peer) + Ark_Boolean IsValidImpl(Ark_GestureRecognizer peer) { if (!needGroupedLog(1)) { return 0; } - string out("isModifiable("); + string out("isValid("); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - void AppendChildImpl(Ark_FrameNode peer, - Ark_FrameNode node) + Ark_Number GetFingerCountImpl(Ark_GestureRecognizer peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("appendChild("); - WriteToString(&out, node); + string out("getFingerCount("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void InsertChildAfterImpl(Ark_FrameNode peer, - Ark_FrameNode child, - Ark_FrameNode sibling) + Ark_Boolean IsFingerCountLimitImpl(Ark_GestureRecognizer peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("insertChildAfter("); - WriteToString(&out, child); - out.append(", "); - WriteToString(&out, sibling); + string out("isFingerCountLimit("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - void RemoveChildImpl(Ark_FrameNode peer, - Ark_FrameNode node) + } // GestureRecognizerAccessor + namespace GestureStyleAccessor { + void DestroyPeerImpl(Ark_GestureStyle peer) { if (!needGroupedLog(1)) { return; } - string out("removeChild("); - WriteToString(&out, node); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void ClearChildrenImpl(Ark_FrameNode peer) + Ark_GestureStyle ConstructImpl(const Opt_GestureStyleInterface* value) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("clearChildren("); + string out("new GestureStyle("); + WriteToString(&out, value); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_FrameNode GetChildImpl(Ark_FrameNode peer, - const Ark_Number* index, - const Ark_Number* expandMode) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - string out("getChild("); - WriteToString(&out, index); - out.append(", "); - WriteToString(&out, expandMode); + string out("getFinalizer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - Ark_FrameNode GetFirstChildImpl(Ark_FrameNode peer) + } // GestureStyleAccessor + namespace GlobalScope_ohos_arkui_componentSnapshotAccessor { + void GetImpl(const Ark_String* id, + const AsyncCallback_image_PixelMap_Void* callback, + const Opt_SnapshotOptions* options) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getFirstChild("); + string out("get("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, callback); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_FrameNode GetNextSiblingImpl(Ark_FrameNode peer) + } // GlobalScope_ohos_arkui_componentSnapshotAccessor + namespace GlobalScope_ohos_arkui_performanceMonitorAccessor { + void BeginImpl(const Ark_String* scene, + Ark_PerfMonitorActionType startInputType, + const Opt_String* note) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getNextSibling("); + string out("begin("); + WriteToString(&out, scene); + out.append(", "); + WriteToString(&out, startInputType); + out.append(", "); + WriteToString(&out, note); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_FrameNode GetPreviousSiblingImpl(Ark_FrameNode peer) + void EndImpl(const Ark_String* scene) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getPreviousSibling("); + string out("end("); + WriteToString(&out, scene); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_FrameNode GetParentImpl(Ark_FrameNode peer) + void RecordInputEventTimeImpl(Ark_PerfMonitorActionType actionType, + Ark_PerfMonitorSourceType sourceType, + Ark_Int64 time) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getParent("); + string out("recordInputEventTime("); + WriteToString(&out, actionType); + out.append(", "); + WriteToString(&out, sourceType); + out.append(", "); + WriteToString(&out, time); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_Int32 GetChildrenCountImpl(Ark_FrameNode peer) + } // GlobalScope_ohos_arkui_performanceMonitorAccessor + namespace GlobalScope_ohos_fontAccessor { + void RegisterFontImpl(const Ark_FontOptions* options) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("getChildrenCount("); + string out("registerFont("); + WriteToString(&out, options); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - void DisposeImpl(Ark_FrameNode peer) + Array_String GetSystemFontListImpl() { if (!needGroupedLog(1)) { - return; + return {}; } - string out("dispose("); + string out("getSystemFontList("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_String GetIdImpl(Ark_FrameNode peer) + Ark_FontInfo GetFontByNameImpl(const Ark_String* fontName) { if (!needGroupedLog(1)) { return {}; } - string out("getId("); + string out("getFontByName("); + WriteToString(&out, fontName); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Ark_Number GetUniqueIdImpl(Ark_FrameNode peer) + } // GlobalScope_ohos_fontAccessor + namespace GlobalScope_ohos_measure_utilsAccessor { + Ark_Number MeasureTextImpl(const Ark_MeasureOptions* options) { if (!needGroupedLog(1)) { return {42}; } - string out("getUniqueId("); + string out("measureText("); + WriteToString(&out, options); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - Ark_String GetNodeTypeImpl(Ark_FrameNode peer) + Ark_SizeOptions MeasureTextSizeImpl(const Ark_MeasureOptions* options) { if (!needGroupedLog(1)) { return {}; } - string out("getNodeType("); + string out("measureTextSize("); + WriteToString(&out, options); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Ark_Number GetOpacityImpl(Ark_FrameNode peer) + } // GlobalScope_ohos_measure_utilsAccessor + namespace HierarchicalSymbolEffectAccessor { + void DestroyPeerImpl(Ark_HierarchicalSymbolEffect peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getOpacity("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Boolean IsVisibleImpl(Ark_FrameNode peer) + Ark_HierarchicalSymbolEffect ConstructImpl(const Opt_EffectFillStyle* fillStyle) { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(100); } - string out("isVisible("); + string out("new HierarchicalSymbolEffect("); + WriteToString(&out, fillStyle); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(100); } - Ark_Boolean IsClipToFrameImpl(Ark_FrameNode peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return 0; + return fnPtr(dummyClassFinalizer); } - string out("isClipToFrame("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return 0; + return fnPtr(dummyClassFinalizer); } - Ark_Boolean IsAttachedImpl(Ark_FrameNode peer) + Opt_EffectFillStyle GetFillStyleImpl(Ark_HierarchicalSymbolEffect peer) { if (!needGroupedLog(1)) { - return 0; + return {}; } - string out("isAttached("); + string out("getFillStyle("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return 0; + return {}; } - Ark_Object GetInspectorInfoImpl(Ark_FrameNode peer) + void SetFillStyleImpl(Ark_HierarchicalSymbolEffect peer, + const Opt_EffectFillStyle* fillStyle) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getInspectorInfo("); + string out("setFillStyle("); + WriteToString(&out, fillStyle); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void InvalidateImpl(Ark_FrameNode peer) + } // HierarchicalSymbolEffectAccessor + namespace HoverEventAccessor { + void DestroyPeerImpl(Ark_HoverEvent peer) { if (!needGroupedLog(1)) { return; } - string out("invalidate("); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void DisposeTreeImpl(Ark_FrameNode peer) + Ark_HoverEvent ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("disposeTree("); + string out("new HoverEvent("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void SetCrossLanguageOptionsImpl(Ark_FrameNode peer, - const Ark_CrossLanguageOptions* options) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setCrossLanguageOptions("); - WriteToString(&out, options); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_CrossLanguageOptions GetCrossLanguageOptionsImpl(Ark_FrameNode peer) + Opt_Number GetXImpl(Ark_HoverEvent peer) { if (!needGroupedLog(1)) { return {}; } - string out("getCrossLanguageOptions("); + string out("getX("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetMeasuredSizeImpl(Ark_FrameNode peer, - const Ark_Size* size) + void SetXImpl(Ark_HoverEvent peer, + const Opt_Number* x) { if (!needGroupedLog(1)) { return; } - string out("setMeasuredSize("); - WriteToString(&out, size); + string out("setX("); + WriteToString(&out, x); out.append(") \n"); appendGroupedLog(1, out); } - void SetLayoutPositionImpl(Ark_FrameNode peer, - const Ark_Position* position) + Opt_Number GetYImpl(Ark_HoverEvent peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setLayoutPosition("); - WriteToString(&out, position); + string out("getY("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void MeasureImpl(Ark_FrameNode peer, - const Ark_LayoutConstraint* constraint) + void SetYImpl(Ark_HoverEvent peer, + const Opt_Number* y) { if (!needGroupedLog(1)) { return; } - string out("measure("); - WriteToString(&out, constraint); + string out("setY("); + WriteToString(&out, y); out.append(") \n"); appendGroupedLog(1, out); } - void LayoutImpl(Ark_FrameNode peer, - const Ark_Position* position) + Opt_Number GetWindowXImpl(Ark_HoverEvent peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("layout("); - WriteToString(&out, position); + string out("getWindowX("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SetNeedsLayoutImpl(Ark_FrameNode peer) + void SetWindowXImpl(Ark_HoverEvent peer, + const Opt_Number* windowX) { if (!needGroupedLog(1)) { return; } - string out("setNeedsLayout("); + string out("setWindowX("); + WriteToString(&out, windowX); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Position GetPositionToWindowWithTransformImpl(Ark_FrameNode peer) + Opt_Number GetWindowYImpl(Ark_HoverEvent peer) { if (!needGroupedLog(1)) { return {}; } - string out("getPositionToWindowWithTransform("); + string out("getWindowY("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Ark_FrameNode GetFrameNodeByKeyImpl(const Ark_String* name) + void SetWindowYImpl(Ark_HoverEvent peer, + const Opt_Number* windowY) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getFrameNodeByKey("); - WriteToString(&out, name); + string out("setWindowY("); + WriteToString(&out, windowY); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_Number GetIdByFrameNodeImpl(Ark_FrameNode peer, - Ark_FrameNode node) + Opt_Number GetDisplayXImpl(Ark_HoverEvent peer) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getIdByFrameNode("); - WriteToString(&out, node); + string out("getDisplayX("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - void MoveToImpl(Ark_FrameNode peer, - Ark_FrameNode targetParent, - const Ark_Number* index) + void SetDisplayXImpl(Ark_HoverEvent peer, + const Opt_Number* displayX) { if (!needGroupedLog(1)) { return; } - string out("moveTo("); - WriteToString(&out, targetParent); - out.append(", "); - WriteToString(&out, index); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Number GetFirstChildIndexWithoutExpandImpl(Ark_FrameNode peer) - { - if (!needGroupedLog(1)) - { - return {42}; - } - string out("getFirstChildIndexWithoutExpand("); + string out("setDisplayX("); + WriteToString(&out, displayX); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Number GetLastChildIndexWithoutExpandImpl(Ark_FrameNode peer) + Opt_Number GetDisplayYImpl(Ark_HoverEvent peer) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getLastChildIndexWithoutExpand("); + string out("getDisplayY("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - Ark_FrameNode GetAttachedFrameNodeByIdImpl(const Ark_String* id) + void SetDisplayYImpl(Ark_HoverEvent peer, + const Opt_Number* displayY) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getAttachedFrameNodeById("); - WriteToString(&out, id); + string out("setDisplayY("); + WriteToString(&out, displayY); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_FrameNode GetFrameNodeByIdImpl(const Ark_Number* id) + Callback_Void GetStopPropagationImpl(Ark_HoverEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("getFrameNodeById("); - WriteToString(&out, id); + string out("getStopPropagation("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - Ark_FrameNode GetFrameNodeByUniqueIdImpl(const Ark_Number* id) + void SetStopPropagationImpl(Ark_HoverEvent peer, + const Callback_Void* stopPropagation) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getFrameNodeByUniqueId("); - WriteToString(&out, id); + string out("setStopPropagation("); + WriteToString(&out, stopPropagation); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - void ReuseImpl(Ark_FrameNode peer) + } // HoverEventAccessor + namespace HttpAuthHandlerAccessor { + void DestroyPeerImpl(Ark_HttpAuthHandler peer) { if (!needGroupedLog(1)) { return; } - string out("reuse("); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void RecycleImpl(Ark_FrameNode peer) + Ark_HttpAuthHandler ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("recycle("); + string out("new HttpAuthHandler("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_NativePointer GetFrameNodePtrImpl(Ark_FrameNode node) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return nullptr; + return fnPtr(dummyClassFinalizer); } - string out("getFrameNodePtr("); - WriteToString(&out, node); + string out("getFinalizer("); out.append(") \n"); - out.append("[return nullptr] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return nullptr; + return fnPtr(dummyClassFinalizer); } - Ark_FrameNode CreateTypedFrameNodeImpl(const Ark_String* type) + Ark_Boolean ConfirmImpl(Ark_HttpAuthHandler peer, + const Ark_String* userName, + const Ark_String* password) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return 0; } - string out("createTypedFrameNode("); - WriteToString(&out, type); + string out("confirm("); + WriteToString(&out, userName); + out.append(", "); + WriteToString(&out, password); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return 0; } - Ark_NativePointer CreateByRawPtrImpl(Ark_FrameNode peer, - Ark_FrameNode pointer) + void CancelImpl(Ark_HttpAuthHandler peer) { if (!needGroupedLog(1)) { - return nullptr; + return; } - string out("createByRawPtr("); - WriteToString(&out, pointer); + string out("cancel("); out.append(") \n"); - out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return nullptr; } - Ark_FrameNode UnWrapRawPtrImpl(Ark_FrameNode peer, - Ark_NativePointer pointer) + Ark_Boolean IsHttpAuthInfoSavedImpl(Ark_HttpAuthHandler peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return 0; } - string out("unWrapRawPtr("); - WriteToString(&out, pointer); + string out("isHttpAuthInfoSaved("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return 0; } - } // FrameNodeAccessor - namespace FrictionMotionAccessor { - void DestroyPeerImpl(Ark_FrictionMotion peer) + } // HttpAuthHandlerAccessor + namespace ImageAnalyzerControllerAccessor { + void DestroyPeerImpl(Ark_ImageAnalyzerController peer) { if (!needGroupedLog(1)) { @@ -31832,24 +35126,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_FrictionMotion ConstructImpl(const Ark_Number* friction, - const Ark_Number* position, - const Ark_Number* velocity) + Ark_ImageAnalyzerController ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new FrictionMotion("); - WriteToString(&out, friction); - out.append(", "); - WriteToString(&out, position); - out.append(", "); - WriteToString(&out, velocity); + string out("new ImageAnalyzerController("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -31863,9 +35150,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - } // FrictionMotionAccessor - namespace GestureAccessor { - void DestroyPeerImpl(Ark_Gesture peer) + Array_ImageAnalyzerType GetImageAnalyzerSupportTypesImpl(Ark_ImageAnalyzerController peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getImageAnalyzerSupportTypes("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + } // ImageAnalyzerControllerAccessor + namespace ImageAttachmentAccessor { + void DestroyPeerImpl(Ark_ImageAttachment peer) { if (!needGroupedLog(1)) { @@ -31875,17 +35174,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_Gesture ConstructImpl() + Ark_ImageAttachment ConstructImpl(const Ark_Union_ImageAttachmentInterface_Opt_AttachmentType* value) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new Gesture("); + string out("new ImageAttachment("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -31899,357 +35199,398 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void TagImpl(Ark_Gesture peer, - const Ark_String* tag) + Ark_image_PixelMap GetValueImpl(Ark_ImageAttachment peer) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("tag("); - WriteToString(&out, tag); + string out("getValue("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void AllowedTypesImpl(Ark_Gesture peer, - const Array_SourceTool* types) + Opt_SizeOptions GetSizeImpl(Ark_ImageAttachment peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("allowedTypes("); - WriteToString(&out, types); + string out("getSize("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // GestureAccessor - namespace GestureEventAccessor { - void DestroyPeerImpl(Ark_GestureEvent peer) + Opt_ImageSpanAlignment GetVerticalAlignImpl(Ark_ImageAttachment peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("destroyPeer("); + string out("getVerticalAlign("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_GestureEvent ConstructImpl() + Opt_ImageFit GetObjectFitImpl(Ark_ImageAttachment peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new GestureEvent("); + string out("getObjectFit("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + Opt_ImageAttachmentLayoutStyle GetLayoutStyleImpl(Ark_ImageAttachment peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getLayoutStyle("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - Ark_Boolean GetRepeatImpl(Ark_GestureEvent peer) + Opt_ColorFilterType GetColorFilterImpl(Ark_ImageAttachment peer) { if (!needGroupedLog(1)) { - return 0; + return {}; } - string out("getRepeat("); + string out("getColorFilter("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return 0; + return {}; } - void SetRepeatImpl(Ark_GestureEvent peer, - Ark_Boolean repeat) + } // ImageAttachmentAccessor + namespace ImageBitmapAccessor { + void DestroyPeerImpl(Ark_ImageBitmap peer) { if (!needGroupedLog(1)) { return; } - string out("setRepeat("); - WriteToString(&out, repeat); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Array_FingerInfo GetFingerListImpl(Ark_GestureEvent peer) + Ark_ImageBitmap ConstructImpl(const Ark_Union_PixelMap_String* src, + const Opt_LengthMetricsUnit* unit) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getFingerList("); + string out("new ImageBitmap("); + WriteToString(&out, src); + out.append(", "); + WriteToString(&out, unit); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - void SetFingerListImpl(Ark_GestureEvent peer, - const Array_FingerInfo* fingerList) + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + { + return fnPtr(dummyClassFinalizer); + } + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + void CloseImpl(Ark_ImageBitmap peer) { if (!needGroupedLog(1)) { return; } - string out("setFingerList("); - WriteToString(&out, fingerList); + string out("close("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetOffsetXImpl(Ark_GestureEvent peer) + Ark_Number GetHeightImpl(Ark_ImageBitmap peer) { if (!needGroupedLog(1)) { return {42}; } - string out("getOffsetX("); + string out("getHeight("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - void SetOffsetXImpl(Ark_GestureEvent peer, - const Ark_Number* offsetX) + void SetHeightImpl(Ark_ImageBitmap peer, + const Ark_Number* height) { if (!needGroupedLog(1)) { return; } - string out("setOffsetX("); - WriteToString(&out, offsetX); + string out("setHeight("); + WriteToString(&out, height); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetOffsetYImpl(Ark_GestureEvent peer) + Ark_Number GetWidthImpl(Ark_ImageBitmap peer) { if (!needGroupedLog(1)) { return {42}; } - string out("getOffsetY("); + string out("getWidth("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - void SetOffsetYImpl(Ark_GestureEvent peer, - const Ark_Number* offsetY) + void SetWidthImpl(Ark_ImageBitmap peer, + const Ark_Number* width) { if (!needGroupedLog(1)) { return; } - string out("setOffsetY("); - WriteToString(&out, offsetY); + string out("setWidth("); + WriteToString(&out, width); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetAngleImpl(Ark_GestureEvent peer) + } // ImageBitmapAccessor + namespace ImageDataAccessor { + void DestroyPeerImpl(Ark_ImageData peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getAngle("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetAngleImpl(Ark_GestureEvent peer, - const Ark_Number* angle) + Ark_ImageData ConstructImpl(const Ark_Number* width, + const Ark_Number* height, + const Opt_Buffer* data, + const Opt_LengthMetricsUnit* unit) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setAngle("); - WriteToString(&out, angle); + string out("new ImageData("); + WriteToString(&out, width); + out.append(", "); + WriteToString(&out, height); + out.append(", "); + WriteToString(&out, data); + out.append(", "); + WriteToString(&out, unit); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_Number GetSpeedImpl(Ark_GestureEvent peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {42}; + return fnPtr(dummyClassFinalizer); } - string out("getSpeed("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {42}; + return fnPtr(dummyClassFinalizer); } - void SetSpeedImpl(Ark_GestureEvent peer, - const Ark_Number* speed) + Ark_Buffer GetDataImpl(Ark_ImageData peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getData("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetDataImpl(Ark_ImageData peer, + const Ark_Buffer* data) { if (!needGroupedLog(1)) { return; } - string out("setSpeed("); - WriteToString(&out, speed); + string out("setData("); + WriteToString(&out, data); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetScaleImpl(Ark_GestureEvent peer) + Ark_Int32 GetHeightImpl(Ark_ImageData peer) { if (!needGroupedLog(1)) { - return {42}; + return 0; } - string out("getScale("); + string out("getHeight("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {42}; + return 0; } - void SetScaleImpl(Ark_GestureEvent peer, - const Ark_Number* scale) + void SetHeightImpl(Ark_ImageData peer, + Ark_Int32 height) { if (!needGroupedLog(1)) { return; } - string out("setScale("); - WriteToString(&out, scale); + string out("setHeight("); + WriteToString(&out, height); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetPinchCenterXImpl(Ark_GestureEvent peer) + Ark_Int32 GetWidthImpl(Ark_ImageData peer) { if (!needGroupedLog(1)) { - return {42}; + return 0; } - string out("getPinchCenterX("); + string out("getWidth("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {42}; + return 0; } - void SetPinchCenterXImpl(Ark_GestureEvent peer, - const Ark_Number* pinchCenterX) + void SetWidthImpl(Ark_ImageData peer, + Ark_Int32 width) { if (!needGroupedLog(1)) { return; } - string out("setPinchCenterX("); - WriteToString(&out, pinchCenterX); + string out("setWidth("); + WriteToString(&out, width); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetPinchCenterYImpl(Ark_GestureEvent peer) + } // ImageDataAccessor + namespace IndicatorComponentControllerAccessor { + void DestroyPeerImpl(Ark_IndicatorComponentController peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getPinchCenterY("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetPinchCenterYImpl(Ark_GestureEvent peer, - const Ark_Number* pinchCenterY) + Ark_IndicatorComponentController ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setPinchCenterY("); - WriteToString(&out, pinchCenterY); + string out("new IndicatorComponentController("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_Number GetVelocityXImpl(Ark_GestureEvent peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {42}; + return fnPtr(dummyClassFinalizer); } - string out("getVelocityX("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {42}; + return fnPtr(dummyClassFinalizer); } - void SetVelocityXImpl(Ark_GestureEvent peer, - const Ark_Number* velocityX) + void ShowNextImpl(Ark_IndicatorComponentController peer) { if (!needGroupedLog(1)) { return; } - string out("setVelocityX("); - WriteToString(&out, velocityX); + string out("showNext("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetVelocityYImpl(Ark_GestureEvent peer) + void ShowPreviousImpl(Ark_IndicatorComponentController peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getVelocityY("); + string out("showPrevious("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetVelocityYImpl(Ark_GestureEvent peer, - const Ark_Number* velocityY) + void ChangeIndexImpl(Ark_IndicatorComponentController peer, + const Ark_Number* index, + const Opt_Boolean* useAnimation) { if (!needGroupedLog(1)) { return; } - string out("setVelocityY("); - WriteToString(&out, velocityY); + string out("changeIndex("); + WriteToString(&out, index); + out.append(", "); + WriteToString(&out, useAnimation); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetVelocityImpl(Ark_GestureEvent peer) + } // IndicatorComponentControllerAccessor + namespace IUIContextAccessor { + void FreezeUINode0Impl(const Ark_String* id, + Ark_Boolean isFrozen) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getVelocity("); + string out("freezeUINode0("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, isFrozen); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetVelocityImpl(Ark_GestureEvent peer, - const Ark_Number* velocity) + void FreezeUINode1Impl(const Ark_Number* id, + Ark_Boolean isFrozen) { if (!needGroupedLog(1)) { return; } - string out("setVelocity("); - WriteToString(&out, velocity); + string out("freezeUINode1("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, isFrozen); out.append(") \n"); appendGroupedLog(1, out); } - } // GestureEventAccessor - namespace GestureGroupInterfaceAccessor { - void DestroyPeerImpl(Ark_GestureGroupInterface peer) + } // IUIContextAccessor + namespace JsGeolocationAccessor { + void DestroyPeerImpl(Ark_JsGeolocation peer) { if (!needGroupedLog(1)) { @@ -32259,21 +35600,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_GestureGroupInterface ConstructImpl(Ark_GestureMode mode, - const Array_GestureType* gesture) + Ark_JsGeolocation ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new GestureGroupInterface("); - WriteToString(&out, mode); - out.append(", "); - WriteToString(&out, gesture); + string out("new JsGeolocation("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -32287,23 +35624,27 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_GestureGroupInterface OnCancelImpl(Ark_GestureGroupInterface peer, - const Callback_Void* event) + void InvokeImpl(Ark_JsGeolocation peer, + const Ark_String* origin, + Ark_Boolean allow, + Ark_Boolean retain) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("onCancel("); - WriteToString(&out, event); + string out("invoke("); + WriteToString(&out, origin); + out.append(", "); + WriteToString(&out, allow); + out.append(", "); + WriteToString(&out, retain); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // GestureGroupInterfaceAccessor - namespace GestureRecognizerAccessor { - void DestroyPeerImpl(Ark_GestureRecognizer peer) + } // JsGeolocationAccessor + namespace JsResultAccessor { + void DestroyPeerImpl(Ark_JsResult peer) { if (!needGroupedLog(1)) { @@ -32313,17 +35654,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_GestureRecognizer ConstructImpl() + Ark_JsResult ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new GestureRecognizer("); + string out("new JsResult("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -32337,359 +35678,341 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_String GetTagImpl(Ark_GestureRecognizer peer) + void HandleCancelImpl(Ark_JsResult peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getTag("); + string out("handleCancel("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_GestureControl_GestureType GetTypeImpl(Ark_GestureRecognizer peer) + void HandleConfirmImpl(Ark_JsResult peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getType("); + string out("handleConfirm("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_Boolean IsBuiltInImpl(Ark_GestureRecognizer peer) + void HandlePromptConfirmImpl(Ark_JsResult peer, + const Ark_String* result) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("isBuiltIn("); + string out("handlePromptConfirm("); + WriteToString(&out, result); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - void SetEnabledImpl(Ark_GestureRecognizer peer, - Ark_Boolean isEnabled) + } // JsResultAccessor + namespace KeyEventAccessor { + void DestroyPeerImpl(Ark_KeyEvent peer) { if (!needGroupedLog(1)) { return; } - string out("setEnabled("); - WriteToString(&out, isEnabled); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Boolean IsEnabledImpl(Ark_GestureRecognizer peer) + Ark_KeyEvent ConstructImpl() { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(100); } - string out("isEnabled("); + string out("new KeyEvent("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(100); } - Ark_GestureRecognizerState GetStateImpl(Ark_GestureRecognizer peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getState("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - Ark_EventTargetInfo GetEventTargetInfoImpl(Ark_GestureRecognizer peer) + Ark_KeyType GetTypeImpl(Ark_KeyEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("getEventTargetInfo("); + string out("getType("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - Ark_Boolean IsValidImpl(Ark_GestureRecognizer peer) + void SetTypeImpl(Ark_KeyEvent peer, + Ark_KeyType type) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("isValid("); + string out("setType("); + WriteToString(&out, type); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_Number GetFingerCountImpl(Ark_GestureRecognizer peer) + Ark_Number GetKeyCodeImpl(Ark_KeyEvent peer) { if (!needGroupedLog(1)) { return {42}; } - string out("getFingerCount("); + string out("getKeyCode("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - Ark_Boolean IsFingerCountLimitImpl(Ark_GestureRecognizer peer) + void SetKeyCodeImpl(Ark_KeyEvent peer, + const Ark_Number* keyCode) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("isFingerCountLimit("); + string out("setKeyCode("); + WriteToString(&out, keyCode); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - } // GestureRecognizerAccessor - namespace GestureStyleAccessor { - void DestroyPeerImpl(Ark_GestureStyle peer) + Ark_String GetKeyTextImpl(Ark_KeyEvent peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("destroyPeer("); + string out("getKeyText("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_GestureStyle ConstructImpl(const Opt_GestureStyleInterface* value) + void SetKeyTextImpl(Ark_KeyEvent peer, + const Ark_String* keyText) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new GestureStyle("); - WriteToString(&out, value); + string out("setKeyText("); + WriteToString(&out, keyText); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + Ark_KeySource GetKeySourceImpl(Ark_KeyEvent peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getKeySource("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - } // GestureStyleAccessor - namespace GlobalScope_ohos_arkui_componentSnapshotAccessor { - void GetImpl(const Ark_String* id, - const AsyncCallback_image_PixelMap_Void* callback, - const Opt_SnapshotOptions* options) + void SetKeySourceImpl(Ark_KeyEvent peer, + Ark_KeySource keySource) { if (!needGroupedLog(1)) { return; } - string out("get("); - WriteToString(&out, id); - out.append(", "); - WriteToString(&out, callback); - out.append(", "); - WriteToString(&out, options); + string out("setKeySource("); + WriteToString(&out, keySource); out.append(") \n"); appendGroupedLog(1, out); } - } // GlobalScope_ohos_arkui_componentSnapshotAccessor - namespace GlobalScope_ohos_arkui_performanceMonitorAccessor { - void BeginImpl(const Ark_String* scene, - Ark_PerfMonitorActionType startInputType, - const Opt_String* note) + Ark_Number GetDeviceIdImpl(Ark_KeyEvent peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("begin("); - WriteToString(&out, scene); - out.append(", "); - WriteToString(&out, startInputType); - out.append(", "); - WriteToString(&out, note); + string out("getDeviceId("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void EndImpl(const Ark_String* scene) + void SetDeviceIdImpl(Ark_KeyEvent peer, + const Ark_Number* deviceId) { if (!needGroupedLog(1)) { return; } - string out("end("); - WriteToString(&out, scene); + string out("setDeviceId("); + WriteToString(&out, deviceId); out.append(") \n"); appendGroupedLog(1, out); } - void RecordInputEventTimeImpl(Ark_PerfMonitorActionType actionType, - Ark_PerfMonitorSourceType sourceType, - Ark_Int64 time) + Ark_Number GetMetaKeyImpl(Ark_KeyEvent peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("recordInputEventTime("); - WriteToString(&out, actionType); - out.append(", "); - WriteToString(&out, sourceType); - out.append(", "); - WriteToString(&out, time); + string out("getMetaKey("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetMetaKeyImpl(Ark_KeyEvent peer, + const Ark_Number* metaKey) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setMetaKey("); + WriteToString(&out, metaKey); out.append(") \n"); appendGroupedLog(1, out); } - } // GlobalScope_ohos_arkui_performanceMonitorAccessor - namespace GlobalScope_ohos_fontAccessor { - void RegisterFontImpl(const Ark_FontOptions* options) + Ark_Number GetTimestampImpl(Ark_KeyEvent peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("registerFont("); - WriteToString(&out, options); + string out("getTimestamp("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Array_String GetSystemFontListImpl() + void SetTimestampImpl(Ark_KeyEvent peer, + const Ark_Number* timestamp) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getSystemFontList("); + string out("setTimestamp("); + WriteToString(&out, timestamp); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_FontInfo GetFontByNameImpl(const Ark_String* fontName) + Callback_Void GetStopPropagationImpl(Ark_KeyEvent peer) { if (!needGroupedLog(1)) { return {}; } - string out("getFontByName("); - WriteToString(&out, fontName); + string out("getStopPropagation("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - } // GlobalScope_ohos_fontAccessor - namespace GlobalScope_ohos_measure_utilsAccessor { - Ark_Number MeasureTextImpl(const Ark_MeasureOptions* options) + void SetStopPropagationImpl(Ark_KeyEvent peer, + const Callback_Void* stopPropagation) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("measureText("); - WriteToString(&out, options); + string out("setStopPropagation("); + WriteToString(&out, stopPropagation); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_SizeOptions MeasureTextSizeImpl(const Ark_MeasureOptions* options) + Ark_IntentionCode GetIntentionCodeImpl(Ark_KeyEvent peer) { if (!needGroupedLog(1)) { return {}; } - string out("measureTextSize("); - WriteToString(&out, options); + string out("getIntentionCode("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - } // GlobalScope_ohos_measure_utilsAccessor - namespace HierarchicalSymbolEffectAccessor { - void DestroyPeerImpl(Ark_HierarchicalSymbolEffect peer) + void SetIntentionCodeImpl(Ark_KeyEvent peer, + Ark_IntentionCode intentionCode) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setIntentionCode("); + WriteToString(&out, intentionCode); out.append(") \n"); appendGroupedLog(1, out); } - Ark_HierarchicalSymbolEffect ConstructImpl(const Opt_EffectFillStyle* fillStyle) + Opt_ModifierKeyStateGetter GetGetModifierKeyStateImpl(Ark_KeyEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new HierarchicalSymbolEffect("); - WriteToString(&out, fillStyle); + string out("getGetModifierKeyState("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetGetModifierKeyStateImpl(Ark_KeyEvent peer, + const Opt_ModifierKeyStateGetter* getModifierKeyState) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setGetModifierKeyState("); + WriteToString(&out, getModifierKeyState); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Opt_EffectFillStyle GetFillStyleImpl(Ark_HierarchicalSymbolEffect peer) + Opt_Number GetUnicodeImpl(Ark_KeyEvent peer) { if (!needGroupedLog(1)) { return {}; } - string out("getFillStyle("); + string out("getUnicode("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetFillStyleImpl(Ark_HierarchicalSymbolEffect peer, - const Opt_EffectFillStyle* fillStyle) + void SetUnicodeImpl(Ark_KeyEvent peer, + const Opt_Number* unicode) { if (!needGroupedLog(1)) { return; } - string out("setFillStyle("); - WriteToString(&out, fillStyle); + string out("setUnicode("); + WriteToString(&out, unicode); out.append(") \n"); appendGroupedLog(1, out); } - } // HierarchicalSymbolEffectAccessor - namespace HoverEventAccessor { - void DestroyPeerImpl(Ark_HoverEvent peer) + } // KeyEventAccessor + namespace LayoutableAccessor { + void DestroyPeerImpl(Ark_Layoutable peer) { if (!needGroupedLog(1)) { @@ -32699,17 +36022,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_HoverEvent ConstructImpl() + Ark_Layoutable ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new HoverEvent("); + string out("new Layoutable("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -32723,225 +36046,225 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Opt_Number GetXImpl(Ark_HoverEvent peer) + void LayoutImpl(Ark_Layoutable peer, + const Ark_Position* position) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getX("); + string out("layout("); + WriteToString(&out, position); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetXImpl(Ark_HoverEvent peer, - const Opt_Number* x) + Ark_DirectionalEdgesT GetMarginImpl(Ark_Layoutable peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setX("); - WriteToString(&out, x); + string out("getMargin("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Opt_Number GetYImpl(Ark_HoverEvent peer) + Ark_DirectionalEdgesT GetPaddingImpl(Ark_Layoutable peer) { if (!needGroupedLog(1)) { return {}; } - string out("getY("); + string out("getPadding("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetYImpl(Ark_HoverEvent peer, - const Opt_Number* y) + Ark_DirectionalEdgesT GetBorderWidthImpl(Ark_Layoutable peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setY("); - WriteToString(&out, y); + string out("getBorderWidth("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Opt_Number GetWindowXImpl(Ark_HoverEvent peer) + Ark_MeasureResult GetMeasureResultImpl(Ark_Layoutable peer) { if (!needGroupedLog(1)) { return {}; } - string out("getWindowX("); + string out("getMeasureResult("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetWindowXImpl(Ark_HoverEvent peer, - const Opt_Number* windowX) + void SetMeasureResultImpl(Ark_Layoutable peer, + const Ark_MeasureResult* measureResult) { if (!needGroupedLog(1)) { return; } - string out("setWindowX("); - WriteToString(&out, windowX); + string out("setMeasureResult("); + WriteToString(&out, measureResult); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetWindowYImpl(Ark_HoverEvent peer) + Opt_Number GetUniqueIdImpl(Ark_Layoutable peer) { if (!needGroupedLog(1)) { return {}; } - string out("getWindowY("); + string out("getUniqueId("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetWindowYImpl(Ark_HoverEvent peer, - const Opt_Number* windowY) + void SetUniqueIdImpl(Ark_Layoutable peer, + const Opt_Number* uniqueId) { if (!needGroupedLog(1)) { return; } - string out("setWindowY("); - WriteToString(&out, windowY); + string out("setUniqueId("); + WriteToString(&out, uniqueId); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetDisplayXImpl(Ark_HoverEvent peer) + } // LayoutableAccessor + namespace LayoutChildAccessor { + void DestroyPeerImpl(Ark_LayoutChild peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getDisplayX("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetDisplayXImpl(Ark_HoverEvent peer, - const Opt_Number* displayX) + Ark_LayoutChild ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setDisplayX("); - WriteToString(&out, displayX); + string out("new LayoutChild("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Opt_Number GetDisplayYImpl(Ark_HoverEvent peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getDisplayY("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - void SetDisplayYImpl(Ark_HoverEvent peer, - const Opt_Number* displayY) + void MeasureImpl(Ark_LayoutChild peer, + const Ark_ConstraintSizeOptions* childConstraint) { if (!needGroupedLog(1)) { return; } - string out("setDisplayY("); - WriteToString(&out, displayY); + string out("measure("); + WriteToString(&out, childConstraint); out.append(") \n"); appendGroupedLog(1, out); } - Callback_Void GetStopPropagationImpl(Ark_HoverEvent peer) + Ark_String GetNameImpl(Ark_LayoutChild peer) { if (!needGroupedLog(1)) { return {}; } - string out("getStopPropagation("); + string out("getName("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetStopPropagationImpl(Ark_HoverEvent peer, - const Callback_Void* stopPropagation) + void SetNameImpl(Ark_LayoutChild peer, + const Ark_String* name) { if (!needGroupedLog(1)) { return; } - string out("setStopPropagation("); - WriteToString(&out, stopPropagation); + string out("setName("); + WriteToString(&out, name); out.append(") \n"); appendGroupedLog(1, out); } - } // HoverEventAccessor - namespace ImageAnalyzerControllerAccessor { - void DestroyPeerImpl(Ark_ImageAnalyzerController peer) + Ark_String GetIdImpl(Ark_LayoutChild peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("destroyPeer("); + string out("getId("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_ImageAnalyzerController ConstructImpl() + void SetIdImpl(Ark_LayoutChild peer, + const Ark_String* id) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new ImageAnalyzerController("); + string out("setId("); + WriteToString(&out, id); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + Ark_Position GetPositionImpl(Ark_LayoutChild peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getPosition("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - Array_ImageAnalyzerType GetImageAnalyzerSupportTypesImpl(Ark_ImageAnalyzerController peer) + void SetPositionImpl(Ark_LayoutChild peer, + const Ark_Position* position) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getImageAnalyzerSupportTypes("); + string out("setPosition("); + WriteToString(&out, position); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - } // ImageAnalyzerControllerAccessor - namespace ImageAttachmentAccessor { - void DestroyPeerImpl(Ark_ImageAttachment peer) + } // LayoutChildAccessor + namespace LayoutManagerAccessor { + void DestroyPeerImpl(Ark_LayoutManager peer) { if (!needGroupedLog(1)) { @@ -32951,18 +36274,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_ImageAttachment ConstructImpl(const Ark_Union_ImageAttachmentInterface_Opt_AttachmentType* value) + Ark_LayoutManager ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new ImageAttachment("); - WriteToString(&out, value); + string out("new LayoutManager("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -32976,81 +36298,108 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_image_PixelMap GetValueImpl(Ark_ImageAttachment peer) + Ark_Number GetLineCountImpl(Ark_LayoutManager peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {42}; } - string out("getValue("); + string out("getLineCount("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {42}; } - Opt_SizeOptions GetSizeImpl(Ark_ImageAttachment peer) + Ark_PositionWithAffinity GetGlyphPositionAtCoordinateImpl(Ark_LayoutManager peer, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { return {}; } - string out("getSize("); + string out("getGlyphPositionAtCoordinate("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Opt_ImageSpanAlignment GetVerticalAlignImpl(Ark_ImageAttachment peer) + } // LayoutManagerAccessor + namespace LayoutPolicyAccessor { + void DestroyPeerImpl(Ark_LayoutPolicy peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getVerticalAlign("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Opt_ImageFit GetObjectFitImpl(Ark_ImageAttachment peer) + Ark_LayoutPolicy ConstructImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getObjectFit("); + string out("new LayoutPolicy("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - Opt_ImageAttachmentLayoutStyle GetLayoutStyleImpl(Ark_ImageAttachment peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getLayoutStyle("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - Opt_ColorFilterType GetColorFilterImpl(Ark_ImageAttachment peer) + Ark_LayoutPolicy GetMatchParentImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getColorFilter("); + string out("getMatchParent("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - } // ImageAttachmentAccessor - namespace ImageBitmapAccessor { - void DestroyPeerImpl(Ark_ImageBitmap peer) + } // LayoutPolicyAccessor + namespace LazyForEachOpsAccessor { + void SyncImpl(Ark_NativePointer node, + Ark_Int32 totalCount, + const Callback_CreateItem* creator, + const Callback_RangeUpdate* updater) + { + if (!needGroupedLog(1)) + { + return; + } + string out("Sync("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, totalCount); + out.append(", "); + WriteToString(&out, creator); + out.append(", "); + WriteToString(&out, updater); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // LazyForEachOpsAccessor + namespace LengthMetricsAccessor { + void DestroyPeerImpl(Ark_LengthMetrics peer) { if (!needGroupedLog(1)) { @@ -33060,21 +36409,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_ImageBitmap ConstructImpl(const Ark_Union_PixelMap_String* src, - const Opt_LengthMetricsUnit* unit) + Ark_LengthMetrics ConstructImpl(const Ark_Number* value, + Ark_LengthUnit unit) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new ImageBitmap("); - WriteToString(&out, src); + string out("new LengthMetrics("); + WriteToString(&out, value); out.append(", "); WriteToString(&out, unit); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -33088,185 +36437,184 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void CloseImpl(Ark_ImageBitmap peer) + Ark_LengthMetrics PxImpl(const Ark_Number* value) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("close("); + string out("px("); + WriteToString(&out, value); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_Number GetHeightImpl(Ark_ImageBitmap peer) + Ark_LengthMetrics VpImpl(const Ark_Number* value) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("getHeight("); + string out("vp("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - void SetHeightImpl(Ark_ImageBitmap peer, - const Ark_Number* height) + Ark_LengthMetrics FpImpl(const Ark_Number* value) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setHeight("); - WriteToString(&out, height); + string out("fp("); + WriteToString(&out, value); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_Number GetWidthImpl(Ark_ImageBitmap peer) + Ark_LengthMetrics PercentImpl(const Ark_Number* value) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("getWidth("); + string out("percent("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - void SetWidthImpl(Ark_ImageBitmap peer, - const Ark_Number* width) + Ark_LengthMetrics LpxImpl(const Ark_Number* value) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setWidth("); - WriteToString(&out, width); + string out("lpx("); + WriteToString(&out, value); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - } // ImageBitmapAccessor - namespace ImageDataAccessor { - void DestroyPeerImpl(Ark_ImageData peer) + Ark_LengthMetrics ResourceImpl(const Ark_Resource* value) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("destroyPeer("); + string out("resource("); + WriteToString(&out, value); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_ImageData ConstructImpl(const Ark_Number* width, - const Ark_Number* height, - const Opt_Buffer* data, - const Opt_LengthMetricsUnit* unit) + Ark_LengthUnit GetUnitImpl(Ark_LengthMetrics peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new ImageData("); - WriteToString(&out, width); - out.append(", "); - WriteToString(&out, height); - out.append(", "); - WriteToString(&out, data); - out.append(", "); - WriteToString(&out, unit); + string out("getUnit("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetUnitImpl(Ark_LengthMetrics peer, + Ark_LengthUnit unit) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setUnit("); + WriteToString(&out, unit); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_Buffer GetDataImpl(Ark_ImageData peer) + Ark_Number GetValueImpl(Ark_LengthMetrics peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getData("); + string out("getValue("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetDataImpl(Ark_ImageData peer, - const Ark_Buffer* data) + void SetValueImpl(Ark_LengthMetrics peer, + const Ark_Number* value) { if (!needGroupedLog(1)) { return; } - string out("setData("); - WriteToString(&out, data); + string out("setValue("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetHeightImpl(Ark_ImageData peer) + } // LengthMetricsAccessor + namespace LetterSpacingStyleAccessor { + void DestroyPeerImpl(Ark_LetterSpacingStyle peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getHeight("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetHeightImpl(Ark_ImageData peer, - const Ark_Number* height) + Ark_LetterSpacingStyle ConstructImpl(Ark_LengthMetrics value) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setHeight("); - WriteToString(&out, height); + string out("new LetterSpacingStyle("); + WriteToString(&out, value); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_Number GetWidthImpl(Ark_ImageData peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {42}; + return fnPtr(dummyClassFinalizer); } - string out("getWidth("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {42}; + return fnPtr(dummyClassFinalizer); } - void SetWidthImpl(Ark_ImageData peer, - const Ark_Number* width) + Ark_Number GetLetterSpacingImpl(Ark_LetterSpacingStyle peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setWidth("); - WriteToString(&out, width); + string out("getLetterSpacing("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - } // ImageDataAccessor - namespace IndicatorComponentControllerAccessor { - void DestroyPeerImpl(Ark_IndicatorComponentController peer) + } // LetterSpacingStyleAccessor + namespace LevelOrderAccessor { + void DestroyPeerImpl(Ark_LevelOrder peer) { if (!needGroupedLog(1)) { @@ -33276,17 +36624,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_IndicatorComponentController ConstructImpl() + Ark_LevelOrder ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new IndicatorComponentController("); + string out("new LevelOrder("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -33300,374 +36648,382 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void ShowNextImpl(Ark_IndicatorComponentController peer) + Ark_LevelOrder ClampImpl(const Ark_Number* order) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("showNext("); + string out("clamp("); + WriteToString(&out, order); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void ShowPreviousImpl(Ark_IndicatorComponentController peer) + Ark_Number GetOrderImpl(Ark_LevelOrder peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("showPrevious("); + string out("getOrder("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void ChangeIndexImpl(Ark_IndicatorComponentController peer, - const Ark_Number* index, - const Opt_Boolean* useAnimation) + } // LevelOrderAccessor + namespace LifeCycleAccessor { + void DestroyPeerImpl(Ark_LifeCycle peer) { if (!needGroupedLog(1)) { return; } - string out("changeIndex("); - WriteToString(&out, index); - out.append(", "); - WriteToString(&out, useAnimation); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - } // IndicatorComponentControllerAccessor - namespace IUIContextAccessor { - void FreezeUINode0Impl(const Ark_String* id, - Ark_Boolean isFrozen) + Ark_LifeCycle ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("freezeUINode0("); - WriteToString(&out, id); - out.append(", "); - WriteToString(&out, isFrozen); + string out("new LifeCycle("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void FreezeUINode1Impl(const Ark_Number* id, - Ark_Boolean isFrozen) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("freezeUINode1("); - WriteToString(&out, id); - out.append(", "); - WriteToString(&out, isFrozen); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - } // IUIContextAccessor - namespace KeyEventAccessor { - void DestroyPeerImpl(Ark_KeyEvent peer) + void AboutToAppearImpl(Ark_LifeCycle peer) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("aboutToAppear("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_KeyEvent ConstructImpl() + void AboutToDisappearImpl(Ark_LifeCycle peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new KeyEvent("); + string out("aboutToDisappear("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void OnDidBuildImpl(Ark_LifeCycle peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("onDidBuild("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_KeyType GetTypeImpl(Ark_KeyEvent peer) + void BuildImpl(Ark_LifeCycle peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getType("); + string out("build("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetTypeImpl(Ark_KeyEvent peer, - Ark_KeyType type) + } // LifeCycleAccessor + namespace LinearGradientAccessor { + void DestroyPeerImpl(Ark_LinearGradient peer) { if (!needGroupedLog(1)) { return; } - string out("setType("); - WriteToString(&out, type); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetKeyCodeImpl(Ark_KeyEvent peer) + Ark_LinearGradient ConstructImpl(const Array_ColorStop* colorStops) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(100); } - string out("getKeyCode("); + string out("new LinearGradient("); + WriteToString(&out, colorStops); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(100); } - void SetKeyCodeImpl(Ark_KeyEvent peer, - const Ark_Number* keyCode) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setKeyCode("); - WriteToString(&out, keyCode); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_String GetKeyTextImpl(Ark_KeyEvent peer) + } // LinearGradientAccessor + namespace LinearIndicatorControllerAccessor { + void DestroyPeerImpl(Ark_LinearIndicatorController peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getKeyText("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetKeyTextImpl(Ark_KeyEvent peer, - const Ark_String* keyText) + Ark_LinearIndicatorController ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setKeyText("); - WriteToString(&out, keyText); + string out("new LinearIndicatorController("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_KeySource GetKeySourceImpl(Ark_KeyEvent peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getKeySource("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - void SetKeySourceImpl(Ark_KeyEvent peer, - Ark_KeySource keySource) + void SetProgressImpl(Ark_LinearIndicatorController peer, + const Ark_Number* index, + const Ark_Number* progress) { if (!needGroupedLog(1)) { return; } - string out("setKeySource("); - WriteToString(&out, keySource); + string out("setProgress("); + WriteToString(&out, index); + out.append(", "); + WriteToString(&out, progress); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetDeviceIdImpl(Ark_KeyEvent peer) + void StartImpl(Ark_LinearIndicatorController peer, + const Opt_LinearIndicatorStartOptions* options) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getDeviceId("); + string out("start("); + WriteToString(&out, options); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetDeviceIdImpl(Ark_KeyEvent peer, - const Ark_Number* deviceId) + void PauseImpl(Ark_LinearIndicatorController peer) { if (!needGroupedLog(1)) { return; } - string out("setDeviceId("); - WriteToString(&out, deviceId); + string out("pause("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetMetaKeyImpl(Ark_KeyEvent peer) + void StopImpl(Ark_LinearIndicatorController peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getMetaKey("); + string out("stop("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetMetaKeyImpl(Ark_KeyEvent peer, - const Ark_Number* metaKey) + } // LinearIndicatorControllerAccessor + namespace LineHeightStyleAccessor { + void DestroyPeerImpl(Ark_LineHeightStyle peer) { if (!needGroupedLog(1)) { return; } - string out("setMetaKey("); - WriteToString(&out, metaKey); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetTimestampImpl(Ark_KeyEvent peer) + Ark_LineHeightStyle ConstructImpl(Ark_LengthMetrics lineHeight) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(100); } - string out("getTimestamp("); + string out("new LineHeightStyle("); + WriteToString(&out, lineHeight); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(100); } - void SetTimestampImpl(Ark_KeyEvent peer, - const Ark_Number* timestamp) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setTimestamp("); - WriteToString(&out, timestamp); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Callback_Void GetStopPropagationImpl(Ark_KeyEvent peer) + Ark_Number GetLineHeightImpl(Ark_LineHeightStyle peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getStopPropagation("); + string out("getLineHeight("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetStopPropagationImpl(Ark_KeyEvent peer, - const Callback_Void* stopPropagation) + } // LineHeightStyleAccessor + namespace ListScrollerAccessor { + void DestroyPeerImpl(Ark_ListScroller peer) { if (!needGroupedLog(1)) { return; } - string out("setStopPropagation("); - WriteToString(&out, stopPropagation); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_IntentionCode GetIntentionCodeImpl(Ark_KeyEvent peer) + Ark_ListScroller ConstructImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getIntentionCode("); + string out("new ListScroller("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - void SetIntentionCodeImpl(Ark_KeyEvent peer, - Ark_IntentionCode intentionCode) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setIntentionCode("); - WriteToString(&out, intentionCode); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Opt_ModifierKeyStateGetter GetGetModifierKeyStateImpl(Ark_KeyEvent peer) + Ark_RectResult GetItemRectInGroupImpl(Ark_ListScroller peer, + const Ark_Number* index, + const Ark_Number* indexInGroup) { if (!needGroupedLog(1)) { return {}; } - string out("getGetModifierKeyState("); + string out("getItemRectInGroup("); + WriteToString(&out, index); + out.append(", "); + WriteToString(&out, indexInGroup); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetGetModifierKeyStateImpl(Ark_KeyEvent peer, - const Opt_ModifierKeyStateGetter* getModifierKeyState) + void ScrollToItemInGroupImpl(Ark_ListScroller peer, + const Ark_Number* index, + const Ark_Number* indexInGroup, + const Opt_Boolean* smooth, + const Opt_ScrollAlign* align) { if (!needGroupedLog(1)) { return; } - string out("setGetModifierKeyState("); - WriteToString(&out, getModifierKeyState); + string out("scrollToItemInGroup("); + WriteToString(&out, index); + out.append(", "); + WriteToString(&out, indexInGroup); + out.append(", "); + WriteToString(&out, smooth); + out.append(", "); + WriteToString(&out, align); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetUnicodeImpl(Ark_KeyEvent peer) + void CloseAllSwipeActionsImpl(Ark_ListScroller peer, + const Opt_CloseSwipeActionOptions* options) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getUnicode("); + string out("closeAllSwipeActions("); + WriteToString(&out, options); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetUnicodeImpl(Ark_KeyEvent peer, - const Opt_Number* unicode) + Ark_VisibleListContentInfo GetVisibleListContentInfoImpl(Ark_ListScroller peer, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setUnicode("); - WriteToString(&out, unicode); + string out("getVisibleListContentInfo("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // KeyEventAccessor - namespace LayoutableAccessor { - void DestroyPeerImpl(Ark_Layoutable peer) + } // ListScrollerAccessor + namespace LongPressGestureEventAccessor { + void DestroyPeerImpl(Ark_LongPressGestureEvent peer) { if (!needGroupedLog(1)) { @@ -33677,17 +37033,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_Layoutable ConstructImpl() + Ark_LongPressGestureEvent ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new Layoutable("); + string out("new LongPressGestureEvent("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -33701,105 +37057,126 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void LayoutImpl(Ark_Layoutable peer, - const Ark_Position* position) + Ark_Boolean GetRepeatImpl(Ark_LongPressGestureEvent peer) + { + if (!needGroupedLog(1)) + { + return 0; + } + string out("getRepeat("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetRepeatImpl(Ark_LongPressGestureEvent peer, + Ark_Boolean repeat) { if (!needGroupedLog(1)) { return; } - string out("layout("); - WriteToString(&out, position); + string out("setRepeat("); + WriteToString(&out, repeat); out.append(") \n"); appendGroupedLog(1, out); } - Ark_DirectionalEdgesT GetMarginImpl(Ark_Layoutable peer) + } // LongPressGestureEventAccessor + namespace LongPressGestureInterfaceAccessor { + void DestroyPeerImpl(Ark_LongPressGestureInterface peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getMargin("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_DirectionalEdgesT GetPaddingImpl(Ark_Layoutable peer) + Ark_LongPressGestureInterface ConstructImpl(const Ark_LongPressGestureInterface_Invoke_Literal* value) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getPadding("); + string out("new LongPressGestureInterface("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - Ark_DirectionalEdgesT GetBorderWidthImpl(Ark_Layoutable peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getBorderWidth("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - Ark_MeasureResult GetMeasureResultImpl(Ark_Layoutable peer) + Ark_LongPressGestureInterface OnActionImpl(Ark_LongPressGestureInterface peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getMeasureResult("); + string out("onAction("); + WriteToString(&out, event); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - void SetMeasureResultImpl(Ark_Layoutable peer, - const Ark_MeasureResult* measureResult) + Ark_LongPressGestureInterface OnActionEndImpl(Ark_LongPressGestureInterface peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setMeasureResult("); - WriteToString(&out, measureResult); + string out("onActionEnd("); + WriteToString(&out, event); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Opt_Number GetUniqueIdImpl(Ark_Layoutable peer) + Ark_LongPressGestureInterface OnActionCancel0Impl(Ark_LongPressGestureInterface peer, + const Callback_Void* event) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getUniqueId("); + string out("onActionCancel0("); + WriteToString(&out, event); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - void SetUniqueIdImpl(Ark_Layoutable peer, - const Opt_Number* uniqueId) + Ark_LongPressGestureInterface OnActionCancel1Impl(Ark_LongPressGestureInterface peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setUniqueId("); - WriteToString(&out, uniqueId); + string out("onActionCancel1("); + WriteToString(&out, event); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - } // LayoutableAccessor - namespace LayoutCallbackAccessor { - void DestroyPeerImpl(Ark_LayoutCallback peer) + } // LongPressGestureInterfaceAccessor + namespace LongPressRecognizerAccessor { + void DestroyPeerImpl(Ark_LongPressRecognizer peer) { if (!needGroupedLog(1)) { @@ -33809,17 +37186,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_LayoutCallback ConstructImpl() + Ark_LongPressRecognizer ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new LayoutCallback("); + string out("new LongPressRecognizer("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -33833,47 +37210,33 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void OnPlaceChildrenImpl(Ark_LayoutCallback peer, - const Ark_GeometryInfo* selfLayoutInfo, - const Array_Layoutable* children, - const Ark_ConstraintSizeOptions* constraint) + Ark_Boolean IsRepeatImpl(Ark_LongPressRecognizer peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("onPlaceChildren("); - WriteToString(&out, selfLayoutInfo); - out.append(", "); - WriteToString(&out, children); - out.append(", "); - WriteToString(&out, constraint); + string out("isRepeat("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Ark_SizeResult OnMeasureSizeImpl(Ark_LayoutCallback peer, - const Ark_GeometryInfo* selfLayoutInfo, - const Array_Measurable* children, - const Ark_ConstraintSizeOptions* constraint) + Ark_Number GetDurationImpl(Ark_LongPressRecognizer peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("onMeasureSize("); - WriteToString(&out, selfLayoutInfo); - out.append(", "); - WriteToString(&out, children); - out.append(", "); - WriteToString(&out, constraint); + string out("getDuration("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - } // LayoutCallbackAccessor - namespace LayoutChildAccessor { - void DestroyPeerImpl(Ark_LayoutChild peer) + } // LongPressRecognizerAccessor + namespace Matrix2DAccessor { + void DestroyPeerImpl(Ark_Matrix2D peer) { if (!needGroupedLog(1)) { @@ -33883,17 +37246,30 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_LayoutChild ConstructImpl() + Ark_Matrix2D Construct0Impl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(300); } - string out("new LayoutChild("); + string out("construct0("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(300); + } + Ark_Matrix2D Construct1Impl(Ark_LengthMetricsUnit unit) + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(300); + } + string out("construct1("); + WriteToString(&out, unit); + out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(300); } Ark_NativePointer GetFinalizerImpl() { @@ -33907,228 +37283,231 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void MeasureImpl(Ark_LayoutChild peer, - const Ark_ConstraintSizeOptions* childConstraint) + Ark_Matrix2D IdentityImpl(Ark_Matrix2D peer) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("measure("); - WriteToString(&out, childConstraint); + string out("identity("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_String GetNameImpl(Ark_LayoutChild peer) + Ark_Matrix2D InvertImpl(Ark_Matrix2D peer) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getName("); + string out("invert("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - void SetNameImpl(Ark_LayoutChild peer, - const Ark_String* name) + Ark_Matrix2D RotateImpl(Ark_Matrix2D peer, + const Ark_Number* degree, + const Opt_Number* rx, + const Opt_Number* ry) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setName("); - WriteToString(&out, name); + string out("rotate("); + WriteToString(&out, degree); + out.append(", "); + WriteToString(&out, rx); + out.append(", "); + WriteToString(&out, ry); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_String GetIdImpl(Ark_LayoutChild peer) + Ark_Matrix2D TranslateImpl(Ark_Matrix2D peer, + const Opt_Number* tx, + const Opt_Number* ty) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getId("); + string out("translate("); + WriteToString(&out, tx); + out.append(", "); + WriteToString(&out, ty); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - void SetIdImpl(Ark_LayoutChild peer, - const Ark_String* id) + Ark_Matrix2D ScaleImpl(Ark_Matrix2D peer, + const Opt_Number* sx, + const Opt_Number* sy) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setId("); - WriteToString(&out, id); + string out("scale("); + WriteToString(&out, sx); + out.append(", "); + WriteToString(&out, sy); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_Position GetPositionImpl(Ark_LayoutChild peer) + Opt_Number GetScaleXImpl(Ark_Matrix2D peer) { if (!needGroupedLog(1)) { return {}; } - string out("getPosition("); + string out("getScaleX("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetPositionImpl(Ark_LayoutChild peer, - const Ark_Position* position) + void SetScaleXImpl(Ark_Matrix2D peer, + const Opt_Number* scaleX) { if (!needGroupedLog(1)) { return; } - string out("setPosition("); - WriteToString(&out, position); + string out("setScaleX("); + WriteToString(&out, scaleX); out.append(") \n"); appendGroupedLog(1, out); } - } // LayoutChildAccessor - namespace LayoutManagerAccessor { - void DestroyPeerImpl(Ark_LayoutManager peer) + Opt_Number GetScaleYImpl(Ark_Matrix2D peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("destroyPeer("); + string out("getScaleY("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_LayoutManager ConstructImpl() + void SetScaleYImpl(Ark_Matrix2D peer, + const Opt_Number* scaleY) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new LayoutManager("); + string out("setScaleY("); + WriteToString(&out, scaleY); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + Opt_Number GetRotateXImpl(Ark_Matrix2D peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getRotateX("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - Ark_Number GetLineCountImpl(Ark_LayoutManager peer) + void SetRotateXImpl(Ark_Matrix2D peer, + const Opt_Number* rotateX) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getLineCount("); + string out("setRotateX("); + WriteToString(&out, rotateX); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_PositionWithAffinity GetGlyphPositionAtCoordinateImpl(Ark_LayoutManager peer, - const Ark_Number* x, - const Ark_Number* y) + Opt_Number GetRotateYImpl(Ark_Matrix2D peer) { if (!needGroupedLog(1)) { return {}; } - string out("getGlyphPositionAtCoordinate("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("getRotateY("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - } // LayoutManagerAccessor - namespace LayoutPolicyAccessor { - void DestroyPeerImpl(Ark_LayoutPolicy peer) + void SetRotateYImpl(Ark_Matrix2D peer, + const Opt_Number* rotateY) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setRotateY("); + WriteToString(&out, rotateY); out.append(") \n"); appendGroupedLog(1, out); } - Ark_LayoutPolicy ConstructImpl() + Opt_Number GetTranslateXImpl(Ark_Matrix2D peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new LayoutPolicy("); + string out("getTranslateX("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetTranslateXImpl(Ark_Matrix2D peer, + const Opt_Number* translateX) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setTranslateX("); + WriteToString(&out, translateX); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_LayoutPolicy GetMatchParentImpl() + Opt_Number GetTranslateYImpl(Ark_Matrix2D peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("getMatchParent("); + string out("getTranslateY("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - } // LayoutPolicyAccessor - namespace LazyForEachOpsAccessor { - void SyncImpl(Ark_NativePointer node, - Ark_Int32 totalCount, - const Callback_CreateItem* creator, - const Callback_RangeUpdate* updater) + void SetTranslateYImpl(Ark_Matrix2D peer, + const Opt_Number* translateY) { if (!needGroupedLog(1)) { return; } - string out("Sync("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, totalCount); - out.append(", "); - WriteToString(&out, creator); - out.append(", "); - WriteToString(&out, updater); + string out("setTranslateY("); + WriteToString(&out, translateY); out.append(") \n"); appendGroupedLog(1, out); } - } // LazyForEachOpsAccessor - namespace LengthMetricsAccessor { - void DestroyPeerImpl(Ark_LengthMetrics peer) + } // Matrix2DAccessor + namespace matrix4_Matrix4TransitAccessor { + void DestroyPeerImpl(Ark_matrix4_Matrix4Transit peer) { if (!needGroupedLog(1)) { @@ -34138,21 +37517,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_LengthMetrics ConstructImpl(const Ark_Number* value, - Ark_LengthUnit unit) + Ark_matrix4_Matrix4Transit ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new LengthMetrics("); - WriteToString(&out, value); - out.append(", "); - WriteToString(&out, unit); + string out("new Matrix4Transit("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -34166,135 +37541,134 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_LengthMetrics PxImpl(const Ark_Number* value) - { - if (!needGroupedLog(1)) - { - return reinterpret_cast(300); - } - string out("px("); - WriteToString(&out, value); - out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); - appendGroupedLog(1, out); - return reinterpret_cast(300); - } - Ark_LengthMetrics VpImpl(const Ark_Number* value) + Ark_matrix4_Matrix4Transit CopyImpl(Ark_matrix4_Matrix4Transit peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("vp("); - WriteToString(&out, value); + string out("copy("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - Ark_LengthMetrics FpImpl(const Ark_Number* value) + Ark_matrix4_Matrix4Transit InvertImpl(Ark_matrix4_Matrix4Transit peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("fp("); - WriteToString(&out, value); + string out("invert("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - Ark_LengthMetrics PercentImpl(const Ark_Number* value) + Ark_matrix4_Matrix4Transit CombineImpl(Ark_matrix4_Matrix4Transit peer, + Ark_matrix4_Matrix4Transit options) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("percent("); - WriteToString(&out, value); + string out("combine("); + WriteToString(&out, options); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - Ark_LengthMetrics LpxImpl(const Ark_Number* value) + Ark_matrix4_Matrix4Transit TranslateImpl(Ark_matrix4_Matrix4Transit peer, + const Ark_TranslateOptions* options) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("lpx("); - WriteToString(&out, value); + string out("translate("); + WriteToString(&out, options); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - Ark_LengthMetrics ResourceImpl(const Ark_Resource* value) + Ark_matrix4_Matrix4Transit ScaleImpl(Ark_matrix4_Matrix4Transit peer, + const Ark_ScaleOptions* options) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("resource("); - WriteToString(&out, value); + string out("scale("); + WriteToString(&out, options); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - Ark_LengthUnit GetUnitImpl(Ark_LengthMetrics peer) + Ark_matrix4_Matrix4Transit SkewImpl(Ark_matrix4_Matrix4Transit peer, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getUnit("); + string out("skew("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - void SetUnitImpl(Ark_LengthMetrics peer, - Ark_LengthUnit unit) + Ark_matrix4_Matrix4Transit RotateImpl(Ark_matrix4_Matrix4Transit peer, + const Ark_RotateOptions* options) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setUnit("); - WriteToString(&out, unit); + string out("rotate("); + WriteToString(&out, options); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_Number GetValueImpl(Ark_LengthMetrics peer) + Ark_matrix4_Matrix4TransformPoint TransformPointImpl(Ark_matrix4_Matrix4Transit peer, + const Ark_matrix4_Matrix4TransformPoint* options) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getValue("); + string out("transformPoint("); + WriteToString(&out, options); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - void SetValueImpl(Ark_LengthMetrics peer, - const Ark_Number* value) + Ark_matrix4_Matrix4Transit SetPolyToPolyImpl(Ark_matrix4_Matrix4Transit peer, + const Ark_matrix4_PolyToPolyOptions* options) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setValue("); - WriteToString(&out, value); + string out("setPolyToPoly("); + WriteToString(&out, options); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - } // LengthMetricsAccessor - namespace LetterSpacingStyleAccessor { - void DestroyPeerImpl(Ark_LetterSpacingStyle peer) + } // matrix4_Matrix4TransitAccessor + namespace MeasurableAccessor { + void DestroyPeerImpl(Ark_Measurable peer) { if (!needGroupedLog(1)) { @@ -34304,18 +37678,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_LetterSpacingStyle ConstructImpl(Ark_LengthMetrics value) + Ark_Measurable ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new LetterSpacingStyle("); - WriteToString(&out, value); + string out("new Measurable("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -34329,82 +37702,83 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Number GetLetterSpacingImpl(Ark_LetterSpacingStyle peer) + Ark_MeasureResult MeasureImpl(Ark_Measurable peer, + const Ark_ConstraintSizeOptions* constraint) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getLetterSpacing("); + string out("measure("); + WriteToString(&out, constraint); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - } // LetterSpacingStyleAccessor - namespace LevelOrderAccessor { - void DestroyPeerImpl(Ark_LevelOrder peer) + Ark_DirectionalEdgesT GetMarginImpl(Ark_Measurable peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("destroyPeer("); + string out("getMargin("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_LevelOrder ConstructImpl() + Ark_DirectionalEdgesT GetPaddingImpl(Ark_Measurable peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new LevelOrder("); + string out("getPadding("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_DirectionalEdgesT GetBorderWidthImpl(Ark_Measurable peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getBorderWidth("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - Ark_LevelOrder ClampImpl(const Ark_Number* order) + Opt_Number GetUniqueIdImpl(Ark_Measurable peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("clamp("); - WriteToString(&out, order); + string out("getUniqueId("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - Ark_Number GetOrderImpl(Ark_LevelOrder peer) + void SetUniqueIdImpl(Ark_Measurable peer, + const Opt_Number* uniqueId) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getOrder("); + string out("setUniqueId("); + WriteToString(&out, uniqueId); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - } // LevelOrderAccessor - namespace LifeCycleAccessor { - void DestroyPeerImpl(Ark_LifeCycle peer) + } // MeasurableAccessor + namespace MouseEventAccessor { + void DestroyPeerImpl(Ark_MouseEvent peer) { if (!needGroupedLog(1)) { @@ -34414,17 +37788,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_LifeCycle ConstructImpl() + Ark_MouseEvent ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new LifeCycle("); + string out("new MouseEvent("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -34438,381 +37812,297 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void AboutToAppearImpl(Ark_LifeCycle peer) - { - if (!needGroupedLog(1)) - { - return; - } - string out("aboutToAppear("); - out.append(") \n"); - appendGroupedLog(1, out); - } - void AboutToDisappearImpl(Ark_LifeCycle peer) - { - if (!needGroupedLog(1)) - { - return; - } - string out("aboutToDisappear("); - out.append(") \n"); - appendGroupedLog(1, out); - } - void OnDidBuildImpl(Ark_LifeCycle peer) - { - if (!needGroupedLog(1)) - { - return; - } - string out("onDidBuild("); - out.append(") \n"); - appendGroupedLog(1, out); - } - void BuildImpl(Ark_LifeCycle peer) + Ark_MouseButton GetButtonImpl(Ark_MouseEvent peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("build("); + string out("getButton("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // LifeCycleAccessor - namespace LinearGradientAccessor { - void DestroyPeerImpl(Ark_LinearGradient peer) + void SetButtonImpl(Ark_MouseEvent peer, + Ark_MouseButton button) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_LinearGradient ConstructImpl(const Array_ColorStop* colorStops) - { - if (!needGroupedLog(1)) - { - return reinterpret_cast(100); - } - string out("new LinearGradient("); - WriteToString(&out, colorStops); + string out("setButton("); + WriteToString(&out, button); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + Ark_MouseAction GetActionImpl(Ark_MouseEvent peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getAction("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - } // LinearGradientAccessor - namespace LinearIndicatorControllerAccessor { - void DestroyPeerImpl(Ark_LinearIndicatorController peer) + void SetActionImpl(Ark_MouseEvent peer, + Ark_MouseAction action) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_LinearIndicatorController ConstructImpl() - { - if (!needGroupedLog(1)) - { - return reinterpret_cast(100); - } - string out("new LinearIndicatorController("); + string out("setAction("); + WriteToString(&out, action); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + Ark_Number GetDisplayXImpl(Ark_MouseEvent peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {42}; } - string out("getFinalizer("); + string out("getDisplayX("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {42}; } - void SetProgressImpl(Ark_LinearIndicatorController peer, - const Ark_Number* index, - const Ark_Number* progress) + void SetDisplayXImpl(Ark_MouseEvent peer, + const Ark_Number* displayX) { if (!needGroupedLog(1)) { return; } - string out("setProgress("); - WriteToString(&out, index); - out.append(", "); - WriteToString(&out, progress); + string out("setDisplayX("); + WriteToString(&out, displayX); out.append(") \n"); appendGroupedLog(1, out); } - void StartImpl(Ark_LinearIndicatorController peer, - const Opt_LinearIndicatorStartOptions* options) + Ark_Number GetDisplayYImpl(Ark_MouseEvent peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("start("); - WriteToString(&out, options); + string out("getDisplayY("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void PauseImpl(Ark_LinearIndicatorController peer) + void SetDisplayYImpl(Ark_MouseEvent peer, + const Ark_Number* displayY) { if (!needGroupedLog(1)) { return; } - string out("pause("); + string out("setDisplayY("); + WriteToString(&out, displayY); out.append(") \n"); appendGroupedLog(1, out); } - void StopImpl(Ark_LinearIndicatorController peer) + Ark_Number GetWindowXImpl(Ark_MouseEvent peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("stop("); + string out("getWindowX("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - } // LinearIndicatorControllerAccessor - namespace LineHeightStyleAccessor { - void DestroyPeerImpl(Ark_LineHeightStyle peer) + void SetWindowXImpl(Ark_MouseEvent peer, + const Ark_Number* windowX) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setWindowX("); + WriteToString(&out, windowX); out.append(") \n"); appendGroupedLog(1, out); } - Ark_LineHeightStyle ConstructImpl(Ark_LengthMetrics lineHeight) + Ark_Number GetWindowYImpl(Ark_MouseEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new LineHeightStyle("); - WriteToString(&out, lineHeight); + string out("getWindowY("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + void SetWindowYImpl(Ark_MouseEvent peer, + const Ark_Number* windowY) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setWindowY("); + WriteToString(&out, windowY); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_Number GetLineHeightImpl(Ark_LineHeightStyle peer) + Ark_Number GetXImpl(Ark_MouseEvent peer) { if (!needGroupedLog(1)) { return {42}; } - string out("getLineHeight("); + string out("getX("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - } // LineHeightStyleAccessor - namespace ListScrollerAccessor { - void DestroyPeerImpl(Ark_ListScroller peer) + void SetXImpl(Ark_MouseEvent peer, + const Ark_Number* x) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setX("); + WriteToString(&out, x); out.append(") \n"); appendGroupedLog(1, out); } - Ark_ListScroller ConstructImpl() + Ark_Number GetYImpl(Ark_MouseEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new ListScroller("); + string out("getY("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + void SetYImpl(Ark_MouseEvent peer, + const Ark_Number* y) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setY("); + WriteToString(&out, y); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_RectResult GetItemRectInGroupImpl(Ark_ListScroller peer, - const Ark_Number* index, - const Ark_Number* indexInGroup) + Callback_Void GetStopPropagationImpl(Ark_MouseEvent peer) { if (!needGroupedLog(1)) { return {}; } - string out("getItemRectInGroup("); - WriteToString(&out, index); - out.append(", "); - WriteToString(&out, indexInGroup); + string out("getStopPropagation("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void ScrollToItemInGroupImpl(Ark_ListScroller peer, - const Ark_Number* index, - const Ark_Number* indexInGroup, - const Opt_Boolean* smooth, - const Opt_ScrollAlign* align) - { - if (!needGroupedLog(1)) - { - return; - } - string out("scrollToItemInGroup("); - WriteToString(&out, index); - out.append(", "); - WriteToString(&out, indexInGroup); - out.append(", "); - WriteToString(&out, smooth); - out.append(", "); - WriteToString(&out, align); - out.append(") \n"); - appendGroupedLog(1, out); - } - void CloseAllSwipeActionsImpl(Ark_ListScroller peer, - const Opt_CloseSwipeActionOptions* options) + void SetStopPropagationImpl(Ark_MouseEvent peer, + const Callback_Void* stopPropagation) { if (!needGroupedLog(1)) { return; } - string out("closeAllSwipeActions("); - WriteToString(&out, options); + string out("setStopPropagation("); + WriteToString(&out, stopPropagation); out.append(") \n"); appendGroupedLog(1, out); } - Ark_VisibleListContentInfo GetVisibleListContentInfoImpl(Ark_ListScroller peer, - const Ark_Number* x, - const Ark_Number* y) + Opt_Number GetRawDeltaXImpl(Ark_MouseEvent peer) { if (!needGroupedLog(1)) { return {}; } - string out("getVisibleListContentInfo("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("getRawDeltaX("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - } // ListScrollerAccessor - namespace LongPressGestureEventAccessor { - void DestroyPeerImpl(Ark_LongPressGestureEvent peer) + void SetRawDeltaXImpl(Ark_MouseEvent peer, + const Opt_Number* rawDeltaX) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setRawDeltaX("); + WriteToString(&out, rawDeltaX); out.append(") \n"); appendGroupedLog(1, out); } - Ark_LongPressGestureEvent ConstructImpl() + Opt_Number GetRawDeltaYImpl(Ark_MouseEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new LongPressGestureEvent("); + string out("getRawDeltaY("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetRawDeltaYImpl(Ark_MouseEvent peer, + const Opt_Number* rawDeltaY) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setRawDeltaY("); + WriteToString(&out, rawDeltaY); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_Boolean GetRepeatImpl(Ark_LongPressGestureEvent peer) + Opt_Array_MouseButton GetPressedButtonsImpl(Ark_MouseEvent peer) { if (!needGroupedLog(1)) { - return 0; + return {}; } - string out("getRepeat("); + string out("getPressedButtons("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return 0; + return {}; } - void SetRepeatImpl(Ark_LongPressGestureEvent peer, - Ark_Boolean repeat) + void SetPressedButtonsImpl(Ark_MouseEvent peer, + const Opt_Array_MouseButton* pressedButtons) { if (!needGroupedLog(1)) { return; } - string out("setRepeat("); - WriteToString(&out, repeat); + string out("setPressedButtons("); + WriteToString(&out, pressedButtons); out.append(") \n"); appendGroupedLog(1, out); } - } // LongPressGestureEventAccessor - namespace LongPressGestureInterfaceAccessor { - void DestroyPeerImpl(Ark_LongPressGestureInterface peer) + } // MouseEventAccessor + namespace MutableStyledStringAccessor { + void DestroyPeerImpl(Ark_MutableStyledString peer) { if (!needGroupedLog(1)) { @@ -34822,18 +38112,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_LongPressGestureInterface ConstructImpl(const Ark_LongPressGestureInterface_Invoke_Literal* value) + Ark_MutableStyledString ConstructImpl(const Ark_Union_String_ImageAttachment_CustomSpan* value, + const Opt_Array_StyleOptions* styles) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new LongPressGestureInterface("); + string out("new MutableStyledString("); WriteToString(&out, value); + out.append(", "); + WriteToString(&out, styles); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -34847,158 +38140,189 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_LongPressGestureInterface OnActionImpl(Ark_LongPressGestureInterface peer, - const Callback_GestureEvent_Void* event) + void ReplaceStringImpl(Ark_MutableStyledString peer, + const Ark_Number* start, + const Ark_Number* length, + const Ark_String* other) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("onAction("); - WriteToString(&out, event); + string out("replaceString("); + WriteToString(&out, start); + out.append(", "); + WriteToString(&out, length); + out.append(", "); + WriteToString(&out, other); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_LongPressGestureInterface OnActionEndImpl(Ark_LongPressGestureInterface peer, - const Callback_GestureEvent_Void* event) + void InsertStringImpl(Ark_MutableStyledString peer, + const Ark_Number* start, + const Ark_String* other) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("onActionEnd("); - WriteToString(&out, event); + string out("insertString("); + WriteToString(&out, start); + out.append(", "); + WriteToString(&out, other); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_LongPressGestureInterface OnActionCancel0Impl(Ark_LongPressGestureInterface peer, - const Callback_Void* event) + void RemoveStringImpl(Ark_MutableStyledString peer, + const Ark_Number* start, + const Ark_Number* length) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("onActionCancel0("); - WriteToString(&out, event); + string out("removeString("); + WriteToString(&out, start); + out.append(", "); + WriteToString(&out, length); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_LongPressGestureInterface OnActionCancel1Impl(Ark_LongPressGestureInterface peer, - const Callback_GestureEvent_Void* event) + void ReplaceStyleImpl(Ark_MutableStyledString peer, + const Ark_SpanStyle* spanStyle) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("onActionCancel1("); - WriteToString(&out, event); + string out("replaceStyle("); + WriteToString(&out, spanStyle); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // LongPressGestureInterfaceAccessor - namespace LongPressRecognizerAccessor { - void DestroyPeerImpl(Ark_LongPressRecognizer peer) + void SetStyleImpl(Ark_MutableStyledString peer, + const Ark_SpanStyle* spanStyle) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setStyle("); + WriteToString(&out, spanStyle); out.append(") \n"); appendGroupedLog(1, out); } - Ark_LongPressRecognizer ConstructImpl() + void RemoveStyleImpl(Ark_MutableStyledString peer, + const Ark_Number* start, + const Ark_Number* length, + Ark_StyledStringKey styledKey) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new LongPressRecognizer("); + string out("removeStyle("); + WriteToString(&out, start); + out.append(", "); + WriteToString(&out, length); + out.append(", "); + WriteToString(&out, styledKey); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void RemoveStylesImpl(Ark_MutableStyledString peer, + const Ark_Number* start, + const Ark_Number* length) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("removeStyles("); + WriteToString(&out, start); + out.append(", "); + WriteToString(&out, length); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_Boolean IsRepeatImpl(Ark_LongPressRecognizer peer) + void ClearStylesImpl(Ark_MutableStyledString peer) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("isRepeat("); + string out("clearStyles("); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_Number GetDurationImpl(Ark_LongPressRecognizer peer) + void ReplaceStyledStringImpl(Ark_MutableStyledString peer, + const Ark_Number* start, + const Ark_Number* length, + Ark_StyledString other) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getDuration("); + string out("replaceStyledString("); + WriteToString(&out, start); + out.append(", "); + WriteToString(&out, length); + out.append(", "); + WriteToString(&out, other); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - } // LongPressRecognizerAccessor - namespace Matrix2DAccessor { - void DestroyPeerImpl(Ark_Matrix2D peer) + void InsertStyledStringImpl(Ark_MutableStyledString peer, + const Ark_Number* start, + Ark_StyledString other) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("insertStyledString("); + WriteToString(&out, start); + out.append(", "); + WriteToString(&out, other); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Matrix2D Construct0Impl() + void AppendStyledStringImpl(Ark_MutableStyledString peer, + Ark_StyledString other) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("construct0("); + string out("appendStyledString("); + WriteToString(&out, other); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_Matrix2D Construct1Impl(Ark_LengthMetricsUnit unit) + } // MutableStyledStringAccessor + namespace NavDestinationContextAccessor { + void DestroyPeerImpl(Ark_NavDestinationContext peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("construct1("); - WriteToString(&out, unit); + string out("destroyPeer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + } + Ark_NavDestinationContext ConstructImpl() + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(100); + } + string out("new NavDestinationContext("); + out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -35012,231 +38336,299 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Matrix2D IdentityImpl(Ark_Matrix2D peer) + Opt_RouteMapConfig GetConfigInRouteMapImpl(Ark_NavDestinationContext peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("identity("); + string out("getConfigInRouteMap("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - Ark_Matrix2D InvertImpl(Ark_Matrix2D peer) + Ark_NavPathInfo GetPathInfoImpl(Ark_NavDestinationContext peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("invert("); + string out("getPathInfo("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - Ark_Matrix2D RotateImpl(Ark_Matrix2D peer, - const Ark_Number* degree, - const Opt_Number* rx, - const Opt_Number* ry) + void SetPathInfoImpl(Ark_NavDestinationContext peer, + Ark_NavPathInfo pathInfo) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("rotate("); - WriteToString(&out, degree); - out.append(", "); - WriteToString(&out, rx); - out.append(", "); - WriteToString(&out, ry); + string out("setPathInfo("); + WriteToString(&out, pathInfo); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_Matrix2D TranslateImpl(Ark_Matrix2D peer, - const Opt_Number* tx, - const Opt_Number* ty) + Ark_NavPathStack GetPathStackImpl(Ark_NavDestinationContext peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("translate("); - WriteToString(&out, tx); - out.append(", "); - WriteToString(&out, ty); + string out("getPathStack("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - Ark_Matrix2D ScaleImpl(Ark_Matrix2D peer, - const Opt_Number* sx, - const Opt_Number* sy) + void SetPathStackImpl(Ark_NavDestinationContext peer, + Ark_NavPathStack pathStack) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("scale("); - WriteToString(&out, sx); - out.append(", "); - WriteToString(&out, sy); + string out("setPathStack("); + WriteToString(&out, pathStack); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Opt_Number GetScaleXImpl(Ark_Matrix2D peer) + Opt_String GetNavDestinationIdImpl(Ark_NavDestinationContext peer) { if (!needGroupedLog(1)) { return {}; } - string out("getScaleX("); + string out("getNavDestinationId("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetScaleXImpl(Ark_Matrix2D peer, - const Opt_Number* scaleX) + void SetNavDestinationIdImpl(Ark_NavDestinationContext peer, + const Opt_String* navDestinationId) { if (!needGroupedLog(1)) { return; } - string out("setScaleX("); - WriteToString(&out, scaleX); + string out("setNavDestinationId("); + WriteToString(&out, navDestinationId); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetRotateYImpl(Ark_Matrix2D peer) + } // NavDestinationContextAccessor + namespace NavExtenderAccessor { + void SetNavigationOptionsImpl(Ark_NativePointer ptr, + Ark_NavPathStack pathStack) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getRotateY("); + string out("setNavigationOptions("); + WriteToString(&out, ptr); + out.append(", "); + WriteToString(&out, pathStack); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetRotateYImpl(Ark_Matrix2D peer, - const Opt_Number* rotateY) + void SetUpdateStackCallbackImpl(Ark_NavPathStack peer, + const NavExtender_OnUpdateStack* callback) { if (!needGroupedLog(1)) { return; } - string out("setRotateY("); - WriteToString(&out, rotateY); + string out("setUpdateStackCallback("); + WriteToString(&out, peer); + out.append(", "); + WriteToString(&out, callback); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SyncStackImpl(Ark_NavPathStack peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("syncStack("); + WriteToString(&out, peer); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Boolean CheckNeedCreateImpl(Ark_NativePointer navigation, + Ark_Int32 index) + { + if (!needGroupedLog(1)) + { + return 0; + } + string out("checkNeedCreate("); + WriteToString(&out, navigation); + out.append(", "); + WriteToString(&out, index); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetNavDestinationNodeImpl(Ark_NavPathStack peer, + Ark_Int32 index, + Ark_NativePointer node) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setNavDestinationNode("); + WriteToString(&out, peer); + out.append(", "); + WriteToString(&out, index); + out.append(", "); + WriteToString(&out, node); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetRotateXImpl(Ark_Matrix2D peer) + void PushPathImpl(Ark_NavPathStack pathStack, + Ark_NavPathInfo info, + const Ark_NavigationOptions* options) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getRotateX("); + string out("pushPath("); + WriteToString(&out, pathStack); + out.append(", "); + WriteToString(&out, info); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetRotateXImpl(Ark_Matrix2D peer, - const Opt_Number* rotateX) + void ReplacePathImpl(Ark_NavPathStack pathStack, + Ark_NavPathInfo info, + const Ark_NavigationOptions* options) { if (!needGroupedLog(1)) { return; } - string out("setRotateX("); - WriteToString(&out, rotateX); + string out("replacePath("); + WriteToString(&out, pathStack); + out.append(", "); + WriteToString(&out, info); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetScaleYImpl(Ark_Matrix2D peer) + Ark_String PopImpl(Ark_NavPathStack pathStack, + Ark_Boolean animated) { if (!needGroupedLog(1)) { return {}; } - string out("getScaleY("); + string out("pop("); + WriteToString(&out, pathStack); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetScaleYImpl(Ark_Matrix2D peer, - const Opt_Number* scaleY) + void SetOnPopCallbackImpl(Ark_NavPathStack pathStack, + const Callback_String_Void* popCallback) { if (!needGroupedLog(1)) { return; } - string out("setScaleY("); - WriteToString(&out, scaleY); + string out("setOnPopCallback("); + WriteToString(&out, pathStack); + out.append(", "); + WriteToString(&out, popCallback); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetTranslateXImpl(Ark_Matrix2D peer) + Ark_String GetIdByIndexImpl(Ark_NavPathStack pathStack, + Ark_Int32 index) { if (!needGroupedLog(1)) { return {}; } - string out("getTranslateX("); + string out("getIdByIndex("); + WriteToString(&out, pathStack); + out.append(", "); + WriteToString(&out, index); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetTranslateXImpl(Ark_Matrix2D peer, - const Opt_Number* translateX) + Array_String GetIdByNameImpl(Ark_NavPathStack pathStack, + const Ark_String* name) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setTranslateX("); - WriteToString(&out, translateX); + string out("getIdByName("); + WriteToString(&out, pathStack); + out.append(", "); + WriteToString(&out, name); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Opt_Number GetTranslateYImpl(Ark_Matrix2D peer) + void PopToIndexImpl(Ark_NavPathStack pathStack, + Ark_Int32 index, + Ark_Boolean animated) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getTranslateY("); + string out("popToIndex("); + WriteToString(&out, pathStack); + out.append(", "); + WriteToString(&out, index); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetTranslateYImpl(Ark_Matrix2D peer, - const Opt_Number* translateY) + Ark_Number PopToNameImpl(Ark_NavPathStack pathStack, + const Ark_String* name, + Ark_Boolean animated) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setTranslateY("); - WriteToString(&out, translateY); + string out("popToName("); + WriteToString(&out, pathStack); + out.append(", "); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - } // Matrix2DAccessor - namespace matrix4_Matrix4TransitAccessor { - void DestroyPeerImpl(Ark_matrix4_Matrix4Transit peer) + } // NavExtenderAccessor + namespace NavigationTransitionProxyAccessor { + void DestroyPeerImpl(Ark_NavigationTransitionProxy peer) { if (!needGroupedLog(1)) { @@ -35246,17 +38638,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_matrix4_Matrix4Transit ConstructImpl() + Ark_NavigationTransitionProxy ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new Matrix4Transit("); + string out("new NavigationTransitionProxy("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -35270,1094 +38662,1135 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_matrix4_Matrix4Transit CopyImpl(Ark_matrix4_Matrix4Transit peer) + void FinishTransitionImpl(Ark_NavigationTransitionProxy peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("copy("); + string out("finishTransition("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_matrix4_Matrix4Transit InvertImpl(Ark_matrix4_Matrix4Transit peer) + Ark_NavContentInfo GetFromImpl(Ark_NavigationTransitionProxy peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("invert("); + string out("getFrom("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - Ark_matrix4_Matrix4Transit CombineImpl(Ark_matrix4_Matrix4Transit peer, - Ark_matrix4_Matrix4Transit options) + void SetFromImpl(Ark_NavigationTransitionProxy peer, + const Ark_NavContentInfo* from) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("combine("); - WriteToString(&out, options); + string out("setFrom("); + WriteToString(&out, from); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_matrix4_Matrix4Transit TranslateImpl(Ark_matrix4_Matrix4Transit peer, - const Ark_TranslateOptions* options) + Ark_NavContentInfo GetToImpl(Ark_NavigationTransitionProxy peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("translate("); - WriteToString(&out, options); + string out("getTo("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - Ark_matrix4_Matrix4Transit ScaleImpl(Ark_matrix4_Matrix4Transit peer, - const Ark_ScaleOptions* options) + void SetToImpl(Ark_NavigationTransitionProxy peer, + const Ark_NavContentInfo* to) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("scale("); - WriteToString(&out, options); + string out("setTo("); + WriteToString(&out, to); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_matrix4_Matrix4Transit SkewImpl(Ark_matrix4_Matrix4Transit peer, - const Ark_Number* x, - const Ark_Number* y) + Opt_Boolean GetIsInteractiveImpl(Ark_NavigationTransitionProxy peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("skew("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("getIsInteractive("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - Ark_matrix4_Matrix4Transit RotateImpl(Ark_matrix4_Matrix4Transit peer, - const Ark_RotateOptions* options) + void SetIsInteractiveImpl(Ark_NavigationTransitionProxy peer, + const Opt_Boolean* isInteractive) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("rotate("); - WriteToString(&out, options); + string out("setIsInteractive("); + WriteToString(&out, isInteractive); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_matrix4_Matrix4TransformPoint TransformPointImpl(Ark_matrix4_Matrix4Transit peer, - const Ark_matrix4_Matrix4TransformPoint* options) + Opt_VoidCallback GetCancelTransitionImpl(Ark_NavigationTransitionProxy peer) { if (!needGroupedLog(1)) { return {}; } - string out("transformPoint("); - WriteToString(&out, options); + string out("getCancelTransition("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Ark_matrix4_Matrix4Transit SetPolyToPolyImpl(Ark_matrix4_Matrix4Transit peer, - const Ark_matrix4_PolyToPolyOptions* options) + void SetCancelTransitionImpl(Ark_NavigationTransitionProxy peer, + const Opt_VoidCallback* cancelTransition) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("setPolyToPoly("); - WriteToString(&out, options); + string out("setCancelTransition("); + WriteToString(&out, cancelTransition); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // matrix4_Matrix4TransitAccessor - namespace MeasurableAccessor { - void DestroyPeerImpl(Ark_Measurable peer) + Opt_UpdateTransitionCallback GetUpdateTransitionImpl(Ark_NavigationTransitionProxy peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("destroyPeer("); + string out("getUpdateTransition("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_Measurable ConstructImpl() + void SetUpdateTransitionImpl(Ark_NavigationTransitionProxy peer, + const Opt_UpdateTransitionCallback* updateTransition) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new Measurable("); + string out("setUpdateTransition("); + WriteToString(&out, updateTransition); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + } // NavigationTransitionProxyAccessor + namespace NavPathInfoAccessor { + void DestroyPeerImpl(Ark_NavPathInfo peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_MeasureResult MeasureImpl(Ark_Measurable peer, - const Ark_ConstraintSizeOptions* constraint) + Ark_NavPathInfo ConstructImpl(const Ark_String* name, + const Opt_Object* param, + const Opt_Callback_PopInfo_Void* onPop, + const Opt_Boolean* isEntry) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("measure("); - WriteToString(&out, constraint); + string out("new NavPathInfo("); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, param); + out.append(", "); + WriteToString(&out, onPop); + out.append(", "); + WriteToString(&out, isEntry); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - Ark_DirectionalEdgesT GetMarginImpl(Ark_Measurable peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getMargin("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - Ark_DirectionalEdgesT GetPaddingImpl(Ark_Measurable peer) + Ark_String GetNameImpl(Ark_NavPathInfo peer) { if (!needGroupedLog(1)) { return {}; } - string out("getPadding("); + string out("getName("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Ark_DirectionalEdgesT GetBorderWidthImpl(Ark_Measurable peer) + void SetNameImpl(Ark_NavPathInfo peer, + const Ark_String* name) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getBorderWidth("); + string out("setName("); + WriteToString(&out, name); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Opt_Number GetUniqueIdImpl(Ark_Measurable peer) + Opt_Object GetParamImpl(Ark_NavPathInfo peer) { if (!needGroupedLog(1)) { return {}; } - string out("getUniqueId("); + string out("getParam("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetUniqueIdImpl(Ark_Measurable peer, - const Opt_Number* uniqueId) - { - if (!needGroupedLog(1)) - { - return; - } - string out("setUniqueId("); - WriteToString(&out, uniqueId); - out.append(") \n"); - appendGroupedLog(1, out); - } - } // MeasurableAccessor - namespace MouseEventAccessor { - void DestroyPeerImpl(Ark_MouseEvent peer) + void SetParamImpl(Ark_NavPathInfo peer, + const Opt_Object* param) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setParam("); + WriteToString(&out, param); out.append(") \n"); appendGroupedLog(1, out); } - Ark_MouseEvent ConstructImpl() + Opt_Callback_PopInfo_Void GetOnPopImpl(Ark_NavPathInfo peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new MouseEvent("); + string out("getOnPop("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetOnPopImpl(Ark_NavPathInfo peer, + const Opt_Callback_PopInfo_Void* onPop) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setOnPop("); + WriteToString(&out, onPop); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_MouseButton GetButtonImpl(Ark_MouseEvent peer) + Opt_Boolean GetIsEntryImpl(Ark_NavPathInfo peer) { if (!needGroupedLog(1)) { return {}; } - string out("getButton("); + string out("getIsEntry("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetButtonImpl(Ark_MouseEvent peer, - Ark_MouseButton button) + void SetIsEntryImpl(Ark_NavPathInfo peer, + const Opt_Boolean* isEntry) { if (!needGroupedLog(1)) { return; } - string out("setButton("); - WriteToString(&out, button); + string out("setIsEntry("); + WriteToString(&out, isEntry); out.append(") \n"); appendGroupedLog(1, out); } - Ark_MouseAction GetActionImpl(Ark_MouseEvent peer) + Opt_String GetNavDestinationIdImpl(Ark_NavPathInfo peer) { if (!needGroupedLog(1)) { return {}; } - string out("getAction("); + string out("getNavDestinationId("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetActionImpl(Ark_MouseEvent peer, - Ark_MouseAction action) + void SetNavDestinationIdImpl(Ark_NavPathInfo peer, + const Opt_String* navDestinationId) { if (!needGroupedLog(1)) { return; } - string out("setAction("); - WriteToString(&out, action); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Number GetDisplayXImpl(Ark_MouseEvent peer) - { - if (!needGroupedLog(1)) - { - return {42}; - } - string out("getDisplayX("); + string out("setNavDestinationId("); + WriteToString(&out, navDestinationId); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetDisplayXImpl(Ark_MouseEvent peer, - const Ark_Number* displayX) + } // NavPathInfoAccessor + namespace NavPathStackAccessor { + void DestroyPeerImpl(Ark_NavPathStack peer) { if (!needGroupedLog(1)) { return; } - string out("setDisplayX("); - WriteToString(&out, displayX); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetDisplayYImpl(Ark_MouseEvent peer) + Ark_NavPathStack ConstructImpl() { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(100); } - string out("getDisplayY("); + string out("new NavPathStack("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(100); } - void SetDisplayYImpl(Ark_MouseEvent peer, - const Ark_Number* displayY) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setDisplayY("); - WriteToString(&out, displayY); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_Number GetWindowXImpl(Ark_MouseEvent peer) + void PushPath0Impl(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getWindowX("); + string out("pushPath0("); + WriteToString(&out, info); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetWindowXImpl(Ark_MouseEvent peer, - const Ark_Number* windowX) + void PushPath1Impl(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options) { if (!needGroupedLog(1)) { return; } - string out("setWindowX("); - WriteToString(&out, windowX); + string out("pushPath1("); + WriteToString(&out, info); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetWindowYImpl(Ark_MouseEvent peer) + void PushDestination0Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_Boolean* animated, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getWindowY("); + string out("pushDestination0("); + WriteToString(&out, info); + out.append(", "); + WriteToString(&out, animated); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetWindowYImpl(Ark_MouseEvent peer, - const Ark_Number* windowY) + void PushDestination1Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { return; } - string out("setWindowY("); - WriteToString(&out, windowY); + string out("pushDestination1("); + WriteToString(&out, info); + out.append(", "); + WriteToString(&out, options); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetXImpl(Ark_MouseEvent peer) + void PushPathByName0Impl(Ark_NavPathStack peer, + const Ark_String* name, + const Opt_Object* param, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getX("); + string out("pushPathByName0("); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, param); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetXImpl(Ark_MouseEvent peer, - const Ark_Number* x) + void PushPathByName1Impl(Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Callback_PopInfo_Void* onPop, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) { return; } - string out("setX("); - WriteToString(&out, x); + string out("pushPathByName1("); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, param); + out.append(", "); + WriteToString(&out, onPop); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetYImpl(Ark_MouseEvent peer) + void PushDestinationByName0Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Opt_Boolean* animated, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getY("); + string out("pushDestinationByName0("); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, param); + out.append(", "); + WriteToString(&out, animated); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetYImpl(Ark_MouseEvent peer, - const Ark_Number* y) + void PushDestinationByName1Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Callback_PopInfo_Void* onPop, + const Opt_Boolean* animated, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { return; } - string out("setY("); - WriteToString(&out, y); + string out("pushDestinationByName1("); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, param); + out.append(", "); + WriteToString(&out, onPop); + out.append(", "); + WriteToString(&out, animated); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); appendGroupedLog(1, out); } - Callback_Void GetStopPropagationImpl(Ark_MouseEvent peer) + void ReplacePath0Impl(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getStopPropagation("); + string out("replacePath0("); + WriteToString(&out, info); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetStopPropagationImpl(Ark_MouseEvent peer, - const Callback_Void* stopPropagation) + void ReplacePath1Impl(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options) { if (!needGroupedLog(1)) { return; } - string out("setStopPropagation("); - WriteToString(&out, stopPropagation); + string out("replacePath1("); + WriteToString(&out, info); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetRawDeltaXImpl(Ark_MouseEvent peer) + void ReplaceDestinationImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getRawDeltaX("); + string out("replaceDestination("); + WriteToString(&out, info); + out.append(", "); + WriteToString(&out, options); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetRawDeltaXImpl(Ark_MouseEvent peer, - const Opt_Number* rawDeltaX) + void ReplacePathByNameImpl(Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) { return; } - string out("setRawDeltaX("); - WriteToString(&out, rawDeltaX); + string out("replacePathByName("); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, param); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetRawDeltaYImpl(Ark_MouseEvent peer) + Ark_Number RemoveByIndexesImpl(Ark_NavPathStack peer, + const Array_Number* indexes) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getRawDeltaY("); + string out("removeByIndexes("); + WriteToString(&out, indexes); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetRawDeltaYImpl(Ark_MouseEvent peer, - const Opt_Number* rawDeltaY) + Ark_Number RemoveByNameImpl(Ark_NavPathStack peer, + const Ark_String* name) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setRawDeltaY("); - WriteToString(&out, rawDeltaY); + string out("removeByName("); + WriteToString(&out, name); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Opt_Array_MouseButton GetPressedButtonsImpl(Ark_MouseEvent peer) + Ark_Boolean RemoveByNavDestinationIdImpl(Ark_NavPathStack peer, + const Ark_String* navDestinationId) { if (!needGroupedLog(1)) { - return {}; + return 0; } - string out("getPressedButtons("); + string out("removeByNavDestinationId("); + WriteToString(&out, navDestinationId); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {}; + return 0; } - void SetPressedButtonsImpl(Ark_MouseEvent peer, - const Opt_Array_MouseButton* pressedButtons) + Opt_NavPathInfo Pop0Impl(Ark_NavPathStack peer, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setPressedButtons("); - WriteToString(&out, pressedButtons); + string out("pop0("); + WriteToString(&out, animated); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // MouseEventAccessor - namespace MutableStyledStringAccessor { - void DestroyPeerImpl(Ark_MutableStyledString peer) + Opt_NavPathInfo Pop1Impl(Ark_NavPathStack peer, + const Ark_Object* result, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("destroyPeer("); + string out("pop1("); + WriteToString(&out, result); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_MutableStyledString ConstructImpl(const Ark_Union_String_ImageAttachment_CustomSpan* value, - const Opt_Array_StyleOptions* styles) + Ark_Number PopToName0Impl(Ark_NavPathStack peer, + const Ark_String* name, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new MutableStyledString("); - WriteToString(&out, value); + string out("popToName0("); + WriteToString(&out, name); out.append(", "); - WriteToString(&out, styles); + WriteToString(&out, animated); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number PopToName1Impl(Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* result, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {42}; } - string out("getFinalizer("); + string out("popToName1("); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, result); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {42}; } - void ReplaceStringImpl(Ark_MutableStyledString peer, - const Ark_Number* start, - const Ark_Number* length, - const Ark_String* other) + void PopToIndex0Impl(Ark_NavPathStack peer, + const Ark_Number* index, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) { return; } - string out("replaceString("); - WriteToString(&out, start); - out.append(", "); - WriteToString(&out, length); + string out("popToIndex0("); + WriteToString(&out, index); out.append(", "); - WriteToString(&out, other); + WriteToString(&out, animated); out.append(") \n"); appendGroupedLog(1, out); } - void InsertStringImpl(Ark_MutableStyledString peer, - const Ark_Number* start, - const Ark_String* other) + void PopToIndex1Impl(Ark_NavPathStack peer, + const Ark_Number* index, + const Ark_Object* result, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) { return; } - string out("insertString("); - WriteToString(&out, start); + string out("popToIndex1("); + WriteToString(&out, index); out.append(", "); - WriteToString(&out, other); + WriteToString(&out, result); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); appendGroupedLog(1, out); } - void RemoveStringImpl(Ark_MutableStyledString peer, - const Ark_Number* start, - const Ark_Number* length) + Ark_Number MoveToTopImpl(Ark_NavPathStack peer, + const Ark_String* name, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("removeString("); - WriteToString(&out, start); + string out("moveToTop("); + WriteToString(&out, name); out.append(", "); - WriteToString(&out, length); + WriteToString(&out, animated); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void ReplaceStyleImpl(Ark_MutableStyledString peer, - const Ark_SpanStyle* spanStyle) + void MoveIndexToTopImpl(Ark_NavPathStack peer, + const Ark_Number* index, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) { return; } - string out("replaceStyle("); - WriteToString(&out, spanStyle); + string out("moveIndexToTop("); + WriteToString(&out, index); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); appendGroupedLog(1, out); } - void SetStyleImpl(Ark_MutableStyledString peer, - const Ark_SpanStyle* spanStyle) + void ClearImpl(Ark_NavPathStack peer, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) { return; } - string out("setStyle("); - WriteToString(&out, spanStyle); + string out("clear("); + WriteToString(&out, animated); out.append(") \n"); appendGroupedLog(1, out); } - void RemoveStyleImpl(Ark_MutableStyledString peer, - const Ark_Number* start, - const Ark_Number* length, - Ark_StyledStringKey styledKey) + Array_String GetAllPathNameImpl(Ark_NavPathStack peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("removeStyle("); - WriteToString(&out, start); - out.append(", "); - WriteToString(&out, length); - out.append(", "); - WriteToString(&out, styledKey); + string out("getAllPathName("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void RemoveStylesImpl(Ark_MutableStyledString peer, - const Ark_Number* start, - const Ark_Number* length) + Opt_Object GetParamByIndexImpl(Ark_NavPathStack peer, + const Ark_Number* index) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("removeStyles("); - WriteToString(&out, start); - out.append(", "); - WriteToString(&out, length); + string out("getParamByIndex("); + WriteToString(&out, index); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void ClearStylesImpl(Ark_MutableStyledString peer) + Array_Opt_Object GetParamByNameImpl(Ark_NavPathStack peer, + const Ark_String* name) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("clearStyles("); + string out("getParamByName("); + WriteToString(&out, name); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void ReplaceStyledStringImpl(Ark_MutableStyledString peer, - const Ark_Number* start, - const Ark_Number* length, - Ark_StyledString other) + Array_Number GetIndexByNameImpl(Ark_NavPathStack peer, + const Ark_String* name) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("replaceStyledString("); - WriteToString(&out, start); - out.append(", "); - WriteToString(&out, length); - out.append(", "); - WriteToString(&out, other); + string out("getIndexByName("); + WriteToString(&out, name); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void InsertStyledStringImpl(Ark_MutableStyledString peer, - const Ark_Number* start, - Ark_StyledString other) + Opt_NavPathStack GetParentImpl(Ark_NavPathStack peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("insertStyledString("); - WriteToString(&out, start); - out.append(", "); - WriteToString(&out, other); + string out("getParent("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void AppendStyledStringImpl(Ark_MutableStyledString peer, - Ark_StyledString other) + Ark_Number SizeImpl(Ark_NavPathStack peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("appendStyledString("); - WriteToString(&out, other); + string out("size("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - } // MutableStyledStringAccessor - namespace NavDestinationContextAccessor { - void DestroyPeerImpl(Ark_NavDestinationContext peer) + void DisableAnimationImpl(Ark_NavPathStack peer, + Ark_Boolean value) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("disableAnimation("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - Ark_NavDestinationContext ConstructImpl() + void SetInterceptionImpl(Ark_NavPathStack peer, + const Ark_NavigationInterception* interception) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new NavDestinationContext("); + string out("setInterception("); + WriteToString(&out, interception); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + Array_NavPathInfo GetPathStackImpl(Ark_NavPathStack peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getPathStack("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - Opt_RouteMapConfig GetConfigInRouteMapImpl(Ark_NavDestinationContext peer) + void SetPathStackImpl(Ark_NavPathStack peer, + const Array_NavPathInfo* pathStack, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getConfigInRouteMap("); + string out("setPathStack("); + WriteToString(&out, pathStack); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_NavPathInfo GetPathInfoImpl(Ark_NavDestinationContext peer) + } // NavPathStackAccessor + namespace NodeContentAccessor { + void DestroyPeerImpl(Ark_NodeContent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getPathInfo("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - void SetPathInfoImpl(Ark_NavDestinationContext peer, - Ark_NavPathInfo pathInfo) + Ark_NodeContent ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setPathInfo("); - WriteToString(&out, pathInfo); + string out("new NodeContent("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_NavPathStack GetPathStackImpl(Ark_NavDestinationContext peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - string out("getPathStack("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - void SetPathStackImpl(Ark_NavDestinationContext peer, - Ark_NavPathStack pathStack) + void AddFrameNodeImpl(Ark_NodeContent peer, + Ark_FrameNode node) { if (!needGroupedLog(1)) { return; } - string out("setPathStack("); - WriteToString(&out, pathStack); + string out("addFrameNode("); + WriteToString(&out, node); out.append(") \n"); appendGroupedLog(1, out); } - Opt_String GetNavDestinationIdImpl(Ark_NavDestinationContext peer) + void RemoveFrameNodeImpl(Ark_NodeContent peer, + Ark_FrameNode node) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getNavDestinationId("); + string out("removeFrameNode("); + WriteToString(&out, node); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetNavDestinationIdImpl(Ark_NavDestinationContext peer, - const Opt_String* navDestinationId) + } // NodeContentAccessor + namespace OffscreenCanvasAccessor { + void DestroyPeerImpl(Ark_OffscreenCanvas peer) { if (!needGroupedLog(1)) { return; } - string out("setNavDestinationId("); - WriteToString(&out, navDestinationId); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - } // NavDestinationContextAccessor - namespace NavExtenderAccessor { - void SetNavigationOptionsImpl(Ark_NativePointer ptr, - Ark_NavPathStack pathStack) + Ark_OffscreenCanvas ConstructImpl(const Ark_Number* width, + const Ark_Number* height, + const Opt_LengthMetricsUnit* unit) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setNavigationOptions("); - WriteToString(&out, ptr); + string out("new OffscreenCanvas("); + WriteToString(&out, width); out.append(", "); - WriteToString(&out, pathStack); + WriteToString(&out, height); + out.append(", "); + WriteToString(&out, unit); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void SetUpdateStackCallbackImpl(Ark_NavPathStack peer, - const NavExtender_OnUpdateStack* callback) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setUpdateStackCallback("); - WriteToString(&out, peer); - out.append(", "); - WriteToString(&out, callback); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void SyncStackImpl(Ark_NavPathStack peer) + Ark_ImageBitmap TransferToImageBitmapImpl(Ark_OffscreenCanvas peer) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("syncStack("); - WriteToString(&out, peer); + string out("transferToImageBitmap("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_Boolean CheckNeedCreateImpl(Ark_NativePointer navigation, - Ark_Int32 index) + Ark_OffscreenCanvasRenderingContext2D GetContext2dImpl(Ark_OffscreenCanvas peer, + const Opt_RenderingContextSettings* options) { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(300); } - string out("checkNeedCreate("); - WriteToString(&out, navigation); - out.append(", "); - WriteToString(&out, index); + string out("getContext2d("); + WriteToString(&out, options); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(300); } - void SetNavDestinationNodeImpl(Ark_NavPathStack peer, - Ark_Int32 index, - Ark_NativePointer node) + Ark_Number GetHeightImpl(Ark_OffscreenCanvas peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setNavDestinationNode("); - WriteToString(&out, peer); - out.append(", "); - WriteToString(&out, index); - out.append(", "); - WriteToString(&out, node); + string out("getHeight("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void PushPathImpl(Ark_NavPathStack pathStack, - Ark_NavPathInfo info, - const Ark_NavigationOptions* options) + void SetHeightImpl(Ark_OffscreenCanvas peer, + const Ark_Number* height) { if (!needGroupedLog(1)) { return; } - string out("pushPath("); - WriteToString(&out, pathStack); - out.append(", "); - WriteToString(&out, info); - out.append(", "); - WriteToString(&out, options); + string out("setHeight("); + WriteToString(&out, height); out.append(") \n"); appendGroupedLog(1, out); } - void ReplacePathImpl(Ark_NavPathStack pathStack, - Ark_NavPathInfo info, - const Ark_NavigationOptions* options) + Ark_Number GetWidthImpl(Ark_OffscreenCanvas peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("replacePath("); - WriteToString(&out, pathStack); - out.append(", "); - WriteToString(&out, info); - out.append(", "); - WriteToString(&out, options); + string out("getWidth("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_String PopImpl(Ark_NavPathStack pathStack, - Ark_Boolean animated) + void SetWidthImpl(Ark_OffscreenCanvas peer, + const Ark_Number* width) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("pop("); - WriteToString(&out, pathStack); - out.append(", "); - WriteToString(&out, animated); + string out("setWidth("); + WriteToString(&out, width); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetOnPopCallbackImpl(Ark_NavPathStack pathStack, - const Callback_String_Void* popCallback) + } // OffscreenCanvasAccessor + namespace OffscreenCanvasRenderingContext2DAccessor { + void DestroyPeerImpl(Ark_OffscreenCanvasRenderingContext2D peer) { if (!needGroupedLog(1)) { return; } - string out("setOnPopCallback("); - WriteToString(&out, pathStack); - out.append(", "); - WriteToString(&out, popCallback); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_String GetIdByIndexImpl(Ark_NavPathStack pathStack, - Ark_Int32 index) + Ark_OffscreenCanvasRenderingContext2D ConstructImpl(const Ark_Number* width, + const Ark_Number* height, + const Opt_RenderingContextSettings* settings, + const Opt_LengthMetricsUnit* unit) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getIdByIndex("); - WriteToString(&out, pathStack); + string out("new OffscreenCanvasRenderingContext2D("); + WriteToString(&out, width); out.append(", "); - WriteToString(&out, index); + WriteToString(&out, height); + out.append(", "); + WriteToString(&out, settings); + out.append(", "); + WriteToString(&out, unit); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - Array_String GetIdByNameImpl(Ark_NavPathStack pathStack, - const Ark_String* name) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getIdByName("); - WriteToString(&out, pathStack); - out.append(", "); - WriteToString(&out, name); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - void PopToIndexImpl(Ark_NavPathStack pathStack, - Ark_Int32 index, - Ark_Boolean animated) + Ark_String ToDataURLImpl(Ark_OffscreenCanvasRenderingContext2D peer, + const Opt_String* type, + const Opt_Number* quality) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("popToIndex("); - WriteToString(&out, pathStack); - out.append(", "); - WriteToString(&out, index); + string out("toDataURL("); + WriteToString(&out, type); out.append(", "); - WriteToString(&out, animated); + WriteToString(&out, quality); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_Number PopToNameImpl(Ark_NavPathStack pathStack, - const Ark_String* name, - Ark_Boolean animated) + Ark_ImageBitmap TransferToImageBitmapImpl(Ark_OffscreenCanvasRenderingContext2D peer) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("popToName("); - WriteToString(&out, pathStack); - out.append(", "); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, animated); + string out("transferToImageBitmap("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - } // NavExtenderAccessor - namespace NavigationTransitionProxyAccessor { - void DestroyPeerImpl(Ark_NavigationTransitionProxy peer) + } // OffscreenCanvasRenderingContext2DAccessor + namespace PanGestureEventAccessor { + void DestroyPeerImpl(Ark_PanGestureEvent peer) { if (!needGroupedLog(1)) { @@ -36367,17 +39800,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_NavigationTransitionProxy ConstructImpl() + Ark_PanGestureEvent ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new NavigationTransitionProxy("); + string out("new PanGestureEvent("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -36391,139 +39824,129 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void FinishTransitionImpl(Ark_NavigationTransitionProxy peer) - { - if (!needGroupedLog(1)) - { - return; - } - string out("finishTransition("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_NavContentInfo GetFromImpl(Ark_NavigationTransitionProxy peer) + Ark_Number GetOffsetXImpl(Ark_PanGestureEvent peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getFrom("); + string out("getOffsetX("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetFromImpl(Ark_NavigationTransitionProxy peer, - const Ark_NavContentInfo* from) + void SetOffsetXImpl(Ark_PanGestureEvent peer, + const Ark_Number* offsetX) { if (!needGroupedLog(1)) { return; } - string out("setFrom("); - WriteToString(&out, from); + string out("setOffsetX("); + WriteToString(&out, offsetX); out.append(") \n"); appendGroupedLog(1, out); } - Ark_NavContentInfo GetToImpl(Ark_NavigationTransitionProxy peer) + Ark_Number GetOffsetYImpl(Ark_PanGestureEvent peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getTo("); + string out("getOffsetY("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetToImpl(Ark_NavigationTransitionProxy peer, - const Ark_NavContentInfo* to) + void SetOffsetYImpl(Ark_PanGestureEvent peer, + const Ark_Number* offsetY) { if (!needGroupedLog(1)) { return; } - string out("setTo("); - WriteToString(&out, to); + string out("setOffsetY("); + WriteToString(&out, offsetY); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Boolean GetIsInteractiveImpl(Ark_NavigationTransitionProxy peer) + Ark_Number GetVelocityXImpl(Ark_PanGestureEvent peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getIsInteractive("); + string out("getVelocityX("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetIsInteractiveImpl(Ark_NavigationTransitionProxy peer, - const Opt_Boolean* isInteractive) + void SetVelocityXImpl(Ark_PanGestureEvent peer, + const Ark_Number* velocityX) { if (!needGroupedLog(1)) { return; } - string out("setIsInteractive("); - WriteToString(&out, isInteractive); + string out("setVelocityX("); + WriteToString(&out, velocityX); out.append(") \n"); appendGroupedLog(1, out); } - Opt_VoidCallback GetCancelTransitionImpl(Ark_NavigationTransitionProxy peer) + Ark_Number GetVelocityYImpl(Ark_PanGestureEvent peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getCancelTransition("); + string out("getVelocityY("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetCancelTransitionImpl(Ark_NavigationTransitionProxy peer, - const Opt_VoidCallback* cancelTransition) + void SetVelocityYImpl(Ark_PanGestureEvent peer, + const Ark_Number* velocityY) { if (!needGroupedLog(1)) { return; } - string out("setCancelTransition("); - WriteToString(&out, cancelTransition); + string out("setVelocityY("); + WriteToString(&out, velocityY); out.append(") \n"); appendGroupedLog(1, out); } - Opt_UpdateTransitionCallback GetUpdateTransitionImpl(Ark_NavigationTransitionProxy peer) + Ark_Number GetVelocityImpl(Ark_PanGestureEvent peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getUpdateTransition("); + string out("getVelocity("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetUpdateTransitionImpl(Ark_NavigationTransitionProxy peer, - const Opt_UpdateTransitionCallback* updateTransition) + void SetVelocityImpl(Ark_PanGestureEvent peer, + const Ark_Number* velocity) { if (!needGroupedLog(1)) { return; } - string out("setUpdateTransition("); - WriteToString(&out, updateTransition); + string out("setVelocity("); + WriteToString(&out, velocity); out.append(") \n"); appendGroupedLog(1, out); } - } // NavigationTransitionProxyAccessor - namespace NavPathInfoAccessor { - void DestroyPeerImpl(Ark_NavPathInfo peer) + } // PanGestureEventAccessor + namespace PanGestureInterfaceAccessor { + void DestroyPeerImpl(Ark_PanGestureInterface peer) { if (!needGroupedLog(1)) { @@ -36533,27 +39956,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_NavPathInfo ConstructImpl(const Ark_String* name, - const Opt_Object* param, - const Opt_Callback_PopInfo_Void* onPop, - const Opt_Boolean* isEntry) + Ark_PanGestureInterface ConstructImpl(const Ark_Union_PanGestureInterface_Invoke_Literal_PanGestureOptions* value) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new NavPathInfo("); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, param); - out.append(", "); - WriteToString(&out, onPop); - out.append(", "); - WriteToString(&out, isEntry); + string out("new PanGestureInterface("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -36567,707 +39981,618 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_String GetNameImpl(Ark_NavPathInfo peer) + Ark_PanGestureInterface OnActionStartImpl(Ark_PanGestureInterface peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getName("); + string out("onActionStart("); + WriteToString(&out, event); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - void SetNameImpl(Ark_NavPathInfo peer, - const Ark_String* name) + Ark_PanGestureInterface OnActionUpdateImpl(Ark_PanGestureInterface peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setName("); - WriteToString(&out, name); + string out("onActionUpdate("); + WriteToString(&out, event); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Opt_Object GetParamImpl(Ark_NavPathInfo peer) + Ark_PanGestureInterface OnActionEndImpl(Ark_PanGestureInterface peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getParam("); + string out("onActionEnd("); + WriteToString(&out, event); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - void SetParamImpl(Ark_NavPathInfo peer, - const Opt_Object* param) + Ark_PanGestureInterface OnActionCancel0Impl(Ark_PanGestureInterface peer, + const Callback_Void* event) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setParam("); - WriteToString(&out, param); + string out("onActionCancel0("); + WriteToString(&out, event); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Opt_Callback_PopInfo_Void GetOnPopImpl(Ark_NavPathInfo peer) + Ark_PanGestureInterface OnActionCancel1Impl(Ark_PanGestureInterface peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getOnPop("); + string out("onActionCancel1("); + WriteToString(&out, event); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - void SetOnPopImpl(Ark_NavPathInfo peer, - const Opt_Callback_PopInfo_Void* onPop) + } // PanGestureInterfaceAccessor + namespace PanGestureOptionsAccessor { + void DestroyPeerImpl(Ark_PanGestureOptions peer) { if (!needGroupedLog(1)) { return; } - string out("setOnPop("); - WriteToString(&out, onPop); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Boolean GetIsEntryImpl(Ark_NavPathInfo peer) + Ark_PanGestureOptions ConstructImpl(const Opt_PanGestureHandlerOptions* value) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getIsEntry("); + string out("new PanGestureOptions("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - void SetIsEntryImpl(Ark_NavPathInfo peer, - const Opt_Boolean* isEntry) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setIsEntry("); - WriteToString(&out, isEntry); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Opt_String GetNavDestinationIdImpl(Ark_NavPathInfo peer) + void SetDirectionImpl(Ark_PanGestureOptions peer, + Ark_PanDirection value) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getNavDestinationId("); + string out("setDirection("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetNavDestinationIdImpl(Ark_NavPathInfo peer, - const Opt_String* navDestinationId) + void SetDistanceImpl(Ark_PanGestureOptions peer, + const Ark_Number* value) { if (!needGroupedLog(1)) { return; } - string out("setNavDestinationId("); - WriteToString(&out, navDestinationId); + string out("setDistance("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - } // NavPathInfoAccessor - namespace NavPathStackAccessor { - void DestroyPeerImpl(Ark_NavPathStack peer) + void SetFingersImpl(Ark_PanGestureOptions peer, + const Ark_Number* value) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setFingers("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - Ark_NavPathStack ConstructImpl() + Ark_PanDirection GetDirectionImpl(Ark_PanGestureOptions peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new NavPathStack("); + string out("getDirection("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number GetDistanceImpl(Ark_PanGestureOptions peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {42}; } - string out("getFinalizer("); + string out("getDistance("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {42}; } - void PushPath0Impl(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_Boolean* animated) + } // PanGestureOptionsAccessor + namespace PanRecognizerAccessor { + void DestroyPeerImpl(Ark_PanRecognizer peer) { if (!needGroupedLog(1)) { return; } - string out("pushPath0("); - WriteToString(&out, info); - out.append(", "); - WriteToString(&out, animated); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void PushPath1Impl(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options) + Ark_PanRecognizer ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("pushPath1("); - WriteToString(&out, info); - out.append(", "); - WriteToString(&out, options); + string out("new PanRecognizer("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void PushDestination0Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_Boolean* animated, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("pushDestination0("); - WriteToString(&out, info); - out.append(", "); - WriteToString(&out, animated); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void PushDestination1Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_PanGestureOptions GetPanGestureOptionsImpl(Ark_PanRecognizer peer) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("pushDestination1("); - WriteToString(&out, info); - out.append(", "); - WriteToString(&out, options); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("getPanGestureOptions("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void PushPathByName0Impl(Ark_NavPathStack peer, - const Ark_String* name, - const Opt_Object* param, - const Opt_Boolean* animated) + } // PanRecognizerAccessor + namespace ParagraphStyleAccessor { + void DestroyPeerImpl(Ark_ParagraphStyle peer) { if (!needGroupedLog(1)) { return; } - string out("pushPathByName0("); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, param); - out.append(", "); - WriteToString(&out, animated); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void PushPathByName1Impl(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Callback_PopInfo_Void* onPop, - const Opt_Boolean* animated) + Ark_ParagraphStyle ConstructImpl(const Opt_ParagraphStyleInterface* value) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("pushPathByName1("); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, param); - out.append(", "); - WriteToString(&out, onPop); - out.append(", "); - WriteToString(&out, animated); + string out("new ParagraphStyle("); + WriteToString(&out, value); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void PushDestinationByName0Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Opt_Boolean* animated, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("pushDestinationByName0("); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, param); - out.append(", "); - WriteToString(&out, animated); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void PushDestinationByName1Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Callback_PopInfo_Void* onPop, - const Opt_Boolean* animated, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Opt_TextAlign GetTextAlignImpl(Ark_ParagraphStyle peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getTextAlign("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + Opt_Number GetTextIndentImpl(Ark_ParagraphStyle peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("pushDestinationByName1("); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, param); - out.append(", "); - WriteToString(&out, onPop); - out.append(", "); - WriteToString(&out, animated); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("getTextIndent("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void ReplacePath0Impl(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_Boolean* animated) + Opt_Number GetMaxLinesImpl(Ark_ParagraphStyle peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("replacePath0("); - WriteToString(&out, info); - out.append(", "); - WriteToString(&out, animated); + string out("getMaxLines("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void ReplacePath1Impl(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options) + Opt_TextOverflow GetOverflowImpl(Ark_ParagraphStyle peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("replacePath1("); - WriteToString(&out, info); - out.append(", "); - WriteToString(&out, options); + string out("getOverflow("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void ReplaceDestinationImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Opt_WordBreak GetWordBreakImpl(Ark_ParagraphStyle peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("replaceDestination("); - WriteToString(&out, info); - out.append(", "); - WriteToString(&out, options); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("getWordBreak("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void ReplacePathByNameImpl(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Opt_Boolean* animated) + Opt_Union_Number_LeadingMarginPlaceholder GetLeadingMarginImpl(Ark_ParagraphStyle peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("replacePathByName("); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, param); - out.append(", "); - WriteToString(&out, animated); + string out("getLeadingMargin("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_Number RemoveByIndexesImpl(Ark_NavPathStack peer, - const Array_Number* indexes) + Opt_Number GetParagraphSpacingImpl(Ark_ParagraphStyle peer) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("removeByIndexes("); - WriteToString(&out, indexes); + string out("getParagraphSpacing("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - Ark_Number RemoveByNameImpl(Ark_NavPathStack peer, - const Ark_String* name) + } // ParagraphStyleAccessor + namespace Path2DAccessor { + void DestroyPeerImpl(Ark_Path2D peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("removeByName("); - WriteToString(&out, name); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Boolean RemoveByNavDestinationIdImpl(Ark_NavPathStack peer, - const Ark_String* navDestinationId) + Ark_Path2D Construct0Impl() { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(300); } - string out("removeByNavDestinationId("); - WriteToString(&out, navDestinationId); + string out("construct0("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(300); } - Opt_NavPathInfo Pop0Impl(Ark_NavPathStack peer, - const Opt_Boolean* animated) + Ark_Path2D Construct1Impl(Ark_LengthMetricsUnit unit) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("pop0("); - WriteToString(&out, animated); + string out("construct1("); + WriteToString(&out, unit); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - Opt_NavPathInfo Pop1Impl(Ark_NavPathStack peer, - const Ark_Object* result, - const Opt_Boolean* animated) + Ark_Path2D Construct2Impl(Ark_Path2D path) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("pop1("); - WriteToString(&out, result); - out.append(", "); - WriteToString(&out, animated); + string out("construct2("); + WriteToString(&out, path); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - Ark_Number PopToName0Impl(Ark_NavPathStack peer, - const Ark_String* name, - const Opt_Boolean* animated) + Ark_Path2D Construct3Impl(Ark_Path2D path, + Ark_LengthMetricsUnit unit) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("popToName0("); - WriteToString(&out, name); + string out("construct3("); + WriteToString(&out, path); out.append(", "); - WriteToString(&out, animated); + WriteToString(&out, unit); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - Ark_Number PopToName1Impl(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* result, - const Opt_Boolean* animated) + Ark_Path2D Construct4Impl(const Ark_String* d) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("popToName1("); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, result); - out.append(", "); - WriteToString(&out, animated); + string out("construct4("); + WriteToString(&out, d); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - void PopToIndex0Impl(Ark_NavPathStack peer, - const Ark_Number* index, - const Opt_Boolean* animated) + Ark_Path2D Construct5Impl(const Ark_String* description, + Ark_LengthMetricsUnit unit) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("popToIndex0("); - WriteToString(&out, index); + string out("construct5("); + WriteToString(&out, description); out.append(", "); - WriteToString(&out, animated); + WriteToString(&out, unit); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void PopToIndex1Impl(Ark_NavPathStack peer, - const Ark_Number* index, - const Ark_Object* result, - const Opt_Boolean* animated) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("popToIndex1("); - WriteToString(&out, index); - out.append(", "); - WriteToString(&out, result); - out.append(", "); - WriteToString(&out, animated); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_Number MoveToTopImpl(Ark_NavPathStack peer, - const Ark_String* name, - const Opt_Boolean* animated) + void AddPathImpl(Ark_Path2D peer, + Ark_Path2D path, + const Opt_Matrix2D* transform) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("moveToTop("); - WriteToString(&out, name); + string out("addPath("); + WriteToString(&out, path); out.append(", "); - WriteToString(&out, animated); + WriteToString(&out, transform); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void MoveIndexToTopImpl(Ark_NavPathStack peer, - const Ark_Number* index, - const Opt_Boolean* animated) + } // Path2DAccessor + namespace PathShapeAccessor { + void DestroyPeerImpl(Ark_PathShape peer) { if (!needGroupedLog(1)) { return; } - string out("moveIndexToTop("); - WriteToString(&out, index); - out.append(", "); - WriteToString(&out, animated); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void ClearImpl(Ark_NavPathStack peer, - const Opt_Boolean* animated) + Ark_PathShape ConstructImpl(const Opt_PathShapeOptions* options) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("clear("); - WriteToString(&out, animated); + string out("new PathShape("); + WriteToString(&out, options); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Array_String GetAllPathNameImpl(Ark_NavPathStack peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getAllPathName("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - Opt_Object GetParamByIndexImpl(Ark_NavPathStack peer, - const Ark_Number* index) + Ark_PathShape OffsetImpl(Ark_PathShape peer, + const Ark_Position* offset) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getParamByIndex("); - WriteToString(&out, index); + string out("offset("); + WriteToString(&out, offset); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - Array_Opt_Object GetParamByNameImpl(Ark_NavPathStack peer, - const Ark_String* name) + Ark_PathShape FillImpl(Ark_PathShape peer, + const Ark_ResourceColor* color) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getParamByName("); - WriteToString(&out, name); + string out("fill("); + WriteToString(&out, color); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - Array_Number GetIndexByNameImpl(Ark_NavPathStack peer, - const Ark_String* name) + Ark_PathShape PositionImpl(Ark_PathShape peer, + const Ark_Position* position) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getIndexByName("); - WriteToString(&out, name); + string out("position("); + WriteToString(&out, position); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - Opt_NavPathStack GetParentImpl(Ark_NavPathStack peer) + Ark_PathShape CommandsImpl(Ark_PathShape peer, + const Ark_String* commands) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getParent("); + string out("commands("); + WriteToString(&out, commands); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - Ark_Number SizeImpl(Ark_NavPathStack peer) + } // PathShapeAccessor + namespace PatternLockControllerAccessor { + void DestroyPeerImpl(Ark_PatternLockController peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("size("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void DisableAnimationImpl(Ark_NavPathStack peer, - Ark_Boolean value) + Ark_PatternLockController ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("disableAnimation("); - WriteToString(&out, value); + string out("new PatternLockController("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void SetInterceptionImpl(Ark_NavPathStack peer, - const Ark_NavigationInterception* interception) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setInterception("); - WriteToString(&out, interception); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Array_NavPathInfo GetPathStackImpl(Ark_NavPathStack peer) + void ResetImpl(Ark_PatternLockController peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getPathStack("); + string out("reset("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetPathStackImpl(Ark_NavPathStack peer, - const Array_NavPathInfo* pathStack, - const Opt_Boolean* animated) + void SetChallengeResultImpl(Ark_PatternLockController peer, + Ark_PatternLockChallengeResult result) { if (!needGroupedLog(1)) { return; } - string out("setPathStack("); - WriteToString(&out, pathStack); - out.append(", "); - WriteToString(&out, animated); + string out("setChallengeResult("); + WriteToString(&out, result); out.append(") \n"); appendGroupedLog(1, out); } - } // NavPathStackAccessor - namespace NodeContentAccessor { - void DestroyPeerImpl(Ark_NodeContent peer) + } // PatternLockControllerAccessor + namespace PermissionRequestAccessor { + void DestroyPeerImpl(Ark_PermissionRequest peer) { if (!needGroupedLog(1)) { @@ -37277,17 +40602,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_NodeContent ConstructImpl() + Ark_PermissionRequest ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new NodeContent("); + string out("new PermissionRequest("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -37301,225 +40626,226 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void AddFrameNodeImpl(Ark_NodeContent peer, - Ark_FrameNode node) + void DenyImpl(Ark_PermissionRequest peer) { if (!needGroupedLog(1)) { return; } - string out("addFrameNode("); - WriteToString(&out, node); + string out("deny("); out.append(") \n"); appendGroupedLog(1, out); } - void RemoveFrameNodeImpl(Ark_NodeContent peer, - Ark_FrameNode node) + Ark_String GetOriginImpl(Ark_PermissionRequest peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("removeFrameNode("); - WriteToString(&out, node); + string out("getOrigin("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // NodeContentAccessor - namespace OffscreenCanvasAccessor { - void DestroyPeerImpl(Ark_OffscreenCanvas peer) + Array_String GetAccessibleResourceImpl(Ark_PermissionRequest peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getAccessibleResource("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void GrantImpl(Ark_PermissionRequest peer, + const Array_String* resources) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("grant("); + WriteToString(&out, resources); out.append(") \n"); appendGroupedLog(1, out); } - Ark_OffscreenCanvas ConstructImpl(const Ark_Number* width, - const Ark_Number* height, - const Opt_LengthMetricsUnit* unit) + } // PermissionRequestAccessor + namespace PersistentStorageBackendAccessor { + Opt_String GetImpl(const Ark_String* key) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new OffscreenCanvas("); - WriteToString(&out, width); - out.append(", "); - WriteToString(&out, height); - out.append(", "); - WriteToString(&out, unit); + string out("get("); + WriteToString(&out, key); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Boolean HasImpl(const Ark_String* key) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return 0; } - string out("getFinalizer("); + string out("has("); + WriteToString(&out, key); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return 0; } - Ark_ImageBitmap TransferToImageBitmapImpl(Ark_OffscreenCanvas peer) + void RemoveImpl(const Ark_String* key) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("transferToImageBitmap("); + string out("remove("); + WriteToString(&out, key); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_OffscreenCanvasRenderingContext2D GetContext2dImpl(Ark_OffscreenCanvas peer, - const Opt_RenderingContextSettings* options) + void SetImpl(const Ark_String* key, + const Ark_String* value) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getContext2d("); - WriteToString(&out, options); + string out("set("); + WriteToString(&out, key); + out.append(", "); + WriteToString(&out, value); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_Number GetHeightImpl(Ark_OffscreenCanvas peer) + void ClearImpl() { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getHeight("); + string out("clear("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetHeightImpl(Ark_OffscreenCanvas peer, - const Ark_Number* height) + } // PersistentStorageBackendAccessor + namespace PinchGestureEventAccessor { + void DestroyPeerImpl(Ark_PinchGestureEvent peer) { if (!needGroupedLog(1)) { return; } - string out("setHeight("); - WriteToString(&out, height); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetWidthImpl(Ark_OffscreenCanvas peer) + Ark_PinchGestureEvent ConstructImpl() { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(100); } - string out("getWidth("); + string out("new PinchGestureEvent("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(100); } - void SetWidthImpl(Ark_OffscreenCanvas peer, - const Ark_Number* width) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setWidth("); - WriteToString(&out, width); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - } // OffscreenCanvasAccessor - namespace OffscreenCanvasRenderingContext2DAccessor { - void DestroyPeerImpl(Ark_OffscreenCanvasRenderingContext2D peer) + Ark_Number GetScaleImpl(Ark_PinchGestureEvent peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("destroyPeer("); + string out("getScale("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_OffscreenCanvasRenderingContext2D ConstructImpl(const Ark_Number* width, - const Ark_Number* height, - const Opt_RenderingContextSettings* settings, - const Opt_LengthMetricsUnit* unit) + void SetScaleImpl(Ark_PinchGestureEvent peer, + const Ark_Number* scale) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setScale("); + WriteToString(&out, scale); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetPinchCenterXImpl(Ark_PinchGestureEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new OffscreenCanvasRenderingContext2D("); - WriteToString(&out, width); - out.append(", "); - WriteToString(&out, height); - out.append(", "); - WriteToString(&out, settings); - out.append(", "); - WriteToString(&out, unit); + string out("getPinchCenterX("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + void SetPinchCenterXImpl(Ark_PinchGestureEvent peer, + const Ark_Number* pinchCenterX) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setPinchCenterX("); + WriteToString(&out, pinchCenterX); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_String ToDataURLImpl(Ark_OffscreenCanvasRenderingContext2D peer, - const Opt_String* type, - const Opt_Number* quality) + Ark_Number GetPinchCenterYImpl(Ark_PinchGestureEvent peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("toDataURL("); - WriteToString(&out, type); - out.append(", "); - WriteToString(&out, quality); + string out("getPinchCenterY("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - Ark_ImageBitmap TransferToImageBitmapImpl(Ark_OffscreenCanvasRenderingContext2D peer) + void SetPinchCenterYImpl(Ark_PinchGestureEvent peer, + const Ark_Number* pinchCenterY) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("transferToImageBitmap("); + string out("setPinchCenterY("); + WriteToString(&out, pinchCenterY); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // OffscreenCanvasRenderingContext2DAccessor - namespace PageLifeCycleAccessor { - void DestroyPeerImpl(Ark_PageLifeCycle peer) + } // PinchGestureEventAccessor + namespace PinchGestureInterfaceAccessor { + void DestroyPeerImpl(Ark_PinchGestureInterface peer) { if (!needGroupedLog(1)) { @@ -37529,17 +40855,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_PageLifeCycle ConstructImpl() + Ark_PinchGestureInterface ConstructImpl(const Ark_PinchGestureInterface_Invoke_Literal* value) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new PageLifeCycle("); + string out("new PinchGestureInterface("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -37553,63 +40880,79 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void OnPageShowImpl(Ark_PageLifeCycle peer) + Ark_PinchGestureInterface OnActionStartImpl(Ark_PinchGestureInterface peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("onPageShow("); + string out("onActionStart("); + WriteToString(&out, event); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void OnPageHideImpl(Ark_PageLifeCycle peer) + Ark_PinchGestureInterface OnActionUpdateImpl(Ark_PinchGestureInterface peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("onPageHide("); + string out("onActionUpdate("); + WriteToString(&out, event); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_Boolean OnBackPressImpl(Ark_PageLifeCycle peer) + Ark_PinchGestureInterface OnActionEndImpl(Ark_PinchGestureInterface peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(300); } - string out("onBackPress("); + string out("onActionEnd("); + WriteToString(&out, event); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(300); } - void PageTransitionImpl(Ark_PageLifeCycle peer) + Ark_PinchGestureInterface OnActionCancel0Impl(Ark_PinchGestureInterface peer, + const Callback_Void* event) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("pageTransition("); + string out("onActionCancel0("); + WriteToString(&out, event); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void OnNewParamImpl(Ark_PageLifeCycle peer, - const Opt_Object* param) + Ark_PinchGestureInterface OnActionCancel1Impl(Ark_PinchGestureInterface peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("onNewParam("); - WriteToString(&out, param); + string out("onActionCancel1("); + WriteToString(&out, event); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - } // PageLifeCycleAccessor - namespace PanGestureEventAccessor { - void DestroyPeerImpl(Ark_PanGestureEvent peer) + } // PinchGestureInterfaceAccessor + namespace PinchRecognizerAccessor { + void DestroyPeerImpl(Ark_PinchRecognizer peer) { if (!needGroupedLog(1)) { @@ -37619,17 +40962,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_PanGestureEvent ConstructImpl() + Ark_PinchRecognizer ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new PanGestureEvent("); + string out("new PinchRecognizer("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -37643,885 +40986,914 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Number GetOffsetXImpl(Ark_PanGestureEvent peer) + Ark_Number GetDistanceImpl(Ark_PinchRecognizer peer) { if (!needGroupedLog(1)) { return {42}; } - string out("getOffsetX("); + string out("getDistance("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - void SetOffsetXImpl(Ark_PanGestureEvent peer, - const Ark_Number* offsetX) + } // PinchRecognizerAccessor + namespace PixelMapMockAccessor { + void DestroyPeerImpl(Ark_PixelMapMock peer) { if (!needGroupedLog(1)) { return; } - string out("setOffsetX("); - WriteToString(&out, offsetX); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Number GetOffsetYImpl(Ark_PanGestureEvent peer) - { - if (!needGroupedLog(1)) - { - return {42}; - } - string out("getOffsetY("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetOffsetYImpl(Ark_PanGestureEvent peer, - const Ark_Number* offsetY) + Ark_PixelMapMock ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setOffsetY("); - WriteToString(&out, offsetY); + string out("new PixelMapMock("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_Number GetVelocityXImpl(Ark_PanGestureEvent peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {42}; + return fnPtr(dummyClassFinalizer); } - string out("getVelocityX("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {42}; + return fnPtr(dummyClassFinalizer); } - void SetVelocityXImpl(Ark_PanGestureEvent peer, - const Ark_Number* velocityX) + void ReleaseImpl(Ark_PixelMapMock peer) { if (!needGroupedLog(1)) { return; } - string out("setVelocityX("); - WriteToString(&out, velocityX); + string out("release("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetVelocityYImpl(Ark_PanGestureEvent peer) + } // PixelMapMockAccessor + namespace ProgressMaskAccessor { + void DestroyPeerImpl(Ark_ProgressMask peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getVelocityY("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetVelocityYImpl(Ark_PanGestureEvent peer, - const Ark_Number* velocityY) + Ark_ProgressMask ConstructImpl(const Ark_Number* value, + const Ark_Number* total, + const Ark_ResourceColor* color) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setVelocityY("); - WriteToString(&out, velocityY); + string out("new ProgressMask("); + WriteToString(&out, value); + out.append(", "); + WriteToString(&out, total); + out.append(", "); + WriteToString(&out, color); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_Number GetVelocityImpl(Ark_PanGestureEvent peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {42}; + return fnPtr(dummyClassFinalizer); } - string out("getVelocity("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {42}; + return fnPtr(dummyClassFinalizer); } - void SetVelocityImpl(Ark_PanGestureEvent peer, - const Ark_Number* velocity) + void UpdateProgressImpl(Ark_ProgressMask peer, + const Ark_Number* value) { if (!needGroupedLog(1)) { return; } - string out("setVelocity("); - WriteToString(&out, velocity); + string out("updateProgress("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - } // PanGestureEventAccessor - namespace PanGestureInterfaceAccessor { - void DestroyPeerImpl(Ark_PanGestureInterface peer) + void UpdateColorImpl(Ark_ProgressMask peer, + const Ark_ResourceColor* value) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("updateColor("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - Ark_PanGestureInterface ConstructImpl(const Ark_Union_PanGestureInterface_Invoke_Literal_PanGestureOptions* value) + void EnableBreathingAnimationImpl(Ark_ProgressMask peer, + Ark_Boolean value) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new PanGestureInterface("); + string out("enableBreathingAnimation("); WriteToString(&out, value); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + } // ProgressMaskAccessor + namespace PromptActionAccessor { + void DestroyPeerImpl(Ark_PromptAction peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_PanGestureInterface OnActionStartImpl(Ark_PanGestureInterface peer, - const Callback_GestureEvent_Void* event) + Ark_PromptAction ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(100); } - string out("onActionStart("); - WriteToString(&out, event); + string out("new PromptAction("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(100); } - Ark_PanGestureInterface OnActionUpdateImpl(Ark_PanGestureInterface peer, - const Callback_GestureEvent_Void* event) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - string out("onActionUpdate("); - WriteToString(&out, event); + string out("getFinalizer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - Ark_PanGestureInterface OnActionEndImpl(Ark_PanGestureInterface peer, - const Callback_GestureEvent_Void* event) + void OpenPopupImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_PromptAction peer, + Ark_ComponentContent content, + const Ark_TargetInfo* target, + const Opt_PopupCommonOptions* options, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("onActionEnd("); - WriteToString(&out, event); + string out("openPopup("); + WriteToString(&out, content); + out.append(", "); + WriteToString(&out, target); + out.append(", "); + WriteToString(&out, options); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_PanGestureInterface OnActionCancel0Impl(Ark_PanGestureInterface peer, - const Callback_Void* event) + void UpatePopupImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_PromptAction peer, + Ark_ComponentContent content, + const Ark_PopupCommonOptions* options, + const Opt_Boolean* partialUpdate, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("onActionCancel0("); - WriteToString(&out, event); + string out("upatePopup("); + WriteToString(&out, content); + out.append(", "); + WriteToString(&out, options); + out.append(", "); + WriteToString(&out, partialUpdate); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_PanGestureInterface OnActionCancel1Impl(Ark_PanGestureInterface peer, - const Callback_GestureEvent_Void* event) + void ClosePopupImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_PromptAction peer, + Ark_ComponentContent content, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("onActionCancel1("); - WriteToString(&out, event); + string out("closePopup("); + WriteToString(&out, content); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // PanGestureInterfaceAccessor - namespace PanGestureOptionsAccessor { - void DestroyPeerImpl(Ark_PanGestureOptions peer) + void OpenMenuImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_PromptAction peer, + Ark_ComponentContent content, + const Ark_TargetInfo* target, + const Opt_MenuOptions* options, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("openMenu("); + WriteToString(&out, content); + out.append(", "); + WriteToString(&out, target); + out.append(", "); + WriteToString(&out, options); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); appendGroupedLog(1, out); } - Ark_PanGestureOptions ConstructImpl(const Opt_PanGestureHandlerOptions* value) + void UpdateMenuImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_PromptAction peer, + Ark_ComponentContent content, + const Ark_MenuOptions* options, + const Opt_Boolean* partialUpdate, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new PanGestureOptions("); - WriteToString(&out, value); + string out("updateMenu("); + WriteToString(&out, content); + out.append(", "); + WriteToString(&out, options); + out.append(", "); + WriteToString(&out, partialUpdate); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void CloseMenuImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_PromptAction peer, + Ark_ComponentContent content, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("closeMenu("); + WriteToString(&out, content); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void SetDirectionImpl(Ark_PanGestureOptions peer, - Ark_PanDirection value) + } // PromptActionAccessor + namespace PulseSymbolEffectAccessor { + void DestroyPeerImpl(Ark_PulseSymbolEffect peer) { if (!needGroupedLog(1)) { return; } - string out("setDirection("); - WriteToString(&out, value); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void SetDistanceImpl(Ark_PanGestureOptions peer, - const Ark_Number* value) + Ark_PulseSymbolEffect ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setDistance("); - WriteToString(&out, value); + string out("new PulseSymbolEffect("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void SetFingersImpl(Ark_PanGestureOptions peer, - const Ark_Number* value) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setFingers("); - WriteToString(&out, value); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_PanDirection GetDirectionImpl(Ark_PanGestureOptions peer) + } // PulseSymbolEffectAccessor + namespace RectShapeAccessor { + void DestroyPeerImpl(Ark_RectShape peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getDirection("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_Number GetDistanceImpl(Ark_PanGestureOptions peer) + Ark_RectShape ConstructImpl(const Opt_Union_RectShapeOptions_RoundRectShapeOptions* options) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(100); } - string out("getDistance("); + string out("new RectShape("); + WriteToString(&out, options); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(100); } - } // PanGestureOptionsAccessor - namespace PanRecognizerAccessor { - void DestroyPeerImpl(Ark_PanRecognizer peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("destroyPeer("); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_PanRecognizer ConstructImpl() + Ark_RectShape OffsetImpl(Ark_RectShape peer, + const Ark_Position* offset) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(300); } - string out("new PanRecognizer("); + string out("offset("); + WriteToString(&out, offset); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(300); } - Ark_NativePointer GetFinalizerImpl() + Ark_RectShape FillImpl(Ark_RectShape peer, + const Ark_ResourceColor* color) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - string out("getFinalizer("); + string out("fill("); + WriteToString(&out, color); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - Ark_PanGestureOptions GetPanGestureOptionsImpl(Ark_PanRecognizer peer) + Ark_RectShape PositionImpl(Ark_RectShape peer, + const Ark_Position* position) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("getPanGestureOptions("); + string out("position("); + WriteToString(&out, position); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - } // PanRecognizerAccessor - namespace ParagraphStyleAccessor { - void DestroyPeerImpl(Ark_ParagraphStyle peer) + Ark_RectShape WidthImpl(Ark_RectShape peer, + const Ark_Length* width) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("destroyPeer("); + string out("width("); + WriteToString(&out, width); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_ParagraphStyle ConstructImpl(const Opt_ParagraphStyleInterface* value) + Ark_RectShape HeightImpl(Ark_RectShape peer, + const Ark_Length* height) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(300); } - string out("new ParagraphStyle("); - WriteToString(&out, value); + string out("height("); + WriteToString(&out, height); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(300); } - Ark_NativePointer GetFinalizerImpl() + Ark_RectShape SizeImpl(Ark_RectShape peer, + const Ark_SizeOptions* size) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - string out("getFinalizer("); + string out("size("); + WriteToString(&out, size); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - Opt_TextAlign GetTextAlignImpl(Ark_ParagraphStyle peer) + Ark_RectShape RadiusWidthImpl(Ark_RectShape peer, + const Ark_Union_Number_String* rWidth) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getTextAlign("); + string out("radiusWidth("); + WriteToString(&out, rWidth); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - Opt_Number GetTextIndentImpl(Ark_ParagraphStyle peer) + Ark_RectShape RadiusHeightImpl(Ark_RectShape peer, + const Ark_Union_Number_String* rHeight) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getTextIndent("); + string out("radiusHeight("); + WriteToString(&out, rHeight); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - Opt_Number GetMaxLinesImpl(Ark_ParagraphStyle peer) + Ark_RectShape RadiusImpl(Ark_RectShape peer, + const Ark_Union_Number_String_Array_Union_Number_String* radius) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getMaxLines("); + string out("radius("); + WriteToString(&out, radius); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - Opt_TextOverflow GetOverflowImpl(Ark_ParagraphStyle peer) + } // RectShapeAccessor + namespace RenderingContextSettingsAccessor { + void DestroyPeerImpl(Ark_RenderingContextSettings peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getOverflow("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Opt_WordBreak GetWordBreakImpl(Ark_ParagraphStyle peer) + Ark_RenderingContextSettings ConstructImpl(const Opt_Boolean* antialias) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getWordBreak("); + string out("new RenderingContextSettings("); + WriteToString(&out, antialias); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - Opt_Union_Number_LeadingMarginPlaceholder GetLeadingMarginImpl(Ark_ParagraphStyle peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getLeadingMargin("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - Opt_Number GetParagraphSpacingImpl(Ark_ParagraphStyle peer) + Opt_Boolean GetAntialiasImpl(Ark_RenderingContextSettings peer) { if (!needGroupedLog(1)) { return {}; } - string out("getParagraphSpacing("); + string out("getAntialias("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - } // ParagraphStyleAccessor - namespace Path2DAccessor { - void DestroyPeerImpl(Ark_Path2D peer) + void SetAntialiasImpl(Ark_RenderingContextSettings peer, + const Opt_Boolean* antialias) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setAntialias("); + WriteToString(&out, antialias); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Path2D Construct0Impl() + } // RenderingContextSettingsAccessor + namespace RenderNodeAccessor { + void DestroyPeerImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("construct0("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_Path2D Construct1Impl(Ark_LengthMetricsUnit unit) + Ark_RenderNode ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(100); } - string out("construct1("); - WriteToString(&out, unit); + string out("new RenderNode("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(100); } - Ark_Path2D Construct2Impl(Ark_Path2D path) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - string out("construct2("); - WriteToString(&out, path); + string out("getFinalizer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - Ark_Path2D Construct3Impl(Ark_Path2D path, - Ark_LengthMetricsUnit unit) + void AppendChildImpl(Ark_RenderNode peer, + Ark_RenderNode node) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("construct3("); - WriteToString(&out, path); - out.append(", "); - WriteToString(&out, unit); + string out("appendChild("); + WriteToString(&out, node); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_Path2D Construct4Impl(const Ark_String* d) + void InsertChildAfterImpl(Ark_RenderNode peer, + Ark_RenderNode child, + const Opt_RenderNode* sibling) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("construct4("); - WriteToString(&out, d); + string out("insertChildAfter("); + WriteToString(&out, child); + out.append(", "); + WriteToString(&out, sibling); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_Path2D Construct5Impl(const Ark_String* description, - Ark_LengthMetricsUnit unit) + void RemoveChildImpl(Ark_RenderNode peer, + Ark_RenderNode node) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("construct5("); - WriteToString(&out, description); - out.append(", "); - WriteToString(&out, unit); + string out("removeChild("); + WriteToString(&out, node); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_NativePointer GetFinalizerImpl() + void ClearChildrenImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("clearChildren("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void AddPathImpl(Ark_Path2D peer, - Ark_Path2D path, - const Opt_Matrix2D* transform) + Opt_RenderNode GetChildImpl(Ark_RenderNode peer, + const Ark_Number* index) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("addPath("); - WriteToString(&out, path); - out.append(", "); - WriteToString(&out, transform); + string out("getChild("); + WriteToString(&out, index); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // Path2DAccessor - namespace PathShapeAccessor { - void DestroyPeerImpl(Ark_PathShape peer) + Opt_RenderNode GetFirstChildImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("destroyPeer("); + string out("getFirstChild("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_PathShape ConstructImpl(const Opt_PathShapeOptions* options) + Opt_RenderNode GetNextSiblingImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new PathShape("); - WriteToString(&out, options); + string out("getNextSibling("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + Opt_RenderNode GetPreviousSiblingImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getPreviousSibling("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - Ark_PathShape OffsetImpl(Ark_PathShape peer, - const Ark_Position* offset) + void DrawImpl(Ark_RenderNode peer, + Ark_DrawContext context) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("offset("); - WriteToString(&out, offset); + string out("draw("); + WriteToString(&out, context); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_PathShape FillImpl(Ark_PathShape peer, - const Ark_ResourceColor* color) + void InvalidateImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("fill("); - WriteToString(&out, color); + string out("invalidate("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_PathShape PositionImpl(Ark_PathShape peer, - const Ark_Position* position) + void DisposeImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("position("); - WriteToString(&out, position); + string out("dispose("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_PathShape CommandsImpl(Ark_PathShape peer, - const Ark_String* commands) + Ark_Number GetBackgroundColorImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {42}; } - string out("commands("); - WriteToString(&out, commands); + string out("getBackgroundColor("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {42}; } - } // PathShapeAccessor - namespace PatternLockControllerAccessor { - void DestroyPeerImpl(Ark_PatternLockController peer) + void SetBackgroundColorImpl(Ark_RenderNode peer, + const Ark_Number* backgroundColor) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setBackgroundColor("); + WriteToString(&out, backgroundColor); out.append(") \n"); appendGroupedLog(1, out); } - Ark_PatternLockController ConstructImpl() + Ark_Boolean GetClipToFrameImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return 0; } - string out("new PatternLockController("); + string out("getClipToFrame("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return 0; } - Ark_NativePointer GetFinalizerImpl() + void SetClipToFrameImpl(Ark_RenderNode peer, + Ark_Boolean clipToFrame) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setClipToFrame("); + WriteToString(&out, clipToFrame); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void ResetImpl(Ark_PatternLockController peer) + Ark_Number GetOpacityImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("reset("); + string out("getOpacity("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void SetChallengeResultImpl(Ark_PatternLockController peer, - Ark_PatternLockChallengeResult result) + void SetOpacityImpl(Ark_RenderNode peer, + const Ark_Number* opacity) { if (!needGroupedLog(1)) { return; } - string out("setChallengeResult("); - WriteToString(&out, result); + string out("setOpacity("); + WriteToString(&out, opacity); out.append(") \n"); appendGroupedLog(1, out); } - } // PatternLockControllerAccessor - namespace PersistentStorageBackendAccessor { - Opt_String GetImpl(const Ark_String* key) + Ark_Size GetSizeImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { return {}; } - string out("get("); - WriteToString(&out, key); + string out("getSize("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Ark_Boolean HasImpl(const Ark_String* key) + void SetSizeImpl(Ark_RenderNode peer, + const Ark_Size* size) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("has("); - WriteToString(&out, key); + string out("setSize("); + WriteToString(&out, size); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - void RemoveImpl(const Ark_String* key) + Ark_Vector2 GetPositionImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("remove("); - WriteToString(&out, key); + string out("getPosition("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SetImpl(const Ark_String* key, - const Ark_String* value) + void SetPositionImpl(Ark_RenderNode peer, + const Ark_Vector2* position) { if (!needGroupedLog(1)) { return; } - string out("set("); - WriteToString(&out, key); - out.append(", "); - WriteToString(&out, value); + string out("setPosition("); + WriteToString(&out, position); out.append(") \n"); appendGroupedLog(1, out); } - void ClearImpl() + Ark_Frame GetFrameImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("clear("); + string out("getFrame("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // PersistentStorageBackendAccessor - namespace PinchGestureEventAccessor { - void DestroyPeerImpl(Ark_PinchGestureEvent peer) + void SetFrameImpl(Ark_RenderNode peer, + const Ark_Frame* frame) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setFrame("); + WriteToString(&out, frame); out.append(") \n"); appendGroupedLog(1, out); } - Ark_PinchGestureEvent ConstructImpl() + Ark_Vector2 GetPivotImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new PinchGestureEvent("); + string out("getPivot("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetPivotImpl(Ark_RenderNode peer, + const Ark_Vector2* pivot) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setPivot("); + WriteToString(&out, pivot); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_Number GetScaleImpl(Ark_PinchGestureEvent peer) + Ark_Vector2 GetScaleImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return {42}; + return {}; } string out("getScale("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - void SetScaleImpl(Ark_PinchGestureEvent peer, - const Ark_Number* scale) + void SetScaleImpl(Ark_RenderNode peer, + const Ark_Vector2* scale) { if (!needGroupedLog(1)) { @@ -38532,499 +41904,419 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetPinchCenterXImpl(Ark_PinchGestureEvent peer) + Ark_Vector2 GetTranslationImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getPinchCenterX("); + string out("getTranslation("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - void SetPinchCenterXImpl(Ark_PinchGestureEvent peer, - const Ark_Number* pinchCenterX) + void SetTranslationImpl(Ark_RenderNode peer, + const Ark_Vector2* translation) { if (!needGroupedLog(1)) { return; } - string out("setPinchCenterX("); - WriteToString(&out, pinchCenterX); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Number GetPinchCenterYImpl(Ark_PinchGestureEvent peer) - { - if (!needGroupedLog(1)) - { - return {42}; - } - string out("getPinchCenterY("); + string out("setTranslation("); + WriteToString(&out, translation); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetPinchCenterYImpl(Ark_PinchGestureEvent peer, - const Ark_Number* pinchCenterY) + Ark_Vector3 GetRotationImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setPinchCenterY("); - WriteToString(&out, pinchCenterY); + string out("getRotation("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // PinchGestureEventAccessor - namespace PinchGestureInterfaceAccessor { - void DestroyPeerImpl(Ark_PinchGestureInterface peer) + void SetRotationImpl(Ark_RenderNode peer, + const Ark_Vector3* rotation) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setRotation("); + WriteToString(&out, rotation); out.append(") \n"); appendGroupedLog(1, out); } - Ark_PinchGestureInterface ConstructImpl(const Ark_PinchGestureInterface_Invoke_Literal* value) + Ark_Matrix4 GetTransformImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new PinchGestureInterface("); - WriteToString(&out, value); + string out("getTransform("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetTransformImpl(Ark_RenderNode peer, + const Ark_Matrix4* transform) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setTransform("); + WriteToString(&out, transform); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_PinchGestureInterface OnActionStartImpl(Ark_PinchGestureInterface peer, - const Callback_GestureEvent_Void* event) + Ark_Number GetShadowColorImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {42}; } - string out("onActionStart("); - WriteToString(&out, event); + string out("getShadowColor("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {42}; } - Ark_PinchGestureInterface OnActionUpdateImpl(Ark_PinchGestureInterface peer, - const Callback_GestureEvent_Void* event) + void SetShadowColorImpl(Ark_RenderNode peer, + const Ark_Number* shadowColor) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("onActionUpdate("); - WriteToString(&out, event); + string out("setShadowColor("); + WriteToString(&out, shadowColor); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_PinchGestureInterface OnActionEndImpl(Ark_PinchGestureInterface peer, - const Callback_GestureEvent_Void* event) + Ark_Vector2 GetShadowOffsetImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("onActionEnd("); - WriteToString(&out, event); + string out("getShadowOffset("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - Ark_PinchGestureInterface OnActionCancel0Impl(Ark_PinchGestureInterface peer, - const Callback_Void* event) + void SetShadowOffsetImpl(Ark_RenderNode peer, + const Ark_Vector2* shadowOffset) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("onActionCancel0("); - WriteToString(&out, event); + string out("setShadowOffset("); + WriteToString(&out, shadowOffset); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_PinchGestureInterface OnActionCancel1Impl(Ark_PinchGestureInterface peer, - const Callback_GestureEvent_Void* event) + Ark_String GetLabelImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("onActionCancel1("); - WriteToString(&out, event); + string out("getLabel("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - } // PinchGestureInterfaceAccessor - namespace PinchRecognizerAccessor { - void DestroyPeerImpl(Ark_PinchRecognizer peer) + void SetLabelImpl(Ark_RenderNode peer, + const Ark_String* label) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setLabel("); + WriteToString(&out, label); out.append(") \n"); appendGroupedLog(1, out); } - Ark_PinchRecognizer ConstructImpl() + Ark_Number GetShadowAlphaImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new PinchRecognizer("); + string out("getShadowAlpha("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + void SetShadowAlphaImpl(Ark_RenderNode peer, + const Ark_Number* shadowAlpha) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setShadowAlpha("); + WriteToString(&out, shadowAlpha); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_Number GetDistanceImpl(Ark_PinchRecognizer peer) + Ark_Number GetShadowElevationImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { return {42}; } - string out("getDistance("); + string out("getShadowElevation("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - } // PinchRecognizerAccessor - namespace PixelMapMockAccessor { - void DestroyPeerImpl(Ark_PixelMapMock peer) + void SetShadowElevationImpl(Ark_RenderNode peer, + const Ark_Number* shadowElevation) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setShadowElevation("); + WriteToString(&out, shadowElevation); out.append(") \n"); appendGroupedLog(1, out); } - Ark_PixelMapMock ConstructImpl() + Ark_Number GetShadowRadiusImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new PixelMapMock("); + string out("getShadowRadius("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + void SetShadowRadiusImpl(Ark_RenderNode peer, + const Ark_Number* shadowRadius) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setShadowRadius("); + WriteToString(&out, shadowRadius); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void ReleaseImpl(Ark_PixelMapMock peer) + Ark_EdgeStyles GetBorderStyleImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("release("); + string out("getBorderStyle("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // PixelMapMockAccessor - namespace ProgressMaskAccessor { - void DestroyPeerImpl(Ark_ProgressMask peer) + void SetBorderStyleImpl(Ark_RenderNode peer, + const Ark_EdgeStyles* borderStyle) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setBorderStyle("); + WriteToString(&out, borderStyle); out.append(") \n"); appendGroupedLog(1, out); } - Ark_ProgressMask ConstructImpl(const Ark_Number* value, - const Ark_Number* total, - const Ark_ResourceColor* color) + Ark_Edges GetBorderWidthImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new ProgressMask("); - WriteToString(&out, value); - out.append(", "); - WriteToString(&out, total); - out.append(", "); - WriteToString(&out, color); + string out("getBorderWidth("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetBorderWidthImpl(Ark_RenderNode peer, + const Ark_Edges* borderWidth) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setBorderWidth("); + WriteToString(&out, borderWidth); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void UpdateProgressImpl(Ark_ProgressMask peer, - const Ark_Number* value) + Ark_Edges GetBorderColorImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("updateProgress("); - WriteToString(&out, value); + string out("getBorderColor("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void UpdateColorImpl(Ark_ProgressMask peer, - const Ark_ResourceColor* value) + void SetBorderColorImpl(Ark_RenderNode peer, + const Ark_Edges* borderColor) { if (!needGroupedLog(1)) { return; } - string out("updateColor("); - WriteToString(&out, value); + string out("setBorderColor("); + WriteToString(&out, borderColor); out.append(") \n"); appendGroupedLog(1, out); } - void EnableBreathingAnimationImpl(Ark_ProgressMask peer, - Ark_Boolean value) + Ark_BorderRadiuses_graphics GetBorderRadiusImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("enableBreathingAnimation("); - WriteToString(&out, value); + string out("getBorderRadius("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // ProgressMaskAccessor - namespace PromptActionAccessor { - void DestroyPeerImpl(Ark_PromptAction peer) + void SetBorderRadiusImpl(Ark_RenderNode peer, + const Ark_BorderRadiuses_graphics* borderRadius) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setBorderRadius("); + WriteToString(&out, borderRadius); out.append(") \n"); appendGroupedLog(1, out); } - Ark_PromptAction ConstructImpl() + Ark_ShapeMask GetShapeMaskImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(300); } - string out("new PromptAction("); + string out("getShapeMask("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(300); } - Ark_NativePointer GetFinalizerImpl() + void SetShapeMaskImpl(Ark_RenderNode peer, + Ark_ShapeMask shapeMask) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setShapeMask("); + WriteToString(&out, shapeMask); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void OpenPopupImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_PromptAction peer, - Ark_ComponentContent content, - const Ark_TargetInfo* target, - const Opt_PopupCommonOptions* options, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_ShapeClip GetShapeClipImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("openPopup("); - WriteToString(&out, content); - out.append(", "); - WriteToString(&out, target); - out.append(", "); - WriteToString(&out, options); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("getShapeClip("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void UpatePopupImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_PromptAction peer, - Ark_ComponentContent content, - const Ark_PopupCommonOptions* options, - const Opt_Boolean* partialUpdate, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + void SetShapeClipImpl(Ark_RenderNode peer, + Ark_ShapeClip shapeClip) { if (!needGroupedLog(1)) { return; } - string out("upatePopup("); - WriteToString(&out, content); - out.append(", "); - WriteToString(&out, options); - out.append(", "); - WriteToString(&out, partialUpdate); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("setShapeClip("); + WriteToString(&out, shapeClip); out.append(") \n"); appendGroupedLog(1, out); } - void ClosePopupImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_PromptAction peer, - Ark_ComponentContent content, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_Boolean GetMarkNodeGroupImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("closePopup("); - WriteToString(&out, content); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("getMarkNodeGroup("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - void OpenMenuImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_PromptAction peer, - Ark_ComponentContent content, - const Ark_TargetInfo* target, - const Opt_MenuOptions* options, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + void SetMarkNodeGroupImpl(Ark_RenderNode peer, + Ark_Boolean markNodeGroup) { if (!needGroupedLog(1)) { return; } - string out("openMenu("); - WriteToString(&out, content); - out.append(", "); - WriteToString(&out, target); - out.append(", "); - WriteToString(&out, options); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("setMarkNodeGroup("); + WriteToString(&out, markNodeGroup); out.append(") \n"); appendGroupedLog(1, out); } - void UpdateMenuImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_PromptAction peer, - Ark_ComponentContent content, - const Ark_MenuOptions* options, - const Opt_Boolean* partialUpdate, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_LengthMetricsUnit GetLengthMetricsUnitImpl(Ark_RenderNode peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("updateMenu("); - WriteToString(&out, content); - out.append(", "); - WriteToString(&out, options); - out.append(", "); - WriteToString(&out, partialUpdate); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("getLengthMetricsUnit("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void CloseMenuImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_PromptAction peer, - Ark_ComponentContent content, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + void SetLengthMetricsUnitImpl(Ark_RenderNode peer, + Ark_LengthMetricsUnit lengthMetricsUnit) { if (!needGroupedLog(1)) { return; } - string out("closeMenu("); - WriteToString(&out, content); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("setLengthMetricsUnit("); + WriteToString(&out, lengthMetricsUnit); out.append(") \n"); appendGroupedLog(1, out); } - } // PromptActionAccessor - namespace RectShapeAccessor { - void DestroyPeerImpl(Ark_RectShape peer) + } // RenderNodeAccessor + namespace RenderServiceNodeAccessor { + } // RenderServiceNodeAccessor + namespace ReplaceSymbolEffectAccessor { + void DestroyPeerImpl(Ark_ReplaceSymbolEffect peer) { if (!needGroupedLog(1)) { @@ -39034,18 +42326,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_RectShape ConstructImpl(const Opt_Union_RectShapeOptions_RoundRectShapeOptions* options) + Ark_ReplaceSymbolEffect ConstructImpl(const Opt_EffectScope* scope) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new RectShape("); - WriteToString(&out, options); + string out("new ReplaceSymbolEffect("); + WriteToString(&out, scope); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -39059,965 +42351,1035 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_RectShape OffsetImpl(Ark_RectShape peer, - const Ark_Position* offset) + Opt_EffectScope GetScopeImpl(Ark_ReplaceSymbolEffect peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("offset("); - WriteToString(&out, offset); + string out("getScope("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - Ark_RectShape FillImpl(Ark_RectShape peer, - const Ark_ResourceColor* color) + void SetScopeImpl(Ark_ReplaceSymbolEffect peer, + const Opt_EffectScope* scope) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("fill("); - WriteToString(&out, color); + string out("setScope("); + WriteToString(&out, scope); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_RectShape PositionImpl(Ark_RectShape peer, - const Ark_Position* position) + } // ReplaceSymbolEffectAccessor + namespace RestrictedWorkerAccessor { + void DestroyPeerImpl(Ark_RestrictedWorker peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("position("); - WriteToString(&out, position); + string out("destroyPeer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_RectShape WidthImpl(Ark_RectShape peer, - const Ark_Length* width) + Ark_RestrictedWorker ConstructImpl(const Ark_String* scriptURL, + const Opt_WorkerOptions* options) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(100); } - string out("width("); - WriteToString(&out, width); + string out("new RestrictedWorker("); + WriteToString(&out, scriptURL); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(100); } - Ark_RectShape HeightImpl(Ark_RectShape peer, - const Ark_Length* height) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - string out("height("); - WriteToString(&out, height); + string out("getFinalizer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - Ark_RectShape SizeImpl(Ark_RectShape peer, - const Ark_SizeOptions* size) + void PostMessage0Impl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_Object* message, + const Array_Buffer* transfer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("size("); - WriteToString(&out, size); + string out("postMessage0("); + WriteToString(&out, message); + out.append(", "); + WriteToString(&out, transfer); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_RectShape RadiusWidthImpl(Ark_RectShape peer, - const Ark_Union_Number_String* rWidth) + void PostMessage1Impl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_Object* message, + const Opt_PostMessageOptions* options) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("radiusWidth("); - WriteToString(&out, rWidth); + string out("postMessage1("); + WriteToString(&out, message); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_RectShape RadiusHeightImpl(Ark_RectShape peer, - const Ark_Union_Number_String* rHeight) + void PostMessageWithSharedSendableImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_Object* message, + const Opt_Array_Buffer* transfer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("radiusHeight("); - WriteToString(&out, rHeight); + string out("postMessageWithSharedSendable("); + WriteToString(&out, message); + out.append(", "); + WriteToString(&out, transfer); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_RectShape RadiusImpl(Ark_RectShape peer, - const Ark_Union_Number_String_Array_Union_Number_String* radius) + void OnImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_String* Type, + const WorkerEventListener* listener) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("radius("); - WriteToString(&out, radius); + string out("on("); + WriteToString(&out, Type); + out.append(", "); + WriteToString(&out, listener); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // RectShapeAccessor - namespace RenderingContextSettingsAccessor { - void DestroyPeerImpl(Ark_RenderingContextSettings peer) + void OnceImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_String* Type, + const WorkerEventListener* listener) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("once("); + WriteToString(&out, Type); + out.append(", "); + WriteToString(&out, listener); out.append(") \n"); appendGroupedLog(1, out); } - Ark_RenderingContextSettings ConstructImpl(const Opt_Boolean* antialias) + void OffImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_String* Type, + const Opt_WorkerEventListener* listener) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new RenderingContextSettings("); - WriteToString(&out, antialias); + string out("off("); + WriteToString(&out, Type); + out.append(", "); + WriteToString(&out, listener); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void TerminateImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("terminate("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Opt_Boolean GetAntialiasImpl(Ark_RenderingContextSettings peer) + void AddEventListenerImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_String* Type, + const WorkerEventListener* listener) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getAntialias("); + string out("addEventListener("); + WriteToString(&out, Type); + out.append(", "); + WriteToString(&out, listener); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetAntialiasImpl(Ark_RenderingContextSettings peer, - const Opt_Boolean* antialias) + Ark_Boolean DispatchEventImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_Event* event) + { + if (!needGroupedLog(1)) + { + return 0; + } + string out("dispatchEvent("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void RemoveEventListenerImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_String* Type, + const Opt_WorkerEventListener* callback_) { if (!needGroupedLog(1)) { return; } - string out("setAntialias("); - WriteToString(&out, antialias); + string out("removeEventListener("); + WriteToString(&out, Type); + out.append(", "); + WriteToString(&out, callback_); out.append(") \n"); appendGroupedLog(1, out); } - } // RenderingContextSettingsAccessor - namespace RenderNodeAccessor { - void DestroyPeerImpl(Ark_RenderNode peer) + void RemoveAllListenerImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("removeAllListener("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_RenderNode ConstructImpl() + void RegisterGlobalCallObjectImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_String* instanceName, + const Ark_Object* globalCallObject) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new RenderNode("); + string out("registerGlobalCallObject("); + WriteToString(&out, instanceName); + out.append(", "); + WriteToString(&out, globalCallObject); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void UnregisterGlobalCallObjectImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Opt_String* instanceName) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("unregisterGlobalCallObject("); + WriteToString(&out, instanceName); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void AppendChildImpl(Ark_RenderNode peer, - Ark_RenderNode node) + Opt_RestrictedWorker_onexit_Callback GetOnexitImpl(Ark_RestrictedWorker peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("appendChild("); - WriteToString(&out, node); + string out("getOnexit("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void InsertChildAfterImpl(Ark_RenderNode peer, - Ark_RenderNode child, - const Opt_RenderNode* sibling) + void SetOnexitImpl(Ark_RestrictedWorker peer, + const Opt_RestrictedWorker_onexit_Callback* onexit) { if (!needGroupedLog(1)) { return; } - string out("insertChildAfter("); - WriteToString(&out, child); - out.append(", "); - WriteToString(&out, sibling); + string out("setOnexit("); + WriteToString(&out, onexit); out.append(") \n"); appendGroupedLog(1, out); } - void RemoveChildImpl(Ark_RenderNode peer, - Ark_RenderNode node) + Opt_RestrictedWorker_onerror_Callback GetOnerrorImpl(Ark_RestrictedWorker peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("removeChild("); - WriteToString(&out, node); + string out("getOnerror("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void ClearChildrenImpl(Ark_RenderNode peer) + void SetOnerrorImpl(Ark_RestrictedWorker peer, + const Opt_RestrictedWorker_onerror_Callback* onerror) { if (!needGroupedLog(1)) { return; } - string out("clearChildren("); + string out("setOnerror("); + WriteToString(&out, onerror); out.append(") \n"); appendGroupedLog(1, out); } - Opt_RenderNode GetChildImpl(Ark_RenderNode peer, - const Ark_Number* index) + Opt_RestrictedWorker_onmessage_Callback GetOnmessageImpl(Ark_RestrictedWorker peer) { if (!needGroupedLog(1)) { return {}; } - string out("getChild("); - WriteToString(&out, index); + string out("getOnmessage("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Opt_RenderNode GetFirstChildImpl(Ark_RenderNode peer) + void SetOnmessageImpl(Ark_RestrictedWorker peer, + const Opt_RestrictedWorker_onmessage_Callback* onmessage) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getFirstChild("); + string out("setOnmessage("); + WriteToString(&out, onmessage); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Opt_RenderNode GetNextSiblingImpl(Ark_RenderNode peer) + Opt_RestrictedWorker_onmessage_Callback GetOnmessageerrorImpl(Ark_RestrictedWorker peer) { if (!needGroupedLog(1)) { return {}; } - string out("getNextSibling("); + string out("getOnmessageerror("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Opt_RenderNode GetPreviousSiblingImpl(Ark_RenderNode peer) + void SetOnmessageerrorImpl(Ark_RestrictedWorker peer, + const Opt_RestrictedWorker_onmessage_Callback* onmessageerror) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getPreviousSibling("); + string out("setOnmessageerror("); + WriteToString(&out, onmessageerror); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void DrawImpl(Ark_RenderNode peer, - Ark_DrawContext context) + } // RestrictedWorkerAccessor + namespace RichEditorBaseControllerAccessor { + void DestroyPeerImpl(Ark_RichEditorBaseController peer) { if (!needGroupedLog(1)) { return; } - string out("draw("); - WriteToString(&out, context); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void InvalidateImpl(Ark_RenderNode peer) + Ark_RichEditorBaseController ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("invalidate("); + string out("new RichEditorBaseController("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void DisposeImpl(Ark_RenderNode peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("dispose("); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_Number GetBackgroundColorImpl(Ark_RenderNode peer) + Ark_Number GetCaretOffsetImpl(Ark_RichEditorBaseController peer) { if (!needGroupedLog(1)) { return {42}; } - string out("getBackgroundColor("); + string out("getCaretOffset("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - void SetBackgroundColorImpl(Ark_RenderNode peer, - const Ark_Number* backgroundColor) + Ark_Boolean SetCaretOffsetImpl(Ark_RichEditorBaseController peer, + const Ark_Number* offset) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("setBackgroundColor("); - WriteToString(&out, backgroundColor); + string out("setCaretOffset("); + WriteToString(&out, offset); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Ark_Boolean GetClipToFrameImpl(Ark_RenderNode peer) + void CloseSelectionMenuImpl(Ark_RichEditorBaseController peer) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("getClipToFrame("); + string out("closeSelectionMenu("); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - void SetClipToFrameImpl(Ark_RenderNode peer, - Ark_Boolean clipToFrame) + Ark_RichEditorTextStyle GetTypingStyleImpl(Ark_RichEditorBaseController peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setClipToFrame("); - WriteToString(&out, clipToFrame); + string out("getTypingStyle("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_Number GetOpacityImpl(Ark_RenderNode peer) + void SetTypingStyleImpl(Ark_RichEditorBaseController peer, + const Ark_RichEditorTextStyle* value) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getOpacity("); + string out("setTypingStyle("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetOpacityImpl(Ark_RenderNode peer, - const Ark_Number* opacity) + void SetSelectionImpl(Ark_RichEditorBaseController peer, + const Ark_Number* selectionStart, + const Ark_Number* selectionEnd, + const Opt_SelectionOptions* options) { if (!needGroupedLog(1)) { return; } - string out("setOpacity("); - WriteToString(&out, opacity); + string out("setSelection("); + WriteToString(&out, selectionStart); + out.append(", "); + WriteToString(&out, selectionEnd); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Size GetSizeImpl(Ark_RenderNode peer) + Ark_Boolean IsEditingImpl(Ark_RichEditorBaseController peer) { if (!needGroupedLog(1)) { - return {}; + return 0; } - string out("getSize("); + string out("isEditing("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {}; + return 0; } - void SetSizeImpl(Ark_RenderNode peer, - const Ark_Size* size) + void StopEditingImpl(Ark_RichEditorBaseController peer) { if (!needGroupedLog(1)) { return; } - string out("setSize("); - WriteToString(&out, size); + string out("stopEditing("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Vector2 GetPositionImpl(Ark_RenderNode peer) + Ark_LayoutManager GetLayoutManagerImpl(Ark_RichEditorBaseController peer) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getPosition("); + string out("getLayoutManager("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - void SetPositionImpl(Ark_RenderNode peer, - const Ark_Vector2* position) + Ark_PreviewText GetPreviewTextImpl(Ark_RichEditorBaseController peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setPosition("); - WriteToString(&out, position); + string out("getPreviewText("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_Frame GetFrameImpl(Ark_RenderNode peer) + Opt_RectResult GetCaretRectImpl(Ark_RichEditorBaseController peer) { if (!needGroupedLog(1)) { return {}; } - string out("getFrame("); + string out("getCaretRect("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetFrameImpl(Ark_RenderNode peer, - const Ark_Frame* frame) + } // RichEditorBaseControllerAccessor + namespace RichEditorControllerAccessor { + void DestroyPeerImpl(Ark_RichEditorController peer) { if (!needGroupedLog(1)) { return; } - string out("setFrame("); - WriteToString(&out, frame); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Vector2 GetPivotImpl(Ark_RenderNode peer) + Ark_RichEditorController ConstructImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getPivot("); + string out("new RichEditorController("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - void SetPivotImpl(Ark_RenderNode peer, - const Ark_Vector2* pivot) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setPivot("); - WriteToString(&out, pivot); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_Vector2 GetScaleImpl(Ark_RenderNode peer) + Ark_Number AddTextSpanImpl(Ark_RichEditorController peer, + const Ark_ResourceStr* content, + const Opt_RichEditorTextSpanOptions* options) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getScale("); + string out("addTextSpan("); + WriteToString(&out, content); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetScaleImpl(Ark_RenderNode peer, - const Ark_Vector2* scale) + Ark_Number AddImageSpanImpl(Ark_RichEditorController peer, + const Ark_Union_PixelMap_ResourceStr* value, + const Opt_RichEditorImageSpanOptions* options) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setScale("); - WriteToString(&out, scale); + string out("addImageSpan("); + WriteToString(&out, value); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_Vector2 GetTranslationImpl(Ark_RenderNode peer) + Ark_Number AddBuilderSpanImpl(Ark_RichEditorController peer, + const CustomNodeBuilder* value, + const Opt_RichEditorBuilderSpanOptions* options) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getTranslation("); + string out("addBuilderSpan("); + WriteToString(&out, value); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetTranslationImpl(Ark_RenderNode peer, - const Ark_Vector2* translation) + Ark_Number AddSymbolSpanImpl(Ark_RichEditorController peer, + const Ark_Resource* value, + const Opt_RichEditorSymbolSpanOptions* options) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setTranslation("); - WriteToString(&out, translation); + string out("addSymbolSpan("); + WriteToString(&out, value); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_Vector3 GetRotationImpl(Ark_RenderNode peer) + void UpdateSpanStyleImpl(Ark_RichEditorController peer, + const Ark_Union_RichEditorUpdateTextSpanStyleOptions_RichEditorUpdateImageSpanStyleOptions_RichEditorUpdateSymbolSpanStyleOptions* value) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getRotation("); + string out("updateSpanStyle("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetRotationImpl(Ark_RenderNode peer, - const Ark_Vector3* rotation) + void UpdateParagraphStyleImpl(Ark_RichEditorController peer, + const Ark_RichEditorParagraphStyleOptions* value) { if (!needGroupedLog(1)) { return; } - string out("setRotation("); - WriteToString(&out, rotation); + string out("updateParagraphStyle("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Matrix4 GetTransformImpl(Ark_RenderNode peer) + void DeleteSpansImpl(Ark_RichEditorController peer, + const Opt_RichEditorRange* value) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getTransform("); + string out("deleteSpans("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetTransformImpl(Ark_RenderNode peer, - const Ark_Matrix4* transform) + Array_Union_RichEditorImageSpanResult_RichEditorTextSpanResult GetSpansImpl(Ark_RichEditorController peer, + const Opt_RichEditorRange* value) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setTransform("); - WriteToString(&out, transform); + string out("getSpans("); + WriteToString(&out, value); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_Number GetShadowColorImpl(Ark_RenderNode peer) + Array_RichEditorParagraphResult GetParagraphsImpl(Ark_RichEditorController peer, + const Opt_RichEditorRange* value) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getShadowColor("); + string out("getParagraphs("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - void SetShadowColorImpl(Ark_RenderNode peer, - const Ark_Number* shadowColor) + Ark_RichEditorSelection GetSelectionImpl(Ark_RichEditorController peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setShadowColor("); - WriteToString(&out, shadowColor); + string out("getSelection("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_Vector2 GetShadowOffsetImpl(Ark_RenderNode peer) + Array_RichEditorSpan FromStyledStringImpl(Ark_RichEditorController peer, + Ark_StyledString value) { if (!needGroupedLog(1)) { return {}; } - string out("getShadowOffset("); + string out("fromStyledString("); + WriteToString(&out, value); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetShadowOffsetImpl(Ark_RenderNode peer, - const Ark_Vector2* shadowOffset) + Ark_StyledString ToStyledStringImpl(Ark_RichEditorController peer, + const Ark_RichEditorRange* value) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setShadowOffset("); - WriteToString(&out, shadowOffset); + string out("toStyledString("); + WriteToString(&out, value); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_String GetLabelImpl(Ark_RenderNode peer) + } // RichEditorControllerAccessor + namespace RichEditorStyledStringControllerAccessor { + void DestroyPeerImpl(Ark_RichEditorStyledStringController peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getLabel("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetLabelImpl(Ark_RenderNode peer, - const Ark_String* label) + Ark_RichEditorStyledStringController ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setLabel("); - WriteToString(&out, label); + string out("new RichEditorStyledStringController("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_Number GetShadowAlphaImpl(Ark_RenderNode peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {42}; + return fnPtr(dummyClassFinalizer); } - string out("getShadowAlpha("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {42}; + return fnPtr(dummyClassFinalizer); } - void SetShadowAlphaImpl(Ark_RenderNode peer, - const Ark_Number* shadowAlpha) + void SetStyledStringImpl(Ark_RichEditorStyledStringController peer, + Ark_StyledString styledString) { if (!needGroupedLog(1)) { return; } - string out("setShadowAlpha("); - WriteToString(&out, shadowAlpha); + string out("setStyledString("); + WriteToString(&out, styledString); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetShadowElevationImpl(Ark_RenderNode peer) + Ark_MutableStyledString GetStyledStringImpl(Ark_RichEditorStyledStringController peer) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("getShadowElevation("); + string out("getStyledString("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - void SetShadowElevationImpl(Ark_RenderNode peer, - const Ark_Number* shadowElevation) + Ark_RichEditorRange GetSelectionImpl(Ark_RichEditorStyledStringController peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setShadowElevation("); - WriteToString(&out, shadowElevation); + string out("getSelection("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_Number GetShadowRadiusImpl(Ark_RenderNode peer) + void OnContentChangedImpl(Ark_RichEditorStyledStringController peer, + const Ark_StyledStringChangedListener* listener) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getShadowRadius("); + string out("onContentChanged("); + WriteToString(&out, listener); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetShadowRadiusImpl(Ark_RenderNode peer, - const Ark_Number* shadowRadius) + } // RichEditorStyledStringControllerAccessor + namespace RotationGestureAccessor { + void DestroyPeerImpl(Ark_RotationGesture peer) { if (!needGroupedLog(1)) { return; } - string out("setShadowRadius("); - WriteToString(&out, shadowRadius); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_EdgeStyles GetBorderStyleImpl(Ark_RenderNode peer) + Ark_RotationGesture ConstructImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getBorderStyle("); + string out("new RotationGesture("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - void SetBorderStyleImpl(Ark_RenderNode peer, - const Ark_EdgeStyles* borderStyle) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setBorderStyle("); - WriteToString(&out, borderStyle); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_Edges GetBorderWidthImpl(Ark_RenderNode peer) + Ark_RotationGesture $_instantiateImpl(const Callback_RotationGesture* factory, + const Opt_RotationGestureHandlerOptions* value) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getBorderWidth("); + string out("$_instantiate("); + WriteToString(&out, factory); + out.append(", "); + WriteToString(&out, value); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - void SetBorderWidthImpl(Ark_RenderNode peer, - const Ark_Edges* borderWidth) + void OnActionStartImpl(Ark_RotationGesture peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) { return; } - string out("setBorderWidth("); - WriteToString(&out, borderWidth); + string out("onActionStart("); + WriteToString(&out, event); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Edges GetBorderColorImpl(Ark_RenderNode peer) + void OnActionUpdateImpl(Ark_RotationGesture peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getBorderColor("); + string out("onActionUpdate("); + WriteToString(&out, event); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetBorderColorImpl(Ark_RenderNode peer, - const Ark_Edges* borderColor) + void OnActionEndImpl(Ark_RotationGesture peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) { return; } - string out("setBorderColor("); - WriteToString(&out, borderColor); + string out("onActionEnd("); + WriteToString(&out, event); out.append(") \n"); appendGroupedLog(1, out); } - Ark_BorderRadiuses_graphics GetBorderRadiusImpl(Ark_RenderNode peer) + void OnActionCancelImpl(Ark_RotationGesture peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getBorderRadius("); + string out("onActionCancel("); + WriteToString(&out, event); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetBorderRadiusImpl(Ark_RenderNode peer, - const Ark_BorderRadiuses_graphics* borderRadius) + } // RotationGestureAccessor + namespace RotationGestureEventAccessor { + void DestroyPeerImpl(Ark_RotationGestureEvent peer) { if (!needGroupedLog(1)) { return; } - string out("setBorderRadius("); - WriteToString(&out, borderRadius); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_ShapeMask GetShapeMaskImpl(Ark_RenderNode peer) + Ark_RotationGestureEvent ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(100); } - string out("getShapeMask("); + string out("new RotationGestureEvent("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(100); } - void SetShapeMaskImpl(Ark_RenderNode peer, - Ark_ShapeMask shapeMask) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setShapeMask("); - WriteToString(&out, shapeMask); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_ShapeClip GetShapeClipImpl(Ark_RenderNode peer) + Ark_Number GetAngleImpl(Ark_RotationGestureEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {42}; } - string out("getShapeClip("); + string out("getAngle("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {42}; } - void SetShapeClipImpl(Ark_RenderNode peer, - Ark_ShapeClip shapeClip) + void SetAngleImpl(Ark_RotationGestureEvent peer, + const Ark_Number* angle) { if (!needGroupedLog(1)) { return; } - string out("setShapeClip("); - WriteToString(&out, shapeClip); + string out("setAngle("); + WriteToString(&out, angle); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Boolean GetMarkNodeGroupImpl(Ark_RenderNode peer) + } // RotationGestureEventAccessor + namespace RotationRecognizerAccessor { + void DestroyPeerImpl(Ark_RotationRecognizer peer) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("getMarkNodeGroup("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - void SetMarkNodeGroupImpl(Ark_RenderNode peer, - Ark_Boolean markNodeGroup) + Ark_RotationRecognizer ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setMarkNodeGroup("); - WriteToString(&out, markNodeGroup); + string out("new RotationRecognizer("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_LengthMetricsUnit GetLengthMetricsUnitImpl(Ark_RenderNode peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getLengthMetricsUnit("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - void SetLengthMetricsUnitImpl(Ark_RenderNode peer, - Ark_LengthMetricsUnit lengthMetricsUnit) + Ark_Number GetAngleImpl(Ark_RotationRecognizer peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setLengthMetricsUnit("); - WriteToString(&out, lengthMetricsUnit); + string out("getAngle("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - } // RenderNodeAccessor - namespace RenderServiceNodeAccessor { - } // RenderServiceNodeAccessor - namespace ReplaceSymbolEffectAccessor { - void DestroyPeerImpl(Ark_ReplaceSymbolEffect peer) + } // RotationRecognizerAccessor + namespace ScaleSymbolEffectAccessor { + void DestroyPeerImpl(Ark_ScaleSymbolEffect peer) { if (!needGroupedLog(1)) { @@ -40027,18 +43389,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_ReplaceSymbolEffect ConstructImpl(const Opt_EffectScope* scope) + Ark_ScaleSymbolEffect ConstructImpl(const Opt_EffectScope* scope, + const Opt_EffectDirection* direction) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new ReplaceSymbolEffect("); + string out("new ScaleSymbolEffect("); WriteToString(&out, scope); + out.append(", "); + WriteToString(&out, direction); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -40052,7 +43417,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Opt_EffectScope GetScopeImpl(Ark_ReplaceSymbolEffect peer) + Opt_EffectScope GetScopeImpl(Ark_ScaleSymbolEffect peer) { if (!needGroupedLog(1)) { @@ -40064,7 +43429,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return {}; } - void SetScopeImpl(Ark_ReplaceSymbolEffect peer, + void SetScopeImpl(Ark_ScaleSymbolEffect peer, const Opt_EffectScope* scope) { if (!needGroupedLog(1)) @@ -40076,511 +43441,514 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - } // ReplaceSymbolEffectAccessor - namespace RestrictedWorkerAccessor { - void DestroyPeerImpl(Ark_RestrictedWorker peer) + Opt_EffectDirection GetDirectionImpl(Ark_ScaleSymbolEffect peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("destroyPeer("); + string out("getDirection("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_RestrictedWorker ConstructImpl(const Ark_String* scriptURL, - const Opt_WorkerOptions* options) + void SetDirectionImpl(Ark_ScaleSymbolEffect peer, + const Opt_EffectDirection* direction) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new RestrictedWorker("); - WriteToString(&out, scriptURL); - out.append(", "); - WriteToString(&out, options); + string out("setDirection("); + WriteToString(&out, direction); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + } // ScaleSymbolEffectAccessor + namespace SceneAccessor { + void DestroyPeerImpl(Ark_Scene peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void PostMessage0Impl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_Object* message, - const Array_Buffer* transfer) + Ark_Scene ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("postMessage0("); - WriteToString(&out, message); - out.append(", "); - WriteToString(&out, transfer); + string out("new Scene("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void PostMessage1Impl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_Object* message, - const Opt_PostMessageOptions* options) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("postMessage1("); - WriteToString(&out, message); - out.append(", "); - WriteToString(&out, options); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void PostMessageWithSharedSendableImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_Object* message, - const Opt_Array_Buffer* transfer) + void LoadImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + const Opt_ResourceStr* uri, + const Callback_Opt_Scene_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { return; } - string out("postMessageWithSharedSendable("); - WriteToString(&out, message); + string out("load("); + WriteToString(&out, uri); out.append(", "); - WriteToString(&out, transfer); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); appendGroupedLog(1, out); } - void OnImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_String* Type, - const Ark_WorkerEventListener* listener) + void DestroyImpl(Ark_Scene peer) { if (!needGroupedLog(1)) { return; } - string out("on("); - WriteToString(&out, Type); - out.append(", "); - WriteToString(&out, listener); + string out("destroy("); out.append(") \n"); appendGroupedLog(1, out); } - void OnceImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_String* Type, - const Ark_WorkerEventListener* listener) + } // SceneAccessor + namespace ScreenCaptureHandlerAccessor { + void DestroyPeerImpl(Ark_ScreenCaptureHandler peer) { if (!needGroupedLog(1)) { return; } - string out("once("); - WriteToString(&out, Type); - out.append(", "); - WriteToString(&out, listener); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void OffImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_String* Type, - const Opt_WorkerEventListener* listener) + Ark_ScreenCaptureHandler ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("off("); - WriteToString(&out, Type); - out.append(", "); - WriteToString(&out, listener); + string out("new ScreenCaptureHandler("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void TerminateImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("terminate("); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void AddEventListenerImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_String* Type, - const Ark_WorkerEventListener* listener) + Ark_String GetOriginImpl(Ark_ScreenCaptureHandler peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("addEventListener("); - WriteToString(&out, Type); - out.append(", "); - WriteToString(&out, listener); + string out("getOrigin("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_Boolean DispatchEventImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_Event* event) + void GrantImpl(Ark_ScreenCaptureHandler peer, + const Ark_ScreenCaptureConfig* config) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("dispatchEvent("); - WriteToString(&out, event); + string out("grant("); + WriteToString(&out, config); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - void RemoveEventListenerImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_String* Type, - const Opt_WorkerEventListener* callback_) + void DenyImpl(Ark_ScreenCaptureHandler peer) { if (!needGroupedLog(1)) { return; } - string out("removeEventListener("); - WriteToString(&out, Type); - out.append(", "); - WriteToString(&out, callback_); + string out("deny("); out.append(") \n"); appendGroupedLog(1, out); } - void RemoveAllListenerImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer) + } // ScreenCaptureHandlerAccessor + namespace ScreenshotServiceAccessor { + } // ScreenshotServiceAccessor + namespace ScrollableTargetInfoAccessor { + void DestroyPeerImpl(Ark_ScrollableTargetInfo peer) { if (!needGroupedLog(1)) { return; } - string out("removeAllListener("); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void RegisterGlobalCallObjectImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_String* instanceName, - const Ark_Object* globalCallObject) + Ark_ScrollableTargetInfo ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("registerGlobalCallObject("); - WriteToString(&out, instanceName); - out.append(", "); - WriteToString(&out, globalCallObject); + string out("new ScrollableTargetInfo("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void UnregisterGlobalCallObjectImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Opt_String* instanceName) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("unregisterGlobalCallObject("); - WriteToString(&out, instanceName); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Opt_RestrictedWorker_onexit_Callback GetOnexitImpl(Ark_RestrictedWorker peer) + Ark_Boolean IsBeginImpl(Ark_ScrollableTargetInfo peer) { if (!needGroupedLog(1)) { - return {}; + return 0; } - string out("getOnexit("); + string out("isBegin("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {}; + return 0; } - void SetOnexitImpl(Ark_RestrictedWorker peer, - const Opt_RestrictedWorker_onexit_Callback* onexit) + Ark_Boolean IsEndImpl(Ark_ScrollableTargetInfo peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("setOnexit("); - WriteToString(&out, onexit); + string out("isEnd("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Opt_RestrictedWorker_onerror_Callback GetOnerrorImpl(Ark_RestrictedWorker peer) + } // ScrollableTargetInfoAccessor + namespace ScrollerAccessor { + void DestroyPeerImpl(Ark_Scroller peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getOnerror("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetOnerrorImpl(Ark_RestrictedWorker peer, - const Opt_RestrictedWorker_onerror_Callback* onerror) + Ark_Scroller ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setOnerror("); - WriteToString(&out, onerror); + string out("new Scroller("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Opt_RestrictedWorker_onmessage_Callback GetOnmessageImpl(Ark_RestrictedWorker peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getOnmessage("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - void SetOnmessageImpl(Ark_RestrictedWorker peer, - const Opt_RestrictedWorker_onmessage_Callback* onmessage) + void ScrollToImpl(Ark_Scroller peer, + const Ark_ScrollOptions* options) { if (!needGroupedLog(1)) { return; } - string out("setOnmessage("); - WriteToString(&out, onmessage); + string out("scrollTo("); + WriteToString(&out, options); out.append(") \n"); appendGroupedLog(1, out); } - Opt_RestrictedWorker_onmessage_Callback GetOnmessageerrorImpl(Ark_RestrictedWorker peer) + void ScrollEdgeImpl(Ark_Scroller peer, + Ark_Edge value, + const Opt_ScrollEdgeOptions* options) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getOnmessageerror("); + string out("scrollEdge("); + WriteToString(&out, value); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetOnmessageerrorImpl(Ark_RestrictedWorker peer, - const Opt_RestrictedWorker_onmessage_Callback* onmessageerror) + void FlingImpl(Ark_Scroller peer, + const Ark_Number* velocity) { if (!needGroupedLog(1)) { return; } - string out("setOnmessageerror("); - WriteToString(&out, onmessageerror); + string out("fling("); + WriteToString(&out, velocity); out.append(") \n"); appendGroupedLog(1, out); } - } // RestrictedWorkerAccessor - namespace RichEditorBaseControllerAccessor { - void DestroyPeerImpl(Ark_RichEditorBaseController peer) + void ScrollPageImpl(Ark_Scroller peer, + const Ark_ScrollPageOptions* value) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("scrollPage("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - Ark_RichEditorBaseController ConstructImpl() + Ark_OffsetResult CurrentOffsetImpl(Ark_Scroller peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new RichEditorBaseController("); + string out("currentOffset("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + void ScrollToIndexImpl(Ark_Scroller peer, + const Ark_Number* value, + const Opt_Boolean* smooth, + const Opt_ScrollAlign* align, + const Opt_ScrollToIndexOptions* options) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("scrollToIndex("); + WriteToString(&out, value); + out.append(", "); + WriteToString(&out, smooth); + out.append(", "); + WriteToString(&out, align); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_Number GetCaretOffsetImpl(Ark_RichEditorBaseController peer) + void ScrollByImpl(Ark_Scroller peer, + const Ark_Length* dx, + const Ark_Length* dy) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getCaretOffset("); + string out("scrollBy("); + WriteToString(&out, dx); + out.append(", "); + WriteToString(&out, dy); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Boolean SetCaretOffsetImpl(Ark_RichEditorBaseController peer, - const Ark_Number* offset) + Ark_Boolean IsAtEndImpl(Ark_Scroller peer) { if (!needGroupedLog(1)) { return 0; } - string out("setCaretOffset("); - WriteToString(&out, offset); + string out("isAtEnd("); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - void CloseSelectionMenuImpl(Ark_RichEditorBaseController peer) + Ark_RectResult GetItemRectImpl(Ark_Scroller peer, + const Ark_Number* index) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("closeSelectionMenu("); + string out("getItemRect("); + WriteToString(&out, index); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_RichEditorTextStyle GetTypingStyleImpl(Ark_RichEditorBaseController peer) + Ark_Number GetItemIndexImpl(Ark_Scroller peer, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getTypingStyle("); + string out("getItemIndex("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetTypingStyleImpl(Ark_RichEditorBaseController peer, - const Ark_RichEditorTextStyle* value) + } // ScrollerAccessor + namespace ScrollMotionAccessor { + void DestroyPeerImpl(Ark_ScrollMotion peer) { if (!needGroupedLog(1)) { return; } - string out("setTypingStyle("); - WriteToString(&out, value); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void SetSelectionImpl(Ark_RichEditorBaseController peer, - const Ark_Number* selectionStart, - const Ark_Number* selectionEnd, - const Opt_SelectionOptions* options) + Ark_ScrollMotion ConstructImpl(const Ark_Number* position, + const Ark_Number* velocity, + const Ark_Number* min, + const Ark_Number* max, + Ark_SpringProp prop) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setSelection("); - WriteToString(&out, selectionStart); + string out("new ScrollMotion("); + WriteToString(&out, position); out.append(", "); - WriteToString(&out, selectionEnd); + WriteToString(&out, velocity); out.append(", "); - WriteToString(&out, options); + WriteToString(&out, min); + out.append(", "); + WriteToString(&out, max); + out.append(", "); + WriteToString(&out, prop); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_Boolean IsEditingImpl(Ark_RichEditorBaseController peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return 0; + return fnPtr(dummyClassFinalizer); } - string out("isEditing("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return 0; + return fnPtr(dummyClassFinalizer); } - void StopEditingImpl(Ark_RichEditorBaseController peer) + } // ScrollMotionAccessor + namespace ScrollResultAccessor { + void DestroyPeerImpl(Ark_ScrollResult peer) { if (!needGroupedLog(1)) { return; } - string out("stopEditing("); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_LayoutManager GetLayoutManagerImpl(Ark_RichEditorBaseController peer) + Ark_ScrollResult ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(100); } - string out("getLayoutManager("); + string out("new ScrollResult("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(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_PreviewText GetPreviewTextImpl(Ark_RichEditorBaseController peer) + Ark_Number GetOffsetRemainImpl(Ark_ScrollResult peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getPreviewText("); + string out("getOffsetRemain("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - Opt_RectResult GetCaretRectImpl(Ark_RichEditorBaseController peer) + void SetOffsetRemainImpl(Ark_ScrollResult peer, + const Ark_Number* offsetRemain) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getCaretRect("); + string out("setOffsetRemain("); + WriteToString(&out, offsetRemain); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - } // RichEditorBaseControllerAccessor - namespace RichEditorControllerAccessor { - void DestroyPeerImpl(Ark_RichEditorController peer) + } // ScrollResultAccessor + namespace SearchControllerAccessor { + void DestroyPeerImpl(Ark_SearchController peer) { if (!needGroupedLog(1)) { @@ -40590,17 +43958,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_RichEditorController ConstructImpl() + Ark_SearchController ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new RichEditorController("); + string out("new SearchController("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -40614,181 +43982,166 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Number AddTextSpanImpl(Ark_RichEditorController peer, - const Ark_ResourceStr* content, - const Opt_RichEditorTextSpanOptions* options) + void CaretPositionImpl(Ark_SearchController peer, + const Ark_Number* value) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("addTextSpan("); - WriteToString(&out, content); - out.append(", "); - WriteToString(&out, options); + string out("caretPosition("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Number AddImageSpanImpl(Ark_RichEditorController peer, - const Ark_Union_PixelMap_ResourceStr* value, - const Opt_RichEditorImageSpanOptions* options) + void StopEditingImpl(Ark_SearchController peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("addImageSpan("); - WriteToString(&out, value); - out.append(", "); - WriteToString(&out, options); + string out("stopEditing("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Number AddBuilderSpanImpl(Ark_RichEditorController peer, - const CustomNodeBuilder* value, - const Opt_RichEditorBuilderSpanOptions* options) + void SetTextSelectionImpl(Ark_SearchController peer, + const Ark_Number* selectionStart, + const Ark_Number* selectionEnd, + const Opt_SelectionOptions* options) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("addBuilderSpan("); - WriteToString(&out, value); + string out("setTextSelection("); + WriteToString(&out, selectionStart); + out.append(", "); + WriteToString(&out, selectionEnd); out.append(", "); WriteToString(&out, options); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Number AddSymbolSpanImpl(Ark_RichEditorController peer, - const Ark_Resource* value, - const Opt_RichEditorSymbolSpanOptions* options) + } // SearchControllerAccessor + namespace SearchOpsAccessor { + Ark_NativePointer RegisterSearchValueCallbackImpl(Ark_NativePointer node, + const Ark_String* value, + const SearchValueCallback* callback) { if (!needGroupedLog(1)) { - return {42}; + return nullptr; } - string out("addSymbolSpan("); + string out("registerSearchValueCallback("); + WriteToString(&out, node); + out.append(", "); WriteToString(&out, value); out.append(", "); - WriteToString(&out, options); + WriteToString(&out, callback); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return {42}; + return nullptr; } - void UpdateSpanStyleImpl(Ark_RichEditorController peer, - const Ark_Union_RichEditorUpdateTextSpanStyleOptions_RichEditorUpdateImageSpanStyleOptions_RichEditorUpdateSymbolSpanStyleOptions* value) + } // SearchOpsAccessor + namespace ShapeClipAccessor { + void DestroyPeerImpl(Ark_ShapeClip peer) { if (!needGroupedLog(1)) { return; } - string out("updateSpanStyle("); - WriteToString(&out, value); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void UpdateParagraphStyleImpl(Ark_RichEditorController peer, - const Ark_RichEditorParagraphStyleOptions* value) + Ark_ShapeClip ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("updateParagraphStyle("); - WriteToString(&out, value); + string out("new ShapeClip("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void DeleteSpansImpl(Ark_RichEditorController peer, - const Opt_RichEditorRange* value) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("deleteSpans("); - WriteToString(&out, value); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Array_Union_RichEditorImageSpanResult_RichEditorTextSpanResult GetSpansImpl(Ark_RichEditorController peer, - const Opt_RichEditorRange* value) + void SetRectShapeImpl(Ark_ShapeClip peer, + const Ark_common2D_Rect* rect) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getSpans("); - WriteToString(&out, value); + string out("setRectShape("); + WriteToString(&out, rect); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Array_RichEditorParagraphResult GetParagraphsImpl(Ark_RichEditorController peer, - const Opt_RichEditorRange* value) + void SetRoundRectShapeImpl(Ark_ShapeClip peer, + const Ark_RoundRect* roundRect) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getParagraphs("); - WriteToString(&out, value); + string out("setRoundRectShape("); + WriteToString(&out, roundRect); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_RichEditorSelection GetSelectionImpl(Ark_RichEditorController peer) + void SetCircleShapeImpl(Ark_ShapeClip peer, + const Ark_Circle* circle) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getSelection("); + string out("setCircleShape("); + WriteToString(&out, circle); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Array_RichEditorSpan FromStyledStringImpl(Ark_RichEditorController peer, - Ark_StyledString value) + void SetOvalShapeImpl(Ark_ShapeClip peer, + const Ark_common2D_Rect* oval) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("fromStyledString("); - WriteToString(&out, value); + string out("setOvalShape("); + WriteToString(&out, oval); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_StyledString ToStyledStringImpl(Ark_RichEditorController peer, - const Ark_RichEditorRange* value) + void SetCommandPathImpl(Ark_ShapeClip peer, + const Ark_CommandPath* path) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("toStyledString("); - WriteToString(&out, value); + string out("setCommandPath("); + WriteToString(&out, path); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // RichEditorControllerAccessor - namespace RichEditorStyledStringControllerAccessor { - void DestroyPeerImpl(Ark_RichEditorStyledStringController peer) + } // ShapeClipAccessor + namespace ShapeMaskAccessor { + void DestroyPeerImpl(Ark_ShapeMask peer) { if (!needGroupedLog(1)) { @@ -40798,17 +44151,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_RichEditorStyledStringController ConstructImpl() + Ark_ShapeMask ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new RichEditorStyledStringController("); + string out("new ShapeMask("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -40822,217 +44175,230 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void SetStyledStringImpl(Ark_RichEditorStyledStringController peer, - Ark_StyledString styledString) + void SetRectShapeImpl(Ark_ShapeMask peer, + const Ark_common2D_Rect* rect) { if (!needGroupedLog(1)) { return; } - string out("setStyledString("); - WriteToString(&out, styledString); + string out("setRectShape("); + WriteToString(&out, rect); out.append(") \n"); appendGroupedLog(1, out); } - Ark_MutableStyledString GetStyledStringImpl(Ark_RichEditorStyledStringController peer) + void SetRoundRectShapeImpl(Ark_ShapeMask peer, + const Ark_RoundRect* roundRect) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getStyledString("); + string out("setRoundRectShape("); + WriteToString(&out, roundRect); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_RichEditorRange GetSelectionImpl(Ark_RichEditorStyledStringController peer) + void SetCircleShapeImpl(Ark_ShapeMask peer, + const Ark_Circle* circle) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getSelection("); + string out("setCircleShape("); + WriteToString(&out, circle); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void OnContentChangedImpl(Ark_RichEditorStyledStringController peer, - const Ark_StyledStringChangedListener* listener) + void SetOvalShapeImpl(Ark_ShapeMask peer, + const Ark_common2D_Rect* oval) { if (!needGroupedLog(1)) { return; } - string out("onContentChanged("); - WriteToString(&out, listener); + string out("setOvalShape("); + WriteToString(&out, oval); out.append(") \n"); appendGroupedLog(1, out); } - } // RichEditorStyledStringControllerAccessor - namespace RotationGestureAccessor { - void DestroyPeerImpl(Ark_RotationGesture peer) + void SetCommandPathImpl(Ark_ShapeMask peer, + const Ark_CommandPath* path) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setCommandPath("); + WriteToString(&out, path); out.append(") \n"); appendGroupedLog(1, out); } - Ark_RotationGesture ConstructImpl() + Ark_Number GetFillColorImpl(Ark_ShapeMask peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new RotationGesture("); + string out("getFillColor("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + void SetFillColorImpl(Ark_ShapeMask peer, + const Ark_Number* fillColor) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setFillColor("); + WriteToString(&out, fillColor); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_RotationGesture $_instantiateImpl(const Callback_RotationGesture* factory, - const Opt_RotationGestureHandlerOptions* value) + Ark_Number GetStrokeColorImpl(Ark_ShapeMask peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {42}; } - string out("$_instantiate("); - WriteToString(&out, factory); - out.append(", "); - WriteToString(&out, value); + string out("getStrokeColor("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {42}; } - void OnActionStartImpl(Ark_RotationGesture peer, - const Callback_GestureEvent_Void* event) + void SetStrokeColorImpl(Ark_ShapeMask peer, + const Ark_Number* strokeColor) { if (!needGroupedLog(1)) { return; } - string out("onActionStart("); - WriteToString(&out, event); + string out("setStrokeColor("); + WriteToString(&out, strokeColor); out.append(") \n"); appendGroupedLog(1, out); } - void OnActionUpdateImpl(Ark_RotationGesture peer, - const Callback_GestureEvent_Void* event) + Ark_Number GetStrokeWidthImpl(Ark_ShapeMask peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("onActionUpdate("); - WriteToString(&out, event); + string out("getStrokeWidth("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void OnActionEndImpl(Ark_RotationGesture peer, - const Callback_GestureEvent_Void* event) + void SetStrokeWidthImpl(Ark_ShapeMask peer, + const Ark_Number* strokeWidth) { if (!needGroupedLog(1)) { return; } - string out("onActionEnd("); - WriteToString(&out, event); + string out("setStrokeWidth("); + WriteToString(&out, strokeWidth); out.append(") \n"); appendGroupedLog(1, out); } - void OnActionCancelImpl(Ark_RotationGesture peer, - const Callback_GestureEvent_Void* event) + } // ShapeMaskAccessor + namespace SpringMotionAccessor { + void DestroyPeerImpl(Ark_SpringMotion peer) { if (!needGroupedLog(1)) { return; } - string out("onActionCancel("); - WriteToString(&out, event); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - } // RotationGestureAccessor - namespace RotationGestureEventAccessor { - void DestroyPeerImpl(Ark_RotationGestureEvent peer) + Ark_SpringMotion ConstructImpl(const Ark_Number* start, + const Ark_Number* end, + const Ark_Number* velocity, + Ark_SpringProp prop) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("destroyPeer("); + string out("new SpringMotion("); + WriteToString(&out, start); + out.append(", "); + WriteToString(&out, end); + out.append(", "); + WriteToString(&out, velocity); + out.append(", "); + WriteToString(&out, prop); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_RotationGestureEvent ConstructImpl() + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return fnPtr(dummyClassFinalizer); } - string out("new RotationGestureEvent("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return fnPtr(dummyClassFinalizer); } - Ark_NativePointer GetFinalizerImpl() + } // SpringMotionAccessor + namespace SpringPropAccessor { + void DestroyPeerImpl(Ark_SpringProp peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_Number GetAngleImpl(Ark_RotationGestureEvent peer) + Ark_SpringProp ConstructImpl(const Ark_Number* mass, + const Ark_Number* stiffness, + const Ark_Number* damping) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(100); } - string out("getAngle("); + string out("new SpringProp("); + WriteToString(&out, mass); + out.append(", "); + WriteToString(&out, stiffness); + out.append(", "); + WriteToString(&out, damping); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(100); } - void SetAngleImpl(Ark_RotationGestureEvent peer, - const Ark_Number* angle) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setAngle("); - WriteToString(&out, angle); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - } // RotationGestureEventAccessor - namespace RotationRecognizerAccessor { - void DestroyPeerImpl(Ark_RotationRecognizer peer) + } // SpringPropAccessor + namespace SslErrorHandlerAccessor { + void DestroyPeerImpl(Ark_SslErrorHandler peer) { if (!needGroupedLog(1)) { @@ -41042,17 +44408,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_RotationRecognizer ConstructImpl() + Ark_SslErrorHandler ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new RotationRecognizer("); + string out("new SslErrorHandler("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -41066,21 +44432,45 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Number GetAngleImpl(Ark_RotationRecognizer peer) + void HandleConfirmImpl(Ark_SslErrorHandler peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getAngle("); + string out("handleConfirm("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - } // RotationRecognizerAccessor - namespace ScaleSymbolEffectAccessor { - void DestroyPeerImpl(Ark_ScaleSymbolEffect peer) + void HandleCancelImpl(Ark_SslErrorHandler peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("handleCancel("); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // SslErrorHandlerAccessor + namespace StateStylesOpsAccessor { + void OnStateStyleChangeImpl(Ark_NativePointer node, + const Callback_StateStylesChange* stateStyleChange) + { + if (!needGroupedLog(1)) + { + return; + } + string out("onStateStyleChange("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, stateStyleChange); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // StateStylesOpsAccessor + namespace StyledStringAccessor { + void DestroyPeerImpl(Ark_StyledString peer) { if (!needGroupedLog(1)) { @@ -41090,21 +44480,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_ScaleSymbolEffect ConstructImpl(const Opt_EffectScope* scope, - const Opt_EffectDirection* direction) + Ark_StyledString ConstructImpl(const Ark_Union_String_ImageAttachment_CustomSpan* value, + const Opt_Array_StyleOptions* styles) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new ScaleSymbolEffect("); - WriteToString(&out, scope); + string out("new StyledString("); + WriteToString(&out, value); out.append(", "); - WriteToString(&out, direction); + WriteToString(&out, styles); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -41118,121 +44508,177 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Opt_EffectScope GetScopeImpl(Ark_ScaleSymbolEffect peer) + Ark_String GetStringImpl(Ark_StyledString peer) { if (!needGroupedLog(1)) { return {}; } - string out("getScope("); + string out("getString("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetScopeImpl(Ark_ScaleSymbolEffect peer, - const Opt_EffectScope* scope) + Array_SpanStyle GetStylesImpl(Ark_StyledString peer, + const Ark_Number* start, + const Ark_Number* length, + const Opt_StyledStringKey* styledKey) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setScope("); - WriteToString(&out, scope); + string out("getStyles("); + WriteToString(&out, start); + out.append(", "); + WriteToString(&out, length); + out.append(", "); + WriteToString(&out, styledKey); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Opt_EffectDirection GetDirectionImpl(Ark_ScaleSymbolEffect peer) + Ark_Boolean EqualsImpl(Ark_StyledString peer, + Ark_StyledString other) { if (!needGroupedLog(1)) { - return {}; + return 0; } - string out("getDirection("); + string out("equals("); + WriteToString(&out, other); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {}; + return 0; } - void SetDirectionImpl(Ark_ScaleSymbolEffect peer, - const Opt_EffectDirection* direction) + Ark_StyledString SubStyledStringImpl(Ark_StyledString peer, + const Ark_Number* start, + const Opt_Number* length) + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(300); + } + string out("subStyledString("); + WriteToString(&out, start); + out.append(", "); + WriteToString(&out, length); + out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(300); + } + void FromHtmlImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + const Ark_String* html, + const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { return; } - string out("setDirection("); - WriteToString(&out, direction); + string out("fromHtml("); + WriteToString(&out, html); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_String ToHtmlImpl(Ark_StyledString styledString) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("toHtml("); + WriteToString(&out, styledString); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // ScaleSymbolEffectAccessor - namespace SceneAccessor { - void DestroyPeerImpl(Ark_Scene peer) + Ark_Buffer Marshalling0Impl(Ark_StyledString styledString, + const StyledStringMarshallCallback* callback_) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("destroyPeer("); + string out("marshalling0("); + WriteToString(&out, styledString); + out.append(", "); + WriteToString(&out, callback_); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_Scene ConstructImpl() + void Unmarshalling0Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + const Ark_Buffer* buffer, + const StyledStringUnmarshallCallback* callback_, + const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new Scene("); + string out("unmarshalling0("); + WriteToString(&out, buffer); + out.append(", "); + WriteToString(&out, callback_); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + Ark_Buffer Marshalling1Impl(Ark_StyledString styledString) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("marshalling1("); + WriteToString(&out, styledString); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - void LoadImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - const Opt_ResourceStr* uri, - const Callback_Opt_Scene_Opt_Array_String_Void* outputArgumentForReturningPromise) + void Unmarshalling1Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + const Ark_Buffer* buffer, + const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { return; } - string out("load("); - WriteToString(&out, uri); + string out("unmarshalling1("); + WriteToString(&out, buffer); out.append(", "); WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); appendGroupedLog(1, out); } - void DestroyImpl(Ark_Scene peer) + Ark_Number GetLengthImpl(Ark_StyledString peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("destroy("); + string out("getLength("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - } // SceneAccessor - namespace ScreenshotServiceAccessor { - } // ScreenshotServiceAccessor - namespace ScrollableTargetInfoAccessor { - void DestroyPeerImpl(Ark_ScrollableTargetInfo peer) + } // StyledStringAccessor + namespace StyledStringControllerAccessor { + void DestroyPeerImpl(Ark_StyledStringController peer) { if (!needGroupedLog(1)) { @@ -41242,17 +44688,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_ScrollableTargetInfo ConstructImpl() + Ark_StyledStringController ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new ScrollableTargetInfo("); + string out("new StyledStringController("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -41266,33 +44712,33 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Boolean IsBeginImpl(Ark_ScrollableTargetInfo peer) + void SetStyledStringImpl(Ark_StyledStringController peer, + Ark_StyledString styledString) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("isBegin("); + string out("setStyledString("); + WriteToString(&out, styledString); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_Boolean IsEndImpl(Ark_ScrollableTargetInfo peer) + Ark_MutableStyledString GetStyledStringImpl(Ark_StyledStringController peer) { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(300); } - string out("isEnd("); + string out("getStyledString("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(300); } - } // ScrollableTargetInfoAccessor - namespace ScrollerAccessor { - void DestroyPeerImpl(Ark_Scroller peer) + } // StyledStringControllerAccessor + namespace SubmitEventAccessor { + void DestroyPeerImpl(Ark_SubmitEvent peer) { if (!needGroupedLog(1)) { @@ -41302,17 +44748,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_Scroller ConstructImpl() + Ark_SubmitEvent ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new Scroller("); + string out("new SubmitEvent("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -41326,200 +44772,191 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void ScrollToImpl(Ark_Scroller peer, - const Ark_ScrollOptions* options) + void KeepEditableStateImpl(Ark_SubmitEvent peer) { if (!needGroupedLog(1)) { return; } - string out("scrollTo("); - WriteToString(&out, options); + string out("keepEditableState("); out.append(") \n"); appendGroupedLog(1, out); } - void ScrollEdgeImpl(Ark_Scroller peer, - Ark_Edge value, - const Opt_ScrollEdgeOptions* options) + Ark_String GetTextImpl(Ark_SubmitEvent peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("scrollEdge("); - WriteToString(&out, value); - out.append(", "); - WriteToString(&out, options); + string out("getText("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void FlingImpl(Ark_Scroller peer, - const Ark_Number* velocity) + void SetTextImpl(Ark_SubmitEvent peer, + const Ark_String* text) { if (!needGroupedLog(1)) { return; } - string out("fling("); - WriteToString(&out, velocity); + string out("setText("); + WriteToString(&out, text); out.append(") \n"); appendGroupedLog(1, out); } - void ScrollPageImpl(Ark_Scroller peer, - const Ark_ScrollPageOptions* value) + } // SubmitEventAccessor + namespace SwipeGestureAccessor { + void DestroyPeerImpl(Ark_SwipeGesture peer) { if (!needGroupedLog(1)) { return; } - string out("scrollPage("); - WriteToString(&out, value); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_OffsetResult CurrentOffsetImpl(Ark_Scroller peer) + Ark_SwipeGesture ConstructImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("currentOffset("); + string out("new SwipeGesture("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - void ScrollToIndexImpl(Ark_Scroller peer, - const Ark_Number* value, - const Opt_Boolean* smooth, - const Opt_ScrollAlign* align, - const Opt_ScrollToIndexOptions* options) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("scrollToIndex("); - WriteToString(&out, value); - out.append(", "); - WriteToString(&out, smooth); - out.append(", "); - WriteToString(&out, align); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + Ark_SwipeGesture $_instantiateImpl(const Callback_SwipeGesture* factory, + const Opt_SwipeGestureHandlerOptions* value) + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(300); + } + string out("$_instantiate("); + WriteToString(&out, factory); out.append(", "); - WriteToString(&out, options); + WriteToString(&out, value); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void ScrollByImpl(Ark_Scroller peer, - const Ark_Length* dx, - const Ark_Length* dy) + void OnActionImpl(Ark_SwipeGesture peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) { return; } - string out("scrollBy("); - WriteToString(&out, dx); - out.append(", "); - WriteToString(&out, dy); + string out("onAction("); + WriteToString(&out, event); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Boolean IsAtEndImpl(Ark_Scroller peer) + } // SwipeGestureAccessor + namespace SwipeGestureEventAccessor { + void DestroyPeerImpl(Ark_SwipeGestureEvent peer) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("isAtEnd("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_RectResult GetItemRectImpl(Ark_Scroller peer, - const Ark_Number* index) + Ark_SwipeGestureEvent ConstructImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getItemRect("); - WriteToString(&out, index); + string out("new SwipeGestureEvent("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - Ark_Number GetItemIndexImpl(Ark_Scroller peer, - const Ark_Number* x, - const Ark_Number* y) + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + { + return fnPtr(dummyClassFinalizer); + } + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + Ark_Number GetAngleImpl(Ark_SwipeGestureEvent peer) { if (!needGroupedLog(1)) { return {42}; } - string out("getItemIndex("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("getAngle("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - } // ScrollerAccessor - namespace ScrollMotionAccessor { - void DestroyPeerImpl(Ark_ScrollMotion peer) + void SetAngleImpl(Ark_SwipeGestureEvent peer, + const Ark_Number* angle) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setAngle("); + WriteToString(&out, angle); out.append(") \n"); appendGroupedLog(1, out); } - Ark_ScrollMotion ConstructImpl(const Ark_Number* position, - const Ark_Number* velocity, - const Ark_Number* min, - const Ark_Number* max, - Ark_SpringProp prop) + Ark_Number GetSpeedImpl(Ark_SwipeGestureEvent peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new ScrollMotion("); - WriteToString(&out, position); - out.append(", "); - WriteToString(&out, velocity); - out.append(", "); - WriteToString(&out, min); - out.append(", "); - WriteToString(&out, max); - out.append(", "); - WriteToString(&out, prop); + string out("getSpeed("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + void SetSpeedImpl(Ark_SwipeGestureEvent peer, + const Ark_Number* speed) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setSpeed("); + WriteToString(&out, speed); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - } // ScrollMotionAccessor - namespace ScrollResultAccessor { - void DestroyPeerImpl(Ark_ScrollResult peer) + } // SwipeGestureEventAccessor + namespace SwiperContentTransitionProxyAccessor { + void DestroyPeerImpl(Ark_SwiperContentTransitionProxy peer) { if (!needGroupedLog(1)) { @@ -41529,17 +44966,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_ScrollResult ConstructImpl() + Ark_SwiperContentTransitionProxy ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new ScrollResult("); + string out("new SwiperContentTransitionProxy("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -41553,130 +44990,115 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Number GetOffsetRemainImpl(Ark_ScrollResult peer) + void FinishTransitionImpl(Ark_SwiperContentTransitionProxy peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getOffsetRemain("); + string out("finishTransition("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetOffsetRemainImpl(Ark_ScrollResult peer, - const Ark_Number* offsetRemain) + Ark_Number GetSelectedIndexImpl(Ark_SwiperContentTransitionProxy peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setOffsetRemain("); - WriteToString(&out, offsetRemain); + string out("getSelectedIndex("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - } // ScrollResultAccessor - namespace SearchControllerAccessor { - void DestroyPeerImpl(Ark_SearchController peer) + void SetSelectedIndexImpl(Ark_SwiperContentTransitionProxy peer, + const Ark_Number* selectedIndex) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setSelectedIndex("); + WriteToString(&out, selectedIndex); out.append(") \n"); appendGroupedLog(1, out); } - Ark_SearchController ConstructImpl() + Ark_Number GetIndexImpl(Ark_SwiperContentTransitionProxy peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new SearchController("); + string out("getIndex("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + void SetIndexImpl(Ark_SwiperContentTransitionProxy peer, + const Ark_Number* index) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("setIndex("); + WriteToString(&out, index); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void CaretPositionImpl(Ark_SearchController peer, - const Ark_Number* value) + Ark_Number GetPositionImpl(Ark_SwiperContentTransitionProxy peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("caretPosition("); - WriteToString(&out, value); + string out("getPosition("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void StopEditingImpl(Ark_SearchController peer) + void SetPositionImpl(Ark_SwiperContentTransitionProxy peer, + const Ark_Number* position) { if (!needGroupedLog(1)) { return; } - string out("stopEditing("); + string out("setPosition("); + WriteToString(&out, position); out.append(") \n"); appendGroupedLog(1, out); } - void SetTextSelectionImpl(Ark_SearchController peer, - const Ark_Number* selectionStart, - const Ark_Number* selectionEnd, - const Opt_SelectionOptions* options) + Ark_Number GetMainAxisLengthImpl(Ark_SwiperContentTransitionProxy peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setTextSelection("); - WriteToString(&out, selectionStart); - out.append(", "); - WriteToString(&out, selectionEnd); - out.append(", "); - WriteToString(&out, options); + string out("getMainAxisLength("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - } // SearchControllerAccessor - namespace SearchOpsAccessor { - Ark_NativePointer RegisterSearchValueCallbackImpl(Ark_NativePointer node, - const Ark_String* value, - const SearchValueCallback* callback) + void SetMainAxisLengthImpl(Ark_SwiperContentTransitionProxy peer, + const Ark_Number* mainAxisLength) { if (!needGroupedLog(1)) { - return nullptr; + return; } - string out("registerSearchValueCallback("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, value); - out.append(", "); - WriteToString(&out, callback); + string out("setMainAxisLength("); + WriteToString(&out, mainAxisLength); out.append(") \n"); - out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return nullptr; } - } // SearchOpsAccessor - namespace ShapeClipAccessor { - void DestroyPeerImpl(Ark_ShapeClip peer) + } // SwiperContentTransitionProxyAccessor + namespace SwiperControllerAccessor { + void DestroyPeerImpl(Ark_SwiperController peer) { if (!needGroupedLog(1)) { @@ -41686,17 +45108,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_ShapeClip ConstructImpl() + Ark_SwiperController ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new ShapeClip("); + string out("new SwiperController("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -41710,69 +45132,73 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void SetRectShapeImpl(Ark_ShapeClip peer, - const Ark_common2D_Rect* rect) + void ShowNextImpl(Ark_SwiperController peer) { if (!needGroupedLog(1)) { return; } - string out("setRectShape("); - WriteToString(&out, rect); + string out("showNext("); out.append(") \n"); appendGroupedLog(1, out); } - void SetRoundRectShapeImpl(Ark_ShapeClip peer, - const Ark_RoundRect* roundRect) + void ShowPreviousImpl(Ark_SwiperController peer) { if (!needGroupedLog(1)) { return; } - string out("setRoundRectShape("); - WriteToString(&out, roundRect); + string out("showPrevious("); out.append(") \n"); appendGroupedLog(1, out); } - void SetCircleShapeImpl(Ark_ShapeClip peer, - const Ark_Circle* circle) + void ChangeIndexImpl(Ark_SwiperController peer, + const Ark_Number* index, + const Opt_Union_SwiperAnimationMode_Boolean* animationMode) { if (!needGroupedLog(1)) { return; } - string out("setCircleShape("); - WriteToString(&out, circle); + string out("changeIndex("); + WriteToString(&out, index); + out.append(", "); + WriteToString(&out, animationMode); out.append(") \n"); appendGroupedLog(1, out); } - void SetOvalShapeImpl(Ark_ShapeClip peer, - const Ark_common2D_Rect* oval) + void FinishAnimationImpl(Ark_SwiperController peer, + const Opt_VoidCallback* callback_) { if (!needGroupedLog(1)) { return; } - string out("setOvalShape("); - WriteToString(&out, oval); + string out("finishAnimation("); + WriteToString(&out, callback_); out.append(") \n"); appendGroupedLog(1, out); } - void SetCommandPathImpl(Ark_ShapeClip peer, - const Ark_CommandPath* path) + void PreloadItemsImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_SwiperController peer, + const Opt_Array_Number* indices, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { return; } - string out("setCommandPath("); - WriteToString(&out, path); + string out("preloadItems("); + WriteToString(&out, indices); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); appendGroupedLog(1, out); } - } // ShapeClipAccessor - namespace ShapeMaskAccessor { - void DestroyPeerImpl(Ark_ShapeMask peer) + } // SwiperControllerAccessor + namespace SwipeRecognizerAccessor { + void DestroyPeerImpl(Ark_SwipeRecognizer peer) { if (!needGroupedLog(1)) { @@ -41782,17 +45208,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_ShapeMask ConstructImpl() + Ark_SwipeRecognizer ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new ShapeMask("); + string out("new SwipeRecognizer("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -41806,141 +45232,174 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void SetRectShapeImpl(Ark_ShapeMask peer, - const Ark_common2D_Rect* rect) + Ark_Number GetVelocityThresholdImpl(Ark_SwipeRecognizer peer) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getVelocityThreshold("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + Ark_SwipeDirection GetDirectionImpl(Ark_SwipeRecognizer peer) + { + if (!needGroupedLog(1)) + { + return {}; + } + string out("getDirection("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + } // SwipeRecognizerAccessor + namespace SymbolEffectAccessor { + void DestroyPeerImpl(Ark_SymbolEffect peer) { if (!needGroupedLog(1)) { return; } - string out("setRectShape("); - WriteToString(&out, rect); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void SetRoundRectShapeImpl(Ark_ShapeMask peer, - const Ark_RoundRect* roundRect) + Ark_SymbolEffect ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setRoundRectShape("); - WriteToString(&out, roundRect); + string out("new SymbolEffect("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void SetCircleShapeImpl(Ark_ShapeMask peer, - const Ark_Circle* circle) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setCircleShape("); - WriteToString(&out, circle); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void SetOvalShapeImpl(Ark_ShapeMask peer, - const Ark_common2D_Rect* oval) + } // SymbolEffectAccessor + namespace SystemOpsAccessor { + Ark_NativePointer StartFrameImpl() { if (!needGroupedLog(1)) { - return; + return nullptr; } - string out("setOvalShape("); - WriteToString(&out, oval); + string out("StartFrame("); out.append(") \n"); + out.append("[return nullptr] \n"); appendGroupedLog(1, out); + return nullptr; } - void SetCommandPathImpl(Ark_ShapeMask peer, - const Ark_CommandPath* path) + void EndFrameImpl(Ark_NativePointer root) { if (!needGroupedLog(1)) { return; } - string out("setCommandPath("); - WriteToString(&out, path); + string out("EndFrame("); + WriteToString(&out, root); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetFillColorImpl(Ark_ShapeMask peer) + void SyncInstanceIdImpl(Ark_Int32 instanceId) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getFillColor("); + string out("syncInstanceId("); + WriteToString(&out, instanceId); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetFillColorImpl(Ark_ShapeMask peer, - const Ark_Number* fillColor) + void RestoreInstanceIdImpl() { if (!needGroupedLog(1)) { return; } - string out("setFillColor("); - WriteToString(&out, fillColor); + string out("restoreInstanceId("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetStrokeColorImpl(Ark_ShapeMask peer) + Ark_Int32 GetResourceIdImpl(const Ark_String* bundleName, + const Ark_String* moduleName, + const Array_String* params) { if (!needGroupedLog(1)) { - return {42}; + return 0; } - string out("getStrokeColor("); + string out("getResourceId("); + WriteToString(&out, bundleName); + out.append(", "); + WriteToString(&out, moduleName); + out.append(", "); + WriteToString(&out, params); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {42}; + return 0; } - void SetStrokeColorImpl(Ark_ShapeMask peer, - const Ark_Number* strokeColor) + void ResourceManagerResetImpl() { if (!needGroupedLog(1)) { return; } - string out("setStrokeColor("); - WriteToString(&out, strokeColor); + string out("resourceManagerReset("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetStrokeWidthImpl(Ark_ShapeMask peer) + void SetFrameCallbackImpl(const Callback_Number_Void* onFrameCallback, + const Callback_Number_Void* onIdleCallback, + const Ark_Number* delayTime) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getStrokeWidth("); + string out("setFrameCallback("); + WriteToString(&out, onFrameCallback); + out.append(", "); + WriteToString(&out, onIdleCallback); + out.append(", "); + WriteToString(&out, delayTime); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetStrokeWidthImpl(Ark_ShapeMask peer, - const Ark_Number* strokeWidth) + Array_Number ColorMetricsResourceColorImpl(const Ark_Resource* color) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setStrokeWidth("); - WriteToString(&out, strokeWidth); + string out("colorMetricsResourceColor("); + WriteToString(&out, color); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // ShapeMaskAccessor - namespace SpringMotionAccessor { - void DestroyPeerImpl(Ark_SpringMotion peer) + } // SystemOpsAccessor + namespace TabBarSymbolAccessor { + void DestroyPeerImpl(Ark_TabBarSymbol peer) { if (!needGroupedLog(1)) { @@ -41950,27 +45409,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_SpringMotion ConstructImpl(const Ark_Number* start, - const Ark_Number* end, - const Ark_Number* velocity, - Ark_SpringProp prop) + Ark_TabBarSymbol ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new SpringMotion("); - WriteToString(&out, start); - out.append(", "); - WriteToString(&out, end); - out.append(", "); - WriteToString(&out, velocity); - out.append(", "); - WriteToString(&out, prop); + string out("new TabBarSymbol("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -41984,68 +45433,57 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - } // SpringMotionAccessor - namespace SpringPropAccessor { - void DestroyPeerImpl(Ark_SpringProp peer) + Ark_SymbolGlyphModifier GetNormalImpl(Ark_TabBarSymbol peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("destroyPeer("); + string out("getNormal("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_SpringProp ConstructImpl(const Ark_Number* mass, - const Ark_Number* stiffness, - const Ark_Number* damping) + void SetNormalImpl(Ark_TabBarSymbol peer, + const Ark_SymbolGlyphModifier* normal) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new SpringProp("); - WriteToString(&out, mass); - out.append(", "); - WriteToString(&out, stiffness); - out.append(", "); - WriteToString(&out, damping); + string out("setNormal("); + WriteToString(&out, normal); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + Opt_SymbolGlyphModifier GetSelectedImpl(Ark_TabBarSymbol peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getSelected("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - } // SpringPropAccessor - namespace StateStylesOpsAccessor { - void OnStateStyleChangeImpl(Ark_NativePointer node, - const Callback_StateStylesChange* stateStyleChange) + void SetSelectedImpl(Ark_TabBarSymbol peer, + const Opt_SymbolGlyphModifier* selected) { if (!needGroupedLog(1)) { return; } - string out("onStateStyleChange("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, stateStyleChange); + string out("setSelected("); + WriteToString(&out, selected); out.append(") \n"); appendGroupedLog(1, out); } - } // StateStylesOpsAccessor - namespace StyledStringAccessor { - void DestroyPeerImpl(Ark_StyledString peer) + } // TabBarSymbolAccessor + namespace TabContentTransitionProxyAccessor { + void DestroyPeerImpl(Ark_TabContentTransitionProxy peer) { if (!needGroupedLog(1)) { @@ -42055,21 +45493,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_StyledString ConstructImpl(const Ark_Union_String_ImageAttachment_CustomSpan* value, - const Opt_Array_StyleOptions* styles) + Ark_TabContentTransitionProxy ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new StyledString("); - WriteToString(&out, value); - out.append(", "); - WriteToString(&out, styles); + string out("new TabContentTransitionProxy("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -42083,177 +45517,156 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_String GetStringImpl(Ark_StyledString peer) + void FinishTransitionImpl(Ark_TabContentTransitionProxy peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getString("); + string out("finishTransition("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Array_SpanStyle GetStylesImpl(Ark_StyledString peer, - const Ark_Number* start, - const Ark_Number* length, - const Opt_StyledStringKey* styledKey) + Ark_Number GetFromImpl(Ark_TabContentTransitionProxy peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getStyles("); - WriteToString(&out, start); - out.append(", "); - WriteToString(&out, length); - out.append(", "); - WriteToString(&out, styledKey); + string out("getFrom("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - Ark_Boolean EqualsImpl(Ark_StyledString peer, - Ark_StyledString other) + void SetFromImpl(Ark_TabContentTransitionProxy peer, + const Ark_Number* from) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("equals("); - WriteToString(&out, other); + string out("setFrom("); + WriteToString(&out, from); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_StyledString SubStyledStringImpl(Ark_StyledString peer, - const Ark_Number* start, - const Opt_Number* length) + Ark_Number GetToImpl(Ark_TabContentTransitionProxy peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {42}; } - string out("subStyledString("); - WriteToString(&out, start); - out.append(", "); - WriteToString(&out, length); + string out("getTo("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {42}; } - void FromHtmlImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - const Ark_String* html, - const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) + void SetToImpl(Ark_TabContentTransitionProxy peer, + const Ark_Number* to) { if (!needGroupedLog(1)) { return; } - string out("fromHtml("); - WriteToString(&out, html); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("setTo("); + WriteToString(&out, to); out.append(") \n"); appendGroupedLog(1, out); } - Ark_String ToHtmlImpl(Ark_StyledString styledString) + } // TabContentTransitionProxyAccessor + namespace TabsControllerAccessor { + void DestroyPeerImpl(Ark_TabsController peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("toHtml("); - WriteToString(&out, styledString); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_Buffer Marshalling0Impl(Ark_StyledString styledString, - const StyledStringMarshallCallback* callback_) + Ark_TabsController ConstructImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("marshalling0("); - WriteToString(&out, styledString); - out.append(", "); - WriteToString(&out, callback_); + string out("new TabsController("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - void Unmarshalling0Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - const Ark_Buffer* buffer, - const StyledStringUnmarshallCallback* callback_, - const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("unmarshalling0("); - WriteToString(&out, buffer); - out.append(", "); - WriteToString(&out, callback_); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_Buffer Marshalling1Impl(Ark_StyledString styledString) + void ChangeIndexImpl(Ark_TabsController peer, + const Ark_Number* value) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("marshalling1("); - WriteToString(&out, styledString); + string out("changeIndex("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void Unmarshalling1Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - const Ark_Buffer* buffer, - const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) + void PreloadItemsImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_TabsController peer, + const Opt_Array_Number* indices, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { return; } - string out("unmarshalling1("); - WriteToString(&out, buffer); + string out("preloadItems("); + WriteToString(&out, indices); out.append(", "); WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetLengthImpl(Ark_StyledString peer) + void SetTabBarTranslateImpl(Ark_TabsController peer, + const Ark_TranslateOptions* translate) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getLength("); + string out("setTabBarTranslate("); + WriteToString(&out, translate); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - } // StyledStringAccessor - namespace StyledStringControllerAccessor { - void DestroyPeerImpl(Ark_StyledStringController peer) + void SetTabBarOpacityImpl(Ark_TabsController peer, + const Ark_Number* opacity) + { + if (!needGroupedLog(1)) + { + return; + } + string out("setTabBarOpacity("); + WriteToString(&out, opacity); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // TabsControllerAccessor + namespace TapGestureEventAccessor { + void DestroyPeerImpl(Ark_TapGestureEvent peer) { if (!needGroupedLog(1)) { @@ -42263,17 +45676,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_StyledStringController ConstructImpl() + Ark_TapGestureEvent ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new StyledStringController("); + string out("new TapGestureEvent("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -42287,103 +45700,108 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void SetStyledStringImpl(Ark_StyledStringController peer, - Ark_StyledString styledString) + } // TapGestureEventAccessor + namespace TapGestureInterfaceAccessor { + void DestroyPeerImpl(Ark_TapGestureInterface peer) { if (!needGroupedLog(1)) { return; } - string out("setStyledString("); - WriteToString(&out, styledString); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_MutableStyledString GetStyledStringImpl(Ark_StyledStringController peer) + Ark_TapGestureInterface ConstructImpl(const Ark_TapGestureParameters* value) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(100); } - string out("getStyledString("); + string out("new TapGestureInterface("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(100); } - } // StyledStringControllerAccessor - namespace SubmitEventAccessor { - void DestroyPeerImpl(Ark_SubmitEvent peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("destroyPeer("); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_SubmitEvent ConstructImpl() + Ark_TapGestureInterface OnActionImpl(Ark_TapGestureInterface peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(300); } - string out("new SubmitEvent("); + string out("onAction("); + WriteToString(&out, event); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(300); } - Ark_NativePointer GetFinalizerImpl() + } // TapGestureInterfaceAccessor + namespace TapRecognizerAccessor { + void DestroyPeerImpl(Ark_TapRecognizer peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void KeepEditableStateImpl(Ark_SubmitEvent peer) + Ark_TapRecognizer ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("keepEditableState("); + string out("new TapRecognizer("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_String GetTextImpl(Ark_SubmitEvent peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getText("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - void SetTextImpl(Ark_SubmitEvent peer, - const Ark_String* text) + Ark_Number GetTapCountImpl(Ark_TapRecognizer peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setText("); - WriteToString(&out, text); + string out("getTapCount("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - } // SubmitEventAccessor - namespace SwipeGestureAccessor { - void DestroyPeerImpl(Ark_SwipeGesture peer) + } // TapRecognizerAccessor + namespace text_FontCollectionAccessor { + void DestroyPeerImpl(Ark_text_FontCollection peer) { if (!needGroupedLog(1)) { @@ -42393,17 +45811,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_SwipeGesture ConstructImpl() + Ark_text_FontCollection ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new SwipeGesture("); + string out("new FontCollection("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -42417,37 +45835,66 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_SwipeGesture $_instantiateImpl(const Callback_SwipeGesture* factory, - const Opt_SwipeGestureHandlerOptions* value) + Ark_text_FontCollection GetGlobalInstanceImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("$_instantiate("); - WriteToString(&out, factory); + string out("getGlobalInstance("); + out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(300); + } + void LoadFontSyncImpl(Ark_text_FontCollection peer, + const Ark_String* name, + const Ark_Union_String_Resource* path) + { + if (!needGroupedLog(1)) + { + return; + } + string out("loadFontSync("); + WriteToString(&out, name); out.append(", "); - WriteToString(&out, value); + WriteToString(&out, path); + out.append(") \n"); + appendGroupedLog(1, out); + } + void LoadFontImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_text_FontCollection peer, + const Ark_String* name, + const Ark_Union_String_Resource* path, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + { + if (!needGroupedLog(1)) + { + return; + } + string out("loadFont("); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, path); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - void OnActionImpl(Ark_SwipeGesture peer, - const Callback_GestureEvent_Void* event) + void ClearCachesImpl(Ark_text_FontCollection peer) { if (!needGroupedLog(1)) { return; } - string out("onAction("); - WriteToString(&out, event); + string out("clearCaches("); out.append(") \n"); appendGroupedLog(1, out); } - } // SwipeGestureAccessor - namespace SwipeGestureEventAccessor { - void DestroyPeerImpl(Ark_SwipeGestureEvent peer) + } // text_FontCollectionAccessor + namespace text_LineTypesetAccessor { + void DestroyPeerImpl(Ark_text_LineTypeset peer) { if (!needGroupedLog(1)) { @@ -42457,17 +45904,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_SwipeGestureEvent ConstructImpl() + Ark_text_LineTypeset ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new SwipeGestureEvent("); + string out("new LineTypeset("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -42481,359 +45928,413 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Number GetAngleImpl(Ark_SwipeGestureEvent peer) + Ark_Number GetLineBreakImpl(Ark_text_LineTypeset peer, + const Ark_Number* startIndex, + const Ark_Number* width) { if (!needGroupedLog(1)) { return {42}; } - string out("getAngle("); + string out("getLineBreak("); + WriteToString(&out, startIndex); + out.append(", "); + WriteToString(&out, width); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - void SetAngleImpl(Ark_SwipeGestureEvent peer, - const Ark_Number* angle) + Ark_text_TextLine CreateLineImpl(Ark_text_LineTypeset peer, + const Ark_Number* startIndex, + const Ark_Number* count) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setAngle("); - WriteToString(&out, angle); + string out("createLine("); + WriteToString(&out, startIndex); + out.append(", "); + WriteToString(&out, count); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_Number GetSpeedImpl(Ark_SwipeGestureEvent peer) + } // text_LineTypesetAccessor + namespace text_ParagraphAccessor { + void DestroyPeerImpl(Ark_text_Paragraph peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getSpeed("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetSpeedImpl(Ark_SwipeGestureEvent peer, - const Ark_Number* speed) + Ark_text_Paragraph ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setSpeed("); - WriteToString(&out, speed); + string out("new Paragraph("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - } // SwipeGestureEventAccessor - namespace SwiperContentTransitionProxyAccessor { - void DestroyPeerImpl(Ark_SwiperContentTransitionProxy peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("destroyPeer("); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_SwiperContentTransitionProxy ConstructImpl() + void LayoutSyncImpl(Ark_text_Paragraph peer, + const Ark_Number* width) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new SwiperContentTransitionProxy("); + string out("layoutSync("); + WriteToString(&out, width); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void LayoutImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_text_Paragraph peer, + const Ark_Number* width, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("layout("); + WriteToString(&out, width); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void FinishTransitionImpl(Ark_SwiperContentTransitionProxy peer) + void PaintImpl(Ark_text_Paragraph peer, + Ark_drawing_Canvas canvas, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { return; } - string out("finishTransition("); + string out("paint("); + WriteToString(&out, canvas); + out.append(", "); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetSelectedIndexImpl(Ark_SwiperContentTransitionProxy peer) + void PaintOnPathImpl(Ark_text_Paragraph peer, + Ark_drawing_Canvas canvas, + Ark_drawing_Path path, + const Ark_Number* hOffset, + const Ark_Number* vOffset) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getSelectedIndex("); + string out("paintOnPath("); + WriteToString(&out, canvas); + out.append(", "); + WriteToString(&out, path); + out.append(", "); + WriteToString(&out, hOffset); + out.append(", "); + WriteToString(&out, vOffset); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetSelectedIndexImpl(Ark_SwiperContentTransitionProxy peer, - const Ark_Number* selectedIndex) + Ark_Number GetMaxWidthImpl(Ark_text_Paragraph peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setSelectedIndex("); - WriteToString(&out, selectedIndex); + string out("getMaxWidth("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_Number GetIndexImpl(Ark_SwiperContentTransitionProxy peer) + Ark_Number GetHeightImpl(Ark_text_Paragraph peer) { if (!needGroupedLog(1)) { return {42}; } - string out("getIndex("); + string out("getHeight("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - void SetIndexImpl(Ark_SwiperContentTransitionProxy peer, - const Ark_Number* index) + Ark_Number GetLongestLineImpl(Ark_text_Paragraph peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setIndex("); - WriteToString(&out, index); + string out("getLongestLine("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_Number GetPositionImpl(Ark_SwiperContentTransitionProxy peer) + Ark_Number GetLongestLineWithIndentImpl(Ark_text_Paragraph peer) { if (!needGroupedLog(1)) { return {42}; } - string out("getPosition("); + string out("getLongestLineWithIndent("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - void SetPositionImpl(Ark_SwiperContentTransitionProxy peer, - const Ark_Number* position) + Ark_Number GetMinIntrinsicWidthImpl(Ark_text_Paragraph peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setPosition("); - WriteToString(&out, position); + string out("getMinIntrinsicWidth("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_Number GetMainAxisLengthImpl(Ark_SwiperContentTransitionProxy peer) + Ark_Number GetMaxIntrinsicWidthImpl(Ark_text_Paragraph peer) { if (!needGroupedLog(1)) { return {42}; } - string out("getMainAxisLength("); + string out("getMaxIntrinsicWidth("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - void SetMainAxisLengthImpl(Ark_SwiperContentTransitionProxy peer, - const Ark_Number* mainAxisLength) + Ark_Number GetAlphabeticBaselineImpl(Ark_text_Paragraph peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setMainAxisLength("); - WriteToString(&out, mainAxisLength); + string out("getAlphabeticBaseline("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - } // SwiperContentTransitionProxyAccessor - namespace SwiperControllerAccessor { - void DestroyPeerImpl(Ark_SwiperController peer) + Ark_Number GetIdeographicBaselineImpl(Ark_text_Paragraph peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("destroyPeer("); + string out("getIdeographicBaseline("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_SwiperController ConstructImpl() + Array_text_TextBox GetRectsForRangeImpl(Ark_text_Paragraph peer, + const Ark_text_Range* range, + Ark_text_RectWidthStyle widthStyle, + Ark_text_RectHeightStyle heightStyle) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new SwiperController("); + string out("getRectsForRange("); + WriteToString(&out, range); + out.append(", "); + WriteToString(&out, widthStyle); + out.append(", "); + WriteToString(&out, heightStyle); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + Array_text_TextBox GetRectsForPlaceholdersImpl(Ark_text_Paragraph peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getRectsForPlaceholders("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - void ShowNextImpl(Ark_SwiperController peer) + Ark_text_PositionWithAffinity GetGlyphPositionAtCoordinateImpl(Ark_text_Paragraph peer, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("showNext("); + string out("getGlyphPositionAtCoordinate("); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void ShowPreviousImpl(Ark_SwiperController peer) + Ark_text_Range GetWordBoundaryImpl(Ark_text_Paragraph peer, + const Ark_Number* offset) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("showPrevious("); + string out("getWordBoundary("); + WriteToString(&out, offset); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void ChangeIndexImpl(Ark_SwiperController peer, - const Ark_Number* index, - const Opt_Union_SwiperAnimationMode_Boolean* animationMode) + Ark_Number GetLineCountImpl(Ark_text_Paragraph peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("changeIndex("); - WriteToString(&out, index); - out.append(", "); - WriteToString(&out, animationMode); + string out("getLineCount("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void FinishAnimationImpl(Ark_SwiperController peer, - const Opt_VoidCallback* callback_) + Ark_Number GetLineHeightImpl(Ark_text_Paragraph peer, + const Ark_Number* line) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("finishAnimation("); - WriteToString(&out, callback_); + string out("getLineHeight("); + WriteToString(&out, line); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void PreloadItemsImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_SwiperController peer, - const Opt_Array_Number* indices, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_Number GetLineWidthImpl(Ark_text_Paragraph peer, + const Ark_Number* line) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("preloadItems("); - WriteToString(&out, indices); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("getLineWidth("); + WriteToString(&out, line); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - } // SwiperControllerAccessor - namespace SwipeRecognizerAccessor { - void DestroyPeerImpl(Ark_SwipeRecognizer peer) + Ark_Boolean DidExceedMaxLinesImpl(Ark_text_Paragraph peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("destroyPeer("); + string out("didExceedMaxLines("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Ark_SwipeRecognizer ConstructImpl() + Array_text_TextLine GetTextLinesImpl(Ark_text_Paragraph peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new SwipeRecognizer("); + string out("getTextLines("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_text_Range GetActualTextRangeImpl(Ark_text_Paragraph peer, + const Ark_Number* lineNumber, + Ark_Boolean includeSpaces) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getActualTextRange("); + WriteToString(&out, lineNumber); + out.append(", "); + WriteToString(&out, includeSpaces); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - Ark_Number GetVelocityThresholdImpl(Ark_SwipeRecognizer peer) + Array_text_LineMetrics GetLineMetrics0Impl(Ark_text_Paragraph peer) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getVelocityThreshold("); + string out("getLineMetrics0("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - Ark_SwipeDirection GetDirectionImpl(Ark_SwipeRecognizer peer) + Opt_text_LineMetrics GetLineMetrics1Impl(Ark_text_Paragraph peer, + const Ark_Number* lineNumber) { if (!needGroupedLog(1)) { return {}; } - string out("getDirection("); + string out("getLineMetrics1("); + WriteToString(&out, lineNumber); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - } // SwipeRecognizerAccessor - namespace SymbolEffectAccessor { - void DestroyPeerImpl(Ark_SymbolEffect peer) + } // text_ParagraphAccessor + namespace text_ParagraphBuilderAccessor { + void DestroyPeerImpl(Ark_text_ParagraphBuilder peer) { if (!needGroupedLog(1)) { @@ -42843,17 +46344,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_SymbolEffect ConstructImpl() + Ark_text_ParagraphBuilder ConstructImpl(const Ark_text_ParagraphStyle* paragraphStyle, + Ark_text_FontCollection fontCollection) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new SymbolEffect("); + string out("new ParagraphBuilder("); + WriteToString(&out, paragraphStyle); + out.append(", "); + WriteToString(&out, fontCollection); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -42867,114 +46372,91 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - } // SymbolEffectAccessor - namespace SystemOpsAccessor { - Ark_NativePointer StartFrameImpl() + void PushStyleImpl(Ark_text_ParagraphBuilder peer, + const Ark_text_TextStyle* textStyle) { if (!needGroupedLog(1)) { - return nullptr; + return; } - string out("StartFrame("); + string out("pushStyle("); + WriteToString(&out, textStyle); out.append(") \n"); - out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return nullptr; } - void EndFrameImpl(Ark_NativePointer root) + void PopStyleImpl(Ark_text_ParagraphBuilder peer) { if (!needGroupedLog(1)) { return; } - string out("EndFrame("); - WriteToString(&out, root); + string out("popStyle("); out.append(") \n"); appendGroupedLog(1, out); } - void SyncInstanceIdImpl(Ark_Int32 instanceId) + void AddTextImpl(Ark_text_ParagraphBuilder peer, + const Ark_String* text) { if (!needGroupedLog(1)) { return; } - string out("syncInstanceId("); - WriteToString(&out, instanceId); + string out("addText("); + WriteToString(&out, text); out.append(") \n"); appendGroupedLog(1, out); } - void RestoreInstanceIdImpl() + void AddPlaceholderImpl(Ark_text_ParagraphBuilder peer, + const Ark_text_PlaceholderSpan* placeholderSpan) { if (!needGroupedLog(1)) { return; } - string out("restoreInstanceId("); + string out("addPlaceholder("); + WriteToString(&out, placeholderSpan); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Int32 GetResourceIdImpl(const Ark_String* bundleName, - const Ark_String* moduleName, - const Array_String* params) + Ark_text_Paragraph BuildImpl(Ark_text_ParagraphBuilder peer) { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(300); } - string out("getResourceId("); - WriteToString(&out, bundleName); - out.append(", "); - WriteToString(&out, moduleName); - out.append(", "); - WriteToString(&out, params); + string out("build("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(300); } - void ResourceManagerResetImpl() + Ark_text_LineTypeset BuildLineTypesetImpl(Ark_text_ParagraphBuilder peer) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("resourceManagerReset("); + string out("buildLineTypeset("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void SetFrameCallbackImpl(const Callback_Number_Void* onFrameCallback, - const Callback_Number_Void* onIdleCallback, - const Ark_Number* delayTime) + void AddSymbolImpl(Ark_text_ParagraphBuilder peer, + const Ark_Number* symbolId) { if (!needGroupedLog(1)) { return; } - string out("setFrameCallback("); - WriteToString(&out, onFrameCallback); - out.append(", "); - WriteToString(&out, onIdleCallback); - out.append(", "); - WriteToString(&out, delayTime); - out.append(") \n"); - appendGroupedLog(1, out); - } - Array_Number ColorMetricsResourceColorImpl(const Ark_Resource* color) - { - if (!needGroupedLog(1)) - { - return {}; - } - string out("colorMetricsResourceColor("); - WriteToString(&out, color); + string out("addSymbol("); + WriteToString(&out, symbolId); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - } // SystemOpsAccessor - namespace TabBarSymbolAccessor { - void DestroyPeerImpl(Ark_TabBarSymbol peer) + } // text_ParagraphBuilderAccessor + namespace text_RunAccessor { + void DestroyPeerImpl(Ark_text_Run peer) { if (!needGroupedLog(1)) { @@ -42984,17 +46466,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_TabBarSymbol ConstructImpl() + Ark_text_Run ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new TabBarSymbol("); + string out("new Run("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -43008,151 +46490,165 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_SymbolGlyphModifier GetNormalImpl(Ark_TabBarSymbol peer) + Ark_Number GetGlyphCountImpl(Ark_text_Run peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getNormal("); + string out("getGlyphCount("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetNormalImpl(Ark_TabBarSymbol peer, - const Ark_SymbolGlyphModifier* normal) + Array_Number GetGlyphs0Impl(Ark_text_Run peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setNormal("); - WriteToString(&out, normal); + string out("getGlyphs0("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Opt_SymbolGlyphModifier GetSelectedImpl(Ark_TabBarSymbol peer) + Array_Number GetGlyphs1Impl(Ark_text_Run peer, + const Ark_text_Range* range) { if (!needGroupedLog(1)) { return {}; } - string out("getSelected("); + string out("getGlyphs1("); + WriteToString(&out, range); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetSelectedImpl(Ark_TabBarSymbol peer, - const Opt_SymbolGlyphModifier* selected) + Array_common2D_Point GetPositions0Impl(Ark_text_Run peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setSelected("); - WriteToString(&out, selected); + string out("getPositions0("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // TabBarSymbolAccessor - namespace TabContentTransitionProxyAccessor { - void DestroyPeerImpl(Ark_TabContentTransitionProxy peer) + Array_common2D_Point GetPositions1Impl(Ark_text_Run peer, + const Ark_text_Range* range) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("destroyPeer("); + string out("getPositions1("); + WriteToString(&out, range); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_TabContentTransitionProxy ConstructImpl() + Array_common2D_Point GetOffsetsImpl(Ark_text_Run peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new TabContentTransitionProxy("); + string out("getOffsets("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_drawing_Font GetFontImpl(Ark_text_Run peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - string out("getFinalizer("); + string out("getFont("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - void FinishTransitionImpl(Ark_TabContentTransitionProxy peer) + void PaintImpl(Ark_text_Run peer, + Ark_drawing_Canvas canvas, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { return; } - string out("finishTransition("); + string out("paint("); + WriteToString(&out, canvas); + out.append(", "); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetFromImpl(Ark_TabContentTransitionProxy peer) + Array_Number GetStringIndicesImpl(Ark_text_Run peer, + const Ark_text_Range* range) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getFrom("); + string out("getStringIndices("); + WriteToString(&out, range); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - void SetFromImpl(Ark_TabContentTransitionProxy peer, - const Ark_Number* from) + Ark_text_Range GetStringRangeImpl(Ark_text_Run peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setFrom("); - WriteToString(&out, from); + string out("getStringRange("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_Number GetToImpl(Ark_TabContentTransitionProxy peer) + Ark_text_TypographicBounds GetTypographicBoundsImpl(Ark_text_Run peer) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getTo("); + string out("getTypographicBounds("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - void SetToImpl(Ark_TabContentTransitionProxy peer, - const Ark_Number* to) + Ark_common2D_Rect GetImageBoundsImpl(Ark_text_Run peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setTo("); - WriteToString(&out, to); + string out("getImageBounds("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // TabContentTransitionProxyAccessor - namespace TabsControllerAccessor { - void DestroyPeerImpl(Ark_TabsController peer) + } // text_RunAccessor + namespace text_TextLineAccessor { + void DestroyPeerImpl(Ark_text_TextLine peer) { if (!needGroupedLog(1)) { @@ -43162,17 +46658,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_TabsController ConstructImpl() + Ark_text_TextLine ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new TabsController("); + string out("new TextLine("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -43186,149 +46682,176 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void ChangeIndexImpl(Ark_TabsController peer, - const Ark_Number* value) + Ark_Number GetGlyphCountImpl(Ark_text_TextLine peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("changeIndex("); - WriteToString(&out, value); + string out("getGlyphCount("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void PreloadItemsImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_TabsController peer, - const Opt_Array_Number* indices, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_text_Range GetTextRangeImpl(Ark_text_TextLine peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("preloadItems("); - WriteToString(&out, indices); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("getTextRange("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SetTabBarTranslateImpl(Ark_TabsController peer, - const Ark_TranslateOptions* translate) + Array_text_Run GetGlyphRunsImpl(Ark_text_TextLine peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setTabBarTranslate("); - WriteToString(&out, translate); + string out("getGlyphRuns("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SetTabBarOpacityImpl(Ark_TabsController peer, - const Ark_Number* opacity) + void PaintImpl(Ark_text_TextLine peer, + Ark_drawing_Canvas canvas, + const Ark_Number* x, + const Ark_Number* y) { if (!needGroupedLog(1)) { return; } - string out("setTabBarOpacity("); - WriteToString(&out, opacity); + string out("paint("); + WriteToString(&out, canvas); + out.append(", "); + WriteToString(&out, x); + out.append(", "); + WriteToString(&out, y); out.append(") \n"); appendGroupedLog(1, out); } - } // TabsControllerAccessor - namespace TapGestureEventAccessor { - void DestroyPeerImpl(Ark_TapGestureEvent peer) + Ark_text_TextLine CreateTruncatedLineImpl(Ark_text_TextLine peer, + const Ark_Number* width, + Ark_text_EllipsisMode ellipsisMode, + const Ark_String* ellipsis) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("destroyPeer("); + string out("createTruncatedLine("); + WriteToString(&out, width); + out.append(", "); + WriteToString(&out, ellipsisMode); + out.append(", "); + WriteToString(&out, ellipsis); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_TapGestureEvent ConstructImpl() + Ark_text_TypographicBounds GetTypographicBoundsImpl(Ark_text_TextLine peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new TapGestureEvent("); + string out("getTypographicBounds("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_common2D_Rect GetImageBoundsImpl(Ark_text_TextLine peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getImageBounds("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - } // TapGestureEventAccessor - namespace TapGestureInterfaceAccessor { - void DestroyPeerImpl(Ark_TapGestureInterface peer) + Ark_Number GetTrailingSpaceWidthImpl(Ark_text_TextLine peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("destroyPeer("); + string out("getTrailingSpaceWidth("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_TapGestureInterface ConstructImpl(const Ark_TapGestureParameters* value) + Ark_Number GetStringIndexForPositionImpl(Ark_text_TextLine peer, + const Ark_common2D_Point* point) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new TapGestureInterface("); - WriteToString(&out, value); + string out("getStringIndexForPosition("); + WriteToString(&out, point); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number GetOffsetForStringIndexImpl(Ark_text_TextLine peer, + const Ark_Number* index) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {42}; } - string out("getFinalizer("); + string out("getOffsetForStringIndex("); + WriteToString(&out, index); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {42}; } - Ark_TapGestureInterface OnActionImpl(Ark_TapGestureInterface peer, - const Callback_GestureEvent_Void* event) + void EnumerateCaretOffsetsImpl(Ark_text_TextLine peer, + const text_Callback_Number_Number_Boolean_Boolean* callback_) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("onAction("); - WriteToString(&out, event); + string out("enumerateCaretOffsets("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // TapGestureInterfaceAccessor - namespace TapRecognizerAccessor { - void DestroyPeerImpl(Ark_TapRecognizer peer) + Ark_Number GetAlignmentOffsetImpl(Ark_text_TextLine peer, + const Ark_Number* alignmentFactor, + const Ark_Number* alignmentWidth) + { + if (!needGroupedLog(1)) + { + return {42}; + } + string out("getAlignmentOffset("); + WriteToString(&out, alignmentFactor); + out.append(", "); + WriteToString(&out, alignmentWidth); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + } // text_TextLineAccessor + namespace TextAreaControllerAccessor { + void DestroyPeerImpl(Ark_TextAreaController peer) { if (!needGroupedLog(1)) { @@ -43338,17 +46861,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_TapRecognizer ConstructImpl() + Ark_TextAreaController ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new TapRecognizer("); + string out("new TextAreaController("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -43362,114 +46885,125 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Number GetTapCountImpl(Ark_TapRecognizer peer) + void CaretPositionImpl(Ark_TextAreaController peer, + const Ark_Number* value) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getTapCount("); + string out("caretPosition("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - } // TapRecognizerAccessor - namespace text_FontCollectionAccessor { - void DestroyPeerImpl(Ark_text_FontCollection peer) + void SetTextSelectionImpl(Ark_TextAreaController peer, + const Ark_Number* selectionStart, + const Ark_Number* selectionEnd, + const Opt_SelectionOptions* options) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setTextSelection("); + WriteToString(&out, selectionStart); + out.append(", "); + WriteToString(&out, selectionEnd); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); appendGroupedLog(1, out); } - Ark_text_FontCollection ConstructImpl() + void StopEditingImpl(Ark_TextAreaController peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new FontCollection("); + string out("stopEditing("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + } // TextAreaControllerAccessor + namespace TextBaseControllerAccessor { + void DestroyPeerImpl(Ark_TextBaseController peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_text_FontCollection GetGlobalInstanceImpl() + Ark_TextBaseController ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(100); } - string out("getGlobalInstance("); + string out("new TextBaseController("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(100); } - void LoadFontSyncImpl(Ark_text_FontCollection peer, - const Ark_String* name, - const Ark_Union_String_Resource* path) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("loadFontSync("); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, path); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void LoadFontImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_text_FontCollection peer, - const Ark_String* name, - const Ark_Union_String_Resource* path, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + void SetSelectionImpl(Ark_TextBaseController peer, + const Ark_Number* selectionStart, + const Ark_Number* selectionEnd, + const Opt_SelectionOptions* options) { if (!needGroupedLog(1)) { return; } - string out("loadFont("); - WriteToString(&out, name); + string out("setSelection("); + WriteToString(&out, selectionStart); out.append(", "); - WriteToString(&out, path); + WriteToString(&out, selectionEnd); out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + WriteToString(&out, options); out.append(") \n"); appendGroupedLog(1, out); } - void ClearCachesImpl(Ark_text_FontCollection peer) + void CloseSelectionMenuImpl(Ark_TextBaseController peer) { if (!needGroupedLog(1)) { return; } - string out("clearCaches("); + string out("closeSelectionMenu("); out.append(") \n"); appendGroupedLog(1, out); } - } // text_FontCollectionAccessor - namespace text_LineTypesetAccessor { - void DestroyPeerImpl(Ark_text_LineTypeset peer) + Ark_LayoutManager GetLayoutManagerImpl(Ark_TextBaseController peer) + { + if (!needGroupedLog(1)) + { + return reinterpret_cast(300); + } + string out("getLayoutManager("); + out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); + appendGroupedLog(1, out); + return reinterpret_cast(300); + } + } // TextBaseControllerAccessor + namespace TextClockControllerAccessor { + void DestroyPeerImpl(Ark_TextClockController peer) { if (!needGroupedLog(1)) { @@ -43479,17 +47013,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_text_LineTypeset ConstructImpl() + Ark_TextClockController ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new LineTypeset("); + string out("new TextClockController("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -43503,43 +47037,29 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Number GetLineBreakImpl(Ark_text_LineTypeset peer, - const Ark_Number* startIndex, - const Ark_Number* width) + void StartImpl(Ark_TextClockController peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getLineBreak("); - WriteToString(&out, startIndex); - out.append(", "); - WriteToString(&out, width); + string out("start("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_text_TextLine CreateLineImpl(Ark_text_LineTypeset peer, - const Ark_Number* startIndex, - const Ark_Number* count) + void StopImpl(Ark_TextClockController peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("createLine("); - WriteToString(&out, startIndex); - out.append(", "); - WriteToString(&out, count); + string out("stop("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // text_LineTypesetAccessor - namespace text_ParagraphAccessor { - void DestroyPeerImpl(Ark_text_Paragraph peer) + } // TextClockControllerAccessor + namespace TextContentControllerBaseAccessor { + void DestroyPeerImpl(Ark_TextContentControllerBase peer) { if (!needGroupedLog(1)) { @@ -43549,17 +47069,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_text_Paragraph ConstructImpl() + Ark_TextContentControllerBase ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new Paragraph("); + string out("new TextContentControllerBase("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -43573,465 +47093,457 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void LayoutSyncImpl(Ark_text_Paragraph peer, - const Ark_Number* width) + Ark_CaretOffset GetCaretOffsetImpl(Ark_TextContentControllerBase peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("layoutSync("); - WriteToString(&out, width); + string out("getCaretOffset("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void LayoutImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_text_Paragraph peer, - const Ark_Number* width, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_RectResult GetTextContentRectImpl(Ark_TextContentControllerBase peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("layout("); - WriteToString(&out, width); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("getTextContentRect("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void PaintImpl(Ark_text_Paragraph peer, - Ark_drawing_Canvas canvas, - const Ark_Number* x, - const Ark_Number* y) + Ark_Number GetTextContentLineCountImpl(Ark_TextContentControllerBase peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("paint("); - WriteToString(&out, canvas); - out.append(", "); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("getTextContentLineCount("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void PaintOnPathImpl(Ark_text_Paragraph peer, - Ark_drawing_Canvas canvas, - Ark_drawing_Path path, - const Ark_Number* hOffset, - const Ark_Number* vOffset) + Ark_Number AddTextImpl(Ark_TextContentControllerBase peer, + const Ark_String* text, + const Opt_TextContentControllerOptions* textOperationOptions) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("paintOnPath("); - WriteToString(&out, canvas); - out.append(", "); - WriteToString(&out, path); - out.append(", "); - WriteToString(&out, hOffset); + string out("addText("); + WriteToString(&out, text); out.append(", "); - WriteToString(&out, vOffset); + WriteToString(&out, textOperationOptions); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_Number GetMaxWidthImpl(Ark_text_Paragraph peer) + void DeleteTextImpl(Ark_TextContentControllerBase peer, + const Opt_TextRange* range) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getMaxWidth("); + string out("deleteText("); + WriteToString(&out, range); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Number GetHeightImpl(Ark_text_Paragraph peer) + Ark_TextRange GetSelectionImpl(Ark_TextContentControllerBase peer) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getHeight("); + string out("getSelection("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - Ark_Number GetLongestLineImpl(Ark_text_Paragraph peer) + void ClearPreviewTextImpl(Ark_TextContentControllerBase peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getLongestLine("); + string out("clearPreviewText("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Number GetLongestLineWithIndentImpl(Ark_text_Paragraph peer) + Ark_String GetTextImpl(Ark_TextContentControllerBase peer, + const Opt_TextRange* range) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getLongestLineWithIndent("); + string out("getText("); + WriteToString(&out, range); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - Ark_Number GetMinIntrinsicWidthImpl(Ark_text_Paragraph peer) + } // TextContentControllerBaseAccessor + namespace TextControllerAccessor { + void DestroyPeerImpl(Ark_TextController peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getMinIntrinsicWidth("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Number GetMaxIntrinsicWidthImpl(Ark_text_Paragraph peer) + Ark_TextController ConstructImpl() { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(100); } - string out("getMaxIntrinsicWidth("); + string out("new TextController("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(100); } - Ark_Number GetAlphabeticBaselineImpl(Ark_text_Paragraph peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {42}; + return fnPtr(dummyClassFinalizer); } - string out("getAlphabeticBaseline("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {42}; + return fnPtr(dummyClassFinalizer); } - Ark_Number GetIdeographicBaselineImpl(Ark_text_Paragraph peer) + void CloseSelectionMenuImpl(Ark_TextController peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getIdeographicBaseline("); + string out("closeSelectionMenu("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Array_text_TextBox GetRectsForRangeImpl(Ark_text_Paragraph peer, - const Ark_text_Range* range, - Ark_text_RectWidthStyle widthStyle, - Ark_text_RectHeightStyle heightStyle) + void SetStyledStringImpl(Ark_TextController peer, + Ark_StyledString value) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getRectsForRange("); - WriteToString(&out, range); - out.append(", "); - WriteToString(&out, widthStyle); - out.append(", "); - WriteToString(&out, heightStyle); + string out("setStyledString("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Array_text_TextBox GetRectsForPlaceholdersImpl(Ark_text_Paragraph peer) + Ark_LayoutManager GetLayoutManagerImpl(Ark_TextController peer) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getRectsForPlaceholders("); + string out("getLayoutManager("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - Ark_text_PositionWithAffinity GetGlyphPositionAtCoordinateImpl(Ark_text_Paragraph peer, - const Ark_Number* x, - const Ark_Number* y) + } // TextControllerAccessor + namespace TextEditControllerExAccessor { + void DestroyPeerImpl(Ark_TextEditControllerEx peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getGlyphPositionAtCoordinate("); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_text_Range GetWordBoundaryImpl(Ark_text_Paragraph peer, - const Ark_Number* offset) + Ark_TextEditControllerEx ConstructImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getWordBoundary("); - WriteToString(&out, offset); + string out("new TextEditControllerEx("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - Ark_Number GetLineCountImpl(Ark_text_Paragraph peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {42}; + return fnPtr(dummyClassFinalizer); } - string out("getLineCount("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {42}; + return fnPtr(dummyClassFinalizer); } - Ark_Number GetLineHeightImpl(Ark_text_Paragraph peer, - const Ark_Number* line) + Ark_Boolean IsEditingImpl(Ark_TextEditControllerEx peer) { if (!needGroupedLog(1)) { - return {42}; + return 0; } - string out("getLineHeight("); - WriteToString(&out, line); + string out("isEditing("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {42}; + return 0; } - Ark_Number GetLineWidthImpl(Ark_text_Paragraph peer, - const Ark_Number* line) + void StopEditingImpl(Ark_TextEditControllerEx peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getLineWidth("); - WriteToString(&out, line); + string out("stopEditing("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Boolean DidExceedMaxLinesImpl(Ark_text_Paragraph peer) + Ark_Boolean SetCaretOffsetImpl(Ark_TextEditControllerEx peer, + const Ark_Number* offset) { if (!needGroupedLog(1)) { return 0; } - string out("didExceedMaxLines("); + string out("setCaretOffset("); + WriteToString(&out, offset); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - Array_text_TextLine GetTextLinesImpl(Ark_text_Paragraph peer) - { - if (!needGroupedLog(1)) - { - return {}; - } - string out("getTextLines("); - out.append(") \n"); - out.append("[return {}] \n"); - appendGroupedLog(1, out); - return {}; - } - Ark_text_Range GetActualTextRangeImpl(Ark_text_Paragraph peer, - const Ark_Number* lineNumber, - Ark_Boolean includeSpaces) + Ark_Number GetCaretOffsetImpl(Ark_TextEditControllerEx peer) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getActualTextRange("); - WriteToString(&out, lineNumber); - out.append(", "); - WriteToString(&out, includeSpaces); + string out("getCaretOffset("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - Array_text_LineMetrics GetLineMetrics0Impl(Ark_text_Paragraph peer) + Ark_PreviewText GetPreviewTextImpl(Ark_TextEditControllerEx peer) { if (!needGroupedLog(1)) { return {}; } - string out("getLineMetrics0("); + string out("getPreviewText("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Opt_text_LineMetrics GetLineMetrics1Impl(Ark_text_Paragraph peer, - const Ark_Number* lineNumber) + } // TextEditControllerExAccessor + namespace TextFieldOpsAccessor { + Ark_NativePointer RegisterTextFieldValueCallbackImpl(Ark_NativePointer node, + const Ark_ResourceStr* value, + const TextFieldValueCallback* callback) { if (!needGroupedLog(1)) { - return {}; + return nullptr; } - string out("getLineMetrics1("); - WriteToString(&out, lineNumber); + string out("registerTextFieldValueCallback("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, value); + out.append(", "); + WriteToString(&out, callback); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return {}; + return nullptr; } - } // text_ParagraphAccessor - namespace text_ParagraphBuilderAccessor { - void DestroyPeerImpl(Ark_text_ParagraphBuilder peer) + Ark_NativePointer TextFieldOpsSetWidthImpl(Ark_NativePointer node, + const Opt_Union_Length_LayoutPolicy* value) { if (!needGroupedLog(1)) { - return; + return nullptr; } - string out("destroyPeer("); + string out("textFieldOpsSetWidth("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, value); out.append(") \n"); + out.append("[return nullptr] \n"); appendGroupedLog(1, out); + return nullptr; } - Ark_text_ParagraphBuilder ConstructImpl(const Ark_text_ParagraphStyle* paragraphStyle, - Ark_text_FontCollection fontCollection) + Ark_NativePointer TextFieldOpsSetHeightImpl(Ark_NativePointer node, + const Opt_Union_Length_LayoutPolicy* value) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return nullptr; } - string out("new ParagraphBuilder("); - WriteToString(&out, paragraphStyle); + string out("textFieldOpsSetHeight("); + WriteToString(&out, node); out.append(", "); - WriteToString(&out, fontCollection); + WriteToString(&out, value); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return nullptr; } - Ark_NativePointer GetFinalizerImpl() + Ark_NativePointer TextFieldOpsSetPaddingImpl(Ark_NativePointer node, + const Opt_Union_Padding_Length_LocalizedPadding* value) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return nullptr; } - string out("getFinalizer("); + string out("textFieldOpsSetPadding("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, value); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return nullptr; } - void PushStyleImpl(Ark_text_ParagraphBuilder peer, - const Ark_text_TextStyle* textStyle) + Ark_NativePointer TextFieldOpsSetMarginImpl(Ark_NativePointer node, + const Opt_Union_Padding_Length_LocalizedPadding* value) { if (!needGroupedLog(1)) { - return; + return nullptr; } - string out("pushStyle("); - WriteToString(&out, textStyle); + string out("textFieldOpsSetMargin("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, value); out.append(") \n"); + out.append("[return nullptr] \n"); appendGroupedLog(1, out); + return nullptr; } - void PopStyleImpl(Ark_text_ParagraphBuilder peer) + Ark_NativePointer TextFieldOpsSetBorderImpl(Ark_NativePointer node, + const Opt_BorderOptions* value) { if (!needGroupedLog(1)) { - return; + return nullptr; } - string out("popStyle("); + string out("textFieldOpsSetBorder("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, value); out.append(") \n"); + out.append("[return nullptr] \n"); appendGroupedLog(1, out); + return nullptr; } - void AddTextImpl(Ark_text_ParagraphBuilder peer, - const Ark_String* text) + Ark_NativePointer TextFieldOpsSetBorderWidthImpl(Ark_NativePointer node, + const Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths* value) { if (!needGroupedLog(1)) { - return; + return nullptr; } - string out("addText("); - WriteToString(&out, text); + string out("textFieldOpsSetBorderWidth("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, value); out.append(") \n"); + out.append("[return nullptr] \n"); appendGroupedLog(1, out); + return nullptr; } - void AddPlaceholderImpl(Ark_text_ParagraphBuilder peer, - const Ark_text_PlaceholderSpan* placeholderSpan) + Ark_NativePointer TextFieldOpsSetBorderColorImpl(Ark_NativePointer node, + const Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors* value) { if (!needGroupedLog(1)) { - return; + return nullptr; } - string out("addPlaceholder("); - WriteToString(&out, placeholderSpan); + string out("textFieldOpsSetBorderColor("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, value); out.append(") \n"); + out.append("[return nullptr] \n"); appendGroupedLog(1, out); + return nullptr; } - Ark_text_Paragraph BuildImpl(Ark_text_ParagraphBuilder peer) + Ark_NativePointer TextFieldOpsSetBorderStyleImpl(Ark_NativePointer node, + const Opt_Union_BorderStyle_EdgeStyles* value) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return nullptr; } - string out("build("); + string out("textFieldOpsSetBorderStyle("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, value); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return nullptr; } - Ark_text_LineTypeset BuildLineTypesetImpl(Ark_text_ParagraphBuilder peer) + Ark_NativePointer TextFieldOpsSetBorderRadiusImpl(Ark_NativePointer node, + const Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses* value) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return nullptr; } - string out("buildLineTypeset("); + string out("textFieldOpsSetBorderRadius("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, value); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return nullptr; } - void AddSymbolImpl(Ark_text_ParagraphBuilder peer, - const Ark_Number* symbolId) + Ark_NativePointer TextFieldOpsSetBackgroundColorImpl(Ark_NativePointer node, + const Opt_ResourceColor* value) { if (!needGroupedLog(1)) { - return; + return nullptr; } - string out("addSymbol("); - WriteToString(&out, symbolId); + string out("textFieldOpsSetBackgroundColor("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, value); out.append(") \n"); + out.append("[return nullptr] \n"); appendGroupedLog(1, out); + return nullptr; } - } // text_ParagraphBuilderAccessor - namespace text_RunAccessor { - void DestroyPeerImpl(Ark_text_Run peer) + } // TextFieldOpsAccessor + namespace TextInputControllerAccessor { + void DestroyPeerImpl(Ark_TextInputController peer) { if (!needGroupedLog(1)) { @@ -44041,17 +47553,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_text_Run ConstructImpl() + Ark_TextInputController ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new Run("); + string out("new TextInputController("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -44065,368 +47577,316 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Number GetGlyphCountImpl(Ark_text_Run peer) - { - if (!needGroupedLog(1)) - { - return {42}; - } - string out("getGlyphCount("); - out.append(") \n"); - out.append("[return {42}] \n"); - appendGroupedLog(1, out); - return {42}; - } - Array_Number GetGlyphs0Impl(Ark_text_Run peer) + void CaretPositionImpl(Ark_TextInputController peer, + const Ark_Number* value) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getGlyphs0("); + string out("caretPosition("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Array_Number GetGlyphs1Impl(Ark_text_Run peer, - const Ark_text_Range* range) + void SetTextSelectionImpl(Ark_TextInputController peer, + const Ark_Number* selectionStart, + const Ark_Number* selectionEnd, + const Opt_SelectionOptions* options) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getGlyphs1("); - WriteToString(&out, range); + string out("setTextSelection("); + WriteToString(&out, selectionStart); + out.append(", "); + WriteToString(&out, selectionEnd); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Array_common2D_Point GetPositions0Impl(Ark_text_Run peer) + void StopEditingImpl(Ark_TextInputController peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getPositions0("); + string out("stopEditing("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Array_common2D_Point GetPositions1Impl(Ark_text_Run peer, - const Ark_text_Range* range) + } // TextInputControllerAccessor + namespace TextMenuControllerAccessor { + void DestroyPeerImpl(Ark_TextMenuController peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getPositions1("); - WriteToString(&out, range); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Array_common2D_Point GetOffsetsImpl(Ark_text_Run peer) + Ark_TextMenuController ConstructImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getOffsets("); + string out("new TextMenuController("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - Ark_drawing_Font GetFontImpl(Ark_text_Run peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - string out("getFont("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - void PaintImpl(Ark_text_Run peer, - Ark_drawing_Canvas canvas, - const Ark_Number* x, - const Ark_Number* y) + void SetMenuOptionsImpl(Ark_TextMenuController peer, + const Ark_TextMenuOptions* options) { if (!needGroupedLog(1)) { return; } - string out("paint("); - WriteToString(&out, canvas); - out.append(", "); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); - out.append(") \n"); - appendGroupedLog(1, out); - } - Array_Number GetStringIndicesImpl(Ark_text_Run peer, - const Ark_text_Range* range) - { - if (!needGroupedLog(1)) - { - return {}; - } - string out("getStringIndices("); - WriteToString(&out, range); + string out("setMenuOptions("); + WriteToString(&out, options); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_text_Range GetStringRangeImpl(Ark_text_Run peer) + } // TextMenuControllerAccessor + namespace TextMenuItemIdAccessor { + void DestroyPeerImpl(Ark_TextMenuItemId peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getStringRange("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_text_TypographicBounds GetTypographicBoundsImpl(Ark_text_Run peer) + Ark_TextMenuItemId ConstructImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getTypographicBounds("); + string out("new TextMenuItemId("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - Ark_common2D_Rect GetImageBoundsImpl(Ark_text_Run peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getImageBounds("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - } // text_RunAccessor - namespace text_TextLineAccessor { - void DestroyPeerImpl(Ark_text_TextLine peer) + Ark_TextMenuItemId OfImpl(const Ark_ResourceStr* id) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("destroyPeer("); + string out("of("); + WriteToString(&out, id); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_text_TextLine ConstructImpl() + Ark_Boolean EqualsImpl(Ark_TextMenuItemId peer, + Ark_TextMenuItemId id) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return 0; } - string out("new TextLine("); + string out("equals("); + WriteToString(&out, id); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return 0; } - Ark_NativePointer GetFinalizerImpl() + Ark_TextMenuItemId GetCUTImpl() { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - string out("getFinalizer("); + string out("getCUT("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - Ark_Number GetGlyphCountImpl(Ark_text_TextLine peer) + Ark_TextMenuItemId GetCOPYImpl() { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("getGlyphCount("); + string out("getCOPY("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - Ark_text_Range GetTextRangeImpl(Ark_text_TextLine peer) + Ark_TextMenuItemId GetPASTEImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getTextRange("); + string out("getPASTE("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - Array_text_Run GetGlyphRunsImpl(Ark_text_TextLine peer) + Ark_TextMenuItemId GetSELECT_ALLImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getGlyphRuns("); + string out("getSELECT_ALL("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - void PaintImpl(Ark_text_TextLine peer, - Ark_drawing_Canvas canvas, - const Ark_Number* x, - const Ark_Number* y) + Ark_TextMenuItemId GetCOLLABORATION_SERVICEImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("paint("); - WriteToString(&out, canvas); - out.append(", "); - WriteToString(&out, x); - out.append(", "); - WriteToString(&out, y); + string out("getCOLLABORATION_SERVICE("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_text_TextLine CreateTruncatedLineImpl(Ark_text_TextLine peer, - const Ark_Number* width, - Ark_text_EllipsisMode ellipsisMode, - const Ark_String* ellipsis) + Ark_TextMenuItemId GetCAMERA_INPUTImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(300); } - string out("createTruncatedLine("); - WriteToString(&out, width); - out.append(", "); - WriteToString(&out, ellipsisMode); - out.append(", "); - WriteToString(&out, ellipsis); + string out("getCAMERA_INPUT("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(300); } - Ark_text_TypographicBounds GetTypographicBoundsImpl(Ark_text_TextLine peer) + Ark_TextMenuItemId GetAI_WRITERImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getTypographicBounds("); + string out("getAI_WRITER("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - Ark_common2D_Rect GetImageBoundsImpl(Ark_text_TextLine peer) + Ark_TextMenuItemId GetTRANSLATEImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getImageBounds("); + string out("getTRANSLATE("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - Ark_Number GetTrailingSpaceWidthImpl(Ark_text_TextLine peer) + Ark_TextMenuItemId GetSEARCHImpl() { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("getTrailingSpaceWidth("); + string out("getSEARCH("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - Ark_Number GetStringIndexForPositionImpl(Ark_text_TextLine peer, - const Ark_common2D_Point* point) + Ark_TextMenuItemId GetSHAREImpl() { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("getStringIndexForPosition("); - WriteToString(&out, point); + string out("getSHARE("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - Ark_Number GetOffsetForStringIndexImpl(Ark_text_TextLine peer, - const Ark_Number* index) + } // TextMenuItemIdAccessor + namespace TextPickerDialogAccessor { + void DestroyPeerImpl(Ark_TextPickerDialog peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getOffsetForStringIndex("); - WriteToString(&out, index); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void EnumerateCaretOffsetsImpl(Ark_text_TextLine peer, - const text_Callback_Number_Number_Boolean_Boolean* callback_) + Ark_TextPickerDialog ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("enumerateCaretOffsets("); - WriteToString(&out, callback_); + string out("new TextPickerDialog("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Ark_Number GetAlignmentOffsetImpl(Ark_text_TextLine peer, - const Ark_Number* alignmentFactor, - const Ark_Number* alignmentWidth) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {42}; + return fnPtr(dummyClassFinalizer); } - string out("getAlignmentOffset("); - WriteToString(&out, alignmentFactor); - out.append(", "); - WriteToString(&out, alignmentWidth); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {42}; + return fnPtr(dummyClassFinalizer); } - } // text_TextLineAccessor - namespace TextAreaControllerAccessor { - void DestroyPeerImpl(Ark_TextAreaController peer) + } // TextPickerDialogAccessor + namespace TextShadowStyleAccessor { + void DestroyPeerImpl(Ark_TextShadowStyle peer) { if (!needGroupedLog(1)) { @@ -44436,17 +47896,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_TextAreaController ConstructImpl() + Ark_TextShadowStyle ConstructImpl(const Ark_Union_ShadowOptions_Array_ShadowOptions* value) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new TextAreaController("); + string out("new TextShadowStyle("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -44460,125 +47921,118 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void CaretPositionImpl(Ark_TextAreaController peer, - const Ark_Number* value) + Array_ShadowOptions GetTextShadowImpl(Ark_TextShadowStyle peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("caretPosition("); - WriteToString(&out, value); + string out("getTextShadow("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SetTextSelectionImpl(Ark_TextAreaController peer, - const Ark_Number* selectionStart, - const Ark_Number* selectionEnd, - const Opt_SelectionOptions* options) + } // TextShadowStyleAccessor + namespace TextStyleAccessor { + void DestroyPeerImpl(Ark_TextStyle peer) { if (!needGroupedLog(1)) { return; } - string out("setTextSelection("); - WriteToString(&out, selectionStart); - out.append(", "); - WriteToString(&out, selectionEnd); - out.append(", "); - WriteToString(&out, options); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void StopEditingImpl(Ark_TextAreaController peer) + Ark_TextStyle ConstructImpl(const Opt_TextStyleInterface* value) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("stopEditing("); + string out("new TextStyle("); + WriteToString(&out, value); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - } // TextAreaControllerAccessor - namespace TextBaseControllerAccessor { - void DestroyPeerImpl(Ark_TextBaseController peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("destroyPeer("); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_TextBaseController ConstructImpl() + Opt_ResourceColor GetFontColorImpl(Ark_TextStyle peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new TextBaseController("); + string out("getFontColor("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + Opt_String GetFontFamilyImpl(Ark_TextStyle peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getFontFamily("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - void SetSelectionImpl(Ark_TextBaseController peer, - const Ark_Number* selectionStart, - const Ark_Number* selectionEnd, - const Opt_SelectionOptions* options) + Opt_Number GetFontSizeImpl(Ark_TextStyle peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setSelection("); - WriteToString(&out, selectionStart); - out.append(", "); - WriteToString(&out, selectionEnd); - out.append(", "); - WriteToString(&out, options); + string out("getFontSize("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void CloseSelectionMenuImpl(Ark_TextBaseController peer) + Opt_Number GetFontWeightImpl(Ark_TextStyle peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("closeSelectionMenu("); + string out("getFontWeight("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_LayoutManager GetLayoutManagerImpl(Ark_TextBaseController peer) + Opt_FontStyle GetFontStyleImpl(Ark_TextStyle peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("getLayoutManager("); + string out("getFontStyle("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - } // TextBaseControllerAccessor - namespace TextClockControllerAccessor { - void DestroyPeerImpl(Ark_TextClockController peer) + } // TextStyleAccessor + namespace TextTimerControllerAccessor { + void DestroyPeerImpl(Ark_TextTimerController peer) { if (!needGroupedLog(1)) { @@ -44588,17 +48042,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_TextClockController ConstructImpl() + Ark_TextTimerController ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new TextClockController("); + string out("new TextTimerController("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -44612,7 +48066,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void StartImpl(Ark_TextClockController peer) + void StartImpl(Ark_TextTimerController peer) { if (!needGroupedLog(1)) { @@ -44622,19 +48076,29 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void StopImpl(Ark_TextClockController peer) + void PauseImpl(Ark_TextTimerController peer) { if (!needGroupedLog(1)) { return; } - string out("stop("); + string out("pause("); out.append(") \n"); appendGroupedLog(1, out); } - } // TextClockControllerAccessor - namespace TextContentControllerBaseAccessor { - void DestroyPeerImpl(Ark_TextContentControllerBase peer) + void ResetImpl(Ark_TextTimerController peer) + { + if (!needGroupedLog(1)) + { + return; + } + string out("reset("); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // TextTimerControllerAccessor + namespace ThemeControlAccessor { + void DestroyPeerImpl(Ark_ThemeControl peer) { if (!needGroupedLog(1)) { @@ -44644,17 +48108,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_TextContentControllerBase ConstructImpl() + Ark_ThemeControl ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new TextContentControllerBase("); + string out("new ThemeControl("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -44668,581 +48132,540 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_CaretOffset GetCaretOffsetImpl(Ark_TextContentControllerBase peer) + void SetDefaultThemeImpl(const Ark_CustomTheme* theme) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getCaretOffset("); + string out("setDefaultTheme("); + WriteToString(&out, theme); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_RectResult GetTextContentRectImpl(Ark_TextContentControllerBase peer) + } // ThemeControlAccessor + namespace TimePickerDialogAccessor { + void DestroyPeerImpl(Ark_TimePickerDialog peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getTextContentRect("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_Number GetTextContentLineCountImpl(Ark_TextContentControllerBase peer) + Ark_TimePickerDialog ConstructImpl() { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(100); } - string out("getTextContentLineCount("); + string out("new TimePickerDialog("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(100); } - Ark_Number AddTextImpl(Ark_TextContentControllerBase peer, - const Ark_String* text, - const Opt_TextContentControllerOptions* textOperationOptions) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {42}; + return fnPtr(dummyClassFinalizer); } - string out("addText("); - WriteToString(&out, text); - out.append(", "); - WriteToString(&out, textOperationOptions); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {42}; + return fnPtr(dummyClassFinalizer); } - void DeleteTextImpl(Ark_TextContentControllerBase peer, - const Opt_TextRange* range) + } // TimePickerDialogAccessor + namespace TouchEventAccessor { + void DestroyPeerImpl(Ark_TouchEvent peer) { if (!needGroupedLog(1)) { return; } - string out("deleteText("); - WriteToString(&out, range); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_TextRange GetSelectionImpl(Ark_TextContentControllerBase peer) + Ark_TouchEvent ConstructImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getSelection("); + string out("new TouchEvent("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - void ClearPreviewTextImpl(Ark_TextContentControllerBase peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("clearPreviewText("); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_String GetTextImpl(Ark_TextContentControllerBase peer, - const Opt_TextRange* range) + Array_HistoricalPoint GetHistoricalPointsImpl(Ark_TouchEvent peer) { if (!needGroupedLog(1)) { return {}; } - string out("getText("); - WriteToString(&out, range); + string out("getHistoricalPoints("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - } // TextContentControllerBaseAccessor - namespace TextControllerAccessor { - void DestroyPeerImpl(Ark_TextController peer) + Ark_TouchType GetTypeImpl(Ark_TouchEvent peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("destroyPeer("); + string out("getType("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_TextController ConstructImpl() + void SetTypeImpl(Ark_TouchEvent peer, + Ark_TouchType type) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new TextController("); + string out("setType("); + WriteToString(&out, type); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + Array_TouchObject GetTouchesImpl(Ark_TouchEvent peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getTouches("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - void CloseSelectionMenuImpl(Ark_TextController peer) + void SetTouchesImpl(Ark_TouchEvent peer, + const Array_TouchObject* touches) { if (!needGroupedLog(1)) { return; } - string out("closeSelectionMenu("); + string out("setTouches("); + WriteToString(&out, touches); out.append(") \n"); appendGroupedLog(1, out); } - void SetStyledStringImpl(Ark_TextController peer, - Ark_StyledString value) + Array_TouchObject GetChangedTouchesImpl(Ark_TouchEvent peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setStyledString("); - WriteToString(&out, value); + string out("getChangedTouches("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_LayoutManager GetLayoutManagerImpl(Ark_TextController peer) + void SetChangedTouchesImpl(Ark_TouchEvent peer, + const Array_TouchObject* changedTouches) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getLayoutManager("); + string out("setChangedTouches("); + WriteToString(&out, changedTouches); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // TextControllerAccessor - namespace TextEditControllerExAccessor { - void DestroyPeerImpl(Ark_TextEditControllerEx peer) + Callback_Void GetStopPropagationImpl(Ark_TouchEvent peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("destroyPeer("); + string out("getStopPropagation("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_TextEditControllerEx ConstructImpl() + void SetStopPropagationImpl(Ark_TouchEvent peer, + const Callback_Void* stopPropagation) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new TextEditControllerEx("); + string out("setStopPropagation("); + WriteToString(&out, stopPropagation); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + Callback_Void GetPreventDefaultImpl(Ark_TouchEvent peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getPreventDefault("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - Ark_Boolean IsEditingImpl(Ark_TextEditControllerEx peer) + void SetPreventDefaultImpl(Ark_TouchEvent peer, + const Callback_Void* preventDefault) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("isEditing("); + string out("setPreventDefault("); + WriteToString(&out, preventDefault); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - void StopEditingImpl(Ark_TextEditControllerEx peer) + } // TouchEventAccessor + namespace TransitionEffectAccessor { + void DestroyPeerImpl(Ark_TransitionEffect peer) { if (!needGroupedLog(1)) { return; } - string out("stopEditing("); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Boolean SetCaretOffsetImpl(Ark_TextEditControllerEx peer, - const Ark_Number* offset) + Ark_TransitionEffect Construct0Impl(const Ark_String* type) { if (!needGroupedLog(1)) { - return 0; + return reinterpret_cast(300); } - string out("setCaretOffset("); - WriteToString(&out, offset); + string out("construct0("); + WriteToString(&out, type); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return 0; + return reinterpret_cast(300); } - Ark_Number GetCaretOffsetImpl(Ark_TextEditControllerEx peer) + Ark_TransitionEffect Construct1Impl(const Ark_Number* effect) { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(300); } - string out("getCaretOffset("); + string out("construct1("); + WriteToString(&out, effect); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(300); } - Ark_PreviewText GetPreviewTextImpl(Ark_TextEditControllerEx peer) + Ark_TransitionEffect Construct2Impl(Ark_TransitionEdge effect) { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(300); } - string out("getPreviewText("); + string out("construct2("); + WriteToString(&out, effect); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(300); } - } // TextEditControllerExAccessor - namespace TextFieldOpsAccessor { - Ark_NativePointer RegisterTextFieldValueCallbackImpl(Ark_NativePointer node, - const Ark_ResourceStr* value, - const TextFieldValueCallback* callback) + Ark_TransitionEffect Construct3Impl(const Ark_TranslateOptions* effect) { if (!needGroupedLog(1)) { - return nullptr; + return reinterpret_cast(300); } - string out("registerTextFieldValueCallback("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, value); - out.append(", "); - WriteToString(&out, callback); + string out("construct3("); + WriteToString(&out, effect); out.append(") \n"); - out.append("[return nullptr] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return nullptr; + return reinterpret_cast(300); } - Ark_NativePointer TextFieldOpsSetWidthImpl(Ark_NativePointer node, - const Opt_Union_Length_LayoutPolicy* value) + Ark_TransitionEffect Construct4Impl(const Ark_RotateOptions* effect) { if (!needGroupedLog(1)) { - return nullptr; + return reinterpret_cast(300); } - string out("textFieldOpsSetWidth("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, value); + string out("construct4("); + WriteToString(&out, effect); out.append(") \n"); - out.append("[return nullptr] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return nullptr; + return reinterpret_cast(300); } - Ark_NativePointer TextFieldOpsSetHeightImpl(Ark_NativePointer node, - const Opt_Union_Length_LayoutPolicy* value) + Ark_TransitionEffect Construct5Impl(const Ark_ScaleOptions* effect) { if (!needGroupedLog(1)) { - return nullptr; + return reinterpret_cast(300); } - string out("textFieldOpsSetHeight("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, value); + string out("construct5("); + WriteToString(&out, effect); out.append(") \n"); - out.append("[return nullptr] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return nullptr; + return reinterpret_cast(300); } - Ark_NativePointer TextFieldOpsSetPaddingImpl(Ark_NativePointer node, - const Opt_Union_Padding_Length_LocalizedPadding* value) + Ark_TransitionEffect Construct6Impl(const Ark_AsymmetricTransitionOption* effect) { if (!needGroupedLog(1)) { - return nullptr; + return reinterpret_cast(300); } - string out("textFieldOpsSetPadding("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, value); + string out("construct6("); + WriteToString(&out, effect); out.append(") \n"); - out.append("[return nullptr] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return nullptr; + return reinterpret_cast(300); } - Ark_NativePointer TextFieldOpsSetMarginImpl(Ark_NativePointer node, - const Opt_Union_Padding_Length_LocalizedPadding* value) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return nullptr; + return fnPtr(dummyClassFinalizer); } - string out("textFieldOpsSetMargin("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, value); + string out("getFinalizer("); out.append(") \n"); - out.append("[return nullptr] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return nullptr; + return fnPtr(dummyClassFinalizer); } - Ark_NativePointer TextFieldOpsSetBorderImpl(Ark_NativePointer node, - const Opt_BorderOptions* value) + Ark_TransitionEffect TranslateImpl(const Ark_TranslateOptions* options) { if (!needGroupedLog(1)) { - return nullptr; + return reinterpret_cast(300); } - string out("textFieldOpsSetBorder("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, value); + string out("translate("); + WriteToString(&out, options); out.append(") \n"); - out.append("[return nullptr] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return nullptr; + return reinterpret_cast(300); } - Ark_NativePointer TextFieldOpsSetBorderWidthImpl(Ark_NativePointer node, - const Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths* value) + Ark_TransitionEffect RotateImpl(const Ark_RotateOptions* options) { if (!needGroupedLog(1)) { - return nullptr; + return reinterpret_cast(300); } - string out("textFieldOpsSetBorderWidth("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, value); + string out("rotate("); + WriteToString(&out, options); out.append(") \n"); - out.append("[return nullptr] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return nullptr; + return reinterpret_cast(300); } - Ark_NativePointer TextFieldOpsSetBorderColorImpl(Ark_NativePointer node, - const Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors* value) + Ark_TransitionEffect ScaleImpl(const Ark_ScaleOptions* options) { if (!needGroupedLog(1)) { - return nullptr; + return reinterpret_cast(300); } - string out("textFieldOpsSetBorderColor("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, value); + string out("scale("); + WriteToString(&out, options); out.append(") \n"); - out.append("[return nullptr] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return nullptr; + return reinterpret_cast(300); } - Ark_NativePointer TextFieldOpsSetBorderStyleImpl(Ark_NativePointer node, - const Opt_Union_BorderStyle_EdgeStyles* value) + Ark_TransitionEffect OpacityImpl(const Ark_Number* alpha) { if (!needGroupedLog(1)) { - return nullptr; + return reinterpret_cast(300); } - string out("textFieldOpsSetBorderStyle("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, value); + string out("opacity("); + WriteToString(&out, alpha); out.append(") \n"); - out.append("[return nullptr] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return nullptr; + return reinterpret_cast(300); } - Ark_NativePointer TextFieldOpsSetBorderRadiusImpl(Ark_NativePointer node, - const Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses* value) + Ark_TransitionEffect MoveImpl(Ark_TransitionEdge edge) { if (!needGroupedLog(1)) { - return nullptr; + return reinterpret_cast(300); } - string out("textFieldOpsSetBorderRadius("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, value); + string out("move("); + WriteToString(&out, edge); out.append(") \n"); - out.append("[return nullptr] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return nullptr; + return reinterpret_cast(300); } - Ark_NativePointer TextFieldOpsSetBackgroundColorImpl(Ark_NativePointer node, - const Opt_ResourceColor* value) + Ark_TransitionEffect AsymmetricImpl(Ark_TransitionEffect appear, + Ark_TransitionEffect disappear) { if (!needGroupedLog(1)) { - return nullptr; + return reinterpret_cast(300); } - string out("textFieldOpsSetBackgroundColor("); - WriteToString(&out, node); + string out("asymmetric("); + WriteToString(&out, appear); out.append(", "); - WriteToString(&out, value); + WriteToString(&out, disappear); out.append(") \n"); - out.append("[return nullptr] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return nullptr; + return reinterpret_cast(300); } - } // TextFieldOpsAccessor - namespace TextInputControllerAccessor { - void DestroyPeerImpl(Ark_TextInputController peer) + Ark_TransitionEffect AnimationImpl(Ark_TransitionEffect peer, + const Ark_AnimateParam* value) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("destroyPeer("); + string out("animation("); + WriteToString(&out, value); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_TextInputController ConstructImpl() + Ark_TransitionEffect CombineImpl(Ark_TransitionEffect peer, + Ark_TransitionEffect transitionEffect) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(300); } - string out("new TextInputController("); + string out("combine("); + WriteToString(&out, transitionEffect); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(300); } - Ark_NativePointer GetFinalizerImpl() + Ark_TransitionEffect GetIDENTITYImpl() { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - string out("getFinalizer("); + string out("getIDENTITY("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - void CaretPositionImpl(Ark_TextInputController peer, - const Ark_Number* value) + void SetIDENTITYImpl(Ark_TransitionEffect IDENTITY) { if (!needGroupedLog(1)) { return; } - string out("caretPosition("); - WriteToString(&out, value); + string out("setIDENTITY("); + WriteToString(&out, IDENTITY); out.append(") \n"); appendGroupedLog(1, out); } - void SetTextSelectionImpl(Ark_TextInputController peer, - const Ark_Number* selectionStart, - const Ark_Number* selectionEnd, - const Opt_SelectionOptions* options) + Ark_TransitionEffect GetOPACITYImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setTextSelection("); - WriteToString(&out, selectionStart); - out.append(", "); - WriteToString(&out, selectionEnd); - out.append(", "); - WriteToString(&out, options); + string out("getOPACITY("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - void StopEditingImpl(Ark_TextInputController peer) + void SetOPACITYImpl(Ark_TransitionEffect OPACITY) { if (!needGroupedLog(1)) { return; } - string out("stopEditing("); + string out("setOPACITY("); + WriteToString(&out, OPACITY); out.append(") \n"); appendGroupedLog(1, out); } - } // TextInputControllerAccessor - namespace TextMenuControllerAccessor { - void DestroyPeerImpl(Ark_TextMenuController peer) + Ark_TransitionEffect GetSLIDEImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("destroyPeer("); + string out("getSLIDE("); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Ark_TextMenuController ConstructImpl() + void SetSLIDEImpl(Ark_TransitionEffect SLIDE) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new TextMenuController("); + string out("setSLIDE("); + WriteToString(&out, SLIDE); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + Ark_TransitionEffect GetSLIDE_SWITCHImpl() { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - string out("getFinalizer("); + string out("getSLIDE_SWITCH("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - void SetMenuOptionsImpl(Ark_TextMenuController peer, - const Ark_TextMenuOptions* options) + void SetSLIDE_SWITCHImpl(Ark_TransitionEffect SLIDE_SWITCH) { if (!needGroupedLog(1)) { return; } - string out("setMenuOptions("); - WriteToString(&out, options); + string out("setSLIDE_SWITCH("); + WriteToString(&out, SLIDE_SWITCH); out.append(") \n"); appendGroupedLog(1, out); } - } // TextMenuControllerAccessor - namespace TextMenuItemIdAccessor { - void DestroyPeerImpl(Ark_TextMenuItemId peer) + } // TransitionEffectAccessor + namespace UICommonEventAccessor { + void DestroyPeerImpl(Ark_UICommonEvent peer) { if (!needGroupedLog(1)) { @@ -45252,17 +48675,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_TextMenuItemId ConstructImpl() + Ark_UICommonEvent ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new TextMenuItemId("); + string out("new UICommonEvent("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -45276,156 +48699,144 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_TextMenuItemId OfImpl(const Ark_ResourceStr* id) - { - if (!needGroupedLog(1)) - { - return reinterpret_cast(300); - } - string out("of("); - WriteToString(&out, id); - out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); - appendGroupedLog(1, out); - return reinterpret_cast(300); - } - Ark_Boolean EqualsImpl(Ark_TextMenuItemId peer, - Ark_TextMenuItemId id) + void SetOnClickImpl(Ark_UICommonEvent peer, + const Opt_Callback_ClickEvent_Void* callback_) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("equals("); - WriteToString(&out, id); + string out("setOnClick("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_TextMenuItemId GetCUTImpl() + void SetOnTouchImpl(Ark_UICommonEvent peer, + const Opt_Callback_TouchEvent_Void* callback_) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getCUT("); + string out("setOnTouch("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_TextMenuItemId GetCOPYImpl() + void SetOnAppearImpl(Ark_UICommonEvent peer, + const Opt_Callback_Void* callback_) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getCOPY("); + string out("setOnAppear("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_TextMenuItemId GetPASTEImpl() + void SetOnDisappearImpl(Ark_UICommonEvent peer, + const Opt_Callback_Void* callback_) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getPASTE("); + string out("setOnDisappear("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_TextMenuItemId GetSELECT_ALLImpl() + void SetOnKeyEventImpl(Ark_UICommonEvent peer, + const Opt_Callback_KeyEvent_Void* callback_) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getSELECT_ALL("); + string out("setOnKeyEvent("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_TextMenuItemId GetCOLLABORATION_SERVICEImpl() + void SetOnFocusImpl(Ark_UICommonEvent peer, + const Opt_Callback_Void* callback_) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getCOLLABORATION_SERVICE("); + string out("setOnFocus("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_TextMenuItemId GetCAMERA_INPUTImpl() + void SetOnBlurImpl(Ark_UICommonEvent peer, + const Opt_Callback_Void* callback_) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getCAMERA_INPUT("); + string out("setOnBlur("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_TextMenuItemId GetAI_WRITERImpl() + void SetOnHoverImpl(Ark_UICommonEvent peer, + const Opt_HoverCallback* callback_) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getAI_WRITER("); + string out("setOnHover("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_TextMenuItemId GetTRANSLATEImpl() + void SetOnMouseImpl(Ark_UICommonEvent peer, + const Opt_Callback_MouseEvent_Void* callback_) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getTRANSLATE("); + string out("setOnMouse("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_TextMenuItemId GetSEARCHImpl() + void SetOnSizeChangeImpl(Ark_UICommonEvent peer, + const Opt_SizeChangeCallback* callback_) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getSEARCH("); + string out("setOnSizeChange("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_TextMenuItemId GetSHAREImpl() + void SetOnVisibleAreaApproximateChangeImpl(Ark_UICommonEvent peer, + const Ark_VisibleAreaEventOptions* options, + const Opt_VisibleAreaChangeCallback* event) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getSHARE("); + string out("setOnVisibleAreaApproximateChange("); + WriteToString(&out, options); + out.append(", "); + WriteToString(&out, event); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - } // TextMenuItemIdAccessor - namespace TextPickerDialogAccessor { - void DestroyPeerImpl(Ark_TextPickerDialog peer) + } // UICommonEventAccessor + namespace UIContextAccessor { + void DestroyPeerImpl(Ark_UIContext peer) { if (!needGroupedLog(1)) { @@ -45435,17 +48846,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_TextPickerDialog ConstructImpl() + Ark_UIContext ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new TextPickerDialog("); + string out("new UIContext("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -45459,788 +48870,812 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - } // TextPickerDialogAccessor - namespace TextShadowStyleAccessor { - void DestroyPeerImpl(Ark_TextShadowStyle peer) - { - if (!needGroupedLog(1)) - { - return; - } - string out("destroyPeer("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_TextShadowStyle ConstructImpl(const Ark_Union_ShadowOptions_Array_ShadowOptions* value) + Ark_drawing_Font GetFontImpl(Ark_UIContext peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(300); } - string out("new TextShadowStyle("); - WriteToString(&out, value); + string out("getFont("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(300); } - Ark_NativePointer GetFinalizerImpl() + Ark_String GetFilteredInspectorTreeImpl(Ark_VMContext vmContext, + Ark_UIContext peer, + const Opt_Array_String* filters) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getFilteredInspectorTree("); + WriteToString(&out, filters); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - Array_ShadowOptions GetTextShadowImpl(Ark_TextShadowStyle peer) + Ark_String GetFilteredInspectorTreeByIdImpl(Ark_VMContext vmContext, + Ark_UIContext peer, + const Ark_String* id, + const Ark_Number* depth, + const Opt_Array_String* filters) { if (!needGroupedLog(1)) { return {}; } - string out("getTextShadow("); + string out("getFilteredInspectorTreeById("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, depth); + out.append(", "); + WriteToString(&out, filters); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - } // TextShadowStyleAccessor - namespace TextStyleAccessor { - void DestroyPeerImpl(Ark_TextStyle peer) + void AnimateToImpl(Ark_UIContext peer, + const Ark_AnimateParam* value, + const Callback_Void* event) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("animateTo("); + WriteToString(&out, value); + out.append(", "); + WriteToString(&out, event); out.append(") \n"); appendGroupedLog(1, out); } - Ark_TextStyle ConstructImpl(const Opt_TextStyleInterface* value) + void ShowTextPickerDialogImpl(Ark_UIContext peer, + const Ark_TextPickerDialogOptions* options) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new TextStyle("); - WriteToString(&out, value); + string out("showTextPickerDialog("); + WriteToString(&out, options); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void RunScopedTaskImpl(Ark_UIContext peer, + const Callback_Void* callback_) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("runScopedTask("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Opt_ResourceColor GetFontColorImpl(Ark_TextStyle peer) + void AnimateToImmediatelyImpl(Ark_UIContext peer, + const Ark_AnimateParam* param, + const Callback_Void* event) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getFontColor("); + string out("animateToImmediately("); + WriteToString(&out, param); + out.append(", "); + WriteToString(&out, event); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Opt_String GetFontFamilyImpl(Ark_TextStyle peer) + Opt_FrameNode GetFrameNodeByIdImpl(Ark_UIContext peer, + const Ark_String* id) { if (!needGroupedLog(1)) { return {}; } - string out("getFontFamily("); + string out("getFrameNodeById("); + WriteToString(&out, id); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Opt_Number GetFontSizeImpl(Ark_TextStyle peer) + Opt_FrameNode GetAttachedFrameNodeByIdImpl(Ark_UIContext peer, + const Ark_String* id) { if (!needGroupedLog(1)) { return {}; } - string out("getFontSize("); + string out("getAttachedFrameNodeById("); + WriteToString(&out, id); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Opt_Number GetFontWeightImpl(Ark_TextStyle peer) + Opt_FrameNode GetFrameNodeByUniqueIdImpl(Ark_UIContext peer, + const Ark_Number* id) { if (!needGroupedLog(1)) { return {}; } - string out("getFontWeight("); + string out("getFrameNodeByUniqueId("); + WriteToString(&out, id); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Opt_FontStyle GetFontStyleImpl(Ark_TextStyle peer) + Ark_Number Vp2pxImpl(Ark_UIContext peer, + const Ark_Number* value) { if (!needGroupedLog(1)) { - return {}; + return {42}; } - string out("getFontStyle("); + string out("vp2px("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - } // TextStyleAccessor - namespace TextTimerControllerAccessor { - void DestroyPeerImpl(Ark_TextTimerController peer) + Ark_Number Px2vpImpl(Ark_UIContext peer, + const Ark_Number* value) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("destroyPeer("); + string out("px2vp("); + WriteToString(&out, value); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_TextTimerController ConstructImpl() + Ark_Number Fp2pxImpl(Ark_UIContext peer, + const Ark_Number* value) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {42}; } - string out("new TextTimerController("); + string out("fp2px("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {42}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number Px2fpImpl(Ark_UIContext peer, + const Ark_Number* value) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {42}; } - string out("getFinalizer("); + string out("px2fp("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {42}; } - void StartImpl(Ark_TextTimerController peer) + Ark_Number Lpx2pxImpl(Ark_UIContext peer, + const Ark_Number* value) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("start("); + string out("lpx2px("); + WriteToString(&out, value); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void PauseImpl(Ark_TextTimerController peer) + Ark_Number Px2lpxImpl(Ark_UIContext peer, + const Ark_Number* value) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("pause("); + string out("px2lpx("); + WriteToString(&out, value); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void ResetImpl(Ark_TextTimerController peer) + Opt_common_Context GetHostContextImpl(Ark_UIContext peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("reset("); + string out("getHostContext("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // TextTimerControllerAccessor - namespace ThemeControlAccessor { - void DestroyPeerImpl(Ark_ThemeControl peer) + void SetDynamicDimmingImpl(Ark_UIContext peer, + const Ark_String* id, + const Ark_Number* value) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("setDynamicDimming("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - Ark_ThemeControl ConstructImpl() + Opt_String GetWindowNameImpl(Ark_UIContext peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new ThemeControl("); + string out("getWindowName("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_WidthBreakpoint GetWindowWidthBreakpointImpl(Ark_UIContext peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getWindowWidthBreakpoint("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - void SetDefaultThemeImpl(const Ark_CustomTheme* theme) + Ark_HeightBreakpoint GetWindowHeightBreakpointImpl(Ark_UIContext peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setDefaultTheme("); - WriteToString(&out, theme); + string out("getWindowHeightBreakpoint("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // ThemeControlAccessor - namespace TimePickerDialogAccessor { - void DestroyPeerImpl(Ark_TimePickerDialog peer) + void OpenBindSheetImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_UIContext peer, + Ark_ComponentContent bindSheetContent, + const Opt_SheetOptions* sheetOptions, + const Opt_Number* targetId, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("openBindSheet("); + WriteToString(&out, bindSheetContent); + out.append(", "); + WriteToString(&out, sheetOptions); + out.append(", "); + WriteToString(&out, targetId); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); appendGroupedLog(1, out); } - Ark_TimePickerDialog ConstructImpl() + void UpdateBindSheetImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_UIContext peer, + Ark_ComponentContent bindSheetContent, + const Ark_SheetOptions* sheetOptions, + const Opt_Boolean* partialUpdate, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new TimePickerDialog("); + string out("updateBindSheet("); + WriteToString(&out, bindSheetContent); + out.append(", "); + WriteToString(&out, sheetOptions); + out.append(", "); + WriteToString(&out, partialUpdate); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void CloseBindSheetImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_UIContext peer, + Ark_ComponentContent bindSheetContent, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("closeBindSheet("); + WriteToString(&out, bindSheetContent); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - } // TimePickerDialogAccessor - namespace TouchEventAccessor { - void DestroyPeerImpl(Ark_TouchEvent peer) + void ClearResourceCacheImpl(Ark_VMContext vmContext, + Ark_UIContext peer) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); + string out("clearResourceCache("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_TouchEvent ConstructImpl() + Ark_Boolean IsFollowingSystemFontScaleImpl(Ark_UIContext peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return 0; } - string out("new TouchEvent("); + string out("isFollowingSystemFontScale("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return 0; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number GetMaxFontScaleImpl(Ark_UIContext peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {42}; } - string out("getFinalizer("); + string out("getMaxFontScale("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {42}; } - Array_HistoricalPoint GetHistoricalPointsImpl(Ark_TouchEvent peer) + } // UIContextAccessor + namespace UIContextAtomicServiceBarAccessor { + Ark_Frame GetBarRectImpl() { if (!needGroupedLog(1)) { return {}; } - string out("getHistoricalPoints("); + string out("getBarRect("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Ark_TouchType GetTypeImpl(Ark_TouchEvent peer) + } // UIContextAtomicServiceBarAccessor + namespace uiEffect_VisualEffectAccessor { + void DestroyPeerImpl(Ark_uiEffect_VisualEffect peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getType("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetTypeImpl(Ark_TouchEvent peer, - Ark_TouchType type) + Ark_uiEffect_VisualEffect ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setType("); - WriteToString(&out, type); + string out("new VisualEffect("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Array_TouchObject GetTouchesImpl(Ark_TouchEvent peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getTouches("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - void SetTouchesImpl(Ark_TouchEvent peer, - const Array_TouchObject* touches) + Ark_uiEffect_VisualEffect BackgroundColorBlenderImpl(Ark_uiEffect_VisualEffect peer, + const Ark_uiEffect_BrightnessBlender* blender) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(300); } - string out("setTouches("); - WriteToString(&out, touches); + string out("backgroundColorBlender("); + WriteToString(&out, blender); out.append(") \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(300); } - Array_TouchObject GetChangedTouchesImpl(Ark_TouchEvent peer) + } // uiEffect_VisualEffectAccessor + namespace UIExtensionProxyAccessor { + void DestroyPeerImpl(Ark_UIExtensionProxy peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getChangedTouches("); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetChangedTouchesImpl(Ark_TouchEvent peer, - const Array_TouchObject* changedTouches) + Ark_UIExtensionProxy ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setChangedTouches("); - WriteToString(&out, changedTouches); + string out("new UIExtensionProxy("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - Callback_Void GetStopPropagationImpl(Ark_TouchEvent peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getStopPropagation("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - void SetStopPropagationImpl(Ark_TouchEvent peer, - const Callback_Void* stopPropagation) + void SendImpl(Ark_UIExtensionProxy peer, + const Map_String_Opt_Object* data) { if (!needGroupedLog(1)) { return; } - string out("setStopPropagation("); - WriteToString(&out, stopPropagation); + string out("send("); + WriteToString(&out, data); out.append(") \n"); appendGroupedLog(1, out); } - Callback_Void GetPreventDefaultImpl(Ark_TouchEvent peer) + Map_String_Opt_Object SendSyncImpl(Ark_UIExtensionProxy peer, + const Map_String_Opt_Object* data) { if (!needGroupedLog(1)) { return {}; } - string out("getPreventDefault("); + string out("sendSync("); + WriteToString(&out, data); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetPreventDefaultImpl(Ark_TouchEvent peer, - const Callback_Void* preventDefault) + void OnAsyncReceiverRegisterAsyncReceiverRegisterImpl(Ark_UIExtensionProxy peer, + const Callback_UIExtensionProxy_Void* callback_) { if (!needGroupedLog(1)) { return; } - string out("setPreventDefault("); - WriteToString(&out, preventDefault); + string out("onAsyncReceiverRegisterAsyncReceiverRegister("); + WriteToString(&out, callback_); out.append(") \n"); appendGroupedLog(1, out); } - } // TouchEventAccessor - namespace TransitionEffectAccessor { - void DestroyPeerImpl(Ark_TransitionEffect peer) + void OnSyncReceiverRegisterSyncReceiverRegisterImpl(Ark_UIExtensionProxy peer, + const Callback_UIExtensionProxy_Void* callback_) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_TransitionEffect Construct0Impl(const Ark_String* type) - { - if (!needGroupedLog(1)) - { - return reinterpret_cast(300); - } - string out("construct0("); - WriteToString(&out, type); - out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); - appendGroupedLog(1, out); - return reinterpret_cast(300); - } - Ark_TransitionEffect Construct1Impl(const Ark_Number* effect) - { - if (!needGroupedLog(1)) - { - return reinterpret_cast(300); - } - string out("construct1("); - WriteToString(&out, effect); + string out("onSyncReceiverRegisterSyncReceiverRegister("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_TransitionEffect Construct2Impl(Ark_TransitionEdge effect) + void OffAsyncReceiverRegisterAsyncReceiverRegisterImpl(Ark_UIExtensionProxy peer, + const Opt_Callback_UIExtensionProxy_Void* callback_) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("construct2("); - WriteToString(&out, effect); + string out("offAsyncReceiverRegisterAsyncReceiverRegister("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_TransitionEffect Construct3Impl(const Ark_TranslateOptions* effect) + void OffSyncReceiverRegisterSyncReceiverRegisterImpl(Ark_UIExtensionProxy peer, + const Opt_Callback_UIExtensionProxy_Void* callback_) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("construct3("); - WriteToString(&out, effect); + string out("offSyncReceiverRegisterSyncReceiverRegister("); + WriteToString(&out, callback_); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_TransitionEffect Construct4Impl(const Ark_RotateOptions* effect) + } // UIExtensionProxyAccessor + namespace uiObserver_DensityInfoAccessor { + void DestroyPeerImpl(Ark_uiObserver_DensityInfo peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("construct4("); - WriteToString(&out, effect); + string out("destroyPeer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_TransitionEffect Construct5Impl(const Ark_ScaleOptions* effect) + Ark_uiObserver_DensityInfo ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(100); } - string out("construct5("); - WriteToString(&out, effect); + string out("new DensityInfo("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(100); } - Ark_TransitionEffect Construct6Impl(const Ark_AsymmetricTransitionOption* effect) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - string out("construct6("); - WriteToString(&out, effect); + string out("getFinalizer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - Ark_NativePointer GetFinalizerImpl() + Ark_UIContext GetContextImpl(Ark_uiObserver_DensityInfo peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - string out("getFinalizer("); + string out("getContext("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return reinterpret_cast(300); } - Ark_TransitionEffect TranslateImpl(const Ark_TranslateOptions* options) + void SetContextImpl(Ark_uiObserver_DensityInfo peer, + Ark_UIContext context) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("translate("); - WriteToString(&out, options); + string out("setContext("); + WriteToString(&out, context); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_TransitionEffect RotateImpl(const Ark_RotateOptions* options) + Ark_Number GetDensityImpl(Ark_uiObserver_DensityInfo peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {42}; } - string out("rotate("); - WriteToString(&out, options); + string out("getDensity("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {42}; } - Ark_TransitionEffect ScaleImpl(const Ark_ScaleOptions* options) + void SetDensityImpl(Ark_uiObserver_DensityInfo peer, + const Ark_Number* density) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("scale("); - WriteToString(&out, options); + string out("setDensity("); + WriteToString(&out, density); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_TransitionEffect OpacityImpl(const Ark_Number* alpha) + } // uiObserver_DensityInfoAccessor + namespace uiObserver_RouterPageInfoAccessor { + void DestroyPeerImpl(Ark_uiObserver_RouterPageInfo peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("opacity("); - WriteToString(&out, alpha); + string out("destroyPeer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_TransitionEffect MoveImpl(Ark_TransitionEdge edge) + Ark_uiObserver_RouterPageInfo ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return reinterpret_cast(100); } - string out("move("); - WriteToString(&out, edge); + string out("new RouterPageInfo("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return reinterpret_cast(100); } - Ark_TransitionEffect AsymmetricImpl(Ark_TransitionEffect appear, - Ark_TransitionEffect disappear) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - string out("asymmetric("); - WriteToString(&out, appear); - out.append(", "); - WriteToString(&out, disappear); + string out("getFinalizer("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return fnPtr(dummyClassFinalizer); } - Ark_TransitionEffect AnimationImpl(Ark_TransitionEffect peer, - const Ark_AnimateParam* value) + Ark_Number GetIndexImpl(Ark_uiObserver_RouterPageInfo peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {42}; } - string out("animation("); - WriteToString(&out, value); + string out("getIndex("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {42}; } - Ark_TransitionEffect CombineImpl(Ark_TransitionEffect peer, - Ark_TransitionEffect transitionEffect) + void SetIndexImpl(Ark_uiObserver_RouterPageInfo peer, + const Ark_Number* index) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("combine("); - WriteToString(&out, transitionEffect); + string out("setIndex("); + WriteToString(&out, index); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_TransitionEffect GetIDENTITYImpl() + Ark_String GetNameImpl(Ark_uiObserver_RouterPageInfo peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("getIDENTITY("); + string out("getName("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - void SetIDENTITYImpl(Ark_TransitionEffect IDENTITY) + void SetNameImpl(Ark_uiObserver_RouterPageInfo peer, + const Ark_String* name) { if (!needGroupedLog(1)) { return; } - string out("setIDENTITY("); - WriteToString(&out, IDENTITY); + string out("setName("); + WriteToString(&out, name); out.append(") \n"); appendGroupedLog(1, out); } - Ark_TransitionEffect GetOPACITYImpl() + Ark_String GetPathImpl(Ark_uiObserver_RouterPageInfo peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("getOPACITY("); + string out("getPath("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - void SetOPACITYImpl(Ark_TransitionEffect OPACITY) + void SetPathImpl(Ark_uiObserver_RouterPageInfo peer, + const Ark_String* path) { if (!needGroupedLog(1)) { return; } - string out("setOPACITY("); - WriteToString(&out, OPACITY); + string out("setPath("); + WriteToString(&out, path); out.append(") \n"); appendGroupedLog(1, out); } - Ark_TransitionEffect GetSLIDEImpl() + Ark_uiObserver_RouterPageState GetStateImpl(Ark_uiObserver_RouterPageInfo peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("getSLIDE("); + string out("getState("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - void SetSLIDEImpl(Ark_TransitionEffect SLIDE) + void SetStateImpl(Ark_uiObserver_RouterPageInfo peer, + Ark_uiObserver_RouterPageState state) { if (!needGroupedLog(1)) { return; } - string out("setSLIDE("); - WriteToString(&out, SLIDE); + string out("setState("); + WriteToString(&out, state); out.append(") \n"); appendGroupedLog(1, out); } - Ark_TransitionEffect GetSLIDE_SWITCHImpl() + Ark_String GetPageIdImpl(Ark_uiObserver_RouterPageInfo peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return {}; } - string out("getSLIDE_SWITCH("); + string out("getPageId("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return {}; } - void SetSLIDE_SWITCHImpl(Ark_TransitionEffect SLIDE_SWITCH) + void SetPageIdImpl(Ark_uiObserver_RouterPageInfo peer, + const Ark_String* pageId) { if (!needGroupedLog(1)) { return; } - string out("setSLIDE_SWITCH("); - WriteToString(&out, SLIDE_SWITCH); + string out("setPageId("); + WriteToString(&out, pageId); out.append(") \n"); appendGroupedLog(1, out); } - } // TransitionEffectAccessor - namespace UICommonEventAccessor { - void DestroyPeerImpl(Ark_UICommonEvent peer) + } // uiObserver_RouterPageInfoAccessor + namespace unifiedDataChannel_UnifiedDataAccessor { + void DestroyPeerImpl(Ark_unifiedDataChannel_UnifiedData peer) { if (!needGroupedLog(1)) { @@ -46250,17 +49685,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_UICommonEvent ConstructImpl() + Ark_unifiedDataChannel_UnifiedData ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new UICommonEvent("); + string out("new UnifiedData("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -46274,633 +49709,560 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void SetOnClickImpl(Ark_UICommonEvent peer, - const Opt_Callback_ClickEvent_Void* callback_) + Ark_Boolean HasTypeImpl(Ark_unifiedDataChannel_UnifiedData peer, + const Ark_String* UnifiedData_type) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("setOnClick("); - WriteToString(&out, callback_); + string out("hasType("); + WriteToString(&out, UnifiedData_type); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - void SetOnTouchImpl(Ark_UICommonEvent peer, - const Opt_Callback_TouchEvent_Void* callback_) + Array_String GetTypesImpl(Ark_unifiedDataChannel_UnifiedData peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setOnTouch("); - WriteToString(&out, callback_); + string out("getTypes("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SetOnAppearImpl(Ark_UICommonEvent peer, - const Opt_Callback_Void* callback_) + } // unifiedDataChannel_UnifiedDataAccessor + namespace UrlStyleAccessor { + void DestroyPeerImpl(Ark_UrlStyle peer) { if (!needGroupedLog(1)) { return; } - string out("setOnAppear("); - WriteToString(&out, callback_); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void SetOnDisappearImpl(Ark_UICommonEvent peer, - const Opt_Callback_Void* callback_) + Ark_UrlStyle ConstructImpl(const Ark_String* url) { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setOnDisappear("); - WriteToString(&out, callback_); + string out("new UrlStyle("); + WriteToString(&out, url); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void SetOnKeyEventImpl(Ark_UICommonEvent peer, - const Opt_Callback_KeyEvent_Void* callback_) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setOnKeyEvent("); - WriteToString(&out, callback_); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void SetOnFocusImpl(Ark_UICommonEvent peer, - const Opt_Callback_Void* callback_) + Ark_String GetUrlImpl(Ark_UrlStyle peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("setOnFocus("); - WriteToString(&out, callback_); + string out("getUrl("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SetOnBlurImpl(Ark_UICommonEvent peer, - const Opt_Callback_Void* callback_) + } // UrlStyleAccessor + namespace UserDataSpanAccessor { + void DestroyPeerImpl(Ark_UserDataSpan peer) { if (!needGroupedLog(1)) { return; } - string out("setOnBlur("); - WriteToString(&out, callback_); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void SetOnHoverImpl(Ark_UICommonEvent peer, - const Opt_HoverCallback* callback_) + Ark_UserDataSpan ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setOnHover("); - WriteToString(&out, callback_); + string out("new UserDataSpan("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - void SetOnMouseImpl(Ark_UICommonEvent peer, - const Opt_Callback_MouseEvent_Void* callback_) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setOnMouse("); - WriteToString(&out, callback_); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - void SetOnSizeChangeImpl(Ark_UICommonEvent peer, - const Opt_SizeChangeCallback* callback_) + } // UserDataSpanAccessor + namespace VideoControllerAccessor { + void DestroyPeerImpl(Ark_VideoController peer) { if (!needGroupedLog(1)) { return; } - string out("setOnSizeChange("); - WriteToString(&out, callback_); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - void SetOnVisibleAreaApproximateChangeImpl(Ark_UICommonEvent peer, - const Ark_VisibleAreaEventOptions* options, - const Opt_VisibleAreaChangeCallback* event) + Ark_VideoController ConstructImpl() { if (!needGroupedLog(1)) { - return; + return reinterpret_cast(100); } - string out("setOnVisibleAreaApproximateChange("); - WriteToString(&out, options); - out.append(", "); - WriteToString(&out, event); + string out("new VideoController("); out.append(") \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); + return reinterpret_cast(100); } - } // UICommonEventAccessor - namespace UIContextAccessor { - void DestroyPeerImpl(Ark_UIContext peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("destroyPeer("); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_UIContext ConstructImpl() + void StartImpl(Ark_VideoController peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return; } - string out("new UIContext("); + string out("start("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); } - Ark_NativePointer GetFinalizerImpl() + void PauseImpl(Ark_VideoController peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return; } - string out("getFinalizer("); + string out("pause("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_drawing_Font GetFontImpl(Ark_UIContext peer) + void StopImpl(Ark_VideoController peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return; } - string out("getFont("); + string out("stop("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); } - Ark_String GetFilteredInspectorTreeImpl(Ark_VMContext vmContext, - Ark_UIContext peer, - const Opt_Array_String* filters) + void RequestFullscreenImpl(Ark_VideoController peer, + Ark_Boolean value) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getFilteredInspectorTree("); - WriteToString(&out, filters); + string out("requestFullscreen("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_String GetFilteredInspectorTreeByIdImpl(Ark_VMContext vmContext, - Ark_UIContext peer, - const Ark_String* id, - const Ark_Number* depth, - const Opt_Array_String* filters) + void ExitFullscreenImpl(Ark_VideoController peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getFilteredInspectorTreeById("); - WriteToString(&out, id); - out.append(", "); - WriteToString(&out, depth); - out.append(", "); - WriteToString(&out, filters); + string out("exitFullscreen("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void AnimateToImpl(Ark_UIContext peer, - const Ark_AnimateParam* value, - const Callback_Void* event) + void SetCurrentTimeDefaultImpl(Ark_VideoController peer, + Ark_Float64 value) { if (!needGroupedLog(1)) { return; } - string out("animateTo("); + string out("setCurrentTimeDefault("); WriteToString(&out, value); - out.append(", "); - WriteToString(&out, event); out.append(") \n"); appendGroupedLog(1, out); } - void ShowTextPickerDialogImpl(Ark_UIContext peer, - const Ark_TextPickerDialogOptions* options) + void SetCurrentTimeWithModeImpl(Ark_VideoController peer, + Ark_Float64 value, + Ark_SeekMode seekMode) { if (!needGroupedLog(1)) { return; } - string out("showTextPickerDialog("); - WriteToString(&out, options); + string out("setCurrentTimeWithMode("); + WriteToString(&out, value); + out.append(", "); + WriteToString(&out, seekMode); out.append(") \n"); appendGroupedLog(1, out); } - void RunScopedTaskImpl(Ark_UIContext peer, - const Callback_Void* callback_) + void ResetImpl(Ark_VideoController peer) { if (!needGroupedLog(1)) { return; } - string out("runScopedTask("); - WriteToString(&out, callback_); + string out("reset("); out.append(") \n"); appendGroupedLog(1, out); } - void AnimateToImmediatelyImpl(Ark_UIContext peer, - const Ark_AnimateParam* param, - const Callback_Void* event) + } // VideoControllerAccessor + namespace WaterFlowSectionsAccessor { + void DestroyPeerImpl(Ark_WaterFlowSections peer) { if (!needGroupedLog(1)) { return; } - string out("animateToImmediately("); - WriteToString(&out, param); - out.append(", "); - WriteToString(&out, event); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Opt_FrameNode GetFrameNodeByIdImpl(Ark_UIContext peer, - const Ark_String* id) + Ark_WaterFlowSections ConstructImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getFrameNodeById("); - WriteToString(&out, id); + string out("new WaterFlowSections("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - Opt_FrameNode GetAttachedFrameNodeByIdImpl(Ark_UIContext peer, - const Ark_String* id) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getAttachedFrameNodeById("); - WriteToString(&out, id); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - Opt_FrameNode GetFrameNodeByUniqueIdImpl(Ark_UIContext peer, - const Ark_Number* id) + Ark_Boolean SpliceImpl(Ark_WaterFlowSections peer, + const Ark_Number* start, + const Opt_Number* deleteCount, + const Opt_Array_SectionOptions* sections) { if (!needGroupedLog(1)) { - return {}; + return 0; } - string out("getFrameNodeByUniqueId("); - WriteToString(&out, id); + string out("splice("); + WriteToString(&out, start); + out.append(", "); + WriteToString(&out, deleteCount); + out.append(", "); + WriteToString(&out, sections); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {}; + return 0; } - Ark_Number Vp2pxImpl(Ark_UIContext peer, - const Ark_Number* value) + Ark_Boolean PushImpl(Ark_WaterFlowSections peer, + const Ark_SectionOptions* section) { if (!needGroupedLog(1)) { - return {42}; + return 0; } - string out("vp2px("); - WriteToString(&out, value); + string out("push("); + WriteToString(&out, section); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {42}; + return 0; } - Ark_Number Px2vpImpl(Ark_UIContext peer, - const Ark_Number* value) + Ark_Boolean UpdateImpl(Ark_WaterFlowSections peer, + const Ark_Number* sectionIndex, + const Ark_SectionOptions* section) { if (!needGroupedLog(1)) { - return {42}; + return 0; } - string out("px2vp("); - WriteToString(&out, value); + string out("update("); + WriteToString(&out, sectionIndex); + out.append(", "); + WriteToString(&out, section); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {42}; + return 0; } - Ark_Number Fp2pxImpl(Ark_UIContext peer, - const Ark_Number* value) + Array_SectionOptions ValuesImpl(Ark_WaterFlowSections peer) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("fp2px("); - WriteToString(&out, value); + string out("values("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - Ark_Number Px2fpImpl(Ark_UIContext peer, - const Ark_Number* value) + Ark_Number LengthImpl(Ark_WaterFlowSections peer) { if (!needGroupedLog(1)) { return {42}; } - string out("px2fp("); - WriteToString(&out, value); + string out("length("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - Ark_Number Lpx2pxImpl(Ark_UIContext peer, - const Ark_Number* value) + } // WaterFlowSectionsAccessor + namespace WebContextMenuParamAccessor { + void DestroyPeerImpl(Ark_WebContextMenuParam peer) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("lpx2px("); - WriteToString(&out, value); + string out("destroyPeer("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Number Px2lpxImpl(Ark_UIContext peer, - const Ark_Number* value) + Ark_WebContextMenuParam ConstructImpl() { if (!needGroupedLog(1)) { - return {42}; + return reinterpret_cast(100); } - string out("px2lpx("); - WriteToString(&out, value); + string out("new WebContextMenuParam("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {42}; + return reinterpret_cast(100); } - Opt_common_Context GetHostContextImpl(Ark_UIContext peer) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return {}; + return fnPtr(dummyClassFinalizer); } - string out("getHostContext("); + string out("getFinalizer("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return {}; + return fnPtr(dummyClassFinalizer); } - void SetDynamicDimmingImpl(Ark_UIContext peer, - const Ark_String* id, - const Ark_Number* value) + Ark_Int32 XImpl(Ark_WebContextMenuParam peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("setDynamicDimming("); - WriteToString(&out, id); - out.append(", "); - WriteToString(&out, value); + string out("x("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Opt_String GetWindowNameImpl(Ark_UIContext peer) + Ark_Int32 YImpl(Ark_WebContextMenuParam peer) { if (!needGroupedLog(1)) { - return {}; + return 0; } - string out("getWindowName("); + string out("y("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {}; + return 0; } - Ark_WidthBreakpoint GetWindowWidthBreakpointImpl(Ark_UIContext peer) + Ark_String GetLinkUrlImpl(Ark_WebContextMenuParam peer) { if (!needGroupedLog(1)) { return {}; } - string out("getWindowWidthBreakpoint("); + string out("getLinkUrl("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Ark_HeightBreakpoint GetWindowHeightBreakpointImpl(Ark_UIContext peer) + Ark_String GetUnfilteredLinkUrlImpl(Ark_WebContextMenuParam peer) { if (!needGroupedLog(1)) { return {}; } - string out("getWindowHeightBreakpoint("); + string out("getUnfilteredLinkUrl("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void OpenBindSheetImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_UIContext peer, - Ark_ComponentContent bindSheetContent, - const Opt_SheetOptions* sheetOptions, - const Opt_Number* targetId, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) - { - if (!needGroupedLog(1)) - { - return; - } - string out("openBindSheet("); - WriteToString(&out, bindSheetContent); - out.append(", "); - WriteToString(&out, sheetOptions); - out.append(", "); - WriteToString(&out, targetId); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); - out.append(") \n"); - appendGroupedLog(1, out); - } - void UpdateBindSheetImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_UIContext peer, - Ark_ComponentContent bindSheetContent, - const Ark_SheetOptions* sheetOptions, - const Opt_Boolean* partialUpdate, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_String GetSourceUrlImpl(Ark_WebContextMenuParam peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("updateBindSheet("); - WriteToString(&out, bindSheetContent); - out.append(", "); - WriteToString(&out, sheetOptions); - out.append(", "); - WriteToString(&out, partialUpdate); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("getSourceUrl("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void CloseBindSheetImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_UIContext peer, - Ark_ComponentContent bindSheetContent, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_Boolean ExistsImageContentsImpl(Ark_WebContextMenuParam peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("closeBindSheet("); - WriteToString(&out, bindSheetContent); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + string out("existsImageContents("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - void ClearResourceCacheImpl(Ark_VMContext vmContext, - Ark_UIContext peer) + Ark_ContextMenuMediaType GetMediaTypeImpl(Ark_WebContextMenuParam peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("clearResourceCache("); + string out("getMediaType("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_Boolean IsFollowingSystemFontScaleImpl(Ark_UIContext peer) + Ark_String GetSelectionTextImpl(Ark_WebContextMenuParam peer) { if (!needGroupedLog(1)) { - return 0; + return {}; } - string out("isFollowingSystemFontScale("); + string out("getSelectionText("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return 0; + return {}; } - Ark_Number GetMaxFontScaleImpl(Ark_UIContext peer) + Ark_ContextMenuSourceType GetSourceTypeImpl(Ark_WebContextMenuParam peer) { if (!needGroupedLog(1)) { - return {42}; + return {}; } - string out("getMaxFontScale("); + string out("getSourceType("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - } // UIContextAccessor - namespace UIContextAtomicServiceBarAccessor { - Ark_Frame GetBarRectImpl() + Ark_ContextMenuInputFieldType GetInputFieldTypeImpl(Ark_WebContextMenuParam peer) { if (!needGroupedLog(1)) { return {}; } - string out("getBarRect("); + string out("getInputFieldType("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - } // UIContextAtomicServiceBarAccessor - namespace uiEffect_VisualEffectAccessor { - void DestroyPeerImpl(Ark_uiEffect_VisualEffect peer) + Ark_Boolean IsEditableImpl(Ark_WebContextMenuParam peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("destroyPeer("); + string out("isEditable("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Ark_uiEffect_VisualEffect ConstructImpl() + Ark_Int32 GetEditStateFlagsImpl(Ark_WebContextMenuParam peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return 0; } - string out("new VisualEffect("); + string out("getEditStateFlags("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return 0; } - Ark_NativePointer GetFinalizerImpl() + Ark_Int32 GetPreviewWidthImpl(Ark_WebContextMenuParam peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return 0; } - string out("getFinalizer("); + string out("getPreviewWidth("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return 0; } - Ark_uiEffect_VisualEffect BackgroundColorBlenderImpl(Ark_uiEffect_VisualEffect peer, - const Ark_uiEffect_BrightnessBlender* blender) + Ark_Int32 GetPreviewHeightImpl(Ark_WebContextMenuParam peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return 0; } - string out("backgroundColorBlender("); - WriteToString(&out, blender); + string out("getPreviewHeight("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return 0; } - } // uiEffect_VisualEffectAccessor - namespace UIExtensionProxyAccessor { - void DestroyPeerImpl(Ark_UIExtensionProxy peer) + } // WebContextMenuParamAccessor + namespace WebContextMenuResultAccessor { + void DestroyPeerImpl(Ark_WebContextMenuResult peer) { if (!needGroupedLog(1)) { @@ -46910,17 +50272,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_UIExtensionProxy ConstructImpl() + Ark_WebContextMenuResult ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new UIExtensionProxy("); + string out("new WebContextMenuResult("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -46934,83 +50296,69 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void SendImpl(Ark_UIExtensionProxy peer, - const Map_String_Object* data) + void CloseContextMenuImpl(Ark_WebContextMenuResult peer) { if (!needGroupedLog(1)) { return; } - string out("send("); - WriteToString(&out, data); + string out("closeContextMenu("); out.append(") \n"); appendGroupedLog(1, out); } - Map_String_Object SendSyncImpl(Ark_UIExtensionProxy peer, - const Map_String_Object* data) + void CopyImageImpl(Ark_WebContextMenuResult peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("sendSync("); - WriteToString(&out, data); + string out("copyImage("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void OnAsyncReceiverRegisterImpl(Ark_UIExtensionProxy peer, - const Callback_UIExtensionProxy_Void* callback_) + void CopyImpl(Ark_WebContextMenuResult peer) { if (!needGroupedLog(1)) { return; } - string out("onAsyncReceiverRegister("); - WriteToString(&out, callback_); + string out("copy("); out.append(") \n"); appendGroupedLog(1, out); } - void OnSyncReceiverRegisterImpl(Ark_UIExtensionProxy peer, - const Callback_UIExtensionProxy_Void* callback_) + void PasteImpl(Ark_WebContextMenuResult peer) { if (!needGroupedLog(1)) { return; } - string out("onSyncReceiverRegister("); - WriteToString(&out, callback_); + string out("paste("); out.append(") \n"); appendGroupedLog(1, out); } - void OffAsyncReceiverRegisterImpl(Ark_UIExtensionProxy peer, - const Opt_Callback_UIExtensionProxy_Void* callback_) + void CutImpl(Ark_WebContextMenuResult peer) { if (!needGroupedLog(1)) { return; } - string out("offAsyncReceiverRegister("); - WriteToString(&out, callback_); + string out("cut("); out.append(") \n"); appendGroupedLog(1, out); } - void OffSyncReceiverRegisterImpl(Ark_UIExtensionProxy peer, - const Opt_Callback_UIExtensionProxy_Void* callback_) + void SelectAllImpl(Ark_WebContextMenuResult peer) { if (!needGroupedLog(1)) { return; } - string out("offSyncReceiverRegister("); - WriteToString(&out, callback_); + string out("selectAll("); out.append(") \n"); appendGroupedLog(1, out); } - } // UIExtensionProxyAccessor - namespace uiObserver_DensityInfoAccessor { - void DestroyPeerImpl(Ark_uiObserver_DensityInfo peer) + } // WebContextMenuResultAccessor + namespace WebCookieAccessor { + void DestroyPeerImpl(Ark_WebCookie peer) { if (!needGroupedLog(1)) { @@ -47020,17 +50368,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_uiObserver_DensityInfo ConstructImpl() + Ark_WebCookie ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new DensityInfo("); + string out("new WebCookie("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -47044,57 +50392,29 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_UIContext GetContextImpl(Ark_uiObserver_DensityInfo peer) - { - if (!needGroupedLog(1)) - { - return reinterpret_cast(300); - } - string out("getContext("); - out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); - appendGroupedLog(1, out); - return reinterpret_cast(300); - } - void SetContextImpl(Ark_uiObserver_DensityInfo peer, - Ark_UIContext context) + void SetCookieImpl(Ark_WebCookie peer) { if (!needGroupedLog(1)) { return; } - string out("setContext("); - WriteToString(&out, context); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Number GetDensityImpl(Ark_uiObserver_DensityInfo peer) - { - if (!needGroupedLog(1)) - { - return {42}; - } - string out("getDensity("); + string out("setCookie("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetDensityImpl(Ark_uiObserver_DensityInfo peer, - const Ark_Number* density) + void SaveCookieImpl(Ark_WebCookie peer) { if (!needGroupedLog(1)) { return; } - string out("setDensity("); - WriteToString(&out, density); + string out("saveCookie("); out.append(") \n"); appendGroupedLog(1, out); } - } // uiObserver_DensityInfoAccessor - namespace uiObserver_RouterPageInfoAccessor { - void DestroyPeerImpl(Ark_uiObserver_RouterPageInfo peer) + } // WebCookieAccessor + namespace WebKeyboardControllerAccessor { + void DestroyPeerImpl(Ark_WebKeyboardController peer) { if (!needGroupedLog(1)) { @@ -47104,17 +50424,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_uiObserver_RouterPageInfo ConstructImpl() + Ark_WebKeyboardController ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new RouterPageInfo("); + string out("new WebKeyboardController("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -47128,129 +50448,127 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Number GetIndexImpl(Ark_uiObserver_RouterPageInfo peer) + void InsertTextImpl(Ark_WebKeyboardController peer, + const Ark_String* text) { if (!needGroupedLog(1)) { - return {42}; + return; } - string out("getIndex("); + string out("insertText("); + WriteToString(&out, text); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - void SetIndexImpl(Ark_uiObserver_RouterPageInfo peer, - const Ark_Number* index) + void DeleteForwardImpl(Ark_WebKeyboardController peer, + Ark_Int32 length) { if (!needGroupedLog(1)) { return; } - string out("setIndex("); - WriteToString(&out, index); + string out("deleteForward("); + WriteToString(&out, length); out.append(") \n"); appendGroupedLog(1, out); } - Ark_String GetNameImpl(Ark_uiObserver_RouterPageInfo peer) + void DeleteBackwardImpl(Ark_WebKeyboardController peer, + Ark_Int32 length) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getName("); + string out("deleteBackward("); + WriteToString(&out, length); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetNameImpl(Ark_uiObserver_RouterPageInfo peer, - const Ark_String* name) + void SendFunctionKeyImpl(Ark_WebKeyboardController peer, + Ark_Int32 key) { if (!needGroupedLog(1)) { return; } - string out("setName("); - WriteToString(&out, name); + string out("sendFunctionKey("); + WriteToString(&out, key); out.append(") \n"); appendGroupedLog(1, out); } - Ark_String GetPathImpl(Ark_uiObserver_RouterPageInfo peer) + void CloseImpl(Ark_WebKeyboardController peer) { if (!needGroupedLog(1)) { - return {}; + return; } - string out("getPath("); + string out("close("); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetPathImpl(Ark_uiObserver_RouterPageInfo peer, - const Ark_String* path) + } // WebKeyboardControllerAccessor + namespace WebResourceErrorAccessor { + void DestroyPeerImpl(Ark_WebResourceError peer) { if (!needGroupedLog(1)) { return; } - string out("setPath("); - WriteToString(&out, path); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Ark_uiObserver_RouterPageState GetStateImpl(Ark_uiObserver_RouterPageInfo peer) + Ark_WebResourceError ConstructImpl() { if (!needGroupedLog(1)) { - return {}; + return reinterpret_cast(100); } - string out("getState("); + string out("new WebResourceError("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return {}; + return reinterpret_cast(100); } - void SetStateImpl(Ark_uiObserver_RouterPageInfo peer, - Ark_uiObserver_RouterPageState state) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) { - return; + return fnPtr(dummyClassFinalizer); } - string out("setState("); - WriteToString(&out, state); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Ark_String GetPageIdImpl(Ark_uiObserver_RouterPageInfo peer) + Ark_String GetErrorInfoImpl(Ark_WebResourceError peer) { if (!needGroupedLog(1)) { return {}; } - string out("getPageId("); + string out("getErrorInfo("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetPageIdImpl(Ark_uiObserver_RouterPageInfo peer, - const Ark_String* pageId) + Ark_Number GetErrorCodeImpl(Ark_WebResourceError peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setPageId("); - WriteToString(&out, pageId); + string out("getErrorCode("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - } // uiObserver_RouterPageInfoAccessor - namespace unifiedDataChannel_UnifiedDataAccessor { - void DestroyPeerImpl(Ark_unifiedDataChannel_UnifiedData peer) + } // WebResourceErrorAccessor + namespace WebResourceRequestAccessor { + void DestroyPeerImpl(Ark_WebResourceRequest peer) { if (!needGroupedLog(1)) { @@ -47260,17 +50578,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_unifiedDataChannel_UnifiedData ConstructImpl() + Ark_WebResourceRequest ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new UnifiedData("); + string out("new WebResourceRequest("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -47284,84 +50602,81 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Boolean HasTypeImpl(Ark_unifiedDataChannel_UnifiedData peer, - const Ark_String* UnifiedData_type) + Array_Header GetRequestHeaderImpl(Ark_WebResourceRequest peer) { if (!needGroupedLog(1)) { - return 0; + return {}; } - string out("hasType("); - WriteToString(&out, UnifiedData_type); + string out("getRequestHeader("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return 0; + return {}; } - Array_String GetTypesImpl(Ark_unifiedDataChannel_UnifiedData peer) + Ark_String GetRequestUrlImpl(Ark_WebResourceRequest peer) { if (!needGroupedLog(1)) { return {}; } - string out("getTypes("); + string out("getRequestUrl("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - } // unifiedDataChannel_UnifiedDataAccessor - namespace UrlStyleAccessor { - void DestroyPeerImpl(Ark_UrlStyle peer) + Ark_Boolean IsRequestGestureImpl(Ark_WebResourceRequest peer) { if (!needGroupedLog(1)) { - return; + return 0; } - string out("destroyPeer("); + string out("isRequestGesture("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Ark_UrlStyle ConstructImpl(const Ark_String* url) + Ark_Boolean IsMainFrameImpl(Ark_WebResourceRequest peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return 0; } - string out("new UrlStyle("); - WriteToString(&out, url); + string out("isMainFrame("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return 0; } - Ark_NativePointer GetFinalizerImpl() + Ark_Boolean IsRedirectImpl(Ark_WebResourceRequest peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return 0; } - string out("getFinalizer("); + string out("isRedirect("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return 0; } - Ark_String GetUrlImpl(Ark_UrlStyle peer) + Ark_String GetRequestMethodImpl(Ark_WebResourceRequest peer) { if (!needGroupedLog(1)) { return {}; } - string out("getUrl("); + string out("getRequestMethod("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - } // UrlStyleAccessor - namespace UserDataSpanAccessor { - void DestroyPeerImpl(Ark_UserDataSpan peer) + } // WebResourceRequestAccessor + namespace WebResourceResponseAccessor { + void DestroyPeerImpl(Ark_WebResourceResponse peer) { if (!needGroupedLog(1)) { @@ -47371,17 +50686,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_UserDataSpan ConstructImpl() + Ark_WebResourceResponse ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new UserDataSpan("); + string out("new WebResourceResponse("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -47395,245 +50710,189 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - } // UserDataSpanAccessor - namespace VideoControllerAccessor { - void DestroyPeerImpl(Ark_VideoController peer) + Ark_String GetResponseDataImpl(Ark_WebResourceResponse peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("destroyPeer("); + string out("getResponseData("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_VideoController ConstructImpl() + Opt_Union_String_Number_Buffer_Resource GetResponseDataExImpl(Ark_WebResourceResponse peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return {}; } - string out("new VideoController("); + string out("getResponseDataEx("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_String GetResponseEncodingImpl(Ark_WebResourceResponse peer) { if (!needGroupedLog(1)) { - return fnPtr(dummyClassFinalizer); + return {}; } - string out("getFinalizer("); + string out("getResponseEncoding("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - void StartImpl(Ark_VideoController peer) + Ark_String GetResponseMimeTypeImpl(Ark_WebResourceResponse peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("start("); + string out("getResponseMimeType("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void PauseImpl(Ark_VideoController peer) + Ark_String GetReasonMessageImpl(Ark_WebResourceResponse peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("pause("); + string out("getReasonMessage("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void StopImpl(Ark_VideoController peer) + Array_Header GetResponseHeaderImpl(Ark_WebResourceResponse peer) { if (!needGroupedLog(1)) { - return; + return {}; } - string out("stop("); + string out("getResponseHeader("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SetCurrentTime0Impl(Ark_VideoController peer, - const Ark_Number* value) + Ark_Number GetResponseCodeImpl(Ark_WebResourceResponse peer) { if (!needGroupedLog(1)) { - return; + return {42}; } - string out("setCurrentTime0("); - WriteToString(&out, value); + string out("getResponseCode("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void RequestFullscreenImpl(Ark_VideoController peer, - Ark_Boolean value) + void SetResponseDataImpl(Ark_WebResourceResponse peer, + const Ark_Union_String_Number_Resource_Buffer* data) { if (!needGroupedLog(1)) { return; } - string out("requestFullscreen("); - WriteToString(&out, value); + string out("setResponseData("); + WriteToString(&out, data); out.append(") \n"); appendGroupedLog(1, out); } - void ExitFullscreenImpl(Ark_VideoController peer) + void SetResponseEncodingImpl(Ark_WebResourceResponse peer, + const Ark_String* encoding) { if (!needGroupedLog(1)) { return; } - string out("exitFullscreen("); + string out("setResponseEncoding("); + WriteToString(&out, encoding); out.append(") \n"); appendGroupedLog(1, out); } - void SetCurrentTime1Impl(Ark_VideoController peer, - const Ark_Number* value, - Ark_SeekMode seekMode) + void SetResponseMimeTypeImpl(Ark_WebResourceResponse peer, + const Ark_String* mimeType) { if (!needGroupedLog(1)) { return; } - string out("setCurrentTime1("); - WriteToString(&out, value); - out.append(", "); - WriteToString(&out, seekMode); + string out("setResponseMimeType("); + WriteToString(&out, mimeType); out.append(") \n"); appendGroupedLog(1, out); } - void ResetImpl(Ark_VideoController peer) + void SetReasonMessageImpl(Ark_WebResourceResponse peer, + const Ark_String* reason) { if (!needGroupedLog(1)) { return; } - string out("reset("); + string out("setReasonMessage("); + WriteToString(&out, reason); out.append(") \n"); appendGroupedLog(1, out); } - } // VideoControllerAccessor - namespace WaterFlowSectionsAccessor { - void DestroyPeerImpl(Ark_WaterFlowSections peer) + void SetResponseHeaderImpl(Ark_WebResourceResponse peer, + const Array_Header* header) { if (!needGroupedLog(1)) { return; } - string out("destroyPeer("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_WaterFlowSections ConstructImpl() - { - if (!needGroupedLog(1)) - { - return reinterpret_cast(100); - } - string out("new WaterFlowSections("); - out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); - appendGroupedLog(1, out); - return reinterpret_cast(100); - } - Ark_NativePointer GetFinalizerImpl() - { - if (!needGroupedLog(1)) - { - return fnPtr(dummyClassFinalizer); - } - string out("getFinalizer("); + string out("setResponseHeader("); + WriteToString(&out, header); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_Boolean SpliceImpl(Ark_WaterFlowSections peer, - const Ark_Number* start, - const Opt_Number* deleteCount, - const Opt_Array_SectionOptions* sections) + void SetResponseCodeImpl(Ark_WebResourceResponse peer, + const Ark_Number* code) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("splice("); - WriteToString(&out, start); - out.append(", "); - WriteToString(&out, deleteCount); - out.append(", "); - WriteToString(&out, sections); + string out("setResponseCode("); + WriteToString(&out, code); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_Boolean PushImpl(Ark_WaterFlowSections peer, - const Ark_SectionOptions* section) + void SetResponseIsReadyImpl(Ark_WebResourceResponse peer, + Ark_Boolean IsReady) { if (!needGroupedLog(1)) { - return 0; + return; } - string out("push("); - WriteToString(&out, section); + string out("setResponseIsReady("); + WriteToString(&out, IsReady); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_Boolean UpdateImpl(Ark_WaterFlowSections peer, - const Ark_Number* sectionIndex, - const Ark_SectionOptions* section) + Ark_Boolean GetResponseIsReadyImpl(Ark_WebResourceResponse peer) { if (!needGroupedLog(1)) { return 0; } - string out("update("); - WriteToString(&out, sectionIndex); - out.append(", "); - WriteToString(&out, section); + string out("getResponseIsReady("); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - Array_SectionOptions ValuesImpl(Ark_WaterFlowSections peer) - { - if (!needGroupedLog(1)) - { - return {}; - } - string out("values("); - out.append(") \n"); - out.append("[return {}] \n"); - appendGroupedLog(1, out); - return {}; - } - Ark_Number LengthImpl(Ark_WaterFlowSections peer) - { - if (!needGroupedLog(1)) - { - return {42}; - } - string out("length("); - out.append(") \n"); - out.append("[return {42}] \n"); - appendGroupedLog(1, out); - return {42}; - } - } // WaterFlowSectionsAccessor - namespace WebCookieAccessor { - void DestroyPeerImpl(Ark_WebCookie peer) + } // WebResourceResponseAccessor + namespace webview_WebviewControllerAccessor { + void DestroyPeerImpl(Ark_webview_WebviewController peer) { if (!needGroupedLog(1)) { @@ -47643,17 +50902,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_WebCookie ConstructImpl() + Ark_webview_WebviewController ConstructImpl() { if (!needGroupedLog(1)) { - return reinterpret_cast(100); + return reinterpret_cast(100); } - string out("new WebCookie("); + string out("new WebviewController("); out.append(") \n"); - out.append("[return reinterpret_cast(100)] \n"); + out.append("[return reinterpret_cast(100)] \n"); appendGroupedLog(1, out); - return reinterpret_cast(100); + return reinterpret_cast(100); } Ark_NativePointer GetFinalizerImpl() { @@ -47667,27 +50926,32 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void SetCookieImpl(Ark_WebCookie peer) + void InitializeWebEngineImpl() { if (!needGroupedLog(1)) { return; } - string out("setCookie("); + string out("initializeWebEngine("); out.append(") \n"); appendGroupedLog(1, out); } - void SaveCookieImpl(Ark_WebCookie peer) + void LoadUrlImpl(Ark_webview_WebviewController peer, + const Ark_Union_String_Resource* url, + const Opt_Array_webview_WebHeader* headers) { if (!needGroupedLog(1)) { return; } - string out("saveCookie("); + string out("loadUrl("); + WriteToString(&out, url); + out.append(", "); + WriteToString(&out, headers); out.append(") \n"); appendGroupedLog(1, out); } - } // WebCookieAccessor + } // webview_WebviewControllerAccessor namespace XComponentControllerAccessor { void DestroyPeerImpl(Ark_XComponentController peer) { @@ -47735,18 +50999,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return {}; } - Ark_Object GetXComponentContextImpl(Ark_XComponentController peer) - { - if (!needGroupedLog(1)) - { - return {}; - } - string out("getXComponentContext("); - out.append(") \n"); - out.append("[return {}] \n"); - appendGroupedLog(1, out); - return {}; - } void SetXComponentSurfaceRectImpl(Ark_XComponentController peer, const Ark_SurfaceRect* rect) { @@ -48833,6 +52085,23 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct ClickEventPeer { virtual ~ClickEventPeer() = default; }; + const GENERATED_ArkUIClientAuthenticationHandlerAccessor* GetClientAuthenticationHandlerAccessor() + { + static const GENERATED_ArkUIClientAuthenticationHandlerAccessor ClientAuthenticationHandlerAccessorImpl { + ClientAuthenticationHandlerAccessor::DestroyPeerImpl, + ClientAuthenticationHandlerAccessor::ConstructImpl, + ClientAuthenticationHandlerAccessor::GetFinalizerImpl, + ClientAuthenticationHandlerAccessor::Confirm0Impl, + ClientAuthenticationHandlerAccessor::Confirm1Impl, + ClientAuthenticationHandlerAccessor::CancelImpl, + ClientAuthenticationHandlerAccessor::IgnoreImpl, + }; + return &ClientAuthenticationHandlerAccessorImpl; + } + + struct ClientAuthenticationHandlerPeer { + virtual ~ClientAuthenticationHandlerPeer() = default; + }; const GENERATED_ArkUIColorContentAccessor* GetColorContentAccessor() { static const GENERATED_ArkUIColorContentAccessor ColorContentAccessorImpl { @@ -48952,6 +52221,23 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct ComponentContentPeer { virtual ~ComponentContentPeer() = default; }; + const GENERATED_ArkUIConsoleMessageAccessor* GetConsoleMessageAccessor() + { + static const GENERATED_ArkUIConsoleMessageAccessor ConsoleMessageAccessorImpl { + ConsoleMessageAccessor::DestroyPeerImpl, + ConsoleMessageAccessor::ConstructImpl, + ConsoleMessageAccessor::GetFinalizerImpl, + ConsoleMessageAccessor::GetMessageImpl, + ConsoleMessageAccessor::GetSourceIdImpl, + ConsoleMessageAccessor::GetLineNumberImpl, + ConsoleMessageAccessor::GetMessageLevelImpl, + }; + return &ConsoleMessageAccessorImpl; + } + + struct ConsoleMessagePeer { + virtual ~ConsoleMessagePeer() = default; + }; const GENERATED_ArkUIContentModifierHelperAccessor* GetContentModifierHelperAccessor() { static const GENERATED_ArkUIContentModifierHelperAccessor ContentModifierHelperAccessorImpl { @@ -48998,6 +52284,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct ContextPeer { virtual ~ContextPeer() = default; }; + const GENERATED_ArkUIControllerHandlerAccessor* GetControllerHandlerAccessor() + { + static const GENERATED_ArkUIControllerHandlerAccessor ControllerHandlerAccessorImpl { + ControllerHandlerAccessor::DestroyPeerImpl, + ControllerHandlerAccessor::ConstructImpl, + ControllerHandlerAccessor::GetFinalizerImpl, + ControllerHandlerAccessor::SetWebControllerImpl, + }; + return &ControllerHandlerAccessorImpl; + } + + struct ControllerHandlerPeer { + virtual ~ControllerHandlerPeer() = default; + }; const GENERATED_ArkUICurves_ICurveAccessor* GetCurves_ICurveAccessor() { static const GENERATED_ArkUICurves_ICurveAccessor Curves_ICurveAccessorImpl { @@ -49045,6 +52345,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct CustomSpanPeer { virtual ~CustomSpanPeer() = default; }; + const GENERATED_ArkUIDataResubmissionHandlerAccessor* GetDataResubmissionHandlerAccessor() + { + static const GENERATED_ArkUIDataResubmissionHandlerAccessor DataResubmissionHandlerAccessorImpl { + DataResubmissionHandlerAccessor::DestroyPeerImpl, + DataResubmissionHandlerAccessor::ConstructImpl, + DataResubmissionHandlerAccessor::GetFinalizerImpl, + DataResubmissionHandlerAccessor::ResendImpl, + DataResubmissionHandlerAccessor::CancelImpl, + }; + return &DataResubmissionHandlerAccessorImpl; + } + + struct DataResubmissionHandlerPeer { + virtual ~DataResubmissionHandlerPeer() = default; + }; const GENERATED_ArkUIDatePickerDialogAccessor* GetDatePickerDialogAccessor() { static const GENERATED_ArkUIDatePickerDialogAccessor DatePickerDialogAccessorImpl { @@ -49715,6 +53030,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &EventEmulatorAccessorImpl; } + const GENERATED_ArkUIEventResultAccessor* GetEventResultAccessor() + { + static const GENERATED_ArkUIEventResultAccessor EventResultAccessorImpl { + EventResultAccessor::DestroyPeerImpl, + EventResultAccessor::ConstructImpl, + EventResultAccessor::GetFinalizerImpl, + EventResultAccessor::SetGestureEventResult0Impl, + EventResultAccessor::SetGestureEventResult1Impl, + }; + return &EventResultAccessorImpl; + } + + struct EventResultPeer { + virtual ~EventResultPeer() = default; + }; const GENERATED_ArkUIEventTargetInfoAccessor* GetEventTargetInfoAccessor() { static const GENERATED_ArkUIEventTargetInfoAccessor EventTargetInfoAccessorImpl { @@ -49748,6 +53078,38 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct ExtendableComponentPeer { virtual ~ExtendableComponentPeer() = default; }; + const GENERATED_ArkUIFileSelectorParamAccessor* GetFileSelectorParamAccessor() + { + static const GENERATED_ArkUIFileSelectorParamAccessor FileSelectorParamAccessorImpl { + FileSelectorParamAccessor::DestroyPeerImpl, + FileSelectorParamAccessor::ConstructImpl, + FileSelectorParamAccessor::GetFinalizerImpl, + FileSelectorParamAccessor::GetTitleImpl, + FileSelectorParamAccessor::GetModeImpl, + FileSelectorParamAccessor::GetAcceptTypeImpl, + FileSelectorParamAccessor::IsCaptureImpl, + FileSelectorParamAccessor::GetMimeTypesImpl, + }; + return &FileSelectorParamAccessorImpl; + } + + struct FileSelectorParamPeer { + virtual ~FileSelectorParamPeer() = default; + }; + const GENERATED_ArkUIFileSelectorResultAccessor* GetFileSelectorResultAccessor() + { + static const GENERATED_ArkUIFileSelectorResultAccessor FileSelectorResultAccessorImpl { + FileSelectorResultAccessor::DestroyPeerImpl, + FileSelectorResultAccessor::ConstructImpl, + FileSelectorResultAccessor::GetFinalizerImpl, + FileSelectorResultAccessor::HandleFileListImpl, + }; + return &FileSelectorResultAccessorImpl; + } + + struct FileSelectorResultPeer { + virtual ~FileSelectorResultPeer() = default; + }; const GENERATED_ArkUIFocusAxisEventAccessor* GetFocusAxisEventAccessor() { static const GENERATED_ArkUIFocusAxisEventAccessor FocusAxisEventAccessorImpl { @@ -49843,6 +53205,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct FrictionMotionPeer { virtual ~FrictionMotionPeer() = default; }; + const GENERATED_ArkUIFullScreenExitHandlerAccessor* GetFullScreenExitHandlerAccessor() + { + static const GENERATED_ArkUIFullScreenExitHandlerAccessor FullScreenExitHandlerAccessorImpl { + FullScreenExitHandlerAccessor::DestroyPeerImpl, + FullScreenExitHandlerAccessor::ConstructImpl, + FullScreenExitHandlerAccessor::GetFinalizerImpl, + FullScreenExitHandlerAccessor::ExitFullScreenImpl, + }; + return &FullScreenExitHandlerAccessorImpl; + } + + struct FullScreenExitHandlerPeer { + virtual ~FullScreenExitHandlerPeer() = default; + }; const GENERATED_ArkUIGestureAccessor* GetGestureAccessor() { static const GENERATED_ArkUIGestureAccessor GestureAccessorImpl { @@ -50024,6 +53400,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct HoverEventPeer { virtual ~HoverEventPeer() = default; }; + const GENERATED_ArkUIHttpAuthHandlerAccessor* GetHttpAuthHandlerAccessor() + { + static const GENERATED_ArkUIHttpAuthHandlerAccessor HttpAuthHandlerAccessorImpl { + HttpAuthHandlerAccessor::DestroyPeerImpl, + HttpAuthHandlerAccessor::ConstructImpl, + HttpAuthHandlerAccessor::GetFinalizerImpl, + HttpAuthHandlerAccessor::ConfirmImpl, + HttpAuthHandlerAccessor::CancelImpl, + HttpAuthHandlerAccessor::IsHttpAuthInfoSavedImpl, + }; + return &HttpAuthHandlerAccessorImpl; + } + + struct HttpAuthHandlerPeer { + virtual ~HttpAuthHandlerPeer() = default; + }; const GENERATED_ArkUIImageAnalyzerControllerAccessor* GetImageAnalyzerControllerAccessor() { static const GENERATED_ArkUIImageAnalyzerControllerAccessor ImageAnalyzerControllerAccessorImpl { @@ -50119,6 +53511,36 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &IUIContextAccessorImpl; } + const GENERATED_ArkUIJsGeolocationAccessor* GetJsGeolocationAccessor() + { + static const GENERATED_ArkUIJsGeolocationAccessor JsGeolocationAccessorImpl { + JsGeolocationAccessor::DestroyPeerImpl, + JsGeolocationAccessor::ConstructImpl, + JsGeolocationAccessor::GetFinalizerImpl, + JsGeolocationAccessor::InvokeImpl, + }; + return &JsGeolocationAccessorImpl; + } + + struct JsGeolocationPeer { + virtual ~JsGeolocationPeer() = default; + }; + const GENERATED_ArkUIJsResultAccessor* GetJsResultAccessor() + { + static const GENERATED_ArkUIJsResultAccessor JsResultAccessorImpl { + JsResultAccessor::DestroyPeerImpl, + JsResultAccessor::ConstructImpl, + JsResultAccessor::GetFinalizerImpl, + JsResultAccessor::HandleCancelImpl, + JsResultAccessor::HandleConfirmImpl, + JsResultAccessor::HandlePromptConfirmImpl, + }; + return &JsResultAccessorImpl; + } + + struct JsResultPeer { + virtual ~JsResultPeer() = default; + }; const GENERATED_ArkUIKeyEventAccessor* GetKeyEventAccessor() { static const GENERATED_ArkUIKeyEventAccessor KeyEventAccessorImpl { @@ -50175,21 +53597,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct LayoutablePeer { virtual ~LayoutablePeer() = default; }; - const GENERATED_ArkUILayoutCallbackAccessor* GetLayoutCallbackAccessor() - { - static const GENERATED_ArkUILayoutCallbackAccessor LayoutCallbackAccessorImpl { - LayoutCallbackAccessor::DestroyPeerImpl, - LayoutCallbackAccessor::ConstructImpl, - LayoutCallbackAccessor::GetFinalizerImpl, - LayoutCallbackAccessor::OnPlaceChildrenImpl, - LayoutCallbackAccessor::OnMeasureSizeImpl, - }; - return &LayoutCallbackAccessorImpl; - } - - struct LayoutCallbackPeer { - virtual ~LayoutCallbackPeer() = default; - }; const GENERATED_ArkUILayoutChildAccessor* GetLayoutChildAccessor() { static const GENERATED_ArkUILayoutChildAccessor LayoutChildAccessorImpl { @@ -50438,12 +53845,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { Matrix2DAccessor::ScaleImpl, Matrix2DAccessor::GetScaleXImpl, Matrix2DAccessor::SetScaleXImpl, - Matrix2DAccessor::GetRotateYImpl, - Matrix2DAccessor::SetRotateYImpl, - Matrix2DAccessor::GetRotateXImpl, - Matrix2DAccessor::SetRotateXImpl, Matrix2DAccessor::GetScaleYImpl, Matrix2DAccessor::SetScaleYImpl, + Matrix2DAccessor::GetRotateXImpl, + Matrix2DAccessor::SetRotateXImpl, + Matrix2DAccessor::GetRotateYImpl, + Matrix2DAccessor::SetRotateYImpl, Matrix2DAccessor::GetTranslateXImpl, Matrix2DAccessor::SetTranslateXImpl, Matrix2DAccessor::GetTranslateYImpl, @@ -50740,24 +54147,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct OffscreenCanvasRenderingContext2DPeer { virtual ~OffscreenCanvasRenderingContext2DPeer() = default; }; - const GENERATED_ArkUIPageLifeCycleAccessor* GetPageLifeCycleAccessor() - { - static const GENERATED_ArkUIPageLifeCycleAccessor PageLifeCycleAccessorImpl { - PageLifeCycleAccessor::DestroyPeerImpl, - PageLifeCycleAccessor::ConstructImpl, - PageLifeCycleAccessor::GetFinalizerImpl, - PageLifeCycleAccessor::OnPageShowImpl, - PageLifeCycleAccessor::OnPageHideImpl, - PageLifeCycleAccessor::OnBackPressImpl, - PageLifeCycleAccessor::PageTransitionImpl, - PageLifeCycleAccessor::OnNewParamImpl, - }; - return &PageLifeCycleAccessorImpl; - } - - struct PageLifeCyclePeer { - virtual ~PageLifeCyclePeer() = default; - }; const GENERATED_ArkUIPanGestureEventAccessor* GetPanGestureEventAccessor() { static const GENERATED_ArkUIPanGestureEventAccessor PanGestureEventAccessorImpl { @@ -50902,6 +54291,23 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct PatternLockControllerPeer { virtual ~PatternLockControllerPeer() = default; }; + const GENERATED_ArkUIPermissionRequestAccessor* GetPermissionRequestAccessor() + { + static const GENERATED_ArkUIPermissionRequestAccessor PermissionRequestAccessorImpl { + PermissionRequestAccessor::DestroyPeerImpl, + PermissionRequestAccessor::ConstructImpl, + PermissionRequestAccessor::GetFinalizerImpl, + PermissionRequestAccessor::DenyImpl, + PermissionRequestAccessor::GetOriginImpl, + PermissionRequestAccessor::GetAccessibleResourceImpl, + PermissionRequestAccessor::GrantImpl, + }; + return &PermissionRequestAccessorImpl; + } + + struct PermissionRequestPeer { + virtual ~PermissionRequestPeer() = default; + }; const GENERATED_ArkUIPersistentStorageBackendAccessor* GetPersistentStorageBackendAccessor() { static const GENERATED_ArkUIPersistentStorageBackendAccessor PersistentStorageBackendAccessorImpl { @@ -51014,6 +54420,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct PromptActionPeer { virtual ~PromptActionPeer() = default; }; + const GENERATED_ArkUIPulseSymbolEffectAccessor* GetPulseSymbolEffectAccessor() + { + static const GENERATED_ArkUIPulseSymbolEffectAccessor PulseSymbolEffectAccessorImpl { + PulseSymbolEffectAccessor::DestroyPeerImpl, + PulseSymbolEffectAccessor::ConstructImpl, + PulseSymbolEffectAccessor::GetFinalizerImpl, + }; + return &PulseSymbolEffectAccessorImpl; + } + + struct PulseSymbolEffectPeer { + virtual ~PulseSymbolEffectPeer() = default; + }; const GENERATED_ArkUIRectShapeAccessor* GetRectShapeAccessor() { static const GENERATED_ArkUIRectShapeAccessor RectShapeAccessorImpl { @@ -51327,6 +54746,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct ScenePeer { virtual ~ScenePeer() = default; }; + const GENERATED_ArkUIScreenCaptureHandlerAccessor* GetScreenCaptureHandlerAccessor() + { + static const GENERATED_ArkUIScreenCaptureHandlerAccessor ScreenCaptureHandlerAccessorImpl { + ScreenCaptureHandlerAccessor::DestroyPeerImpl, + ScreenCaptureHandlerAccessor::ConstructImpl, + ScreenCaptureHandlerAccessor::GetFinalizerImpl, + ScreenCaptureHandlerAccessor::GetOriginImpl, + ScreenCaptureHandlerAccessor::GrantImpl, + ScreenCaptureHandlerAccessor::DenyImpl, + }; + return &ScreenCaptureHandlerAccessorImpl; + } + + struct ScreenCaptureHandlerPeer { + virtual ~ScreenCaptureHandlerPeer() = default; + }; const GENERATED_ArkUIScreenshotServiceAccessor* GetScreenshotServiceAccessor() { static const GENERATED_ArkUIScreenshotServiceAccessor ScreenshotServiceAccessorImpl { @@ -51493,6 +54928,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct SpringPropPeer { virtual ~SpringPropPeer() = default; }; + const GENERATED_ArkUISslErrorHandlerAccessor* GetSslErrorHandlerAccessor() + { + static const GENERATED_ArkUISslErrorHandlerAccessor SslErrorHandlerAccessorImpl { + SslErrorHandlerAccessor::DestroyPeerImpl, + SslErrorHandlerAccessor::ConstructImpl, + SslErrorHandlerAccessor::GetFinalizerImpl, + SslErrorHandlerAccessor::HandleConfirmImpl, + SslErrorHandlerAccessor::HandleCancelImpl, + }; + return &SslErrorHandlerAccessorImpl; + } + + struct SslErrorHandlerPeer { + virtual ~SslErrorHandlerPeer() = default; + }; const GENERATED_ArkUIStateStylesOpsAccessor* GetStateStylesOpsAccessor() { static const GENERATED_ArkUIStateStylesOpsAccessor StateStylesOpsAccessorImpl { @@ -52319,10 +55769,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { UIExtensionProxyAccessor::GetFinalizerImpl, UIExtensionProxyAccessor::SendImpl, UIExtensionProxyAccessor::SendSyncImpl, - UIExtensionProxyAccessor::OnAsyncReceiverRegisterImpl, - UIExtensionProxyAccessor::OnSyncReceiverRegisterImpl, - UIExtensionProxyAccessor::OffAsyncReceiverRegisterImpl, - UIExtensionProxyAccessor::OffSyncReceiverRegisterImpl, + UIExtensionProxyAccessor::OnAsyncReceiverRegisterAsyncReceiverRegisterImpl, + UIExtensionProxyAccessor::OnSyncReceiverRegisterSyncReceiverRegisterImpl, + UIExtensionProxyAccessor::OffAsyncReceiverRegisterAsyncReceiverRegisterImpl, + UIExtensionProxyAccessor::OffSyncReceiverRegisterSyncReceiverRegisterImpl, }; return &UIExtensionProxyAccessorImpl; } @@ -52421,10 +55871,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { VideoControllerAccessor::StartImpl, VideoControllerAccessor::PauseImpl, VideoControllerAccessor::StopImpl, - VideoControllerAccessor::SetCurrentTime0Impl, VideoControllerAccessor::RequestFullscreenImpl, VideoControllerAccessor::ExitFullscreenImpl, - VideoControllerAccessor::SetCurrentTime1Impl, + VideoControllerAccessor::SetCurrentTimeDefaultImpl, + VideoControllerAccessor::SetCurrentTimeWithModeImpl, VideoControllerAccessor::ResetImpl, }; return &VideoControllerAccessorImpl; @@ -52451,6 +55901,52 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct WaterFlowSectionsPeer { virtual ~WaterFlowSectionsPeer() = default; }; + const GENERATED_ArkUIWebContextMenuParamAccessor* GetWebContextMenuParamAccessor() + { + static const GENERATED_ArkUIWebContextMenuParamAccessor WebContextMenuParamAccessorImpl { + WebContextMenuParamAccessor::DestroyPeerImpl, + WebContextMenuParamAccessor::ConstructImpl, + WebContextMenuParamAccessor::GetFinalizerImpl, + WebContextMenuParamAccessor::XImpl, + WebContextMenuParamAccessor::YImpl, + WebContextMenuParamAccessor::GetLinkUrlImpl, + WebContextMenuParamAccessor::GetUnfilteredLinkUrlImpl, + WebContextMenuParamAccessor::GetSourceUrlImpl, + WebContextMenuParamAccessor::ExistsImageContentsImpl, + WebContextMenuParamAccessor::GetMediaTypeImpl, + WebContextMenuParamAccessor::GetSelectionTextImpl, + WebContextMenuParamAccessor::GetSourceTypeImpl, + WebContextMenuParamAccessor::GetInputFieldTypeImpl, + WebContextMenuParamAccessor::IsEditableImpl, + WebContextMenuParamAccessor::GetEditStateFlagsImpl, + WebContextMenuParamAccessor::GetPreviewWidthImpl, + WebContextMenuParamAccessor::GetPreviewHeightImpl, + }; + return &WebContextMenuParamAccessorImpl; + } + + struct WebContextMenuParamPeer { + virtual ~WebContextMenuParamPeer() = default; + }; + const GENERATED_ArkUIWebContextMenuResultAccessor* GetWebContextMenuResultAccessor() + { + static const GENERATED_ArkUIWebContextMenuResultAccessor WebContextMenuResultAccessorImpl { + WebContextMenuResultAccessor::DestroyPeerImpl, + WebContextMenuResultAccessor::ConstructImpl, + WebContextMenuResultAccessor::GetFinalizerImpl, + WebContextMenuResultAccessor::CloseContextMenuImpl, + WebContextMenuResultAccessor::CopyImageImpl, + WebContextMenuResultAccessor::CopyImpl, + WebContextMenuResultAccessor::PasteImpl, + WebContextMenuResultAccessor::CutImpl, + WebContextMenuResultAccessor::SelectAllImpl, + }; + return &WebContextMenuResultAccessorImpl; + } + + struct WebContextMenuResultPeer { + virtual ~WebContextMenuResultPeer() = default; + }; const GENERATED_ArkUIWebCookieAccessor* GetWebCookieAccessor() { static const GENERATED_ArkUIWebCookieAccessor WebCookieAccessorImpl { @@ -52466,6 +55962,101 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct WebCookiePeer { virtual ~WebCookiePeer() = default; }; + const GENERATED_ArkUIWebKeyboardControllerAccessor* GetWebKeyboardControllerAccessor() + { + static const GENERATED_ArkUIWebKeyboardControllerAccessor WebKeyboardControllerAccessorImpl { + WebKeyboardControllerAccessor::DestroyPeerImpl, + WebKeyboardControllerAccessor::ConstructImpl, + WebKeyboardControllerAccessor::GetFinalizerImpl, + WebKeyboardControllerAccessor::InsertTextImpl, + WebKeyboardControllerAccessor::DeleteForwardImpl, + WebKeyboardControllerAccessor::DeleteBackwardImpl, + WebKeyboardControllerAccessor::SendFunctionKeyImpl, + WebKeyboardControllerAccessor::CloseImpl, + }; + return &WebKeyboardControllerAccessorImpl; + } + + struct WebKeyboardControllerPeer { + virtual ~WebKeyboardControllerPeer() = default; + }; + const GENERATED_ArkUIWebResourceErrorAccessor* GetWebResourceErrorAccessor() + { + static const GENERATED_ArkUIWebResourceErrorAccessor WebResourceErrorAccessorImpl { + WebResourceErrorAccessor::DestroyPeerImpl, + WebResourceErrorAccessor::ConstructImpl, + WebResourceErrorAccessor::GetFinalizerImpl, + WebResourceErrorAccessor::GetErrorInfoImpl, + WebResourceErrorAccessor::GetErrorCodeImpl, + }; + return &WebResourceErrorAccessorImpl; + } + + struct WebResourceErrorPeer { + virtual ~WebResourceErrorPeer() = default; + }; + const GENERATED_ArkUIWebResourceRequestAccessor* GetWebResourceRequestAccessor() + { + static const GENERATED_ArkUIWebResourceRequestAccessor WebResourceRequestAccessorImpl { + WebResourceRequestAccessor::DestroyPeerImpl, + WebResourceRequestAccessor::ConstructImpl, + WebResourceRequestAccessor::GetFinalizerImpl, + WebResourceRequestAccessor::GetRequestHeaderImpl, + WebResourceRequestAccessor::GetRequestUrlImpl, + WebResourceRequestAccessor::IsRequestGestureImpl, + WebResourceRequestAccessor::IsMainFrameImpl, + WebResourceRequestAccessor::IsRedirectImpl, + WebResourceRequestAccessor::GetRequestMethodImpl, + }; + return &WebResourceRequestAccessorImpl; + } + + struct WebResourceRequestPeer { + virtual ~WebResourceRequestPeer() = default; + }; + const GENERATED_ArkUIWebResourceResponseAccessor* GetWebResourceResponseAccessor() + { + static const GENERATED_ArkUIWebResourceResponseAccessor WebResourceResponseAccessorImpl { + WebResourceResponseAccessor::DestroyPeerImpl, + WebResourceResponseAccessor::ConstructImpl, + WebResourceResponseAccessor::GetFinalizerImpl, + WebResourceResponseAccessor::GetResponseDataImpl, + WebResourceResponseAccessor::GetResponseDataExImpl, + WebResourceResponseAccessor::GetResponseEncodingImpl, + WebResourceResponseAccessor::GetResponseMimeTypeImpl, + WebResourceResponseAccessor::GetReasonMessageImpl, + WebResourceResponseAccessor::GetResponseHeaderImpl, + WebResourceResponseAccessor::GetResponseCodeImpl, + WebResourceResponseAccessor::SetResponseDataImpl, + WebResourceResponseAccessor::SetResponseEncodingImpl, + WebResourceResponseAccessor::SetResponseMimeTypeImpl, + WebResourceResponseAccessor::SetReasonMessageImpl, + WebResourceResponseAccessor::SetResponseHeaderImpl, + WebResourceResponseAccessor::SetResponseCodeImpl, + WebResourceResponseAccessor::SetResponseIsReadyImpl, + WebResourceResponseAccessor::GetResponseIsReadyImpl, + }; + return &WebResourceResponseAccessorImpl; + } + + struct WebResourceResponsePeer { + virtual ~WebResourceResponsePeer() = default; + }; + const GENERATED_ArkUIWebview_WebviewControllerAccessor* GetWebview_WebviewControllerAccessor() + { + static const GENERATED_ArkUIWebview_WebviewControllerAccessor Webview_WebviewControllerAccessorImpl { + webview_WebviewControllerAccessor::DestroyPeerImpl, + webview_WebviewControllerAccessor::ConstructImpl, + webview_WebviewControllerAccessor::GetFinalizerImpl, + webview_WebviewControllerAccessor::InitializeWebEngineImpl, + webview_WebviewControllerAccessor::LoadUrlImpl, + }; + return &Webview_WebviewControllerAccessorImpl; + } + + struct Webview_WebviewControllerPeer { + virtual ~Webview_WebviewControllerPeer() = default; + }; const GENERATED_ArkUIXComponentControllerAccessor* GetXComponentControllerAccessor() { static const GENERATED_ArkUIXComponentControllerAccessor XComponentControllerAccessorImpl { @@ -52473,7 +56064,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { XComponentControllerAccessor::ConstructImpl, XComponentControllerAccessor::GetFinalizerImpl, XComponentControllerAccessor::GetXComponentSurfaceIdImpl, - XComponentControllerAccessor::GetXComponentContextImpl, XComponentControllerAccessor::SetXComponentSurfaceRectImpl, XComponentControllerAccessor::GetXComponentSurfaceRectImpl, XComponentControllerAccessor::SetXComponentSurfaceRotationImpl, @@ -52558,17 +56148,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetChildrenMainSizeAccessor, GetCircleShapeAccessor, GetClickEventAccessor, + GetClientAuthenticationHandlerAccessor, GetColorContentAccessor, GetColorFilterAccessor, GetColorMetricsAccessor, GetCommon_ContextAccessor, GetCommonShapeAccessor, GetComponentContentAccessor, + GetConsoleMessageAccessor, GetContentModifierHelperAccessor, GetContextAccessor, + GetControllerHandlerAccessor, GetCurves_ICurveAccessor, GetCustomDialogControllerAccessor, GetCustomSpanAccessor, + GetDataResubmissionHandlerAccessor, GetDatePickerDialogAccessor, GetDecorationStyleAccessor, GetDisappearSymbolEffectAccessor, @@ -52600,12 +56194,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetEllipseShapeAccessor, GetEnvironmentBackendAccessor, GetEventEmulatorAccessor, + GetEventResultAccessor, GetEventTargetInfoAccessor, GetExtendableComponentAccessor, + GetFileSelectorParamAccessor, + GetFileSelectorResultAccessor, GetFocusAxisEventAccessor, GetFocusControllerAccessor, GetFrameNodeAccessor, GetFrictionMotionAccessor, + GetFullScreenExitHandlerAccessor, GetGestureAccessor, GetGestureEventAccessor, GetGestureGroupInterfaceAccessor, @@ -52617,15 +56215,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetGlobalScope_ohos_measure_utilsAccessor, GetHierarchicalSymbolEffectAccessor, GetHoverEventAccessor, + GetHttpAuthHandlerAccessor, GetImageAnalyzerControllerAccessor, GetImageAttachmentAccessor, GetImageBitmapAccessor, GetImageDataAccessor, GetIndicatorComponentControllerAccessor, GetIUIContextAccessor, + GetJsGeolocationAccessor, + GetJsResultAccessor, GetKeyEventAccessor, GetLayoutableAccessor, - GetLayoutCallbackAccessor, GetLayoutChildAccessor, GetLayoutManagerAccessor, GetLayoutPolicyAccessor, @@ -52654,7 +56254,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetNodeContentAccessor, GetOffscreenCanvasAccessor, GetOffscreenCanvasRenderingContext2DAccessor, - GetPageLifeCycleAccessor, GetPanGestureEventAccessor, GetPanGestureInterfaceAccessor, GetPanGestureOptionsAccessor, @@ -52663,6 +56262,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetPath2DAccessor, GetPathShapeAccessor, GetPatternLockControllerAccessor, + GetPermissionRequestAccessor, GetPersistentStorageBackendAccessor, GetPinchGestureEventAccessor, GetPinchGestureInterfaceAccessor, @@ -52670,6 +56270,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetPixelMapMockAccessor, GetProgressMaskAccessor, GetPromptActionAccessor, + GetPulseSymbolEffectAccessor, GetRectShapeAccessor, GetRenderingContextSettingsAccessor, GetRenderNodeAccessor, @@ -52684,6 +56285,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetRotationRecognizerAccessor, GetScaleSymbolEffectAccessor, GetSceneAccessor, + GetScreenCaptureHandlerAccessor, GetScreenshotServiceAccessor, GetScrollableTargetInfoAccessor, GetScrollerAccessor, @@ -52695,6 +56297,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetShapeMaskAccessor, GetSpringMotionAccessor, GetSpringPropAccessor, + GetSslErrorHandlerAccessor, GetStateStylesOpsAccessor, GetStyledStringAccessor, GetStyledStringControllerAccessor, @@ -52748,7 +56351,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetUserDataSpanAccessor, GetVideoControllerAccessor, GetWaterFlowSectionsAccessor, + GetWebContextMenuParamAccessor, + GetWebContextMenuResultAccessor, GetWebCookieAccessor, + GetWebKeyboardControllerAccessor, + GetWebResourceErrorAccessor, + GetWebResourceRequestAccessor, + GetWebResourceResponseAccessor, + GetWebview_WebviewControllerAccessor, GetXComponentControllerAccessor, GetGlobalScopeAccessor, }; diff --git a/arkoala-arkts/framework/native/src/generated/real_impl.cc b/arkoala-arkts/framework/native/src/generated/real_impl.cc index 2dc225274..d38e6b722 100644 --- a/arkoala-arkts/framework/native/src/generated/real_impl.cc +++ b/arkoala-arkts/framework/native/src/generated/real_impl.cc @@ -1405,13 +1405,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // CanvasModifier namespace CanvasInterfaceModifier { - void SetCanvasOptions0Impl(Ark_NativePointer node, - const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext* context) - { - } - void SetCanvasOptions1Impl(Ark_NativePointer node, - const Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext* context, - const Ark_ImageAIOptions* imageAIOptions) + void SetCanvasOptionsImpl(Ark_NativePointer node, + const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext* context, + const Opt_ImageAIOptions* imageAIOptions) { } } // CanvasInterfaceModifier @@ -1512,7 +1508,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // CircleModifier namespace CircleInterfaceModifier { void SetCircleOptionsImpl(Ark_NativePointer node, - const Opt_CircleOptions* value) + const Opt_CircleOptions* options) { } } // CircleInterfaceModifier @@ -1538,10 +1534,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_FlexAlign* value) { } - void SetPointLightImpl(Ark_NativePointer node, - const Opt_PointLightStyle* value) - { - } void SetReverseImpl(Ark_NativePointer node, const Opt_Boolean* value) { @@ -1967,12 +1959,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_Boolean* value) { } - void SetAlignRules0Impl(Ark_NativePointer node, - const Opt_AlignRuleOption* value) + void SetAlignRulesWithAlignRuleOptionTypedValueImpl(Ark_NativePointer node, + const Opt_AlignRuleOption* value) { } - void SetAlignRules1Impl(Ark_NativePointer node, - const Opt_LocalizedAlignRuleOptions* value) + void SetAlignRulesWithLocalizedAlignRuleOptionsTypedValueImpl(Ark_NativePointer node, + const Opt_LocalizedAlignRuleOptions* value) { } void SetAspectRatioImpl(Ark_NativePointer node, @@ -2087,12 +2079,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_PixelStretchEffectOptions* value) { } - void SetAccessibilityGroup0Impl(Ark_NativePointer node, - const Opt_Boolean* value) + void SetAccessibilityGroupWithValueImpl(Ark_NativePointer node, + const Opt_Boolean* value) { } - void SetAccessibilityText0Impl(Ark_NativePointer node, - const Opt_String* value) + void SetAccessibilityTextOfStringTypeImpl(Ark_NativePointer node, + const Opt_String* value) { } void SetAccessibilityNextFocusIdImpl(Ark_NativePointer node, @@ -2111,8 +2103,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_Boolean* value) { } - void SetAccessibilityText1Impl(Ark_NativePointer node, - const Opt_Resource* value) + void SetAccessibilityTextOfResourceTypeImpl(Ark_NativePointer node, + const Opt_Resource* value) { } void SetAccessibilityRoleImpl(Ark_NativePointer node, @@ -2127,12 +2119,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_String* value) { } - void SetAccessibilityDescription0Impl(Ark_NativePointer node, - const Opt_String* value) + void SetAccessibilityDescriptionOfStringTypeImpl(Ark_NativePointer node, + const Opt_String* value) { } - void SetAccessibilityDescription1Impl(Ark_NativePointer node, - const Opt_Resource* value) + void SetAccessibilityDescriptionOfResourceTypeImpl(Ark_NativePointer node, + const Opt_Resource* value) { } void SetAccessibilityLevelImpl(Ark_NativePointer node, @@ -2414,9 +2406,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_Callback_Void* action) { } - void SetAccessibilityGroup1Impl(Ark_NativePointer node, - const Opt_Boolean* isGroup, - const Opt_AccessibilityOptions* accessibilityOptions) + void SetAccessibilityGroupWithConfigImpl(Ark_NativePointer node, + const Opt_Boolean* isGroup, + const Opt_AccessibilityOptions* config) { } void SetOnGestureRecognizerJudgeBegin1Impl(Ark_NativePointer node, @@ -2696,7 +2688,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { namespace EmbeddedComponentInterfaceModifier { void SetEmbeddedComponentOptionsImpl(Ark_NativePointer node, const Ark_Want* loader, - Ark_EmbeddedType type) + const Opt_EmbeddedType* type) { } } // EmbeddedComponentInterfaceModifier @@ -2723,12 +2715,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } } // FlexInterfaceModifier - namespace FlexAttributeModifier { - void SetPointLightImpl(Ark_NativePointer node, - const Opt_PointLightStyle* value) - { - } - } // FlexAttributeModifier namespace FlowItemModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, Ark_Int32 flags) @@ -2930,6 +2916,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_Length* value) { } + void SetScrollBarWidthImpl(Ark_NativePointer node, + const Opt_Union_Number_String* value) + { + } + void SetScrollBarColorImpl(Ark_NativePointer node, + const Opt_Union_Color_Number_String* value) + { + } + void SetScrollBarImpl(Ark_NativePointer node, + const Opt_BarState* value) + { + } void SetOnScrollBarUpdateImpl(Ark_NativePointer node, const Opt_Callback_Number_Number_ComputedBarAttribute* value) { @@ -2990,6 +2988,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_Callback_ItemDragInfo_Number_Number_Boolean_Void* value) { } + void SetNestedScrollImpl(Ark_NativePointer node, + const Opt_NestedScrollOptions* value) + { + } + void SetEnableScrollInteractionImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void SetFrictionImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + } void SetAlignItemsImpl(Ark_NativePointer node, const Opt_GridItemAlignment* value) { @@ -3011,6 +3021,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_Boolean* show) { } + void SetEdgeEffectImpl(Ark_NativePointer node, + const Opt_EdgeEffect* value, + const Opt_EdgeEffectOptions* options) + { + } } // GridAttributeModifier namespace GridColModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -3969,11 +3984,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // NavigationModifier namespace NavigationInterfaceModifier { - void SetNavigationOptions0Impl(Ark_NativePointer node) - { - } - void SetNavigationOptions1Impl(Ark_NativePointer node, - Ark_NavPathStack pathInfos) + void SetNavigationOptionsImpl(Ark_NativePointer node, + Ark_NavPathStack pathInfos) { } } // NavigationInterfaceModifier @@ -4128,6 +4140,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } } // PathInterfaceModifier + namespace PathAttributeModifier { + void SetCommandsImpl(Ark_NativePointer node, + const Opt_String* value) + { + } + } // PathAttributeModifier namespace PatternLockModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, Ark_Int32 flags) @@ -4386,8 +4404,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // RectInterfaceModifier namespace RectAttributeModifier { + void SetRadiusWidthImpl(Ark_NativePointer node, + const Opt_Union_F64_String* value) + { + } + void SetRadiusHeightImpl(Ark_NativePointer node, + const Opt_Union_F64_String* value) + { + } void SetRadiusImpl(Ark_NativePointer node, - const Opt_Union_Number_String_Array_Union_Number_String* value) + const Opt_Union_Length_Array_RadiusItem* value) { } } // RectAttributeModifier @@ -4473,12 +4499,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // RichEditorModifier namespace RichEditorInterfaceModifier { - void SetRichEditorOptions0Impl(Ark_NativePointer node, - const Ark_RichEditorOptions* value) - { - } - void SetRichEditorOptions1Impl(Ark_NativePointer node, - const Ark_RichEditorStyledStringOptions* options) + void SetRichEditorOptionsImpl(Ark_NativePointer node, + const Ark_Union_RichEditorOptions_RichEditorStyledStringOptions* options) { } } // RichEditorInterfaceModifier @@ -4686,10 +4708,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_FlexAlign* value) { } - void SetPointLightImpl(Ark_NativePointer node, - const Opt_PointLightStyle* value) - { - } void SetReverseImpl(Ark_NativePointer node, const Opt_Boolean* value) { @@ -5093,7 +5111,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void SetSearchButtonImpl(Ark_NativePointer node, - const Opt_ResourceStr* value, + const Opt_String* value, const Opt_SearchButtonOptions* option) { } @@ -5226,6 +5244,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_MenuOutlineOptions* value) { } + void SetBackgroundColorImpl(Ark_NativePointer node, + const Opt_ResourceColor* value) + { + } void SetMenuAlignImpl(Ark_NativePointer node, const Opt_MenuAlignType* alignType, const Opt_Offset* offset) @@ -5259,7 +5281,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void SetStrokeDashOffsetImpl(Ark_NativePointer node, - const Opt_Length* value) + const Opt_Union_F64_String* value) { } void SetStrokeDashArrayImpl(Ark_NativePointer node, @@ -5275,19 +5297,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void SetStrokeMiterLimitImpl(Ark_NativePointer node, - const Opt_Length* value) + const Opt_Union_F64_String* value) { } void SetStrokeOpacityImpl(Ark_NativePointer node, - const Opt_Union_Number_String_Resource* value) + const Opt_Union_F64_String_Resource* value) { } void SetFillOpacityImpl(Ark_NativePointer node, - const Opt_Union_Number_String_Resource* value) + const Opt_Union_F64_String_Resource* value) { } void SetStrokeWidthImpl(Ark_NativePointer node, - const Opt_Length* value) + const Opt_Union_F64_String* value) { } void SetAntiAliasImpl(Ark_NativePointer node, @@ -5295,9 +5317,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void SetMeshImpl(Ark_NativePointer node, - const Opt_Array_Number* value, - const Opt_Number* column, - const Opt_Number* row) + const Opt_Array_Float64* value, + const Opt_Int32* column, + const Opt_Int32* row) { } } // ShapeAttributeModifier @@ -5331,8 +5353,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_Callback_Boolean_Void* value) { } - void SetSideBarWidth0Impl(Ark_NativePointer node, - const Opt_Union_Number_Bindable* value) + void SetSideBarWidthImpl(Ark_NativePointer node, + const Opt_Union_Length_Bindable* value) { } void SetMinSideBarWidth0Impl(Ark_NativePointer node, @@ -5343,10 +5365,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_Number* value) { } - void SetSideBarWidth1Impl(Ark_NativePointer node, - const Opt_Length* value) - { - } void SetMinSideBarWidth1Impl(Ark_NativePointer node, const Opt_Length* value) { @@ -5545,10 +5563,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_Alignment* value) { } - void SetPointLightImpl(Ark_NativePointer node, - const Opt_PointLightStyle* value) - { - } } // StackAttributeModifier namespace StepperModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -6232,7 +6246,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void SetFontWeightImpl(Ark_NativePointer node, - const Opt_Union_Number_FontWeight_ResourceStr* value) + const Opt_Union_Number_FontWeight_String* value) { } void SetFontFamilyImpl(Ark_NativePointer node, @@ -6581,7 +6595,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void SetFontWeightImpl(Ark_NativePointer node, - const Opt_Union_Number_FontWeight_ResourceStr* value) + const Opt_Union_Number_FontWeight_String* value) { } void SetFontFamilyImpl(Ark_NativePointer node, @@ -7012,6 +7026,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } } // ToggleAttributeModifier + namespace ToolBarItemModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + return {}; + } + } // ToolBarItemModifier + namespace ToolBarItemInterfaceModifier { + void SetToolBarItemOptionsImpl(Ark_NativePointer node, + const Opt_ToolBarItemOptions* options) + { + } + } // ToolBarItemInterfaceModifier namespace UIExtensionComponentModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, Ark_Int32 flags) @@ -7032,7 +7059,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void SetOnReceiveImpl(Ark_NativePointer node, - const Opt_Callback_Map_String_Object_Void* value) + const Opt_Callback_Map_String_RecordData_Void* value) { } void SetOnErrorImpl(Ark_NativePointer node, @@ -7119,7 +7146,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void SetOnStopImpl(Ark_NativePointer node, - const Opt_Callback_Void* value) + const Opt_VoidCallback* value) { } void SetEnableAnalyzerImpl(Ark_NativePointer node, @@ -7130,10 +7157,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_ImageAnalyzerConfig* value) { } - void SetSurfaceBackgroundColorImpl(Ark_NativePointer node, - const Opt_ColorMetrics* value) - { - } void SetEnableShortcutKeyImpl(Ark_NativePointer node, const Opt_Boolean* value) { @@ -7203,2309 +7226,3585 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } } // WaterFlowAttributeModifier - namespace WindowSceneModifier { + namespace WebModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, Ark_Int32 flags) { return {}; } - } // WindowSceneModifier - namespace WindowSceneInterfaceModifier { - void SetWindowSceneOptionsImpl(Ark_NativePointer node, - const Ark_Number* persistentId) + } // WebModifier + namespace WebInterfaceModifier { + void SetWebOptionsImpl(Ark_NativePointer node, + const Ark_WebOptions* value) { } - } // WindowSceneInterfaceModifier - namespace WindowSceneAttributeModifier { - void SetAttractionEffectImpl(Ark_NativePointer node, - const Opt_Position* destination, - const Opt_Number* fraction) + } // WebInterfaceModifier + namespace WebAttributeModifier { + void SetJavaScriptAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { } - } // WindowSceneAttributeModifier - namespace WithThemeModifier { - Ark_NativePointer ConstructImpl(Ark_Int32 id, - Ark_Int32 flags) + void SetFileAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - return {}; } - } // WithThemeModifier - namespace WithThemeInterfaceModifier { - void SetWithThemeOptionsImpl(Ark_NativePointer node, - const Ark_WithThemeOptions* options) + void SetOnlineImageAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { } - } // WithThemeInterfaceModifier - namespace XComponentModifier { - Ark_NativePointer ConstructImpl(Ark_Int32 id, - Ark_Int32 flags) + void SetDomStorageAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - return {}; } - } // XComponentModifier - namespace XComponentInterfaceModifier { - void SetXComponentOptions0Impl(Ark_NativePointer node, - const Ark_XComponentParameter* value) + void SetImageAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { } - void SetXComponentOptions1Impl(Ark_NativePointer node, - const Ark_XComponentOptions* options) + void SetMixedModeImpl(Ark_NativePointer node, + const Opt_MixedMode* value) { } - void SetXComponentOptions2Impl(Ark_NativePointer node, - const Ark_NativeXComponentParameters* params) + void SetZoomAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { } - } // XComponentInterfaceModifier - namespace XComponentAttributeModifier { - void SetOnLoadImpl(Ark_NativePointer node, - const Opt_OnNativeLoadCallback* value) + void SetGeolocationAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { } - void SetOnDestroyImpl(Ark_NativePointer node, - const Opt_VoidCallback* value) + void SetJavaScriptProxyImpl(Ark_NativePointer node, + const Opt_JavaScriptProxy* value) { } - void SetEnableAnalyzerImpl(Ark_NativePointer node, - const Opt_Boolean* value) + void SetCacheModeImpl(Ark_NativePointer node, + const Opt_CacheMode* value) { } - void SetEnableSecureImpl(Ark_NativePointer node, - const Opt_Boolean* value) + void SetDarkModeImpl(Ark_NativePointer node, + const Opt_WebDarkMode* value) { } - void SetHdrBrightnessImpl(Ark_NativePointer node, - const Opt_Number* value) + void SetForceDarkAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { } - void SetEnableTransparentLayerImpl(Ark_NativePointer node, - const Opt_Boolean* value) + void SetMediaOptionsImpl(Ark_NativePointer node, + const Opt_WebMediaOptions* value) { } - } // XComponentAttributeModifier - const GENERATED_ArkUIAlphabetIndexerModifier* GetAlphabetIndexerModifier() + void SetOverviewModeAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIAlphabetIndexerModifier ArkUIAlphabetIndexerModifierImpl { - AlphabetIndexerModifier::ConstructImpl, - AlphabetIndexerInterfaceModifier::SetAlphabetIndexerOptionsImpl, - AlphabetIndexerAttributeModifier::SetColorImpl, - AlphabetIndexerAttributeModifier::SetSelectedColorImpl, - AlphabetIndexerAttributeModifier::SetPopupColorImpl, - AlphabetIndexerAttributeModifier::SetSelectedBackgroundColorImpl, - AlphabetIndexerAttributeModifier::SetPopupBackgroundImpl, - AlphabetIndexerAttributeModifier::SetPopupSelectedColorImpl, - AlphabetIndexerAttributeModifier::SetPopupUnselectedColorImpl, - AlphabetIndexerAttributeModifier::SetPopupItemBackgroundColorImpl, - AlphabetIndexerAttributeModifier::SetUsingPopupImpl, - AlphabetIndexerAttributeModifier::SetSelectedFontImpl, - AlphabetIndexerAttributeModifier::SetPopupFontImpl, - AlphabetIndexerAttributeModifier::SetPopupItemFontImpl, - AlphabetIndexerAttributeModifier::SetItemSizeImpl, - AlphabetIndexerAttributeModifier::SetFontImpl, - AlphabetIndexerAttributeModifier::SetOnSelectImpl, - AlphabetIndexerAttributeModifier::SetOnRequestPopupDataImpl, - AlphabetIndexerAttributeModifier::SetOnPopupSelectImpl, - AlphabetIndexerAttributeModifier::SetSelectedImpl, - AlphabetIndexerAttributeModifier::SetPopupPositionImpl, - AlphabetIndexerAttributeModifier::SetAutoCollapseImpl, - AlphabetIndexerAttributeModifier::SetPopupItemBorderRadiusImpl, - AlphabetIndexerAttributeModifier::SetItemBorderRadiusImpl, - AlphabetIndexerAttributeModifier::SetPopupBackgroundBlurStyleImpl, - AlphabetIndexerAttributeModifier::SetPopupTitleBackgroundImpl, - AlphabetIndexerAttributeModifier::SetEnableHapticFeedbackImpl, - AlphabetIndexerAttributeModifier::SetAlignStyleImpl, - }; - return &ArkUIAlphabetIndexerModifierImpl; } - - const GENERATED_ArkUIAnimatorModifier* GetAnimatorModifier() + void SetOverScrollModeImpl(Ark_NativePointer node, + const Opt_OverScrollMode* value) { - static const GENERATED_ArkUIAnimatorModifier ArkUIAnimatorModifierImpl { - AnimatorModifier::ConstructImpl, - AnimatorInterfaceModifier::SetAnimatorOptionsImpl, - AnimatorAttributeModifier::SetStateImpl, - AnimatorAttributeModifier::SetDurationImpl, - AnimatorAttributeModifier::SetCurveImpl, - AnimatorAttributeModifier::SetDelayImpl, - AnimatorAttributeModifier::SetFillModeImpl, - AnimatorAttributeModifier::SetIterationsImpl, - AnimatorAttributeModifier::SetPlayModeImpl, - AnimatorAttributeModifier::SetMotionImpl, - AnimatorAttributeModifier::SetOnStartImpl, - AnimatorAttributeModifier::SetOnPauseImpl, - AnimatorAttributeModifier::SetOnRepeatImpl, - AnimatorAttributeModifier::SetOnCancelImpl, - AnimatorAttributeModifier::SetOnFinishImpl, - AnimatorAttributeModifier::SetOnFrameImpl, - }; - return &ArkUIAnimatorModifierImpl; } - - const GENERATED_ArkUIBadgeModifier* GetBadgeModifier() + void SetBlurOnKeyboardHideModeImpl(Ark_NativePointer node, + const Opt_BlurOnKeyboardHideMode* value) { - static const GENERATED_ArkUIBadgeModifier ArkUIBadgeModifierImpl { - BadgeModifier::ConstructImpl, - BadgeInterfaceModifier::SetBadgeOptions0Impl, - BadgeInterfaceModifier::SetBadgeOptions1Impl, - }; - return &ArkUIBadgeModifierImpl; } - - const GENERATED_ArkUIBaseSpanModifier* GetBaseSpanModifier() + void SetTextZoomRatioImpl(Ark_NativePointer node, + const Opt_Int32* value) { - static const GENERATED_ArkUIBaseSpanModifier ArkUIBaseSpanModifierImpl { - BaseSpanModifier::ConstructImpl, - BaseSpanModifier::SetTextBackgroundStyleImpl, - BaseSpanModifier::SetBaselineOffsetImpl, - }; - return &ArkUIBaseSpanModifierImpl; } - - const GENERATED_ArkUIBlankModifier* GetBlankModifier() + void SetDatabaseAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIBlankModifier ArkUIBlankModifierImpl { - BlankModifier::ConstructImpl, - BlankInterfaceModifier::SetBlankOptionsImpl, - BlankAttributeModifier::SetColorImpl, - }; - return &ArkUIBlankModifierImpl; } - - const GENERATED_ArkUIButtonModifier* GetButtonModifier() + void SetInitialScaleImpl(Ark_NativePointer node, + const Opt_Float64* value) { - static const GENERATED_ArkUIButtonModifier ArkUIButtonModifierImpl { - ButtonModifier::ConstructImpl, - ButtonInterfaceModifier::SetButtonOptionsImpl, - ButtonAttributeModifier::SetTypeImpl, - ButtonAttributeModifier::SetStateEffectImpl, - ButtonAttributeModifier::SetButtonStyleImpl, - ButtonAttributeModifier::SetControlSizeImpl, - ButtonAttributeModifier::SetRoleImpl, - ButtonAttributeModifier::SetFontColorImpl, - ButtonAttributeModifier::SetFontSizeImpl, - ButtonAttributeModifier::SetFontWeightImpl, - ButtonAttributeModifier::SetFontStyleImpl, - ButtonAttributeModifier::SetFontFamilyImpl, - ButtonAttributeModifier::SetLabelStyleImpl, - ButtonAttributeModifier::SetMinFontScaleImpl, - ButtonAttributeModifier::SetMaxFontScaleImpl, - }; - return &ArkUIButtonModifierImpl; } - - const GENERATED_ArkUICalendarPickerModifier* GetCalendarPickerModifier() + void SetMetaViewportImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUICalendarPickerModifier ArkUICalendarPickerModifierImpl { - CalendarPickerModifier::ConstructImpl, - CalendarPickerInterfaceModifier::SetCalendarPickerOptionsImpl, - CalendarPickerAttributeModifier::SetTextStyleImpl, - CalendarPickerAttributeModifier::SetOnChangeImpl, - CalendarPickerAttributeModifier::SetMarkTodayImpl, - CalendarPickerAttributeModifier::SetEdgeAlignImpl, - }; - return &ArkUICalendarPickerModifierImpl; } - - const GENERATED_ArkUICanvasModifier* GetCanvasModifier() + void SetOnPageEndImpl(Ark_NativePointer node, + const Opt_Callback_OnPageEndEvent_Void* value) { - static const GENERATED_ArkUICanvasModifier ArkUICanvasModifierImpl { - CanvasModifier::ConstructImpl, - CanvasInterfaceModifier::SetCanvasOptions0Impl, - CanvasInterfaceModifier::SetCanvasOptions1Impl, - CanvasAttributeModifier::SetOnReadyImpl, - CanvasAttributeModifier::SetEnableAnalyzerImpl, - }; - return &ArkUICanvasModifierImpl; } - - const GENERATED_ArkUICheckboxModifier* GetCheckboxModifier() + void SetOnPageBeginImpl(Ark_NativePointer node, + const Opt_Callback_OnPageBeginEvent_Void* value) { - static const GENERATED_ArkUICheckboxModifier ArkUICheckboxModifierImpl { - CheckboxModifier::ConstructImpl, - CheckboxInterfaceModifier::SetCheckboxOptionsImpl, - CheckboxAttributeModifier::SetSelectImpl, - CheckboxAttributeModifier::SetSelectedColorImpl, - CheckboxAttributeModifier::SetShapeImpl, - CheckboxAttributeModifier::SetUnselectedColorImpl, - CheckboxAttributeModifier::SetMarkImpl, - CheckboxAttributeModifier::SetOnChangeImpl, - }; - return &ArkUICheckboxModifierImpl; } - - const GENERATED_ArkUICheckboxGroupModifier* GetCheckboxGroupModifier() + void SetOnProgressChangeImpl(Ark_NativePointer node, + const Opt_Callback_OnProgressChangeEvent_Void* value) { - static const GENERATED_ArkUICheckboxGroupModifier ArkUICheckboxGroupModifierImpl { - CheckboxGroupModifier::ConstructImpl, - CheckboxGroupInterfaceModifier::SetCheckboxGroupOptionsImpl, - CheckboxGroupAttributeModifier::SetSelectAllImpl, - CheckboxGroupAttributeModifier::SetSelectedColorImpl, - CheckboxGroupAttributeModifier::SetUnselectedColorImpl, - CheckboxGroupAttributeModifier::SetMarkImpl, - CheckboxGroupAttributeModifier::SetOnChangeImpl, - CheckboxGroupAttributeModifier::SetCheckboxShapeImpl, - }; - return &ArkUICheckboxGroupModifierImpl; } - - const GENERATED_ArkUICircleModifier* GetCircleModifier() + void SetOnTitleReceiveImpl(Ark_NativePointer node, + const Opt_Callback_OnTitleReceiveEvent_Void* value) { - static const GENERATED_ArkUICircleModifier ArkUICircleModifierImpl { - CircleModifier::ConstructImpl, - CircleInterfaceModifier::SetCircleOptionsImpl, - }; - return &ArkUICircleModifierImpl; } - - const GENERATED_ArkUIColumnModifier* GetColumnModifier() + void SetOnGeolocationHideImpl(Ark_NativePointer node, + const Opt_Callback_Void* value) { - static const GENERATED_ArkUIColumnModifier ArkUIColumnModifierImpl { - ColumnModifier::ConstructImpl, - ColumnInterfaceModifier::SetColumnOptionsImpl, - ColumnAttributeModifier::SetAlignItemsImpl, - ColumnAttributeModifier::SetJustifyContentImpl, - ColumnAttributeModifier::SetPointLightImpl, - ColumnAttributeModifier::SetReverseImpl, - }; - return &ArkUIColumnModifierImpl; } - - const GENERATED_ArkUIColumnSplitModifier* GetColumnSplitModifier() + void SetOnGeolocationShowImpl(Ark_NativePointer node, + const Opt_Callback_OnGeolocationShowEvent_Void* value) { - static const GENERATED_ArkUIColumnSplitModifier ArkUIColumnSplitModifierImpl { - ColumnSplitModifier::ConstructImpl, - ColumnSplitInterfaceModifier::SetColumnSplitOptionsImpl, - ColumnSplitAttributeModifier::SetResizeableImpl, - ColumnSplitAttributeModifier::SetDividerImpl, - }; - return &ArkUIColumnSplitModifierImpl; } - - const GENERATED_ArkUICommonMethodModifier* GetCommonMethodModifier() + void SetOnRequestSelectedImpl(Ark_NativePointer node, + const Opt_Callback_Void* value) { - static const GENERATED_ArkUICommonMethodModifier ArkUICommonMethodModifierImpl { - CommonMethodModifier::ConstructImpl, - CommonMethodModifier::SetWidthImpl, - CommonMethodModifier::SetHeightImpl, - CommonMethodModifier::SetDrawModifierImpl, - CommonMethodModifier::SetResponseRegionImpl, - CommonMethodModifier::SetMouseResponseRegionImpl, - CommonMethodModifier::SetSizeImpl, - CommonMethodModifier::SetConstraintSizeImpl, - CommonMethodModifier::SetHitTestBehaviorImpl, - CommonMethodModifier::SetOnChildTouchTestImpl, - CommonMethodModifier::SetLayoutWeightImpl, - CommonMethodModifier::SetChainWeightImpl, - CommonMethodModifier::SetPaddingImpl, - CommonMethodModifier::SetSafeAreaPaddingImpl, - CommonMethodModifier::SetMarginImpl, - CommonMethodModifier::SetBackgroundColorImpl, - CommonMethodModifier::SetPixelRoundImpl, - CommonMethodModifier::SetBackgroundImageSizeImpl, - CommonMethodModifier::SetBackgroundImagePositionImpl, - CommonMethodModifier::SetBackgroundEffect0Impl, - CommonMethodModifier::SetBackgroundImageResizableImpl, - CommonMethodModifier::SetForegroundEffectImpl, - CommonMethodModifier::SetVisualEffectImpl, - CommonMethodModifier::SetBackgroundFilterImpl, - CommonMethodModifier::SetForegroundFilterImpl, - CommonMethodModifier::SetCompositingFilterImpl, - CommonMethodModifier::SetOpacityImpl, - CommonMethodModifier::SetBorderImpl, - CommonMethodModifier::SetBorderStyleImpl, - CommonMethodModifier::SetBorderWidthImpl, - CommonMethodModifier::SetBorderColorImpl, - CommonMethodModifier::SetBorderRadiusImpl, - CommonMethodModifier::SetBorderImageImpl, - CommonMethodModifier::SetOutlineImpl, - CommonMethodModifier::SetOutlineStyleImpl, - CommonMethodModifier::SetOutlineWidthImpl, - CommonMethodModifier::SetOutlineColorImpl, - CommonMethodModifier::SetOutlineRadiusImpl, - CommonMethodModifier::SetForegroundColorImpl, - CommonMethodModifier::SetOnClick0Impl, - CommonMethodModifier::SetOnHoverImpl, - CommonMethodModifier::SetOnHoverMoveImpl, - CommonMethodModifier::SetOnAccessibilityHoverImpl, - CommonMethodModifier::SetHoverEffectImpl, - CommonMethodModifier::SetOnMouseImpl, - CommonMethodModifier::SetOnTouchImpl, - CommonMethodModifier::SetOnKeyEventImpl, - CommonMethodModifier::SetOnDigitalCrownImpl, - CommonMethodModifier::SetOnKeyPreImeImpl, - CommonMethodModifier::SetOnKeyEventDispatchImpl, - CommonMethodModifier::SetOnFocusAxisEventImpl, - CommonMethodModifier::SetOnAxisEventImpl, - CommonMethodModifier::SetFocusableImpl, - CommonMethodModifier::SetNextFocusImpl, - CommonMethodModifier::SetTabStopImpl, - CommonMethodModifier::SetOnFocusImpl, - CommonMethodModifier::SetOnBlurImpl, - CommonMethodModifier::SetTabIndexImpl, - CommonMethodModifier::SetDefaultFocusImpl, - CommonMethodModifier::SetGroupDefaultFocusImpl, - CommonMethodModifier::SetFocusOnTouchImpl, - CommonMethodModifier::SetFocusBoxImpl, - CommonMethodModifier::SetAnimationImpl, - CommonMethodModifier::SetTransition0Impl, - CommonMethodModifier::SetMotionBlurImpl, - CommonMethodModifier::SetBrightnessImpl, - CommonMethodModifier::SetContrastImpl, - CommonMethodModifier::SetGrayscaleImpl, - CommonMethodModifier::SetColorBlendImpl, - CommonMethodModifier::SetSaturateImpl, - CommonMethodModifier::SetSepiaImpl, - CommonMethodModifier::SetInvertImpl, - CommonMethodModifier::SetHueRotateImpl, - CommonMethodModifier::SetUseShadowBatchingImpl, - CommonMethodModifier::SetUseEffect0Impl, - CommonMethodModifier::SetRenderGroupImpl, - CommonMethodModifier::SetFreezeImpl, - CommonMethodModifier::SetTranslateImpl, - CommonMethodModifier::SetScaleImpl, - CommonMethodModifier::SetRotateImpl, - CommonMethodModifier::SetTransformImpl, - CommonMethodModifier::SetOnAppearImpl, - CommonMethodModifier::SetOnDisAppearImpl, - CommonMethodModifier::SetOnAttachImpl, - CommonMethodModifier::SetOnDetachImpl, - CommonMethodModifier::SetOnAreaChangeImpl, - CommonMethodModifier::SetVisibilityImpl, - CommonMethodModifier::SetFlexGrowImpl, - CommonMethodModifier::SetFlexShrinkImpl, - CommonMethodModifier::SetFlexBasisImpl, - CommonMethodModifier::SetAlignSelfImpl, - CommonMethodModifier::SetDisplayPriorityImpl, - CommonMethodModifier::SetZIndexImpl, - CommonMethodModifier::SetDirectionImpl, - CommonMethodModifier::SetAlignImpl, - CommonMethodModifier::SetPositionImpl, - CommonMethodModifier::SetMarkAnchorImpl, - CommonMethodModifier::SetOffsetImpl, - CommonMethodModifier::SetEnabledImpl, - CommonMethodModifier::SetAlignRules0Impl, - CommonMethodModifier::SetAlignRules1Impl, - CommonMethodModifier::SetAspectRatioImpl, - CommonMethodModifier::SetClickEffectImpl, - CommonMethodModifier::SetOnDragStartImpl, - CommonMethodModifier::SetOnDragEnterImpl, - CommonMethodModifier::SetOnDragMoveImpl, - CommonMethodModifier::SetOnDragLeaveImpl, - CommonMethodModifier::SetOnDrop0Impl, - CommonMethodModifier::SetOnDragEndImpl, - CommonMethodModifier::SetAllowDropImpl, - CommonMethodModifier::SetDraggableImpl, - CommonMethodModifier::SetDragPreview0Impl, - CommonMethodModifier::SetOnPreDragImpl, - CommonMethodModifier::SetLinearGradientImpl, - CommonMethodModifier::SetSweepGradientImpl, - CommonMethodModifier::SetRadialGradientImpl, - CommonMethodModifier::SetMotionPathImpl, - CommonMethodModifier::SetShadowImpl, - CommonMethodModifier::SetClipImpl, - CommonMethodModifier::SetClipShapeImpl, - CommonMethodModifier::SetMaskImpl, - CommonMethodModifier::SetMaskShapeImpl, - CommonMethodModifier::SetKeyImpl, - CommonMethodModifier::SetIdImpl, - CommonMethodModifier::SetGeometryTransition0Impl, - CommonMethodModifier::SetRestoreIdImpl, - CommonMethodModifier::SetSphericalEffectImpl, - CommonMethodModifier::SetLightUpEffectImpl, - CommonMethodModifier::SetPixelStretchEffectImpl, - CommonMethodModifier::SetAccessibilityGroup0Impl, - CommonMethodModifier::SetAccessibilityText0Impl, - CommonMethodModifier::SetAccessibilityNextFocusIdImpl, - CommonMethodModifier::SetAccessibilityDefaultFocusImpl, - CommonMethodModifier::SetAccessibilityUseSamePageImpl, - CommonMethodModifier::SetAccessibilityScrollTriggerableImpl, - CommonMethodModifier::SetAccessibilityText1Impl, - CommonMethodModifier::SetAccessibilityRoleImpl, - CommonMethodModifier::SetOnAccessibilityFocusImpl, - CommonMethodModifier::SetAccessibilityTextHintImpl, - CommonMethodModifier::SetAccessibilityDescription0Impl, - CommonMethodModifier::SetAccessibilityDescription1Impl, - CommonMethodModifier::SetAccessibilityLevelImpl, - CommonMethodModifier::SetAccessibilityVirtualNodeImpl, - CommonMethodModifier::SetAccessibilityCheckedImpl, - CommonMethodModifier::SetAccessibilitySelectedImpl, - CommonMethodModifier::SetObscuredImpl, - CommonMethodModifier::SetReuseIdImpl, - CommonMethodModifier::SetReuseImpl, - CommonMethodModifier::SetRenderFitImpl, - CommonMethodModifier::SetBackgroundBrightnessImpl, - CommonMethodModifier::SetOnGestureJudgeBeginImpl, - CommonMethodModifier::SetOnGestureRecognizerJudgeBegin0Impl, - CommonMethodModifier::SetShouldBuiltInRecognizerParallelWithImpl, - CommonMethodModifier::SetMonopolizeEventsImpl, - CommonMethodModifier::SetOnTouchInterceptImpl, - CommonMethodModifier::SetOnSizeChangeImpl, - CommonMethodModifier::SetAccessibilityFocusDrawLevelImpl, - CommonMethodModifier::SetCustomPropertyImpl, - CommonMethodModifier::SetExpandSafeAreaImpl, - CommonMethodModifier::SetBackgroundImpl, - CommonMethodModifier::SetBackgroundImage0Impl, - CommonMethodModifier::SetBackgroundImage1Impl, - CommonMethodModifier::SetBackgroundBlurStyleImpl, - CommonMethodModifier::SetBackgroundEffect1Impl, - CommonMethodModifier::SetForegroundBlurStyleImpl, - CommonMethodModifier::SetOnClick1Impl, - CommonMethodModifier::SetFocusScopeIdImpl, - CommonMethodModifier::SetFocusScopePriorityImpl, - CommonMethodModifier::SetTransition1Impl, - CommonMethodModifier::SetGestureImpl, - CommonMethodModifier::SetPriorityGestureImpl, - CommonMethodModifier::SetParallelGestureImpl, - CommonMethodModifier::SetBlurImpl, - CommonMethodModifier::SetLinearGradientBlurImpl, - CommonMethodModifier::SetSystemBarEffectImpl, - CommonMethodModifier::SetUseEffect1Impl, - CommonMethodModifier::SetBackdropBlurImpl, - CommonMethodModifier::SetSharedTransitionImpl, - CommonMethodModifier::SetChainModeImpl, - CommonMethodModifier::SetOnDrop1Impl, - CommonMethodModifier::SetDragPreview1Impl, - CommonMethodModifier::SetDragPreviewOptionsImpl, - CommonMethodModifier::SetOverlayImpl, - CommonMethodModifier::SetBlendModeImpl, - CommonMethodModifier::SetAdvancedBlendModeImpl, - CommonMethodModifier::SetGeometryTransition1Impl, - CommonMethodModifier::SetBindTipsImpl, - CommonMethodModifier::SetBindPopupImpl, - CommonMethodModifier::SetBindMenu0Impl, - CommonMethodModifier::SetBindMenu1Impl, - CommonMethodModifier::SetBindContextMenu0Impl, - CommonMethodModifier::SetBindContextMenu1Impl, - CommonMethodModifier::SetBindContentCover0Impl, - CommonMethodModifier::SetBindContentCover1Impl, - CommonMethodModifier::SetBindSheetImpl, - CommonMethodModifier::SetOnVisibleAreaChangeImpl, - CommonMethodModifier::SetOnVisibleAreaApproximateChangeImpl, - CommonMethodModifier::SetKeyboardShortcutImpl, - CommonMethodModifier::SetAccessibilityGroup1Impl, - CommonMethodModifier::SetOnGestureRecognizerJudgeBegin1Impl, - }; - return &ArkUICommonMethodModifierImpl; } - - const GENERATED_ArkUICommonShapeMethodModifier* GetCommonShapeMethodModifier() + void SetOnAlertImpl(Ark_NativePointer node, + const Opt_Callback_OnAlertEvent_Boolean* value) { - static const GENERATED_ArkUICommonShapeMethodModifier ArkUICommonShapeMethodModifierImpl { - CommonShapeMethodModifier::ConstructImpl, - CommonShapeMethodModifier::SetStrokeImpl, - CommonShapeMethodModifier::SetFillImpl, - CommonShapeMethodModifier::SetStrokeDashOffsetImpl, - CommonShapeMethodModifier::SetStrokeLineCapImpl, - CommonShapeMethodModifier::SetStrokeLineJoinImpl, - CommonShapeMethodModifier::SetStrokeMiterLimitImpl, - CommonShapeMethodModifier::SetStrokeOpacityImpl, - CommonShapeMethodModifier::SetFillOpacityImpl, - CommonShapeMethodModifier::SetStrokeWidthImpl, - CommonShapeMethodModifier::SetAntiAliasImpl, - CommonShapeMethodModifier::SetStrokeDashArrayImpl, - }; - return &ArkUICommonShapeMethodModifierImpl; } - - const GENERATED_ArkUIComponentRootModifier* GetComponentRootModifier() + void SetOnBeforeUnloadImpl(Ark_NativePointer node, + const Opt_Callback_OnBeforeUnloadEvent_Boolean* value) { - static const GENERATED_ArkUIComponentRootModifier ArkUIComponentRootModifierImpl { - ComponentRootModifier::ConstructImpl, - }; - return &ArkUIComponentRootModifierImpl; } - - const GENERATED_ArkUIContainerSpanModifier* GetContainerSpanModifier() + void SetOnConfirmImpl(Ark_NativePointer node, + const Opt_Callback_OnConfirmEvent_Boolean* value) { - static const GENERATED_ArkUIContainerSpanModifier ArkUIContainerSpanModifierImpl { - ContainerSpanModifier::ConstructImpl, - ContainerSpanInterfaceModifier::SetContainerSpanOptionsImpl, - ContainerSpanAttributeModifier::SetTextBackgroundStyleImpl, - }; - return &ArkUIContainerSpanModifierImpl; } - - const GENERATED_ArkUICounterModifier* GetCounterModifier() + void SetOnPromptImpl(Ark_NativePointer node, + const Opt_Callback_OnPromptEvent_Boolean* value) { - static const GENERATED_ArkUICounterModifier ArkUICounterModifierImpl { - CounterModifier::ConstructImpl, - CounterInterfaceModifier::SetCounterOptionsImpl, - CounterAttributeModifier::SetOnIncImpl, - CounterAttributeModifier::SetOnDecImpl, - CounterAttributeModifier::SetEnableDecImpl, - CounterAttributeModifier::SetEnableIncImpl, - }; - return &ArkUICounterModifierImpl; } - - const GENERATED_ArkUICustomBuilderRootModifier* GetCustomBuilderRootModifier() + void SetOnConsoleImpl(Ark_NativePointer node, + const Opt_Callback_OnConsoleEvent_Boolean* value) { - static const GENERATED_ArkUICustomBuilderRootModifier ArkUICustomBuilderRootModifierImpl { - CustomBuilderRootModifier::ConstructImpl, - }; - return &ArkUICustomBuilderRootModifierImpl; } - - const GENERATED_ArkUICustomLayoutRootModifier* GetCustomLayoutRootModifier() + void SetOnErrorReceiveImpl(Ark_NativePointer node, + const Opt_Callback_OnErrorReceiveEvent_Void* value) { - static const GENERATED_ArkUICustomLayoutRootModifier ArkUICustomLayoutRootModifierImpl { - CustomLayoutRootModifier::ConstructImpl, - CustomLayoutRootModifier::SetSubscribeOnMeasureSizeImpl, - CustomLayoutRootModifier::SetSubscribeOnPlaceChildrenImpl, - }; - return &ArkUICustomLayoutRootModifierImpl; } - - const GENERATED_ArkUIDataPanelModifier* GetDataPanelModifier() + void SetOnHttpErrorReceiveImpl(Ark_NativePointer node, + const Opt_Callback_OnHttpErrorReceiveEvent_Void* value) { - static const GENERATED_ArkUIDataPanelModifier ArkUIDataPanelModifierImpl { - DataPanelModifier::ConstructImpl, - DataPanelInterfaceModifier::SetDataPanelOptionsImpl, - DataPanelAttributeModifier::SetCloseEffectImpl, - DataPanelAttributeModifier::SetValueColorsImpl, - DataPanelAttributeModifier::SetTrackBackgroundColorImpl, - DataPanelAttributeModifier::SetStrokeWidthImpl, - DataPanelAttributeModifier::SetTrackShadowImpl, - }; - return &ArkUIDataPanelModifierImpl; } - - const GENERATED_ArkUIDatePickerModifier* GetDatePickerModifier() + void SetOnDownloadStartImpl(Ark_NativePointer node, + const Opt_Callback_OnDownloadStartEvent_Void* value) { - static const GENERATED_ArkUIDatePickerModifier ArkUIDatePickerModifierImpl { - DatePickerModifier::ConstructImpl, - DatePickerInterfaceModifier::SetDatePickerOptionsImpl, - DatePickerAttributeModifier::SetLunarImpl, - DatePickerAttributeModifier::SetDisappearTextStyleImpl, - DatePickerAttributeModifier::SetTextStyleImpl, - DatePickerAttributeModifier::SetSelectedTextStyleImpl, - DatePickerAttributeModifier::SetOnDateChangeImpl, - DatePickerAttributeModifier::SetDigitalCrownSensitivityImpl, - DatePickerAttributeModifier::SetEnableHapticFeedbackImpl, - }; - return &ArkUIDatePickerModifierImpl; } - - const GENERATED_ArkUIDividerModifier* GetDividerModifier() + void SetOnRefreshAccessedHistoryImpl(Ark_NativePointer node, + const Opt_Callback_OnRefreshAccessedHistoryEvent_Void* value) { - static const GENERATED_ArkUIDividerModifier ArkUIDividerModifierImpl { - DividerModifier::ConstructImpl, - DividerInterfaceModifier::SetDividerOptionsImpl, - DividerAttributeModifier::SetVerticalImpl, - DividerAttributeModifier::SetColorImpl, - DividerAttributeModifier::SetStrokeWidthImpl, - DividerAttributeModifier::SetLineCapImpl, - }; - return &ArkUIDividerModifierImpl; } - - const GENERATED_ArkUIEffectComponentModifier* GetEffectComponentModifier() + void SetOnRenderExitedImpl(Ark_NativePointer node, + const Opt_Callback_OnRenderExitedEvent_Void* value) { - static const GENERATED_ArkUIEffectComponentModifier ArkUIEffectComponentModifierImpl { - EffectComponentModifier::ConstructImpl, - EffectComponentInterfaceModifier::SetEffectComponentOptionsImpl, - }; - return &ArkUIEffectComponentModifierImpl; } - - const GENERATED_ArkUIEllipseModifier* GetEllipseModifier() + void SetOnShowFileSelectorImpl(Ark_NativePointer node, + const Opt_Callback_OnShowFileSelectorEvent_Boolean* value) { - static const GENERATED_ArkUIEllipseModifier ArkUIEllipseModifierImpl { - EllipseModifier::ConstructImpl, - EllipseInterfaceModifier::SetEllipseOptionsImpl, - }; - return &ArkUIEllipseModifierImpl; } - - const GENERATED_ArkUIEmbeddedComponentModifier* GetEmbeddedComponentModifier() + void SetOnResourceLoadImpl(Ark_NativePointer node, + const Opt_Callback_OnResourceLoadEvent_Void* value) { - static const GENERATED_ArkUIEmbeddedComponentModifier ArkUIEmbeddedComponentModifierImpl { - EmbeddedComponentModifier::ConstructImpl, - EmbeddedComponentInterfaceModifier::SetEmbeddedComponentOptionsImpl, - EmbeddedComponentAttributeModifier::SetOnTerminatedImpl, - EmbeddedComponentAttributeModifier::SetOnErrorImpl, - }; - return &ArkUIEmbeddedComponentModifierImpl; } - - const GENERATED_ArkUIFlexModifier* GetFlexModifier() + void SetOnFullScreenExitImpl(Ark_NativePointer node, + const Opt_Callback_Void* value) { - static const GENERATED_ArkUIFlexModifier ArkUIFlexModifierImpl { - FlexModifier::ConstructImpl, - FlexInterfaceModifier::SetFlexOptionsImpl, - FlexAttributeModifier::SetPointLightImpl, - }; - return &ArkUIFlexModifierImpl; } - - const GENERATED_ArkUIFlowItemModifier* GetFlowItemModifier() + void SetOnFullScreenEnterImpl(Ark_NativePointer node, + const Opt_OnFullScreenEnterCallback* value) { - static const GENERATED_ArkUIFlowItemModifier ArkUIFlowItemModifierImpl { - FlowItemModifier::ConstructImpl, - FlowItemInterfaceModifier::SetFlowItemOptionsImpl, - }; - return &ArkUIFlowItemModifierImpl; } - - const GENERATED_ArkUIFolderStackModifier* GetFolderStackModifier() + void SetOnScaleChangeImpl(Ark_NativePointer node, + const Opt_Callback_OnScaleChangeEvent_Void* value) { - static const GENERATED_ArkUIFolderStackModifier ArkUIFolderStackModifierImpl { - FolderStackModifier::ConstructImpl, - FolderStackInterfaceModifier::SetFolderStackOptionsImpl, - FolderStackAttributeModifier::SetAlignContentImpl, - FolderStackAttributeModifier::SetOnFolderStateChangeImpl, - FolderStackAttributeModifier::SetOnHoverStatusChangeImpl, - FolderStackAttributeModifier::SetEnableAnimationImpl, - FolderStackAttributeModifier::SetAutoHalfFoldImpl, - }; - return &ArkUIFolderStackModifierImpl; } - - const GENERATED_ArkUIFormComponentModifier* GetFormComponentModifier() + void SetOnHttpAuthRequestImpl(Ark_NativePointer node, + const Opt_Callback_OnHttpAuthRequestEvent_Boolean* value) { - static const GENERATED_ArkUIFormComponentModifier ArkUIFormComponentModifierImpl { - FormComponentModifier::ConstructImpl, - FormComponentInterfaceModifier::SetFormComponentOptionsImpl, - FormComponentAttributeModifier::SetSizeImpl, - FormComponentAttributeModifier::SetModuleNameImpl, - FormComponentAttributeModifier::SetDimensionImpl, - FormComponentAttributeModifier::SetAllowUpdateImpl, - FormComponentAttributeModifier::SetVisibilityImpl, - FormComponentAttributeModifier::SetOnAcquiredImpl, - FormComponentAttributeModifier::SetOnErrorImpl, - FormComponentAttributeModifier::SetOnRouterImpl, - FormComponentAttributeModifier::SetOnUninstallImpl, - FormComponentAttributeModifier::SetOnLoadImpl, - FormComponentAttributeModifier::SetOnUpdateImpl, - }; - return &ArkUIFormComponentModifierImpl; } - - const GENERATED_ArkUIFormLinkModifier* GetFormLinkModifier() + void SetOnInterceptRequestImpl(Ark_NativePointer node, + const Opt_Callback_OnInterceptRequestEvent_WebResourceResponse* value) { - static const GENERATED_ArkUIFormLinkModifier ArkUIFormLinkModifierImpl { - FormLinkModifier::ConstructImpl, - FormLinkInterfaceModifier::SetFormLinkOptionsImpl, - }; - return &ArkUIFormLinkModifierImpl; } - - const GENERATED_ArkUIGaugeModifier* GetGaugeModifier() + void SetOnPermissionRequestImpl(Ark_NativePointer node, + const Opt_Callback_OnPermissionRequestEvent_Void* value) { - static const GENERATED_ArkUIGaugeModifier ArkUIGaugeModifierImpl { - GaugeModifier::ConstructImpl, - GaugeInterfaceModifier::SetGaugeOptionsImpl, - GaugeAttributeModifier::SetValueImpl, - GaugeAttributeModifier::SetStartAngleImpl, - GaugeAttributeModifier::SetEndAngleImpl, - GaugeAttributeModifier::SetColorsImpl, - GaugeAttributeModifier::SetStrokeWidthImpl, - GaugeAttributeModifier::SetDescriptionImpl, - GaugeAttributeModifier::SetTrackShadowImpl, - GaugeAttributeModifier::SetIndicatorImpl, - GaugeAttributeModifier::SetPrivacySensitiveImpl, - }; - return &ArkUIGaugeModifierImpl; } - - const GENERATED_ArkUIGridModifier* GetGridModifier() + void SetOnScreenCaptureRequestImpl(Ark_NativePointer node, + const Opt_Callback_OnScreenCaptureRequestEvent_Void* value) { - static const GENERATED_ArkUIGridModifier ArkUIGridModifierImpl { - GridModifier::ConstructImpl, - GridInterfaceModifier::SetGridOptionsImpl, - GridAttributeModifier::SetColumnsTemplateImpl, - GridAttributeModifier::SetRowsTemplateImpl, - GridAttributeModifier::SetColumnsGapImpl, - GridAttributeModifier::SetRowsGapImpl, - GridAttributeModifier::SetOnScrollBarUpdateImpl, - GridAttributeModifier::SetOnScrollIndexImpl, - GridAttributeModifier::SetCachedCount0Impl, - GridAttributeModifier::SetEditModeImpl, - GridAttributeModifier::SetMultiSelectableImpl, - GridAttributeModifier::SetMaxCountImpl, - GridAttributeModifier::SetMinCountImpl, - GridAttributeModifier::SetCellLengthImpl, - GridAttributeModifier::SetLayoutDirectionImpl, - GridAttributeModifier::SetSupportAnimationImpl, - GridAttributeModifier::SetOnItemDragStartImpl, - GridAttributeModifier::SetOnItemDragEnterImpl, - GridAttributeModifier::SetOnItemDragMoveImpl, - GridAttributeModifier::SetOnItemDragLeaveImpl, - GridAttributeModifier::SetOnItemDropImpl, - GridAttributeModifier::SetAlignItemsImpl, - GridAttributeModifier::SetOnScrollFrameBeginImpl, - GridAttributeModifier::SetOnWillScrollImpl, - GridAttributeModifier::SetOnDidScrollImpl, - GridAttributeModifier::SetCachedCount1Impl, - }; - return &ArkUIGridModifierImpl; } - - const GENERATED_ArkUIGridColModifier* GetGridColModifier() + void SetOnContextMenuShowImpl(Ark_NativePointer node, + const Opt_Callback_OnContextMenuShowEvent_Boolean* value) { - static const GENERATED_ArkUIGridColModifier ArkUIGridColModifierImpl { - GridColModifier::ConstructImpl, - GridColInterfaceModifier::SetGridColOptionsImpl, - GridColAttributeModifier::SetSpanImpl, - GridColAttributeModifier::SetGridColOffsetImpl, - GridColAttributeModifier::SetOrderImpl, - }; - return &ArkUIGridColModifierImpl; } - - const GENERATED_ArkUIGridItemModifier* GetGridItemModifier() + void SetOnContextMenuHideImpl(Ark_NativePointer node, + const Opt_OnContextMenuHideCallback* value) { - static const GENERATED_ArkUIGridItemModifier ArkUIGridItemModifierImpl { - GridItemModifier::ConstructImpl, - GridItemInterfaceModifier::SetGridItemOptionsImpl, - GridItemAttributeModifier::SetRowStartImpl, - GridItemAttributeModifier::SetRowEndImpl, - GridItemAttributeModifier::SetColumnStartImpl, - GridItemAttributeModifier::SetColumnEndImpl, - GridItemAttributeModifier::SetSelectableImpl, - GridItemAttributeModifier::SetSelectedImpl, - GridItemAttributeModifier::SetOnSelectImpl, - }; - return &ArkUIGridItemModifierImpl; } - - const GENERATED_ArkUIGridRowModifier* GetGridRowModifier() + void SetMediaPlayGestureAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIGridRowModifier ArkUIGridRowModifierImpl { - GridRowModifier::ConstructImpl, - GridRowInterfaceModifier::SetGridRowOptionsImpl, - GridRowAttributeModifier::SetOnBreakpointChangeImpl, - GridRowAttributeModifier::SetAlignItemsImpl, - }; - return &ArkUIGridRowModifierImpl; } - - const GENERATED_ArkUIHyperlinkModifier* GetHyperlinkModifier() + void SetOnSearchResultReceiveImpl(Ark_NativePointer node, + const Opt_Callback_OnSearchResultReceiveEvent_Void* value) { - static const GENERATED_ArkUIHyperlinkModifier ArkUIHyperlinkModifierImpl { - HyperlinkModifier::ConstructImpl, - HyperlinkInterfaceModifier::SetHyperlinkOptionsImpl, - HyperlinkAttributeModifier::SetColorImpl, - }; - return &ArkUIHyperlinkModifierImpl; } - - const GENERATED_ArkUIImageModifier* GetImageModifier() + void SetOnScrollImpl(Ark_NativePointer node, + const Opt_Callback_OnScrollEvent_Void* value) { - static const GENERATED_ArkUIImageModifier ArkUIImageModifierImpl { - ImageModifier::ConstructImpl, - ImageInterfaceModifier::SetImageOptions0Impl, - ImageInterfaceModifier::SetImageOptions1Impl, - ImageAttributeModifier::SetAltImpl, - ImageAttributeModifier::SetMatchTextDirectionImpl, - ImageAttributeModifier::SetFitOriginalSizeImpl, - ImageAttributeModifier::SetFillColorImpl, - ImageAttributeModifier::SetObjectFitImpl, - ImageAttributeModifier::SetImageMatrixImpl, - ImageAttributeModifier::SetObjectRepeatImpl, - ImageAttributeModifier::SetAutoResizeImpl, - ImageAttributeModifier::SetRenderModeImpl, - ImageAttributeModifier::SetDynamicRangeModeImpl, - ImageAttributeModifier::SetInterpolationImpl, - ImageAttributeModifier::SetSourceSizeImpl, - ImageAttributeModifier::SetSyncLoadImpl, - ImageAttributeModifier::SetColorFilterImpl, - ImageAttributeModifier::SetCopyOptionImpl, - ImageAttributeModifier::SetDraggableImpl, - ImageAttributeModifier::SetPointLightImpl, - ImageAttributeModifier::SetEdgeAntialiasingImpl, - ImageAttributeModifier::SetOnCompleteImpl, - ImageAttributeModifier::SetOnErrorImpl, - ImageAttributeModifier::SetOnFinishImpl, - ImageAttributeModifier::SetEnableAnalyzerImpl, - ImageAttributeModifier::SetAnalyzerConfigImpl, - ImageAttributeModifier::SetResizableImpl, - ImageAttributeModifier::SetPrivacySensitiveImpl, - ImageAttributeModifier::SetEnhancedImageQualityImpl, - ImageAttributeModifier::SetOrientationImpl, - }; - return &ArkUIImageModifierImpl; } - - const GENERATED_ArkUIImageAnimatorModifier* GetImageAnimatorModifier() + void SetOnSslErrorEventReceiveImpl(Ark_NativePointer node, + const Opt_Callback_OnSslErrorEventReceiveEvent_Void* value) { - static const GENERATED_ArkUIImageAnimatorModifier ArkUIImageAnimatorModifierImpl { - ImageAnimatorModifier::ConstructImpl, - ImageAnimatorInterfaceModifier::SetImageAnimatorOptionsImpl, - ImageAnimatorAttributeModifier::SetImagesImpl, - ImageAnimatorAttributeModifier::SetStateImpl, - ImageAnimatorAttributeModifier::SetDurationImpl, - ImageAnimatorAttributeModifier::SetReverseImpl, - ImageAnimatorAttributeModifier::SetFixedSizeImpl, - ImageAnimatorAttributeModifier::SetFillModeImpl, - ImageAnimatorAttributeModifier::SetIterationsImpl, - ImageAnimatorAttributeModifier::SetMonitorInvisibleAreaImpl, - ImageAnimatorAttributeModifier::SetOnStartImpl, - ImageAnimatorAttributeModifier::SetOnPauseImpl, - ImageAnimatorAttributeModifier::SetOnRepeatImpl, - ImageAnimatorAttributeModifier::SetOnCancelImpl, - ImageAnimatorAttributeModifier::SetOnFinishImpl, - }; - return &ArkUIImageAnimatorModifierImpl; } - - const GENERATED_ArkUIImageSpanModifier* GetImageSpanModifier() + void SetOnSslErrorEventImpl(Ark_NativePointer node, + const Opt_OnSslErrorEventCallback* value) { - static const GENERATED_ArkUIImageSpanModifier ArkUIImageSpanModifierImpl { - ImageSpanModifier::ConstructImpl, - ImageSpanInterfaceModifier::SetImageSpanOptionsImpl, - ImageSpanAttributeModifier::SetVerticalAlignImpl, - ImageSpanAttributeModifier::SetColorFilterImpl, - ImageSpanAttributeModifier::SetObjectFitImpl, - ImageSpanAttributeModifier::SetOnCompleteImpl, - ImageSpanAttributeModifier::SetOnErrorImpl, - ImageSpanAttributeModifier::SetAltImpl, - }; - return &ArkUIImageSpanModifierImpl; } - - const GENERATED_ArkUIIndicatorComponentModifier* GetIndicatorComponentModifier() + void SetOnClientAuthenticationRequestImpl(Ark_NativePointer node, + const Opt_Callback_OnClientAuthenticationEvent_Void* value) { - static const GENERATED_ArkUIIndicatorComponentModifier ArkUIIndicatorComponentModifierImpl { - IndicatorComponentModifier::ConstructImpl, - IndicatorComponentInterfaceModifier::SetIndicatorComponentOptionsImpl, - IndicatorComponentAttributeModifier::SetInitialIndexImpl, - IndicatorComponentAttributeModifier::SetCountImpl, - IndicatorComponentAttributeModifier::SetStyleImpl, - IndicatorComponentAttributeModifier::SetLoopImpl, - IndicatorComponentAttributeModifier::SetVerticalImpl, - IndicatorComponentAttributeModifier::SetOnChangeImpl, - }; - return &ArkUIIndicatorComponentModifierImpl; } - - const GENERATED_ArkUILineModifier* GetLineModifier() + void SetOnWindowNewImpl(Ark_NativePointer node, + const Opt_Callback_OnWindowNewEvent_Void* value) { - static const GENERATED_ArkUILineModifier ArkUILineModifierImpl { - LineModifier::ConstructImpl, - LineInterfaceModifier::SetLineOptionsImpl, - LineAttributeModifier::SetStartPointImpl, - LineAttributeModifier::SetEndPointImpl, - }; - return &ArkUILineModifierImpl; } - - const GENERATED_ArkUILinearIndicatorModifier* GetLinearIndicatorModifier() + void SetOnWindowExitImpl(Ark_NativePointer node, + const Opt_Callback_Void* value) { - static const GENERATED_ArkUILinearIndicatorModifier ArkUILinearIndicatorModifierImpl { - LinearIndicatorModifier::ConstructImpl, - LinearIndicatorInterfaceModifier::SetLinearIndicatorOptionsImpl, - LinearIndicatorAttributeModifier::SetIndicatorStyleImpl, - LinearIndicatorAttributeModifier::SetIndicatorLoopImpl, - LinearIndicatorAttributeModifier::SetOnChangeImpl, - }; - return &ArkUILinearIndicatorModifierImpl; } - - const GENERATED_ArkUIListModifier* GetListModifier() + void SetMultiWindowAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIListModifier ArkUIListModifierImpl { - ListModifier::ConstructImpl, - ListInterfaceModifier::SetListOptionsImpl, - ListAttributeModifier::SetAlignListItemImpl, - ListAttributeModifier::SetListDirectionImpl, - ListAttributeModifier::SetContentStartOffsetImpl, - ListAttributeModifier::SetContentEndOffsetImpl, - ListAttributeModifier::SetDividerImpl, - ListAttributeModifier::SetMultiSelectableImpl, - ListAttributeModifier::SetCachedCount0Impl, - ListAttributeModifier::SetChainAnimationImpl, - ListAttributeModifier::SetChainAnimationOptionsImpl, - ListAttributeModifier::SetStickyImpl, - ListAttributeModifier::SetScrollSnapAlignImpl, - ListAttributeModifier::SetChildrenMainSizeImpl, - ListAttributeModifier::SetMaintainVisibleContentPositionImpl, - ListAttributeModifier::SetStackFromEndImpl, - ListAttributeModifier::SetOnScrollIndexImpl, - ListAttributeModifier::SetOnScrollVisibleContentChangeImpl, - ListAttributeModifier::SetOnItemMoveImpl, - ListAttributeModifier::SetOnItemDragStartImpl, - ListAttributeModifier::SetOnItemDragEnterImpl, - ListAttributeModifier::SetOnItemDragMoveImpl, - ListAttributeModifier::SetOnItemDragLeaveImpl, - ListAttributeModifier::SetOnItemDropImpl, - ListAttributeModifier::SetOnScrollFrameBeginImpl, - ListAttributeModifier::SetOnWillScrollImpl, - ListAttributeModifier::SetOnDidScrollImpl, - ListAttributeModifier::SetLanesImpl, - ListAttributeModifier::SetCachedCount1Impl, - }; - return &ArkUIListModifierImpl; } - - const GENERATED_ArkUIListItemModifier* GetListItemModifier() + void SetOnInterceptKeyEventImpl(Ark_NativePointer node, + const Opt_Callback_KeyEvent_Boolean* value) { - static const GENERATED_ArkUIListItemModifier ArkUIListItemModifierImpl { - ListItemModifier::ConstructImpl, - ListItemInterfaceModifier::SetListItemOptionsImpl, - ListItemAttributeModifier::SetSelectableImpl, - ListItemAttributeModifier::SetSelectedImpl, - ListItemAttributeModifier::SetSwipeActionImpl, - ListItemAttributeModifier::SetOnSelectImpl, - }; - return &ArkUIListItemModifierImpl; } - - const GENERATED_ArkUIListItemGroupModifier* GetListItemGroupModifier() + void SetWebStandardFontImpl(Ark_NativePointer node, + const Opt_String* value) { - static const GENERATED_ArkUIListItemGroupModifier ArkUIListItemGroupModifierImpl { - ListItemGroupModifier::ConstructImpl, - ListItemGroupInterfaceModifier::SetListItemGroupOptionsImpl, - ListItemGroupAttributeModifier::SetDividerImpl, - ListItemGroupAttributeModifier::SetChildrenMainSizeImpl, - }; - return &ArkUIListItemGroupModifierImpl; } - - const GENERATED_ArkUILoadingProgressModifier* GetLoadingProgressModifier() + void SetWebSerifFontImpl(Ark_NativePointer node, + const Opt_String* value) { - static const GENERATED_ArkUILoadingProgressModifier ArkUILoadingProgressModifierImpl { - LoadingProgressModifier::ConstructImpl, - LoadingProgressInterfaceModifier::SetLoadingProgressOptionsImpl, - LoadingProgressAttributeModifier::SetColorImpl, - LoadingProgressAttributeModifier::SetEnableLoadingImpl, - }; - return &ArkUILoadingProgressModifierImpl; } - - const GENERATED_ArkUIMarqueeModifier* GetMarqueeModifier() + void SetWebSansSerifFontImpl(Ark_NativePointer node, + const Opt_String* value) { - static const GENERATED_ArkUIMarqueeModifier ArkUIMarqueeModifierImpl { - MarqueeModifier::ConstructImpl, - MarqueeInterfaceModifier::SetMarqueeOptionsImpl, - MarqueeAttributeModifier::SetFontColorImpl, - MarqueeAttributeModifier::SetFontSizeImpl, - MarqueeAttributeModifier::SetAllowScaleImpl, - MarqueeAttributeModifier::SetFontWeightImpl, - MarqueeAttributeModifier::SetFontFamilyImpl, - MarqueeAttributeModifier::SetMarqueeUpdateStrategyImpl, - MarqueeAttributeModifier::SetOnStartImpl, - MarqueeAttributeModifier::SetOnBounceImpl, - MarqueeAttributeModifier::SetOnFinishImpl, - }; - return &ArkUIMarqueeModifierImpl; } - - const GENERATED_ArkUIMediaCachedImageModifier* GetMediaCachedImageModifier() + void SetWebFixedFontImpl(Ark_NativePointer node, + const Opt_String* value) { - static const GENERATED_ArkUIMediaCachedImageModifier ArkUIMediaCachedImageModifierImpl { - MediaCachedImageModifier::ConstructImpl, - MediaCachedImageInterfaceModifier::SetMediaCachedImageOptionsImpl, - }; - return &ArkUIMediaCachedImageModifierImpl; } - - const GENERATED_ArkUIMenuModifier* GetMenuModifier() + void SetWebFantasyFontImpl(Ark_NativePointer node, + const Opt_String* value) { - static const GENERATED_ArkUIMenuModifier ArkUIMenuModifierImpl { - MenuModifier::ConstructImpl, - MenuInterfaceModifier::SetMenuOptionsImpl, - MenuAttributeModifier::SetFontImpl, - MenuAttributeModifier::SetFontColorImpl, - MenuAttributeModifier::SetRadiusImpl, - MenuAttributeModifier::SetMenuItemDividerImpl, - MenuAttributeModifier::SetMenuItemGroupDividerImpl, - MenuAttributeModifier::SetSubMenuExpandingModeImpl, - }; - return &ArkUIMenuModifierImpl; } - - const GENERATED_ArkUIMenuItemModifier* GetMenuItemModifier() + void SetWebCursiveFontImpl(Ark_NativePointer node, + const Opt_String* value) { - static const GENERATED_ArkUIMenuItemModifier ArkUIMenuItemModifierImpl { - MenuItemModifier::ConstructImpl, - MenuItemInterfaceModifier::SetMenuItemOptionsImpl, - MenuItemAttributeModifier::SetSelectedImpl, - MenuItemAttributeModifier::SetSelectIconImpl, - MenuItemAttributeModifier::SetOnChangeImpl, - MenuItemAttributeModifier::SetContentFontImpl, - MenuItemAttributeModifier::SetContentFontColorImpl, - MenuItemAttributeModifier::SetLabelFontImpl, - MenuItemAttributeModifier::SetLabelFontColorImpl, - }; - return &ArkUIMenuItemModifierImpl; } - - const GENERATED_ArkUIMenuItemGroupModifier* GetMenuItemGroupModifier() + void SetDefaultFixedFontSizeImpl(Ark_NativePointer node, + const Opt_Int32* value) { - static const GENERATED_ArkUIMenuItemGroupModifier ArkUIMenuItemGroupModifierImpl { - MenuItemGroupModifier::ConstructImpl, - MenuItemGroupInterfaceModifier::SetMenuItemGroupOptionsImpl, - }; - return &ArkUIMenuItemGroupModifierImpl; } - - const GENERATED_ArkUINavDestinationModifier* GetNavDestinationModifier() + void SetDefaultFontSizeImpl(Ark_NativePointer node, + const Opt_Int32* value) { - static const GENERATED_ArkUINavDestinationModifier ArkUINavDestinationModifierImpl { - NavDestinationModifier::ConstructImpl, - NavDestinationInterfaceModifier::SetNavDestinationOptionsImpl, - NavDestinationAttributeModifier::SetHideTitleBar0Impl, - NavDestinationAttributeModifier::SetHideBackButtonImpl, - NavDestinationAttributeModifier::SetOnShownImpl, - NavDestinationAttributeModifier::SetOnHiddenImpl, - NavDestinationAttributeModifier::SetOnBackPressedImpl, - NavDestinationAttributeModifier::SetOnResultImpl, - NavDestinationAttributeModifier::SetModeImpl, - NavDestinationAttributeModifier::SetBackButtonIcon0Impl, - NavDestinationAttributeModifier::SetMenus0Impl, - NavDestinationAttributeModifier::SetOnReadyImpl, - NavDestinationAttributeModifier::SetOnWillAppearImpl, - NavDestinationAttributeModifier::SetOnWillDisappearImpl, - NavDestinationAttributeModifier::SetOnWillShowImpl, - NavDestinationAttributeModifier::SetOnWillHideImpl, - NavDestinationAttributeModifier::SetSystemBarStyleImpl, - NavDestinationAttributeModifier::SetRecoverableImpl, - NavDestinationAttributeModifier::SetSystemTransitionImpl, - NavDestinationAttributeModifier::SetBindToScrollableImpl, - NavDestinationAttributeModifier::SetBindToNestedScrollableImpl, - NavDestinationAttributeModifier::SetOnActiveImpl, - NavDestinationAttributeModifier::SetOnInactiveImpl, - NavDestinationAttributeModifier::SetCustomTransitionImpl, - NavDestinationAttributeModifier::SetOnNewParamImpl, - NavDestinationAttributeModifier::SetPreferredOrientationImpl, - NavDestinationAttributeModifier::SetEnableNavigationIndicatorImpl, - NavDestinationAttributeModifier::SetTitleImpl, - NavDestinationAttributeModifier::SetHideTitleBar1Impl, - NavDestinationAttributeModifier::SetBackButtonIcon1Impl, - NavDestinationAttributeModifier::SetMenus1Impl, - NavDestinationAttributeModifier::SetToolbarConfigurationImpl, - NavDestinationAttributeModifier::SetHideToolBarImpl, - NavDestinationAttributeModifier::SetIgnoreLayoutSafeAreaImpl, - NavDestinationAttributeModifier::SetEnableStatusBarImpl, - }; - return &ArkUINavDestinationModifierImpl; } - - const GENERATED_ArkUINavigationModifier* GetNavigationModifier() + void SetMinFontSizeImpl(Ark_NativePointer node, + const Opt_Int32* value) { - static const GENERATED_ArkUINavigationModifier ArkUINavigationModifierImpl { - NavigationModifier::ConstructImpl, - NavigationInterfaceModifier::SetNavigationOptions0Impl, - NavigationInterfaceModifier::SetNavigationOptions1Impl, - NavigationAttributeModifier::SetNavBarWidthImpl, - NavigationAttributeModifier::SetNavBarPositionImpl, - NavigationAttributeModifier::SetNavBarWidthRangeImpl, - NavigationAttributeModifier::SetMinContentWidthImpl, - NavigationAttributeModifier::SetModeImpl, - NavigationAttributeModifier::SetBackButtonIcon0Impl, - NavigationAttributeModifier::SetHideNavBarImpl, - NavigationAttributeModifier::SetHideTitleBar0Impl, - NavigationAttributeModifier::SetHideBackButtonImpl, - NavigationAttributeModifier::SetTitleModeImpl, - NavigationAttributeModifier::SetMenus0Impl, - NavigationAttributeModifier::SetHideToolBar0Impl, - NavigationAttributeModifier::SetEnableToolBarAdaptationImpl, - NavigationAttributeModifier::SetOnTitleModeChangeImpl, - NavigationAttributeModifier::SetOnNavBarStateChangeImpl, - NavigationAttributeModifier::SetOnNavigationModeChangeImpl, - NavigationAttributeModifier::SetNavDestinationImpl, - NavigationAttributeModifier::SetCustomNavContentTransitionImpl, - NavigationAttributeModifier::SetSystemBarStyleImpl, - NavigationAttributeModifier::SetRecoverableImpl, - NavigationAttributeModifier::SetEnableDragBarImpl, - NavigationAttributeModifier::SetEnableModeChangeAnimationImpl, - NavigationAttributeModifier::SetBackButtonIcon1Impl, - NavigationAttributeModifier::SetTitleImpl, - NavigationAttributeModifier::SetHideTitleBar1Impl, - NavigationAttributeModifier::SetMenus1Impl, - NavigationAttributeModifier::SetToolbarConfigurationImpl, - NavigationAttributeModifier::SetHideToolBar1Impl, - NavigationAttributeModifier::SetIgnoreLayoutSafeAreaImpl, - }; - return &ArkUINavigationModifierImpl; } - - const GENERATED_ArkUINodeContainerModifier* GetNodeContainerModifier() + void SetMinLogicalFontSizeImpl(Ark_NativePointer node, + const Opt_Int32* value) { - static const GENERATED_ArkUINodeContainerModifier ArkUINodeContainerModifierImpl { - NodeContainerModifier::ConstructImpl, - NodeContainerInterfaceModifier::SetNodeContainerOptionsImpl, - }; - return &ArkUINodeContainerModifierImpl; } - - const GENERATED_ArkUIPathModifier* GetPathModifier() + void SetDefaultTextEncodingFormatImpl(Ark_NativePointer node, + const Opt_String* value) { - static const GENERATED_ArkUIPathModifier ArkUIPathModifierImpl { - PathModifier::ConstructImpl, - PathInterfaceModifier::SetPathOptionsImpl, - }; - return &ArkUIPathModifierImpl; } - - const GENERATED_ArkUIPatternLockModifier* GetPatternLockModifier() + void SetForceDisplayScrollBarImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIPatternLockModifier ArkUIPatternLockModifierImpl { - PatternLockModifier::ConstructImpl, - PatternLockInterfaceModifier::SetPatternLockOptionsImpl, - PatternLockAttributeModifier::SetSideLengthImpl, - PatternLockAttributeModifier::SetCircleRadiusImpl, - PatternLockAttributeModifier::SetBackgroundColorImpl, - PatternLockAttributeModifier::SetRegularColorImpl, - PatternLockAttributeModifier::SetSelectedColorImpl, - PatternLockAttributeModifier::SetActiveColorImpl, - PatternLockAttributeModifier::SetPathColorImpl, - PatternLockAttributeModifier::SetPathStrokeWidthImpl, - PatternLockAttributeModifier::SetOnPatternCompleteImpl, - PatternLockAttributeModifier::SetAutoResetImpl, - PatternLockAttributeModifier::SetOnDotConnectImpl, - PatternLockAttributeModifier::SetActivateCircleStyleImpl, - PatternLockAttributeModifier::SetSkipUnselectedPointImpl, - }; - return &ArkUIPatternLockModifierImpl; } - - const GENERATED_ArkUIPluginComponentModifier* GetPluginComponentModifier() + void SetBlockNetworkImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIPluginComponentModifier ArkUIPluginComponentModifierImpl { - PluginComponentModifier::ConstructImpl, - PluginComponentInterfaceModifier::SetPluginComponentOptionsImpl, - PluginComponentAttributeModifier::SetOnCompleteImpl, - PluginComponentAttributeModifier::SetOnErrorImpl, - }; - return &ArkUIPluginComponentModifierImpl; } - - const GENERATED_ArkUIPolygonModifier* GetPolygonModifier() + void SetHorizontalScrollBarAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIPolygonModifier ArkUIPolygonModifierImpl { - PolygonModifier::ConstructImpl, - PolygonInterfaceModifier::SetPolygonOptionsImpl, - PolygonAttributeModifier::SetPointsImpl, - }; - return &ArkUIPolygonModifierImpl; } - - const GENERATED_ArkUIPolylineModifier* GetPolylineModifier() + void SetVerticalScrollBarAccessImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIPolylineModifier ArkUIPolylineModifierImpl { - PolylineModifier::ConstructImpl, - PolylineInterfaceModifier::SetPolylineOptionsImpl, - PolylineAttributeModifier::SetPointsImpl, - }; - return &ArkUIPolylineModifierImpl; } - - const GENERATED_ArkUIProgressModifier* GetProgressModifier() + void SetOnTouchIconUrlReceivedImpl(Ark_NativePointer node, + const Opt_Callback_OnTouchIconUrlReceivedEvent_Void* value) { - static const GENERATED_ArkUIProgressModifier ArkUIProgressModifierImpl { - ProgressModifier::ConstructImpl, - ProgressInterfaceModifier::SetProgressOptionsImpl, - ProgressAttributeModifier::SetValueImpl, - ProgressAttributeModifier::SetColorImpl, - ProgressAttributeModifier::SetStyleImpl, - ProgressAttributeModifier::SetPrivacySensitiveImpl, - }; - return &ArkUIProgressModifierImpl; } - - const GENERATED_ArkUIQRCodeModifier* GetQRCodeModifier() + void SetOnFaviconReceivedImpl(Ark_NativePointer node, + const Opt_Callback_OnFaviconReceivedEvent_Void* value) { - static const GENERATED_ArkUIQRCodeModifier ArkUIQRCodeModifierImpl { - QRCodeModifier::ConstructImpl, - QRCodeInterfaceModifier::SetQRCodeOptionsImpl, - QRCodeAttributeModifier::SetColorImpl, - QRCodeAttributeModifier::SetBackgroundColorImpl, - QRCodeAttributeModifier::SetContentOpacityImpl, - }; - return &ArkUIQRCodeModifierImpl; } - - const GENERATED_ArkUIRadioModifier* GetRadioModifier() + void SetOnPageVisibleImpl(Ark_NativePointer node, + const Opt_Callback_OnPageVisibleEvent_Void* value) { - static const GENERATED_ArkUIRadioModifier ArkUIRadioModifierImpl { - RadioModifier::ConstructImpl, - RadioInterfaceModifier::SetRadioOptionsImpl, - RadioAttributeModifier::SetCheckedImpl, - RadioAttributeModifier::SetOnChangeImpl, - RadioAttributeModifier::SetRadioStyleImpl, - }; - return &ArkUIRadioModifierImpl; } - - const GENERATED_ArkUIRatingModifier* GetRatingModifier() + void SetOnDataResubmittedImpl(Ark_NativePointer node, + const Opt_Callback_OnDataResubmittedEvent_Void* value) { - static const GENERATED_ArkUIRatingModifier ArkUIRatingModifierImpl { - RatingModifier::ConstructImpl, - RatingInterfaceModifier::SetRatingOptionsImpl, - RatingAttributeModifier::SetStarsImpl, - RatingAttributeModifier::SetStepSizeImpl, - RatingAttributeModifier::SetStarStyleImpl, - RatingAttributeModifier::SetOnChangeImpl, - }; - return &ArkUIRatingModifierImpl; } - - const GENERATED_ArkUIRectModifier* GetRectModifier() + void SetPinchSmoothImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIRectModifier ArkUIRectModifierImpl { - RectModifier::ConstructImpl, - RectInterfaceModifier::SetRectOptionsImpl, - RectAttributeModifier::SetRadiusImpl, - }; - return &ArkUIRectModifierImpl; } - - const GENERATED_ArkUIRefreshModifier* GetRefreshModifier() + void SetAllowWindowOpenMethodImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIRefreshModifier ArkUIRefreshModifierImpl { - RefreshModifier::ConstructImpl, - RefreshInterfaceModifier::SetRefreshOptionsImpl, - RefreshAttributeModifier::SetOnStateChangeImpl, - RefreshAttributeModifier::SetOnRefreshingImpl, - RefreshAttributeModifier::SetRefreshOffsetImpl, - RefreshAttributeModifier::SetPullToRefreshImpl, - RefreshAttributeModifier::SetOnOffsetChangeImpl, - RefreshAttributeModifier::SetPullDownRatioImpl, - }; - return &ArkUIRefreshModifierImpl; } - - const GENERATED_ArkUIRelativeContainerModifier* GetRelativeContainerModifier() + void SetOnAudioStateChangedImpl(Ark_NativePointer node, + const Opt_Callback_OnAudioStateChangedEvent_Void* value) { - static const GENERATED_ArkUIRelativeContainerModifier ArkUIRelativeContainerModifierImpl { - RelativeContainerModifier::ConstructImpl, - RelativeContainerInterfaceModifier::SetRelativeContainerOptionsImpl, - RelativeContainerAttributeModifier::SetGuideLineImpl, - RelativeContainerAttributeModifier::SetBarrierImpl, - }; - return &ArkUIRelativeContainerModifierImpl; } - - const GENERATED_ArkUIRemoteWindowModifier* GetRemoteWindowModifier() + void SetOnFirstContentfulPaintImpl(Ark_NativePointer node, + const Opt_Callback_OnFirstContentfulPaintEvent_Void* value) { - static const GENERATED_ArkUIRemoteWindowModifier ArkUIRemoteWindowModifierImpl { - RemoteWindowModifier::ConstructImpl, - RemoteWindowInterfaceModifier::SetRemoteWindowOptionsImpl, - }; - return &ArkUIRemoteWindowModifierImpl; } - - const GENERATED_ArkUIRichEditorModifier* GetRichEditorModifier() + void SetOnFirstMeaningfulPaintImpl(Ark_NativePointer node, + const Opt_OnFirstMeaningfulPaintCallback* value) { - static const GENERATED_ArkUIRichEditorModifier ArkUIRichEditorModifierImpl { - RichEditorModifier::ConstructImpl, - RichEditorInterfaceModifier::SetRichEditorOptions0Impl, - RichEditorInterfaceModifier::SetRichEditorOptions1Impl, - RichEditorAttributeModifier::SetOnReadyImpl, - RichEditorAttributeModifier::SetOnSelectImpl, - RichEditorAttributeModifier::SetOnSelectionChangeImpl, - RichEditorAttributeModifier::SetAboutToIMEInputImpl, - RichEditorAttributeModifier::SetOnIMEInputCompleteImpl, - RichEditorAttributeModifier::SetOnDidIMEInputImpl, - RichEditorAttributeModifier::SetAboutToDeleteImpl, - RichEditorAttributeModifier::SetOnDeleteCompleteImpl, - RichEditorAttributeModifier::SetCopyOptionsImpl, - RichEditorAttributeModifier::SetOnPasteImpl, - RichEditorAttributeModifier::SetEnableDataDetectorImpl, - RichEditorAttributeModifier::SetEnablePreviewTextImpl, - RichEditorAttributeModifier::SetDataDetectorConfigImpl, - RichEditorAttributeModifier::SetCaretColorImpl, - RichEditorAttributeModifier::SetSelectedBackgroundColorImpl, - RichEditorAttributeModifier::SetOnEditingChangeImpl, - RichEditorAttributeModifier::SetEnterKeyTypeImpl, - RichEditorAttributeModifier::SetOnSubmitImpl, - RichEditorAttributeModifier::SetOnWillChangeImpl, - RichEditorAttributeModifier::SetOnDidChangeImpl, - RichEditorAttributeModifier::SetOnCutImpl, - RichEditorAttributeModifier::SetOnCopyImpl, - RichEditorAttributeModifier::SetEditMenuOptionsImpl, - RichEditorAttributeModifier::SetEnableKeyboardOnFocusImpl, - RichEditorAttributeModifier::SetEnableHapticFeedbackImpl, - RichEditorAttributeModifier::SetBarStateImpl, - RichEditorAttributeModifier::SetMaxLengthImpl, - RichEditorAttributeModifier::SetMaxLinesImpl, - RichEditorAttributeModifier::SetKeyboardAppearanceImpl, - RichEditorAttributeModifier::SetStopBackPressImpl, - RichEditorAttributeModifier::SetBindSelectionMenuImpl, - RichEditorAttributeModifier::SetCustomKeyboardImpl, - RichEditorAttributeModifier::SetPlaceholderImpl, - }; - return &ArkUIRichEditorModifierImpl; } - - const GENERATED_ArkUIRichTextModifier* GetRichTextModifier() + void SetOnLargestContentfulPaintImpl(Ark_NativePointer node, + const Opt_OnLargestContentfulPaintCallback* value) { - static const GENERATED_ArkUIRichTextModifier ArkUIRichTextModifierImpl { - RichTextModifier::ConstructImpl, - RichTextInterfaceModifier::SetRichTextOptionsImpl, - RichTextAttributeModifier::SetOnStartImpl, - RichTextAttributeModifier::SetOnCompleteImpl, - }; - return &ArkUIRichTextModifierImpl; } - - const GENERATED_ArkUIRootModifier* GetRootModifier() + void SetOnLoadInterceptImpl(Ark_NativePointer node, + const Opt_Callback_OnLoadInterceptEvent_Boolean* value) { - static const GENERATED_ArkUIRootModifier ArkUIRootModifierImpl { - RootModifier::ConstructImpl, - }; - return &ArkUIRootModifierImpl; } - - const GENERATED_ArkUIRootSceneModifier* GetRootSceneModifier() + void SetOnControllerAttachedImpl(Ark_NativePointer node, + const Opt_Callback_Void* value) { - static const GENERATED_ArkUIRootSceneModifier ArkUIRootSceneModifierImpl { - RootSceneModifier::ConstructImpl, - RootSceneInterfaceModifier::SetRootSceneOptionsImpl, - }; - return &ArkUIRootSceneModifierImpl; } - - const GENERATED_ArkUIRowModifier* GetRowModifier() + void SetOnOverScrollImpl(Ark_NativePointer node, + const Opt_Callback_OnOverScrollEvent_Void* value) { - static const GENERATED_ArkUIRowModifier ArkUIRowModifierImpl { - RowModifier::ConstructImpl, - RowInterfaceModifier::SetRowOptionsImpl, - RowAttributeModifier::SetAlignItemsImpl, - RowAttributeModifier::SetJustifyContentImpl, - RowAttributeModifier::SetPointLightImpl, - RowAttributeModifier::SetReverseImpl, - }; - return &ArkUIRowModifierImpl; } - - const GENERATED_ArkUIRowSplitModifier* GetRowSplitModifier() + void SetOnSafeBrowsingCheckResultImpl(Ark_NativePointer node, + const Opt_OnSafeBrowsingCheckResultCallback* value) { - static const GENERATED_ArkUIRowSplitModifier ArkUIRowSplitModifierImpl { - RowSplitModifier::ConstructImpl, - RowSplitInterfaceModifier::SetRowSplitOptionsImpl, - RowSplitAttributeModifier::SetResizeableImpl, - }; - return &ArkUIRowSplitModifierImpl; } - - const GENERATED_ArkUIScreenModifier* GetScreenModifier() + void SetOnNavigationEntryCommittedImpl(Ark_NativePointer node, + const Opt_OnNavigationEntryCommittedCallback* value) { - static const GENERATED_ArkUIScreenModifier ArkUIScreenModifierImpl { - ScreenModifier::ConstructImpl, - ScreenInterfaceModifier::SetScreenOptionsImpl, - }; - return &ArkUIScreenModifierImpl; } - - const GENERATED_ArkUIScrollModifier* GetScrollModifier() + void SetOnIntelligentTrackingPreventionResultImpl(Ark_NativePointer node, + const Opt_OnIntelligentTrackingPreventionCallback* value) { - static const GENERATED_ArkUIScrollModifier ArkUIScrollModifierImpl { - ScrollModifier::ConstructImpl, - ScrollInterfaceModifier::SetScrollOptionsImpl, - ScrollAttributeModifier::SetScrollableImpl, - ScrollAttributeModifier::SetOnWillScrollImpl, - ScrollAttributeModifier::SetOnDidScrollImpl, - ScrollAttributeModifier::SetOnScrollEdgeImpl, - ScrollAttributeModifier::SetOnScrollStartImpl, - ScrollAttributeModifier::SetOnScrollStopImpl, - ScrollAttributeModifier::SetScrollBarImpl, - ScrollAttributeModifier::SetScrollBarColorImpl, - ScrollAttributeModifier::SetScrollBarWidthImpl, - ScrollAttributeModifier::SetOnScrollFrameBeginImpl, - ScrollAttributeModifier::SetNestedScrollImpl, - ScrollAttributeModifier::SetEnableScrollInteractionImpl, - ScrollAttributeModifier::SetFrictionImpl, - ScrollAttributeModifier::SetScrollSnapImpl, - ScrollAttributeModifier::SetEnablePagingImpl, - ScrollAttributeModifier::SetInitialOffsetImpl, - ScrollAttributeModifier::SetEdgeEffectImpl, - }; - return &ArkUIScrollModifierImpl; } - - const GENERATED_ArkUIScrollableCommonMethodModifier* GetScrollableCommonMethodModifier() + void SetJavaScriptOnDocumentStartImpl(Ark_NativePointer node, + const Opt_Array_ScriptItem* value) { - static const GENERATED_ArkUIScrollableCommonMethodModifier ArkUIScrollableCommonMethodModifierImpl { - ScrollableCommonMethodModifier::ConstructImpl, - ScrollableCommonMethodModifier::SetScrollBarImpl, - ScrollableCommonMethodModifier::SetScrollBarColorImpl, - ScrollableCommonMethodModifier::SetScrollBarWidthImpl, - ScrollableCommonMethodModifier::SetNestedScrollImpl, - ScrollableCommonMethodModifier::SetEnableScrollInteractionImpl, - ScrollableCommonMethodModifier::SetFrictionImpl, - ScrollableCommonMethodModifier::SetOnReachStartImpl, - ScrollableCommonMethodModifier::SetOnReachEndImpl, - ScrollableCommonMethodModifier::SetOnScrollStartImpl, - ScrollableCommonMethodModifier::SetOnScrollStopImpl, - ScrollableCommonMethodModifier::SetFlingSpeedLimitImpl, - ScrollableCommonMethodModifier::SetClipContentImpl, - ScrollableCommonMethodModifier::SetDigitalCrownSensitivityImpl, - ScrollableCommonMethodModifier::SetBackToTopImpl, - ScrollableCommonMethodModifier::SetEdgeEffectImpl, - ScrollableCommonMethodModifier::SetFadingEdgeImpl, - }; - return &ArkUIScrollableCommonMethodModifierImpl; } - - const GENERATED_ArkUIScrollBarModifier* GetScrollBarModifier() + void SetJavaScriptOnDocumentEndImpl(Ark_NativePointer node, + const Opt_Array_ScriptItem* value) { - static const GENERATED_ArkUIScrollBarModifier ArkUIScrollBarModifierImpl { - ScrollBarModifier::ConstructImpl, - ScrollBarInterfaceModifier::SetScrollBarOptionsImpl, - ScrollBarAttributeModifier::SetEnableNestedScrollImpl, - }; - return &ArkUIScrollBarModifierImpl; } - - const GENERATED_ArkUISearchModifier* GetSearchModifier() + void SetLayoutModeImpl(Ark_NativePointer node, + const Opt_WebLayoutMode* value) { - static const GENERATED_ArkUISearchModifier ArkUISearchModifierImpl { - SearchModifier::ConstructImpl, - SearchInterfaceModifier::SetSearchOptionsImpl, - SearchAttributeModifier::SetFontColorImpl, - SearchAttributeModifier::SetSearchIconImpl, - SearchAttributeModifier::SetCancelButtonImpl, - SearchAttributeModifier::SetTextIndentImpl, - SearchAttributeModifier::SetOnEditChangeImpl, - SearchAttributeModifier::SetSelectedBackgroundColorImpl, - SearchAttributeModifier::SetCaretStyleImpl, - SearchAttributeModifier::SetPlaceholderColorImpl, - SearchAttributeModifier::SetPlaceholderFontImpl, - SearchAttributeModifier::SetTextFontImpl, - SearchAttributeModifier::SetEnterKeyTypeImpl, - SearchAttributeModifier::SetOnSubmitImpl, - SearchAttributeModifier::SetOnChangeImpl, - SearchAttributeModifier::SetOnTextSelectionChangeImpl, - SearchAttributeModifier::SetOnContentScrollImpl, - SearchAttributeModifier::SetOnCopyImpl, - SearchAttributeModifier::SetOnCutImpl, - SearchAttributeModifier::SetOnPasteImpl, - SearchAttributeModifier::SetCopyOptionImpl, - SearchAttributeModifier::SetMaxLengthImpl, - SearchAttributeModifier::SetTextAlignImpl, - SearchAttributeModifier::SetEnableKeyboardOnFocusImpl, - SearchAttributeModifier::SetSelectionMenuHiddenImpl, - SearchAttributeModifier::SetMinFontSizeImpl, - SearchAttributeModifier::SetMaxFontSizeImpl, - SearchAttributeModifier::SetMinFontScaleImpl, - SearchAttributeModifier::SetMaxFontScaleImpl, - SearchAttributeModifier::SetDecorationImpl, - SearchAttributeModifier::SetLetterSpacingImpl, - SearchAttributeModifier::SetLineHeightImpl, - SearchAttributeModifier::SetTypeImpl, - SearchAttributeModifier::SetFontFeatureImpl, - SearchAttributeModifier::SetOnWillInsertImpl, - SearchAttributeModifier::SetOnDidInsertImpl, - SearchAttributeModifier::SetOnWillDeleteImpl, - SearchAttributeModifier::SetOnDidDeleteImpl, - SearchAttributeModifier::SetEditMenuOptionsImpl, - SearchAttributeModifier::SetEnablePreviewTextImpl, - SearchAttributeModifier::SetEnableHapticFeedbackImpl, - SearchAttributeModifier::SetAutoCapitalizationModeImpl, - SearchAttributeModifier::SetHalfLeadingImpl, - SearchAttributeModifier::SetStopBackPressImpl, - SearchAttributeModifier::SetOnWillChangeImpl, - SearchAttributeModifier::SetKeyboardAppearanceImpl, - SearchAttributeModifier::SetSearchButtonImpl, - SearchAttributeModifier::SetInputFilterImpl, - SearchAttributeModifier::SetCustomKeyboardImpl, - }; - return &ArkUISearchModifierImpl; } - - const GENERATED_ArkUISelectModifier* GetSelectModifier() + void SetNestedScrollImpl(Ark_NativePointer node, + const Opt_Union_NestedScrollOptions_NestedScrollOptionsExt* value) { - static const GENERATED_ArkUISelectModifier ArkUISelectModifierImpl { - SelectModifier::ConstructImpl, - SelectInterfaceModifier::SetSelectOptionsImpl, - SelectAttributeModifier::SetSelectedImpl, - SelectAttributeModifier::SetValueImpl, - SelectAttributeModifier::SetFontImpl, - SelectAttributeModifier::SetFontColorImpl, - SelectAttributeModifier::SetSelectedOptionBgColorImpl, - SelectAttributeModifier::SetSelectedOptionFontImpl, - SelectAttributeModifier::SetSelectedOptionFontColorImpl, - SelectAttributeModifier::SetOptionBgColorImpl, - SelectAttributeModifier::SetOptionFontImpl, - SelectAttributeModifier::SetOptionFontColorImpl, - SelectAttributeModifier::SetOnSelectImpl, - SelectAttributeModifier::SetSpaceImpl, - SelectAttributeModifier::SetArrowPositionImpl, - SelectAttributeModifier::SetOptionWidthImpl, - SelectAttributeModifier::SetOptionHeightImpl, - SelectAttributeModifier::SetMenuBackgroundColorImpl, - SelectAttributeModifier::SetMenuBackgroundBlurStyleImpl, - SelectAttributeModifier::SetControlSizeImpl, - SelectAttributeModifier::SetDividerImpl, - SelectAttributeModifier::SetTextModifierImpl, - SelectAttributeModifier::SetArrowModifierImpl, - SelectAttributeModifier::SetOptionTextModifierImpl, - SelectAttributeModifier::SetSelectedOptionTextModifierImpl, - SelectAttributeModifier::SetDividerStyleImpl, - SelectAttributeModifier::SetAvoidanceImpl, - SelectAttributeModifier::SetMenuOutlineImpl, - SelectAttributeModifier::SetMenuAlignImpl, - }; - return &ArkUISelectModifierImpl; } - - const GENERATED_ArkUIShapeModifier* GetShapeModifier() + void SetEnableNativeEmbedModeImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIShapeModifier ArkUIShapeModifierImpl { - ShapeModifier::ConstructImpl, - ShapeInterfaceModifier::SetShapeOptionsImpl, - ShapeAttributeModifier::SetViewPortImpl, - ShapeAttributeModifier::SetStrokeImpl, - ShapeAttributeModifier::SetFillImpl, - ShapeAttributeModifier::SetStrokeDashOffsetImpl, - ShapeAttributeModifier::SetStrokeDashArrayImpl, - ShapeAttributeModifier::SetStrokeLineCapImpl, - ShapeAttributeModifier::SetStrokeLineJoinImpl, - ShapeAttributeModifier::SetStrokeMiterLimitImpl, - ShapeAttributeModifier::SetStrokeOpacityImpl, - ShapeAttributeModifier::SetFillOpacityImpl, - ShapeAttributeModifier::SetStrokeWidthImpl, - ShapeAttributeModifier::SetAntiAliasImpl, - ShapeAttributeModifier::SetMeshImpl, - }; - return &ArkUIShapeModifierImpl; } - - const GENERATED_ArkUISideBarContainerModifier* GetSideBarContainerModifier() + void SetOnNativeEmbedLifecycleChangeImpl(Ark_NativePointer node, + const Opt_Callback_NativeEmbedDataInfo_Void* value) { - static const GENERATED_ArkUISideBarContainerModifier ArkUISideBarContainerModifierImpl { - SideBarContainerModifier::ConstructImpl, - SideBarContainerInterfaceModifier::SetSideBarContainerOptionsImpl, - SideBarContainerAttributeModifier::SetShowSideBarImpl, - SideBarContainerAttributeModifier::SetControlButtonImpl, - SideBarContainerAttributeModifier::SetShowControlButtonImpl, - SideBarContainerAttributeModifier::SetOnChangeImpl, - SideBarContainerAttributeModifier::SetSideBarWidth0Impl, - SideBarContainerAttributeModifier::SetMinSideBarWidth0Impl, - SideBarContainerAttributeModifier::SetMaxSideBarWidth0Impl, - SideBarContainerAttributeModifier::SetSideBarWidth1Impl, - SideBarContainerAttributeModifier::SetMinSideBarWidth1Impl, - SideBarContainerAttributeModifier::SetMaxSideBarWidth1Impl, - SideBarContainerAttributeModifier::SetAutoHideImpl, - SideBarContainerAttributeModifier::SetSideBarPositionImpl, - SideBarContainerAttributeModifier::SetDividerImpl, - SideBarContainerAttributeModifier::SetMinContentWidthImpl, - }; - return &ArkUISideBarContainerModifierImpl; } - - const GENERATED_ArkUISliderModifier* GetSliderModifier() + void SetOnNativeEmbedVisibilityChangeImpl(Ark_NativePointer node, + const Opt_OnNativeEmbedVisibilityChangeCallback* value) { - static const GENERATED_ArkUISliderModifier ArkUISliderModifierImpl { - SliderModifier::ConstructImpl, - SliderInterfaceModifier::SetSliderOptionsImpl, - SliderAttributeModifier::SetBlockColorImpl, - SliderAttributeModifier::SetTrackColorImpl, - SliderAttributeModifier::SetSelectedColorImpl, - SliderAttributeModifier::SetShowStepsImpl, - SliderAttributeModifier::SetTrackThicknessImpl, - SliderAttributeModifier::SetOnChangeImpl, - SliderAttributeModifier::SetBlockBorderColorImpl, - SliderAttributeModifier::SetBlockBorderWidthImpl, - SliderAttributeModifier::SetStepColorImpl, - SliderAttributeModifier::SetTrackBorderRadiusImpl, - SliderAttributeModifier::SetSelectedBorderRadiusImpl, - SliderAttributeModifier::SetBlockSizeImpl, - SliderAttributeModifier::SetBlockStyleImpl, - SliderAttributeModifier::SetStepSizeImpl, - SliderAttributeModifier::SetSliderInteractionModeImpl, - SliderAttributeModifier::SetMinResponsiveDistanceImpl, - SliderAttributeModifier::SetSlideRangeImpl, - SliderAttributeModifier::SetDigitalCrownSensitivityImpl, - SliderAttributeModifier::SetEnableHapticFeedbackImpl, - SliderAttributeModifier::SetShowTipsImpl, - }; - return &ArkUISliderModifierImpl; } - - const GENERATED_ArkUISpanModifier* GetSpanModifier() + void SetOnNativeEmbedGestureEventImpl(Ark_NativePointer node, + const Opt_Callback_NativeEmbedTouchInfo_Void* value) { - static const GENERATED_ArkUISpanModifier ArkUISpanModifierImpl { - SpanModifier::ConstructImpl, - SpanInterfaceModifier::SetSpanOptionsImpl, - SpanAttributeModifier::SetFontImpl, - SpanAttributeModifier::SetFontColorImpl, - SpanAttributeModifier::SetFontSizeImpl, - SpanAttributeModifier::SetFontStyleImpl, - SpanAttributeModifier::SetFontWeightImpl, - SpanAttributeModifier::SetFontFamilyImpl, - SpanAttributeModifier::SetDecorationImpl, - SpanAttributeModifier::SetLetterSpacingImpl, - SpanAttributeModifier::SetTextCaseImpl, - SpanAttributeModifier::SetLineHeightImpl, - SpanAttributeModifier::SetTextShadowImpl, - }; - return &ArkUISpanModifierImpl; } - - const GENERATED_ArkUIStackModifier* GetStackModifier() + void SetCopyOptionsImpl(Ark_NativePointer node, + const Opt_CopyOptions* value) { - static const GENERATED_ArkUIStackModifier ArkUIStackModifierImpl { - StackModifier::ConstructImpl, - StackInterfaceModifier::SetStackOptionsImpl, - StackAttributeModifier::SetAlignContentImpl, - StackAttributeModifier::SetPointLightImpl, - }; - return &ArkUIStackModifierImpl; } - - const GENERATED_ArkUIStepperModifier* GetStepperModifier() + void SetOnOverrideUrlLoadingImpl(Ark_NativePointer node, + const Opt_OnOverrideUrlLoadingCallback* value) { - static const GENERATED_ArkUIStepperModifier ArkUIStepperModifierImpl { - StepperModifier::ConstructImpl, - StepperInterfaceModifier::SetStepperOptionsImpl, - StepperAttributeModifier::SetOnFinishImpl, - StepperAttributeModifier::SetOnSkipImpl, - StepperAttributeModifier::SetOnChangeImpl, - StepperAttributeModifier::SetOnNextImpl, - StepperAttributeModifier::SetOnPreviousImpl, - }; - return &ArkUIStepperModifierImpl; } - - const GENERATED_ArkUIStepperItemModifier* GetStepperItemModifier() + void SetTextAutosizingImpl(Ark_NativePointer node, + const Opt_Boolean* value) { - static const GENERATED_ArkUIStepperItemModifier ArkUIStepperItemModifierImpl { - StepperItemModifier::ConstructImpl, - StepperItemInterfaceModifier::SetStepperItemOptionsImpl, - StepperItemAttributeModifier::SetPrevLabelImpl, - StepperItemAttributeModifier::SetNextLabelImpl, - StepperItemAttributeModifier::SetStatusImpl, - }; - return &ArkUIStepperItemModifierImpl; } - - const GENERATED_ArkUISwiperModifier* GetSwiperModifier() + void SetEnableNativeMediaPlayerImpl(Ark_NativePointer node, + const Opt_NativeMediaPlayerConfig* value) { - static const GENERATED_ArkUISwiperModifier ArkUISwiperModifierImpl { - SwiperModifier::ConstructImpl, - SwiperInterfaceModifier::SetSwiperOptionsImpl, - SwiperAttributeModifier::SetIndexImpl, - SwiperAttributeModifier::SetIntervalImpl, - SwiperAttributeModifier::SetIndicatorImpl, - SwiperAttributeModifier::SetLoopImpl, - SwiperAttributeModifier::SetDurationImpl, - SwiperAttributeModifier::SetVerticalImpl, - SwiperAttributeModifier::SetItemSpaceImpl, - SwiperAttributeModifier::SetDisplayModeImpl, - SwiperAttributeModifier::SetCachedCount0Impl, - SwiperAttributeModifier::SetEffectModeImpl, - SwiperAttributeModifier::SetDisableSwipeImpl, - SwiperAttributeModifier::SetCurveImpl, - SwiperAttributeModifier::SetOnChangeImpl, - SwiperAttributeModifier::SetOnSelectedImpl, - SwiperAttributeModifier::SetOnUnselectedImpl, - SwiperAttributeModifier::SetOnAnimationStartImpl, - SwiperAttributeModifier::SetOnAnimationEndImpl, - SwiperAttributeModifier::SetOnGestureSwipeImpl, - SwiperAttributeModifier::SetNestedScrollImpl, - SwiperAttributeModifier::SetCustomContentTransitionImpl, - SwiperAttributeModifier::SetOnContentDidScrollImpl, - SwiperAttributeModifier::SetIndicatorInteractiveImpl, - SwiperAttributeModifier::SetPageFlipModeImpl, - SwiperAttributeModifier::SetOnContentWillScrollImpl, - SwiperAttributeModifier::SetAutoPlayImpl, - SwiperAttributeModifier::SetDisplayArrowImpl, - SwiperAttributeModifier::SetCachedCount1Impl, - SwiperAttributeModifier::SetDisplayCountImpl, - SwiperAttributeModifier::SetPrevMarginImpl, - SwiperAttributeModifier::SetNextMarginImpl, + } + void SetOnRenderProcessNotRespondingImpl(Ark_NativePointer node, + const Opt_OnRenderProcessNotRespondingCallback* value) + { + } + void SetOnRenderProcessRespondingImpl(Ark_NativePointer node, + const Opt_OnRenderProcessRespondingCallback* value) + { + } + void SetOnViewportFitChangedImpl(Ark_NativePointer node, + const Opt_OnViewportFitChangedCallback* value) + { + } + void SetOnInterceptKeyboardAttachImpl(Ark_NativePointer node, + const Opt_WebKeyboardCallback* value) + { + } + void SetOnAdsBlockedImpl(Ark_NativePointer node, + const Opt_OnAdsBlockedCallback* value) + { + } + void SetKeyboardAvoidModeImpl(Ark_NativePointer node, + const Opt_WebKeyboardAvoidMode* value) + { + } + void SetEditMenuOptionsImpl(Ark_NativePointer node, + const Opt_EditMenuOptions* value) + { + } + void SetEnableHapticFeedbackImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void SetOptimizeParserBudgetImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void SetEnableFollowSystemFontWeightImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void SetEnableWebAVSessionImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void SetRunJavaScriptOnDocumentStartImpl(Ark_NativePointer node, + const Opt_Array_ScriptItem* value) + { + } + void SetRunJavaScriptOnDocumentEndImpl(Ark_NativePointer node, + const Opt_Array_ScriptItem* value) + { + } + void SetRunJavaScriptOnHeadEndImpl(Ark_NativePointer node, + const Opt_Array_ScriptItem* value) + { + } + void SetNativeEmbedOptionsImpl(Ark_NativePointer node, + const Opt_EmbedOptions* value) + { + } + void SetRegisterNativeEmbedRuleImpl(Ark_NativePointer node, + const Opt_String* tag, + const Opt_String* type) + { + } + void SetBindSelectionMenuImpl(Ark_NativePointer node, + const Opt_WebElementType* elementType, + const Opt_CustomNodeBuilder* content, + const Opt_WebResponseType* responseType, + const Opt_SelectionMenuOptionsExt* options) + { + } + } // WebAttributeModifier + namespace WindowSceneModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + return {}; + } + } // WindowSceneModifier + namespace WindowSceneInterfaceModifier { + void SetWindowSceneOptionsImpl(Ark_NativePointer node, + const Ark_Number* persistentId) + { + } + } // WindowSceneInterfaceModifier + namespace WindowSceneAttributeModifier { + void SetAttractionEffectImpl(Ark_NativePointer node, + const Opt_Position* destination, + const Opt_Number* fraction) + { + } + } // WindowSceneAttributeModifier + namespace WithThemeModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + return {}; + } + } // WithThemeModifier + namespace WithThemeInterfaceModifier { + void SetWithThemeOptionsImpl(Ark_NativePointer node, + const Ark_WithThemeOptions* options) + { + } + } // WithThemeInterfaceModifier + namespace XComponentModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + return {}; + } + } // XComponentModifier + namespace XComponentInterfaceModifier { + void SetXComponentOptionsImpl(Ark_NativePointer node, + const Ark_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters* params) + { + } + } // XComponentInterfaceModifier + namespace XComponentAttributeModifier { + void SetOnLoadImpl(Ark_NativePointer node, + const Opt_VoidCallback* value) + { + } + void SetOnDestroyImpl(Ark_NativePointer node, + const Opt_VoidCallback* value) + { + } + void SetEnableAnalyzerImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void SetEnableSecureImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void SetHdrBrightnessImpl(Ark_NativePointer node, + const Opt_Float64* value) + { + } + } // XComponentAttributeModifier + const GENERATED_ArkUIAlphabetIndexerModifier* GetAlphabetIndexerModifier() + { + static const GENERATED_ArkUIAlphabetIndexerModifier ArkUIAlphabetIndexerModifierImpl { + AlphabetIndexerModifier::ConstructImpl, + AlphabetIndexerInterfaceModifier::SetAlphabetIndexerOptionsImpl, + AlphabetIndexerAttributeModifier::SetColorImpl, + AlphabetIndexerAttributeModifier::SetSelectedColorImpl, + AlphabetIndexerAttributeModifier::SetPopupColorImpl, + AlphabetIndexerAttributeModifier::SetSelectedBackgroundColorImpl, + AlphabetIndexerAttributeModifier::SetPopupBackgroundImpl, + AlphabetIndexerAttributeModifier::SetPopupSelectedColorImpl, + AlphabetIndexerAttributeModifier::SetPopupUnselectedColorImpl, + AlphabetIndexerAttributeModifier::SetPopupItemBackgroundColorImpl, + AlphabetIndexerAttributeModifier::SetUsingPopupImpl, + AlphabetIndexerAttributeModifier::SetSelectedFontImpl, + AlphabetIndexerAttributeModifier::SetPopupFontImpl, + AlphabetIndexerAttributeModifier::SetPopupItemFontImpl, + AlphabetIndexerAttributeModifier::SetItemSizeImpl, + AlphabetIndexerAttributeModifier::SetFontImpl, + AlphabetIndexerAttributeModifier::SetOnSelectImpl, + AlphabetIndexerAttributeModifier::SetOnRequestPopupDataImpl, + AlphabetIndexerAttributeModifier::SetOnPopupSelectImpl, + AlphabetIndexerAttributeModifier::SetSelectedImpl, + AlphabetIndexerAttributeModifier::SetPopupPositionImpl, + AlphabetIndexerAttributeModifier::SetAutoCollapseImpl, + AlphabetIndexerAttributeModifier::SetPopupItemBorderRadiusImpl, + AlphabetIndexerAttributeModifier::SetItemBorderRadiusImpl, + AlphabetIndexerAttributeModifier::SetPopupBackgroundBlurStyleImpl, + AlphabetIndexerAttributeModifier::SetPopupTitleBackgroundImpl, + AlphabetIndexerAttributeModifier::SetEnableHapticFeedbackImpl, + AlphabetIndexerAttributeModifier::SetAlignStyleImpl, }; - return &ArkUISwiperModifierImpl; + return &ArkUIAlphabetIndexerModifierImpl; } - const GENERATED_ArkUISymbolGlyphModifier* GetSymbolGlyphModifier() + const GENERATED_ArkUIAnimatorModifier* GetAnimatorModifier() { - static const GENERATED_ArkUISymbolGlyphModifier ArkUISymbolGlyphModifierImpl { - SymbolGlyphModifier::ConstructImpl, - SymbolGlyphInterfaceModifier::SetSymbolGlyphOptionsImpl, - SymbolGlyphAttributeModifier::SetFontSizeImpl, - SymbolGlyphAttributeModifier::SetFontColorImpl, - SymbolGlyphAttributeModifier::SetFontWeightImpl, - SymbolGlyphAttributeModifier::SetEffectStrategyImpl, - SymbolGlyphAttributeModifier::SetRenderingStrategyImpl, - SymbolGlyphAttributeModifier::SetMinFontScaleImpl, - SymbolGlyphAttributeModifier::SetMaxFontScaleImpl, - SymbolGlyphAttributeModifier::SetSymbolEffectImpl, + static const GENERATED_ArkUIAnimatorModifier ArkUIAnimatorModifierImpl { + AnimatorModifier::ConstructImpl, + AnimatorInterfaceModifier::SetAnimatorOptionsImpl, + AnimatorAttributeModifier::SetStateImpl, + AnimatorAttributeModifier::SetDurationImpl, + AnimatorAttributeModifier::SetCurveImpl, + AnimatorAttributeModifier::SetDelayImpl, + AnimatorAttributeModifier::SetFillModeImpl, + AnimatorAttributeModifier::SetIterationsImpl, + AnimatorAttributeModifier::SetPlayModeImpl, + AnimatorAttributeModifier::SetMotionImpl, + AnimatorAttributeModifier::SetOnStartImpl, + AnimatorAttributeModifier::SetOnPauseImpl, + AnimatorAttributeModifier::SetOnRepeatImpl, + AnimatorAttributeModifier::SetOnCancelImpl, + AnimatorAttributeModifier::SetOnFinishImpl, + AnimatorAttributeModifier::SetOnFrameImpl, }; - return &ArkUISymbolGlyphModifierImpl; + return &ArkUIAnimatorModifierImpl; } - const GENERATED_ArkUISymbolSpanModifier* GetSymbolSpanModifier() + const GENERATED_ArkUIBadgeModifier* GetBadgeModifier() { - static const GENERATED_ArkUISymbolSpanModifier ArkUISymbolSpanModifierImpl { - SymbolSpanModifier::ConstructImpl, - SymbolSpanInterfaceModifier::SetSymbolSpanOptionsImpl, - SymbolSpanAttributeModifier::SetFontSizeImpl, - SymbolSpanAttributeModifier::SetFontColorImpl, - SymbolSpanAttributeModifier::SetFontWeightImpl, - SymbolSpanAttributeModifier::SetEffectStrategyImpl, - SymbolSpanAttributeModifier::SetRenderingStrategyImpl, + static const GENERATED_ArkUIBadgeModifier ArkUIBadgeModifierImpl { + BadgeModifier::ConstructImpl, + BadgeInterfaceModifier::SetBadgeOptions0Impl, + BadgeInterfaceModifier::SetBadgeOptions1Impl, }; - return &ArkUISymbolSpanModifierImpl; + return &ArkUIBadgeModifierImpl; } - const GENERATED_ArkUITabContentModifier* GetTabContentModifier() + const GENERATED_ArkUIBaseSpanModifier* GetBaseSpanModifier() { - static const GENERATED_ArkUITabContentModifier ArkUITabContentModifierImpl { - TabContentModifier::ConstructImpl, - TabContentInterfaceModifier::SetTabContentOptionsImpl, - TabContentAttributeModifier::SetTabBarImpl, - TabContentAttributeModifier::SetOnWillShowImpl, - TabContentAttributeModifier::SetOnWillHideImpl, + static const GENERATED_ArkUIBaseSpanModifier ArkUIBaseSpanModifierImpl { + BaseSpanModifier::ConstructImpl, + BaseSpanModifier::SetTextBackgroundStyleImpl, + BaseSpanModifier::SetBaselineOffsetImpl, }; - return &ArkUITabContentModifierImpl; + return &ArkUIBaseSpanModifierImpl; } - const GENERATED_ArkUITabsModifier* GetTabsModifier() + const GENERATED_ArkUIBlankModifier* GetBlankModifier() { - static const GENERATED_ArkUITabsModifier ArkUITabsModifierImpl { - TabsModifier::ConstructImpl, - TabsInterfaceModifier::SetTabsOptionsImpl, - TabsAttributeModifier::SetVerticalImpl, - TabsAttributeModifier::SetBarPositionImpl, - TabsAttributeModifier::SetScrollableImpl, - TabsAttributeModifier::SetBarWidthImpl, - TabsAttributeModifier::SetBarHeightImpl, - TabsAttributeModifier::SetAnimationDurationImpl, - TabsAttributeModifier::SetAnimationModeImpl, - TabsAttributeModifier::SetEdgeEffectImpl, - TabsAttributeModifier::SetOnChangeImpl, - TabsAttributeModifier::SetOnSelectedImpl, - TabsAttributeModifier::SetOnTabBarClickImpl, - TabsAttributeModifier::SetOnUnselectedImpl, - TabsAttributeModifier::SetOnAnimationStartImpl, - TabsAttributeModifier::SetOnAnimationEndImpl, - TabsAttributeModifier::SetOnGestureSwipeImpl, - TabsAttributeModifier::SetFadingEdgeImpl, - TabsAttributeModifier::SetDividerImpl, - TabsAttributeModifier::SetBarOverlapImpl, - TabsAttributeModifier::SetBarBackgroundColorImpl, - TabsAttributeModifier::SetBarGridAlignImpl, - TabsAttributeModifier::SetCustomContentTransitionImpl, - TabsAttributeModifier::SetBarBackgroundBlurStyle0Impl, - TabsAttributeModifier::SetPageFlipModeImpl, - TabsAttributeModifier::SetBarBackgroundEffectImpl, - TabsAttributeModifier::SetOnContentWillChangeImpl, - TabsAttributeModifier::SetBarModeImpl, - TabsAttributeModifier::SetBarBackgroundBlurStyle1Impl, - TabsAttributeModifier::SetCachedMaxCountImpl, + static const GENERATED_ArkUIBlankModifier ArkUIBlankModifierImpl { + BlankModifier::ConstructImpl, + BlankInterfaceModifier::SetBlankOptionsImpl, + BlankAttributeModifier::SetColorImpl, }; - return &ArkUITabsModifierImpl; + return &ArkUIBlankModifierImpl; } - const GENERATED_ArkUITextModifier* GetTextModifier() + const GENERATED_ArkUIButtonModifier* GetButtonModifier() { - static const GENERATED_ArkUITextModifier ArkUITextModifierImpl { - TextModifier::ConstructImpl, - TextInterfaceModifier::SetTextOptionsImpl, - TextAttributeModifier::SetFontColorImpl, - TextAttributeModifier::SetFontSizeImpl, - TextAttributeModifier::SetMinFontSizeImpl, - TextAttributeModifier::SetMaxFontSizeImpl, - TextAttributeModifier::SetMinFontScaleImpl, - TextAttributeModifier::SetMaxFontScaleImpl, - TextAttributeModifier::SetFontStyleImpl, - TextAttributeModifier::SetLineSpacingImpl, - TextAttributeModifier::SetTextAlignImpl, - TextAttributeModifier::SetLineHeightImpl, - TextAttributeModifier::SetTextOverflowImpl, - TextAttributeModifier::SetFontFamilyImpl, - TextAttributeModifier::SetMaxLinesImpl, - TextAttributeModifier::SetDecorationImpl, - TextAttributeModifier::SetLetterSpacingImpl, - TextAttributeModifier::SetTextCaseImpl, - TextAttributeModifier::SetBaselineOffsetImpl, - TextAttributeModifier::SetCopyOptionImpl, - TextAttributeModifier::SetDraggableImpl, - TextAttributeModifier::SetTextShadowImpl, - TextAttributeModifier::SetHeightAdaptivePolicyImpl, - TextAttributeModifier::SetTextIndentImpl, - TextAttributeModifier::SetWordBreakImpl, - TextAttributeModifier::SetLineBreakStrategyImpl, - TextAttributeModifier::SetOnCopyImpl, - TextAttributeModifier::SetCaretColorImpl, - TextAttributeModifier::SetSelectedBackgroundColorImpl, - TextAttributeModifier::SetEllipsisModeImpl, - TextAttributeModifier::SetEnableDataDetectorImpl, - TextAttributeModifier::SetDataDetectorConfigImpl, - TextAttributeModifier::SetOnTextSelectionChangeImpl, - TextAttributeModifier::SetFontFeatureImpl, - TextAttributeModifier::SetMarqueeOptionsImpl, - TextAttributeModifier::SetOnMarqueeStateChangeImpl, - TextAttributeModifier::SetPrivacySensitiveImpl, - TextAttributeModifier::SetTextSelectableImpl, - TextAttributeModifier::SetEditMenuOptionsImpl, - TextAttributeModifier::SetHalfLeadingImpl, - TextAttributeModifier::SetEnableHapticFeedbackImpl, - TextAttributeModifier::SetFontImpl, - TextAttributeModifier::SetFontWeightImpl, - TextAttributeModifier::SetSelectionImpl, - TextAttributeModifier::SetBindSelectionMenuImpl, + static const GENERATED_ArkUIButtonModifier ArkUIButtonModifierImpl { + ButtonModifier::ConstructImpl, + ButtonInterfaceModifier::SetButtonOptionsImpl, + ButtonAttributeModifier::SetTypeImpl, + ButtonAttributeModifier::SetStateEffectImpl, + ButtonAttributeModifier::SetButtonStyleImpl, + ButtonAttributeModifier::SetControlSizeImpl, + ButtonAttributeModifier::SetRoleImpl, + ButtonAttributeModifier::SetFontColorImpl, + ButtonAttributeModifier::SetFontSizeImpl, + ButtonAttributeModifier::SetFontWeightImpl, + ButtonAttributeModifier::SetFontStyleImpl, + ButtonAttributeModifier::SetFontFamilyImpl, + ButtonAttributeModifier::SetLabelStyleImpl, + ButtonAttributeModifier::SetMinFontScaleImpl, + ButtonAttributeModifier::SetMaxFontScaleImpl, }; - return &ArkUITextModifierImpl; + return &ArkUIButtonModifierImpl; } - const GENERATED_ArkUITextAreaModifier* GetTextAreaModifier() + const GENERATED_ArkUICalendarPickerModifier* GetCalendarPickerModifier() { - static const GENERATED_ArkUITextAreaModifier ArkUITextAreaModifierImpl { - TextAreaModifier::ConstructImpl, - TextAreaInterfaceModifier::SetTextAreaOptionsImpl, - TextAreaAttributeModifier::SetPlaceholderColorImpl, - TextAreaAttributeModifier::SetPlaceholderFontImpl, - TextAreaAttributeModifier::SetEnterKeyTypeImpl, - TextAreaAttributeModifier::SetTextAlignImpl, - TextAreaAttributeModifier::SetCaretColorImpl, - TextAreaAttributeModifier::SetFontColorImpl, - TextAreaAttributeModifier::SetFontSizeImpl, - TextAreaAttributeModifier::SetFontStyleImpl, - TextAreaAttributeModifier::SetFontWeightImpl, - TextAreaAttributeModifier::SetFontFamilyImpl, - TextAreaAttributeModifier::SetTextOverflowImpl, - TextAreaAttributeModifier::SetTextIndentImpl, - TextAreaAttributeModifier::SetCaretStyleImpl, - TextAreaAttributeModifier::SetSelectedBackgroundColorImpl, - TextAreaAttributeModifier::SetOnSubmitImpl, - TextAreaAttributeModifier::SetOnChangeImpl, - TextAreaAttributeModifier::SetOnTextSelectionChangeImpl, - TextAreaAttributeModifier::SetOnContentScrollImpl, - TextAreaAttributeModifier::SetOnEditChangeImpl, - TextAreaAttributeModifier::SetOnCopyImpl, - TextAreaAttributeModifier::SetOnCutImpl, - TextAreaAttributeModifier::SetOnPasteImpl, - TextAreaAttributeModifier::SetCopyOptionImpl, - TextAreaAttributeModifier::SetEnableKeyboardOnFocusImpl, - TextAreaAttributeModifier::SetMaxLengthImpl, - TextAreaAttributeModifier::SetStyleImpl, - TextAreaAttributeModifier::SetBarStateImpl, - TextAreaAttributeModifier::SetSelectionMenuHiddenImpl, - TextAreaAttributeModifier::SetMinFontSizeImpl, - TextAreaAttributeModifier::SetMaxFontSizeImpl, - TextAreaAttributeModifier::SetMinFontScaleImpl, - TextAreaAttributeModifier::SetMaxFontScaleImpl, - TextAreaAttributeModifier::SetHeightAdaptivePolicyImpl, - TextAreaAttributeModifier::SetMaxLinesImpl, - TextAreaAttributeModifier::SetWordBreakImpl, - TextAreaAttributeModifier::SetLineBreakStrategyImpl, - TextAreaAttributeModifier::SetDecorationImpl, - TextAreaAttributeModifier::SetLetterSpacingImpl, - TextAreaAttributeModifier::SetLineSpacingImpl, - TextAreaAttributeModifier::SetLineHeightImpl, - TextAreaAttributeModifier::SetTypeImpl, - TextAreaAttributeModifier::SetEnableAutoFillImpl, - TextAreaAttributeModifier::SetContentTypeImpl, - TextAreaAttributeModifier::SetFontFeatureImpl, - TextAreaAttributeModifier::SetOnWillInsertImpl, - TextAreaAttributeModifier::SetOnDidInsertImpl, - TextAreaAttributeModifier::SetOnWillDeleteImpl, - TextAreaAttributeModifier::SetOnDidDeleteImpl, - TextAreaAttributeModifier::SetEditMenuOptionsImpl, - TextAreaAttributeModifier::SetEnablePreviewTextImpl, - TextAreaAttributeModifier::SetEnableHapticFeedbackImpl, - TextAreaAttributeModifier::SetAutoCapitalizationModeImpl, - TextAreaAttributeModifier::SetHalfLeadingImpl, - TextAreaAttributeModifier::SetEllipsisModeImpl, - TextAreaAttributeModifier::SetStopBackPressImpl, - TextAreaAttributeModifier::SetOnWillChangeImpl, - TextAreaAttributeModifier::SetKeyboardAppearanceImpl, - TextAreaAttributeModifier::SetInputFilterImpl, - TextAreaAttributeModifier::SetShowCounterImpl, - TextAreaAttributeModifier::SetCustomKeyboardImpl, + static const GENERATED_ArkUICalendarPickerModifier ArkUICalendarPickerModifierImpl { + CalendarPickerModifier::ConstructImpl, + CalendarPickerInterfaceModifier::SetCalendarPickerOptionsImpl, + CalendarPickerAttributeModifier::SetTextStyleImpl, + CalendarPickerAttributeModifier::SetOnChangeImpl, + CalendarPickerAttributeModifier::SetMarkTodayImpl, + CalendarPickerAttributeModifier::SetEdgeAlignImpl, }; - return &ArkUITextAreaModifierImpl; + return &ArkUICalendarPickerModifierImpl; } - const GENERATED_ArkUITextClockModifier* GetTextClockModifier() + const GENERATED_ArkUICanvasModifier* GetCanvasModifier() { - static const GENERATED_ArkUITextClockModifier ArkUITextClockModifierImpl { - TextClockModifier::ConstructImpl, - TextClockInterfaceModifier::SetTextClockOptionsImpl, - TextClockAttributeModifier::SetFormatImpl, - TextClockAttributeModifier::SetOnDateChangeImpl, - TextClockAttributeModifier::SetFontColorImpl, - TextClockAttributeModifier::SetFontSizeImpl, - TextClockAttributeModifier::SetFontStyleImpl, - TextClockAttributeModifier::SetFontWeightImpl, - TextClockAttributeModifier::SetFontFamilyImpl, - TextClockAttributeModifier::SetTextShadowImpl, - TextClockAttributeModifier::SetFontFeatureImpl, - TextClockAttributeModifier::SetDateTimeOptionsImpl, + static const GENERATED_ArkUICanvasModifier ArkUICanvasModifierImpl { + CanvasModifier::ConstructImpl, + CanvasInterfaceModifier::SetCanvasOptionsImpl, + CanvasAttributeModifier::SetOnReadyImpl, + CanvasAttributeModifier::SetEnableAnalyzerImpl, }; - return &ArkUITextClockModifierImpl; + return &ArkUICanvasModifierImpl; } - const GENERATED_ArkUITextInputModifier* GetTextInputModifier() + const GENERATED_ArkUICheckboxModifier* GetCheckboxModifier() { - static const GENERATED_ArkUITextInputModifier ArkUITextInputModifierImpl { - TextInputModifier::ConstructImpl, - TextInputInterfaceModifier::SetTextInputOptionsImpl, - TextInputAttributeModifier::SetTypeImpl, - TextInputAttributeModifier::SetContentTypeImpl, - TextInputAttributeModifier::SetPlaceholderColorImpl, - TextInputAttributeModifier::SetTextOverflowImpl, - TextInputAttributeModifier::SetTextIndentImpl, - TextInputAttributeModifier::SetPlaceholderFontImpl, - TextInputAttributeModifier::SetEnterKeyTypeImpl, - TextInputAttributeModifier::SetCaretColorImpl, - TextInputAttributeModifier::SetOnEditChangeImpl, - TextInputAttributeModifier::SetOnSubmitImpl, - TextInputAttributeModifier::SetOnChangeImpl, - TextInputAttributeModifier::SetOnTextSelectionChangeImpl, - TextInputAttributeModifier::SetOnContentScrollImpl, - TextInputAttributeModifier::SetMaxLengthImpl, - TextInputAttributeModifier::SetFontColorImpl, - TextInputAttributeModifier::SetFontSizeImpl, - TextInputAttributeModifier::SetFontStyleImpl, - TextInputAttributeModifier::SetFontWeightImpl, - TextInputAttributeModifier::SetFontFamilyImpl, - TextInputAttributeModifier::SetOnCopyImpl, - TextInputAttributeModifier::SetOnCutImpl, - TextInputAttributeModifier::SetOnPasteImpl, - TextInputAttributeModifier::SetCopyOptionImpl, - TextInputAttributeModifier::SetShowPasswordIconImpl, - TextInputAttributeModifier::SetTextAlignImpl, - TextInputAttributeModifier::SetStyleImpl, - TextInputAttributeModifier::SetCaretStyleImpl, - TextInputAttributeModifier::SetSelectedBackgroundColorImpl, - TextInputAttributeModifier::SetCaretPositionImpl, - TextInputAttributeModifier::SetEnableKeyboardOnFocusImpl, - TextInputAttributeModifier::SetPasswordIconImpl, - TextInputAttributeModifier::SetShowErrorImpl, - TextInputAttributeModifier::SetShowUnitImpl, - TextInputAttributeModifier::SetShowUnderlineImpl, - TextInputAttributeModifier::SetUnderlineColorImpl, - TextInputAttributeModifier::SetSelectionMenuHiddenImpl, - TextInputAttributeModifier::SetBarStateImpl, - TextInputAttributeModifier::SetMaxLinesImpl, - TextInputAttributeModifier::SetWordBreakImpl, - TextInputAttributeModifier::SetLineBreakStrategyImpl, - TextInputAttributeModifier::SetCancelButtonImpl, - TextInputAttributeModifier::SetSelectAllImpl, - TextInputAttributeModifier::SetMinFontSizeImpl, - TextInputAttributeModifier::SetMaxFontSizeImpl, - TextInputAttributeModifier::SetMinFontScaleImpl, - TextInputAttributeModifier::SetMaxFontScaleImpl, - TextInputAttributeModifier::SetHeightAdaptivePolicyImpl, - TextInputAttributeModifier::SetEnableAutoFillImpl, - TextInputAttributeModifier::SetDecorationImpl, - TextInputAttributeModifier::SetLetterSpacingImpl, - TextInputAttributeModifier::SetLineHeightImpl, - TextInputAttributeModifier::SetPasswordRulesImpl, - TextInputAttributeModifier::SetFontFeatureImpl, - TextInputAttributeModifier::SetShowPasswordImpl, - TextInputAttributeModifier::SetOnSecurityStateChangeImpl, - TextInputAttributeModifier::SetOnWillInsertImpl, - TextInputAttributeModifier::SetOnDidInsertImpl, - TextInputAttributeModifier::SetOnWillDeleteImpl, - TextInputAttributeModifier::SetOnDidDeleteImpl, - TextInputAttributeModifier::SetEditMenuOptionsImpl, - TextInputAttributeModifier::SetEnablePreviewTextImpl, - TextInputAttributeModifier::SetEnableHapticFeedbackImpl, - TextInputAttributeModifier::SetAutoCapitalizationModeImpl, - TextInputAttributeModifier::SetHalfLeadingImpl, - TextInputAttributeModifier::SetEllipsisModeImpl, - TextInputAttributeModifier::SetStopBackPressImpl, - TextInputAttributeModifier::SetOnWillChangeImpl, - TextInputAttributeModifier::SetKeyboardAppearanceImpl, - TextInputAttributeModifier::SetInputFilterImpl, - TextInputAttributeModifier::SetCustomKeyboardImpl, - TextInputAttributeModifier::SetShowCounterImpl, + static const GENERATED_ArkUICheckboxModifier ArkUICheckboxModifierImpl { + CheckboxModifier::ConstructImpl, + CheckboxInterfaceModifier::SetCheckboxOptionsImpl, + CheckboxAttributeModifier::SetSelectImpl, + CheckboxAttributeModifier::SetSelectedColorImpl, + CheckboxAttributeModifier::SetShapeImpl, + CheckboxAttributeModifier::SetUnselectedColorImpl, + CheckboxAttributeModifier::SetMarkImpl, + CheckboxAttributeModifier::SetOnChangeImpl, }; - return &ArkUITextInputModifierImpl; + return &ArkUICheckboxModifierImpl; } - const GENERATED_ArkUITextPickerModifier* GetTextPickerModifier() + const GENERATED_ArkUICheckboxGroupModifier* GetCheckboxGroupModifier() { - static const GENERATED_ArkUITextPickerModifier ArkUITextPickerModifierImpl { - TextPickerModifier::ConstructImpl, - TextPickerInterfaceModifier::SetTextPickerOptionsImpl, - TextPickerAttributeModifier::SetDefaultPickerItemHeightImpl, - TextPickerAttributeModifier::SetCanLoopImpl, - TextPickerAttributeModifier::SetDisappearTextStyleImpl, - TextPickerAttributeModifier::SetTextStyleImpl, - TextPickerAttributeModifier::SetSelectedTextStyleImpl, - TextPickerAttributeModifier::SetDisableTextStyleAnimationImpl, - TextPickerAttributeModifier::SetDefaultTextStyleImpl, - TextPickerAttributeModifier::SetOnChangeImpl, - TextPickerAttributeModifier::SetOnScrollStopImpl, - TextPickerAttributeModifier::SetOnEnterSelectedAreaImpl, - TextPickerAttributeModifier::SetSelectedIndexImpl, - TextPickerAttributeModifier::SetDividerImpl, - TextPickerAttributeModifier::SetGradientHeightImpl, - TextPickerAttributeModifier::SetEnableHapticFeedbackImpl, - TextPickerAttributeModifier::SetDigitalCrownSensitivityImpl, + static const GENERATED_ArkUICheckboxGroupModifier ArkUICheckboxGroupModifierImpl { + CheckboxGroupModifier::ConstructImpl, + CheckboxGroupInterfaceModifier::SetCheckboxGroupOptionsImpl, + CheckboxGroupAttributeModifier::SetSelectAllImpl, + CheckboxGroupAttributeModifier::SetSelectedColorImpl, + CheckboxGroupAttributeModifier::SetUnselectedColorImpl, + CheckboxGroupAttributeModifier::SetMarkImpl, + CheckboxGroupAttributeModifier::SetOnChangeImpl, + CheckboxGroupAttributeModifier::SetCheckboxShapeImpl, }; - return &ArkUITextPickerModifierImpl; + return &ArkUICheckboxGroupModifierImpl; } - const GENERATED_ArkUITextTimerModifier* GetTextTimerModifier() + const GENERATED_ArkUICircleModifier* GetCircleModifier() { - static const GENERATED_ArkUITextTimerModifier ArkUITextTimerModifierImpl { - TextTimerModifier::ConstructImpl, - TextTimerInterfaceModifier::SetTextTimerOptionsImpl, - TextTimerAttributeModifier::SetFormatImpl, - TextTimerAttributeModifier::SetFontColorImpl, - TextTimerAttributeModifier::SetFontSizeImpl, - TextTimerAttributeModifier::SetFontStyleImpl, - TextTimerAttributeModifier::SetFontWeightImpl, - TextTimerAttributeModifier::SetFontFamilyImpl, - TextTimerAttributeModifier::SetOnTimerImpl, - TextTimerAttributeModifier::SetTextShadowImpl, + static const GENERATED_ArkUICircleModifier ArkUICircleModifierImpl { + CircleModifier::ConstructImpl, + CircleInterfaceModifier::SetCircleOptionsImpl, }; - return &ArkUITextTimerModifierImpl; + return &ArkUICircleModifierImpl; + } + + const GENERATED_ArkUIColumnModifier* GetColumnModifier() + { + static const GENERATED_ArkUIColumnModifier ArkUIColumnModifierImpl { + ColumnModifier::ConstructImpl, + ColumnInterfaceModifier::SetColumnOptionsImpl, + ColumnAttributeModifier::SetAlignItemsImpl, + ColumnAttributeModifier::SetJustifyContentImpl, + ColumnAttributeModifier::SetReverseImpl, + }; + return &ArkUIColumnModifierImpl; + } + + const GENERATED_ArkUIColumnSplitModifier* GetColumnSplitModifier() + { + static const GENERATED_ArkUIColumnSplitModifier ArkUIColumnSplitModifierImpl { + ColumnSplitModifier::ConstructImpl, + ColumnSplitInterfaceModifier::SetColumnSplitOptionsImpl, + ColumnSplitAttributeModifier::SetResizeableImpl, + ColumnSplitAttributeModifier::SetDividerImpl, + }; + return &ArkUIColumnSplitModifierImpl; + } + + const GENERATED_ArkUICommonMethodModifier* GetCommonMethodModifier() + { + static const GENERATED_ArkUICommonMethodModifier ArkUICommonMethodModifierImpl { + CommonMethodModifier::ConstructImpl, + CommonMethodModifier::SetWidthImpl, + CommonMethodModifier::SetHeightImpl, + CommonMethodModifier::SetDrawModifierImpl, + CommonMethodModifier::SetResponseRegionImpl, + CommonMethodModifier::SetMouseResponseRegionImpl, + CommonMethodModifier::SetSizeImpl, + CommonMethodModifier::SetConstraintSizeImpl, + CommonMethodModifier::SetHitTestBehaviorImpl, + CommonMethodModifier::SetOnChildTouchTestImpl, + CommonMethodModifier::SetLayoutWeightImpl, + CommonMethodModifier::SetChainWeightImpl, + CommonMethodModifier::SetPaddingImpl, + CommonMethodModifier::SetSafeAreaPaddingImpl, + CommonMethodModifier::SetMarginImpl, + CommonMethodModifier::SetBackgroundColorImpl, + CommonMethodModifier::SetPixelRoundImpl, + CommonMethodModifier::SetBackgroundImageSizeImpl, + CommonMethodModifier::SetBackgroundImagePositionImpl, + CommonMethodModifier::SetBackgroundEffect0Impl, + CommonMethodModifier::SetBackgroundImageResizableImpl, + CommonMethodModifier::SetForegroundEffectImpl, + CommonMethodModifier::SetVisualEffectImpl, + CommonMethodModifier::SetBackgroundFilterImpl, + CommonMethodModifier::SetForegroundFilterImpl, + CommonMethodModifier::SetCompositingFilterImpl, + CommonMethodModifier::SetOpacityImpl, + CommonMethodModifier::SetBorderImpl, + CommonMethodModifier::SetBorderStyleImpl, + CommonMethodModifier::SetBorderWidthImpl, + CommonMethodModifier::SetBorderColorImpl, + CommonMethodModifier::SetBorderRadiusImpl, + CommonMethodModifier::SetBorderImageImpl, + CommonMethodModifier::SetOutlineImpl, + CommonMethodModifier::SetOutlineStyleImpl, + CommonMethodModifier::SetOutlineWidthImpl, + CommonMethodModifier::SetOutlineColorImpl, + CommonMethodModifier::SetOutlineRadiusImpl, + CommonMethodModifier::SetForegroundColorImpl, + CommonMethodModifier::SetOnClick0Impl, + CommonMethodModifier::SetOnHoverImpl, + CommonMethodModifier::SetOnHoverMoveImpl, + CommonMethodModifier::SetOnAccessibilityHoverImpl, + CommonMethodModifier::SetHoverEffectImpl, + CommonMethodModifier::SetOnMouseImpl, + CommonMethodModifier::SetOnTouchImpl, + CommonMethodModifier::SetOnKeyEventImpl, + CommonMethodModifier::SetOnDigitalCrownImpl, + CommonMethodModifier::SetOnKeyPreImeImpl, + CommonMethodModifier::SetOnKeyEventDispatchImpl, + CommonMethodModifier::SetOnFocusAxisEventImpl, + CommonMethodModifier::SetOnAxisEventImpl, + CommonMethodModifier::SetFocusableImpl, + CommonMethodModifier::SetNextFocusImpl, + CommonMethodModifier::SetTabStopImpl, + CommonMethodModifier::SetOnFocusImpl, + CommonMethodModifier::SetOnBlurImpl, + CommonMethodModifier::SetTabIndexImpl, + CommonMethodModifier::SetDefaultFocusImpl, + CommonMethodModifier::SetGroupDefaultFocusImpl, + CommonMethodModifier::SetFocusOnTouchImpl, + CommonMethodModifier::SetFocusBoxImpl, + CommonMethodModifier::SetAnimationImpl, + CommonMethodModifier::SetTransition0Impl, + CommonMethodModifier::SetMotionBlurImpl, + CommonMethodModifier::SetBrightnessImpl, + CommonMethodModifier::SetContrastImpl, + CommonMethodModifier::SetGrayscaleImpl, + CommonMethodModifier::SetColorBlendImpl, + CommonMethodModifier::SetSaturateImpl, + CommonMethodModifier::SetSepiaImpl, + CommonMethodModifier::SetInvertImpl, + CommonMethodModifier::SetHueRotateImpl, + CommonMethodModifier::SetUseShadowBatchingImpl, + CommonMethodModifier::SetUseEffect0Impl, + CommonMethodModifier::SetRenderGroupImpl, + CommonMethodModifier::SetFreezeImpl, + CommonMethodModifier::SetTranslateImpl, + CommonMethodModifier::SetScaleImpl, + CommonMethodModifier::SetRotateImpl, + CommonMethodModifier::SetTransformImpl, + CommonMethodModifier::SetOnAppearImpl, + CommonMethodModifier::SetOnDisAppearImpl, + CommonMethodModifier::SetOnAttachImpl, + CommonMethodModifier::SetOnDetachImpl, + CommonMethodModifier::SetOnAreaChangeImpl, + CommonMethodModifier::SetVisibilityImpl, + CommonMethodModifier::SetFlexGrowImpl, + CommonMethodModifier::SetFlexShrinkImpl, + CommonMethodModifier::SetFlexBasisImpl, + CommonMethodModifier::SetAlignSelfImpl, + CommonMethodModifier::SetDisplayPriorityImpl, + CommonMethodModifier::SetZIndexImpl, + CommonMethodModifier::SetDirectionImpl, + CommonMethodModifier::SetAlignImpl, + CommonMethodModifier::SetPositionImpl, + CommonMethodModifier::SetMarkAnchorImpl, + CommonMethodModifier::SetOffsetImpl, + CommonMethodModifier::SetEnabledImpl, + CommonMethodModifier::SetAlignRulesWithAlignRuleOptionTypedValueImpl, + CommonMethodModifier::SetAlignRulesWithLocalizedAlignRuleOptionsTypedValueImpl, + CommonMethodModifier::SetAspectRatioImpl, + CommonMethodModifier::SetClickEffectImpl, + CommonMethodModifier::SetOnDragStartImpl, + CommonMethodModifier::SetOnDragEnterImpl, + CommonMethodModifier::SetOnDragMoveImpl, + CommonMethodModifier::SetOnDragLeaveImpl, + CommonMethodModifier::SetOnDrop0Impl, + CommonMethodModifier::SetOnDragEndImpl, + CommonMethodModifier::SetAllowDropImpl, + CommonMethodModifier::SetDraggableImpl, + CommonMethodModifier::SetDragPreview0Impl, + CommonMethodModifier::SetOnPreDragImpl, + CommonMethodModifier::SetLinearGradientImpl, + CommonMethodModifier::SetSweepGradientImpl, + CommonMethodModifier::SetRadialGradientImpl, + CommonMethodModifier::SetMotionPathImpl, + CommonMethodModifier::SetShadowImpl, + CommonMethodModifier::SetClipImpl, + CommonMethodModifier::SetClipShapeImpl, + CommonMethodModifier::SetMaskImpl, + CommonMethodModifier::SetMaskShapeImpl, + CommonMethodModifier::SetKeyImpl, + CommonMethodModifier::SetIdImpl, + CommonMethodModifier::SetGeometryTransition0Impl, + CommonMethodModifier::SetRestoreIdImpl, + CommonMethodModifier::SetSphericalEffectImpl, + CommonMethodModifier::SetLightUpEffectImpl, + CommonMethodModifier::SetPixelStretchEffectImpl, + CommonMethodModifier::SetAccessibilityGroupWithValueImpl, + CommonMethodModifier::SetAccessibilityTextOfStringTypeImpl, + CommonMethodModifier::SetAccessibilityNextFocusIdImpl, + CommonMethodModifier::SetAccessibilityDefaultFocusImpl, + CommonMethodModifier::SetAccessibilityUseSamePageImpl, + CommonMethodModifier::SetAccessibilityScrollTriggerableImpl, + CommonMethodModifier::SetAccessibilityTextOfResourceTypeImpl, + CommonMethodModifier::SetAccessibilityRoleImpl, + CommonMethodModifier::SetOnAccessibilityFocusImpl, + CommonMethodModifier::SetAccessibilityTextHintImpl, + CommonMethodModifier::SetAccessibilityDescriptionOfStringTypeImpl, + CommonMethodModifier::SetAccessibilityDescriptionOfResourceTypeImpl, + CommonMethodModifier::SetAccessibilityLevelImpl, + CommonMethodModifier::SetAccessibilityVirtualNodeImpl, + CommonMethodModifier::SetAccessibilityCheckedImpl, + CommonMethodModifier::SetAccessibilitySelectedImpl, + CommonMethodModifier::SetObscuredImpl, + CommonMethodModifier::SetReuseIdImpl, + CommonMethodModifier::SetReuseImpl, + CommonMethodModifier::SetRenderFitImpl, + CommonMethodModifier::SetBackgroundBrightnessImpl, + CommonMethodModifier::SetOnGestureJudgeBeginImpl, + CommonMethodModifier::SetOnGestureRecognizerJudgeBegin0Impl, + CommonMethodModifier::SetShouldBuiltInRecognizerParallelWithImpl, + CommonMethodModifier::SetMonopolizeEventsImpl, + CommonMethodModifier::SetOnTouchInterceptImpl, + CommonMethodModifier::SetOnSizeChangeImpl, + CommonMethodModifier::SetAccessibilityFocusDrawLevelImpl, + CommonMethodModifier::SetCustomPropertyImpl, + CommonMethodModifier::SetExpandSafeAreaImpl, + CommonMethodModifier::SetBackgroundImpl, + CommonMethodModifier::SetBackgroundImage0Impl, + CommonMethodModifier::SetBackgroundImage1Impl, + CommonMethodModifier::SetBackgroundBlurStyleImpl, + CommonMethodModifier::SetBackgroundEffect1Impl, + CommonMethodModifier::SetForegroundBlurStyleImpl, + CommonMethodModifier::SetOnClick1Impl, + CommonMethodModifier::SetFocusScopeIdImpl, + CommonMethodModifier::SetFocusScopePriorityImpl, + CommonMethodModifier::SetTransition1Impl, + CommonMethodModifier::SetGestureImpl, + CommonMethodModifier::SetPriorityGestureImpl, + CommonMethodModifier::SetParallelGestureImpl, + CommonMethodModifier::SetBlurImpl, + CommonMethodModifier::SetLinearGradientBlurImpl, + CommonMethodModifier::SetSystemBarEffectImpl, + CommonMethodModifier::SetUseEffect1Impl, + CommonMethodModifier::SetBackdropBlurImpl, + CommonMethodModifier::SetSharedTransitionImpl, + CommonMethodModifier::SetChainModeImpl, + CommonMethodModifier::SetOnDrop1Impl, + CommonMethodModifier::SetDragPreview1Impl, + CommonMethodModifier::SetDragPreviewOptionsImpl, + CommonMethodModifier::SetOverlayImpl, + CommonMethodModifier::SetBlendModeImpl, + CommonMethodModifier::SetAdvancedBlendModeImpl, + CommonMethodModifier::SetGeometryTransition1Impl, + CommonMethodModifier::SetBindTipsImpl, + CommonMethodModifier::SetBindPopupImpl, + CommonMethodModifier::SetBindMenu0Impl, + CommonMethodModifier::SetBindMenu1Impl, + CommonMethodModifier::SetBindContextMenu0Impl, + CommonMethodModifier::SetBindContextMenu1Impl, + CommonMethodModifier::SetBindContentCover0Impl, + CommonMethodModifier::SetBindContentCover1Impl, + CommonMethodModifier::SetBindSheetImpl, + CommonMethodModifier::SetOnVisibleAreaChangeImpl, + CommonMethodModifier::SetOnVisibleAreaApproximateChangeImpl, + CommonMethodModifier::SetKeyboardShortcutImpl, + CommonMethodModifier::SetAccessibilityGroupWithConfigImpl, + CommonMethodModifier::SetOnGestureRecognizerJudgeBegin1Impl, + }; + return &ArkUICommonMethodModifierImpl; + } + + const GENERATED_ArkUICommonShapeMethodModifier* GetCommonShapeMethodModifier() + { + static const GENERATED_ArkUICommonShapeMethodModifier ArkUICommonShapeMethodModifierImpl { + CommonShapeMethodModifier::ConstructImpl, + CommonShapeMethodModifier::SetStrokeImpl, + CommonShapeMethodModifier::SetFillImpl, + CommonShapeMethodModifier::SetStrokeDashOffsetImpl, + CommonShapeMethodModifier::SetStrokeLineCapImpl, + CommonShapeMethodModifier::SetStrokeLineJoinImpl, + CommonShapeMethodModifier::SetStrokeMiterLimitImpl, + CommonShapeMethodModifier::SetStrokeOpacityImpl, + CommonShapeMethodModifier::SetFillOpacityImpl, + CommonShapeMethodModifier::SetStrokeWidthImpl, + CommonShapeMethodModifier::SetAntiAliasImpl, + CommonShapeMethodModifier::SetStrokeDashArrayImpl, + }; + return &ArkUICommonShapeMethodModifierImpl; + } + + const GENERATED_ArkUIComponentRootModifier* GetComponentRootModifier() + { + static const GENERATED_ArkUIComponentRootModifier ArkUIComponentRootModifierImpl { + ComponentRootModifier::ConstructImpl, + }; + return &ArkUIComponentRootModifierImpl; + } + + const GENERATED_ArkUIContainerSpanModifier* GetContainerSpanModifier() + { + static const GENERATED_ArkUIContainerSpanModifier ArkUIContainerSpanModifierImpl { + ContainerSpanModifier::ConstructImpl, + ContainerSpanInterfaceModifier::SetContainerSpanOptionsImpl, + ContainerSpanAttributeModifier::SetTextBackgroundStyleImpl, + }; + return &ArkUIContainerSpanModifierImpl; + } + + const GENERATED_ArkUICounterModifier* GetCounterModifier() + { + static const GENERATED_ArkUICounterModifier ArkUICounterModifierImpl { + CounterModifier::ConstructImpl, + CounterInterfaceModifier::SetCounterOptionsImpl, + CounterAttributeModifier::SetOnIncImpl, + CounterAttributeModifier::SetOnDecImpl, + CounterAttributeModifier::SetEnableDecImpl, + CounterAttributeModifier::SetEnableIncImpl, + }; + return &ArkUICounterModifierImpl; + } + + const GENERATED_ArkUICustomBuilderRootModifier* GetCustomBuilderRootModifier() + { + static const GENERATED_ArkUICustomBuilderRootModifier ArkUICustomBuilderRootModifierImpl { + CustomBuilderRootModifier::ConstructImpl, + }; + return &ArkUICustomBuilderRootModifierImpl; + } + + const GENERATED_ArkUICustomLayoutRootModifier* GetCustomLayoutRootModifier() + { + static const GENERATED_ArkUICustomLayoutRootModifier ArkUICustomLayoutRootModifierImpl { + CustomLayoutRootModifier::ConstructImpl, + CustomLayoutRootModifier::SetSubscribeOnMeasureSizeImpl, + CustomLayoutRootModifier::SetSubscribeOnPlaceChildrenImpl, + }; + return &ArkUICustomLayoutRootModifierImpl; + } + + const GENERATED_ArkUIDataPanelModifier* GetDataPanelModifier() + { + static const GENERATED_ArkUIDataPanelModifier ArkUIDataPanelModifierImpl { + DataPanelModifier::ConstructImpl, + DataPanelInterfaceModifier::SetDataPanelOptionsImpl, + DataPanelAttributeModifier::SetCloseEffectImpl, + DataPanelAttributeModifier::SetValueColorsImpl, + DataPanelAttributeModifier::SetTrackBackgroundColorImpl, + DataPanelAttributeModifier::SetStrokeWidthImpl, + DataPanelAttributeModifier::SetTrackShadowImpl, + }; + return &ArkUIDataPanelModifierImpl; + } + + const GENERATED_ArkUIDatePickerModifier* GetDatePickerModifier() + { + static const GENERATED_ArkUIDatePickerModifier ArkUIDatePickerModifierImpl { + DatePickerModifier::ConstructImpl, + DatePickerInterfaceModifier::SetDatePickerOptionsImpl, + DatePickerAttributeModifier::SetLunarImpl, + DatePickerAttributeModifier::SetDisappearTextStyleImpl, + DatePickerAttributeModifier::SetTextStyleImpl, + DatePickerAttributeModifier::SetSelectedTextStyleImpl, + DatePickerAttributeModifier::SetOnDateChangeImpl, + DatePickerAttributeModifier::SetDigitalCrownSensitivityImpl, + DatePickerAttributeModifier::SetEnableHapticFeedbackImpl, + }; + return &ArkUIDatePickerModifierImpl; + } + + const GENERATED_ArkUIDividerModifier* GetDividerModifier() + { + static const GENERATED_ArkUIDividerModifier ArkUIDividerModifierImpl { + DividerModifier::ConstructImpl, + DividerInterfaceModifier::SetDividerOptionsImpl, + DividerAttributeModifier::SetVerticalImpl, + DividerAttributeModifier::SetColorImpl, + DividerAttributeModifier::SetStrokeWidthImpl, + DividerAttributeModifier::SetLineCapImpl, + }; + return &ArkUIDividerModifierImpl; + } + + const GENERATED_ArkUIEffectComponentModifier* GetEffectComponentModifier() + { + static const GENERATED_ArkUIEffectComponentModifier ArkUIEffectComponentModifierImpl { + EffectComponentModifier::ConstructImpl, + EffectComponentInterfaceModifier::SetEffectComponentOptionsImpl, + }; + return &ArkUIEffectComponentModifierImpl; + } + + const GENERATED_ArkUIEllipseModifier* GetEllipseModifier() + { + static const GENERATED_ArkUIEllipseModifier ArkUIEllipseModifierImpl { + EllipseModifier::ConstructImpl, + EllipseInterfaceModifier::SetEllipseOptionsImpl, + }; + return &ArkUIEllipseModifierImpl; + } + + const GENERATED_ArkUIEmbeddedComponentModifier* GetEmbeddedComponentModifier() + { + static const GENERATED_ArkUIEmbeddedComponentModifier ArkUIEmbeddedComponentModifierImpl { + EmbeddedComponentModifier::ConstructImpl, + EmbeddedComponentInterfaceModifier::SetEmbeddedComponentOptionsImpl, + EmbeddedComponentAttributeModifier::SetOnTerminatedImpl, + EmbeddedComponentAttributeModifier::SetOnErrorImpl, + }; + return &ArkUIEmbeddedComponentModifierImpl; + } + + const GENERATED_ArkUIFlexModifier* GetFlexModifier() + { + static const GENERATED_ArkUIFlexModifier ArkUIFlexModifierImpl { + FlexModifier::ConstructImpl, + FlexInterfaceModifier::SetFlexOptionsImpl, + }; + return &ArkUIFlexModifierImpl; + } + + const GENERATED_ArkUIFlowItemModifier* GetFlowItemModifier() + { + static const GENERATED_ArkUIFlowItemModifier ArkUIFlowItemModifierImpl { + FlowItemModifier::ConstructImpl, + FlowItemInterfaceModifier::SetFlowItemOptionsImpl, + }; + return &ArkUIFlowItemModifierImpl; + } + + const GENERATED_ArkUIFolderStackModifier* GetFolderStackModifier() + { + static const GENERATED_ArkUIFolderStackModifier ArkUIFolderStackModifierImpl { + FolderStackModifier::ConstructImpl, + FolderStackInterfaceModifier::SetFolderStackOptionsImpl, + FolderStackAttributeModifier::SetAlignContentImpl, + FolderStackAttributeModifier::SetOnFolderStateChangeImpl, + FolderStackAttributeModifier::SetOnHoverStatusChangeImpl, + FolderStackAttributeModifier::SetEnableAnimationImpl, + FolderStackAttributeModifier::SetAutoHalfFoldImpl, + }; + return &ArkUIFolderStackModifierImpl; + } + + const GENERATED_ArkUIFormComponentModifier* GetFormComponentModifier() + { + static const GENERATED_ArkUIFormComponentModifier ArkUIFormComponentModifierImpl { + FormComponentModifier::ConstructImpl, + FormComponentInterfaceModifier::SetFormComponentOptionsImpl, + FormComponentAttributeModifier::SetSizeImpl, + FormComponentAttributeModifier::SetModuleNameImpl, + FormComponentAttributeModifier::SetDimensionImpl, + FormComponentAttributeModifier::SetAllowUpdateImpl, + FormComponentAttributeModifier::SetVisibilityImpl, + FormComponentAttributeModifier::SetOnAcquiredImpl, + FormComponentAttributeModifier::SetOnErrorImpl, + FormComponentAttributeModifier::SetOnRouterImpl, + FormComponentAttributeModifier::SetOnUninstallImpl, + FormComponentAttributeModifier::SetOnLoadImpl, + FormComponentAttributeModifier::SetOnUpdateImpl, + }; + return &ArkUIFormComponentModifierImpl; + } + + const GENERATED_ArkUIFormLinkModifier* GetFormLinkModifier() + { + static const GENERATED_ArkUIFormLinkModifier ArkUIFormLinkModifierImpl { + FormLinkModifier::ConstructImpl, + FormLinkInterfaceModifier::SetFormLinkOptionsImpl, + }; + return &ArkUIFormLinkModifierImpl; + } + + const GENERATED_ArkUIGaugeModifier* GetGaugeModifier() + { + static const GENERATED_ArkUIGaugeModifier ArkUIGaugeModifierImpl { + GaugeModifier::ConstructImpl, + GaugeInterfaceModifier::SetGaugeOptionsImpl, + GaugeAttributeModifier::SetValueImpl, + GaugeAttributeModifier::SetStartAngleImpl, + GaugeAttributeModifier::SetEndAngleImpl, + GaugeAttributeModifier::SetColorsImpl, + GaugeAttributeModifier::SetStrokeWidthImpl, + GaugeAttributeModifier::SetDescriptionImpl, + GaugeAttributeModifier::SetTrackShadowImpl, + GaugeAttributeModifier::SetIndicatorImpl, + GaugeAttributeModifier::SetPrivacySensitiveImpl, + }; + return &ArkUIGaugeModifierImpl; + } + + const GENERATED_ArkUIGridModifier* GetGridModifier() + { + static const GENERATED_ArkUIGridModifier ArkUIGridModifierImpl { + GridModifier::ConstructImpl, + GridInterfaceModifier::SetGridOptionsImpl, + GridAttributeModifier::SetColumnsTemplateImpl, + GridAttributeModifier::SetRowsTemplateImpl, + GridAttributeModifier::SetColumnsGapImpl, + GridAttributeModifier::SetRowsGapImpl, + GridAttributeModifier::SetScrollBarWidthImpl, + GridAttributeModifier::SetScrollBarColorImpl, + GridAttributeModifier::SetScrollBarImpl, + GridAttributeModifier::SetOnScrollBarUpdateImpl, + GridAttributeModifier::SetOnScrollIndexImpl, + GridAttributeModifier::SetCachedCount0Impl, + GridAttributeModifier::SetEditModeImpl, + GridAttributeModifier::SetMultiSelectableImpl, + GridAttributeModifier::SetMaxCountImpl, + GridAttributeModifier::SetMinCountImpl, + GridAttributeModifier::SetCellLengthImpl, + GridAttributeModifier::SetLayoutDirectionImpl, + GridAttributeModifier::SetSupportAnimationImpl, + GridAttributeModifier::SetOnItemDragStartImpl, + GridAttributeModifier::SetOnItemDragEnterImpl, + GridAttributeModifier::SetOnItemDragMoveImpl, + GridAttributeModifier::SetOnItemDragLeaveImpl, + GridAttributeModifier::SetOnItemDropImpl, + GridAttributeModifier::SetNestedScrollImpl, + GridAttributeModifier::SetEnableScrollInteractionImpl, + GridAttributeModifier::SetFrictionImpl, + GridAttributeModifier::SetAlignItemsImpl, + GridAttributeModifier::SetOnScrollFrameBeginImpl, + GridAttributeModifier::SetOnWillScrollImpl, + GridAttributeModifier::SetOnDidScrollImpl, + GridAttributeModifier::SetCachedCount1Impl, + GridAttributeModifier::SetEdgeEffectImpl, + }; + return &ArkUIGridModifierImpl; + } + + const GENERATED_ArkUIGridColModifier* GetGridColModifier() + { + static const GENERATED_ArkUIGridColModifier ArkUIGridColModifierImpl { + GridColModifier::ConstructImpl, + GridColInterfaceModifier::SetGridColOptionsImpl, + GridColAttributeModifier::SetSpanImpl, + GridColAttributeModifier::SetGridColOffsetImpl, + GridColAttributeModifier::SetOrderImpl, + }; + return &ArkUIGridColModifierImpl; + } + + const GENERATED_ArkUIGridItemModifier* GetGridItemModifier() + { + static const GENERATED_ArkUIGridItemModifier ArkUIGridItemModifierImpl { + GridItemModifier::ConstructImpl, + GridItemInterfaceModifier::SetGridItemOptionsImpl, + GridItemAttributeModifier::SetRowStartImpl, + GridItemAttributeModifier::SetRowEndImpl, + GridItemAttributeModifier::SetColumnStartImpl, + GridItemAttributeModifier::SetColumnEndImpl, + GridItemAttributeModifier::SetSelectableImpl, + GridItemAttributeModifier::SetSelectedImpl, + GridItemAttributeModifier::SetOnSelectImpl, + }; + return &ArkUIGridItemModifierImpl; + } + + const GENERATED_ArkUIGridRowModifier* GetGridRowModifier() + { + static const GENERATED_ArkUIGridRowModifier ArkUIGridRowModifierImpl { + GridRowModifier::ConstructImpl, + GridRowInterfaceModifier::SetGridRowOptionsImpl, + GridRowAttributeModifier::SetOnBreakpointChangeImpl, + GridRowAttributeModifier::SetAlignItemsImpl, + }; + return &ArkUIGridRowModifierImpl; + } + + const GENERATED_ArkUIHyperlinkModifier* GetHyperlinkModifier() + { + static const GENERATED_ArkUIHyperlinkModifier ArkUIHyperlinkModifierImpl { + HyperlinkModifier::ConstructImpl, + HyperlinkInterfaceModifier::SetHyperlinkOptionsImpl, + HyperlinkAttributeModifier::SetColorImpl, + }; + return &ArkUIHyperlinkModifierImpl; + } + + const GENERATED_ArkUIImageModifier* GetImageModifier() + { + static const GENERATED_ArkUIImageModifier ArkUIImageModifierImpl { + ImageModifier::ConstructImpl, + ImageInterfaceModifier::SetImageOptions0Impl, + ImageInterfaceModifier::SetImageOptions1Impl, + ImageAttributeModifier::SetAltImpl, + ImageAttributeModifier::SetMatchTextDirectionImpl, + ImageAttributeModifier::SetFitOriginalSizeImpl, + ImageAttributeModifier::SetFillColorImpl, + ImageAttributeModifier::SetObjectFitImpl, + ImageAttributeModifier::SetImageMatrixImpl, + ImageAttributeModifier::SetObjectRepeatImpl, + ImageAttributeModifier::SetAutoResizeImpl, + ImageAttributeModifier::SetRenderModeImpl, + ImageAttributeModifier::SetDynamicRangeModeImpl, + ImageAttributeModifier::SetInterpolationImpl, + ImageAttributeModifier::SetSourceSizeImpl, + ImageAttributeModifier::SetSyncLoadImpl, + ImageAttributeModifier::SetColorFilterImpl, + ImageAttributeModifier::SetCopyOptionImpl, + ImageAttributeModifier::SetDraggableImpl, + ImageAttributeModifier::SetPointLightImpl, + ImageAttributeModifier::SetEdgeAntialiasingImpl, + ImageAttributeModifier::SetOnCompleteImpl, + ImageAttributeModifier::SetOnErrorImpl, + ImageAttributeModifier::SetOnFinishImpl, + ImageAttributeModifier::SetEnableAnalyzerImpl, + ImageAttributeModifier::SetAnalyzerConfigImpl, + ImageAttributeModifier::SetResizableImpl, + ImageAttributeModifier::SetPrivacySensitiveImpl, + ImageAttributeModifier::SetEnhancedImageQualityImpl, + ImageAttributeModifier::SetOrientationImpl, + }; + return &ArkUIImageModifierImpl; + } + + const GENERATED_ArkUIImageAnimatorModifier* GetImageAnimatorModifier() + { + static const GENERATED_ArkUIImageAnimatorModifier ArkUIImageAnimatorModifierImpl { + ImageAnimatorModifier::ConstructImpl, + ImageAnimatorInterfaceModifier::SetImageAnimatorOptionsImpl, + ImageAnimatorAttributeModifier::SetImagesImpl, + ImageAnimatorAttributeModifier::SetStateImpl, + ImageAnimatorAttributeModifier::SetDurationImpl, + ImageAnimatorAttributeModifier::SetReverseImpl, + ImageAnimatorAttributeModifier::SetFixedSizeImpl, + ImageAnimatorAttributeModifier::SetFillModeImpl, + ImageAnimatorAttributeModifier::SetIterationsImpl, + ImageAnimatorAttributeModifier::SetMonitorInvisibleAreaImpl, + ImageAnimatorAttributeModifier::SetOnStartImpl, + ImageAnimatorAttributeModifier::SetOnPauseImpl, + ImageAnimatorAttributeModifier::SetOnRepeatImpl, + ImageAnimatorAttributeModifier::SetOnCancelImpl, + ImageAnimatorAttributeModifier::SetOnFinishImpl, + }; + return &ArkUIImageAnimatorModifierImpl; + } + + const GENERATED_ArkUIImageSpanModifier* GetImageSpanModifier() + { + static const GENERATED_ArkUIImageSpanModifier ArkUIImageSpanModifierImpl { + ImageSpanModifier::ConstructImpl, + ImageSpanInterfaceModifier::SetImageSpanOptionsImpl, + ImageSpanAttributeModifier::SetVerticalAlignImpl, + ImageSpanAttributeModifier::SetColorFilterImpl, + ImageSpanAttributeModifier::SetObjectFitImpl, + ImageSpanAttributeModifier::SetOnCompleteImpl, + ImageSpanAttributeModifier::SetOnErrorImpl, + ImageSpanAttributeModifier::SetAltImpl, + }; + return &ArkUIImageSpanModifierImpl; + } + + const GENERATED_ArkUIIndicatorComponentModifier* GetIndicatorComponentModifier() + { + static const GENERATED_ArkUIIndicatorComponentModifier ArkUIIndicatorComponentModifierImpl { + IndicatorComponentModifier::ConstructImpl, + IndicatorComponentInterfaceModifier::SetIndicatorComponentOptionsImpl, + IndicatorComponentAttributeModifier::SetInitialIndexImpl, + IndicatorComponentAttributeModifier::SetCountImpl, + IndicatorComponentAttributeModifier::SetStyleImpl, + IndicatorComponentAttributeModifier::SetLoopImpl, + IndicatorComponentAttributeModifier::SetVerticalImpl, + IndicatorComponentAttributeModifier::SetOnChangeImpl, + }; + return &ArkUIIndicatorComponentModifierImpl; + } + + const GENERATED_ArkUILineModifier* GetLineModifier() + { + static const GENERATED_ArkUILineModifier ArkUILineModifierImpl { + LineModifier::ConstructImpl, + LineInterfaceModifier::SetLineOptionsImpl, + LineAttributeModifier::SetStartPointImpl, + LineAttributeModifier::SetEndPointImpl, + }; + return &ArkUILineModifierImpl; + } + + const GENERATED_ArkUILinearIndicatorModifier* GetLinearIndicatorModifier() + { + static const GENERATED_ArkUILinearIndicatorModifier ArkUILinearIndicatorModifierImpl { + LinearIndicatorModifier::ConstructImpl, + LinearIndicatorInterfaceModifier::SetLinearIndicatorOptionsImpl, + LinearIndicatorAttributeModifier::SetIndicatorStyleImpl, + LinearIndicatorAttributeModifier::SetIndicatorLoopImpl, + LinearIndicatorAttributeModifier::SetOnChangeImpl, + }; + return &ArkUILinearIndicatorModifierImpl; + } + + const GENERATED_ArkUIListModifier* GetListModifier() + { + static const GENERATED_ArkUIListModifier ArkUIListModifierImpl { + ListModifier::ConstructImpl, + ListInterfaceModifier::SetListOptionsImpl, + ListAttributeModifier::SetAlignListItemImpl, + ListAttributeModifier::SetListDirectionImpl, + ListAttributeModifier::SetContentStartOffsetImpl, + ListAttributeModifier::SetContentEndOffsetImpl, + ListAttributeModifier::SetDividerImpl, + ListAttributeModifier::SetMultiSelectableImpl, + ListAttributeModifier::SetCachedCount0Impl, + ListAttributeModifier::SetChainAnimationImpl, + ListAttributeModifier::SetChainAnimationOptionsImpl, + ListAttributeModifier::SetStickyImpl, + ListAttributeModifier::SetScrollSnapAlignImpl, + ListAttributeModifier::SetChildrenMainSizeImpl, + ListAttributeModifier::SetMaintainVisibleContentPositionImpl, + ListAttributeModifier::SetStackFromEndImpl, + ListAttributeModifier::SetOnScrollIndexImpl, + ListAttributeModifier::SetOnScrollVisibleContentChangeImpl, + ListAttributeModifier::SetOnItemMoveImpl, + ListAttributeModifier::SetOnItemDragStartImpl, + ListAttributeModifier::SetOnItemDragEnterImpl, + ListAttributeModifier::SetOnItemDragMoveImpl, + ListAttributeModifier::SetOnItemDragLeaveImpl, + ListAttributeModifier::SetOnItemDropImpl, + ListAttributeModifier::SetOnScrollFrameBeginImpl, + ListAttributeModifier::SetOnWillScrollImpl, + ListAttributeModifier::SetOnDidScrollImpl, + ListAttributeModifier::SetLanesImpl, + ListAttributeModifier::SetCachedCount1Impl, + }; + return &ArkUIListModifierImpl; + } + + const GENERATED_ArkUIListItemModifier* GetListItemModifier() + { + static const GENERATED_ArkUIListItemModifier ArkUIListItemModifierImpl { + ListItemModifier::ConstructImpl, + ListItemInterfaceModifier::SetListItemOptionsImpl, + ListItemAttributeModifier::SetSelectableImpl, + ListItemAttributeModifier::SetSelectedImpl, + ListItemAttributeModifier::SetSwipeActionImpl, + ListItemAttributeModifier::SetOnSelectImpl, + }; + return &ArkUIListItemModifierImpl; + } + + const GENERATED_ArkUIListItemGroupModifier* GetListItemGroupModifier() + { + static const GENERATED_ArkUIListItemGroupModifier ArkUIListItemGroupModifierImpl { + ListItemGroupModifier::ConstructImpl, + ListItemGroupInterfaceModifier::SetListItemGroupOptionsImpl, + ListItemGroupAttributeModifier::SetDividerImpl, + ListItemGroupAttributeModifier::SetChildrenMainSizeImpl, + }; + return &ArkUIListItemGroupModifierImpl; + } + + const GENERATED_ArkUILoadingProgressModifier* GetLoadingProgressModifier() + { + static const GENERATED_ArkUILoadingProgressModifier ArkUILoadingProgressModifierImpl { + LoadingProgressModifier::ConstructImpl, + LoadingProgressInterfaceModifier::SetLoadingProgressOptionsImpl, + LoadingProgressAttributeModifier::SetColorImpl, + LoadingProgressAttributeModifier::SetEnableLoadingImpl, + }; + return &ArkUILoadingProgressModifierImpl; + } + + const GENERATED_ArkUIMarqueeModifier* GetMarqueeModifier() + { + static const GENERATED_ArkUIMarqueeModifier ArkUIMarqueeModifierImpl { + MarqueeModifier::ConstructImpl, + MarqueeInterfaceModifier::SetMarqueeOptionsImpl, + MarqueeAttributeModifier::SetFontColorImpl, + MarqueeAttributeModifier::SetFontSizeImpl, + MarqueeAttributeModifier::SetAllowScaleImpl, + MarqueeAttributeModifier::SetFontWeightImpl, + MarqueeAttributeModifier::SetFontFamilyImpl, + MarqueeAttributeModifier::SetMarqueeUpdateStrategyImpl, + MarqueeAttributeModifier::SetOnStartImpl, + MarqueeAttributeModifier::SetOnBounceImpl, + MarqueeAttributeModifier::SetOnFinishImpl, + }; + return &ArkUIMarqueeModifierImpl; + } + + const GENERATED_ArkUIMediaCachedImageModifier* GetMediaCachedImageModifier() + { + static const GENERATED_ArkUIMediaCachedImageModifier ArkUIMediaCachedImageModifierImpl { + MediaCachedImageModifier::ConstructImpl, + MediaCachedImageInterfaceModifier::SetMediaCachedImageOptionsImpl, + }; + return &ArkUIMediaCachedImageModifierImpl; + } + + const GENERATED_ArkUIMenuModifier* GetMenuModifier() + { + static const GENERATED_ArkUIMenuModifier ArkUIMenuModifierImpl { + MenuModifier::ConstructImpl, + MenuInterfaceModifier::SetMenuOptionsImpl, + MenuAttributeModifier::SetFontImpl, + MenuAttributeModifier::SetFontColorImpl, + MenuAttributeModifier::SetRadiusImpl, + MenuAttributeModifier::SetMenuItemDividerImpl, + MenuAttributeModifier::SetMenuItemGroupDividerImpl, + MenuAttributeModifier::SetSubMenuExpandingModeImpl, + }; + return &ArkUIMenuModifierImpl; + } + + const GENERATED_ArkUIMenuItemModifier* GetMenuItemModifier() + { + static const GENERATED_ArkUIMenuItemModifier ArkUIMenuItemModifierImpl { + MenuItemModifier::ConstructImpl, + MenuItemInterfaceModifier::SetMenuItemOptionsImpl, + MenuItemAttributeModifier::SetSelectedImpl, + MenuItemAttributeModifier::SetSelectIconImpl, + MenuItemAttributeModifier::SetOnChangeImpl, + MenuItemAttributeModifier::SetContentFontImpl, + MenuItemAttributeModifier::SetContentFontColorImpl, + MenuItemAttributeModifier::SetLabelFontImpl, + MenuItemAttributeModifier::SetLabelFontColorImpl, + }; + return &ArkUIMenuItemModifierImpl; + } + + const GENERATED_ArkUIMenuItemGroupModifier* GetMenuItemGroupModifier() + { + static const GENERATED_ArkUIMenuItemGroupModifier ArkUIMenuItemGroupModifierImpl { + MenuItemGroupModifier::ConstructImpl, + MenuItemGroupInterfaceModifier::SetMenuItemGroupOptionsImpl, + }; + return &ArkUIMenuItemGroupModifierImpl; + } + + const GENERATED_ArkUINavDestinationModifier* GetNavDestinationModifier() + { + static const GENERATED_ArkUINavDestinationModifier ArkUINavDestinationModifierImpl { + NavDestinationModifier::ConstructImpl, + NavDestinationInterfaceModifier::SetNavDestinationOptionsImpl, + NavDestinationAttributeModifier::SetHideTitleBar0Impl, + NavDestinationAttributeModifier::SetHideBackButtonImpl, + NavDestinationAttributeModifier::SetOnShownImpl, + NavDestinationAttributeModifier::SetOnHiddenImpl, + NavDestinationAttributeModifier::SetOnBackPressedImpl, + NavDestinationAttributeModifier::SetOnResultImpl, + NavDestinationAttributeModifier::SetModeImpl, + NavDestinationAttributeModifier::SetBackButtonIcon0Impl, + NavDestinationAttributeModifier::SetMenus0Impl, + NavDestinationAttributeModifier::SetOnReadyImpl, + NavDestinationAttributeModifier::SetOnWillAppearImpl, + NavDestinationAttributeModifier::SetOnWillDisappearImpl, + NavDestinationAttributeModifier::SetOnWillShowImpl, + NavDestinationAttributeModifier::SetOnWillHideImpl, + NavDestinationAttributeModifier::SetSystemBarStyleImpl, + NavDestinationAttributeModifier::SetRecoverableImpl, + NavDestinationAttributeModifier::SetSystemTransitionImpl, + NavDestinationAttributeModifier::SetBindToScrollableImpl, + NavDestinationAttributeModifier::SetBindToNestedScrollableImpl, + NavDestinationAttributeModifier::SetOnActiveImpl, + NavDestinationAttributeModifier::SetOnInactiveImpl, + NavDestinationAttributeModifier::SetCustomTransitionImpl, + NavDestinationAttributeModifier::SetOnNewParamImpl, + NavDestinationAttributeModifier::SetPreferredOrientationImpl, + NavDestinationAttributeModifier::SetEnableNavigationIndicatorImpl, + NavDestinationAttributeModifier::SetTitleImpl, + NavDestinationAttributeModifier::SetHideTitleBar1Impl, + NavDestinationAttributeModifier::SetBackButtonIcon1Impl, + NavDestinationAttributeModifier::SetMenus1Impl, + NavDestinationAttributeModifier::SetToolbarConfigurationImpl, + NavDestinationAttributeModifier::SetHideToolBarImpl, + NavDestinationAttributeModifier::SetIgnoreLayoutSafeAreaImpl, + NavDestinationAttributeModifier::SetEnableStatusBarImpl, + }; + return &ArkUINavDestinationModifierImpl; + } + + const GENERATED_ArkUINavigationModifier* GetNavigationModifier() + { + static const GENERATED_ArkUINavigationModifier ArkUINavigationModifierImpl { + NavigationModifier::ConstructImpl, + NavigationInterfaceModifier::SetNavigationOptionsImpl, + NavigationAttributeModifier::SetNavBarWidthImpl, + NavigationAttributeModifier::SetNavBarPositionImpl, + NavigationAttributeModifier::SetNavBarWidthRangeImpl, + NavigationAttributeModifier::SetMinContentWidthImpl, + NavigationAttributeModifier::SetModeImpl, + NavigationAttributeModifier::SetBackButtonIcon0Impl, + NavigationAttributeModifier::SetHideNavBarImpl, + NavigationAttributeModifier::SetHideTitleBar0Impl, + NavigationAttributeModifier::SetHideBackButtonImpl, + NavigationAttributeModifier::SetTitleModeImpl, + NavigationAttributeModifier::SetMenus0Impl, + NavigationAttributeModifier::SetHideToolBar0Impl, + NavigationAttributeModifier::SetEnableToolBarAdaptationImpl, + NavigationAttributeModifier::SetOnTitleModeChangeImpl, + NavigationAttributeModifier::SetOnNavBarStateChangeImpl, + NavigationAttributeModifier::SetOnNavigationModeChangeImpl, + NavigationAttributeModifier::SetNavDestinationImpl, + NavigationAttributeModifier::SetCustomNavContentTransitionImpl, + NavigationAttributeModifier::SetSystemBarStyleImpl, + NavigationAttributeModifier::SetRecoverableImpl, + NavigationAttributeModifier::SetEnableDragBarImpl, + NavigationAttributeModifier::SetEnableModeChangeAnimationImpl, + NavigationAttributeModifier::SetBackButtonIcon1Impl, + NavigationAttributeModifier::SetTitleImpl, + NavigationAttributeModifier::SetHideTitleBar1Impl, + NavigationAttributeModifier::SetMenus1Impl, + NavigationAttributeModifier::SetToolbarConfigurationImpl, + NavigationAttributeModifier::SetHideToolBar1Impl, + NavigationAttributeModifier::SetIgnoreLayoutSafeAreaImpl, + }; + return &ArkUINavigationModifierImpl; + } + + const GENERATED_ArkUINodeContainerModifier* GetNodeContainerModifier() + { + static const GENERATED_ArkUINodeContainerModifier ArkUINodeContainerModifierImpl { + NodeContainerModifier::ConstructImpl, + NodeContainerInterfaceModifier::SetNodeContainerOptionsImpl, + }; + return &ArkUINodeContainerModifierImpl; + } + + const GENERATED_ArkUIPathModifier* GetPathModifier() + { + static const GENERATED_ArkUIPathModifier ArkUIPathModifierImpl { + PathModifier::ConstructImpl, + PathInterfaceModifier::SetPathOptionsImpl, + PathAttributeModifier::SetCommandsImpl, + }; + return &ArkUIPathModifierImpl; + } + + const GENERATED_ArkUIPatternLockModifier* GetPatternLockModifier() + { + static const GENERATED_ArkUIPatternLockModifier ArkUIPatternLockModifierImpl { + PatternLockModifier::ConstructImpl, + PatternLockInterfaceModifier::SetPatternLockOptionsImpl, + PatternLockAttributeModifier::SetSideLengthImpl, + PatternLockAttributeModifier::SetCircleRadiusImpl, + PatternLockAttributeModifier::SetBackgroundColorImpl, + PatternLockAttributeModifier::SetRegularColorImpl, + PatternLockAttributeModifier::SetSelectedColorImpl, + PatternLockAttributeModifier::SetActiveColorImpl, + PatternLockAttributeModifier::SetPathColorImpl, + PatternLockAttributeModifier::SetPathStrokeWidthImpl, + PatternLockAttributeModifier::SetOnPatternCompleteImpl, + PatternLockAttributeModifier::SetAutoResetImpl, + PatternLockAttributeModifier::SetOnDotConnectImpl, + PatternLockAttributeModifier::SetActivateCircleStyleImpl, + PatternLockAttributeModifier::SetSkipUnselectedPointImpl, + }; + return &ArkUIPatternLockModifierImpl; + } + + const GENERATED_ArkUIPluginComponentModifier* GetPluginComponentModifier() + { + static const GENERATED_ArkUIPluginComponentModifier ArkUIPluginComponentModifierImpl { + PluginComponentModifier::ConstructImpl, + PluginComponentInterfaceModifier::SetPluginComponentOptionsImpl, + PluginComponentAttributeModifier::SetOnCompleteImpl, + PluginComponentAttributeModifier::SetOnErrorImpl, + }; + return &ArkUIPluginComponentModifierImpl; + } + + const GENERATED_ArkUIPolygonModifier* GetPolygonModifier() + { + static const GENERATED_ArkUIPolygonModifier ArkUIPolygonModifierImpl { + PolygonModifier::ConstructImpl, + PolygonInterfaceModifier::SetPolygonOptionsImpl, + PolygonAttributeModifier::SetPointsImpl, + }; + return &ArkUIPolygonModifierImpl; + } + + const GENERATED_ArkUIPolylineModifier* GetPolylineModifier() + { + static const GENERATED_ArkUIPolylineModifier ArkUIPolylineModifierImpl { + PolylineModifier::ConstructImpl, + PolylineInterfaceModifier::SetPolylineOptionsImpl, + PolylineAttributeModifier::SetPointsImpl, + }; + return &ArkUIPolylineModifierImpl; + } + + const GENERATED_ArkUIProgressModifier* GetProgressModifier() + { + static const GENERATED_ArkUIProgressModifier ArkUIProgressModifierImpl { + ProgressModifier::ConstructImpl, + ProgressInterfaceModifier::SetProgressOptionsImpl, + ProgressAttributeModifier::SetValueImpl, + ProgressAttributeModifier::SetColorImpl, + ProgressAttributeModifier::SetStyleImpl, + ProgressAttributeModifier::SetPrivacySensitiveImpl, + }; + return &ArkUIProgressModifierImpl; + } + + const GENERATED_ArkUIQRCodeModifier* GetQRCodeModifier() + { + static const GENERATED_ArkUIQRCodeModifier ArkUIQRCodeModifierImpl { + QRCodeModifier::ConstructImpl, + QRCodeInterfaceModifier::SetQRCodeOptionsImpl, + QRCodeAttributeModifier::SetColorImpl, + QRCodeAttributeModifier::SetBackgroundColorImpl, + QRCodeAttributeModifier::SetContentOpacityImpl, + }; + return &ArkUIQRCodeModifierImpl; + } + + const GENERATED_ArkUIRadioModifier* GetRadioModifier() + { + static const GENERATED_ArkUIRadioModifier ArkUIRadioModifierImpl { + RadioModifier::ConstructImpl, + RadioInterfaceModifier::SetRadioOptionsImpl, + RadioAttributeModifier::SetCheckedImpl, + RadioAttributeModifier::SetOnChangeImpl, + RadioAttributeModifier::SetRadioStyleImpl, + }; + return &ArkUIRadioModifierImpl; + } + + const GENERATED_ArkUIRatingModifier* GetRatingModifier() + { + static const GENERATED_ArkUIRatingModifier ArkUIRatingModifierImpl { + RatingModifier::ConstructImpl, + RatingInterfaceModifier::SetRatingOptionsImpl, + RatingAttributeModifier::SetStarsImpl, + RatingAttributeModifier::SetStepSizeImpl, + RatingAttributeModifier::SetStarStyleImpl, + RatingAttributeModifier::SetOnChangeImpl, + }; + return &ArkUIRatingModifierImpl; + } + + const GENERATED_ArkUIRectModifier* GetRectModifier() + { + static const GENERATED_ArkUIRectModifier ArkUIRectModifierImpl { + RectModifier::ConstructImpl, + RectInterfaceModifier::SetRectOptionsImpl, + RectAttributeModifier::SetRadiusWidthImpl, + RectAttributeModifier::SetRadiusHeightImpl, + RectAttributeModifier::SetRadiusImpl, + }; + return &ArkUIRectModifierImpl; + } + + const GENERATED_ArkUIRefreshModifier* GetRefreshModifier() + { + static const GENERATED_ArkUIRefreshModifier ArkUIRefreshModifierImpl { + RefreshModifier::ConstructImpl, + RefreshInterfaceModifier::SetRefreshOptionsImpl, + RefreshAttributeModifier::SetOnStateChangeImpl, + RefreshAttributeModifier::SetOnRefreshingImpl, + RefreshAttributeModifier::SetRefreshOffsetImpl, + RefreshAttributeModifier::SetPullToRefreshImpl, + RefreshAttributeModifier::SetOnOffsetChangeImpl, + RefreshAttributeModifier::SetPullDownRatioImpl, + }; + return &ArkUIRefreshModifierImpl; + } + + const GENERATED_ArkUIRelativeContainerModifier* GetRelativeContainerModifier() + { + static const GENERATED_ArkUIRelativeContainerModifier ArkUIRelativeContainerModifierImpl { + RelativeContainerModifier::ConstructImpl, + RelativeContainerInterfaceModifier::SetRelativeContainerOptionsImpl, + RelativeContainerAttributeModifier::SetGuideLineImpl, + RelativeContainerAttributeModifier::SetBarrierImpl, + }; + return &ArkUIRelativeContainerModifierImpl; + } + + const GENERATED_ArkUIRemoteWindowModifier* GetRemoteWindowModifier() + { + static const GENERATED_ArkUIRemoteWindowModifier ArkUIRemoteWindowModifierImpl { + RemoteWindowModifier::ConstructImpl, + RemoteWindowInterfaceModifier::SetRemoteWindowOptionsImpl, + }; + return &ArkUIRemoteWindowModifierImpl; + } + + const GENERATED_ArkUIRichEditorModifier* GetRichEditorModifier() + { + static const GENERATED_ArkUIRichEditorModifier ArkUIRichEditorModifierImpl { + RichEditorModifier::ConstructImpl, + RichEditorInterfaceModifier::SetRichEditorOptionsImpl, + RichEditorAttributeModifier::SetOnReadyImpl, + RichEditorAttributeModifier::SetOnSelectImpl, + RichEditorAttributeModifier::SetOnSelectionChangeImpl, + RichEditorAttributeModifier::SetAboutToIMEInputImpl, + RichEditorAttributeModifier::SetOnIMEInputCompleteImpl, + RichEditorAttributeModifier::SetOnDidIMEInputImpl, + RichEditorAttributeModifier::SetAboutToDeleteImpl, + RichEditorAttributeModifier::SetOnDeleteCompleteImpl, + RichEditorAttributeModifier::SetCopyOptionsImpl, + RichEditorAttributeModifier::SetOnPasteImpl, + RichEditorAttributeModifier::SetEnableDataDetectorImpl, + RichEditorAttributeModifier::SetEnablePreviewTextImpl, + RichEditorAttributeModifier::SetDataDetectorConfigImpl, + RichEditorAttributeModifier::SetCaretColorImpl, + RichEditorAttributeModifier::SetSelectedBackgroundColorImpl, + RichEditorAttributeModifier::SetOnEditingChangeImpl, + RichEditorAttributeModifier::SetEnterKeyTypeImpl, + RichEditorAttributeModifier::SetOnSubmitImpl, + RichEditorAttributeModifier::SetOnWillChangeImpl, + RichEditorAttributeModifier::SetOnDidChangeImpl, + RichEditorAttributeModifier::SetOnCutImpl, + RichEditorAttributeModifier::SetOnCopyImpl, + RichEditorAttributeModifier::SetEditMenuOptionsImpl, + RichEditorAttributeModifier::SetEnableKeyboardOnFocusImpl, + RichEditorAttributeModifier::SetEnableHapticFeedbackImpl, + RichEditorAttributeModifier::SetBarStateImpl, + RichEditorAttributeModifier::SetMaxLengthImpl, + RichEditorAttributeModifier::SetMaxLinesImpl, + RichEditorAttributeModifier::SetKeyboardAppearanceImpl, + RichEditorAttributeModifier::SetStopBackPressImpl, + RichEditorAttributeModifier::SetBindSelectionMenuImpl, + RichEditorAttributeModifier::SetCustomKeyboardImpl, + RichEditorAttributeModifier::SetPlaceholderImpl, + }; + return &ArkUIRichEditorModifierImpl; + } + + const GENERATED_ArkUIRichTextModifier* GetRichTextModifier() + { + static const GENERATED_ArkUIRichTextModifier ArkUIRichTextModifierImpl { + RichTextModifier::ConstructImpl, + RichTextInterfaceModifier::SetRichTextOptionsImpl, + RichTextAttributeModifier::SetOnStartImpl, + RichTextAttributeModifier::SetOnCompleteImpl, + }; + return &ArkUIRichTextModifierImpl; + } + + const GENERATED_ArkUIRootModifier* GetRootModifier() + { + static const GENERATED_ArkUIRootModifier ArkUIRootModifierImpl { + RootModifier::ConstructImpl, + }; + return &ArkUIRootModifierImpl; + } + + const GENERATED_ArkUIRootSceneModifier* GetRootSceneModifier() + { + static const GENERATED_ArkUIRootSceneModifier ArkUIRootSceneModifierImpl { + RootSceneModifier::ConstructImpl, + RootSceneInterfaceModifier::SetRootSceneOptionsImpl, + }; + return &ArkUIRootSceneModifierImpl; + } + + const GENERATED_ArkUIRowModifier* GetRowModifier() + { + static const GENERATED_ArkUIRowModifier ArkUIRowModifierImpl { + RowModifier::ConstructImpl, + RowInterfaceModifier::SetRowOptionsImpl, + RowAttributeModifier::SetAlignItemsImpl, + RowAttributeModifier::SetJustifyContentImpl, + RowAttributeModifier::SetReverseImpl, + }; + return &ArkUIRowModifierImpl; + } + + const GENERATED_ArkUIRowSplitModifier* GetRowSplitModifier() + { + static const GENERATED_ArkUIRowSplitModifier ArkUIRowSplitModifierImpl { + RowSplitModifier::ConstructImpl, + RowSplitInterfaceModifier::SetRowSplitOptionsImpl, + RowSplitAttributeModifier::SetResizeableImpl, + }; + return &ArkUIRowSplitModifierImpl; + } + + const GENERATED_ArkUIScreenModifier* GetScreenModifier() + { + static const GENERATED_ArkUIScreenModifier ArkUIScreenModifierImpl { + ScreenModifier::ConstructImpl, + ScreenInterfaceModifier::SetScreenOptionsImpl, + }; + return &ArkUIScreenModifierImpl; + } + + const GENERATED_ArkUIScrollModifier* GetScrollModifier() + { + static const GENERATED_ArkUIScrollModifier ArkUIScrollModifierImpl { + ScrollModifier::ConstructImpl, + ScrollInterfaceModifier::SetScrollOptionsImpl, + ScrollAttributeModifier::SetScrollableImpl, + ScrollAttributeModifier::SetOnWillScrollImpl, + ScrollAttributeModifier::SetOnDidScrollImpl, + ScrollAttributeModifier::SetOnScrollEdgeImpl, + ScrollAttributeModifier::SetOnScrollStartImpl, + ScrollAttributeModifier::SetOnScrollStopImpl, + ScrollAttributeModifier::SetScrollBarImpl, + ScrollAttributeModifier::SetScrollBarColorImpl, + ScrollAttributeModifier::SetScrollBarWidthImpl, + ScrollAttributeModifier::SetOnScrollFrameBeginImpl, + ScrollAttributeModifier::SetNestedScrollImpl, + ScrollAttributeModifier::SetEnableScrollInteractionImpl, + ScrollAttributeModifier::SetFrictionImpl, + ScrollAttributeModifier::SetScrollSnapImpl, + ScrollAttributeModifier::SetEnablePagingImpl, + ScrollAttributeModifier::SetInitialOffsetImpl, + ScrollAttributeModifier::SetEdgeEffectImpl, + }; + return &ArkUIScrollModifierImpl; + } + + const GENERATED_ArkUIScrollableCommonMethodModifier* GetScrollableCommonMethodModifier() + { + static const GENERATED_ArkUIScrollableCommonMethodModifier ArkUIScrollableCommonMethodModifierImpl { + ScrollableCommonMethodModifier::ConstructImpl, + ScrollableCommonMethodModifier::SetScrollBarImpl, + ScrollableCommonMethodModifier::SetScrollBarColorImpl, + ScrollableCommonMethodModifier::SetScrollBarWidthImpl, + ScrollableCommonMethodModifier::SetNestedScrollImpl, + ScrollableCommonMethodModifier::SetEnableScrollInteractionImpl, + ScrollableCommonMethodModifier::SetFrictionImpl, + ScrollableCommonMethodModifier::SetOnReachStartImpl, + ScrollableCommonMethodModifier::SetOnReachEndImpl, + ScrollableCommonMethodModifier::SetOnScrollStartImpl, + ScrollableCommonMethodModifier::SetOnScrollStopImpl, + ScrollableCommonMethodModifier::SetFlingSpeedLimitImpl, + ScrollableCommonMethodModifier::SetClipContentImpl, + ScrollableCommonMethodModifier::SetDigitalCrownSensitivityImpl, + ScrollableCommonMethodModifier::SetBackToTopImpl, + ScrollableCommonMethodModifier::SetEdgeEffectImpl, + ScrollableCommonMethodModifier::SetFadingEdgeImpl, + }; + return &ArkUIScrollableCommonMethodModifierImpl; + } + + const GENERATED_ArkUIScrollBarModifier* GetScrollBarModifier() + { + static const GENERATED_ArkUIScrollBarModifier ArkUIScrollBarModifierImpl { + ScrollBarModifier::ConstructImpl, + ScrollBarInterfaceModifier::SetScrollBarOptionsImpl, + ScrollBarAttributeModifier::SetEnableNestedScrollImpl, + }; + return &ArkUIScrollBarModifierImpl; + } + + const GENERATED_ArkUISearchModifier* GetSearchModifier() + { + static const GENERATED_ArkUISearchModifier ArkUISearchModifierImpl { + SearchModifier::ConstructImpl, + SearchInterfaceModifier::SetSearchOptionsImpl, + SearchAttributeModifier::SetFontColorImpl, + SearchAttributeModifier::SetSearchIconImpl, + SearchAttributeModifier::SetCancelButtonImpl, + SearchAttributeModifier::SetTextIndentImpl, + SearchAttributeModifier::SetOnEditChangeImpl, + SearchAttributeModifier::SetSelectedBackgroundColorImpl, + SearchAttributeModifier::SetCaretStyleImpl, + SearchAttributeModifier::SetPlaceholderColorImpl, + SearchAttributeModifier::SetPlaceholderFontImpl, + SearchAttributeModifier::SetTextFontImpl, + SearchAttributeModifier::SetEnterKeyTypeImpl, + SearchAttributeModifier::SetOnSubmitImpl, + SearchAttributeModifier::SetOnChangeImpl, + SearchAttributeModifier::SetOnTextSelectionChangeImpl, + SearchAttributeModifier::SetOnContentScrollImpl, + SearchAttributeModifier::SetOnCopyImpl, + SearchAttributeModifier::SetOnCutImpl, + SearchAttributeModifier::SetOnPasteImpl, + SearchAttributeModifier::SetCopyOptionImpl, + SearchAttributeModifier::SetMaxLengthImpl, + SearchAttributeModifier::SetTextAlignImpl, + SearchAttributeModifier::SetEnableKeyboardOnFocusImpl, + SearchAttributeModifier::SetSelectionMenuHiddenImpl, + SearchAttributeModifier::SetMinFontSizeImpl, + SearchAttributeModifier::SetMaxFontSizeImpl, + SearchAttributeModifier::SetMinFontScaleImpl, + SearchAttributeModifier::SetMaxFontScaleImpl, + SearchAttributeModifier::SetDecorationImpl, + SearchAttributeModifier::SetLetterSpacingImpl, + SearchAttributeModifier::SetLineHeightImpl, + SearchAttributeModifier::SetTypeImpl, + SearchAttributeModifier::SetFontFeatureImpl, + SearchAttributeModifier::SetOnWillInsertImpl, + SearchAttributeModifier::SetOnDidInsertImpl, + SearchAttributeModifier::SetOnWillDeleteImpl, + SearchAttributeModifier::SetOnDidDeleteImpl, + SearchAttributeModifier::SetEditMenuOptionsImpl, + SearchAttributeModifier::SetEnablePreviewTextImpl, + SearchAttributeModifier::SetEnableHapticFeedbackImpl, + SearchAttributeModifier::SetAutoCapitalizationModeImpl, + SearchAttributeModifier::SetHalfLeadingImpl, + SearchAttributeModifier::SetStopBackPressImpl, + SearchAttributeModifier::SetOnWillChangeImpl, + SearchAttributeModifier::SetKeyboardAppearanceImpl, + SearchAttributeModifier::SetSearchButtonImpl, + SearchAttributeModifier::SetInputFilterImpl, + SearchAttributeModifier::SetCustomKeyboardImpl, + }; + return &ArkUISearchModifierImpl; + } + + const GENERATED_ArkUISelectModifier* GetSelectModifier() + { + static const GENERATED_ArkUISelectModifier ArkUISelectModifierImpl { + SelectModifier::ConstructImpl, + SelectInterfaceModifier::SetSelectOptionsImpl, + SelectAttributeModifier::SetSelectedImpl, + SelectAttributeModifier::SetValueImpl, + SelectAttributeModifier::SetFontImpl, + SelectAttributeModifier::SetFontColorImpl, + SelectAttributeModifier::SetSelectedOptionBgColorImpl, + SelectAttributeModifier::SetSelectedOptionFontImpl, + SelectAttributeModifier::SetSelectedOptionFontColorImpl, + SelectAttributeModifier::SetOptionBgColorImpl, + SelectAttributeModifier::SetOptionFontImpl, + SelectAttributeModifier::SetOptionFontColorImpl, + SelectAttributeModifier::SetOnSelectImpl, + SelectAttributeModifier::SetSpaceImpl, + SelectAttributeModifier::SetArrowPositionImpl, + SelectAttributeModifier::SetOptionWidthImpl, + SelectAttributeModifier::SetOptionHeightImpl, + SelectAttributeModifier::SetMenuBackgroundColorImpl, + SelectAttributeModifier::SetMenuBackgroundBlurStyleImpl, + SelectAttributeModifier::SetControlSizeImpl, + SelectAttributeModifier::SetDividerImpl, + SelectAttributeModifier::SetTextModifierImpl, + SelectAttributeModifier::SetArrowModifierImpl, + SelectAttributeModifier::SetOptionTextModifierImpl, + SelectAttributeModifier::SetSelectedOptionTextModifierImpl, + SelectAttributeModifier::SetDividerStyleImpl, + SelectAttributeModifier::SetAvoidanceImpl, + SelectAttributeModifier::SetMenuOutlineImpl, + SelectAttributeModifier::SetBackgroundColorImpl, + SelectAttributeModifier::SetMenuAlignImpl, + }; + return &ArkUISelectModifierImpl; + } + + const GENERATED_ArkUIShapeModifier* GetShapeModifier() + { + static const GENERATED_ArkUIShapeModifier ArkUIShapeModifierImpl { + ShapeModifier::ConstructImpl, + ShapeInterfaceModifier::SetShapeOptionsImpl, + ShapeAttributeModifier::SetViewPortImpl, + ShapeAttributeModifier::SetStrokeImpl, + ShapeAttributeModifier::SetFillImpl, + ShapeAttributeModifier::SetStrokeDashOffsetImpl, + ShapeAttributeModifier::SetStrokeDashArrayImpl, + ShapeAttributeModifier::SetStrokeLineCapImpl, + ShapeAttributeModifier::SetStrokeLineJoinImpl, + ShapeAttributeModifier::SetStrokeMiterLimitImpl, + ShapeAttributeModifier::SetStrokeOpacityImpl, + ShapeAttributeModifier::SetFillOpacityImpl, + ShapeAttributeModifier::SetStrokeWidthImpl, + ShapeAttributeModifier::SetAntiAliasImpl, + ShapeAttributeModifier::SetMeshImpl, + }; + return &ArkUIShapeModifierImpl; + } + + const GENERATED_ArkUISideBarContainerModifier* GetSideBarContainerModifier() + { + static const GENERATED_ArkUISideBarContainerModifier ArkUISideBarContainerModifierImpl { + SideBarContainerModifier::ConstructImpl, + SideBarContainerInterfaceModifier::SetSideBarContainerOptionsImpl, + SideBarContainerAttributeModifier::SetShowSideBarImpl, + SideBarContainerAttributeModifier::SetControlButtonImpl, + SideBarContainerAttributeModifier::SetShowControlButtonImpl, + SideBarContainerAttributeModifier::SetOnChangeImpl, + SideBarContainerAttributeModifier::SetSideBarWidthImpl, + SideBarContainerAttributeModifier::SetMinSideBarWidth0Impl, + SideBarContainerAttributeModifier::SetMaxSideBarWidth0Impl, + SideBarContainerAttributeModifier::SetMinSideBarWidth1Impl, + SideBarContainerAttributeModifier::SetMaxSideBarWidth1Impl, + SideBarContainerAttributeModifier::SetAutoHideImpl, + SideBarContainerAttributeModifier::SetSideBarPositionImpl, + SideBarContainerAttributeModifier::SetDividerImpl, + SideBarContainerAttributeModifier::SetMinContentWidthImpl, + }; + return &ArkUISideBarContainerModifierImpl; + } + + const GENERATED_ArkUISliderModifier* GetSliderModifier() + { + static const GENERATED_ArkUISliderModifier ArkUISliderModifierImpl { + SliderModifier::ConstructImpl, + SliderInterfaceModifier::SetSliderOptionsImpl, + SliderAttributeModifier::SetBlockColorImpl, + SliderAttributeModifier::SetTrackColorImpl, + SliderAttributeModifier::SetSelectedColorImpl, + SliderAttributeModifier::SetShowStepsImpl, + SliderAttributeModifier::SetTrackThicknessImpl, + SliderAttributeModifier::SetOnChangeImpl, + SliderAttributeModifier::SetBlockBorderColorImpl, + SliderAttributeModifier::SetBlockBorderWidthImpl, + SliderAttributeModifier::SetStepColorImpl, + SliderAttributeModifier::SetTrackBorderRadiusImpl, + SliderAttributeModifier::SetSelectedBorderRadiusImpl, + SliderAttributeModifier::SetBlockSizeImpl, + SliderAttributeModifier::SetBlockStyleImpl, + SliderAttributeModifier::SetStepSizeImpl, + SliderAttributeModifier::SetSliderInteractionModeImpl, + SliderAttributeModifier::SetMinResponsiveDistanceImpl, + SliderAttributeModifier::SetSlideRangeImpl, + SliderAttributeModifier::SetDigitalCrownSensitivityImpl, + SliderAttributeModifier::SetEnableHapticFeedbackImpl, + SliderAttributeModifier::SetShowTipsImpl, + }; + return &ArkUISliderModifierImpl; + } + + const GENERATED_ArkUISpanModifier* GetSpanModifier() + { + static const GENERATED_ArkUISpanModifier ArkUISpanModifierImpl { + SpanModifier::ConstructImpl, + SpanInterfaceModifier::SetSpanOptionsImpl, + SpanAttributeModifier::SetFontImpl, + SpanAttributeModifier::SetFontColorImpl, + SpanAttributeModifier::SetFontSizeImpl, + SpanAttributeModifier::SetFontStyleImpl, + SpanAttributeModifier::SetFontWeightImpl, + SpanAttributeModifier::SetFontFamilyImpl, + SpanAttributeModifier::SetDecorationImpl, + SpanAttributeModifier::SetLetterSpacingImpl, + SpanAttributeModifier::SetTextCaseImpl, + SpanAttributeModifier::SetLineHeightImpl, + SpanAttributeModifier::SetTextShadowImpl, + }; + return &ArkUISpanModifierImpl; + } + + const GENERATED_ArkUIStackModifier* GetStackModifier() + { + static const GENERATED_ArkUIStackModifier ArkUIStackModifierImpl { + StackModifier::ConstructImpl, + StackInterfaceModifier::SetStackOptionsImpl, + StackAttributeModifier::SetAlignContentImpl, + }; + return &ArkUIStackModifierImpl; + } + + const GENERATED_ArkUIStepperModifier* GetStepperModifier() + { + static const GENERATED_ArkUIStepperModifier ArkUIStepperModifierImpl { + StepperModifier::ConstructImpl, + StepperInterfaceModifier::SetStepperOptionsImpl, + StepperAttributeModifier::SetOnFinishImpl, + StepperAttributeModifier::SetOnSkipImpl, + StepperAttributeModifier::SetOnChangeImpl, + StepperAttributeModifier::SetOnNextImpl, + StepperAttributeModifier::SetOnPreviousImpl, + }; + return &ArkUIStepperModifierImpl; + } + + const GENERATED_ArkUIStepperItemModifier* GetStepperItemModifier() + { + static const GENERATED_ArkUIStepperItemModifier ArkUIStepperItemModifierImpl { + StepperItemModifier::ConstructImpl, + StepperItemInterfaceModifier::SetStepperItemOptionsImpl, + StepperItemAttributeModifier::SetPrevLabelImpl, + StepperItemAttributeModifier::SetNextLabelImpl, + StepperItemAttributeModifier::SetStatusImpl, + }; + return &ArkUIStepperItemModifierImpl; + } + + const GENERATED_ArkUISwiperModifier* GetSwiperModifier() + { + static const GENERATED_ArkUISwiperModifier ArkUISwiperModifierImpl { + SwiperModifier::ConstructImpl, + SwiperInterfaceModifier::SetSwiperOptionsImpl, + SwiperAttributeModifier::SetIndexImpl, + SwiperAttributeModifier::SetIntervalImpl, + SwiperAttributeModifier::SetIndicatorImpl, + SwiperAttributeModifier::SetLoopImpl, + SwiperAttributeModifier::SetDurationImpl, + SwiperAttributeModifier::SetVerticalImpl, + SwiperAttributeModifier::SetItemSpaceImpl, + SwiperAttributeModifier::SetDisplayModeImpl, + SwiperAttributeModifier::SetCachedCount0Impl, + SwiperAttributeModifier::SetEffectModeImpl, + SwiperAttributeModifier::SetDisableSwipeImpl, + SwiperAttributeModifier::SetCurveImpl, + SwiperAttributeModifier::SetOnChangeImpl, + SwiperAttributeModifier::SetOnSelectedImpl, + SwiperAttributeModifier::SetOnUnselectedImpl, + SwiperAttributeModifier::SetOnAnimationStartImpl, + SwiperAttributeModifier::SetOnAnimationEndImpl, + SwiperAttributeModifier::SetOnGestureSwipeImpl, + SwiperAttributeModifier::SetNestedScrollImpl, + SwiperAttributeModifier::SetCustomContentTransitionImpl, + SwiperAttributeModifier::SetOnContentDidScrollImpl, + SwiperAttributeModifier::SetIndicatorInteractiveImpl, + SwiperAttributeModifier::SetPageFlipModeImpl, + SwiperAttributeModifier::SetOnContentWillScrollImpl, + SwiperAttributeModifier::SetAutoPlayImpl, + SwiperAttributeModifier::SetDisplayArrowImpl, + SwiperAttributeModifier::SetCachedCount1Impl, + SwiperAttributeModifier::SetDisplayCountImpl, + SwiperAttributeModifier::SetPrevMarginImpl, + SwiperAttributeModifier::SetNextMarginImpl, + }; + return &ArkUISwiperModifierImpl; + } + + const GENERATED_ArkUISymbolGlyphModifier* GetSymbolGlyphModifier() + { + static const GENERATED_ArkUISymbolGlyphModifier ArkUISymbolGlyphModifierImpl { + SymbolGlyphModifier::ConstructImpl, + SymbolGlyphInterfaceModifier::SetSymbolGlyphOptionsImpl, + SymbolGlyphAttributeModifier::SetFontSizeImpl, + SymbolGlyphAttributeModifier::SetFontColorImpl, + SymbolGlyphAttributeModifier::SetFontWeightImpl, + SymbolGlyphAttributeModifier::SetEffectStrategyImpl, + SymbolGlyphAttributeModifier::SetRenderingStrategyImpl, + SymbolGlyphAttributeModifier::SetMinFontScaleImpl, + SymbolGlyphAttributeModifier::SetMaxFontScaleImpl, + SymbolGlyphAttributeModifier::SetSymbolEffectImpl, + }; + return &ArkUISymbolGlyphModifierImpl; + } + + const GENERATED_ArkUISymbolSpanModifier* GetSymbolSpanModifier() + { + static const GENERATED_ArkUISymbolSpanModifier ArkUISymbolSpanModifierImpl { + SymbolSpanModifier::ConstructImpl, + SymbolSpanInterfaceModifier::SetSymbolSpanOptionsImpl, + SymbolSpanAttributeModifier::SetFontSizeImpl, + SymbolSpanAttributeModifier::SetFontColorImpl, + SymbolSpanAttributeModifier::SetFontWeightImpl, + SymbolSpanAttributeModifier::SetEffectStrategyImpl, + SymbolSpanAttributeModifier::SetRenderingStrategyImpl, + }; + return &ArkUISymbolSpanModifierImpl; + } + + const GENERATED_ArkUITabContentModifier* GetTabContentModifier() + { + static const GENERATED_ArkUITabContentModifier ArkUITabContentModifierImpl { + TabContentModifier::ConstructImpl, + TabContentInterfaceModifier::SetTabContentOptionsImpl, + TabContentAttributeModifier::SetTabBarImpl, + TabContentAttributeModifier::SetOnWillShowImpl, + TabContentAttributeModifier::SetOnWillHideImpl, + }; + return &ArkUITabContentModifierImpl; + } + + const GENERATED_ArkUITabsModifier* GetTabsModifier() + { + static const GENERATED_ArkUITabsModifier ArkUITabsModifierImpl { + TabsModifier::ConstructImpl, + TabsInterfaceModifier::SetTabsOptionsImpl, + TabsAttributeModifier::SetVerticalImpl, + TabsAttributeModifier::SetBarPositionImpl, + TabsAttributeModifier::SetScrollableImpl, + TabsAttributeModifier::SetBarWidthImpl, + TabsAttributeModifier::SetBarHeightImpl, + TabsAttributeModifier::SetAnimationDurationImpl, + TabsAttributeModifier::SetAnimationModeImpl, + TabsAttributeModifier::SetEdgeEffectImpl, + TabsAttributeModifier::SetOnChangeImpl, + TabsAttributeModifier::SetOnSelectedImpl, + TabsAttributeModifier::SetOnTabBarClickImpl, + TabsAttributeModifier::SetOnUnselectedImpl, + TabsAttributeModifier::SetOnAnimationStartImpl, + TabsAttributeModifier::SetOnAnimationEndImpl, + TabsAttributeModifier::SetOnGestureSwipeImpl, + TabsAttributeModifier::SetFadingEdgeImpl, + TabsAttributeModifier::SetDividerImpl, + TabsAttributeModifier::SetBarOverlapImpl, + TabsAttributeModifier::SetBarBackgroundColorImpl, + TabsAttributeModifier::SetBarGridAlignImpl, + TabsAttributeModifier::SetCustomContentTransitionImpl, + TabsAttributeModifier::SetBarBackgroundBlurStyle0Impl, + TabsAttributeModifier::SetPageFlipModeImpl, + TabsAttributeModifier::SetBarBackgroundEffectImpl, + TabsAttributeModifier::SetOnContentWillChangeImpl, + TabsAttributeModifier::SetBarModeImpl, + TabsAttributeModifier::SetBarBackgroundBlurStyle1Impl, + TabsAttributeModifier::SetCachedMaxCountImpl, + }; + return &ArkUITabsModifierImpl; + } + + const GENERATED_ArkUITextModifier* GetTextModifier() + { + static const GENERATED_ArkUITextModifier ArkUITextModifierImpl { + TextModifier::ConstructImpl, + TextInterfaceModifier::SetTextOptionsImpl, + TextAttributeModifier::SetFontColorImpl, + TextAttributeModifier::SetFontSizeImpl, + TextAttributeModifier::SetMinFontSizeImpl, + TextAttributeModifier::SetMaxFontSizeImpl, + TextAttributeModifier::SetMinFontScaleImpl, + TextAttributeModifier::SetMaxFontScaleImpl, + TextAttributeModifier::SetFontStyleImpl, + TextAttributeModifier::SetLineSpacingImpl, + TextAttributeModifier::SetTextAlignImpl, + TextAttributeModifier::SetLineHeightImpl, + TextAttributeModifier::SetTextOverflowImpl, + TextAttributeModifier::SetFontFamilyImpl, + TextAttributeModifier::SetMaxLinesImpl, + TextAttributeModifier::SetDecorationImpl, + TextAttributeModifier::SetLetterSpacingImpl, + TextAttributeModifier::SetTextCaseImpl, + TextAttributeModifier::SetBaselineOffsetImpl, + TextAttributeModifier::SetCopyOptionImpl, + TextAttributeModifier::SetDraggableImpl, + TextAttributeModifier::SetTextShadowImpl, + TextAttributeModifier::SetHeightAdaptivePolicyImpl, + TextAttributeModifier::SetTextIndentImpl, + TextAttributeModifier::SetWordBreakImpl, + TextAttributeModifier::SetLineBreakStrategyImpl, + TextAttributeModifier::SetOnCopyImpl, + TextAttributeModifier::SetCaretColorImpl, + TextAttributeModifier::SetSelectedBackgroundColorImpl, + TextAttributeModifier::SetEllipsisModeImpl, + TextAttributeModifier::SetEnableDataDetectorImpl, + TextAttributeModifier::SetDataDetectorConfigImpl, + TextAttributeModifier::SetOnTextSelectionChangeImpl, + TextAttributeModifier::SetFontFeatureImpl, + TextAttributeModifier::SetMarqueeOptionsImpl, + TextAttributeModifier::SetOnMarqueeStateChangeImpl, + TextAttributeModifier::SetPrivacySensitiveImpl, + TextAttributeModifier::SetTextSelectableImpl, + TextAttributeModifier::SetEditMenuOptionsImpl, + TextAttributeModifier::SetHalfLeadingImpl, + TextAttributeModifier::SetEnableHapticFeedbackImpl, + TextAttributeModifier::SetFontImpl, + TextAttributeModifier::SetFontWeightImpl, + TextAttributeModifier::SetSelectionImpl, + TextAttributeModifier::SetBindSelectionMenuImpl, + }; + return &ArkUITextModifierImpl; + } + + const GENERATED_ArkUITextAreaModifier* GetTextAreaModifier() + { + static const GENERATED_ArkUITextAreaModifier ArkUITextAreaModifierImpl { + TextAreaModifier::ConstructImpl, + TextAreaInterfaceModifier::SetTextAreaOptionsImpl, + TextAreaAttributeModifier::SetPlaceholderColorImpl, + TextAreaAttributeModifier::SetPlaceholderFontImpl, + TextAreaAttributeModifier::SetEnterKeyTypeImpl, + TextAreaAttributeModifier::SetTextAlignImpl, + TextAreaAttributeModifier::SetCaretColorImpl, + TextAreaAttributeModifier::SetFontColorImpl, + TextAreaAttributeModifier::SetFontSizeImpl, + TextAreaAttributeModifier::SetFontStyleImpl, + TextAreaAttributeModifier::SetFontWeightImpl, + TextAreaAttributeModifier::SetFontFamilyImpl, + TextAreaAttributeModifier::SetTextOverflowImpl, + TextAreaAttributeModifier::SetTextIndentImpl, + TextAreaAttributeModifier::SetCaretStyleImpl, + TextAreaAttributeModifier::SetSelectedBackgroundColorImpl, + TextAreaAttributeModifier::SetOnSubmitImpl, + TextAreaAttributeModifier::SetOnChangeImpl, + TextAreaAttributeModifier::SetOnTextSelectionChangeImpl, + TextAreaAttributeModifier::SetOnContentScrollImpl, + TextAreaAttributeModifier::SetOnEditChangeImpl, + TextAreaAttributeModifier::SetOnCopyImpl, + TextAreaAttributeModifier::SetOnCutImpl, + TextAreaAttributeModifier::SetOnPasteImpl, + TextAreaAttributeModifier::SetCopyOptionImpl, + TextAreaAttributeModifier::SetEnableKeyboardOnFocusImpl, + TextAreaAttributeModifier::SetMaxLengthImpl, + TextAreaAttributeModifier::SetStyleImpl, + TextAreaAttributeModifier::SetBarStateImpl, + TextAreaAttributeModifier::SetSelectionMenuHiddenImpl, + TextAreaAttributeModifier::SetMinFontSizeImpl, + TextAreaAttributeModifier::SetMaxFontSizeImpl, + TextAreaAttributeModifier::SetMinFontScaleImpl, + TextAreaAttributeModifier::SetMaxFontScaleImpl, + TextAreaAttributeModifier::SetHeightAdaptivePolicyImpl, + TextAreaAttributeModifier::SetMaxLinesImpl, + TextAreaAttributeModifier::SetWordBreakImpl, + TextAreaAttributeModifier::SetLineBreakStrategyImpl, + TextAreaAttributeModifier::SetDecorationImpl, + TextAreaAttributeModifier::SetLetterSpacingImpl, + TextAreaAttributeModifier::SetLineSpacingImpl, + TextAreaAttributeModifier::SetLineHeightImpl, + TextAreaAttributeModifier::SetTypeImpl, + TextAreaAttributeModifier::SetEnableAutoFillImpl, + TextAreaAttributeModifier::SetContentTypeImpl, + TextAreaAttributeModifier::SetFontFeatureImpl, + TextAreaAttributeModifier::SetOnWillInsertImpl, + TextAreaAttributeModifier::SetOnDidInsertImpl, + TextAreaAttributeModifier::SetOnWillDeleteImpl, + TextAreaAttributeModifier::SetOnDidDeleteImpl, + TextAreaAttributeModifier::SetEditMenuOptionsImpl, + TextAreaAttributeModifier::SetEnablePreviewTextImpl, + TextAreaAttributeModifier::SetEnableHapticFeedbackImpl, + TextAreaAttributeModifier::SetAutoCapitalizationModeImpl, + TextAreaAttributeModifier::SetHalfLeadingImpl, + TextAreaAttributeModifier::SetEllipsisModeImpl, + TextAreaAttributeModifier::SetStopBackPressImpl, + TextAreaAttributeModifier::SetOnWillChangeImpl, + TextAreaAttributeModifier::SetKeyboardAppearanceImpl, + TextAreaAttributeModifier::SetInputFilterImpl, + TextAreaAttributeModifier::SetShowCounterImpl, + TextAreaAttributeModifier::SetCustomKeyboardImpl, + }; + return &ArkUITextAreaModifierImpl; + } + + const GENERATED_ArkUITextClockModifier* GetTextClockModifier() + { + static const GENERATED_ArkUITextClockModifier ArkUITextClockModifierImpl { + TextClockModifier::ConstructImpl, + TextClockInterfaceModifier::SetTextClockOptionsImpl, + TextClockAttributeModifier::SetFormatImpl, + TextClockAttributeModifier::SetOnDateChangeImpl, + TextClockAttributeModifier::SetFontColorImpl, + TextClockAttributeModifier::SetFontSizeImpl, + TextClockAttributeModifier::SetFontStyleImpl, + TextClockAttributeModifier::SetFontWeightImpl, + TextClockAttributeModifier::SetFontFamilyImpl, + TextClockAttributeModifier::SetTextShadowImpl, + TextClockAttributeModifier::SetFontFeatureImpl, + TextClockAttributeModifier::SetDateTimeOptionsImpl, + }; + return &ArkUITextClockModifierImpl; + } + + const GENERATED_ArkUITextInputModifier* GetTextInputModifier() + { + static const GENERATED_ArkUITextInputModifier ArkUITextInputModifierImpl { + TextInputModifier::ConstructImpl, + TextInputInterfaceModifier::SetTextInputOptionsImpl, + TextInputAttributeModifier::SetTypeImpl, + TextInputAttributeModifier::SetContentTypeImpl, + TextInputAttributeModifier::SetPlaceholderColorImpl, + TextInputAttributeModifier::SetTextOverflowImpl, + TextInputAttributeModifier::SetTextIndentImpl, + TextInputAttributeModifier::SetPlaceholderFontImpl, + TextInputAttributeModifier::SetEnterKeyTypeImpl, + TextInputAttributeModifier::SetCaretColorImpl, + TextInputAttributeModifier::SetOnEditChangeImpl, + TextInputAttributeModifier::SetOnSubmitImpl, + TextInputAttributeModifier::SetOnChangeImpl, + TextInputAttributeModifier::SetOnTextSelectionChangeImpl, + TextInputAttributeModifier::SetOnContentScrollImpl, + TextInputAttributeModifier::SetMaxLengthImpl, + TextInputAttributeModifier::SetFontColorImpl, + TextInputAttributeModifier::SetFontSizeImpl, + TextInputAttributeModifier::SetFontStyleImpl, + TextInputAttributeModifier::SetFontWeightImpl, + TextInputAttributeModifier::SetFontFamilyImpl, + TextInputAttributeModifier::SetOnCopyImpl, + TextInputAttributeModifier::SetOnCutImpl, + TextInputAttributeModifier::SetOnPasteImpl, + TextInputAttributeModifier::SetCopyOptionImpl, + TextInputAttributeModifier::SetShowPasswordIconImpl, + TextInputAttributeModifier::SetTextAlignImpl, + TextInputAttributeModifier::SetStyleImpl, + TextInputAttributeModifier::SetCaretStyleImpl, + TextInputAttributeModifier::SetSelectedBackgroundColorImpl, + TextInputAttributeModifier::SetCaretPositionImpl, + TextInputAttributeModifier::SetEnableKeyboardOnFocusImpl, + TextInputAttributeModifier::SetPasswordIconImpl, + TextInputAttributeModifier::SetShowErrorImpl, + TextInputAttributeModifier::SetShowUnitImpl, + TextInputAttributeModifier::SetShowUnderlineImpl, + TextInputAttributeModifier::SetUnderlineColorImpl, + TextInputAttributeModifier::SetSelectionMenuHiddenImpl, + TextInputAttributeModifier::SetBarStateImpl, + TextInputAttributeModifier::SetMaxLinesImpl, + TextInputAttributeModifier::SetWordBreakImpl, + TextInputAttributeModifier::SetLineBreakStrategyImpl, + TextInputAttributeModifier::SetCancelButtonImpl, + TextInputAttributeModifier::SetSelectAllImpl, + TextInputAttributeModifier::SetMinFontSizeImpl, + TextInputAttributeModifier::SetMaxFontSizeImpl, + TextInputAttributeModifier::SetMinFontScaleImpl, + TextInputAttributeModifier::SetMaxFontScaleImpl, + TextInputAttributeModifier::SetHeightAdaptivePolicyImpl, + TextInputAttributeModifier::SetEnableAutoFillImpl, + TextInputAttributeModifier::SetDecorationImpl, + TextInputAttributeModifier::SetLetterSpacingImpl, + TextInputAttributeModifier::SetLineHeightImpl, + TextInputAttributeModifier::SetPasswordRulesImpl, + TextInputAttributeModifier::SetFontFeatureImpl, + TextInputAttributeModifier::SetShowPasswordImpl, + TextInputAttributeModifier::SetOnSecurityStateChangeImpl, + TextInputAttributeModifier::SetOnWillInsertImpl, + TextInputAttributeModifier::SetOnDidInsertImpl, + TextInputAttributeModifier::SetOnWillDeleteImpl, + TextInputAttributeModifier::SetOnDidDeleteImpl, + TextInputAttributeModifier::SetEditMenuOptionsImpl, + TextInputAttributeModifier::SetEnablePreviewTextImpl, + TextInputAttributeModifier::SetEnableHapticFeedbackImpl, + TextInputAttributeModifier::SetAutoCapitalizationModeImpl, + TextInputAttributeModifier::SetHalfLeadingImpl, + TextInputAttributeModifier::SetEllipsisModeImpl, + TextInputAttributeModifier::SetStopBackPressImpl, + TextInputAttributeModifier::SetOnWillChangeImpl, + TextInputAttributeModifier::SetKeyboardAppearanceImpl, + TextInputAttributeModifier::SetInputFilterImpl, + TextInputAttributeModifier::SetCustomKeyboardImpl, + TextInputAttributeModifier::SetShowCounterImpl, + }; + return &ArkUITextInputModifierImpl; + } + + const GENERATED_ArkUITextPickerModifier* GetTextPickerModifier() + { + static const GENERATED_ArkUITextPickerModifier ArkUITextPickerModifierImpl { + TextPickerModifier::ConstructImpl, + TextPickerInterfaceModifier::SetTextPickerOptionsImpl, + TextPickerAttributeModifier::SetDefaultPickerItemHeightImpl, + TextPickerAttributeModifier::SetCanLoopImpl, + TextPickerAttributeModifier::SetDisappearTextStyleImpl, + TextPickerAttributeModifier::SetTextStyleImpl, + TextPickerAttributeModifier::SetSelectedTextStyleImpl, + TextPickerAttributeModifier::SetDisableTextStyleAnimationImpl, + TextPickerAttributeModifier::SetDefaultTextStyleImpl, + TextPickerAttributeModifier::SetOnChangeImpl, + TextPickerAttributeModifier::SetOnScrollStopImpl, + TextPickerAttributeModifier::SetOnEnterSelectedAreaImpl, + TextPickerAttributeModifier::SetSelectedIndexImpl, + TextPickerAttributeModifier::SetDividerImpl, + TextPickerAttributeModifier::SetGradientHeightImpl, + TextPickerAttributeModifier::SetEnableHapticFeedbackImpl, + TextPickerAttributeModifier::SetDigitalCrownSensitivityImpl, + }; + return &ArkUITextPickerModifierImpl; + } + + const GENERATED_ArkUITextTimerModifier* GetTextTimerModifier() + { + static const GENERATED_ArkUITextTimerModifier ArkUITextTimerModifierImpl { + TextTimerModifier::ConstructImpl, + TextTimerInterfaceModifier::SetTextTimerOptionsImpl, + TextTimerAttributeModifier::SetFormatImpl, + TextTimerAttributeModifier::SetFontColorImpl, + TextTimerAttributeModifier::SetFontSizeImpl, + TextTimerAttributeModifier::SetFontStyleImpl, + TextTimerAttributeModifier::SetFontWeightImpl, + TextTimerAttributeModifier::SetFontFamilyImpl, + TextTimerAttributeModifier::SetOnTimerImpl, + TextTimerAttributeModifier::SetTextShadowImpl, + }; + return &ArkUITextTimerModifierImpl; + } + + const GENERATED_ArkUITimePickerModifier* GetTimePickerModifier() + { + static const GENERATED_ArkUITimePickerModifier ArkUITimePickerModifierImpl { + TimePickerModifier::ConstructImpl, + TimePickerInterfaceModifier::SetTimePickerOptionsImpl, + TimePickerAttributeModifier::SetUseMilitaryTimeImpl, + TimePickerAttributeModifier::SetLoopImpl, + TimePickerAttributeModifier::SetDisappearTextStyleImpl, + TimePickerAttributeModifier::SetTextStyleImpl, + TimePickerAttributeModifier::SetSelectedTextStyleImpl, + TimePickerAttributeModifier::SetDateTimeOptionsImpl, + TimePickerAttributeModifier::SetOnChangeImpl, + TimePickerAttributeModifier::SetOnEnterSelectedAreaImpl, + TimePickerAttributeModifier::SetEnableHapticFeedbackImpl, + TimePickerAttributeModifier::SetDigitalCrownSensitivityImpl, + TimePickerAttributeModifier::SetEnableCascadeImpl, + }; + return &ArkUITimePickerModifierImpl; + } + + const GENERATED_ArkUIToggleModifier* GetToggleModifier() + { + static const GENERATED_ArkUIToggleModifier ArkUIToggleModifierImpl { + ToggleModifier::ConstructImpl, + ToggleInterfaceModifier::SetToggleOptionsImpl, + ToggleAttributeModifier::SetOnChangeImpl, + ToggleAttributeModifier::SetSelectedColorImpl, + ToggleAttributeModifier::SetSwitchPointColorImpl, + ToggleAttributeModifier::SetSwitchStyleImpl, + }; + return &ArkUIToggleModifierImpl; + } + + const GENERATED_ArkUIToolBarItemModifier* GetToolBarItemModifier() + { + static const GENERATED_ArkUIToolBarItemModifier ArkUIToolBarItemModifierImpl { + ToolBarItemModifier::ConstructImpl, + ToolBarItemInterfaceModifier::SetToolBarItemOptionsImpl, + }; + return &ArkUIToolBarItemModifierImpl; + } + + const GENERATED_ArkUIUIExtensionComponentModifier* GetUIExtensionComponentModifier() + { + static const GENERATED_ArkUIUIExtensionComponentModifier ArkUIUIExtensionComponentModifierImpl { + UIExtensionComponentModifier::ConstructImpl, + UIExtensionComponentInterfaceModifier::SetUIExtensionComponentOptionsImpl, + UIExtensionComponentAttributeModifier::SetOnRemoteReadyImpl, + UIExtensionComponentAttributeModifier::SetOnReceiveImpl, + UIExtensionComponentAttributeModifier::SetOnErrorImpl, + UIExtensionComponentAttributeModifier::SetOnTerminatedImpl, + UIExtensionComponentAttributeModifier::SetOnDrawReadyImpl, + }; + return &ArkUIUIExtensionComponentModifierImpl; + } + + const GENERATED_ArkUIVideoModifier* GetVideoModifier() + { + static const GENERATED_ArkUIVideoModifier ArkUIVideoModifierImpl { + VideoModifier::ConstructImpl, + VideoInterfaceModifier::SetVideoOptionsImpl, + VideoAttributeModifier::SetMutedImpl, + VideoAttributeModifier::SetAutoPlayImpl, + VideoAttributeModifier::SetControlsImpl, + VideoAttributeModifier::SetLoopImpl, + VideoAttributeModifier::SetObjectFitImpl, + VideoAttributeModifier::SetOnStartImpl, + VideoAttributeModifier::SetOnPauseImpl, + VideoAttributeModifier::SetOnFinishImpl, + VideoAttributeModifier::SetOnFullscreenChangeImpl, + VideoAttributeModifier::SetOnPreparedImpl, + VideoAttributeModifier::SetOnSeekingImpl, + VideoAttributeModifier::SetOnSeekedImpl, + VideoAttributeModifier::SetOnUpdateImpl, + VideoAttributeModifier::SetOnErrorImpl, + VideoAttributeModifier::SetOnStopImpl, + VideoAttributeModifier::SetEnableAnalyzerImpl, + VideoAttributeModifier::SetAnalyzerConfigImpl, + VideoAttributeModifier::SetEnableShortcutKeyImpl, + }; + return &ArkUIVideoModifierImpl; + } + + const GENERATED_ArkUIWaterFlowModifier* GetWaterFlowModifier() + { + static const GENERATED_ArkUIWaterFlowModifier ArkUIWaterFlowModifierImpl { + WaterFlowModifier::ConstructImpl, + WaterFlowInterfaceModifier::SetWaterFlowOptionsImpl, + WaterFlowAttributeModifier::SetColumnsTemplateImpl, + WaterFlowAttributeModifier::SetItemConstraintSizeImpl, + WaterFlowAttributeModifier::SetRowsTemplateImpl, + WaterFlowAttributeModifier::SetColumnsGapImpl, + WaterFlowAttributeModifier::SetRowsGapImpl, + WaterFlowAttributeModifier::SetLayoutDirectionImpl, + WaterFlowAttributeModifier::SetCachedCount0Impl, + WaterFlowAttributeModifier::SetOnScrollFrameBeginImpl, + WaterFlowAttributeModifier::SetOnScrollIndexImpl, + WaterFlowAttributeModifier::SetOnWillScrollImpl, + WaterFlowAttributeModifier::SetOnDidScrollImpl, + WaterFlowAttributeModifier::SetCachedCount1Impl, + }; + return &ArkUIWaterFlowModifierImpl; + } + + const GENERATED_ArkUIWebModifier* GetWebModifier() + { + static const GENERATED_ArkUIWebModifier ArkUIWebModifierImpl { + WebModifier::ConstructImpl, + WebInterfaceModifier::SetWebOptionsImpl, + WebAttributeModifier::SetJavaScriptAccessImpl, + WebAttributeModifier::SetFileAccessImpl, + WebAttributeModifier::SetOnlineImageAccessImpl, + WebAttributeModifier::SetDomStorageAccessImpl, + WebAttributeModifier::SetImageAccessImpl, + WebAttributeModifier::SetMixedModeImpl, + WebAttributeModifier::SetZoomAccessImpl, + WebAttributeModifier::SetGeolocationAccessImpl, + WebAttributeModifier::SetJavaScriptProxyImpl, + WebAttributeModifier::SetCacheModeImpl, + WebAttributeModifier::SetDarkModeImpl, + WebAttributeModifier::SetForceDarkAccessImpl, + WebAttributeModifier::SetMediaOptionsImpl, + WebAttributeModifier::SetOverviewModeAccessImpl, + WebAttributeModifier::SetOverScrollModeImpl, + WebAttributeModifier::SetBlurOnKeyboardHideModeImpl, + WebAttributeModifier::SetTextZoomRatioImpl, + WebAttributeModifier::SetDatabaseAccessImpl, + WebAttributeModifier::SetInitialScaleImpl, + WebAttributeModifier::SetMetaViewportImpl, + WebAttributeModifier::SetOnPageEndImpl, + WebAttributeModifier::SetOnPageBeginImpl, + WebAttributeModifier::SetOnProgressChangeImpl, + WebAttributeModifier::SetOnTitleReceiveImpl, + WebAttributeModifier::SetOnGeolocationHideImpl, + WebAttributeModifier::SetOnGeolocationShowImpl, + WebAttributeModifier::SetOnRequestSelectedImpl, + WebAttributeModifier::SetOnAlertImpl, + WebAttributeModifier::SetOnBeforeUnloadImpl, + WebAttributeModifier::SetOnConfirmImpl, + WebAttributeModifier::SetOnPromptImpl, + WebAttributeModifier::SetOnConsoleImpl, + WebAttributeModifier::SetOnErrorReceiveImpl, + WebAttributeModifier::SetOnHttpErrorReceiveImpl, + WebAttributeModifier::SetOnDownloadStartImpl, + WebAttributeModifier::SetOnRefreshAccessedHistoryImpl, + WebAttributeModifier::SetOnRenderExitedImpl, + WebAttributeModifier::SetOnShowFileSelectorImpl, + WebAttributeModifier::SetOnResourceLoadImpl, + WebAttributeModifier::SetOnFullScreenExitImpl, + WebAttributeModifier::SetOnFullScreenEnterImpl, + WebAttributeModifier::SetOnScaleChangeImpl, + WebAttributeModifier::SetOnHttpAuthRequestImpl, + WebAttributeModifier::SetOnInterceptRequestImpl, + WebAttributeModifier::SetOnPermissionRequestImpl, + WebAttributeModifier::SetOnScreenCaptureRequestImpl, + WebAttributeModifier::SetOnContextMenuShowImpl, + WebAttributeModifier::SetOnContextMenuHideImpl, + WebAttributeModifier::SetMediaPlayGestureAccessImpl, + WebAttributeModifier::SetOnSearchResultReceiveImpl, + WebAttributeModifier::SetOnScrollImpl, + WebAttributeModifier::SetOnSslErrorEventReceiveImpl, + WebAttributeModifier::SetOnSslErrorEventImpl, + WebAttributeModifier::SetOnClientAuthenticationRequestImpl, + WebAttributeModifier::SetOnWindowNewImpl, + WebAttributeModifier::SetOnWindowExitImpl, + WebAttributeModifier::SetMultiWindowAccessImpl, + WebAttributeModifier::SetOnInterceptKeyEventImpl, + WebAttributeModifier::SetWebStandardFontImpl, + WebAttributeModifier::SetWebSerifFontImpl, + WebAttributeModifier::SetWebSansSerifFontImpl, + WebAttributeModifier::SetWebFixedFontImpl, + WebAttributeModifier::SetWebFantasyFontImpl, + WebAttributeModifier::SetWebCursiveFontImpl, + WebAttributeModifier::SetDefaultFixedFontSizeImpl, + WebAttributeModifier::SetDefaultFontSizeImpl, + WebAttributeModifier::SetMinFontSizeImpl, + WebAttributeModifier::SetMinLogicalFontSizeImpl, + WebAttributeModifier::SetDefaultTextEncodingFormatImpl, + WebAttributeModifier::SetForceDisplayScrollBarImpl, + WebAttributeModifier::SetBlockNetworkImpl, + WebAttributeModifier::SetHorizontalScrollBarAccessImpl, + WebAttributeModifier::SetVerticalScrollBarAccessImpl, + WebAttributeModifier::SetOnTouchIconUrlReceivedImpl, + WebAttributeModifier::SetOnFaviconReceivedImpl, + WebAttributeModifier::SetOnPageVisibleImpl, + WebAttributeModifier::SetOnDataResubmittedImpl, + WebAttributeModifier::SetPinchSmoothImpl, + WebAttributeModifier::SetAllowWindowOpenMethodImpl, + WebAttributeModifier::SetOnAudioStateChangedImpl, + WebAttributeModifier::SetOnFirstContentfulPaintImpl, + WebAttributeModifier::SetOnFirstMeaningfulPaintImpl, + WebAttributeModifier::SetOnLargestContentfulPaintImpl, + WebAttributeModifier::SetOnLoadInterceptImpl, + WebAttributeModifier::SetOnControllerAttachedImpl, + WebAttributeModifier::SetOnOverScrollImpl, + WebAttributeModifier::SetOnSafeBrowsingCheckResultImpl, + WebAttributeModifier::SetOnNavigationEntryCommittedImpl, + WebAttributeModifier::SetOnIntelligentTrackingPreventionResultImpl, + WebAttributeModifier::SetJavaScriptOnDocumentStartImpl, + WebAttributeModifier::SetJavaScriptOnDocumentEndImpl, + WebAttributeModifier::SetLayoutModeImpl, + WebAttributeModifier::SetNestedScrollImpl, + WebAttributeModifier::SetEnableNativeEmbedModeImpl, + WebAttributeModifier::SetOnNativeEmbedLifecycleChangeImpl, + WebAttributeModifier::SetOnNativeEmbedVisibilityChangeImpl, + WebAttributeModifier::SetOnNativeEmbedGestureEventImpl, + WebAttributeModifier::SetCopyOptionsImpl, + WebAttributeModifier::SetOnOverrideUrlLoadingImpl, + WebAttributeModifier::SetTextAutosizingImpl, + WebAttributeModifier::SetEnableNativeMediaPlayerImpl, + WebAttributeModifier::SetOnRenderProcessNotRespondingImpl, + WebAttributeModifier::SetOnRenderProcessRespondingImpl, + WebAttributeModifier::SetOnViewportFitChangedImpl, + WebAttributeModifier::SetOnInterceptKeyboardAttachImpl, + WebAttributeModifier::SetOnAdsBlockedImpl, + WebAttributeModifier::SetKeyboardAvoidModeImpl, + WebAttributeModifier::SetEditMenuOptionsImpl, + WebAttributeModifier::SetEnableHapticFeedbackImpl, + WebAttributeModifier::SetOptimizeParserBudgetImpl, + WebAttributeModifier::SetEnableFollowSystemFontWeightImpl, + WebAttributeModifier::SetEnableWebAVSessionImpl, + WebAttributeModifier::SetRunJavaScriptOnDocumentStartImpl, + WebAttributeModifier::SetRunJavaScriptOnDocumentEndImpl, + WebAttributeModifier::SetRunJavaScriptOnHeadEndImpl, + WebAttributeModifier::SetNativeEmbedOptionsImpl, + WebAttributeModifier::SetRegisterNativeEmbedRuleImpl, + WebAttributeModifier::SetBindSelectionMenuImpl, + }; + return &ArkUIWebModifierImpl; + } + + const GENERATED_ArkUIWindowSceneModifier* GetWindowSceneModifier() + { + static const GENERATED_ArkUIWindowSceneModifier ArkUIWindowSceneModifierImpl { + WindowSceneModifier::ConstructImpl, + WindowSceneInterfaceModifier::SetWindowSceneOptionsImpl, + WindowSceneAttributeModifier::SetAttractionEffectImpl, + }; + return &ArkUIWindowSceneModifierImpl; + } + + const GENERATED_ArkUIWithThemeModifier* GetWithThemeModifier() + { + static const GENERATED_ArkUIWithThemeModifier ArkUIWithThemeModifierImpl { + WithThemeModifier::ConstructImpl, + WithThemeInterfaceModifier::SetWithThemeOptionsImpl, + }; + return &ArkUIWithThemeModifierImpl; + } + + const GENERATED_ArkUIXComponentModifier* GetXComponentModifier() + { + static const GENERATED_ArkUIXComponentModifier ArkUIXComponentModifierImpl { + XComponentModifier::ConstructImpl, + XComponentInterfaceModifier::SetXComponentOptionsImpl, + XComponentAttributeModifier::SetOnLoadImpl, + XComponentAttributeModifier::SetOnDestroyImpl, + XComponentAttributeModifier::SetEnableAnalyzerImpl, + XComponentAttributeModifier::SetEnableSecureImpl, + XComponentAttributeModifier::SetHdrBrightnessImpl, + }; + return &ArkUIXComponentModifierImpl; + } + + const GENERATED_ArkUINodeModifiers* GENERATED_GetArkUINodeModifiers() + { + static const GENERATED_ArkUINodeModifiers modifiersImpl = { + GetAlphabetIndexerModifier, + GetAnimatorModifier, + GetBadgeModifier, + GetBaseSpanModifier, + GetBlankModifier, + GetButtonModifier, + GetCalendarPickerModifier, + GetCanvasModifier, + GetCheckboxModifier, + GetCheckboxGroupModifier, + GetCircleModifier, + GetColumnModifier, + GetColumnSplitModifier, + GetCommonMethodModifier, + GetCommonShapeMethodModifier, + GetComponentRootModifier, + GetContainerSpanModifier, + GetCounterModifier, + GetCustomBuilderRootModifier, + GetCustomLayoutRootModifier, + GetDataPanelModifier, + GetDatePickerModifier, + GetDividerModifier, + GetEffectComponentModifier, + GetEllipseModifier, + GetEmbeddedComponentModifier, + GetFlexModifier, + GetFlowItemModifier, + GetFolderStackModifier, + GetFormComponentModifier, + GetFormLinkModifier, + GetGaugeModifier, + GetGridModifier, + GetGridColModifier, + GetGridItemModifier, + GetGridRowModifier, + GetHyperlinkModifier, + GetImageModifier, + GetImageAnimatorModifier, + GetImageSpanModifier, + GetIndicatorComponentModifier, + GetLineModifier, + GetLinearIndicatorModifier, + GetListModifier, + GetListItemModifier, + GetListItemGroupModifier, + GetLoadingProgressModifier, + GetMarqueeModifier, + GetMediaCachedImageModifier, + GetMenuModifier, + GetMenuItemModifier, + GetMenuItemGroupModifier, + GetNavDestinationModifier, + GetNavigationModifier, + GetNodeContainerModifier, + GetPathModifier, + GetPatternLockModifier, + GetPluginComponentModifier, + GetPolygonModifier, + GetPolylineModifier, + GetProgressModifier, + GetQRCodeModifier, + GetRadioModifier, + GetRatingModifier, + GetRectModifier, + GetRefreshModifier, + GetRelativeContainerModifier, + GetRemoteWindowModifier, + GetRichEditorModifier, + GetRichTextModifier, + GetRootModifier, + GetRootSceneModifier, + GetRowModifier, + GetRowSplitModifier, + GetScreenModifier, + GetScrollModifier, + GetScrollableCommonMethodModifier, + GetScrollBarModifier, + GetSearchModifier, + GetSelectModifier, + GetShapeModifier, + GetSideBarContainerModifier, + GetSliderModifier, + GetSpanModifier, + GetStackModifier, + GetStepperModifier, + GetStepperItemModifier, + GetSwiperModifier, + GetSymbolGlyphModifier, + GetSymbolSpanModifier, + GetTabContentModifier, + GetTabsModifier, + GetTextModifier, + GetTextAreaModifier, + GetTextClockModifier, + GetTextInputModifier, + GetTextPickerModifier, + GetTextTimerModifier, + GetTimePickerModifier, + GetToggleModifier, + GetToolBarItemModifier, + GetUIExtensionComponentModifier, + GetVideoModifier, + GetWaterFlowModifier, + GetWebModifier, + GetWindowSceneModifier, + GetWithThemeModifier, + GetXComponentModifier, + }; + return &modifiersImpl; + } + namespace AccessibilityHoverEventAccessor { + void DestroyPeerImpl(Ark_AccessibilityHoverEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_AccessibilityHoverEvent ConstructImpl() + { + return {}; + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_AccessibilityHoverType GetTypeImpl(Ark_AccessibilityHoverEvent peer) + { + return {}; + } + void SetTypeImpl(Ark_AccessibilityHoverEvent peer, + Ark_AccessibilityHoverType type) + { + } + Ark_Number GetXImpl(Ark_AccessibilityHoverEvent peer) + { + return {}; + } + void SetXImpl(Ark_AccessibilityHoverEvent peer, + const Ark_Number* x) + { + } + Ark_Number GetYImpl(Ark_AccessibilityHoverEvent peer) + { + return {}; + } + void SetYImpl(Ark_AccessibilityHoverEvent peer, + const Ark_Number* y) + { + } + Ark_Number GetDisplayXImpl(Ark_AccessibilityHoverEvent peer) + { + return {}; + } + void SetDisplayXImpl(Ark_AccessibilityHoverEvent peer, + const Ark_Number* displayX) + { + } + Ark_Number GetDisplayYImpl(Ark_AccessibilityHoverEvent peer) + { + return {}; + } + void SetDisplayYImpl(Ark_AccessibilityHoverEvent peer, + const Ark_Number* displayY) + { + } + Ark_Number GetWindowXImpl(Ark_AccessibilityHoverEvent peer) + { + return {}; + } + void SetWindowXImpl(Ark_AccessibilityHoverEvent peer, + const Ark_Number* windowX) + { + } + Ark_Number GetWindowYImpl(Ark_AccessibilityHoverEvent peer) + { + return {}; + } + void SetWindowYImpl(Ark_AccessibilityHoverEvent peer, + const Ark_Number* windowY) + { + } + } // AccessibilityHoverEventAccessor + namespace AnimationExtenderAccessor { + void SetClipRectImpl(Ark_NativePointer node, + Ark_Float32 x, + Ark_Float32 y, + Ark_Float32 width, + Ark_Float32 height) + { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); + } + void OpenImplicitAnimationImpl(const Ark_AnimateParam* param) + { + } + void CloseImplicitAnimationImpl() + { + } + void StartDoubleAnimationImpl(Ark_NativePointer node, + const Ark_DoubleAnimationParam* param) + { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); + } + void AnimationTranslateImpl(Ark_NativePointer node, + const Ark_TranslateOptions* options) + { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); + } + } // AnimationExtenderAccessor + namespace AppearSymbolEffectAccessor { + void DestroyPeerImpl(Ark_AppearSymbolEffect peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_AppearSymbolEffect ConstructImpl(const Opt_EffectScope* scope) + { + return {}; + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Opt_EffectScope GetScopeImpl(Ark_AppearSymbolEffect peer) + { + return {}; + } + void SetScopeImpl(Ark_AppearSymbolEffect peer, + const Opt_EffectScope* scope) + { + } + } // AppearSymbolEffectAccessor + namespace AxisEventAccessor { + void DestroyPeerImpl(Ark_AxisEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_AxisEvent ConstructImpl() + { + return {}; + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Number GetHorizontalAxisValueImpl(Ark_AxisEvent peer) + { + return {}; + } + Ark_Number GetVerticalAxisValueImpl(Ark_AxisEvent peer) + { + return {}; + } + Ark_AxisAction GetActionImpl(Ark_AxisEvent peer) + { + return {}; + } + void SetActionImpl(Ark_AxisEvent peer, + Ark_AxisAction action) + { + } + Ark_Number GetDisplayXImpl(Ark_AxisEvent peer) + { + return {}; + } + void SetDisplayXImpl(Ark_AxisEvent peer, + const Ark_Number* displayX) + { + } + Ark_Number GetDisplayYImpl(Ark_AxisEvent peer) + { + return {}; + } + void SetDisplayYImpl(Ark_AxisEvent peer, + const Ark_Number* displayY) + { + } + Ark_Number GetWindowXImpl(Ark_AxisEvent peer) + { + return {}; + } + void SetWindowXImpl(Ark_AxisEvent peer, + const Ark_Number* windowX) + { + } + Ark_Number GetWindowYImpl(Ark_AxisEvent peer) + { + return {}; + } + void SetWindowYImpl(Ark_AxisEvent peer, + const Ark_Number* windowY) + { + } + Ark_Number GetXImpl(Ark_AxisEvent peer) + { + return {}; + } + void SetXImpl(Ark_AxisEvent peer, + const Ark_Number* x) + { + } + Ark_Number GetYImpl(Ark_AxisEvent peer) + { + return {}; + } + void SetYImpl(Ark_AxisEvent peer, + const Ark_Number* y) + { + } + Opt_Number GetScrollStepImpl(Ark_AxisEvent peer) + { + return {}; + } + void SetScrollStepImpl(Ark_AxisEvent peer, + const Opt_Number* scrollStep) + { + } + Callback_Void GetPropagationImpl(Ark_AxisEvent peer) + { + return {}; + } + void SetPropagationImpl(Ark_AxisEvent peer, + const Callback_Void* propagation) + { + } + } // AxisEventAccessor + namespace BackgroundColorStyleAccessor { + void DestroyPeerImpl(Ark_BackgroundColorStyle peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_BackgroundColorStyle ConstructImpl(const Ark_TextBackgroundStyle* textBackgroundStyle) + { + return {}; + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_TextBackgroundStyle GetTextBackgroundStyleImpl(Ark_BackgroundColorStyle peer) + { + return {}; + } + } // BackgroundColorStyleAccessor + namespace BaseContextAccessor { + void DestroyPeerImpl(Ark_BaseContext peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_BaseContext ConstructImpl() + { + return {}; + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + } // BaseContextAccessor + namespace BaseEventAccessor { + void DestroyPeerImpl(Ark_BaseEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_BaseEvent ConstructImpl() + { + return {}; + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_EventTarget GetTargetImpl(Ark_BaseEvent peer) + { + return {}; + } + void SetTargetImpl(Ark_BaseEvent peer, + const Ark_EventTarget* target) + { + } + Ark_Number GetTimestampImpl(Ark_BaseEvent peer) + { + return {}; + } + void SetTimestampImpl(Ark_BaseEvent peer, + const Ark_Number* timestamp) + { + } + Ark_SourceType GetSourceImpl(Ark_BaseEvent peer) + { + return {}; + } + void SetSourceImpl(Ark_BaseEvent peer, + Ark_SourceType source) + { + } + Opt_Number GetAxisHorizontalImpl(Ark_BaseEvent peer) + { + return {}; + } + void SetAxisHorizontalImpl(Ark_BaseEvent peer, + const Opt_Number* axisHorizontal) + { + } + Opt_Number GetAxisVerticalImpl(Ark_BaseEvent peer) + { + return {}; + } + void SetAxisVerticalImpl(Ark_BaseEvent peer, + const Opt_Number* axisVertical) + { + } + Ark_Number GetPressureImpl(Ark_BaseEvent peer) + { + return {}; + } + void SetPressureImpl(Ark_BaseEvent peer, + const Ark_Number* pressure) + { + } + Ark_Number GetTiltXImpl(Ark_BaseEvent peer) + { + return {}; + } + void SetTiltXImpl(Ark_BaseEvent peer, + const Ark_Number* tiltX) + { + } + Ark_Number GetTiltYImpl(Ark_BaseEvent peer) + { + return {}; + } + void SetTiltYImpl(Ark_BaseEvent peer, + const Ark_Number* tiltY) + { + } + Opt_Number GetRollAngleImpl(Ark_BaseEvent peer) + { + return {}; + } + void SetRollAngleImpl(Ark_BaseEvent peer, + const Opt_Number* rollAngle) + { + } + Ark_SourceTool GetSourceToolImpl(Ark_BaseEvent peer) + { + return {}; + } + void SetSourceToolImpl(Ark_BaseEvent peer, + Ark_SourceTool sourceTool) + { + } + Opt_ModifierKeyStateGetter GetGetModifierKeyStateImpl(Ark_BaseEvent peer) + { + return {}; + } + void SetGetModifierKeyStateImpl(Ark_BaseEvent peer, + const Opt_ModifierKeyStateGetter* getModifierKeyState) + { + } + Opt_Number GetDeviceIdImpl(Ark_BaseEvent peer) + { + return {}; + } + void SetDeviceIdImpl(Ark_BaseEvent peer, + const Opt_Number* deviceId) + { + } + Opt_Number GetTargetDisplayIdImpl(Ark_BaseEvent peer) + { + return {}; + } + void SetTargetDisplayIdImpl(Ark_BaseEvent peer, + const Opt_Number* targetDisplayId) + { + } + } // BaseEventAccessor + namespace BaseGestureEventAccessor { + void DestroyPeerImpl(Ark_BaseGestureEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_BaseGestureEvent ConstructImpl() + { + return {}; + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Array_FingerInfo GetFingerListImpl(Ark_BaseGestureEvent peer) + { + return {}; + } + void SetFingerListImpl(Ark_BaseGestureEvent peer, + const Array_FingerInfo* fingerList) + { + } + } // BaseGestureEventAccessor + namespace BaselineOffsetStyleAccessor { + void DestroyPeerImpl(Ark_BaselineOffsetStyle peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_BaselineOffsetStyle ConstructImpl(Ark_LengthMetrics value) + { + return {}; + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Number GetBaselineOffsetImpl(Ark_BaselineOffsetStyle peer) + { + return {}; + } + } // BaselineOffsetStyleAccessor + namespace BaseShapeAccessor { + void DestroyPeerImpl(Ark_BaseShape peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_BaseShape ConstructImpl() + { + return {}; + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_BaseShape WidthImpl(Ark_BaseShape peer, + const Ark_Length* width) + { + return {}; + } + Ark_BaseShape HeightImpl(Ark_BaseShape peer, + const Ark_Length* height) + { + return {}; + } + Ark_BaseShape SizeImpl(Ark_BaseShape peer, + const Ark_SizeOptions* size) + { + return {}; + } + } // BaseShapeAccessor + namespace BounceSymbolEffectAccessor { + void DestroyPeerImpl(Ark_BounceSymbolEffect peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_BounceSymbolEffect ConstructImpl(const Opt_EffectScope* scope, + const Opt_EffectDirection* direction) + { + return {}; + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Opt_EffectScope GetScopeImpl(Ark_BounceSymbolEffect peer) + { + return {}; + } + void SetScopeImpl(Ark_BounceSymbolEffect peer, + const Opt_EffectScope* scope) + { + } + Opt_EffectDirection GetDirectionImpl(Ark_BounceSymbolEffect peer) + { + return {}; + } + void SetDirectionImpl(Ark_BounceSymbolEffect peer, + const Opt_EffectDirection* direction) + { + } + } // BounceSymbolEffectAccessor + namespace BuilderNodeOpsAccessor { + void DestroyPeerImpl(Ark_BuilderNodeOps peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_BuilderNodeOps ConstructImpl() + { + return {}; + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void CreateImpl(Ark_BuilderNodeOps peer, + const Callback_Void* buildFunc) + { + } + void DisposeNodeImpl(Ark_BuilderNodeOps peer) + { + } + void SetUpdateConfigurationCallbackImpl(Ark_BuilderNodeOps peer, + const Callback_Void* configurationUpdateFunc) + { + } + void SetOptionsImpl(Ark_BuilderNodeOps peer, + const Ark_BuilderNodeOptions* options) + { + } + Ark_Boolean PostTouchEventImpl(Ark_BuilderNodeOps peer, + Ark_TouchEvent event) + { + return {}; + } + Ark_NativePointer SetRootFrameNodeInBuilderNodeImpl(Ark_BuilderNodeOps peer, + Ark_NativePointer node) + { + return {}; + } + } // BuilderNodeOpsAccessor + namespace CalendarPickerDialogAccessor { + void DestroyPeerImpl(Ark_CalendarPickerDialog peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_CalendarPickerDialog ConstructImpl() + { + return {}; + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void ShowImpl(const Opt_CalendarDialogOptions* options) + { + } + } // CalendarPickerDialogAccessor + namespace CanvasGradientAccessor { + void DestroyPeerImpl(Ark_CanvasGradient peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - - const GENERATED_ArkUITimePickerModifier* GetTimePickerModifier() + Ark_CanvasGradient ConstructImpl() { - static const GENERATED_ArkUITimePickerModifier ArkUITimePickerModifierImpl { - TimePickerModifier::ConstructImpl, - TimePickerInterfaceModifier::SetTimePickerOptionsImpl, - TimePickerAttributeModifier::SetUseMilitaryTimeImpl, - TimePickerAttributeModifier::SetLoopImpl, - TimePickerAttributeModifier::SetDisappearTextStyleImpl, - TimePickerAttributeModifier::SetTextStyleImpl, - TimePickerAttributeModifier::SetSelectedTextStyleImpl, - TimePickerAttributeModifier::SetDateTimeOptionsImpl, - TimePickerAttributeModifier::SetOnChangeImpl, - TimePickerAttributeModifier::SetOnEnterSelectedAreaImpl, - TimePickerAttributeModifier::SetEnableHapticFeedbackImpl, - TimePickerAttributeModifier::SetDigitalCrownSensitivityImpl, - TimePickerAttributeModifier::SetEnableCascadeImpl, - }; - return &ArkUITimePickerModifierImpl; + return {}; } - - const GENERATED_ArkUIToggleModifier* GetToggleModifier() + Ark_NativePointer GetFinalizerImpl() { - static const GENERATED_ArkUIToggleModifier ArkUIToggleModifierImpl { - ToggleModifier::ConstructImpl, - ToggleInterfaceModifier::SetToggleOptionsImpl, - ToggleAttributeModifier::SetOnChangeImpl, - ToggleAttributeModifier::SetSelectedColorImpl, - ToggleAttributeModifier::SetSwitchPointColorImpl, - ToggleAttributeModifier::SetSwitchStyleImpl, - }; - return &ArkUIToggleModifierImpl; + return reinterpret_cast(&DestroyPeerImpl); } - - const GENERATED_ArkUIUIExtensionComponentModifier* GetUIExtensionComponentModifier() + void AddColorStopImpl(Ark_CanvasGradient peer, + const Ark_Number* offset, + const Ark_String* color) { - static const GENERATED_ArkUIUIExtensionComponentModifier ArkUIUIExtensionComponentModifierImpl { - UIExtensionComponentModifier::ConstructImpl, - UIExtensionComponentInterfaceModifier::SetUIExtensionComponentOptionsImpl, - UIExtensionComponentAttributeModifier::SetOnRemoteReadyImpl, - UIExtensionComponentAttributeModifier::SetOnReceiveImpl, - UIExtensionComponentAttributeModifier::SetOnErrorImpl, - UIExtensionComponentAttributeModifier::SetOnTerminatedImpl, - UIExtensionComponentAttributeModifier::SetOnDrawReadyImpl, - }; - return &ArkUIUIExtensionComponentModifierImpl; } - - const GENERATED_ArkUIVideoModifier* GetVideoModifier() + } // CanvasGradientAccessor + namespace CanvasPathAccessor { + void DestroyPeerImpl(Ark_CanvasPath peer) { - static const GENERATED_ArkUIVideoModifier ArkUIVideoModifierImpl { - VideoModifier::ConstructImpl, - VideoInterfaceModifier::SetVideoOptionsImpl, - VideoAttributeModifier::SetMutedImpl, - VideoAttributeModifier::SetAutoPlayImpl, - VideoAttributeModifier::SetControlsImpl, - VideoAttributeModifier::SetLoopImpl, - VideoAttributeModifier::SetObjectFitImpl, - VideoAttributeModifier::SetOnStartImpl, - VideoAttributeModifier::SetOnPauseImpl, - VideoAttributeModifier::SetOnFinishImpl, - VideoAttributeModifier::SetOnFullscreenChangeImpl, - VideoAttributeModifier::SetOnPreparedImpl, - VideoAttributeModifier::SetOnSeekingImpl, - VideoAttributeModifier::SetOnSeekedImpl, - VideoAttributeModifier::SetOnUpdateImpl, - VideoAttributeModifier::SetOnErrorImpl, - VideoAttributeModifier::SetOnStopImpl, - VideoAttributeModifier::SetEnableAnalyzerImpl, - VideoAttributeModifier::SetAnalyzerConfigImpl, - VideoAttributeModifier::SetSurfaceBackgroundColorImpl, - VideoAttributeModifier::SetEnableShortcutKeyImpl, - }; - return &ArkUIVideoModifierImpl; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - - const GENERATED_ArkUIWaterFlowModifier* GetWaterFlowModifier() + Ark_CanvasPath ConstructImpl() { - static const GENERATED_ArkUIWaterFlowModifier ArkUIWaterFlowModifierImpl { - WaterFlowModifier::ConstructImpl, - WaterFlowInterfaceModifier::SetWaterFlowOptionsImpl, - WaterFlowAttributeModifier::SetColumnsTemplateImpl, - WaterFlowAttributeModifier::SetItemConstraintSizeImpl, - WaterFlowAttributeModifier::SetRowsTemplateImpl, - WaterFlowAttributeModifier::SetColumnsGapImpl, - WaterFlowAttributeModifier::SetRowsGapImpl, - WaterFlowAttributeModifier::SetLayoutDirectionImpl, - WaterFlowAttributeModifier::SetCachedCount0Impl, - WaterFlowAttributeModifier::SetOnScrollFrameBeginImpl, - WaterFlowAttributeModifier::SetOnScrollIndexImpl, - WaterFlowAttributeModifier::SetOnWillScrollImpl, - WaterFlowAttributeModifier::SetOnDidScrollImpl, - WaterFlowAttributeModifier::SetCachedCount1Impl, - }; - return &ArkUIWaterFlowModifierImpl; + return {}; } - - const GENERATED_ArkUIWindowSceneModifier* GetWindowSceneModifier() + Ark_NativePointer GetFinalizerImpl() { - static const GENERATED_ArkUIWindowSceneModifier ArkUIWindowSceneModifierImpl { - WindowSceneModifier::ConstructImpl, - WindowSceneInterfaceModifier::SetWindowSceneOptionsImpl, - WindowSceneAttributeModifier::SetAttractionEffectImpl, - }; - return &ArkUIWindowSceneModifierImpl; + return reinterpret_cast(&DestroyPeerImpl); } - - const GENERATED_ArkUIWithThemeModifier* GetWithThemeModifier() + void ArcImpl(Ark_CanvasPath peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* radius, + const Ark_Number* startAngle, + const Ark_Number* endAngle, + const Opt_Boolean* counterclockwise) { - static const GENERATED_ArkUIWithThemeModifier ArkUIWithThemeModifierImpl { - WithThemeModifier::ConstructImpl, - WithThemeInterfaceModifier::SetWithThemeOptionsImpl, - }; - return &ArkUIWithThemeModifierImpl; } - - const GENERATED_ArkUIXComponentModifier* GetXComponentModifier() + void ArcToImpl(Ark_CanvasPath peer, + const Ark_Number* x1, + const Ark_Number* y1, + const Ark_Number* x2, + const Ark_Number* y2, + const Ark_Number* radius) { - static const GENERATED_ArkUIXComponentModifier ArkUIXComponentModifierImpl { - XComponentModifier::ConstructImpl, - XComponentInterfaceModifier::SetXComponentOptions0Impl, - XComponentInterfaceModifier::SetXComponentOptions1Impl, - XComponentInterfaceModifier::SetXComponentOptions2Impl, - XComponentAttributeModifier::SetOnLoadImpl, - XComponentAttributeModifier::SetOnDestroyImpl, - XComponentAttributeModifier::SetEnableAnalyzerImpl, - XComponentAttributeModifier::SetEnableSecureImpl, - XComponentAttributeModifier::SetHdrBrightnessImpl, - XComponentAttributeModifier::SetEnableTransparentLayerImpl, - }; - return &ArkUIXComponentModifierImpl; } - - const GENERATED_ArkUINodeModifiers* GENERATED_GetArkUINodeModifiers() - { - static const GENERATED_ArkUINodeModifiers modifiersImpl = { - GetAlphabetIndexerModifier, - GetAnimatorModifier, - GetBadgeModifier, - GetBaseSpanModifier, - GetBlankModifier, - GetButtonModifier, - GetCalendarPickerModifier, - GetCanvasModifier, - GetCheckboxModifier, - GetCheckboxGroupModifier, - GetCircleModifier, - GetColumnModifier, - GetColumnSplitModifier, - GetCommonMethodModifier, - GetCommonShapeMethodModifier, - GetComponentRootModifier, - GetContainerSpanModifier, - GetCounterModifier, - GetCustomBuilderRootModifier, - GetCustomLayoutRootModifier, - GetDataPanelModifier, - GetDatePickerModifier, - GetDividerModifier, - GetEffectComponentModifier, - GetEllipseModifier, - GetEmbeddedComponentModifier, - GetFlexModifier, - GetFlowItemModifier, - GetFolderStackModifier, - GetFormComponentModifier, - GetFormLinkModifier, - GetGaugeModifier, - GetGridModifier, - GetGridColModifier, - GetGridItemModifier, - GetGridRowModifier, - GetHyperlinkModifier, - GetImageModifier, - GetImageAnimatorModifier, - GetImageSpanModifier, - GetIndicatorComponentModifier, - GetLineModifier, - GetLinearIndicatorModifier, - GetListModifier, - GetListItemModifier, - GetListItemGroupModifier, - GetLoadingProgressModifier, - GetMarqueeModifier, - GetMediaCachedImageModifier, - GetMenuModifier, - GetMenuItemModifier, - GetMenuItemGroupModifier, - GetNavDestinationModifier, - GetNavigationModifier, - GetNodeContainerModifier, - GetPathModifier, - GetPatternLockModifier, - GetPluginComponentModifier, - GetPolygonModifier, - GetPolylineModifier, - GetProgressModifier, - GetQRCodeModifier, - GetRadioModifier, - GetRatingModifier, - GetRectModifier, - GetRefreshModifier, - GetRelativeContainerModifier, - GetRemoteWindowModifier, - GetRichEditorModifier, - GetRichTextModifier, - GetRootModifier, - GetRootSceneModifier, - GetRowModifier, - GetRowSplitModifier, - GetScreenModifier, - GetScrollModifier, - GetScrollableCommonMethodModifier, - GetScrollBarModifier, - GetSearchModifier, - GetSelectModifier, - GetShapeModifier, - GetSideBarContainerModifier, - GetSliderModifier, - GetSpanModifier, - GetStackModifier, - GetStepperModifier, - GetStepperItemModifier, - GetSwiperModifier, - GetSymbolGlyphModifier, - GetSymbolSpanModifier, - GetTabContentModifier, - GetTabsModifier, - GetTextModifier, - GetTextAreaModifier, - GetTextClockModifier, - GetTextInputModifier, - GetTextPickerModifier, - GetTextTimerModifier, - GetTimePickerModifier, - GetToggleModifier, - GetUIExtensionComponentModifier, - GetVideoModifier, - GetWaterFlowModifier, - GetWindowSceneModifier, - GetWithThemeModifier, - GetXComponentModifier, - }; - return &modifiersImpl; + void BezierCurveToImpl(Ark_CanvasPath peer, + const Ark_Number* cp1x, + const Ark_Number* cp1y, + const Ark_Number* cp2x, + const Ark_Number* cp2y, + const Ark_Number* x, + const Ark_Number* y) + { } - namespace AccessibilityHoverEventAccessor { - void DestroyPeerImpl(Ark_AccessibilityHoverEvent peer) + void ClosePathImpl(Ark_CanvasPath peer) { - auto peerImpl = reinterpret_cast(peer); + } + void EllipseImpl(Ark_CanvasPath peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* radiusX, + const Ark_Number* radiusY, + const Ark_Number* rotation, + const Ark_Number* startAngle, + const Ark_Number* endAngle, + const Opt_Boolean* counterclockwise) + { + } + void LineToImpl(Ark_CanvasPath peer, + const Ark_Number* x, + const Ark_Number* y) + { + } + void MoveToImpl(Ark_CanvasPath peer, + const Ark_Number* x, + const Ark_Number* y) + { + } + void QuadraticCurveToImpl(Ark_CanvasPath peer, + const Ark_Number* cpx, + const Ark_Number* cpy, + const Ark_Number* x, + const Ark_Number* y) + { + } + void RectImpl(Ark_CanvasPath peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* w, + const Ark_Number* h) + { + } + } // CanvasPathAccessor + namespace CanvasPatternAccessor { + void DestroyPeerImpl(Ark_CanvasPattern peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_AccessibilityHoverEvent ConstructImpl() + Ark_CanvasPattern ConstructImpl() { return {}; } @@ -9513,382 +10812,520 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_AccessibilityHoverType GetTypeImpl(Ark_AccessibilityHoverEvent peer) + void SetTransformImpl(Ark_CanvasPattern peer, + const Opt_Matrix2D* transform) + { + } + } // CanvasPatternAccessor + namespace CanvasRendererAccessor { + void DestroyPeerImpl(Ark_CanvasRenderer peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_CanvasRenderer ConstructImpl() { return {}; } - void SetTypeImpl(Ark_AccessibilityHoverEvent peer, - Ark_AccessibilityHoverType type) + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void DrawImage0Impl(Ark_CanvasRenderer peer, + const Ark_Union_ImageBitmap_PixelMap* image, + const Ark_Number* dx, + const Ark_Number* dy) { } - Ark_Number GetXImpl(Ark_AccessibilityHoverEvent peer) + void DrawImage1Impl(Ark_CanvasRenderer peer, + const Ark_Union_ImageBitmap_PixelMap* image, + const Ark_Number* dx, + const Ark_Number* dy, + const Ark_Number* dw, + const Ark_Number* dh) + { + } + void DrawImage2Impl(Ark_CanvasRenderer peer, + const Ark_Union_ImageBitmap_PixelMap* image, + const Ark_Number* sx, + const Ark_Number* sy, + const Ark_Number* sw, + const Ark_Number* sh, + const Ark_Number* dx, + const Ark_Number* dy, + const Ark_Number* dw, + const Ark_Number* dh) + { + } + void BeginPathImpl(Ark_CanvasRenderer peer) + { + } + void Clip0Impl(Ark_CanvasRenderer peer, + const Opt_String* fillRule) + { + } + void Clip1Impl(Ark_CanvasRenderer peer, + Ark_Path2D path, + const Opt_String* fillRule) + { + } + void Fill0Impl(Ark_CanvasRenderer peer, + const Opt_String* fillRule) + { + } + void Fill1Impl(Ark_CanvasRenderer peer, + Ark_Path2D path, + const Opt_String* fillRule) + { + } + void StrokeImpl(Ark_CanvasRenderer peer, + const Opt_Path2D* path) + { + } + Ark_CanvasGradient CreateLinearGradientImpl(Ark_CanvasRenderer peer, + const Ark_Number* x0, + const Ark_Number* y0, + const Ark_Number* x1, + const Ark_Number* y1) { return {}; } - void SetXImpl(Ark_AccessibilityHoverEvent peer, - const Ark_Number* x) + Opt_CanvasPattern CreatePatternImpl(Ark_CanvasRenderer peer, + Ark_ImageBitmap image, + const Opt_String* repetition) { + return {}; } - Ark_Number GetYImpl(Ark_AccessibilityHoverEvent peer) + Ark_CanvasGradient CreateRadialGradientImpl(Ark_CanvasRenderer peer, + const Ark_Number* x0, + const Ark_Number* y0, + const Ark_Number* r0, + const Ark_Number* x1, + const Ark_Number* y1, + const Ark_Number* r1) { return {}; } - void SetYImpl(Ark_AccessibilityHoverEvent peer, - const Ark_Number* y) + Ark_CanvasGradient CreateConicGradientImpl(Ark_CanvasRenderer peer, + const Ark_Number* startAngle, + const Ark_Number* x, + const Ark_Number* y) { + return {}; } - Ark_Number GetDisplayXImpl(Ark_AccessibilityHoverEvent peer) + Ark_ImageData CreateImageData0Impl(Ark_CanvasRenderer peer, + const Ark_Number* sw, + const Ark_Number* sh) { return {}; } - void SetDisplayXImpl(Ark_AccessibilityHoverEvent peer, - const Ark_Number* displayX) + Ark_ImageData CreateImageData1Impl(Ark_CanvasRenderer peer, + Ark_ImageData imagedata) { + return {}; } - Ark_Number GetDisplayYImpl(Ark_AccessibilityHoverEvent peer) + Ark_ImageData GetImageDataImpl(Ark_CanvasRenderer peer, + const Ark_Number* sx, + const Ark_Number* sy, + const Ark_Number* sw, + const Ark_Number* sh) { return {}; } - void SetDisplayYImpl(Ark_AccessibilityHoverEvent peer, - const Ark_Number* displayY) + Ark_image_PixelMap GetPixelMapImpl(Ark_CanvasRenderer peer, + const Ark_Number* sx, + const Ark_Number* sy, + const Ark_Number* sw, + const Ark_Number* sh) { + return {}; } - Ark_Number GetWindowXImpl(Ark_AccessibilityHoverEvent peer) + void PutImageData0Impl(Ark_CanvasRenderer peer, + Ark_ImageData imagedata, + const Ark_Union_Number_String* dx, + const Ark_Union_Number_String* dy) + { + } + void PutImageData1Impl(Ark_CanvasRenderer peer, + Ark_ImageData imagedata, + const Ark_Union_Number_String* dx, + const Ark_Union_Number_String* dy, + const Ark_Union_Number_String* dirtyX, + const Ark_Union_Number_String* dirtyY, + const Ark_Union_Number_String* dirtyWidth, + const Ark_Union_Number_String* dirtyHeight) + { + } + Array_Number GetLineDashImpl(Ark_CanvasRenderer peer) { return {}; } - void SetWindowXImpl(Ark_AccessibilityHoverEvent peer, - const Ark_Number* windowX) + void SetLineDashImpl(Ark_CanvasRenderer peer, + const Array_Number* segments) { } - Ark_Number GetWindowYImpl(Ark_AccessibilityHoverEvent peer) + void ClearRectImpl(Ark_CanvasRenderer peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* w, + const Ark_Number* h) + { + } + void FillRectImpl(Ark_CanvasRenderer peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* w, + const Ark_Number* h) + { + } + void StrokeRectImpl(Ark_CanvasRenderer peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* w, + const Ark_Number* h) + { + } + void RestoreImpl(Ark_CanvasRenderer peer) + { + } + void SaveImpl(Ark_CanvasRenderer peer) + { + } + void FillTextImpl(Ark_CanvasRenderer peer, + const Ark_String* text, + const Ark_Number* x, + const Ark_Number* y, + const Opt_Number* maxWidth) + { + } + Ark_TextMetrics MeasureTextImpl(Ark_CanvasRenderer peer, + const Ark_String* text) { return {}; } - void SetWindowYImpl(Ark_AccessibilityHoverEvent peer, - const Ark_Number* windowY) + void StrokeTextImpl(Ark_CanvasRenderer peer, + const Ark_String* text, + const Ark_Number* x, + const Ark_Number* y, + const Opt_Number* maxWidth) { } - } // AccessibilityHoverEventAccessor - namespace AnimationExtenderAccessor { - void SetClipRectImpl(Ark_NativePointer node, - Ark_Float32 x, - Ark_Float32 y, - Ark_Float32 width, - Ark_Float32 height) + Ark_Matrix2D GetTransformImpl(Ark_CanvasRenderer peer) + { + return {}; + } + void ResetTransformImpl(Ark_CanvasRenderer peer) + { + } + void RotateImpl(Ark_CanvasRenderer peer, + const Ark_Number* angle) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void OpenImplicitAnimationImpl(const Ark_AnimateParam* param) + void ScaleImpl(Ark_CanvasRenderer peer, + const Ark_Number* x, + const Ark_Number* y) { } - void CloseImplicitAnimationImpl() + void SetTransform0Impl(Ark_CanvasRenderer peer, + const Ark_Number* a, + const Ark_Number* b, + const Ark_Number* c, + const Ark_Number* d, + const Ark_Number* e, + const Ark_Number* f) { } - void StartDoubleAnimationImpl(Ark_NativePointer node, - const Ark_DoubleAnimationParam* param) + void SetTransform1Impl(Ark_CanvasRenderer peer, + const Opt_Matrix2D* transform) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void AnimationTranslateImpl(Ark_NativePointer node, - const Ark_TranslateOptions* options) + void TransformImpl(Ark_CanvasRenderer peer, + const Ark_Number* a, + const Ark_Number* b, + const Ark_Number* c, + const Ark_Number* d, + const Ark_Number* e, + const Ark_Number* f) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - } // AnimationExtenderAccessor - namespace AppearSymbolEffectAccessor { - void DestroyPeerImpl(Ark_AppearSymbolEffect peer) + void TranslateImpl(Ark_CanvasRenderer peer, + const Ark_Number* x, + const Ark_Number* y) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_AppearSymbolEffect ConstructImpl(const Opt_EffectScope* scope) + void SetPixelMapImpl(Ark_CanvasRenderer peer, + const Opt_image_PixelMap* value) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void TransferFromImageBitmapImpl(Ark_CanvasRenderer peer, + Ark_ImageBitmap bitmap) { - return reinterpret_cast(&DestroyPeerImpl); } - Opt_EffectScope GetScopeImpl(Ark_AppearSymbolEffect peer) + void SaveLayerImpl(Ark_CanvasRenderer peer) { - return {}; } - void SetScopeImpl(Ark_AppearSymbolEffect peer, - const Opt_EffectScope* scope) + void RestoreLayerImpl(Ark_CanvasRenderer peer) { } - } // AppearSymbolEffectAccessor - namespace AxisEventAccessor { - void DestroyPeerImpl(Ark_AxisEvent peer) + void ResetImpl(Ark_CanvasRenderer peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_AxisEvent ConstructImpl() + Ark_Union_LengthMetrics_String GetLetterSpacingImpl(Ark_CanvasRenderer peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetLetterSpacingImpl(Ark_CanvasRenderer peer, + const Ark_Union_LengthMetrics_String* letterSpacing) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetHorizontalAxisValueImpl(Ark_AxisEvent peer) + Ark_Number GetGlobalAlphaImpl(Ark_CanvasRenderer peer) { return {}; } - Ark_Number GetVerticalAxisValueImpl(Ark_AxisEvent peer) + void SetGlobalAlphaImpl(Ark_CanvasRenderer peer, + const Ark_Number* globalAlpha) { - return {}; } - Ark_AxisAction GetActionImpl(Ark_AxisEvent peer) + Ark_String GetGlobalCompositeOperationImpl(Ark_CanvasRenderer peer) { return {}; } - void SetActionImpl(Ark_AxisEvent peer, - Ark_AxisAction action) + void SetGlobalCompositeOperationImpl(Ark_CanvasRenderer peer, + const Ark_String* globalCompositeOperation) { } - Ark_Number GetDisplayXImpl(Ark_AxisEvent peer) + Ark_Union_String_I32_CanvasGradient_CanvasPattern GetFillStyleImpl(Ark_CanvasRenderer peer) { return {}; } - void SetDisplayXImpl(Ark_AxisEvent peer, - const Ark_Number* displayX) + void SetFillStyleImpl(Ark_CanvasRenderer peer, + const Ark_Union_String_I32_CanvasGradient_CanvasPattern* fillStyle) { } - Ark_Number GetDisplayYImpl(Ark_AxisEvent peer) + Ark_Union_String_I32_CanvasGradient_CanvasPattern GetStrokeStyleImpl(Ark_CanvasRenderer peer) { return {}; } - void SetDisplayYImpl(Ark_AxisEvent peer, - const Ark_Number* displayY) + void SetStrokeStyleImpl(Ark_CanvasRenderer peer, + const Ark_Union_String_I32_CanvasGradient_CanvasPattern* strokeStyle) { } - Ark_Number GetWindowXImpl(Ark_AxisEvent peer) + Ark_String GetFilterImpl(Ark_CanvasRenderer peer) { return {}; } - void SetWindowXImpl(Ark_AxisEvent peer, - const Ark_Number* windowX) + void SetFilterImpl(Ark_CanvasRenderer peer, + const Ark_String* filter) { } - Ark_Number GetWindowYImpl(Ark_AxisEvent peer) + Ark_Boolean GetImageSmoothingEnabledImpl(Ark_CanvasRenderer peer) { return {}; } - void SetWindowYImpl(Ark_AxisEvent peer, - const Ark_Number* windowY) + void SetImageSmoothingEnabledImpl(Ark_CanvasRenderer peer, + Ark_Boolean imageSmoothingEnabled) { } - Ark_Number GetXImpl(Ark_AxisEvent peer) + Ark_String GetImageSmoothingQualityImpl(Ark_CanvasRenderer peer) { return {}; } - void SetXImpl(Ark_AxisEvent peer, - const Ark_Number* x) + void SetImageSmoothingQualityImpl(Ark_CanvasRenderer peer, + const Ark_String* imageSmoothingQuality) { } - Ark_Number GetYImpl(Ark_AxisEvent peer) + Ark_String GetLineCapImpl(Ark_CanvasRenderer peer) { return {}; } - void SetYImpl(Ark_AxisEvent peer, - const Ark_Number* y) + void SetLineCapImpl(Ark_CanvasRenderer peer, + const Ark_String* lineCap) { } - Opt_Number GetScrollStepImpl(Ark_AxisEvent peer) + Ark_Number GetLineDashOffsetImpl(Ark_CanvasRenderer peer) { return {}; } - void SetScrollStepImpl(Ark_AxisEvent peer, - const Opt_Number* scrollStep) + void SetLineDashOffsetImpl(Ark_CanvasRenderer peer, + const Ark_Number* lineDashOffset) { } - Callback_Void GetPropagationImpl(Ark_AxisEvent peer) + Ark_String GetLineJoinImpl(Ark_CanvasRenderer peer) { return {}; } - void SetPropagationImpl(Ark_AxisEvent peer, - const Callback_Void* propagation) - { - } - } // AxisEventAccessor - namespace BackgroundColorStyleAccessor { - void DestroyPeerImpl(Ark_BackgroundColorStyle peer) + void SetLineJoinImpl(Ark_CanvasRenderer peer, + const Ark_String* lineJoin) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_BackgroundColorStyle ConstructImpl(const Ark_TextBackgroundStyle* textBackgroundStyle) + Ark_Number GetLineWidthImpl(Ark_CanvasRenderer peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetLineWidthImpl(Ark_CanvasRenderer peer, + const Ark_Number* lineWidth) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_TextBackgroundStyle GetTextBackgroundStyleImpl(Ark_BackgroundColorStyle peer) + Ark_Number GetMiterLimitImpl(Ark_CanvasRenderer peer) { return {}; } - } // BackgroundColorStyleAccessor - namespace BaseContextAccessor { - void DestroyPeerImpl(Ark_BaseContext peer) + void SetMiterLimitImpl(Ark_CanvasRenderer peer, + const Ark_Number* miterLimit) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_BaseContext ConstructImpl() + Ark_Number GetShadowBlurImpl(Ark_CanvasRenderer peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - } // BaseContextAccessor - namespace BaseEventAccessor { - void DestroyPeerImpl(Ark_BaseEvent peer) + void SetShadowBlurImpl(Ark_CanvasRenderer peer, + const Ark_Number* shadowBlur) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_BaseEvent ConstructImpl() + Ark_String GetShadowColorImpl(Ark_CanvasRenderer peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetShadowColorImpl(Ark_CanvasRenderer peer, + const Ark_String* shadowColor) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_EventTarget GetTargetImpl(Ark_BaseEvent peer) + Ark_Number GetShadowOffsetXImpl(Ark_CanvasRenderer peer) { return {}; } - void SetTargetImpl(Ark_BaseEvent peer, - const Ark_EventTarget* target) + void SetShadowOffsetXImpl(Ark_CanvasRenderer peer, + const Ark_Number* shadowOffsetX) { } - Ark_Number GetTimestampImpl(Ark_BaseEvent peer) + Ark_Number GetShadowOffsetYImpl(Ark_CanvasRenderer peer) { return {}; } - void SetTimestampImpl(Ark_BaseEvent peer, - const Ark_Number* timestamp) + void SetShadowOffsetYImpl(Ark_CanvasRenderer peer, + const Ark_Number* shadowOffsetY) { } - Ark_SourceType GetSourceImpl(Ark_BaseEvent peer) + Ark_String GetDirectionImpl(Ark_CanvasRenderer peer) { return {}; } - void SetSourceImpl(Ark_BaseEvent peer, - Ark_SourceType source) + void SetDirectionImpl(Ark_CanvasRenderer peer, + const Ark_String* direction) { } - Opt_Number GetAxisHorizontalImpl(Ark_BaseEvent peer) + Ark_String GetFontImpl(Ark_CanvasRenderer peer) { return {}; } - void SetAxisHorizontalImpl(Ark_BaseEvent peer, - const Opt_Number* axisHorizontal) + void SetFontImpl(Ark_CanvasRenderer peer, + const Ark_String* font) { } - Opt_Number GetAxisVerticalImpl(Ark_BaseEvent peer) + Ark_String GetTextAlignImpl(Ark_CanvasRenderer peer) { return {}; } - void SetAxisVerticalImpl(Ark_BaseEvent peer, - const Opt_Number* axisVertical) + void SetTextAlignImpl(Ark_CanvasRenderer peer, + const Ark_String* textAlign) { } - Ark_Number GetPressureImpl(Ark_BaseEvent peer) + Ark_String GetTextBaselineImpl(Ark_CanvasRenderer peer) { return {}; } - void SetPressureImpl(Ark_BaseEvent peer, - const Ark_Number* pressure) + void SetTextBaselineImpl(Ark_CanvasRenderer peer, + const Ark_String* textBaseline) { } - Ark_Number GetTiltXImpl(Ark_BaseEvent peer) + } // CanvasRendererAccessor + namespace CanvasRenderingContext2DAccessor { + void DestroyPeerImpl(Ark_CanvasRenderingContext2D peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_CanvasRenderingContext2D ConstructImpl(const Opt_RenderingContextSettings* settings, + const Opt_LengthMetricsUnit* unit) { return {}; } - void SetTiltXImpl(Ark_BaseEvent peer, - const Ark_Number* tiltX) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetTiltYImpl(Ark_BaseEvent peer) + Ark_String ToDataURLImpl(Ark_CanvasRenderingContext2D peer, + const Opt_String* type, + const Opt_Number* quality) { return {}; } - void SetTiltYImpl(Ark_BaseEvent peer, - const Ark_Number* tiltY) + void StartImageAnalyzerImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_CanvasRenderingContext2D peer, + const Ark_ImageAnalyzerConfig* config, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { } - Opt_Number GetRollAngleImpl(Ark_BaseEvent peer) + void StopImageAnalyzerImpl(Ark_CanvasRenderingContext2D peer) { - return {}; } - void SetRollAngleImpl(Ark_BaseEvent peer, - const Opt_Number* rollAngle) + void OnOnAttachImpl(Ark_VMContext vmContext, + Ark_CanvasRenderingContext2D peer, + const Callback_Void* callback_) { } - Ark_SourceTool GetSourceToolImpl(Ark_BaseEvent peer) + void OffOnAttachImpl(Ark_VMContext vmContext, + Ark_CanvasRenderingContext2D peer, + const Opt_Callback_Void* callback_) { - return {}; } - void SetSourceToolImpl(Ark_BaseEvent peer, - Ark_SourceTool sourceTool) + void OnOnDetachImpl(Ark_CanvasRenderingContext2D peer, + const Callback_Void* callback_) { } - Opt_ModifierKeyStateGetter GetGetModifierKeyStateImpl(Ark_BaseEvent peer) + void OffOnDetachImpl(Ark_CanvasRenderingContext2D peer, + const Opt_Callback_Void* callback_) + { + } + Ark_Number GetHeightImpl(Ark_CanvasRenderingContext2D peer) { return {}; } - void SetGetModifierKeyStateImpl(Ark_BaseEvent peer, - const Opt_ModifierKeyStateGetter* getModifierKeyState) + void SetHeightImpl(Ark_CanvasRenderingContext2D peer, + const Ark_Number* height) { } - Opt_Number GetDeviceIdImpl(Ark_BaseEvent peer) + Ark_Number GetWidthImpl(Ark_CanvasRenderingContext2D peer) { return {}; } - void SetDeviceIdImpl(Ark_BaseEvent peer, - const Opt_Number* deviceId) + void SetWidthImpl(Ark_CanvasRenderingContext2D peer, + const Ark_Number* width) { } - Opt_Number GetTargetDisplayIdImpl(Ark_BaseEvent peer) + Ark_FrameNode GetCanvasImpl(Ark_CanvasRenderingContext2D peer) { return {}; } - void SetTargetDisplayIdImpl(Ark_BaseEvent peer, - const Opt_Number* targetDisplayId) + void SetCanvasImpl(Ark_CanvasRenderingContext2D peer, + Ark_FrameNode canvas) { } - } // BaseEventAccessor - namespace BaseGestureEventAccessor { - void DestroyPeerImpl(Ark_BaseGestureEvent peer) + } // CanvasRenderingContext2DAccessor + namespace ChildrenMainSizeAccessor { + void DestroyPeerImpl(Ark_ChildrenMainSize peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_BaseGestureEvent ConstructImpl() + Ark_ChildrenMainSize ConstructImpl(const Ark_Number* childDefaultSize) { return {}; } @@ -9896,24 +11333,35 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Array_FingerInfo GetFingerListImpl(Ark_BaseGestureEvent peer) + void SpliceImpl(Ark_ChildrenMainSize peer, + const Ark_Number* start, + const Opt_Number* deleteCount, + const Opt_Array_Number* childrenSize) + { + } + void UpdateImpl(Ark_ChildrenMainSize peer, + const Ark_Number* index, + const Ark_Number* childSize) + { + } + Ark_Number GetChildDefaultSizeImpl(Ark_ChildrenMainSize peer) { return {}; } - void SetFingerListImpl(Ark_BaseGestureEvent peer, - const Array_FingerInfo* fingerList) + void SetChildDefaultSizeImpl(Ark_ChildrenMainSize peer, + const Ark_Number* childDefaultSize) { } - } // BaseGestureEventAccessor - namespace BaselineOffsetStyleAccessor { - void DestroyPeerImpl(Ark_BaselineOffsetStyle peer) + } // ChildrenMainSizeAccessor + namespace CircleShapeAccessor { + void DestroyPeerImpl(Ark_CircleShape peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_BaselineOffsetStyle ConstructImpl(Ark_LengthMetrics value) + Ark_CircleShape ConstructImpl(const Opt_ShapeSize* options) { return {}; } @@ -9921,53 +11369,46 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetBaselineOffsetImpl(Ark_BaselineOffsetStyle peer) + Ark_CircleShape OffsetImpl(Ark_CircleShape peer, + const Ark_Position* offset) { return {}; } - } // BaselineOffsetStyleAccessor - namespace BaseShapeAccessor { - void DestroyPeerImpl(Ark_BaseShape peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_BaseShape ConstructImpl() + Ark_CircleShape FillImpl(Ark_CircleShape peer, + const Ark_ResourceColor* color) { return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_CircleShape PositionImpl(Ark_CircleShape peer, + const Ark_Position* position) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - Ark_BaseShape WidthImpl(Ark_BaseShape peer, - const Ark_Length* width) + Ark_CircleShape WidthImpl(Ark_CircleShape peer, + const Ark_Length* width) { return {}; } - Ark_BaseShape HeightImpl(Ark_BaseShape peer, - const Ark_Length* height) + Ark_CircleShape HeightImpl(Ark_CircleShape peer, + const Ark_Length* height) { return {}; } - Ark_BaseShape SizeImpl(Ark_BaseShape peer, - const Ark_SizeOptions* size) + Ark_CircleShape SizeImpl(Ark_CircleShape peer, + const Ark_SizeOptions* size) { return {}; } - } // BaseShapeAccessor - namespace BounceSymbolEffectAccessor { - void DestroyPeerImpl(Ark_BounceSymbolEffect peer) + } // CircleShapeAccessor + namespace ClickEventAccessor { + void DestroyPeerImpl(Ark_ClickEvent peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_BounceSymbolEffect ConstructImpl(const Opt_EffectScope* scope, - const Opt_EffectDirection* direction) + Ark_ClickEvent ConstructImpl() { return {}; } @@ -9975,116 +11416,80 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Opt_EffectScope GetScopeImpl(Ark_BounceSymbolEffect peer) + Ark_Number GetDisplayXImpl(Ark_ClickEvent peer) { return {}; } - void SetScopeImpl(Ark_BounceSymbolEffect peer, - const Opt_EffectScope* scope) + void SetDisplayXImpl(Ark_ClickEvent peer, + const Ark_Number* displayX) { } - Opt_EffectDirection GetDirectionImpl(Ark_BounceSymbolEffect peer) + Ark_Number GetDisplayYImpl(Ark_ClickEvent peer) { return {}; } - void SetDirectionImpl(Ark_BounceSymbolEffect peer, - const Opt_EffectDirection* direction) - { - } - } // BounceSymbolEffectAccessor - namespace BuilderNodeOpsAccessor { - void DestroyPeerImpl(Ark_BuilderNodeOps peer) + void SetDisplayYImpl(Ark_ClickEvent peer, + const Ark_Number* displayY) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_BuilderNodeOps ConstructImpl() + Ark_Number GetWindowXImpl(Ark_ClickEvent peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - void CreateImpl(Ark_BuilderNodeOps peer, - const Callback_Void* buildFunc) - { - } - void DisposeNodeImpl(Ark_BuilderNodeOps peer) - { - } - void SetUpdateConfigurationCallbackImpl(Ark_BuilderNodeOps peer, - const Callback_Void* configurationUpdateFunc) + void SetWindowXImpl(Ark_ClickEvent peer, + const Ark_Number* windowX) { } - void SetOptionsImpl(Ark_BuilderNodeOps peer, - const Ark_BuilderNodeOptions* options) + Ark_Number GetWindowYImpl(Ark_ClickEvent peer) { + return {}; } - Ark_Boolean PostTouchEventImpl(Ark_BuilderNodeOps peer, - Ark_TouchEvent event) + void SetWindowYImpl(Ark_ClickEvent peer, + const Ark_Number* windowY) { - return {}; } - Ark_NativePointer SetRootFrameNodeInBuilderNodeImpl(Ark_BuilderNodeOps peer, - Ark_NativePointer node) + Ark_Number GetXImpl(Ark_ClickEvent peer) { return {}; } - } // BuilderNodeOpsAccessor - namespace CalendarPickerDialogAccessor { - void DestroyPeerImpl(Ark_CalendarPickerDialog peer) + void SetXImpl(Ark_ClickEvent peer, + const Ark_Number* x) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_CalendarPickerDialog ConstructImpl() + Ark_Number GetYImpl(Ark_ClickEvent peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetYImpl(Ark_ClickEvent peer, + const Ark_Number* y) { - return reinterpret_cast(&DestroyPeerImpl); } - void ShowImpl(const Opt_CalendarDialogOptions* options) + Opt_InteractionHand GetHandImpl(Ark_ClickEvent peer) { + return {}; } - } // CalendarPickerDialogAccessor - namespace CanvasGradientAccessor { - void DestroyPeerImpl(Ark_CanvasGradient peer) + void SetHandImpl(Ark_ClickEvent peer, + const Opt_InteractionHand* hand) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_CanvasGradient ConstructImpl() + Callback_Void GetPreventDefaultImpl(Ark_ClickEvent peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - void AddColorStopImpl(Ark_CanvasGradient peer, - const Ark_Number* offset, - const Ark_String* color) + void SetPreventDefaultImpl(Ark_ClickEvent peer, + const Callback_Void* preventDefault) { } - } // CanvasGradientAccessor - namespace CanvasPathAccessor { - void DestroyPeerImpl(Ark_CanvasPath peer) + } // ClickEventAccessor + namespace ClientAuthenticationHandlerAccessor { + void DestroyPeerImpl(Ark_ClientAuthenticationHandler peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_CanvasPath ConstructImpl() + Ark_ClientAuthenticationHandler ConstructImpl() { return {}; } @@ -10092,80 +11497,52 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void ArcImpl(Ark_CanvasPath peer, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* radius, - const Ark_Number* startAngle, - const Ark_Number* endAngle, - const Opt_Boolean* counterclockwise) - { - } - void ArcToImpl(Ark_CanvasPath peer, - const Ark_Number* x1, - const Ark_Number* y1, - const Ark_Number* x2, - const Ark_Number* y2, - const Ark_Number* radius) + void Confirm0Impl(Ark_ClientAuthenticationHandler peer, + const Ark_String* priKeyFile, + const Ark_String* certChainFile) { } - void BezierCurveToImpl(Ark_CanvasPath peer, - const Ark_Number* cp1x, - const Ark_Number* cp1y, - const Ark_Number* cp2x, - const Ark_Number* cp2y, - const Ark_Number* x, - const Ark_Number* y) + void Confirm1Impl(Ark_ClientAuthenticationHandler peer, + const Ark_String* authUri) { } - void ClosePathImpl(Ark_CanvasPath peer) + void CancelImpl(Ark_ClientAuthenticationHandler peer) { } - void EllipseImpl(Ark_CanvasPath peer, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* radiusX, - const Ark_Number* radiusY, - const Ark_Number* rotation, - const Ark_Number* startAngle, - const Ark_Number* endAngle, - const Opt_Boolean* counterclockwise) + void IgnoreImpl(Ark_ClientAuthenticationHandler peer) { } - void LineToImpl(Ark_CanvasPath peer, - const Ark_Number* x, - const Ark_Number* y) + } // ClientAuthenticationHandlerAccessor + namespace ColorContentAccessor { + void DestroyPeerImpl(Ark_ColorContent peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void MoveToImpl(Ark_CanvasPath peer, - const Ark_Number* x, - const Ark_Number* y) + Ark_ColorContent ConstructImpl() { + return {}; } - void QuadraticCurveToImpl(Ark_CanvasPath peer, - const Ark_Number* cpx, - const Ark_Number* cpy, - const Ark_Number* x, - const Ark_Number* y) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - void RectImpl(Ark_CanvasPath peer, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* w, - const Ark_Number* h) + Ark_ColorContent GetORIGINImpl() { + return {}; } - } // CanvasPathAccessor - namespace CanvasPatternAccessor { - void DestroyPeerImpl(Ark_CanvasPattern peer) + } // ColorContentAccessor + namespace ColorFilterAccessor { + void DestroyPeerImpl(Ark_ColorFilter peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_CanvasPattern ConstructImpl() + Ark_ColorFilter ConstructImpl(const Array_Number* value) { return {}; } @@ -10173,20 +11550,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void SetTransformImpl(Ark_CanvasPattern peer, - const Opt_Matrix2D* transform) - { - } - } // CanvasPatternAccessor - namespace CanvasRendererAccessor { - void DestroyPeerImpl(Ark_CanvasRenderer peer) + } // ColorFilterAccessor + namespace ColorMetricsAccessor { + void DestroyPeerImpl(Ark_ColorMetrics peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_CanvasRenderer ConstructImpl() + Ark_ColorMetrics ConstructImpl() { return {}; } @@ -10194,424 +11567,472 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void DrawImage0Impl(Ark_CanvasRenderer peer, - const Ark_Union_ImageBitmap_PixelMap* image, - const Ark_Number* dx, - const Ark_Number* dy) + Ark_ColorMetrics NumericImpl(const Ark_Number* value) { + return {}; } - void DrawImage1Impl(Ark_CanvasRenderer peer, - const Ark_Union_ImageBitmap_PixelMap* image, - const Ark_Number* dx, - const Ark_Number* dy, - const Ark_Number* dw, - const Ark_Number* dh) + Ark_ColorMetrics RgbaImpl(const Ark_Number* red, + const Ark_Number* green, + const Ark_Number* blue, + const Ark_Number* alpha) { + return {}; } - void DrawImage2Impl(Ark_CanvasRenderer peer, - const Ark_Union_ImageBitmap_PixelMap* image, - const Ark_Number* sx, - const Ark_Number* sy, - const Ark_Number* sw, - const Ark_Number* sh, - const Ark_Number* dx, - const Ark_Number* dy, - const Ark_Number* dw, - const Ark_Number* dh) + Ark_ColorMetrics ResourceColorImpl(const Ark_ResourceColor* color) { + return {}; } - void BeginPathImpl(Ark_CanvasRenderer peer) + Ark_ColorMetrics BlendColorImpl(Ark_ColorMetrics peer, + Ark_ColorMetrics overlayColor) { + return {}; } - void Clip0Impl(Ark_CanvasRenderer peer, - const Opt_String* fillRule) + Ark_String ColorImpl(Ark_ColorMetrics peer) { + return {}; } - void Clip1Impl(Ark_CanvasRenderer peer, - Ark_Path2D path, - const Opt_String* fillRule) + Ark_Number RedImpl(Ark_ColorMetrics peer) { + return {}; } - void Fill0Impl(Ark_CanvasRenderer peer, - const Opt_String* fillRule) + Ark_Number GreenImpl(Ark_ColorMetrics peer) { + return {}; } - void Fill1Impl(Ark_CanvasRenderer peer, - Ark_Path2D path, - const Opt_String* fillRule) + Ark_Number BlueImpl(Ark_ColorMetrics peer) { + return {}; } - void StrokeImpl(Ark_CanvasRenderer peer, - const Opt_Path2D* path) + Ark_Number AlphaImpl(Ark_ColorMetrics peer) { + return {}; } - Ark_CanvasGradient CreateLinearGradientImpl(Ark_CanvasRenderer peer, - const Ark_Number* x0, - const Ark_Number* y0, - const Ark_Number* x1, - const Ark_Number* y1) + } // ColorMetricsAccessor + namespace common_ContextAccessor { + void DestroyPeerImpl(Ark_common_Context peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Opt_CanvasPattern CreatePatternImpl(Ark_CanvasRenderer peer, - Ark_ImageBitmap image, - const Opt_String* repetition) + Ark_common_Context ConstructImpl() { return {}; } - Ark_CanvasGradient CreateRadialGradientImpl(Ark_CanvasRenderer peer, - const Ark_Number* x0, - const Ark_Number* y0, - const Ark_Number* r0, - const Ark_Number* x1, - const Ark_Number* y1, - const Ark_Number* r1) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - Ark_CanvasGradient CreateConicGradientImpl(Ark_CanvasRenderer peer, - const Ark_Number* startAngle, - const Ark_Number* x, - const Ark_Number* y) + Ark_common_Context CreateBundleContextImpl(Ark_VMContext vmContext, + Ark_common_Context peer, + const Ark_String* bundleName) { return {}; } - Ark_ImageData CreateImageData0Impl(Ark_CanvasRenderer peer, - const Ark_Number* sw, - const Ark_Number* sh) + Ark_common_Context CreateModuleContext0Impl(Ark_VMContext vmContext, + Ark_common_Context peer, + const Ark_String* moduleName) { return {}; } - Ark_ImageData CreateImageData1Impl(Ark_CanvasRenderer peer, - Ark_ImageData imagedata) + Ark_common_Context CreateModuleContext1Impl(Ark_VMContext vmContext, + Ark_common_Context peer, + const Ark_String* bundleName, + const Ark_String* moduleName) { return {}; } - Ark_ImageData GetImageDataImpl(Ark_CanvasRenderer peer, - const Ark_Number* sx, - const Ark_Number* sy, - const Ark_Number* sw, - const Ark_Number* sh) + void GetGroupDir0Impl(Ark_VMContext vmContext, + Ark_common_Context peer, + const Ark_String* dataGroupID, + const Context_getGroupDir_Callback* callback_) + { + } + void GetGroupDir1Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_common_Context peer, + const Ark_String* dataGroupID, + const Callback_Opt_String_Opt_Array_String_Void* outputArgumentForReturningPromise) + { + } + Ark_String GetCacheDirImpl(Ark_common_Context peer) { return {}; } - Ark_image_PixelMap GetPixelMapImpl(Ark_CanvasRenderer peer, - const Ark_Number* sx, - const Ark_Number* sy, - const Ark_Number* sw, - const Ark_Number* sh) + void SetCacheDirImpl(Ark_common_Context peer, + const Ark_String* cacheDir) + { + } + Ark_String GetTempDirImpl(Ark_common_Context peer) { return {}; } - void PutImageData0Impl(Ark_CanvasRenderer peer, - Ark_ImageData imagedata, - const Ark_Union_Number_String* dx, - const Ark_Union_Number_String* dy) + void SetTempDirImpl(Ark_common_Context peer, + const Ark_String* tempDir) { } - void PutImageData1Impl(Ark_CanvasRenderer peer, - Ark_ImageData imagedata, - const Ark_Union_Number_String* dx, - const Ark_Union_Number_String* dy, - const Ark_Union_Number_String* dirtyX, - const Ark_Union_Number_String* dirtyY, - const Ark_Union_Number_String* dirtyWidth, - const Ark_Union_Number_String* dirtyHeight) + Ark_String GetFilesDirImpl(Ark_common_Context peer) { + return {}; } - Array_Number GetLineDashImpl(Ark_CanvasRenderer peer) + void SetFilesDirImpl(Ark_common_Context peer, + const Ark_String* filesDir) + { + } + Ark_String GetDatabaseDirImpl(Ark_common_Context peer) { return {}; } - void SetLineDashImpl(Ark_CanvasRenderer peer, - const Array_Number* segments) + void SetDatabaseDirImpl(Ark_common_Context peer, + const Ark_String* databaseDir) { } - void ClearRectImpl(Ark_CanvasRenderer peer, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* w, - const Ark_Number* h) + Ark_String GetPreferencesDirImpl(Ark_common_Context peer) { + return {}; } - void FillRectImpl(Ark_CanvasRenderer peer, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* w, - const Ark_Number* h) + void SetPreferencesDirImpl(Ark_common_Context peer, + const Ark_String* preferencesDir) { } - void StrokeRectImpl(Ark_CanvasRenderer peer, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* w, - const Ark_Number* h) + Ark_String GetBundleCodeDirImpl(Ark_common_Context peer) { + return {}; } - void RestoreImpl(Ark_CanvasRenderer peer) + void SetBundleCodeDirImpl(Ark_common_Context peer, + const Ark_String* bundleCodeDir) { } - void SaveImpl(Ark_CanvasRenderer peer) + Ark_String GetDistributedFilesDirImpl(Ark_common_Context peer) { + return {}; } - void FillTextImpl(Ark_CanvasRenderer peer, - const Ark_String* text, - const Ark_Number* x, - const Ark_Number* y, - const Opt_Number* maxWidth) + void SetDistributedFilesDirImpl(Ark_common_Context peer, + const Ark_String* distributedFilesDir) { } - Ark_TextMetrics MeasureTextImpl(Ark_CanvasRenderer peer, - const Ark_String* text) + Ark_String GetResourceDirImpl(Ark_common_Context peer) { return {}; } - void StrokeTextImpl(Ark_CanvasRenderer peer, - const Ark_String* text, - const Ark_Number* x, - const Ark_Number* y, - const Opt_Number* maxWidth) + void SetResourceDirImpl(Ark_common_Context peer, + const Ark_String* resourceDir) { } - Ark_Matrix2D GetTransformImpl(Ark_CanvasRenderer peer) + Ark_String GetCloudFileDirImpl(Ark_common_Context peer) { return {}; } - void ResetTransformImpl(Ark_CanvasRenderer peer) + void SetCloudFileDirImpl(Ark_common_Context peer, + const Ark_String* cloudFileDir) { } - void RotateImpl(Ark_CanvasRenderer peer, - const Ark_Number* angle) + } // common_ContextAccessor + namespace CommonShapeAccessor { + void DestroyPeerImpl(Ark_CommonShape peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void ScaleImpl(Ark_CanvasRenderer peer, - const Ark_Number* x, - const Ark_Number* y) + Ark_CommonShape ConstructImpl() { + return {}; } - void SetTransform0Impl(Ark_CanvasRenderer peer, - const Ark_Number* a, - const Ark_Number* b, - const Ark_Number* c, - const Ark_Number* d, - const Ark_Number* e, - const Ark_Number* f) + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_CommonShape OffsetImpl(Ark_CommonShape peer, + const Ark_Position* offset) + { + return {}; + } + Ark_CommonShape FillImpl(Ark_CommonShape peer, + const Ark_ResourceColor* color) { + return {}; } - void SetTransform1Impl(Ark_CanvasRenderer peer, - const Opt_Matrix2D* transform) + Ark_CommonShape PositionImpl(Ark_CommonShape peer, + const Ark_Position* position) { + return {}; } - void TransformImpl(Ark_CanvasRenderer peer, - const Ark_Number* a, - const Ark_Number* b, - const Ark_Number* c, - const Ark_Number* d, - const Ark_Number* e, - const Ark_Number* f) + } // CommonShapeAccessor + namespace ComponentContentAccessor { + void DestroyPeerImpl(Ark_ComponentContent peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void TranslateImpl(Ark_CanvasRenderer peer, - const Ark_Number* x, - const Ark_Number* y) + Ark_ComponentContent ConstructImpl() { + return {}; } - void SetPixelMapImpl(Ark_CanvasRenderer peer, - const Opt_image_PixelMap* value) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - void TransferFromImageBitmapImpl(Ark_CanvasRenderer peer, - Ark_ImageBitmap bitmap) + void UpdateImpl(Ark_ComponentContent peer, + const Ark_Object* args) { } - void SaveLayerImpl(Ark_CanvasRenderer peer) + void ReuseImpl(Ark_ComponentContent peer, + const Opt_Object* param) { } - void RestoreLayerImpl(Ark_CanvasRenderer peer) + void RecycleImpl(Ark_ComponentContent peer) { } - void ResetImpl(Ark_CanvasRenderer peer) + void DisposeImpl(Ark_ComponentContent peer) { } - Ark_Union_LengthMetrics_String GetLetterSpacingImpl(Ark_CanvasRenderer peer) + void UpdateConfigurationImpl(Ark_ComponentContent peer) { - return {}; } - void SetLetterSpacingImpl(Ark_CanvasRenderer peer, - const Ark_Union_LengthMetrics_String* letterSpacing) + } // ComponentContentAccessor + namespace ConsoleMessageAccessor { + void DestroyPeerImpl(Ark_ConsoleMessage peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Number GetGlobalAlphaImpl(Ark_CanvasRenderer peer) + Ark_ConsoleMessage ConstructImpl() { return {}; } - void SetGlobalAlphaImpl(Ark_CanvasRenderer peer, - const Ark_Number* globalAlpha) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_String GetGlobalCompositeOperationImpl(Ark_CanvasRenderer peer) + Ark_String GetMessageImpl(Ark_ConsoleMessage peer) { return {}; } - void SetGlobalCompositeOperationImpl(Ark_CanvasRenderer peer, - const Ark_String* globalCompositeOperation) - { - } - Ark_Union_String_Number_CanvasGradient_CanvasPattern GetFillStyleImpl(Ark_CanvasRenderer peer) + Ark_String GetSourceIdImpl(Ark_ConsoleMessage peer) { return {}; } - void SetFillStyleImpl(Ark_CanvasRenderer peer, - const Ark_Union_String_Number_CanvasGradient_CanvasPattern* fillStyle) + Ark_Number GetLineNumberImpl(Ark_ConsoleMessage peer) { + return {}; } - Ark_Union_String_Number_CanvasGradient_CanvasPattern GetStrokeStyleImpl(Ark_CanvasRenderer peer) + Ark_MessageLevel GetMessageLevelImpl(Ark_ConsoleMessage peer) { return {}; } - void SetStrokeStyleImpl(Ark_CanvasRenderer peer, - const Ark_Union_String_Number_CanvasGradient_CanvasPattern* strokeStyle) + } // ConsoleMessageAccessor + namespace ContentModifierHelperAccessor { + void ContentModifierButtonImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const ButtonModifierBuilder* builder) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - Ark_String GetFilterImpl(Ark_CanvasRenderer peer) + void ResetContentModifierButtonImpl(Ark_NativePointer node) { - return {}; + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - void SetFilterImpl(Ark_CanvasRenderer peer, - const Ark_String* filter) + void ContentModifierCheckBoxImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const CheckBoxModifierBuilder* builder) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - Ark_Boolean GetImageSmoothingEnabledImpl(Ark_CanvasRenderer peer) + void ResetContentModifierCheckBoxImpl(Ark_NativePointer node) { - return {}; + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - void SetImageSmoothingEnabledImpl(Ark_CanvasRenderer peer, - Ark_Boolean imageSmoothingEnabled) + void ContentModifierDataPanelImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const DataPanelModifierBuilder* builder) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - Ark_String GetImageSmoothingQualityImpl(Ark_CanvasRenderer peer) + void ResetContentModifierDataPanelImpl(Ark_NativePointer node) { - return {}; + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - void SetImageSmoothingQualityImpl(Ark_CanvasRenderer peer, - const Ark_String* imageSmoothingQuality) + void ContentModifierGaugeImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const GaugeModifierBuilder* builder) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - Ark_String GetLineCapImpl(Ark_CanvasRenderer peer) + void ResetContentModifierGaugeImpl(Ark_NativePointer node) { - return {}; + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - void SetLineCapImpl(Ark_CanvasRenderer peer, - const Ark_String* lineCap) + void ContentModifierLoadingProgressImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const LoadingProgressModifierBuilder* builder) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - Ark_Number GetLineDashOffsetImpl(Ark_CanvasRenderer peer) + void ResetContentModifierLoadingProgressImpl(Ark_NativePointer node) { - return {}; + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - void SetLineDashOffsetImpl(Ark_CanvasRenderer peer, - const Ark_Number* lineDashOffset) + void ContentModifierProgressImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const ProgressModifierBuilder* builder) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - Ark_String GetLineJoinImpl(Ark_CanvasRenderer peer) + void ResetContentModifierProgressImpl(Ark_NativePointer node) { - return {}; + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - void SetLineJoinImpl(Ark_CanvasRenderer peer, - const Ark_String* lineJoin) + void ContentModifierRadioImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const RadioModifierBuilder* builder) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - Ark_Number GetLineWidthImpl(Ark_CanvasRenderer peer) + void ResetContentModifierRadioImpl(Ark_NativePointer node) { - return {}; + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - void SetLineWidthImpl(Ark_CanvasRenderer peer, - const Ark_Number* lineWidth) + void ContentModifierRatingImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const RatingModifierBuilder* builder) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - Ark_Number GetMiterLimitImpl(Ark_CanvasRenderer peer) + void ResetContentModifierRatingImpl(Ark_NativePointer node) { - return {}; + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - void SetMiterLimitImpl(Ark_CanvasRenderer peer, - const Ark_Number* miterLimit) + void ContentModifierMenuItemImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const MenuItemModifierBuilder* builder) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - Ark_Number GetShadowBlurImpl(Ark_CanvasRenderer peer) + void ResetContentModifierMenuItemImpl(Ark_NativePointer node) { - return {}; + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - void SetShadowBlurImpl(Ark_CanvasRenderer peer, - const Ark_Number* shadowBlur) + void ContentModifierSliderImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const SliderModifierBuilder* builder) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - Ark_String GetShadowColorImpl(Ark_CanvasRenderer peer) + void ResetContentModifierSliderImpl(Ark_NativePointer node) { - return {}; + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - void SetShadowColorImpl(Ark_CanvasRenderer peer, - const Ark_String* shadowColor) + void ContentModifierTextClockImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const TextClockModifierBuilder* builder) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - Ark_Number GetShadowOffsetXImpl(Ark_CanvasRenderer peer) + void ResetContentModifierTextClockImpl(Ark_NativePointer node) { - return {}; + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - void SetShadowOffsetXImpl(Ark_CanvasRenderer peer, - const Ark_Number* shadowOffsetX) + void ContentModifierTextTimerImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const TextTimerModifierBuilder* builder) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - Ark_Number GetShadowOffsetYImpl(Ark_CanvasRenderer peer) + void ResetContentModifierTextTimerImpl(Ark_NativePointer node) { - return {}; + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - void SetShadowOffsetYImpl(Ark_CanvasRenderer peer, - const Ark_Number* shadowOffsetY) + void ContentModifierToggleImpl(Ark_NativePointer node, + const Ark_Object* contentModifier, + const ToggleModifierBuilder* builder) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - Ark_String GetDirectionImpl(Ark_CanvasRenderer peer) + void ResetContentModifierToggleImpl(Ark_NativePointer node) { - return {}; + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - void SetDirectionImpl(Ark_CanvasRenderer peer, - const Ark_String* direction) + } // ContentModifierHelperAccessor + namespace ContextAccessor { + void DestroyPeerImpl(Ark_Context peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_String GetFontImpl(Ark_CanvasRenderer peer) + Ark_Context ConstructImpl() { return {}; } - void SetFontImpl(Ark_CanvasRenderer peer, - const Ark_String* font) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_String GetTextAlignImpl(Ark_CanvasRenderer peer) + } // ContextAccessor + namespace ControllerHandlerAccessor { + void DestroyPeerImpl(Ark_ControllerHandler peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void SetTextAlignImpl(Ark_CanvasRenderer peer, - const Ark_String* textAlign) + Ark_ControllerHandler ConstructImpl() { + return {}; } - Ark_String GetTextBaselineImpl(Ark_CanvasRenderer peer) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - void SetTextBaselineImpl(Ark_CanvasRenderer peer, - const Ark_String* textBaseline) + void SetWebControllerImpl(Ark_ControllerHandler peer, + Ark_webview_WebviewController controller) { } - } // CanvasRendererAccessor - namespace CanvasRenderingContext2DAccessor { - void DestroyPeerImpl(Ark_CanvasRenderingContext2D peer) + } // ControllerHandlerAccessor + namespace curves_ICurveAccessor { + void DestroyPeerImpl(Ark_curves_ICurve peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_CanvasRenderingContext2D ConstructImpl(const Opt_RenderingContextSettings* settings, - const Opt_LengthMetricsUnit* unit) + Ark_curves_ICurve ConstructImpl() { return {}; } @@ -10619,74 +12040,80 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_String ToDataURLImpl(Ark_CanvasRenderingContext2D peer, - const Opt_String* type, - const Opt_Number* quality) + Ark_Number InterpolateImpl(Ark_curves_ICurve peer, + const Ark_Number* fraction) { return {}; } - void StartImageAnalyzerImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_CanvasRenderingContext2D peer, - const Ark_ImageAnalyzerConfig* config, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + } // curves_ICurveAccessor + namespace CustomDialogControllerAccessor { + void DestroyPeerImpl(Ark_CustomDialogController peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void StopImageAnalyzerImpl(Ark_CanvasRenderingContext2D peer) + Ark_CustomDialogController ConstructImpl(const Ark_CustomDialogControllerOptions* value) { + return {}; } - void OnOnAttachImpl(Ark_VMContext vmContext, - Ark_CanvasRenderingContext2D peer, - const Callback_Void* callback_) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - void OffOnAttachImpl(Ark_VMContext vmContext, - Ark_CanvasRenderingContext2D peer, - const Opt_Callback_Void* callback_) + void OpenImpl(Ark_CustomDialogController peer) { } - void OnOnDetachImpl(Ark_CanvasRenderingContext2D peer, - const Callback_Void* callback_) + void CloseImpl(Ark_CustomDialogController peer) { } - void OffOnDetachImpl(Ark_CanvasRenderingContext2D peer, - const Opt_Callback_Void* callback_) + } // CustomDialogControllerAccessor + namespace CustomSpanAccessor { + void DestroyPeerImpl(Ark_CustomSpan peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Number GetHeightImpl(Ark_CanvasRenderingContext2D peer) + Ark_CustomSpan ConstructImpl() { return {}; } - void SetHeightImpl(Ark_CanvasRenderingContext2D peer, - const Ark_Number* height) + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void InvalidateImpl(Ark_CustomSpan peer) { } - Ark_Number GetWidthImpl(Ark_CanvasRenderingContext2D peer) + Callback_CustomSpanMeasureInfo_CustomSpanMetrics GetOnMeasureImpl(Ark_CustomSpan peer) { return {}; } - void SetWidthImpl(Ark_CanvasRenderingContext2D peer, - const Ark_Number* width) + void SetOnMeasureImpl(Ark_CustomSpan peer, + const Callback_CustomSpanMeasureInfo_CustomSpanMetrics* onMeasure) { } - Ark_FrameNode GetCanvasImpl(Ark_CanvasRenderingContext2D peer) + Callback_DrawContext_CustomSpanDrawInfo_Void GetOnDrawImpl(Ark_CustomSpan peer) { return {}; } - void SetCanvasImpl(Ark_CanvasRenderingContext2D peer, - Ark_FrameNode canvas) + void SetOnDrawImpl(Ark_CustomSpan peer, + const Callback_DrawContext_CustomSpanDrawInfo_Void* onDraw) { } - } // CanvasRenderingContext2DAccessor - namespace ChildrenMainSizeAccessor { - void DestroyPeerImpl(Ark_ChildrenMainSize peer) + } // CustomSpanAccessor + namespace DataResubmissionHandlerAccessor { + void DestroyPeerImpl(Ark_DataResubmissionHandler peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_ChildrenMainSize ConstructImpl(const Ark_Number* childDefaultSize) + Ark_DataResubmissionHandler ConstructImpl() { return {}; } @@ -10694,35 +12121,39 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void SpliceImpl(Ark_ChildrenMainSize peer, - const Ark_Number* start, - const Opt_Number* deleteCount, - const Opt_Array_Number* childrenSize) + void ResendImpl(Ark_DataResubmissionHandler peer) { } - void UpdateImpl(Ark_ChildrenMainSize peer, - const Ark_Number* index, - const Ark_Number* childSize) + void CancelImpl(Ark_DataResubmissionHandler peer) { } - Ark_Number GetChildDefaultSizeImpl(Ark_ChildrenMainSize peer) + } // DataResubmissionHandlerAccessor + namespace DatePickerDialogAccessor { + void DestroyPeerImpl(Ark_DatePickerDialog peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_DatePickerDialog ConstructImpl() { return {}; } - void SetChildDefaultSizeImpl(Ark_ChildrenMainSize peer, - const Ark_Number* childDefaultSize) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - } // ChildrenMainSizeAccessor - namespace CircleShapeAccessor { - void DestroyPeerImpl(Ark_CircleShape peer) + } // DatePickerDialogAccessor + namespace DecorationStyleAccessor { + void DestroyPeerImpl(Ark_DecorationStyle peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_CircleShape ConstructImpl(const Opt_ShapeSize* options) + Ark_DecorationStyle ConstructImpl(const Ark_DecorationStyleInterface* value) { return {}; } @@ -10730,46 +12161,53 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_CircleShape OffsetImpl(Ark_CircleShape peer, - const Ark_Position* offset) + Ark_TextDecorationType GetTypeImpl(Ark_DecorationStyle peer) { return {}; } - Ark_CircleShape FillImpl(Ark_CircleShape peer, - const Ark_ResourceColor* color) + Opt_ResourceColor GetColorImpl(Ark_DecorationStyle peer) { return {}; } - Ark_CircleShape PositionImpl(Ark_CircleShape peer, - const Ark_Position* position) + Opt_TextDecorationStyle GetStyleImpl(Ark_DecorationStyle peer) { return {}; } - Ark_CircleShape WidthImpl(Ark_CircleShape peer, - const Ark_Length* width) + } // DecorationStyleAccessor + namespace DisappearSymbolEffectAccessor { + void DestroyPeerImpl(Ark_DisappearSymbolEffect peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_CircleShape HeightImpl(Ark_CircleShape peer, - const Ark_Length* height) + Ark_DisappearSymbolEffect ConstructImpl(const Opt_EffectScope* scope) { return {}; } - Ark_CircleShape SizeImpl(Ark_CircleShape peer, - const Ark_SizeOptions* size) + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Opt_EffectScope GetScopeImpl(Ark_DisappearSymbolEffect peer) { return {}; } - } // CircleShapeAccessor - namespace ClickEventAccessor { - void DestroyPeerImpl(Ark_ClickEvent peer) + void SetScopeImpl(Ark_DisappearSymbolEffect peer, + const Opt_EffectScope* scope) { - auto peerImpl = reinterpret_cast(peer); + } + } // DisappearSymbolEffectAccessor + namespace DismissDialogActionAccessor { + void DestroyPeerImpl(Ark_DismissDialogAction peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_ClickEvent ConstructImpl() + Ark_DismissDialogAction ConstructImpl() { return {}; } @@ -10777,175 +12215,177 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetDisplayXImpl(Ark_ClickEvent peer) + void DismissImpl(Ark_DismissDialogAction peer) { - return {}; } - void SetDisplayXImpl(Ark_ClickEvent peer, - const Ark_Number* displayX) + Ark_DismissReason GetReasonImpl(Ark_DismissDialogAction peer) { + return {}; } - Ark_Number GetDisplayYImpl(Ark_ClickEvent peer) + void SetReasonImpl(Ark_DismissDialogAction peer, + Ark_DismissReason reason) { - return {}; } - void SetDisplayYImpl(Ark_ClickEvent peer, - const Ark_Number* displayY) + } // DismissDialogActionAccessor + namespace DismissPopupActionAccessor { + void DestroyPeerImpl(Ark_DismissPopupAction peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Number GetWindowXImpl(Ark_ClickEvent peer) + Ark_DismissPopupAction ConstructImpl() { return {}; } - void SetWindowXImpl(Ark_ClickEvent peer, - const Ark_Number* windowX) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetWindowYImpl(Ark_ClickEvent peer) + void DismissImpl(Ark_DismissPopupAction peer) { - return {}; } - void SetWindowYImpl(Ark_ClickEvent peer, - const Ark_Number* windowY) + Ark_DismissReason GetReasonImpl(Ark_DismissPopupAction peer) { + return {}; } - Ark_Number GetXImpl(Ark_ClickEvent peer) + void SetReasonImpl(Ark_DismissPopupAction peer, + Ark_DismissReason reason) { - return {}; } - void SetXImpl(Ark_ClickEvent peer, - const Ark_Number* x) + } // DismissPopupActionAccessor + namespace DragEventAccessor { + void DestroyPeerImpl(Ark_DragEvent peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Number GetYImpl(Ark_ClickEvent peer) + Ark_DragEvent ConstructImpl() { return {}; } - void SetYImpl(Ark_ClickEvent peer, - const Ark_Number* y) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Opt_InteractionHand GetHandImpl(Ark_ClickEvent peer) + Ark_Number GetDisplayXImpl(Ark_DragEvent peer) { return {}; } - void SetHandImpl(Ark_ClickEvent peer, - const Opt_InteractionHand* hand) + Ark_Number GetDisplayYImpl(Ark_DragEvent peer) { + return {}; } - Callback_Void GetPreventDefaultImpl(Ark_ClickEvent peer) + Ark_Number GetWindowXImpl(Ark_DragEvent peer) { return {}; } - void SetPreventDefaultImpl(Ark_ClickEvent peer, - const Callback_Void* preventDefault) + Ark_Number GetWindowYImpl(Ark_DragEvent peer) { + return {}; } - } // ClickEventAccessor - namespace ColorContentAccessor { - void DestroyPeerImpl(Ark_ColorContent peer) + void SetDataImpl(Ark_DragEvent peer, + Ark_unifiedDataChannel_UnifiedData unifiedData) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_ColorContent ConstructImpl() + Ark_unifiedDataChannel_UnifiedData GetDataImpl(Ark_DragEvent peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_unifiedDataChannel_Summary GetSummaryImpl(Ark_DragEvent peer) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - Ark_ColorContent GetORIGINImpl() + void SetResultImpl(Ark_DragEvent peer, + Ark_DragResult dragResult) { - return {}; } - } // ColorContentAccessor - namespace ColorFilterAccessor { - void DestroyPeerImpl(Ark_ColorFilter peer) + Ark_DragResult GetResultImpl(Ark_DragEvent peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_ColorFilter ConstructImpl(const Array_Number* value) + Ark_Rectangle GetPreviewRectImpl(Ark_DragEvent peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number GetVelocityXImpl(Ark_DragEvent peer) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - } // ColorFilterAccessor - namespace ColorMetricsAccessor { - void DestroyPeerImpl(Ark_ColorMetrics peer) + Ark_Number GetVelocityYImpl(Ark_DragEvent peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_ColorMetrics ConstructImpl() + Ark_Number GetVelocityImpl(Ark_DragEvent peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void ExecuteDropAnimationImpl(Ark_DragEvent peer, + const Callback_Void* customDropAnimation) + { + } + void EnableInternalDropAnimationImpl(Ark_DragEvent peer, + const Ark_String* configuration) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_ColorMetrics NumericImpl(const Ark_Number* value) + Ark_DragBehavior GetDragBehaviorImpl(Ark_DragEvent peer) { return {}; } - Ark_ColorMetrics RgbaImpl(const Ark_Number* red, - const Ark_Number* green, - const Ark_Number* blue, - const Ark_Number* alpha) + void SetDragBehaviorImpl(Ark_DragEvent peer, + Ark_DragBehavior dragBehavior) { - return {}; } - Ark_ColorMetrics ResourceColorImpl(const Ark_ResourceColor* color) + Ark_Boolean GetUseCustomDropAnimationImpl(Ark_DragEvent peer) { return {}; } - Ark_ColorMetrics BlendColorImpl(Ark_ColorMetrics peer, - Ark_ColorMetrics overlayColor) + void SetUseCustomDropAnimationImpl(Ark_DragEvent peer, + Ark_Boolean useCustomDropAnimation) { - return {}; } - Ark_String ColorImpl(Ark_ColorMetrics peer) + Opt_ModifierKeyStateGetter GetGetModifierKeyStateImpl(Ark_DragEvent peer) { return {}; } - Ark_Number RedImpl(Ark_ColorMetrics peer) + void SetGetModifierKeyStateImpl(Ark_DragEvent peer, + const Opt_ModifierKeyStateGetter* getModifierKeyState) { - return {}; } - Ark_Number GreenImpl(Ark_ColorMetrics peer) + } // DragEventAccessor + namespace DrawableDescriptorAccessor { + void DestroyPeerImpl(Ark_DrawableDescriptor peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Number BlueImpl(Ark_ColorMetrics peer) + Ark_DrawableDescriptor ConstructImpl() { return {}; } - Ark_Number AlphaImpl(Ark_ColorMetrics peer) + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_image_PixelMap GetPixelMapImpl(Ark_DrawableDescriptor peer) { return {}; } - } // ColorMetricsAccessor - namespace common_ContextAccessor { - void DestroyPeerImpl(Ark_common_Context peer) + } // DrawableDescriptorAccessor + namespace DrawContextAccessor { + void DestroyPeerImpl(Ark_DrawContext peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_common_Context ConstructImpl() + Ark_DrawContext ConstructImpl() { return {}; } @@ -10953,120 +12393,119 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_common_Context CreateBundleContextImpl(Ark_VMContext vmContext, - Ark_common_Context peer, - const Ark_String* bundleName) + Ark_Size SizeImpl(Ark_DrawContext peer) { return {}; } - Ark_common_Context CreateModuleContext0Impl(Ark_VMContext vmContext, - Ark_common_Context peer, - const Ark_String* moduleName) + Ark_Size SizeInPixelImpl(Ark_DrawContext peer) { return {}; } - Ark_common_Context CreateModuleContext1Impl(Ark_VMContext vmContext, - Ark_common_Context peer, - const Ark_String* bundleName, - const Ark_String* moduleName) + Ark_drawing_Canvas CanvasImpl(Ark_DrawContext peer) { return {}; } - void GetGroupDir0Impl(Ark_VMContext vmContext, - Ark_common_Context peer, - const Ark_String* dataGroupID, - const Context_getGroupDir_Callback* callback_) + } // DrawContextAccessor + namespace drawing_BrushAccessor { + void DestroyPeerImpl(Ark_drawing_Brush peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void GetGroupDir1Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_common_Context peer, - const Ark_String* dataGroupID, - const Callback_Opt_String_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_drawing_Brush Construct0Impl() { + return {}; } - Ark_String GetCacheDirImpl(Ark_common_Context peer) + Ark_drawing_Brush Construct1Impl(Ark_drawing_Brush brush) { return {}; } - void SetCacheDirImpl(Ark_common_Context peer, - const Ark_String* cacheDir) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_String GetTempDirImpl(Ark_common_Context peer) + void SetColor0Impl(Ark_drawing_Brush peer, + const Ark_common2D_Color* color) { - return {}; } - void SetTempDirImpl(Ark_common_Context peer, - const Ark_String* tempDir) + void SetColor1Impl(Ark_drawing_Brush peer, + const Ark_Number* color) { } - Ark_String GetFilesDirImpl(Ark_common_Context peer) + void SetColor2Impl(Ark_drawing_Brush peer, + const Ark_Number* alpha, + const Ark_Number* red, + const Ark_Number* green, + const Ark_Number* blue) { - return {}; } - void SetFilesDirImpl(Ark_common_Context peer, - const Ark_String* filesDir) + Ark_common2D_Color GetColorImpl(Ark_drawing_Brush peer) { + return {}; } - Ark_String GetDatabaseDirImpl(Ark_common_Context peer) + Ark_Number GetHexColorImpl(Ark_drawing_Brush peer) { return {}; } - void SetDatabaseDirImpl(Ark_common_Context peer, - const Ark_String* databaseDir) + void SetAntiAliasImpl(Ark_drawing_Brush peer, + Ark_Boolean aa) { } - Ark_String GetPreferencesDirImpl(Ark_common_Context peer) + Ark_Boolean IsAntiAliasImpl(Ark_drawing_Brush peer) { return {}; } - void SetPreferencesDirImpl(Ark_common_Context peer, - const Ark_String* preferencesDir) + void SetAlphaImpl(Ark_drawing_Brush peer, + const Ark_Number* alpha) { } - Ark_String GetBundleCodeDirImpl(Ark_common_Context peer) + Ark_Number GetAlphaImpl(Ark_drawing_Brush peer) { return {}; } - void SetBundleCodeDirImpl(Ark_common_Context peer, - const Ark_String* bundleCodeDir) + void SetColorFilterImpl(Ark_drawing_Brush peer, + Ark_drawing_ColorFilter filter) { } - Ark_String GetDistributedFilesDirImpl(Ark_common_Context peer) + Ark_drawing_ColorFilter GetColorFilterImpl(Ark_drawing_Brush peer) { return {}; } - void SetDistributedFilesDirImpl(Ark_common_Context peer, - const Ark_String* distributedFilesDir) + void SetImageFilterImpl(Ark_drawing_Brush peer, + const Opt_drawing_ImageFilter* filter) { } - Ark_String GetResourceDirImpl(Ark_common_Context peer) + void SetMaskFilterImpl(Ark_drawing_Brush peer, + Ark_drawing_MaskFilter filter) { - return {}; } - void SetResourceDirImpl(Ark_common_Context peer, - const Ark_String* resourceDir) + void SetShadowLayerImpl(Ark_drawing_Brush peer, + Ark_drawing_ShadowLayer shadowLayer) { } - Ark_String GetCloudFileDirImpl(Ark_common_Context peer) + void SetShaderEffectImpl(Ark_drawing_Brush peer, + Ark_drawing_ShaderEffect shaderEffect) { - return {}; } - void SetCloudFileDirImpl(Ark_common_Context peer, - const Ark_String* cloudFileDir) + void SetBlendModeImpl(Ark_drawing_Brush peer, + Ark_drawing_BlendMode mode) { } - } // common_ContextAccessor - namespace CommonShapeAccessor { - void DestroyPeerImpl(Ark_CommonShape peer) + void ResetImpl(Ark_drawing_Brush peer) { - auto peerImpl = reinterpret_cast(peer); + } + } // drawing_BrushAccessor + namespace drawing_CanvasAccessor { + void DestroyPeerImpl(Ark_drawing_Canvas peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_CommonShape ConstructImpl() + Ark_drawing_Canvas ConstructImpl(Ark_image_PixelMap pixelmap) { return {}; } @@ -11074,285 +12513,281 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_CommonShape OffsetImpl(Ark_CommonShape peer, - const Ark_Position* offset) + void DrawRect0Impl(Ark_drawing_Canvas peer, + const Ark_common2D_Rect* rect) { - return {}; } - Ark_CommonShape FillImpl(Ark_CommonShape peer, - const Ark_ResourceColor* color) + void DrawRect1Impl(Ark_drawing_Canvas peer, + const Ark_Number* left, + const Ark_Number* top, + const Ark_Number* right, + const Ark_Number* bottom) { - return {}; } - Ark_CommonShape PositionImpl(Ark_CommonShape peer, - const Ark_Position* position) + void DrawRoundRectImpl(Ark_drawing_Canvas peer, + Ark_drawing_RoundRect roundRect) { - return {}; } - } // CommonShapeAccessor - namespace ComponentContentAccessor { - void DestroyPeerImpl(Ark_ComponentContent peer) + void DrawNestedRoundRectImpl(Ark_drawing_Canvas peer, + Ark_drawing_RoundRect outer, + Ark_drawing_RoundRect inner) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_ComponentContent ConstructImpl() + void DrawBackgroundImpl(Ark_drawing_Canvas peer, + Ark_drawing_Brush brush) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void DrawShadow0Impl(Ark_drawing_Canvas peer, + Ark_drawing_Path path, + const Ark_common2D_Point3d* planeParams, + const Ark_common2D_Point3d* devLightPos, + const Ark_Number* lightRadius, + const Ark_common2D_Color* ambientColor, + const Ark_common2D_Color* spotColor, + Ark_drawing_ShadowFlag flag) { - return reinterpret_cast(&DestroyPeerImpl); } - void UpdateImpl(Ark_ComponentContent peer, - const Ark_Object* args) + void DrawShadow1Impl(Ark_drawing_Canvas peer, + Ark_drawing_Path path, + const Ark_common2D_Point3d* planeParams, + const Ark_common2D_Point3d* devLightPos, + const Ark_Number* lightRadius, + const Ark_Number* ambientColor, + const Ark_Number* spotColor, + Ark_drawing_ShadowFlag flag) { } - void ReuseImpl(Ark_ComponentContent peer, - const Opt_Object* param) + void DrawCircleImpl(Ark_drawing_Canvas peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* radius) { } - void RecycleImpl(Ark_ComponentContent peer) + void DrawImageImpl(Ark_drawing_Canvas peer, + Ark_image_PixelMap pixelmap, + const Ark_Number* left, + const Ark_Number* top, + Ark_drawing_SamplingOptions samplingOptions) { } - void DisposeImpl(Ark_ComponentContent peer) + void DrawImageRectImpl(Ark_drawing_Canvas peer, + Ark_image_PixelMap pixelmap, + const Ark_common2D_Rect* dstRect, + Ark_drawing_SamplingOptions samplingOptions) { } - void UpdateConfigurationImpl(Ark_ComponentContent peer) + void DrawImageRectWithSrcImpl(Ark_drawing_Canvas peer, + Ark_image_PixelMap pixelmap, + const Ark_common2D_Rect* srcRect, + const Ark_common2D_Rect* dstRect, + Ark_drawing_SamplingOptions samplingOptions, + Ark_drawing_SrcRectConstraint constraint) + { + } + void DrawColor0Impl(Ark_drawing_Canvas peer, + const Ark_common2D_Color* color, + Ark_drawing_BlendMode blendMode) + { + } + void DrawColor1Impl(Ark_drawing_Canvas peer, + const Ark_Number* color, + Ark_drawing_BlendMode blendMode) + { + } + void DrawColor2Impl(Ark_drawing_Canvas peer, + const Ark_Number* alpha, + const Ark_Number* red, + const Ark_Number* green, + const Ark_Number* blue, + Ark_drawing_BlendMode blendMode) { } - } // ComponentContentAccessor - namespace ContentModifierHelperAccessor { - void ContentModifierButtonImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const ButtonModifierBuilder* builder) + void DrawOvalImpl(Ark_drawing_Canvas peer, + const Ark_common2D_Rect* oval) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ResetContentModifierButtonImpl(Ark_NativePointer node) + void DrawArcImpl(Ark_drawing_Canvas peer, + const Ark_common2D_Rect* arc, + const Ark_Number* startAngle, + const Ark_Number* sweepAngle) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ContentModifierCheckBoxImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const CheckBoxModifierBuilder* builder) + void DrawPointImpl(Ark_drawing_Canvas peer, + const Ark_Number* x, + const Ark_Number* y) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ResetContentModifierCheckBoxImpl(Ark_NativePointer node) + void DrawPointsImpl(Ark_drawing_Canvas peer, + const Array_common2D_Point* points, + Ark_drawing_PointMode mode) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ContentModifierDataPanelImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const DataPanelModifierBuilder* builder) + void DrawPathImpl(Ark_drawing_Canvas peer, + Ark_drawing_Path path) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ResetContentModifierDataPanelImpl(Ark_NativePointer node) + void DrawLineImpl(Ark_drawing_Canvas peer, + const Ark_Number* x0, + const Ark_Number* y0, + const Ark_Number* x1, + const Ark_Number* y1) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ContentModifierGaugeImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const GaugeModifierBuilder* builder) + void DrawSingleCharacterImpl(Ark_drawing_Canvas peer, + const Ark_String* text, + Ark_drawing_Font font, + const Ark_Number* x, + const Ark_Number* y) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ResetContentModifierGaugeImpl(Ark_NativePointer node) + void DrawTextBlobImpl(Ark_drawing_Canvas peer, + Ark_drawing_TextBlob blob, + const Ark_Number* x, + const Ark_Number* y) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ContentModifierLoadingProgressImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const LoadingProgressModifierBuilder* builder) + void DrawPixelMapMeshImpl(Ark_drawing_Canvas peer, + Ark_image_PixelMap pixelmap, + const Ark_Number* meshWidth, + const Ark_Number* meshHeight, + const Array_Number* vertices, + const Ark_Number* vertOffset, + const Array_Number* colors, + const Ark_Number* colorOffset) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ResetContentModifierLoadingProgressImpl(Ark_NativePointer node) + void DrawRegionImpl(Ark_drawing_Canvas peer, + Ark_drawing_Region region) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ContentModifierProgressImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const ProgressModifierBuilder* builder) + void AttachPenImpl(Ark_drawing_Canvas peer, + Ark_drawing_Pen pen) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ResetContentModifierProgressImpl(Ark_NativePointer node) + void AttachBrushImpl(Ark_drawing_Canvas peer, + Ark_drawing_Brush brush) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ContentModifierRadioImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const RadioModifierBuilder* builder) + void DetachPenImpl(Ark_drawing_Canvas peer) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ResetContentModifierRadioImpl(Ark_NativePointer node) + void DetachBrushImpl(Ark_drawing_Canvas peer) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ContentModifierRatingImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const RatingModifierBuilder* builder) + Ark_Number SaveImpl(Ark_drawing_Canvas peer) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); + return {}; } - void ResetContentModifierRatingImpl(Ark_NativePointer node) + Ark_Number SaveLayerImpl(Ark_drawing_Canvas peer, + const Opt_common2D_Rect* rect, + const Opt_drawing_Brush* brush) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); + return {}; } - void ContentModifierMenuItemImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const MenuItemModifierBuilder* builder) + void Clear0Impl(Ark_drawing_Canvas peer, + const Ark_common2D_Color* color) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ResetContentModifierMenuItemImpl(Ark_NativePointer node) + void Clear1Impl(Ark_drawing_Canvas peer, + const Ark_Number* color) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ContentModifierSliderImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const SliderModifierBuilder* builder) + void RestoreImpl(Ark_drawing_Canvas peer) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ResetContentModifierSliderImpl(Ark_NativePointer node) + void RestoreToCountImpl(Ark_drawing_Canvas peer, + const Ark_Number* count) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - void ContentModifierTextClockImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const TextClockModifierBuilder* builder) + Ark_Number GetSaveCountImpl(Ark_drawing_Canvas peer) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); + return {}; } - void ResetContentModifierTextClockImpl(Ark_NativePointer node) + Ark_Number GetWidthImpl(Ark_drawing_Canvas peer) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); + return {}; } - void ContentModifierTextTimerImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const TextTimerModifierBuilder* builder) + Ark_Number GetHeightImpl(Ark_drawing_Canvas peer) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); + return {}; } - void ResetContentModifierTextTimerImpl(Ark_NativePointer node) + Ark_common2D_Rect GetLocalClipBoundsImpl(Ark_drawing_Canvas peer) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); + return {}; } - void ContentModifierToggleImpl(Ark_NativePointer node, - const Ark_Object* contentModifier, - const ToggleModifierBuilder* builder) + Ark_drawing_Matrix GetTotalMatrixImpl(Ark_drawing_Canvas peer) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); + return {}; } - void ResetContentModifierToggleImpl(Ark_NativePointer node) + void ScaleImpl(Ark_drawing_Canvas peer, + const Ark_Number* sx, + const Ark_Number* sy) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - } // ContentModifierHelperAccessor - namespace ContextAccessor { - void DestroyPeerImpl(Ark_Context peer) + void SkewImpl(Ark_drawing_Canvas peer, + const Ark_Number* sx, + const Ark_Number* sy) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_Context ConstructImpl() + void RotateImpl(Ark_drawing_Canvas peer, + const Ark_Number* degrees, + const Ark_Number* sx, + const Ark_Number* sy) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void TranslateImpl(Ark_drawing_Canvas peer, + const Ark_Number* dx, + const Ark_Number* dy) { - return reinterpret_cast(&DestroyPeerImpl); } - } // ContextAccessor - namespace curves_ICurveAccessor { - void DestroyPeerImpl(Ark_curves_ICurve peer) + void ClipPathImpl(Ark_drawing_Canvas peer, + Ark_drawing_Path path, + Ark_drawing_ClipOp clipOp, + Ark_Boolean doAntiAlias) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_curves_ICurve ConstructImpl() + void ClipRectImpl(Ark_drawing_Canvas peer, + const Ark_common2D_Rect* rect, + Ark_drawing_ClipOp clipOp, + Ark_Boolean doAntiAlias) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void ConcatMatrixImpl(Ark_drawing_Canvas peer, + Ark_drawing_Matrix matrix) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number InterpolateImpl(Ark_curves_ICurve peer, - const Ark_Number* fraction) + void ClipRegionImpl(Ark_drawing_Canvas peer, + Ark_drawing_Region region, + Ark_drawing_ClipOp clipOp) { - return {}; } - } // curves_ICurveAccessor - namespace CustomDialogControllerAccessor { - void DestroyPeerImpl(Ark_CustomDialogController peer) + void ClipRoundRectImpl(Ark_drawing_Canvas peer, + Ark_drawing_RoundRect roundRect, + Ark_drawing_ClipOp clipOp, + Ark_Boolean doAntiAlias) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_CustomDialogController ConstructImpl(const Ark_CustomDialogControllerOptions* value) + Ark_Boolean IsClipEmptyImpl(Ark_drawing_Canvas peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - void OpenImpl(Ark_CustomDialogController peer) + void SetMatrixImpl(Ark_drawing_Canvas peer, + Ark_drawing_Matrix matrix) { } - void CloseImpl(Ark_CustomDialogController peer) + void ResetMatrixImpl(Ark_drawing_Canvas peer) { } - } // CustomDialogControllerAccessor - namespace CustomSpanAccessor { - void DestroyPeerImpl(Ark_CustomSpan peer) + } // drawing_CanvasAccessor + namespace drawing_ColorFilterAccessor { + void DestroyPeerImpl(Ark_drawing_ColorFilter peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_CustomSpan ConstructImpl() + Ark_drawing_ColorFilter ConstructImpl() { return {}; } @@ -11360,52 +12795,47 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void InvalidateImpl(Ark_CustomSpan peer) - { - } - Callback_CustomSpanMeasureInfo_CustomSpanMetrics GetOnMeasureImpl(Ark_CustomSpan peer) + Ark_drawing_ColorFilter CreateBlendModeColorFilter0Impl(const Ark_common2D_Color* color, + Ark_drawing_BlendMode mode) { return {}; } - void SetOnMeasureImpl(Ark_CustomSpan peer, - const Callback_CustomSpanMeasureInfo_CustomSpanMetrics* onMeasure) + Ark_drawing_ColorFilter CreateBlendModeColorFilter1Impl(const Ark_Number* color, + Ark_drawing_BlendMode mode) { + return {}; } - Callback_DrawContext_CustomSpanDrawInfo_Void GetOnDrawImpl(Ark_CustomSpan peer) + Ark_drawing_ColorFilter CreateComposeColorFilterImpl(Ark_drawing_ColorFilter outer, + Ark_drawing_ColorFilter inner) { return {}; } - void SetOnDrawImpl(Ark_CustomSpan peer, - const Callback_DrawContext_CustomSpanDrawInfo_Void* onDraw) + Ark_drawing_ColorFilter CreateLinearToSRGBGammaImpl() { + return {}; } - } // CustomSpanAccessor - namespace DatePickerDialogAccessor { - void DestroyPeerImpl(Ark_DatePickerDialog peer) + Ark_drawing_ColorFilter CreateSRGBGammaToLinearImpl() { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_DatePickerDialog ConstructImpl() + Ark_drawing_ColorFilter CreateLumaColorFilterImpl() { return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_drawing_ColorFilter CreateMatrixColorFilterImpl(const Array_Number* matrix) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - } // DatePickerDialogAccessor - namespace DecorationStyleAccessor { - void DestroyPeerImpl(Ark_DecorationStyle peer) + } // drawing_ColorFilterAccessor + namespace drawing_FontAccessor { + void DestroyPeerImpl(Ark_drawing_Font peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_DecorationStyle ConstructImpl(const Ark_DecorationStyleInterface* value) + Ark_drawing_Font ConstructImpl() { return {}; } @@ -11413,210 +12843,239 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_TextDecorationType GetTypeImpl(Ark_DecorationStyle peer) + void EnableSubpixelImpl(Ark_drawing_Font peer, + Ark_Boolean isSubpixel) { - return {}; } - Opt_ResourceColor GetColorImpl(Ark_DecorationStyle peer) + void EnableEmboldenImpl(Ark_drawing_Font peer, + Ark_Boolean isEmbolden) { - return {}; } - Opt_TextDecorationStyle GetStyleImpl(Ark_DecorationStyle peer) + void EnableLinearMetricsImpl(Ark_drawing_Font peer, + Ark_Boolean isLinearMetrics) { - return {}; } - } // DecorationStyleAccessor - namespace DisappearSymbolEffectAccessor { - void DestroyPeerImpl(Ark_DisappearSymbolEffect peer) + void SetSizeImpl(Ark_drawing_Font peer, + const Ark_Number* textSize) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_DisappearSymbolEffect ConstructImpl(const Opt_EffectScope* scope) + Ark_Number GetSizeImpl(Ark_drawing_Font peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetTypefaceImpl(Ark_drawing_Font peer, + Ark_drawing_Typeface typeface) { - return reinterpret_cast(&DestroyPeerImpl); } - Opt_EffectScope GetScopeImpl(Ark_DisappearSymbolEffect peer) + Ark_drawing_Typeface GetTypefaceImpl(Ark_drawing_Font peer) { return {}; } - void SetScopeImpl(Ark_DisappearSymbolEffect peer, - const Opt_EffectScope* scope) + Ark_drawing_FontMetrics GetMetricsImpl(Ark_drawing_Font peer) { + return {}; } - } // DisappearSymbolEffectAccessor - namespace DismissDialogActionAccessor { - void DestroyPeerImpl(Ark_DismissDialogAction peer) + Ark_Number MeasureSingleCharacterImpl(Ark_drawing_Font peer, + const Ark_String* text) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_DismissDialogAction ConstructImpl() + Ark_Number MeasureTextImpl(Ark_drawing_Font peer, + const Ark_String* text, + Ark_drawing_TextEncoding encoding) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetScaleXImpl(Ark_drawing_Font peer, + const Ark_Number* scaleX) { - return reinterpret_cast(&DestroyPeerImpl); } - void DismissImpl(Ark_DismissDialogAction peer) + void SetSkewXImpl(Ark_drawing_Font peer, + const Ark_Number* skewX) { } - Ark_DismissReason GetReasonImpl(Ark_DismissDialogAction peer) + void SetEdgingImpl(Ark_drawing_Font peer, + Ark_drawing_FontEdging edging) { - return {}; } - void SetReasonImpl(Ark_DismissDialogAction peer, - Ark_DismissReason reason) + void SetHintingImpl(Ark_drawing_Font peer, + Ark_drawing_FontHinting hinting) { } - } // DismissDialogActionAccessor - namespace DismissPopupActionAccessor { - void DestroyPeerImpl(Ark_DismissPopupAction peer) + Ark_Number CountTextImpl(Ark_drawing_Font peer, + const Ark_String* text) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_DismissPopupAction ConstructImpl() + void SetBaselineSnapImpl(Ark_drawing_Font peer, + Ark_Boolean isBaselineSnap) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Boolean IsBaselineSnapImpl(Ark_drawing_Font peer) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - void DismissImpl(Ark_DismissPopupAction peer) + void SetEmbeddedBitmapsImpl(Ark_drawing_Font peer, + Ark_Boolean isEmbeddedBitmaps) { } - Ark_DismissReason GetReasonImpl(Ark_DismissPopupAction peer) + Ark_Boolean IsEmbeddedBitmapsImpl(Ark_drawing_Font peer) { return {}; } - void SetReasonImpl(Ark_DismissPopupAction peer, - Ark_DismissReason reason) + void SetForceAutoHintingImpl(Ark_drawing_Font peer, + Ark_Boolean isForceAutoHinting) { } - } // DismissPopupActionAccessor - namespace DragEventAccessor { - void DestroyPeerImpl(Ark_DragEvent peer) + Ark_Boolean IsForceAutoHintingImpl(Ark_drawing_Font peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_DragEvent ConstructImpl() + Array_Number GetWidthsImpl(Ark_drawing_Font peer, + const Array_Number* glyphs) { return {}; } - Ark_NativePointer GetFinalizerImpl() + Array_Number TextToGlyphsImpl(Ark_drawing_Font peer, + const Ark_String* text, + const Ark_Number* glyphCount) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - Ark_Number GetDisplayXImpl(Ark_DragEvent peer) + Ark_Boolean IsSubpixelImpl(Ark_drawing_Font peer) { return {}; } - Ark_Number GetDisplayYImpl(Ark_DragEvent peer) + Ark_Boolean IsLinearMetricsImpl(Ark_drawing_Font peer) { return {}; } - Ark_Number GetWindowXImpl(Ark_DragEvent peer) + Ark_Number GetSkewXImpl(Ark_drawing_Font peer) { return {}; } - Ark_Number GetWindowYImpl(Ark_DragEvent peer) + Ark_Boolean IsEmboldenImpl(Ark_drawing_Font peer) { return {}; } - void SetDataImpl(Ark_DragEvent peer, - Ark_unifiedDataChannel_UnifiedData unifiedData) + Ark_Number GetScaleXImpl(Ark_drawing_Font peer) { + return {}; } - Ark_unifiedDataChannel_UnifiedData GetDataImpl(Ark_DragEvent peer) + Ark_drawing_FontHinting GetHintingImpl(Ark_drawing_Font peer) { return {}; } - Ark_unifiedDataChannel_Summary GetSummaryImpl(Ark_DragEvent peer) + Ark_drawing_FontEdging GetEdgingImpl(Ark_drawing_Font peer) { return {}; } - void SetResultImpl(Ark_DragEvent peer, - Ark_DragResult dragResult) + Ark_drawing_Path CreatePathForGlyphImpl(Ark_drawing_Font peer, + const Ark_Number* index) { + return {}; } - Ark_DragResult GetResultImpl(Ark_DragEvent peer) + Array_common2D_Rect GetBoundsImpl(Ark_drawing_Font peer, + const Array_Number* glyphs) { return {}; } - Ark_Rectangle GetPreviewRectImpl(Ark_DragEvent peer) + Ark_drawing_Path GetTextPathImpl(Ark_drawing_Font peer, + const Ark_String* text, + const Ark_Number* byteLength, + const Ark_Number* x, + const Ark_Number* y) { return {}; } - Ark_Number GetVelocityXImpl(Ark_DragEvent peer) + } // drawing_FontAccessor + namespace drawing_ImageFilterAccessor { + void DestroyPeerImpl(Ark_drawing_ImageFilter peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Number GetVelocityYImpl(Ark_DragEvent peer) + Ark_drawing_ImageFilter ConstructImpl() { return {}; } - Ark_Number GetVelocityImpl(Ark_DragEvent peer) + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_drawing_ImageFilter CreateBlurImageFilterImpl(const Ark_Number* sigmaX, + const Ark_Number* sigmaY, + Ark_drawing_TileMode tileMode, + const Opt_drawing_ImageFilter* imageFilter) { return {}; } - void ExecuteDropAnimationImpl(Ark_DragEvent peer, - const Callback_Void* customDropAnimation) + Ark_drawing_ImageFilter CreateFromColorFilterImpl(Ark_drawing_ColorFilter colorFilter, + const Opt_drawing_ImageFilter* imageFilter) { + return {}; } - void EnableInternalDropAnimationImpl(Ark_DragEvent peer, - const Ark_String* configuration) + } // drawing_ImageFilterAccessor + namespace drawing_LatticeAccessor { + void DestroyPeerImpl(Ark_drawing_Lattice peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_DragBehavior GetDragBehaviorImpl(Ark_DragEvent peer) + Ark_drawing_Lattice ConstructImpl() { return {}; } - void SetDragBehaviorImpl(Ark_DragEvent peer, - Ark_DragBehavior dragBehavior) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Boolean GetUseCustomDropAnimationImpl(Ark_DragEvent peer) + Ark_drawing_Lattice CreateImageLatticeImpl(const Array_Number* xDivs, + const Array_Number* yDivs, + const Ark_Number* fXCount, + const Ark_Number* fYCount, + const Opt_common2D_Rect* fBounds, + const Opt_Array_drawing_RectType* fRectTypes, + const Opt_Array_CustomObject* fColors) { return {}; } - void SetUseCustomDropAnimationImpl(Ark_DragEvent peer, - Ark_Boolean useCustomDropAnimation) + } // drawing_LatticeAccessor + namespace drawing_MaskFilterAccessor { + void DestroyPeerImpl(Ark_drawing_MaskFilter peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Opt_ModifierKeyStateGetter GetGetModifierKeyStateImpl(Ark_DragEvent peer) + Ark_drawing_MaskFilter ConstructImpl() { return {}; } - void SetGetModifierKeyStateImpl(Ark_DragEvent peer, - const Opt_ModifierKeyStateGetter* getModifierKeyState) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - } // DragEventAccessor - namespace DrawableDescriptorAccessor { - void DestroyPeerImpl(Ark_DrawableDescriptor peer) + Ark_drawing_MaskFilter CreateBlurMaskFilterImpl(Ark_drawing_BlurType blurType, + const Ark_Number* sigma) { - auto peerImpl = reinterpret_cast(peer); + return {}; + } + } // drawing_MaskFilterAccessor + namespace drawing_MatrixAccessor { + void DestroyPeerImpl(Ark_drawing_Matrix peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_DrawableDescriptor ConstructImpl() + Ark_drawing_Matrix ConstructImpl() { return {}; } @@ -11624,470 +13083,495 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_image_PixelMap GetPixelMapImpl(Ark_DrawableDescriptor peer) + void SetRotationImpl(Ark_drawing_Matrix peer, + const Ark_Number* degree, + const Ark_Number* px, + const Ark_Number* py) { - return {}; } - } // DrawableDescriptorAccessor - namespace DrawContextAccessor { - void DestroyPeerImpl(Ark_DrawContext peer) + void SetScaleImpl(Ark_drawing_Matrix peer, + const Ark_Number* sx, + const Ark_Number* sy, + const Ark_Number* px, + const Ark_Number* py) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_DrawContext ConstructImpl() + void SetTranslationImpl(Ark_drawing_Matrix peer, + const Ark_Number* dx, + const Ark_Number* dy) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetMatrixImpl(Ark_drawing_Matrix peer, + const Array_Number* values) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_Size SizeImpl(Ark_DrawContext peer) + void PreConcatImpl(Ark_drawing_Matrix peer, + Ark_drawing_Matrix matrix) { - return {}; } - Ark_Size SizeInPixelImpl(Ark_DrawContext peer) + Ark_Boolean IsEqualImpl(Ark_drawing_Matrix peer, + Ark_drawing_Matrix matrix) { return {}; } - Ark_drawing_Canvas CanvasImpl(Ark_DrawContext peer) + Ark_Boolean InvertImpl(Ark_drawing_Matrix peer, + Ark_drawing_Matrix matrix) { return {}; } - } // DrawContextAccessor - namespace drawing_BrushAccessor { - void DestroyPeerImpl(Ark_drawing_Brush peer) + Ark_Boolean IsIdentityImpl(Ark_drawing_Matrix peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_drawing_Brush Construct0Impl() + Ark_Number GetValueImpl(Ark_drawing_Matrix peer, + const Ark_Number* index) { return {}; } - Ark_drawing_Brush Construct1Impl(Ark_drawing_Brush brush) + void PostRotateImpl(Ark_drawing_Matrix peer, + const Ark_Number* degree, + const Ark_Number* px, + const Ark_Number* py) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void PostScaleImpl(Ark_drawing_Matrix peer, + const Ark_Number* sx, + const Ark_Number* sy, + const Ark_Number* px, + const Ark_Number* py) { - return reinterpret_cast(&DestroyPeerImpl); } - void SetColor0Impl(Ark_drawing_Brush peer, - const Ark_common2D_Color* color) + void PostTranslateImpl(Ark_drawing_Matrix peer, + const Ark_Number* dx, + const Ark_Number* dy) { } - void SetColor1Impl(Ark_drawing_Brush peer, - const Ark_Number* color) + void PreRotateImpl(Ark_drawing_Matrix peer, + const Ark_Number* degree, + const Ark_Number* px, + const Ark_Number* py) { } - void SetColor2Impl(Ark_drawing_Brush peer, - const Ark_Number* alpha, - const Ark_Number* red, - const Ark_Number* green, - const Ark_Number* blue) + void PreScaleImpl(Ark_drawing_Matrix peer, + const Ark_Number* sx, + const Ark_Number* sy, + const Ark_Number* px, + const Ark_Number* py) { } - Ark_common2D_Color GetColorImpl(Ark_drawing_Brush peer) + void PreTranslateImpl(Ark_drawing_Matrix peer, + const Ark_Number* dx, + const Ark_Number* dy) { - return {}; } - Ark_Number GetHexColorImpl(Ark_drawing_Brush peer) + void ResetImpl(Ark_drawing_Matrix peer) + { + } + Array_common2D_Point MapPointsImpl(Ark_drawing_Matrix peer, + const Array_common2D_Point* src) { return {}; } - void SetAntiAliasImpl(Ark_drawing_Brush peer, - Ark_Boolean aa) + Array_Number GetAllImpl(Ark_drawing_Matrix peer) { + return {}; } - Ark_Boolean IsAntiAliasImpl(Ark_drawing_Brush peer) + Ark_Boolean MapRectImpl(Ark_drawing_Matrix peer, + const Ark_common2D_Rect* dst, + const Ark_common2D_Rect* src) { return {}; } - void SetAlphaImpl(Ark_drawing_Brush peer, - const Ark_Number* alpha) + Ark_Boolean SetRectToRectImpl(Ark_drawing_Matrix peer, + const Ark_common2D_Rect* src, + const Ark_common2D_Rect* dst, + Ark_drawing_ScaleToFit scaleToFit) { + return {}; } - Ark_Number GetAlphaImpl(Ark_drawing_Brush peer) + Ark_Boolean SetPolyToPolyImpl(Ark_drawing_Matrix peer, + const Array_common2D_Point* src, + const Array_common2D_Point* dst, + const Ark_Number* count) { return {}; } - void SetColorFilterImpl(Ark_drawing_Brush peer, - Ark_drawing_ColorFilter filter) + } // drawing_MatrixAccessor + namespace drawing_PathAccessor { + void DestroyPeerImpl(Ark_drawing_Path peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_drawing_ColorFilter GetColorFilterImpl(Ark_drawing_Brush peer) + Ark_drawing_Path Construct0Impl() { return {}; } - void SetImageFilterImpl(Ark_drawing_Brush peer, - const Opt_drawing_ImageFilter* filter) + Ark_drawing_Path Construct1Impl(Ark_drawing_Path path) { + return {}; } - void SetMaskFilterImpl(Ark_drawing_Brush peer, - Ark_drawing_MaskFilter filter) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - void SetShadowLayerImpl(Ark_drawing_Brush peer, - Ark_drawing_ShadowLayer shadowLayer) + void MoveToImpl(Ark_drawing_Path peer, + const Ark_Number* x, + const Ark_Number* y) { } - void SetShaderEffectImpl(Ark_drawing_Brush peer, - Ark_drawing_ShaderEffect shaderEffect) + void LineToImpl(Ark_drawing_Path peer, + const Ark_Number* x, + const Ark_Number* y) { } - void SetBlendModeImpl(Ark_drawing_Brush peer, - Ark_drawing_BlendMode mode) + void ArcToImpl(Ark_drawing_Path peer, + const Ark_Number* x1, + const Ark_Number* y1, + const Ark_Number* x2, + const Ark_Number* y2, + const Ark_Number* startDeg, + const Ark_Number* sweepDeg) { } - void ResetImpl(Ark_drawing_Brush peer) + void QuadToImpl(Ark_drawing_Path peer, + const Ark_Number* ctrlX, + const Ark_Number* ctrlY, + const Ark_Number* endX, + const Ark_Number* endY) { } - } // drawing_BrushAccessor - namespace drawing_CanvasAccessor { - void DestroyPeerImpl(Ark_drawing_Canvas peer) + void ConicToImpl(Ark_drawing_Path peer, + const Ark_Number* ctrlX, + const Ark_Number* ctrlY, + const Ark_Number* endX, + const Ark_Number* endY, + const Ark_Number* weight) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_drawing_Canvas ConstructImpl(Ark_image_PixelMap pixelmap) + void CubicToImpl(Ark_drawing_Path peer, + const Ark_Number* ctrlX1, + const Ark_Number* ctrlY1, + const Ark_Number* ctrlX2, + const Ark_Number* ctrlY2, + const Ark_Number* endX, + const Ark_Number* endY) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void RMoveToImpl(Ark_drawing_Path peer, + const Ark_Number* dx, + const Ark_Number* dy) { - return reinterpret_cast(&DestroyPeerImpl); } - void DrawRect0Impl(Ark_drawing_Canvas peer, - const Ark_common2D_Rect* rect) + void RLineToImpl(Ark_drawing_Path peer, + const Ark_Number* dx, + const Ark_Number* dy) { } - void DrawRect1Impl(Ark_drawing_Canvas peer, - const Ark_Number* left, - const Ark_Number* top, - const Ark_Number* right, - const Ark_Number* bottom) + void RQuadToImpl(Ark_drawing_Path peer, + const Ark_Number* dx1, + const Ark_Number* dy1, + const Ark_Number* dx2, + const Ark_Number* dy2) { } - void DrawRoundRectImpl(Ark_drawing_Canvas peer, - Ark_drawing_RoundRect roundRect) + void RConicToImpl(Ark_drawing_Path peer, + const Ark_Number* ctrlX, + const Ark_Number* ctrlY, + const Ark_Number* endX, + const Ark_Number* endY, + const Ark_Number* weight) { } - void DrawNestedRoundRectImpl(Ark_drawing_Canvas peer, - Ark_drawing_RoundRect outer, - Ark_drawing_RoundRect inner) + void RCubicToImpl(Ark_drawing_Path peer, + const Ark_Number* ctrlX1, + const Ark_Number* ctrlY1, + const Ark_Number* ctrlX2, + const Ark_Number* ctrlY2, + const Ark_Number* endX, + const Ark_Number* endY) { } - void DrawBackgroundImpl(Ark_drawing_Canvas peer, - Ark_drawing_Brush brush) + void AddPolygonImpl(Ark_drawing_Path peer, + const Array_common2D_Point* points, + Ark_Boolean close) { } - void DrawShadow0Impl(Ark_drawing_Canvas peer, - Ark_drawing_Path path, - const Ark_common2D_Point3d* planeParams, - const Ark_common2D_Point3d* devLightPos, - const Ark_Number* lightRadius, - const Ark_common2D_Color* ambientColor, - const Ark_common2D_Color* spotColor, - Ark_drawing_ShadowFlag flag) + Ark_Boolean OpImpl(Ark_drawing_Path peer, + Ark_drawing_Path path, + Ark_drawing_PathOp pathOp) { + return {}; } - void DrawShadow1Impl(Ark_drawing_Canvas peer, - Ark_drawing_Path path, - const Ark_common2D_Point3d* planeParams, - const Ark_common2D_Point3d* devLightPos, - const Ark_Number* lightRadius, - const Ark_Number* ambientColor, - const Ark_Number* spotColor, - Ark_drawing_ShadowFlag flag) + void AddArcImpl(Ark_drawing_Path peer, + const Ark_common2D_Rect* rect, + const Ark_Number* startAngle, + const Ark_Number* sweepAngle) { } - void DrawCircleImpl(Ark_drawing_Canvas peer, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* radius) + void AddCircleImpl(Ark_drawing_Path peer, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* radius, + Ark_drawing_PathDirection pathDirection) { } - void DrawImageImpl(Ark_drawing_Canvas peer, - Ark_image_PixelMap pixelmap, - const Ark_Number* left, - const Ark_Number* top, - Ark_drawing_SamplingOptions samplingOptions) + void AddOvalImpl(Ark_drawing_Path peer, + const Ark_common2D_Rect* rect, + const Ark_Number* start, + Ark_drawing_PathDirection pathDirection) { } - void DrawImageRectImpl(Ark_drawing_Canvas peer, - Ark_image_PixelMap pixelmap, - const Ark_common2D_Rect* dstRect, - Ark_drawing_SamplingOptions samplingOptions) + void AddRectImpl(Ark_drawing_Path peer, + const Ark_common2D_Rect* rect, + Ark_drawing_PathDirection pathDirection) { } - void DrawImageRectWithSrcImpl(Ark_drawing_Canvas peer, - Ark_image_PixelMap pixelmap, - const Ark_common2D_Rect* srcRect, - const Ark_common2D_Rect* dstRect, - Ark_drawing_SamplingOptions samplingOptions, - Ark_drawing_SrcRectConstraint constraint) + void AddRoundRectImpl(Ark_drawing_Path peer, + Ark_drawing_RoundRect roundRect, + Ark_drawing_PathDirection pathDirection) { } - void DrawColor0Impl(Ark_drawing_Canvas peer, - const Ark_common2D_Color* color, - Ark_drawing_BlendMode blendMode) + void AddPathImpl(Ark_drawing_Path peer, + Ark_drawing_Path path, + const Opt_drawing_Matrix* matrix) { } - void DrawColor1Impl(Ark_drawing_Canvas peer, - const Ark_Number* color, - Ark_drawing_BlendMode blendMode) + void TransformImpl(Ark_drawing_Path peer, + Ark_drawing_Matrix matrix) { } - void DrawColor2Impl(Ark_drawing_Canvas peer, - const Ark_Number* alpha, - const Ark_Number* red, - const Ark_Number* green, - const Ark_Number* blue, - Ark_drawing_BlendMode blendMode) + Ark_Boolean ContainsImpl(Ark_drawing_Path peer, + const Ark_Number* x, + const Ark_Number* y) { + return {}; } - void DrawOvalImpl(Ark_drawing_Canvas peer, - const Ark_common2D_Rect* oval) + void SetFillTypeImpl(Ark_drawing_Path peer, + Ark_drawing_PathFillType pathFillType) { } - void DrawArcImpl(Ark_drawing_Canvas peer, - const Ark_common2D_Rect* arc, - const Ark_Number* startAngle, - const Ark_Number* sweepAngle) + Ark_common2D_Rect GetBoundsImpl(Ark_drawing_Path peer) { + return {}; } - void DrawPointImpl(Ark_drawing_Canvas peer, - const Ark_Number* x, - const Ark_Number* y) + void CloseImpl(Ark_drawing_Path peer) { } - void DrawPointsImpl(Ark_drawing_Canvas peer, - const Array_common2D_Point* points, - Ark_drawing_PointMode mode) + Ark_drawing_Path OffsetImpl(Ark_drawing_Path peer, + const Ark_Number* dx, + const Ark_Number* dy) { + return {}; } - void DrawPathImpl(Ark_drawing_Canvas peer, - Ark_drawing_Path path) + void ResetImpl(Ark_drawing_Path peer) { } - void DrawLineImpl(Ark_drawing_Canvas peer, - const Ark_Number* x0, - const Ark_Number* y0, - const Ark_Number* x1, - const Ark_Number* y1) + Ark_Number GetLengthImpl(Ark_drawing_Path peer, + Ark_Boolean forceClosed) { + return {}; } - void DrawSingleCharacterImpl(Ark_drawing_Canvas peer, - const Ark_String* text, - Ark_drawing_Font font, - const Ark_Number* x, - const Ark_Number* y) + Ark_Boolean GetPositionAndTangentImpl(Ark_drawing_Path peer, + Ark_Boolean forceClosed, + const Ark_Number* distance, + const Ark_common2D_Point* position, + const Ark_common2D_Point* tangent) { + return {}; } - void DrawTextBlobImpl(Ark_drawing_Canvas peer, - Ark_drawing_TextBlob blob, - const Ark_Number* x, - const Ark_Number* y) + Ark_Boolean IsClosedImpl(Ark_drawing_Path peer) { + return {}; } - void DrawPixelMapMeshImpl(Ark_drawing_Canvas peer, - Ark_image_PixelMap pixelmap, - const Ark_Number* meshWidth, - const Ark_Number* meshHeight, - const Array_Number* vertices, - const Ark_Number* vertOffset, - const Array_Number* colors, - const Ark_Number* colorOffset) + Ark_Boolean GetMatrixImpl(Ark_drawing_Path peer, + Ark_Boolean forceClosed, + const Ark_Number* distance, + Ark_drawing_Matrix matrix, + Ark_drawing_PathMeasureMatrixFlags flags) { + return {}; } - void DrawRegionImpl(Ark_drawing_Canvas peer, - Ark_drawing_Region region) + Ark_Boolean BuildFromSvgStringImpl(Ark_drawing_Path peer, + const Ark_String* str) { + return {}; } - void AttachPenImpl(Ark_drawing_Canvas peer, - Ark_drawing_Pen pen) + } // drawing_PathAccessor + namespace drawing_PathEffectAccessor { + void DestroyPeerImpl(Ark_drawing_PathEffect peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void AttachBrushImpl(Ark_drawing_Canvas peer, - Ark_drawing_Brush brush) + Ark_drawing_PathEffect ConstructImpl() { + return {}; } - void DetachPenImpl(Ark_drawing_Canvas peer) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - void DetachBrushImpl(Ark_drawing_Canvas peer) + Ark_drawing_PathEffect CreateDashPathEffectImpl(const Array_Number* intervals, + const Ark_Number* phase) { + return {}; } - Ark_Number SaveImpl(Ark_drawing_Canvas peer) + Ark_drawing_PathEffect CreateCornerPathEffectImpl(const Ark_Number* radius) { return {}; } - Ark_Number SaveLayerImpl(Ark_drawing_Canvas peer, - const Opt_common2D_Rect* rect, - const Opt_drawing_Brush* brush) + } // drawing_PathEffectAccessor + namespace drawing_PenAccessor { + void DestroyPeerImpl(Ark_drawing_Pen peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void Clear0Impl(Ark_drawing_Canvas peer, - const Ark_common2D_Color* color) + Ark_drawing_Pen Construct0Impl() { + return {}; } - void Clear1Impl(Ark_drawing_Canvas peer, - const Ark_Number* color) + Ark_drawing_Pen Construct1Impl(Ark_drawing_Pen pen) { + return {}; } - void RestoreImpl(Ark_drawing_Canvas peer) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - void RestoreToCountImpl(Ark_drawing_Canvas peer, - const Ark_Number* count) + void SetMiterLimitImpl(Ark_drawing_Pen peer, + const Ark_Number* miter) { } - Ark_Number GetSaveCountImpl(Ark_drawing_Canvas peer) + Ark_Number GetMiterLimitImpl(Ark_drawing_Pen peer) { return {}; } - Ark_Number GetWidthImpl(Ark_drawing_Canvas peer) + void SetShaderEffectImpl(Ark_drawing_Pen peer, + Ark_drawing_ShaderEffect shaderEffect) { - return {}; } - Ark_Number GetHeightImpl(Ark_drawing_Canvas peer) + void SetColor0Impl(Ark_drawing_Pen peer, + const Ark_common2D_Color* color) { - return {}; } - Ark_common2D_Rect GetLocalClipBoundsImpl(Ark_drawing_Canvas peer) + void SetColor1Impl(Ark_drawing_Pen peer, + const Ark_Number* color) { - return {}; } - Ark_drawing_Matrix GetTotalMatrixImpl(Ark_drawing_Canvas peer) + void SetColor2Impl(Ark_drawing_Pen peer, + const Ark_Number* alpha, + const Ark_Number* red, + const Ark_Number* green, + const Ark_Number* blue) { - return {}; } - void ScaleImpl(Ark_drawing_Canvas peer, - const Ark_Number* sx, - const Ark_Number* sy) + Ark_common2D_Color GetColorImpl(Ark_drawing_Pen peer) { + return {}; } - void SkewImpl(Ark_drawing_Canvas peer, - const Ark_Number* sx, - const Ark_Number* sy) + Ark_Number GetHexColorImpl(Ark_drawing_Pen peer) { + return {}; } - void RotateImpl(Ark_drawing_Canvas peer, - const Ark_Number* degrees, - const Ark_Number* sx, - const Ark_Number* sy) + void SetStrokeWidthImpl(Ark_drawing_Pen peer, + const Ark_Number* width) { } - void TranslateImpl(Ark_drawing_Canvas peer, - const Ark_Number* dx, - const Ark_Number* dy) + Ark_Number GetWidthImpl(Ark_drawing_Pen peer) { + return {}; } - void ClipPathImpl(Ark_drawing_Canvas peer, - Ark_drawing_Path path, - Ark_drawing_ClipOp clipOp, - Ark_Boolean doAntiAlias) + void SetAntiAliasImpl(Ark_drawing_Pen peer, + Ark_Boolean aa) { } - void ClipRectImpl(Ark_drawing_Canvas peer, - const Ark_common2D_Rect* rect, - Ark_drawing_ClipOp clipOp, - Ark_Boolean doAntiAlias) + Ark_Boolean IsAntiAliasImpl(Ark_drawing_Pen peer) { + return {}; } - void ConcatMatrixImpl(Ark_drawing_Canvas peer, - Ark_drawing_Matrix matrix) + void SetAlphaImpl(Ark_drawing_Pen peer, + const Ark_Number* alpha) { } - void ClipRegionImpl(Ark_drawing_Canvas peer, - Ark_drawing_Region region, - Ark_drawing_ClipOp clipOp) + Ark_Number GetAlphaImpl(Ark_drawing_Pen peer) { + return {}; } - void ClipRoundRectImpl(Ark_drawing_Canvas peer, - Ark_drawing_RoundRect roundRect, - Ark_drawing_ClipOp clipOp, - Ark_Boolean doAntiAlias) + void SetColorFilterImpl(Ark_drawing_Pen peer, + Ark_drawing_ColorFilter filter) { } - Ark_Boolean IsClipEmptyImpl(Ark_drawing_Canvas peer) + Ark_drawing_ColorFilter GetColorFilterImpl(Ark_drawing_Pen peer) { return {}; } - void SetMatrixImpl(Ark_drawing_Canvas peer, - Ark_drawing_Matrix matrix) + void SetImageFilterImpl(Ark_drawing_Pen peer, + const Opt_drawing_ImageFilter* filter) { } - void ResetMatrixImpl(Ark_drawing_Canvas peer) + void SetMaskFilterImpl(Ark_drawing_Pen peer, + Ark_drawing_MaskFilter filter) { } - } // drawing_CanvasAccessor - namespace drawing_ColorFilterAccessor { - void DestroyPeerImpl(Ark_drawing_ColorFilter peer) + void SetPathEffectImpl(Ark_drawing_Pen peer, + Ark_drawing_PathEffect effect) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_drawing_ColorFilter ConstructImpl() + void SetShadowLayerImpl(Ark_drawing_Pen peer, + Ark_drawing_ShadowLayer shadowLayer) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetBlendModeImpl(Ark_drawing_Pen peer, + Ark_drawing_BlendMode mode) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_drawing_ColorFilter CreateBlendModeColorFilter0Impl(const Ark_common2D_Color* color, - Ark_drawing_BlendMode mode) + void SetDitherImpl(Ark_drawing_Pen peer, + Ark_Boolean dither) { - return {}; } - Ark_drawing_ColorFilter CreateBlendModeColorFilter1Impl(const Ark_Number* color, - Ark_drawing_BlendMode mode) + void SetJoinStyleImpl(Ark_drawing_Pen peer, + Ark_drawing_JoinStyle style) { - return {}; } - Ark_drawing_ColorFilter CreateComposeColorFilterImpl(Ark_drawing_ColorFilter outer, - Ark_drawing_ColorFilter inner) + Ark_drawing_JoinStyle GetJoinStyleImpl(Ark_drawing_Pen peer) { return {}; } - Ark_drawing_ColorFilter CreateLinearToSRGBGammaImpl() + void SetCapStyleImpl(Ark_drawing_Pen peer, + Ark_drawing_CapStyle style) { - return {}; } - Ark_drawing_ColorFilter CreateSRGBGammaToLinearImpl() + Ark_drawing_CapStyle GetCapStyleImpl(Ark_drawing_Pen peer) { return {}; } - Ark_drawing_ColorFilter CreateLumaColorFilterImpl() + void ResetImpl(Ark_drawing_Pen peer) { - return {}; } - Ark_drawing_ColorFilter CreateMatrixColorFilterImpl(const Array_Number* matrix) + Ark_Boolean GetFillPathImpl(Ark_drawing_Pen peer, + Ark_drawing_Path src, + Ark_drawing_Path dst) { return {}; } - } // drawing_ColorFilterAccessor - namespace drawing_FontAccessor { - void DestroyPeerImpl(Ark_drawing_Font peer) + } // drawing_PenAccessor + namespace drawing_RegionAccessor { + void DestroyPeerImpl(Ark_drawing_Region peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_drawing_Font ConstructImpl() + Ark_drawing_Region ConstructImpl() { return {}; } @@ -12095,161 +13579,202 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void EnableSubpixelImpl(Ark_drawing_Font peer, - Ark_Boolean isSubpixel) - { - } - void EnableEmboldenImpl(Ark_drawing_Font peer, - Ark_Boolean isEmbolden) - { - } - void EnableLinearMetricsImpl(Ark_drawing_Font peer, - Ark_Boolean isLinearMetrics) - { - } - void SetSizeImpl(Ark_drawing_Font peer, - const Ark_Number* textSize) - { - } - Ark_Number GetSizeImpl(Ark_drawing_Font peer) + Ark_Boolean IsPointContainedImpl(Ark_drawing_Region peer, + const Ark_Number* x, + const Ark_Number* y) { return {}; } - void SetTypefaceImpl(Ark_drawing_Font peer, - Ark_drawing_Typeface typeface) + Ark_Boolean IsRegionContainedImpl(Ark_drawing_Region peer, + Ark_drawing_Region other) { + return {}; } - Ark_drawing_Typeface GetTypefaceImpl(Ark_drawing_Font peer) + Ark_Boolean OpImpl(Ark_drawing_Region peer, + Ark_drawing_Region region, + Ark_drawing_RegionOp regionOp) { return {}; } - Ark_drawing_FontMetrics GetMetricsImpl(Ark_drawing_Font peer) + Ark_Boolean QuickRejectImpl(Ark_drawing_Region peer, + const Ark_Number* left, + const Ark_Number* top, + const Ark_Number* right, + const Ark_Number* bottom) { return {}; } - Ark_Number MeasureSingleCharacterImpl(Ark_drawing_Font peer, - const Ark_String* text) + Ark_Boolean SetPathImpl(Ark_drawing_Region peer, + Ark_drawing_Path path, + Ark_drawing_Region clip) { return {}; } - Ark_Number MeasureTextImpl(Ark_drawing_Font peer, - const Ark_String* text, - Ark_drawing_TextEncoding encoding) + Ark_Boolean SetRectImpl(Ark_drawing_Region peer, + const Ark_Number* left, + const Ark_Number* top, + const Ark_Number* right, + const Ark_Number* bottom) { return {}; } - void SetScaleXImpl(Ark_drawing_Font peer, - const Ark_Number* scaleX) + } // drawing_RegionAccessor + namespace drawing_RoundRectAccessor { + void DestroyPeerImpl(Ark_drawing_RoundRect peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void SetSkewXImpl(Ark_drawing_Font peer, - const Ark_Number* skewX) + Ark_drawing_RoundRect ConstructImpl(const Ark_common2D_Rect* rect, + const Ark_Number* xRadii, + const Ark_Number* yRadii) { + return {}; } - void SetEdgingImpl(Ark_drawing_Font peer, - Ark_drawing_FontEdging edging) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - void SetHintingImpl(Ark_drawing_Font peer, - Ark_drawing_FontHinting hinting) + void SetCornerImpl(Ark_drawing_RoundRect peer, + Ark_drawing_CornerPos pos, + const Ark_Number* x, + const Ark_Number* y) { } - Ark_Number CountTextImpl(Ark_drawing_Font peer, - const Ark_String* text) + Ark_common2D_Point GetCornerImpl(Ark_drawing_RoundRect peer, + Ark_drawing_CornerPos pos) { return {}; } - void SetBaselineSnapImpl(Ark_drawing_Font peer, - Ark_Boolean isBaselineSnap) + void OffsetImpl(Ark_drawing_RoundRect peer, + const Ark_Number* dx, + const Ark_Number* dy) { } - Ark_Boolean IsBaselineSnapImpl(Ark_drawing_Font peer) + } // drawing_RoundRectAccessor + namespace drawing_SamplingOptionsAccessor { + void DestroyPeerImpl(Ark_drawing_SamplingOptions peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void SetEmbeddedBitmapsImpl(Ark_drawing_Font peer, - Ark_Boolean isEmbeddedBitmaps) + Ark_drawing_SamplingOptions Construct0Impl() { + return {}; } - Ark_Boolean IsEmbeddedBitmapsImpl(Ark_drawing_Font peer) + Ark_drawing_SamplingOptions Construct1Impl(Ark_drawing_FilterMode filterMode) { return {}; } - void SetForceAutoHintingImpl(Ark_drawing_Font peer, - Ark_Boolean isForceAutoHinting) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Boolean IsForceAutoHintingImpl(Ark_drawing_Font peer) + } // drawing_SamplingOptionsAccessor + namespace drawing_ShaderEffectAccessor { + void DestroyPeerImpl(Ark_drawing_ShaderEffect peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Array_Number GetWidthsImpl(Ark_drawing_Font peer, - const Array_Number* glyphs) + Ark_drawing_ShaderEffect ConstructImpl() { return {}; } - Array_Number TextToGlyphsImpl(Ark_drawing_Font peer, - const Ark_String* text, - const Ark_Number* glyphCount) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Boolean IsSubpixelImpl(Ark_drawing_Font peer) + Ark_drawing_ShaderEffect CreateColorShaderImpl(const Ark_Number* color) { return {}; } - Ark_Boolean IsLinearMetricsImpl(Ark_drawing_Font peer) + Ark_drawing_ShaderEffect CreateLinearGradientImpl(const Ark_common2D_Point* startPt, + const Ark_common2D_Point* endPt, + const Array_Number* colors, + Ark_drawing_TileMode mode, + const Opt_Array_Number* pos, + const Opt_drawing_Matrix* matrix) { return {}; } - Ark_Number GetSkewXImpl(Ark_drawing_Font peer) + Ark_drawing_ShaderEffect CreateRadialGradientImpl(const Ark_common2D_Point* centerPt, + const Ark_Number* radius, + const Array_Number* colors, + Ark_drawing_TileMode mode, + const Opt_Array_Number* pos, + const Opt_drawing_Matrix* matrix) { return {}; } - Ark_Boolean IsEmboldenImpl(Ark_drawing_Font peer) + Ark_drawing_ShaderEffect CreateSweepGradientImpl(const Ark_common2D_Point* centerPt, + const Array_Number* colors, + Ark_drawing_TileMode mode, + const Ark_Number* startAngle, + const Ark_Number* endAngle, + const Opt_Array_Number* pos, + const Opt_drawing_Matrix* matrix) { return {}; } - Ark_Number GetScaleXImpl(Ark_drawing_Font peer) + Ark_drawing_ShaderEffect CreateConicalGradientImpl(const Ark_common2D_Point* startPt, + const Ark_Number* startRadius, + const Ark_common2D_Point* endPt, + const Ark_Number* endRadius, + const Array_Number* colors, + Ark_drawing_TileMode mode, + const Opt_Array_Number* pos, + const Opt_drawing_Matrix* matrix) { return {}; } - Ark_drawing_FontHinting GetHintingImpl(Ark_drawing_Font peer) + } // drawing_ShaderEffectAccessor + namespace drawing_ShadowLayerAccessor { + void DestroyPeerImpl(Ark_drawing_ShadowLayer peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_drawing_FontEdging GetEdgingImpl(Ark_drawing_Font peer) + Ark_drawing_ShadowLayer ConstructImpl() { return {}; } - Ark_drawing_Path CreatePathForGlyphImpl(Ark_drawing_Font peer, - const Ark_Number* index) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - Array_common2D_Rect GetBoundsImpl(Ark_drawing_Font peer, - const Array_Number* glyphs) + Ark_drawing_ShadowLayer Create0Impl(const Ark_Number* blurRadius, + const Ark_Number* x, + const Ark_Number* y, + const Ark_common2D_Color* color) { return {}; } - Ark_drawing_Path GetTextPathImpl(Ark_drawing_Font peer, - const Ark_String* text, - const Ark_Number* byteLength, - const Ark_Number* x, - const Ark_Number* y) + Ark_drawing_ShadowLayer Create1Impl(const Ark_Number* blurRadius, + const Ark_Number* x, + const Ark_Number* y, + const Ark_Number* color) { return {}; } - } // drawing_FontAccessor - namespace drawing_ImageFilterAccessor { - void DestroyPeerImpl(Ark_drawing_ImageFilter peer) + } // drawing_ShadowLayerAccessor + namespace drawing_TextBlobAccessor { + void DestroyPeerImpl(Ark_drawing_TextBlob peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_drawing_ImageFilter ConstructImpl() + Ark_drawing_TextBlob ConstructImpl() { return {}; } @@ -12257,55 +13782,43 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_drawing_ImageFilter CreateBlurImageFilterImpl(const Ark_Number* sigmaX, - const Ark_Number* sigmaY, - Ark_drawing_TileMode tileMode, - const Opt_drawing_ImageFilter* imageFilter) - { - return {}; - } - Ark_drawing_ImageFilter CreateFromColorFilterImpl(Ark_drawing_ColorFilter colorFilter, - const Opt_drawing_ImageFilter* imageFilter) + Ark_drawing_TextBlob MakeFromStringImpl(const Ark_String* text, + Ark_drawing_Font font, + Ark_drawing_TextEncoding encoding) { return {}; } - } // drawing_ImageFilterAccessor - namespace drawing_LatticeAccessor { - void DestroyPeerImpl(Ark_drawing_Lattice peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + Ark_drawing_TextBlob MakeFromPosTextImpl(const Ark_String* text, + const Ark_Number* len, + const Array_common2D_Point* points, + Ark_drawing_Font font) + { + return {}; } - Ark_drawing_Lattice ConstructImpl() + Ark_drawing_TextBlob MakeFromRunBufferImpl(const Array_drawing_TextBlobRunBuffer* pos, + Ark_drawing_Font font, + const Ark_common2D_Rect* bounds) { return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_common2D_Rect BoundsImpl(Ark_drawing_TextBlob peer) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - Ark_drawing_Lattice CreateImageLatticeImpl(const Array_Number* xDivs, - const Array_Number* yDivs, - const Ark_Number* fXCount, - const Ark_Number* fYCount, - const Opt_common2D_Rect* fBounds, - const Opt_Array_drawing_RectType* fRectTypes, - const Opt_Array_CustomObject* fColors) + Ark_Number UniqueIDImpl(Ark_drawing_TextBlob peer) { return {}; } - } // drawing_LatticeAccessor - namespace drawing_MaskFilterAccessor { - void DestroyPeerImpl(Ark_drawing_MaskFilter peer) + } // drawing_TextBlobAccessor + namespace drawing_TypefaceAccessor { + void DestroyPeerImpl(Ark_drawing_Typeface peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_drawing_MaskFilter ConstructImpl() + Ark_drawing_Typeface ConstructImpl() { return {}; } @@ -12313,21 +13826,24 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_drawing_MaskFilter CreateBlurMaskFilterImpl(Ark_drawing_BlurType blurType, - const Ark_Number* sigma) + Ark_String GetFamilyNameImpl(Ark_drawing_Typeface peer) { return {}; } - } // drawing_MaskFilterAccessor - namespace drawing_MatrixAccessor { - void DestroyPeerImpl(Ark_drawing_Matrix peer) + Ark_drawing_Typeface MakeFromFileImpl(const Ark_String* filePath) { - auto peerImpl = reinterpret_cast(peer); + return {}; + } + } // drawing_TypefaceAccessor + namespace DrawingRenderingContextAccessor { + void DestroyPeerImpl(Ark_DrawingRenderingContext peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_drawing_Matrix ConstructImpl() + Ark_DrawingRenderingContext ConstructImpl(const Opt_LengthMetricsUnit* unit) { return {}; } @@ -12335,332 +13851,297 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void SetRotationImpl(Ark_drawing_Matrix peer, - const Ark_Number* degree, - const Ark_Number* px, - const Ark_Number* py) - { - } - void SetScaleImpl(Ark_drawing_Matrix peer, - const Ark_Number* sx, - const Ark_Number* sy, - const Ark_Number* px, - const Ark_Number* py) + void InvalidateImpl(Ark_DrawingRenderingContext peer) { } - void SetTranslationImpl(Ark_drawing_Matrix peer, - const Ark_Number* dx, - const Ark_Number* dy) + Ark_Size GetSizeImpl(Ark_DrawingRenderingContext peer) { + return {}; } - void SetMatrixImpl(Ark_drawing_Matrix peer, - const Array_Number* values) + void SetSizeImpl(Ark_DrawingRenderingContext peer, + const Ark_Size* size) { } - void PreConcatImpl(Ark_drawing_Matrix peer, - Ark_drawing_Matrix matrix) + } // DrawingRenderingContextAccessor + namespace DrawModifierAccessor { + void DestroyPeerImpl(Ark_DrawModifier peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Boolean IsEqualImpl(Ark_drawing_Matrix peer, - Ark_drawing_Matrix matrix) + Ark_DrawModifier ConstructImpl() { return {}; } - Ark_Boolean InvertImpl(Ark_drawing_Matrix peer, - Ark_drawing_Matrix matrix) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Boolean IsIdentityImpl(Ark_drawing_Matrix peer) + void InvalidateImpl(Ark_DrawModifier peer) { - return {}; } - Ark_Number GetValueImpl(Ark_drawing_Matrix peer, - const Ark_Number* index) + Callback_DrawContext_Void GetDrawBehind_callbackImpl(Ark_DrawModifier peer) { return {}; } - void PostRotateImpl(Ark_drawing_Matrix peer, - const Ark_Number* degree, - const Ark_Number* px, - const Ark_Number* py) + void SetDrawBehind_callbackImpl(Ark_DrawModifier peer, + const Callback_DrawContext_Void* drawBehind_callback) { } - void PostScaleImpl(Ark_drawing_Matrix peer, - const Ark_Number* sx, - const Ark_Number* sy, - const Ark_Number* px, - const Ark_Number* py) + Callback_DrawContext_Void GetDrawContent_callbackImpl(Ark_DrawModifier peer) { + return {}; } - void PostTranslateImpl(Ark_drawing_Matrix peer, - const Ark_Number* dx, - const Ark_Number* dy) + void SetDrawContent_callbackImpl(Ark_DrawModifier peer, + const Callback_DrawContext_Void* drawContent_callback) { } - void PreRotateImpl(Ark_drawing_Matrix peer, - const Ark_Number* degree, - const Ark_Number* px, - const Ark_Number* py) + } // DrawModifierAccessor + namespace EllipseShapeAccessor { + void DestroyPeerImpl(Ark_EllipseShape peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void PreScaleImpl(Ark_drawing_Matrix peer, - const Ark_Number* sx, - const Ark_Number* sy, - const Ark_Number* px, - const Ark_Number* py) + Ark_EllipseShape ConstructImpl(const Opt_ShapeSize* options) { + return {}; } - void PreTranslateImpl(Ark_drawing_Matrix peer, - const Ark_Number* dx, - const Ark_Number* dy) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - void ResetImpl(Ark_drawing_Matrix peer) + Ark_EllipseShape OffsetImpl(Ark_EllipseShape peer, + const Ark_Position* offset) { + return {}; } - Array_common2D_Point MapPointsImpl(Ark_drawing_Matrix peer, - const Array_common2D_Point* src) + Ark_EllipseShape FillImpl(Ark_EllipseShape peer, + const Ark_ResourceColor* color) { return {}; } - Array_Number GetAllImpl(Ark_drawing_Matrix peer) + Ark_EllipseShape PositionImpl(Ark_EllipseShape peer, + const Ark_Position* position) { return {}; } - Ark_Boolean MapRectImpl(Ark_drawing_Matrix peer, - const Ark_common2D_Rect* dst, - const Ark_common2D_Rect* src) + Ark_EllipseShape WidthImpl(Ark_EllipseShape peer, + const Ark_Length* width) { return {}; } - Ark_Boolean SetRectToRectImpl(Ark_drawing_Matrix peer, - const Ark_common2D_Rect* src, - const Ark_common2D_Rect* dst, - Ark_drawing_ScaleToFit scaleToFit) + Ark_EllipseShape HeightImpl(Ark_EllipseShape peer, + const Ark_Length* height) { return {}; } - Ark_Boolean SetPolyToPolyImpl(Ark_drawing_Matrix peer, - const Array_common2D_Point* src, - const Array_common2D_Point* dst, - const Ark_Number* count) + Ark_EllipseShape SizeImpl(Ark_EllipseShape peer, + const Ark_SizeOptions* size) { return {}; } - } // drawing_MatrixAccessor - namespace drawing_PathAccessor { - void DestroyPeerImpl(Ark_drawing_Path peer) + } // EllipseShapeAccessor + namespace EnvironmentBackendAccessor { + Ark_Boolean IsAccessibilityEnabledImpl() { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_drawing_Path Construct0Impl() + Ark_Int32 GetColorModeImpl() { return {}; } - Ark_drawing_Path Construct1Impl(Ark_drawing_Path path) + Ark_Float32 GetFontScaleImpl() { return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Float32 GetFontWeightScaleImpl() { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - void MoveToImpl(Ark_drawing_Path peer, - const Ark_Number* x, - const Ark_Number* y) + Ark_String GetLayoutDirectionImpl() { + return {}; } - void LineToImpl(Ark_drawing_Path peer, - const Ark_Number* x, - const Ark_Number* y) + Ark_String GetLanguageCodeImpl() { + return {}; } - void ArcToImpl(Ark_drawing_Path peer, - const Ark_Number* x1, - const Ark_Number* y1, - const Ark_Number* x2, - const Ark_Number* y2, - const Ark_Number* startDeg, - const Ark_Number* sweepDeg) + } // EnvironmentBackendAccessor + namespace EventEmulatorAccessor { + void EmitClickEventImpl(Ark_NativePointer node, + Ark_ClickEvent event) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - void QuadToImpl(Ark_drawing_Path peer, - const Ark_Number* ctrlX, - const Ark_Number* ctrlY, - const Ark_Number* endX, - const Ark_Number* endY) + void EmitTextInputEventImpl(Ark_NativePointer node, + const Ark_String* text) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - void ConicToImpl(Ark_drawing_Path peer, - const Ark_Number* ctrlX, - const Ark_Number* ctrlY, - const Ark_Number* endX, - const Ark_Number* endY, - const Ark_Number* weight) + } // EventEmulatorAccessor + namespace EventResultAccessor { + void DestroyPeerImpl(Ark_EventResult peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void CubicToImpl(Ark_drawing_Path peer, - const Ark_Number* ctrlX1, - const Ark_Number* ctrlY1, - const Ark_Number* ctrlX2, - const Ark_Number* ctrlY2, - const Ark_Number* endX, - const Ark_Number* endY) + Ark_EventResult ConstructImpl() { + return {}; } - void RMoveToImpl(Ark_drawing_Path peer, - const Ark_Number* dx, - const Ark_Number* dy) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - void RLineToImpl(Ark_drawing_Path peer, - const Ark_Number* dx, - const Ark_Number* dy) + void SetGestureEventResult0Impl(Ark_EventResult peer, + Ark_Boolean result) { } - void RQuadToImpl(Ark_drawing_Path peer, - const Ark_Number* dx1, - const Ark_Number* dy1, - const Ark_Number* dx2, - const Ark_Number* dy2) + void SetGestureEventResult1Impl(Ark_EventResult peer, + Ark_Boolean result, + Ark_Boolean stopPropagation) { } - void RConicToImpl(Ark_drawing_Path peer, - const Ark_Number* ctrlX, - const Ark_Number* ctrlY, - const Ark_Number* endX, - const Ark_Number* endY, - const Ark_Number* weight) + } // EventResultAccessor + namespace EventTargetInfoAccessor { + void DestroyPeerImpl(Ark_EventTargetInfo peer) { - } - void RCubicToImpl(Ark_drawing_Path peer, - const Ark_Number* ctrlX1, - const Ark_Number* ctrlY1, - const Ark_Number* ctrlX2, - const Ark_Number* ctrlY2, - const Ark_Number* endX, - const Ark_Number* endY) + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_EventTargetInfo ConstructImpl() { + return {}; } - void AddPolygonImpl(Ark_drawing_Path peer, - const Array_common2D_Point* points, - Ark_Boolean close) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Boolean OpImpl(Ark_drawing_Path peer, - Ark_drawing_Path path, - Ark_drawing_PathOp pathOp) + Ark_String GetIdImpl(Ark_EventTargetInfo peer) { return {}; } - void AddArcImpl(Ark_drawing_Path peer, - const Ark_common2D_Rect* rect, - const Ark_Number* startAngle, - const Ark_Number* sweepAngle) + } // EventTargetInfoAccessor + namespace ExtendableComponentAccessor { + void DestroyPeerImpl(Ark_ExtendableComponent peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void AddCircleImpl(Ark_drawing_Path peer, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* radius, - Ark_drawing_PathDirection pathDirection) + Ark_ExtendableComponent ConstructImpl() { + return {}; } - void AddOvalImpl(Ark_drawing_Path peer, - const Ark_common2D_Rect* rect, - const Ark_Number* start, - Ark_drawing_PathDirection pathDirection) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - void AddRectImpl(Ark_drawing_Path peer, - const Ark_common2D_Rect* rect, - Ark_drawing_PathDirection pathDirection) + Ark_UIContext GetUIContextImpl(Ark_ExtendableComponent peer) { + return {}; } - void AddRoundRectImpl(Ark_drawing_Path peer, - Ark_drawing_RoundRect roundRect, - Ark_drawing_PathDirection pathDirection) + Ark_Int32 GetUniqueIdImpl(Ark_ExtendableComponent peer) { + return {}; } - void AddPathImpl(Ark_drawing_Path peer, - Ark_drawing_Path path, - const Opt_drawing_Matrix* matrix) + Opt_uiObserver_NavDestinationInfo QueryNavDestinationInfo0Impl(Ark_ExtendableComponent peer) { + return {}; } - void TransformImpl(Ark_drawing_Path peer, - Ark_drawing_Matrix matrix) + Opt_uiObserver_NavDestinationInfo QueryNavDestinationInfo1Impl(Ark_ExtendableComponent peer, + const Opt_Boolean* isInner) { + return {}; } - Ark_Boolean ContainsImpl(Ark_drawing_Path peer, - const Ark_Number* x, - const Ark_Number* y) + Opt_uiObserver_NavigationInfo QueryNavigationInfoImpl(Ark_ExtendableComponent peer) { return {}; } - void SetFillTypeImpl(Ark_drawing_Path peer, - Ark_drawing_PathFillType pathFillType) + Opt_uiObserver_RouterPageInfo QueryRouterPageInfoImpl(Ark_ExtendableComponent peer) { + return {}; } - Ark_common2D_Rect GetBoundsImpl(Ark_drawing_Path peer) + } // ExtendableComponentAccessor + namespace FileSelectorParamAccessor { + void DestroyPeerImpl(Ark_FileSelectorParam peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_FileSelectorParam ConstructImpl() { return {}; } - void CloseImpl(Ark_drawing_Path peer) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_drawing_Path OffsetImpl(Ark_drawing_Path peer, - const Ark_Number* dx, - const Ark_Number* dy) + Ark_String GetTitleImpl(Ark_FileSelectorParam peer) { return {}; } - void ResetImpl(Ark_drawing_Path peer) + Ark_FileSelectorMode GetModeImpl(Ark_FileSelectorParam peer) { + return {}; } - Ark_Number GetLengthImpl(Ark_drawing_Path peer, - Ark_Boolean forceClosed) + Array_String GetAcceptTypeImpl(Ark_FileSelectorParam peer) { return {}; } - Ark_Boolean GetPositionAndTangentImpl(Ark_drawing_Path peer, - Ark_Boolean forceClosed, - const Ark_Number* distance, - const Ark_common2D_Point* position, - const Ark_common2D_Point* tangent) + Ark_Boolean IsCaptureImpl(Ark_FileSelectorParam peer) { return {}; } - Ark_Boolean IsClosedImpl(Ark_drawing_Path peer) + Array_String GetMimeTypesImpl(Ark_FileSelectorParam peer) { return {}; } - Ark_Boolean GetMatrixImpl(Ark_drawing_Path peer, - Ark_Boolean forceClosed, - const Ark_Number* distance, - Ark_drawing_Matrix matrix, - Ark_drawing_PathMeasureMatrixFlags flags) + } // FileSelectorParamAccessor + namespace FileSelectorResultAccessor { + void DestroyPeerImpl(Ark_FileSelectorResult peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Boolean BuildFromSvgStringImpl(Ark_drawing_Path peer, - const Ark_String* str) + Ark_FileSelectorResult ConstructImpl() { return {}; } - } // drawing_PathAccessor - namespace drawing_PathEffectAccessor { - void DestroyPeerImpl(Ark_drawing_PathEffect peer) + Ark_NativePointer GetFinalizerImpl() { - auto peerImpl = reinterpret_cast(peer); + return reinterpret_cast(&DestroyPeerImpl); + } + void HandleFileListImpl(Ark_FileSelectorResult peer, + const Array_String* fileList) + { + } + } // FileSelectorResultAccessor + namespace FocusAxisEventAccessor { + void DestroyPeerImpl(Ark_FocusAxisEvent peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_drawing_PathEffect ConstructImpl() + Ark_FocusAxisEvent ConstructImpl() { return {}; } @@ -12668,29 +14149,37 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_drawing_PathEffect CreateDashPathEffectImpl(const Array_Number* intervals, - const Ark_Number* phase) + Map_AxisModel_Number GetAxisMapImpl(Ark_FocusAxisEvent peer) { return {}; } - Ark_drawing_PathEffect CreateCornerPathEffectImpl(const Ark_Number* radius) + void SetAxisMapImpl(Ark_FocusAxisEvent peer, + const Map_AxisModel_Number* axisMap) + { + } + Callback_Void GetStopPropagationImpl(Ark_FocusAxisEvent peer) { return {}; } - } // drawing_PathEffectAccessor - namespace drawing_PenAccessor { - void DestroyPeerImpl(Ark_drawing_Pen peer) + void SetStopPropagationImpl(Ark_FocusAxisEvent peer, + const Callback_Void* stopPropagation) { - auto peerImpl = reinterpret_cast(peer); + } + } // FocusAxisEventAccessor + namespace FocusControllerAccessor { + void RequestFocusImpl(const Ark_String* key) + { + } + } // FocusControllerAccessor + namespace FrameNodeAccessor { + void DestroyPeerImpl(Ark_FrameNode peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_drawing_Pen Construct0Impl() - { - return {}; - } - Ark_drawing_Pen Construct1Impl(Ark_drawing_Pen pen) + Ark_FrameNode ConstructImpl(Ark_UIContext uiContext) { return {}; } @@ -12698,227 +14187,194 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void SetMiterLimitImpl(Ark_drawing_Pen peer, - const Ark_Number* miter) - { - } - Ark_Number GetMiterLimitImpl(Ark_drawing_Pen peer) + Ark_Boolean IsModifiableImpl(Ark_FrameNode peer) { return {}; } - void SetShaderEffectImpl(Ark_drawing_Pen peer, - Ark_drawing_ShaderEffect shaderEffect) + void AppendChildImpl(Ark_FrameNode peer, + Ark_FrameNode node) { } - void SetColor0Impl(Ark_drawing_Pen peer, - const Ark_common2D_Color* color) + void InsertChildAfterImpl(Ark_FrameNode peer, + Ark_FrameNode child, + Ark_FrameNode sibling) { } - void SetColor1Impl(Ark_drawing_Pen peer, - const Ark_Number* color) + void RemoveChildImpl(Ark_FrameNode peer, + Ark_FrameNode node) { } - void SetColor2Impl(Ark_drawing_Pen peer, - const Ark_Number* alpha, - const Ark_Number* red, - const Ark_Number* green, - const Ark_Number* blue) + void ClearChildrenImpl(Ark_FrameNode peer) { } - Ark_common2D_Color GetColorImpl(Ark_drawing_Pen peer) + Ark_FrameNode GetChildImpl(Ark_FrameNode peer, + const Ark_Number* index, + const Ark_Number* expandMode) { return {}; } - Ark_Number GetHexColorImpl(Ark_drawing_Pen peer) + Ark_FrameNode GetFirstChildImpl(Ark_FrameNode peer) { return {}; } - void SetStrokeWidthImpl(Ark_drawing_Pen peer, - const Ark_Number* width) + Ark_FrameNode GetNextSiblingImpl(Ark_FrameNode peer) { + return {}; } - Ark_Number GetWidthImpl(Ark_drawing_Pen peer) + Ark_FrameNode GetPreviousSiblingImpl(Ark_FrameNode peer) { return {}; } - void SetAntiAliasImpl(Ark_drawing_Pen peer, - Ark_Boolean aa) + Ark_FrameNode GetParentImpl(Ark_FrameNode peer) { + return {}; } - Ark_Boolean IsAntiAliasImpl(Ark_drawing_Pen peer) + Ark_Int32 GetChildrenCountImpl(Ark_FrameNode peer) { return {}; } - void SetAlphaImpl(Ark_drawing_Pen peer, - const Ark_Number* alpha) + void DisposeImpl(Ark_FrameNode peer) { } - Ark_Number GetAlphaImpl(Ark_drawing_Pen peer) + Ark_String GetIdImpl(Ark_FrameNode peer) { return {}; } - void SetColorFilterImpl(Ark_drawing_Pen peer, - Ark_drawing_ColorFilter filter) + Ark_Number GetUniqueIdImpl(Ark_FrameNode peer) { + return {}; } - Ark_drawing_ColorFilter GetColorFilterImpl(Ark_drawing_Pen peer) + Ark_String GetNodeTypeImpl(Ark_FrameNode peer) { return {}; } - void SetImageFilterImpl(Ark_drawing_Pen peer, - const Opt_drawing_ImageFilter* filter) + Ark_Number GetOpacityImpl(Ark_FrameNode peer) { + return {}; } - void SetMaskFilterImpl(Ark_drawing_Pen peer, - Ark_drawing_MaskFilter filter) + Ark_Boolean IsVisibleImpl(Ark_FrameNode peer) { + return {}; } - void SetPathEffectImpl(Ark_drawing_Pen peer, - Ark_drawing_PathEffect effect) + Ark_Boolean IsClipToFrameImpl(Ark_FrameNode peer) { + return {}; } - void SetShadowLayerImpl(Ark_drawing_Pen peer, - Ark_drawing_ShadowLayer shadowLayer) + Ark_Boolean IsAttachedImpl(Ark_FrameNode peer) { + return {}; } - void SetBlendModeImpl(Ark_drawing_Pen peer, - Ark_drawing_BlendMode mode) + Ark_Object GetInspectorInfoImpl(Ark_FrameNode peer) { + return {}; } - void SetDitherImpl(Ark_drawing_Pen peer, - Ark_Boolean dither) + void InvalidateImpl(Ark_FrameNode peer) { } - void SetJoinStyleImpl(Ark_drawing_Pen peer, - Ark_drawing_JoinStyle style) + void DisposeTreeImpl(Ark_FrameNode peer) { } - Ark_drawing_JoinStyle GetJoinStyleImpl(Ark_drawing_Pen peer) + void SetCrossLanguageOptionsImpl(Ark_FrameNode peer, + const Ark_CrossLanguageOptions* options) + { + } + Ark_CrossLanguageOptions GetCrossLanguageOptionsImpl(Ark_FrameNode peer) { return {}; } - void SetCapStyleImpl(Ark_drawing_Pen peer, - Ark_drawing_CapStyle style) + void SetMeasuredSizeImpl(Ark_FrameNode peer, + const Ark_Size* size) { } - Ark_drawing_CapStyle GetCapStyleImpl(Ark_drawing_Pen peer) + void SetLayoutPositionImpl(Ark_FrameNode peer, + const Ark_Position* position) { - return {}; } - void ResetImpl(Ark_drawing_Pen peer) + void MeasureImpl(Ark_FrameNode peer, + const Ark_LayoutConstraint* constraint) { } - Ark_Boolean GetFillPathImpl(Ark_drawing_Pen peer, - Ark_drawing_Path src, - Ark_drawing_Path dst) + void LayoutImpl(Ark_FrameNode peer, + const Ark_Position* position) + { + } + void SetNeedsLayoutImpl(Ark_FrameNode peer) + { + } + Ark_Position GetPositionToWindowWithTransformImpl(Ark_FrameNode peer) { return {}; } - } // drawing_PenAccessor - namespace drawing_RegionAccessor { - void DestroyPeerImpl(Ark_drawing_Region peer) + Ark_FrameNode GetFrameNodeByKeyImpl(const Ark_String* name) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_drawing_Region ConstructImpl() + Ark_Number GetIdByFrameNodeImpl(Ark_FrameNode peer, + Ark_FrameNode node) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void MoveToImpl(Ark_FrameNode peer, + Ark_FrameNode targetParent, + const Ark_Number* index) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_Boolean IsPointContainedImpl(Ark_drawing_Region peer, - const Ark_Number* x, - const Ark_Number* y) + Ark_Number GetFirstChildIndexWithoutExpandImpl(Ark_FrameNode peer) { return {}; } - Ark_Boolean IsRegionContainedImpl(Ark_drawing_Region peer, - Ark_drawing_Region other) + Ark_Number GetLastChildIndexWithoutExpandImpl(Ark_FrameNode peer) { return {}; } - Ark_Boolean OpImpl(Ark_drawing_Region peer, - Ark_drawing_Region region, - Ark_drawing_RegionOp regionOp) + Ark_FrameNode GetAttachedFrameNodeByIdImpl(const Ark_String* id) { return {}; } - Ark_Boolean QuickRejectImpl(Ark_drawing_Region peer, - const Ark_Number* left, - const Ark_Number* top, - const Ark_Number* right, - const Ark_Number* bottom) + Ark_FrameNode GetFrameNodeByIdImpl(const Ark_Number* id) { return {}; } - Ark_Boolean SetPathImpl(Ark_drawing_Region peer, - Ark_drawing_Path path, - Ark_drawing_Region clip) + Ark_FrameNode GetFrameNodeByUniqueIdImpl(const Ark_Number* id) { return {}; } - Ark_Boolean SetRectImpl(Ark_drawing_Region peer, - const Ark_Number* left, - const Ark_Number* top, - const Ark_Number* right, - const Ark_Number* bottom) + void ReuseImpl(Ark_FrameNode peer) { - return {}; } - } // drawing_RegionAccessor - namespace drawing_RoundRectAccessor { - void DestroyPeerImpl(Ark_drawing_RoundRect peer) + void RecycleImpl(Ark_FrameNode peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_drawing_RoundRect ConstructImpl(const Ark_common2D_Rect* rect, - const Ark_Number* xRadii, - const Ark_Number* yRadii) + Ark_NativePointer GetFrameNodePtrImpl(Ark_FrameNode node) { return {}; } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - void SetCornerImpl(Ark_drawing_RoundRect peer, - Ark_drawing_CornerPos pos, - const Ark_Number* x, - const Ark_Number* y) + Ark_FrameNode CreateTypedFrameNodeImpl(const Ark_String* type) { + return {}; } - Ark_common2D_Point GetCornerImpl(Ark_drawing_RoundRect peer, - Ark_drawing_CornerPos pos) + Ark_NativePointer CreateByRawPtrImpl(Ark_FrameNode peer, + Ark_FrameNode pointer) { return {}; } - void OffsetImpl(Ark_drawing_RoundRect peer, - const Ark_Number* dx, - const Ark_Number* dy) + Ark_FrameNode UnWrapRawPtrImpl(Ark_FrameNode peer, + Ark_NativePointer pointer) { + return {}; } - } // drawing_RoundRectAccessor - namespace drawing_SamplingOptionsAccessor { - void DestroyPeerImpl(Ark_drawing_SamplingOptions peer) + } // FrameNodeAccessor + namespace FrictionMotionAccessor { + void DestroyPeerImpl(Ark_FrictionMotion peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_drawing_SamplingOptions Construct0Impl() - { - return {}; - } - Ark_drawing_SamplingOptions Construct1Impl(Ark_drawing_FilterMode filterMode) + Ark_FrictionMotion ConstructImpl(const Ark_Number* friction, + const Ark_Number* position, + const Ark_Number* velocity) { return {}; } @@ -12926,16 +14382,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - } // drawing_SamplingOptionsAccessor - namespace drawing_ShaderEffectAccessor { - void DestroyPeerImpl(Ark_drawing_ShaderEffect peer) + } // FrictionMotionAccessor + namespace FullScreenExitHandlerAccessor { + void DestroyPeerImpl(Ark_FullScreenExitHandler peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_drawing_ShaderEffect ConstructImpl() + Ark_FullScreenExitHandler ConstructImpl() { return {}; } @@ -12943,59 +14399,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_drawing_ShaderEffect CreateColorShaderImpl(const Ark_Number* color) - { - return {}; - } - Ark_drawing_ShaderEffect CreateLinearGradientImpl(const Ark_common2D_Point* startPt, - const Ark_common2D_Point* endPt, - const Array_Number* colors, - Ark_drawing_TileMode mode, - const Opt_Array_Number* pos, - const Opt_drawing_Matrix* matrix) - { - return {}; - } - Ark_drawing_ShaderEffect CreateRadialGradientImpl(const Ark_common2D_Point* centerPt, - const Ark_Number* radius, - const Array_Number* colors, - Ark_drawing_TileMode mode, - const Opt_Array_Number* pos, - const Opt_drawing_Matrix* matrix) - { - return {}; - } - Ark_drawing_ShaderEffect CreateSweepGradientImpl(const Ark_common2D_Point* centerPt, - const Array_Number* colors, - Ark_drawing_TileMode mode, - const Ark_Number* startAngle, - const Ark_Number* endAngle, - const Opt_Array_Number* pos, - const Opt_drawing_Matrix* matrix) - { - return {}; - } - Ark_drawing_ShaderEffect CreateConicalGradientImpl(const Ark_common2D_Point* startPt, - const Ark_Number* startRadius, - const Ark_common2D_Point* endPt, - const Ark_Number* endRadius, - const Array_Number* colors, - Ark_drawing_TileMode mode, - const Opt_Array_Number* pos, - const Opt_drawing_Matrix* matrix) + void ExitFullScreenImpl(Ark_FullScreenExitHandler peer) { - return {}; } - } // drawing_ShaderEffectAccessor - namespace drawing_ShadowLayerAccessor { - void DestroyPeerImpl(Ark_drawing_ShadowLayer peer) + } // FullScreenExitHandlerAccessor + namespace GestureAccessor { + void DestroyPeerImpl(Ark_Gesture peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_drawing_ShadowLayer ConstructImpl() + Ark_Gesture ConstructImpl() { return {}; } @@ -13003,30 +14419,24 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_drawing_ShadowLayer Create0Impl(const Ark_Number* blurRadius, - const Ark_Number* x, - const Ark_Number* y, - const Ark_common2D_Color* color) + void TagImpl(Ark_Gesture peer, + const Ark_String* tag) { - return {}; } - Ark_drawing_ShadowLayer Create1Impl(const Ark_Number* blurRadius, - const Ark_Number* x, - const Ark_Number* y, - const Ark_Number* color) + void AllowedTypesImpl(Ark_Gesture peer, + const Array_SourceTool* types) { - return {}; } - } // drawing_ShadowLayerAccessor - namespace drawing_TextBlobAccessor { - void DestroyPeerImpl(Ark_drawing_TextBlob peer) + } // GestureAccessor + namespace GestureEventAccessor { + void DestroyPeerImpl(Ark_GestureEvent peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_drawing_TextBlob ConstructImpl() + Ark_GestureEvent ConstructImpl() { return {}; } @@ -13034,132 +14444,113 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_drawing_TextBlob MakeFromStringImpl(const Ark_String* text, - Ark_drawing_Font font, - Ark_drawing_TextEncoding encoding) + Ark_Boolean GetRepeatImpl(Ark_GestureEvent peer) { return {}; } - Ark_drawing_TextBlob MakeFromPosTextImpl(const Ark_String* text, - const Ark_Number* len, - const Array_common2D_Point* points, - Ark_drawing_Font font) + void SetRepeatImpl(Ark_GestureEvent peer, + Ark_Boolean repeat) { - return {}; } - Ark_drawing_TextBlob MakeFromRunBufferImpl(const Array_drawing_TextBlobRunBuffer* pos, - Ark_drawing_Font font, - const Ark_common2D_Rect* bounds) + Array_FingerInfo GetFingerListImpl(Ark_GestureEvent peer) { return {}; } - Ark_common2D_Rect BoundsImpl(Ark_drawing_TextBlob peer) + void SetFingerListImpl(Ark_GestureEvent peer, + const Array_FingerInfo* fingerList) { - return {}; } - Ark_Number UniqueIDImpl(Ark_drawing_TextBlob peer) + Ark_Number GetOffsetXImpl(Ark_GestureEvent peer) { return {}; } - } // drawing_TextBlobAccessor - namespace drawing_TypefaceAccessor { - void DestroyPeerImpl(Ark_drawing_Typeface peer) + void SetOffsetXImpl(Ark_GestureEvent peer, + const Ark_Number* offsetX) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_drawing_Typeface ConstructImpl() + Ark_Number GetOffsetYImpl(Ark_GestureEvent peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetOffsetYImpl(Ark_GestureEvent peer, + const Ark_Number* offsetY) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_String GetFamilyNameImpl(Ark_drawing_Typeface peer) + Ark_Number GetAngleImpl(Ark_GestureEvent peer) { return {}; } - Ark_drawing_Typeface MakeFromFileImpl(const Ark_String* filePath) + void SetAngleImpl(Ark_GestureEvent peer, + const Ark_Number* angle) { - return {}; } - } // drawing_TypefaceAccessor - namespace DrawingRenderingContextAccessor { - void DestroyPeerImpl(Ark_DrawingRenderingContext peer) + Ark_Number GetSpeedImpl(Ark_GestureEvent peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_DrawingRenderingContext ConstructImpl(const Opt_LengthMetricsUnit* unit) + void SetSpeedImpl(Ark_GestureEvent peer, + const Ark_Number* speed) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number GetScaleImpl(Ark_GestureEvent peer) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - void InvalidateImpl(Ark_DrawingRenderingContext peer) + void SetScaleImpl(Ark_GestureEvent peer, + const Ark_Number* scale) { } - Ark_Size GetSizeImpl(Ark_DrawingRenderingContext peer) + Ark_Number GetPinchCenterXImpl(Ark_GestureEvent peer) { return {}; } - void SetSizeImpl(Ark_DrawingRenderingContext peer, - const Ark_Size* size) + void SetPinchCenterXImpl(Ark_GestureEvent peer, + const Ark_Number* pinchCenterX) { } - } // DrawingRenderingContextAccessor - namespace DrawModifierAccessor { - void DestroyPeerImpl(Ark_DrawModifier peer) + Ark_Number GetPinchCenterYImpl(Ark_GestureEvent peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_DrawModifier ConstructImpl() + void SetPinchCenterYImpl(Ark_GestureEvent peer, + const Ark_Number* pinchCenterY) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number GetVelocityXImpl(Ark_GestureEvent peer) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - void InvalidateImpl(Ark_DrawModifier peer) + void SetVelocityXImpl(Ark_GestureEvent peer, + const Ark_Number* velocityX) { } - Callback_DrawContext_Void GetDrawBehind_callbackImpl(Ark_DrawModifier peer) + Ark_Number GetVelocityYImpl(Ark_GestureEvent peer) { return {}; } - void SetDrawBehind_callbackImpl(Ark_DrawModifier peer, - const Callback_DrawContext_Void* drawBehind_callback) + void SetVelocityYImpl(Ark_GestureEvent peer, + const Ark_Number* velocityY) { } - Callback_DrawContext_Void GetDrawContent_callbackImpl(Ark_DrawModifier peer) + Ark_Number GetVelocityImpl(Ark_GestureEvent peer) { return {}; } - void SetDrawContent_callbackImpl(Ark_DrawModifier peer, - const Callback_DrawContext_Void* drawContent_callback) + void SetVelocityImpl(Ark_GestureEvent peer, + const Ark_Number* velocity) { } - } // DrawModifierAccessor - namespace EllipseShapeAccessor { - void DestroyPeerImpl(Ark_EllipseShape peer) + } // GestureEventAccessor + namespace GestureGroupInterfaceAccessor { + void DestroyPeerImpl(Ark_GestureGroupInterface peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_EllipseShape ConstructImpl(const Opt_ShapeSize* options) + Ark_GestureGroupInterface ConstructImpl(Ark_GestureMode mode, + const Array_GestureType* gesture) { return {}; } @@ -13167,86 +14558,78 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_EllipseShape OffsetImpl(Ark_EllipseShape peer, - const Ark_Position* offset) + Ark_GestureGroupInterface OnCancelImpl(Ark_GestureGroupInterface peer, + const Callback_Void* event) { return {}; } - Ark_EllipseShape FillImpl(Ark_EllipseShape peer, - const Ark_ResourceColor* color) + } // GestureGroupInterfaceAccessor + namespace GestureRecognizerAccessor { + void DestroyPeerImpl(Ark_GestureRecognizer peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_EllipseShape PositionImpl(Ark_EllipseShape peer, - const Ark_Position* position) + Ark_GestureRecognizer ConstructImpl() { return {}; } - Ark_EllipseShape WidthImpl(Ark_EllipseShape peer, - const Ark_Length* width) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - Ark_EllipseShape HeightImpl(Ark_EllipseShape peer, - const Ark_Length* height) + Ark_String GetTagImpl(Ark_GestureRecognizer peer) { return {}; } - Ark_EllipseShape SizeImpl(Ark_EllipseShape peer, - const Ark_SizeOptions* size) + Ark_GestureControl_GestureType GetTypeImpl(Ark_GestureRecognizer peer) { return {}; } - } // EllipseShapeAccessor - namespace EnvironmentBackendAccessor { - Ark_Boolean IsAccessibilityEnabledImpl() + Ark_Boolean IsBuiltInImpl(Ark_GestureRecognizer peer) { return {}; } - Ark_Int32 GetColorModeImpl() + void SetEnabledImpl(Ark_GestureRecognizer peer, + Ark_Boolean isEnabled) { - return {}; } - Ark_Float32 GetFontScaleImpl() + Ark_Boolean IsEnabledImpl(Ark_GestureRecognizer peer) { return {}; } - Ark_Float32 GetFontWeightScaleImpl() + Ark_GestureRecognizerState GetStateImpl(Ark_GestureRecognizer peer) { return {}; } - Ark_String GetLayoutDirectionImpl() + Ark_EventTargetInfo GetEventTargetInfoImpl(Ark_GestureRecognizer peer) { return {}; } - Ark_String GetLanguageCodeImpl() + Ark_Boolean IsValidImpl(Ark_GestureRecognizer peer) { return {}; } - } // EnvironmentBackendAccessor - namespace EventEmulatorAccessor { - void EmitClickEventImpl(Ark_NativePointer node, - Ark_ClickEvent event) + Ark_Number GetFingerCountImpl(Ark_GestureRecognizer peer) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); + return {}; } - void EmitTextInputEventImpl(Ark_NativePointer node, - const Ark_String* text) + Ark_Boolean IsFingerCountLimitImpl(Ark_GestureRecognizer peer) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); + return {}; } - } // EventEmulatorAccessor - namespace EventTargetInfoAccessor { - void DestroyPeerImpl(Ark_EventTargetInfo peer) + } // GestureRecognizerAccessor + namespace GestureStyleAccessor { + void DestroyPeerImpl(Ark_GestureStyle peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_EventTargetInfo ConstructImpl() + Ark_GestureStyle ConstructImpl(const Opt_GestureStyleInterface* value) { return {}; } @@ -13254,62 +14637,61 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_String GetIdImpl(Ark_EventTargetInfo peer) - { - return {}; - } - } // EventTargetInfoAccessor - namespace ExtendableComponentAccessor { - void DestroyPeerImpl(Ark_ExtendableComponent peer) + } // GestureStyleAccessor + namespace GlobalScope_ohos_arkui_componentSnapshotAccessor { + void GetImpl(const Ark_String* id, + const AsyncCallback_image_PixelMap_Void* callback, + const Opt_SnapshotOptions* options) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_ExtendableComponent ConstructImpl() + } // GlobalScope_ohos_arkui_componentSnapshotAccessor + namespace GlobalScope_ohos_arkui_performanceMonitorAccessor { + void BeginImpl(const Ark_String* scene, + Ark_PerfMonitorActionType startInputType, + const Opt_String* note) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void EndImpl(const Ark_String* scene) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_UIContext GetUIContextImpl(Ark_ExtendableComponent peer) + void RecordInputEventTimeImpl(Ark_PerfMonitorActionType actionType, + Ark_PerfMonitorSourceType sourceType, + Ark_Int64 time) { - return {}; } - Ark_Int32 GetUniqueIdImpl(Ark_ExtendableComponent peer) + } // GlobalScope_ohos_arkui_performanceMonitorAccessor + namespace GlobalScope_ohos_fontAccessor { + void RegisterFontImpl(const Ark_FontOptions* options) { - return {}; } - Opt_uiObserver_NavDestinationInfo QueryNavDestinationInfo0Impl(Ark_ExtendableComponent peer) + Array_String GetSystemFontListImpl() { return {}; } - Opt_uiObserver_NavDestinationInfo QueryNavDestinationInfo1Impl(Ark_ExtendableComponent peer, - const Opt_Boolean* isInner) + Ark_FontInfo GetFontByNameImpl(const Ark_String* fontName) { return {}; } - Opt_uiObserver_NavigationInfo QueryNavigationInfoImpl(Ark_ExtendableComponent peer) + } // GlobalScope_ohos_fontAccessor + namespace GlobalScope_ohos_measure_utilsAccessor { + Ark_Number MeasureTextImpl(const Ark_MeasureOptions* options) { return {}; } - Opt_uiObserver_RouterPageInfo QueryRouterPageInfoImpl(Ark_ExtendableComponent peer) + Ark_SizeOptions MeasureTextSizeImpl(const Ark_MeasureOptions* options) { return {}; } - } // ExtendableComponentAccessor - namespace FocusAxisEventAccessor { - void DestroyPeerImpl(Ark_FocusAxisEvent peer) + } // GlobalScope_ohos_measure_utilsAccessor + namespace HierarchicalSymbolEffectAccessor { + void DestroyPeerImpl(Ark_HierarchicalSymbolEffect peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_FocusAxisEvent ConstructImpl() + Ark_HierarchicalSymbolEffect ConstructImpl(const Opt_EffectFillStyle* fillStyle) { return {}; } @@ -13317,37 +14699,24 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Map_AxisModel_Number GetAxisMapImpl(Ark_FocusAxisEvent peer) - { - return {}; - } - void SetAxisMapImpl(Ark_FocusAxisEvent peer, - const Map_AxisModel_Number* axisMap) - { - } - Callback_Void GetStopPropagationImpl(Ark_FocusAxisEvent peer) + Opt_EffectFillStyle GetFillStyleImpl(Ark_HierarchicalSymbolEffect peer) { return {}; } - void SetStopPropagationImpl(Ark_FocusAxisEvent peer, - const Callback_Void* stopPropagation) - { - } - } // FocusAxisEventAccessor - namespace FocusControllerAccessor { - void RequestFocusImpl(const Ark_String* key) + void SetFillStyleImpl(Ark_HierarchicalSymbolEffect peer, + const Opt_EffectFillStyle* fillStyle) { } - } // FocusControllerAccessor - namespace FrameNodeAccessor { - void DestroyPeerImpl(Ark_FrameNode peer) + } // HierarchicalSymbolEffectAccessor + namespace HoverEventAccessor { + void DestroyPeerImpl(Ark_HoverEvent peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_FrameNode ConstructImpl(Ark_UIContext uiContext) + Ark_HoverEvent ConstructImpl() { return {}; } @@ -13355,194 +14724,204 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_Boolean IsModifiableImpl(Ark_FrameNode peer) + Opt_Number GetXImpl(Ark_HoverEvent peer) { return {}; } - void AppendChildImpl(Ark_FrameNode peer, - Ark_FrameNode node) - { - } - void InsertChildAfterImpl(Ark_FrameNode peer, - Ark_FrameNode child, - Ark_FrameNode sibling) - { - } - void RemoveChildImpl(Ark_FrameNode peer, - Ark_FrameNode node) + void SetXImpl(Ark_HoverEvent peer, + const Opt_Number* x) { } - void ClearChildrenImpl(Ark_FrameNode peer) + Opt_Number GetYImpl(Ark_HoverEvent peer) { + return {}; } - Ark_FrameNode GetChildImpl(Ark_FrameNode peer, - const Ark_Number* index, - const Ark_Number* expandMode) + void SetYImpl(Ark_HoverEvent peer, + const Opt_Number* y) { - return {}; } - Ark_FrameNode GetFirstChildImpl(Ark_FrameNode peer) + Opt_Number GetWindowXImpl(Ark_HoverEvent peer) { return {}; } - Ark_FrameNode GetNextSiblingImpl(Ark_FrameNode peer) + void SetWindowXImpl(Ark_HoverEvent peer, + const Opt_Number* windowX) { - return {}; } - Ark_FrameNode GetPreviousSiblingImpl(Ark_FrameNode peer) + Opt_Number GetWindowYImpl(Ark_HoverEvent peer) { return {}; } - Ark_FrameNode GetParentImpl(Ark_FrameNode peer) + void SetWindowYImpl(Ark_HoverEvent peer, + const Opt_Number* windowY) { - return {}; } - Ark_Int32 GetChildrenCountImpl(Ark_FrameNode peer) + Opt_Number GetDisplayXImpl(Ark_HoverEvent peer) { return {}; } - void DisposeImpl(Ark_FrameNode peer) + void SetDisplayXImpl(Ark_HoverEvent peer, + const Opt_Number* displayX) { } - Ark_String GetIdImpl(Ark_FrameNode peer) + Opt_Number GetDisplayYImpl(Ark_HoverEvent peer) { return {}; } - Ark_Number GetUniqueIdImpl(Ark_FrameNode peer) + void SetDisplayYImpl(Ark_HoverEvent peer, + const Opt_Number* displayY) { - return {}; } - Ark_String GetNodeTypeImpl(Ark_FrameNode peer) + Callback_Void GetStopPropagationImpl(Ark_HoverEvent peer) { return {}; } - Ark_Number GetOpacityImpl(Ark_FrameNode peer) + void SetStopPropagationImpl(Ark_HoverEvent peer, + const Callback_Void* stopPropagation) { - return {}; } - Ark_Boolean IsVisibleImpl(Ark_FrameNode peer) + } // HoverEventAccessor + namespace HttpAuthHandlerAccessor { + void DestroyPeerImpl(Ark_HttpAuthHandler peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Boolean IsClipToFrameImpl(Ark_FrameNode peer) + Ark_HttpAuthHandler ConstructImpl() { return {}; } - Ark_Boolean IsAttachedImpl(Ark_FrameNode peer) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Object GetInspectorInfoImpl(Ark_FrameNode peer) + Ark_Boolean ConfirmImpl(Ark_HttpAuthHandler peer, + const Ark_String* userName, + const Ark_String* password) { return {}; } - void InvalidateImpl(Ark_FrameNode peer) + void CancelImpl(Ark_HttpAuthHandler peer) { } - void DisposeTreeImpl(Ark_FrameNode peer) + Ark_Boolean IsHttpAuthInfoSavedImpl(Ark_HttpAuthHandler peer) { + return {}; } - void SetCrossLanguageOptionsImpl(Ark_FrameNode peer, - const Ark_CrossLanguageOptions* options) + } // HttpAuthHandlerAccessor + namespace ImageAnalyzerControllerAccessor { + void DestroyPeerImpl(Ark_ImageAnalyzerController peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_CrossLanguageOptions GetCrossLanguageOptionsImpl(Ark_FrameNode peer) + Ark_ImageAnalyzerController ConstructImpl() { return {}; } - void SetMeasuredSizeImpl(Ark_FrameNode peer, - const Ark_Size* size) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - void SetLayoutPositionImpl(Ark_FrameNode peer, - const Ark_Position* position) + Array_ImageAnalyzerType GetImageAnalyzerSupportTypesImpl(Ark_ImageAnalyzerController peer) { + return {}; } - void MeasureImpl(Ark_FrameNode peer, - const Ark_LayoutConstraint* constraint) + } // ImageAnalyzerControllerAccessor + namespace ImageAttachmentAccessor { + void DestroyPeerImpl(Ark_ImageAttachment peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void LayoutImpl(Ark_FrameNode peer, - const Ark_Position* position) + Ark_ImageAttachment ConstructImpl(const Ark_Union_ImageAttachmentInterface_Opt_AttachmentType* value) { + return {}; } - void SetNeedsLayoutImpl(Ark_FrameNode peer) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Position GetPositionToWindowWithTransformImpl(Ark_FrameNode peer) + Ark_image_PixelMap GetValueImpl(Ark_ImageAttachment peer) { return {}; } - Ark_FrameNode GetFrameNodeByKeyImpl(const Ark_String* name) + Opt_SizeOptions GetSizeImpl(Ark_ImageAttachment peer) { return {}; } - Ark_Number GetIdByFrameNodeImpl(Ark_FrameNode peer, - Ark_FrameNode node) + Opt_ImageSpanAlignment GetVerticalAlignImpl(Ark_ImageAttachment peer) { return {}; } - void MoveToImpl(Ark_FrameNode peer, - Ark_FrameNode targetParent, - const Ark_Number* index) - { - } - Ark_Number GetFirstChildIndexWithoutExpandImpl(Ark_FrameNode peer) + Opt_ImageFit GetObjectFitImpl(Ark_ImageAttachment peer) { return {}; } - Ark_Number GetLastChildIndexWithoutExpandImpl(Ark_FrameNode peer) + Opt_ImageAttachmentLayoutStyle GetLayoutStyleImpl(Ark_ImageAttachment peer) { return {}; } - Ark_FrameNode GetAttachedFrameNodeByIdImpl(const Ark_String* id) + Opt_ColorFilterType GetColorFilterImpl(Ark_ImageAttachment peer) { return {}; } - Ark_FrameNode GetFrameNodeByIdImpl(const Ark_Number* id) + } // ImageAttachmentAccessor + namespace ImageBitmapAccessor { + void DestroyPeerImpl(Ark_ImageBitmap peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_FrameNode GetFrameNodeByUniqueIdImpl(const Ark_Number* id) + Ark_ImageBitmap ConstructImpl(const Ark_Union_PixelMap_String* src, + const Opt_LengthMetricsUnit* unit) { return {}; } - void ReuseImpl(Ark_FrameNode peer) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - void RecycleImpl(Ark_FrameNode peer) + void CloseImpl(Ark_ImageBitmap peer) { } - Ark_NativePointer GetFrameNodePtrImpl(Ark_FrameNode node) + Ark_Number GetHeightImpl(Ark_ImageBitmap peer) { return {}; } - Ark_FrameNode CreateTypedFrameNodeImpl(const Ark_String* type) + void SetHeightImpl(Ark_ImageBitmap peer, + const Ark_Number* height) { - return {}; } - Ark_NativePointer CreateByRawPtrImpl(Ark_FrameNode peer, - Ark_FrameNode pointer) + Ark_Number GetWidthImpl(Ark_ImageBitmap peer) { return {}; } - Ark_FrameNode UnWrapRawPtrImpl(Ark_FrameNode peer, - Ark_NativePointer pointer) + void SetWidthImpl(Ark_ImageBitmap peer, + const Ark_Number* width) { - return {}; } - } // FrameNodeAccessor - namespace FrictionMotionAccessor { - void DestroyPeerImpl(Ark_FrictionMotion peer) + } // ImageBitmapAccessor + namespace ImageDataAccessor { + void DestroyPeerImpl(Ark_ImageData peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_FrictionMotion ConstructImpl(const Ark_Number* friction, - const Ark_Number* position, - const Ark_Number* velocity) + Ark_ImageData ConstructImpl(const Ark_Number* width, + const Ark_Number* height, + const Opt_Buffer* data, + const Opt_LengthMetricsUnit* unit) { return {}; } @@ -13550,41 +14929,40 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - } // FrictionMotionAccessor - namespace GestureAccessor { - void DestroyPeerImpl(Ark_Gesture peer) + Ark_Buffer GetDataImpl(Ark_ImageData peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_Gesture ConstructImpl() + void SetDataImpl(Ark_ImageData peer, + const Ark_Buffer* data) + { + } + Ark_Int32 GetHeightImpl(Ark_ImageData peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetHeightImpl(Ark_ImageData peer, + Ark_Int32 height) { - return reinterpret_cast(&DestroyPeerImpl); } - void TagImpl(Ark_Gesture peer, - const Ark_String* tag) + Ark_Int32 GetWidthImpl(Ark_ImageData peer) { + return {}; } - void AllowedTypesImpl(Ark_Gesture peer, - const Array_SourceTool* types) + void SetWidthImpl(Ark_ImageData peer, + Ark_Int32 width) { } - } // GestureAccessor - namespace GestureEventAccessor { - void DestroyPeerImpl(Ark_GestureEvent peer) + } // ImageDataAccessor + namespace IndicatorComponentControllerAccessor { + void DestroyPeerImpl(Ark_IndicatorComponentController peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_GestureEvent ConstructImpl() + Ark_IndicatorComponentController ConstructImpl() { return {}; } @@ -13592,192 +14970,192 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_Boolean GetRepeatImpl(Ark_GestureEvent peer) + void ShowNextImpl(Ark_IndicatorComponentController peer) { - return {}; } - void SetRepeatImpl(Ark_GestureEvent peer, - Ark_Boolean repeat) + void ShowPreviousImpl(Ark_IndicatorComponentController peer) { } - Array_FingerInfo GetFingerListImpl(Ark_GestureEvent peer) + void ChangeIndexImpl(Ark_IndicatorComponentController peer, + const Ark_Number* index, + const Opt_Boolean* useAnimation) { - return {}; } - void SetFingerListImpl(Ark_GestureEvent peer, - const Array_FingerInfo* fingerList) + } // IndicatorComponentControllerAccessor + namespace IUIContextAccessor { + void FreezeUINode0Impl(const Ark_String* id, + Ark_Boolean isFrozen) { } - Ark_Number GetOffsetXImpl(Ark_GestureEvent peer) + void FreezeUINode1Impl(const Ark_Number* id, + Ark_Boolean isFrozen) { - return {}; } - void SetOffsetXImpl(Ark_GestureEvent peer, - const Ark_Number* offsetX) + } // IUIContextAccessor + namespace JsGeolocationAccessor { + void DestroyPeerImpl(Ark_JsGeolocation peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Number GetOffsetYImpl(Ark_GestureEvent peer) + Ark_JsGeolocation ConstructImpl() { return {}; } - void SetOffsetYImpl(Ark_GestureEvent peer, - const Ark_Number* offsetY) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetAngleImpl(Ark_GestureEvent peer) + void InvokeImpl(Ark_JsGeolocation peer, + const Ark_String* origin, + Ark_Boolean allow, + Ark_Boolean retain) { - return {}; } - void SetAngleImpl(Ark_GestureEvent peer, - const Ark_Number* angle) + } // JsGeolocationAccessor + namespace JsResultAccessor { + void DestroyPeerImpl(Ark_JsResult peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Number GetSpeedImpl(Ark_GestureEvent peer) + Ark_JsResult ConstructImpl() { return {}; } - void SetSpeedImpl(Ark_GestureEvent peer, - const Ark_Number* speed) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetScaleImpl(Ark_GestureEvent peer) + void HandleCancelImpl(Ark_JsResult peer) { - return {}; } - void SetScaleImpl(Ark_GestureEvent peer, - const Ark_Number* scale) + void HandleConfirmImpl(Ark_JsResult peer) { } - Ark_Number GetPinchCenterXImpl(Ark_GestureEvent peer) + void HandlePromptConfirmImpl(Ark_JsResult peer, + const Ark_String* result) { - return {}; } - void SetPinchCenterXImpl(Ark_GestureEvent peer, - const Ark_Number* pinchCenterX) + } // JsResultAccessor + namespace KeyEventAccessor { + void DestroyPeerImpl(Ark_KeyEvent peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Number GetPinchCenterYImpl(Ark_GestureEvent peer) + Ark_KeyEvent ConstructImpl() { return {}; } - void SetPinchCenterYImpl(Ark_GestureEvent peer, - const Ark_Number* pinchCenterY) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetVelocityXImpl(Ark_GestureEvent peer) + Ark_KeyType GetTypeImpl(Ark_KeyEvent peer) { return {}; } - void SetVelocityXImpl(Ark_GestureEvent peer, - const Ark_Number* velocityX) + void SetTypeImpl(Ark_KeyEvent peer, + Ark_KeyType type) { } - Ark_Number GetVelocityYImpl(Ark_GestureEvent peer) + Ark_Number GetKeyCodeImpl(Ark_KeyEvent peer) { return {}; } - void SetVelocityYImpl(Ark_GestureEvent peer, - const Ark_Number* velocityY) + void SetKeyCodeImpl(Ark_KeyEvent peer, + const Ark_Number* keyCode) { } - Ark_Number GetVelocityImpl(Ark_GestureEvent peer) + Ark_String GetKeyTextImpl(Ark_KeyEvent peer) { return {}; } - void SetVelocityImpl(Ark_GestureEvent peer, - const Ark_Number* velocity) - { - } - } // GestureEventAccessor - namespace GestureGroupInterfaceAccessor { - void DestroyPeerImpl(Ark_GestureGroupInterface peer) + void SetKeyTextImpl(Ark_KeyEvent peer, + const Ark_String* keyText) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_GestureGroupInterface ConstructImpl(Ark_GestureMode mode, - const Array_GestureType* gesture) + Ark_KeySource GetKeySourceImpl(Ark_KeyEvent peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetKeySourceImpl(Ark_KeyEvent peer, + Ark_KeySource keySource) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_GestureGroupInterface OnCancelImpl(Ark_GestureGroupInterface peer, - const Callback_Void* event) + Ark_Number GetDeviceIdImpl(Ark_KeyEvent peer) { return {}; } - } // GestureGroupInterfaceAccessor - namespace GestureRecognizerAccessor { - void DestroyPeerImpl(Ark_GestureRecognizer peer) + void SetDeviceIdImpl(Ark_KeyEvent peer, + const Ark_Number* deviceId) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_GestureRecognizer ConstructImpl() + Ark_Number GetMetaKeyImpl(Ark_KeyEvent peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetMetaKeyImpl(Ark_KeyEvent peer, + const Ark_Number* metaKey) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_String GetTagImpl(Ark_GestureRecognizer peer) + Ark_Number GetTimestampImpl(Ark_KeyEvent peer) { return {}; } - Ark_GestureControl_GestureType GetTypeImpl(Ark_GestureRecognizer peer) + void SetTimestampImpl(Ark_KeyEvent peer, + const Ark_Number* timestamp) { - return {}; } - Ark_Boolean IsBuiltInImpl(Ark_GestureRecognizer peer) + Callback_Void GetStopPropagationImpl(Ark_KeyEvent peer) { return {}; } - void SetEnabledImpl(Ark_GestureRecognizer peer, - Ark_Boolean isEnabled) + void SetStopPropagationImpl(Ark_KeyEvent peer, + const Callback_Void* stopPropagation) { } - Ark_Boolean IsEnabledImpl(Ark_GestureRecognizer peer) + Ark_IntentionCode GetIntentionCodeImpl(Ark_KeyEvent peer) { return {}; } - Ark_GestureRecognizerState GetStateImpl(Ark_GestureRecognizer peer) + void SetIntentionCodeImpl(Ark_KeyEvent peer, + Ark_IntentionCode intentionCode) { - return {}; } - Ark_EventTargetInfo GetEventTargetInfoImpl(Ark_GestureRecognizer peer) + Opt_ModifierKeyStateGetter GetGetModifierKeyStateImpl(Ark_KeyEvent peer) { return {}; } - Ark_Boolean IsValidImpl(Ark_GestureRecognizer peer) + void SetGetModifierKeyStateImpl(Ark_KeyEvent peer, + const Opt_ModifierKeyStateGetter* getModifierKeyState) { - return {}; } - Ark_Number GetFingerCountImpl(Ark_GestureRecognizer peer) + Opt_Number GetUnicodeImpl(Ark_KeyEvent peer) { return {}; } - Ark_Boolean IsFingerCountLimitImpl(Ark_GestureRecognizer peer) + void SetUnicodeImpl(Ark_KeyEvent peer, + const Opt_Number* unicode) { - return {}; } - } // GestureRecognizerAccessor - namespace GestureStyleAccessor { - void DestroyPeerImpl(Ark_GestureStyle peer) + } // KeyEventAccessor + namespace LayoutableAccessor { + void DestroyPeerImpl(Ark_Layoutable peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_GestureStyle ConstructImpl(const Opt_GestureStyleInterface* value) + Ark_Layoutable ConstructImpl() { return {}; } @@ -13785,86 +15163,48 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - } // GestureStyleAccessor - namespace GlobalScope_ohos_arkui_componentSnapshotAccessor { - void GetImpl(const Ark_String* id, - const AsyncCallback_image_PixelMap_Void* callback, - const Opt_SnapshotOptions* options) - { - } - } // GlobalScope_ohos_arkui_componentSnapshotAccessor - namespace GlobalScope_ohos_arkui_performanceMonitorAccessor { - void BeginImpl(const Ark_String* scene, - Ark_PerfMonitorActionType startInputType, - const Opt_String* note) - { - } - void EndImpl(const Ark_String* scene) - { - } - void RecordInputEventTimeImpl(Ark_PerfMonitorActionType actionType, - Ark_PerfMonitorSourceType sourceType, - Ark_Int64 time) - { - } - } // GlobalScope_ohos_arkui_performanceMonitorAccessor - namespace GlobalScope_ohos_fontAccessor { - void RegisterFontImpl(const Ark_FontOptions* options) - { - } - Array_String GetSystemFontListImpl() + void LayoutImpl(Ark_Layoutable peer, + const Ark_Position* position) { - return {}; } - Ark_FontInfo GetFontByNameImpl(const Ark_String* fontName) + Ark_DirectionalEdgesT GetMarginImpl(Ark_Layoutable peer) { return {}; } - } // GlobalScope_ohos_fontAccessor - namespace GlobalScope_ohos_measure_utilsAccessor { - Ark_Number MeasureTextImpl(const Ark_MeasureOptions* options) + Ark_DirectionalEdgesT GetPaddingImpl(Ark_Layoutable peer) { return {}; } - Ark_SizeOptions MeasureTextSizeImpl(const Ark_MeasureOptions* options) + Ark_DirectionalEdgesT GetBorderWidthImpl(Ark_Layoutable peer) { return {}; } - } // GlobalScope_ohos_measure_utilsAccessor - namespace HierarchicalSymbolEffectAccessor { - void DestroyPeerImpl(Ark_HierarchicalSymbolEffect peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_HierarchicalSymbolEffect ConstructImpl(const Opt_EffectFillStyle* fillStyle) + Ark_MeasureResult GetMeasureResultImpl(Ark_Layoutable peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetMeasureResultImpl(Ark_Layoutable peer, + const Ark_MeasureResult* measureResult) { - return reinterpret_cast(&DestroyPeerImpl); } - Opt_EffectFillStyle GetFillStyleImpl(Ark_HierarchicalSymbolEffect peer) + Opt_Number GetUniqueIdImpl(Ark_Layoutable peer) { return {}; } - void SetFillStyleImpl(Ark_HierarchicalSymbolEffect peer, - const Opt_EffectFillStyle* fillStyle) + void SetUniqueIdImpl(Ark_Layoutable peer, + const Opt_Number* uniqueId) { } - } // HierarchicalSymbolEffectAccessor - namespace HoverEventAccessor { - void DestroyPeerImpl(Ark_HoverEvent peer) + } // LayoutableAccessor + namespace LayoutChildAccessor { + void DestroyPeerImpl(Ark_LayoutChild peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_HoverEvent ConstructImpl() + Ark_LayoutChild ConstructImpl() { return {}; } @@ -13872,72 +15212,71 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Opt_Number GetXImpl(Ark_HoverEvent peer) - { - return {}; - } - void SetXImpl(Ark_HoverEvent peer, - const Opt_Number* x) + void MeasureImpl(Ark_LayoutChild peer, + const Ark_ConstraintSizeOptions* childConstraint) { } - Opt_Number GetYImpl(Ark_HoverEvent peer) + Ark_String GetNameImpl(Ark_LayoutChild peer) { return {}; } - void SetYImpl(Ark_HoverEvent peer, - const Opt_Number* y) + void SetNameImpl(Ark_LayoutChild peer, + const Ark_String* name) { } - Opt_Number GetWindowXImpl(Ark_HoverEvent peer) + Ark_String GetIdImpl(Ark_LayoutChild peer) { return {}; } - void SetWindowXImpl(Ark_HoverEvent peer, - const Opt_Number* windowX) + void SetIdImpl(Ark_LayoutChild peer, + const Ark_String* id) { } - Opt_Number GetWindowYImpl(Ark_HoverEvent peer) + Ark_Position GetPositionImpl(Ark_LayoutChild peer) { return {}; } - void SetWindowYImpl(Ark_HoverEvent peer, - const Opt_Number* windowY) - { - } - Opt_Number GetDisplayXImpl(Ark_HoverEvent peer) + void SetPositionImpl(Ark_LayoutChild peer, + const Ark_Position* position) { - return {}; } - void SetDisplayXImpl(Ark_HoverEvent peer, - const Opt_Number* displayX) + } // LayoutChildAccessor + namespace LayoutManagerAccessor { + void DestroyPeerImpl(Ark_LayoutManager peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Opt_Number GetDisplayYImpl(Ark_HoverEvent peer) + Ark_LayoutManager ConstructImpl() { return {}; } - void SetDisplayYImpl(Ark_HoverEvent peer, - const Opt_Number* displayY) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Callback_Void GetStopPropagationImpl(Ark_HoverEvent peer) + Ark_Number GetLineCountImpl(Ark_LayoutManager peer) { return {}; } - void SetStopPropagationImpl(Ark_HoverEvent peer, - const Callback_Void* stopPropagation) + Ark_PositionWithAffinity GetGlyphPositionAtCoordinateImpl(Ark_LayoutManager peer, + const Ark_Number* x, + const Ark_Number* y) { + return {}; } - } // HoverEventAccessor - namespace ImageAnalyzerControllerAccessor { - void DestroyPeerImpl(Ark_ImageAnalyzerController peer) + } // LayoutManagerAccessor + namespace LayoutPolicyAccessor { + void DestroyPeerImpl(Ark_LayoutPolicy peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_ImageAnalyzerController ConstructImpl() + Ark_LayoutPolicy ConstructImpl() { return {}; } @@ -13945,20 +15284,31 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Array_ImageAnalyzerType GetImageAnalyzerSupportTypesImpl(Ark_ImageAnalyzerController peer) + Ark_LayoutPolicy GetMatchParentImpl() { return {}; } - } // ImageAnalyzerControllerAccessor - namespace ImageAttachmentAccessor { - void DestroyPeerImpl(Ark_ImageAttachment peer) + } // LayoutPolicyAccessor + namespace LazyForEachOpsAccessor { + void SyncImpl(Ark_NativePointer node, + Ark_Int32 totalCount, + const Callback_CreateItem* creator, + const Callback_RangeUpdate* updater) { - auto peerImpl = reinterpret_cast(peer); + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); + } + } // LazyForEachOpsAccessor + namespace LengthMetricsAccessor { + void DestroyPeerImpl(Ark_LengthMetrics peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_ImageAttachment ConstructImpl(const Ark_Union_ImageAttachmentInterface_Opt_AttachmentType* value) + Ark_LengthMetrics ConstructImpl(const Ark_Number* value, + Ark_LengthUnit unit) { return {}; } @@ -13966,80 +15316,56 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_image_PixelMap GetValueImpl(Ark_ImageAttachment peer) - { - return {}; - } - Opt_SizeOptions GetSizeImpl(Ark_ImageAttachment peer) + Ark_LengthMetrics PxImpl(const Ark_Number* value) { return {}; } - Opt_ImageSpanAlignment GetVerticalAlignImpl(Ark_ImageAttachment peer) + Ark_LengthMetrics VpImpl(const Ark_Number* value) { return {}; } - Opt_ImageFit GetObjectFitImpl(Ark_ImageAttachment peer) + Ark_LengthMetrics FpImpl(const Ark_Number* value) { return {}; } - Opt_ImageAttachmentLayoutStyle GetLayoutStyleImpl(Ark_ImageAttachment peer) + Ark_LengthMetrics PercentImpl(const Ark_Number* value) { return {}; } - Opt_ColorFilterType GetColorFilterImpl(Ark_ImageAttachment peer) + Ark_LengthMetrics LpxImpl(const Ark_Number* value) { return {}; } - } // ImageAttachmentAccessor - namespace ImageBitmapAccessor { - void DestroyPeerImpl(Ark_ImageBitmap peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_ImageBitmap ConstructImpl(const Ark_Union_PixelMap_String* src, - const Opt_LengthMetricsUnit* unit) + Ark_LengthMetrics ResourceImpl(const Ark_Resource* value) { return {}; } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - void CloseImpl(Ark_ImageBitmap peer) - { - } - Ark_Number GetHeightImpl(Ark_ImageBitmap peer) + Ark_LengthUnit GetUnitImpl(Ark_LengthMetrics peer) { return {}; } - void SetHeightImpl(Ark_ImageBitmap peer, - const Ark_Number* height) + void SetUnitImpl(Ark_LengthMetrics peer, + Ark_LengthUnit unit) { } - Ark_Number GetWidthImpl(Ark_ImageBitmap peer) + Ark_Number GetValueImpl(Ark_LengthMetrics peer) { return {}; } - void SetWidthImpl(Ark_ImageBitmap peer, - const Ark_Number* width) + void SetValueImpl(Ark_LengthMetrics peer, + const Ark_Number* value) { } - } // ImageBitmapAccessor - namespace ImageDataAccessor { - void DestroyPeerImpl(Ark_ImageData peer) + } // LengthMetricsAccessor + namespace LetterSpacingStyleAccessor { + void DestroyPeerImpl(Ark_LetterSpacingStyle peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_ImageData ConstructImpl(const Ark_Number* width, - const Ark_Number* height, - const Opt_Buffer* data, - const Opt_LengthMetricsUnit* unit) + Ark_LetterSpacingStyle ConstructImpl(Ark_LengthMetrics value) { return {}; } @@ -14047,40 +15373,45 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_Buffer GetDataImpl(Ark_ImageData peer) + Ark_Number GetLetterSpacingImpl(Ark_LetterSpacingStyle peer) { return {}; } - void SetDataImpl(Ark_ImageData peer, - const Ark_Buffer* data) + } // LetterSpacingStyleAccessor + namespace LevelOrderAccessor { + void DestroyPeerImpl(Ark_LevelOrder peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Number GetHeightImpl(Ark_ImageData peer) + Ark_LevelOrder ConstructImpl() { return {}; } - void SetHeightImpl(Ark_ImageData peer, - const Ark_Number* height) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetWidthImpl(Ark_ImageData peer) + Ark_LevelOrder ClampImpl(const Ark_Number* order) { return {}; } - void SetWidthImpl(Ark_ImageData peer, - const Ark_Number* width) + Ark_Number GetOrderImpl(Ark_LevelOrder peer) { + return {}; } - } // ImageDataAccessor - namespace IndicatorComponentControllerAccessor { - void DestroyPeerImpl(Ark_IndicatorComponentController peer) + } // LevelOrderAccessor + namespace LifeCycleAccessor { + void DestroyPeerImpl(Ark_LifeCycle peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_IndicatorComponentController ConstructImpl() + Ark_LifeCycle ConstructImpl() { return {}; } @@ -14088,37 +15419,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void ShowNextImpl(Ark_IndicatorComponentController peer) - { - } - void ShowPreviousImpl(Ark_IndicatorComponentController peer) + void AboutToAppearImpl(Ark_LifeCycle peer) { } - void ChangeIndexImpl(Ark_IndicatorComponentController peer, - const Ark_Number* index, - const Opt_Boolean* useAnimation) + void AboutToDisappearImpl(Ark_LifeCycle peer) { } - } // IndicatorComponentControllerAccessor - namespace IUIContextAccessor { - void FreezeUINode0Impl(const Ark_String* id, - Ark_Boolean isFrozen) + void OnDidBuildImpl(Ark_LifeCycle peer) { } - void FreezeUINode1Impl(const Ark_Number* id, - Ark_Boolean isFrozen) + void BuildImpl(Ark_LifeCycle peer) { } - } // IUIContextAccessor - namespace KeyEventAccessor { - void DestroyPeerImpl(Ark_KeyEvent peer) + } // LifeCycleAccessor + namespace LinearGradientAccessor { + void DestroyPeerImpl(Ark_LinearGradient peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_KeyEvent ConstructImpl() + Ark_LinearGradient ConstructImpl(const Array_ColorStop* colorStops) { return {}; } @@ -14126,104 +15448,134 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_KeyType GetTypeImpl(Ark_KeyEvent peer) + } // LinearGradientAccessor + namespace LinearIndicatorControllerAccessor { + void DestroyPeerImpl(Ark_LinearIndicatorController peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void SetTypeImpl(Ark_KeyEvent peer, - Ark_KeyType type) + Ark_LinearIndicatorController ConstructImpl() { + return {}; } - Ark_Number GetKeyCodeImpl(Ark_KeyEvent peer) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - void SetKeyCodeImpl(Ark_KeyEvent peer, - const Ark_Number* keyCode) + void SetProgressImpl(Ark_LinearIndicatorController peer, + const Ark_Number* index, + const Ark_Number* progress) { } - Ark_String GetKeyTextImpl(Ark_KeyEvent peer) + void StartImpl(Ark_LinearIndicatorController peer, + const Opt_LinearIndicatorStartOptions* options) { - return {}; } - void SetKeyTextImpl(Ark_KeyEvent peer, - const Ark_String* keyText) + void PauseImpl(Ark_LinearIndicatorController peer) { } - Ark_KeySource GetKeySourceImpl(Ark_KeyEvent peer) + void StopImpl(Ark_LinearIndicatorController peer) { - return {}; } - void SetKeySourceImpl(Ark_KeyEvent peer, - Ark_KeySource keySource) + } // LinearIndicatorControllerAccessor + namespace LineHeightStyleAccessor { + void DestroyPeerImpl(Ark_LineHeightStyle peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Number GetDeviceIdImpl(Ark_KeyEvent peer) + Ark_LineHeightStyle ConstructImpl(Ark_LengthMetrics lineHeight) { return {}; } - void SetDeviceIdImpl(Ark_KeyEvent peer, - const Ark_Number* deviceId) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetMetaKeyImpl(Ark_KeyEvent peer) + Ark_Number GetLineHeightImpl(Ark_LineHeightStyle peer) { return {}; } - void SetMetaKeyImpl(Ark_KeyEvent peer, - const Ark_Number* metaKey) + } // LineHeightStyleAccessor + namespace ListScrollerAccessor { + void DestroyPeerImpl(Ark_ListScroller peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Number GetTimestampImpl(Ark_KeyEvent peer) + Ark_ListScroller ConstructImpl() { return {}; } - void SetTimestampImpl(Ark_KeyEvent peer, - const Ark_Number* timestamp) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Callback_Void GetStopPropagationImpl(Ark_KeyEvent peer) + Ark_RectResult GetItemRectInGroupImpl(Ark_ListScroller peer, + const Ark_Number* index, + const Ark_Number* indexInGroup) { return {}; } - void SetStopPropagationImpl(Ark_KeyEvent peer, - const Callback_Void* stopPropagation) + void ScrollToItemInGroupImpl(Ark_ListScroller peer, + const Ark_Number* index, + const Ark_Number* indexInGroup, + const Opt_Boolean* smooth, + const Opt_ScrollAlign* align) { } - Ark_IntentionCode GetIntentionCodeImpl(Ark_KeyEvent peer) + void CloseAllSwipeActionsImpl(Ark_ListScroller peer, + const Opt_CloseSwipeActionOptions* options) + { + } + Ark_VisibleListContentInfo GetVisibleListContentInfoImpl(Ark_ListScroller peer, + const Ark_Number* x, + const Ark_Number* y) { return {}; } - void SetIntentionCodeImpl(Ark_KeyEvent peer, - Ark_IntentionCode intentionCode) + } // ListScrollerAccessor + namespace LongPressGestureEventAccessor { + void DestroyPeerImpl(Ark_LongPressGestureEvent peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Opt_ModifierKeyStateGetter GetGetModifierKeyStateImpl(Ark_KeyEvent peer) + Ark_LongPressGestureEvent ConstructImpl() { return {}; } - void SetGetModifierKeyStateImpl(Ark_KeyEvent peer, - const Opt_ModifierKeyStateGetter* getModifierKeyState) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Opt_Number GetUnicodeImpl(Ark_KeyEvent peer) + Ark_Boolean GetRepeatImpl(Ark_LongPressGestureEvent peer) { return {}; } - void SetUnicodeImpl(Ark_KeyEvent peer, - const Opt_Number* unicode) + void SetRepeatImpl(Ark_LongPressGestureEvent peer, + Ark_Boolean repeat) { } - } // KeyEventAccessor - namespace LayoutableAccessor { - void DestroyPeerImpl(Ark_Layoutable peer) + } // LongPressGestureEventAccessor + namespace LongPressGestureInterfaceAccessor { + void DestroyPeerImpl(Ark_LongPressGestureInterface peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_Layoutable ConstructImpl() + Ark_LongPressGestureInterface ConstructImpl(const Ark_LongPressGestureInterface_Invoke_Literal* value) { return {}; } @@ -14231,48 +15583,36 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void LayoutImpl(Ark_Layoutable peer, - const Ark_Position* position) - { - } - Ark_DirectionalEdgesT GetMarginImpl(Ark_Layoutable peer) - { - return {}; - } - Ark_DirectionalEdgesT GetPaddingImpl(Ark_Layoutable peer) + Ark_LongPressGestureInterface OnActionImpl(Ark_LongPressGestureInterface peer, + const Callback_GestureEvent_Void* event) { return {}; } - Ark_DirectionalEdgesT GetBorderWidthImpl(Ark_Layoutable peer) + Ark_LongPressGestureInterface OnActionEndImpl(Ark_LongPressGestureInterface peer, + const Callback_GestureEvent_Void* event) { return {}; } - Ark_MeasureResult GetMeasureResultImpl(Ark_Layoutable peer) + Ark_LongPressGestureInterface OnActionCancel0Impl(Ark_LongPressGestureInterface peer, + const Callback_Void* event) { return {}; } - void SetMeasureResultImpl(Ark_Layoutable peer, - const Ark_MeasureResult* measureResult) - { - } - Opt_Number GetUniqueIdImpl(Ark_Layoutable peer) + Ark_LongPressGestureInterface OnActionCancel1Impl(Ark_LongPressGestureInterface peer, + const Callback_GestureEvent_Void* event) { return {}; } - void SetUniqueIdImpl(Ark_Layoutable peer, - const Opt_Number* uniqueId) - { - } - } // LayoutableAccessor - namespace LayoutCallbackAccessor { - void DestroyPeerImpl(Ark_LayoutCallback peer) + } // LongPressGestureInterfaceAccessor + namespace LongPressRecognizerAccessor { + void DestroyPeerImpl(Ark_LongPressRecognizer peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_LayoutCallback ConstructImpl() + Ark_LongPressRecognizer ConstructImpl() { return {}; } @@ -14280,133 +15620,120 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void OnPlaceChildrenImpl(Ark_LayoutCallback peer, - const Ark_GeometryInfo* selfLayoutInfo, - const Array_Layoutable* children, - const Ark_ConstraintSizeOptions* constraint) + Ark_Boolean IsRepeatImpl(Ark_LongPressRecognizer peer) { + return {}; } - Ark_SizeResult OnMeasureSizeImpl(Ark_LayoutCallback peer, - const Ark_GeometryInfo* selfLayoutInfo, - const Array_Measurable* children, - const Ark_ConstraintSizeOptions* constraint) + Ark_Number GetDurationImpl(Ark_LongPressRecognizer peer) { return {}; } - } // LayoutCallbackAccessor - namespace LayoutChildAccessor { - void DestroyPeerImpl(Ark_LayoutChild peer) + } // LongPressRecognizerAccessor + namespace Matrix2DAccessor { + void DestroyPeerImpl(Ark_Matrix2D peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_LayoutChild ConstructImpl() + Ark_Matrix2D Construct0Impl() { return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Matrix2D Construct1Impl(Ark_LengthMetricsUnit unit) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - void MeasureImpl(Ark_LayoutChild peer, - const Ark_ConstraintSizeOptions* childConstraint) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_String GetNameImpl(Ark_LayoutChild peer) + Ark_Matrix2D IdentityImpl(Ark_Matrix2D peer) { return {}; } - void SetNameImpl(Ark_LayoutChild peer, - const Ark_String* name) + Ark_Matrix2D InvertImpl(Ark_Matrix2D peer) { + return {}; } - Ark_String GetIdImpl(Ark_LayoutChild peer) + Ark_Matrix2D RotateImpl(Ark_Matrix2D peer, + const Ark_Number* degree, + const Opt_Number* rx, + const Opt_Number* ry) { return {}; } - void SetIdImpl(Ark_LayoutChild peer, - const Ark_String* id) + Ark_Matrix2D TranslateImpl(Ark_Matrix2D peer, + const Opt_Number* tx, + const Opt_Number* ty) { + return {}; } - Ark_Position GetPositionImpl(Ark_LayoutChild peer) + Ark_Matrix2D ScaleImpl(Ark_Matrix2D peer, + const Opt_Number* sx, + const Opt_Number* sy) { return {}; } - void SetPositionImpl(Ark_LayoutChild peer, - const Ark_Position* position) + Opt_Number GetScaleXImpl(Ark_Matrix2D peer) { + return {}; } - } // LayoutChildAccessor - namespace LayoutManagerAccessor { - void DestroyPeerImpl(Ark_LayoutManager peer) + void SetScaleXImpl(Ark_Matrix2D peer, + const Opt_Number* scaleX) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_LayoutManager ConstructImpl() + Opt_Number GetScaleYImpl(Ark_Matrix2D peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetScaleYImpl(Ark_Matrix2D peer, + const Opt_Number* scaleY) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetLineCountImpl(Ark_LayoutManager peer) + Opt_Number GetRotateXImpl(Ark_Matrix2D peer) { return {}; } - Ark_PositionWithAffinity GetGlyphPositionAtCoordinateImpl(Ark_LayoutManager peer, - const Ark_Number* x, - const Ark_Number* y) + void SetRotateXImpl(Ark_Matrix2D peer, + const Opt_Number* rotateX) + { + } + Opt_Number GetRotateYImpl(Ark_Matrix2D peer) { return {}; } - } // LayoutManagerAccessor - namespace LayoutPolicyAccessor { - void DestroyPeerImpl(Ark_LayoutPolicy peer) + void SetRotateYImpl(Ark_Matrix2D peer, + const Opt_Number* rotateY) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_LayoutPolicy ConstructImpl() + Opt_Number GetTranslateXImpl(Ark_Matrix2D peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetTranslateXImpl(Ark_Matrix2D peer, + const Opt_Number* translateX) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_LayoutPolicy GetMatchParentImpl() + Opt_Number GetTranslateYImpl(Ark_Matrix2D peer) { return {}; } - } // LayoutPolicyAccessor - namespace LazyForEachOpsAccessor { - void SyncImpl(Ark_NativePointer node, - Ark_Int32 totalCount, - const Callback_CreateItem* creator, - const Callback_RangeUpdate* updater) + void SetTranslateYImpl(Ark_Matrix2D peer, + const Opt_Number* translateY) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - } // LazyForEachOpsAccessor - namespace LengthMetricsAccessor { - void DestroyPeerImpl(Ark_LengthMetrics peer) + } // Matrix2DAccessor + namespace matrix4_Matrix4TransitAccessor { + void DestroyPeerImpl(Ark_matrix4_Matrix4Transit peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_LengthMetrics ConstructImpl(const Ark_Number* value, - Ark_LengthUnit unit) + Ark_matrix4_Matrix4Transit ConstructImpl() { return {}; } @@ -14414,56 +15741,60 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_LengthMetrics PxImpl(const Ark_Number* value) + Ark_matrix4_Matrix4Transit CopyImpl(Ark_matrix4_Matrix4Transit peer) { return {}; } - Ark_LengthMetrics VpImpl(const Ark_Number* value) + Ark_matrix4_Matrix4Transit InvertImpl(Ark_matrix4_Matrix4Transit peer) { return {}; } - Ark_LengthMetrics FpImpl(const Ark_Number* value) + Ark_matrix4_Matrix4Transit CombineImpl(Ark_matrix4_Matrix4Transit peer, + Ark_matrix4_Matrix4Transit options) { return {}; } - Ark_LengthMetrics PercentImpl(const Ark_Number* value) + Ark_matrix4_Matrix4Transit TranslateImpl(Ark_matrix4_Matrix4Transit peer, + const Ark_TranslateOptions* options) { return {}; } - Ark_LengthMetrics LpxImpl(const Ark_Number* value) + Ark_matrix4_Matrix4Transit ScaleImpl(Ark_matrix4_Matrix4Transit peer, + const Ark_ScaleOptions* options) { return {}; } - Ark_LengthMetrics ResourceImpl(const Ark_Resource* value) + Ark_matrix4_Matrix4Transit SkewImpl(Ark_matrix4_Matrix4Transit peer, + const Ark_Number* x, + const Ark_Number* y) { return {}; } - Ark_LengthUnit GetUnitImpl(Ark_LengthMetrics peer) + Ark_matrix4_Matrix4Transit RotateImpl(Ark_matrix4_Matrix4Transit peer, + const Ark_RotateOptions* options) { return {}; } - void SetUnitImpl(Ark_LengthMetrics peer, - Ark_LengthUnit unit) - { - } - Ark_Number GetValueImpl(Ark_LengthMetrics peer) + Ark_matrix4_Matrix4TransformPoint TransformPointImpl(Ark_matrix4_Matrix4Transit peer, + const Ark_matrix4_Matrix4TransformPoint* options) { return {}; } - void SetValueImpl(Ark_LengthMetrics peer, - const Ark_Number* value) + Ark_matrix4_Matrix4Transit SetPolyToPolyImpl(Ark_matrix4_Matrix4Transit peer, + const Ark_matrix4_PolyToPolyOptions* options) { + return {}; } - } // LengthMetricsAccessor - namespace LetterSpacingStyleAccessor { - void DestroyPeerImpl(Ark_LetterSpacingStyle peer) + } // matrix4_Matrix4TransitAccessor + namespace MeasurableAccessor { + void DestroyPeerImpl(Ark_Measurable peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_LetterSpacingStyle ConstructImpl(Ark_LengthMetrics value) + Ark_Measurable ConstructImpl() { return {}; } @@ -14471,45 +15802,41 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetLetterSpacingImpl(Ark_LetterSpacingStyle peer) + Ark_MeasureResult MeasureImpl(Ark_Measurable peer, + const Ark_ConstraintSizeOptions* constraint) { return {}; } - } // LetterSpacingStyleAccessor - namespace LevelOrderAccessor { - void DestroyPeerImpl(Ark_LevelOrder peer) + Ark_DirectionalEdgesT GetMarginImpl(Ark_Measurable peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_LevelOrder ConstructImpl() + Ark_DirectionalEdgesT GetPaddingImpl(Ark_Measurable peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_DirectionalEdgesT GetBorderWidthImpl(Ark_Measurable peer) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - Ark_LevelOrder ClampImpl(const Ark_Number* order) + Opt_Number GetUniqueIdImpl(Ark_Measurable peer) { return {}; } - Ark_Number GetOrderImpl(Ark_LevelOrder peer) + void SetUniqueIdImpl(Ark_Measurable peer, + const Opt_Number* uniqueId) { - return {}; } - } // LevelOrderAccessor - namespace LifeCycleAccessor { - void DestroyPeerImpl(Ark_LifeCycle peer) + } // MeasurableAccessor + namespace MouseEventAccessor { + void DestroyPeerImpl(Ark_MouseEvent peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_LifeCycle ConstructImpl() + Ark_MouseEvent ConstructImpl() { return {}; } @@ -14517,98 +15844,113 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void AboutToAppearImpl(Ark_LifeCycle peer) + Ark_MouseButton GetButtonImpl(Ark_MouseEvent peer) { + return {}; } - void AboutToDisappearImpl(Ark_LifeCycle peer) + void SetButtonImpl(Ark_MouseEvent peer, + Ark_MouseButton button) { } - void OnDidBuildImpl(Ark_LifeCycle peer) + Ark_MouseAction GetActionImpl(Ark_MouseEvent peer) { + return {}; } - void BuildImpl(Ark_LifeCycle peer) + void SetActionImpl(Ark_MouseEvent peer, + Ark_MouseAction action) { } - } // LifeCycleAccessor - namespace LinearGradientAccessor { - void DestroyPeerImpl(Ark_LinearGradient peer) + Ark_Number GetDisplayXImpl(Ark_MouseEvent peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_LinearGradient ConstructImpl(const Array_ColorStop* colorStops) + void SetDisplayXImpl(Ark_MouseEvent peer, + const Ark_Number* displayX) + { + } + Ark_Number GetDisplayYImpl(Ark_MouseEvent peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetDisplayYImpl(Ark_MouseEvent peer, + const Ark_Number* displayY) { - return reinterpret_cast(&DestroyPeerImpl); } - } // LinearGradientAccessor - namespace LinearIndicatorControllerAccessor { - void DestroyPeerImpl(Ark_LinearIndicatorController peer) + Ark_Number GetWindowXImpl(Ark_MouseEvent peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_LinearIndicatorController ConstructImpl() + void SetWindowXImpl(Ark_MouseEvent peer, + const Ark_Number* windowX) + { + } + Ark_Number GetWindowYImpl(Ark_MouseEvent peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetWindowYImpl(Ark_MouseEvent peer, + const Ark_Number* windowY) { - return reinterpret_cast(&DestroyPeerImpl); } - void SetProgressImpl(Ark_LinearIndicatorController peer, - const Ark_Number* index, - const Ark_Number* progress) + Ark_Number GetXImpl(Ark_MouseEvent peer) { + return {}; } - void StartImpl(Ark_LinearIndicatorController peer, - const Opt_LinearIndicatorStartOptions* options) + void SetXImpl(Ark_MouseEvent peer, + const Ark_Number* x) { } - void PauseImpl(Ark_LinearIndicatorController peer) + Ark_Number GetYImpl(Ark_MouseEvent peer) { + return {}; } - void StopImpl(Ark_LinearIndicatorController peer) + void SetYImpl(Ark_MouseEvent peer, + const Ark_Number* y) { } - } // LinearIndicatorControllerAccessor - namespace LineHeightStyleAccessor { - void DestroyPeerImpl(Ark_LineHeightStyle peer) + Callback_Void GetStopPropagationImpl(Ark_MouseEvent peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_LineHeightStyle ConstructImpl(Ark_LengthMetrics lineHeight) + void SetStopPropagationImpl(Ark_MouseEvent peer, + const Callback_Void* stopPropagation) + { + } + Opt_Number GetRawDeltaXImpl(Ark_MouseEvent peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetRawDeltaXImpl(Ark_MouseEvent peer, + const Opt_Number* rawDeltaX) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetLineHeightImpl(Ark_LineHeightStyle peer) + Opt_Number GetRawDeltaYImpl(Ark_MouseEvent peer) { return {}; } - } // LineHeightStyleAccessor - namespace ListScrollerAccessor { - void DestroyPeerImpl(Ark_ListScroller peer) + void SetRawDeltaYImpl(Ark_MouseEvent peer, + const Opt_Number* rawDeltaY) { - auto peerImpl = reinterpret_cast(peer); + } + Opt_Array_MouseButton GetPressedButtonsImpl(Ark_MouseEvent peer) + { + return {}; + } + void SetPressedButtonsImpl(Ark_MouseEvent peer, + const Opt_Array_MouseButton* pressedButtons) + { + } + } // MouseEventAccessor + namespace MutableStyledStringAccessor { + void DestroyPeerImpl(Ark_MutableStyledString peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_ListScroller ConstructImpl() + Ark_MutableStyledString ConstructImpl(const Ark_Union_String_ImageAttachment_CustomSpan* value, + const Opt_Array_StyleOptions* styles) { return {}; } @@ -14616,64 +15958,69 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_RectResult GetItemRectInGroupImpl(Ark_ListScroller peer, - const Ark_Number* index, - const Ark_Number* indexInGroup) + void ReplaceStringImpl(Ark_MutableStyledString peer, + const Ark_Number* start, + const Ark_Number* length, + const Ark_String* other) { - return {}; } - void ScrollToItemInGroupImpl(Ark_ListScroller peer, - const Ark_Number* index, - const Ark_Number* indexInGroup, - const Opt_Boolean* smooth, - const Opt_ScrollAlign* align) + void InsertStringImpl(Ark_MutableStyledString peer, + const Ark_Number* start, + const Ark_String* other) { } - void CloseAllSwipeActionsImpl(Ark_ListScroller peer, - const Opt_CloseSwipeActionOptions* options) + void RemoveStringImpl(Ark_MutableStyledString peer, + const Ark_Number* start, + const Ark_Number* length) + { + } + void ReplaceStyleImpl(Ark_MutableStyledString peer, + const Ark_SpanStyle* spanStyle) + { + } + void SetStyleImpl(Ark_MutableStyledString peer, + const Ark_SpanStyle* spanStyle) { } - Ark_VisibleListContentInfo GetVisibleListContentInfoImpl(Ark_ListScroller peer, - const Ark_Number* x, - const Ark_Number* y) + void RemoveStyleImpl(Ark_MutableStyledString peer, + const Ark_Number* start, + const Ark_Number* length, + Ark_StyledStringKey styledKey) { - return {}; } - } // ListScrollerAccessor - namespace LongPressGestureEventAccessor { - void DestroyPeerImpl(Ark_LongPressGestureEvent peer) + void RemoveStylesImpl(Ark_MutableStyledString peer, + const Ark_Number* start, + const Ark_Number* length) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_LongPressGestureEvent ConstructImpl() + void ClearStylesImpl(Ark_MutableStyledString peer) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void ReplaceStyledStringImpl(Ark_MutableStyledString peer, + const Ark_Number* start, + const Ark_Number* length, + Ark_StyledString other) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_Boolean GetRepeatImpl(Ark_LongPressGestureEvent peer) + void InsertStyledStringImpl(Ark_MutableStyledString peer, + const Ark_Number* start, + Ark_StyledString other) { - return {}; } - void SetRepeatImpl(Ark_LongPressGestureEvent peer, - Ark_Boolean repeat) + void AppendStyledStringImpl(Ark_MutableStyledString peer, + Ark_StyledString other) { } - } // LongPressGestureEventAccessor - namespace LongPressGestureInterfaceAccessor { - void DestroyPeerImpl(Ark_LongPressGestureInterface peer) + } // MutableStyledStringAccessor + namespace NavDestinationContextAccessor { + void DestroyPeerImpl(Ark_NavDestinationContext peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_LongPressGestureInterface ConstructImpl(const Ark_LongPressGestureInterface_Invoke_Literal* value) + Ark_NavDestinationContext ConstructImpl() { return {}; } @@ -14681,157 +16028,174 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_LongPressGestureInterface OnActionImpl(Ark_LongPressGestureInterface peer, - const Callback_GestureEvent_Void* event) + Opt_RouteMapConfig GetConfigInRouteMapImpl(Ark_NavDestinationContext peer) { return {}; } - Ark_LongPressGestureInterface OnActionEndImpl(Ark_LongPressGestureInterface peer, - const Callback_GestureEvent_Void* event) + Ark_NavPathInfo GetPathInfoImpl(Ark_NavDestinationContext peer) { return {}; } - Ark_LongPressGestureInterface OnActionCancel0Impl(Ark_LongPressGestureInterface peer, - const Callback_Void* event) + void SetPathInfoImpl(Ark_NavDestinationContext peer, + Ark_NavPathInfo pathInfo) { - return {}; } - Ark_LongPressGestureInterface OnActionCancel1Impl(Ark_LongPressGestureInterface peer, - const Callback_GestureEvent_Void* event) + Ark_NavPathStack GetPathStackImpl(Ark_NavDestinationContext peer) { return {}; } - } // LongPressGestureInterfaceAccessor - namespace LongPressRecognizerAccessor { - void DestroyPeerImpl(Ark_LongPressRecognizer peer) + void SetPathStackImpl(Ark_NavDestinationContext peer, + Ark_NavPathStack pathStack) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_LongPressRecognizer ConstructImpl() + Opt_String GetNavDestinationIdImpl(Ark_NavDestinationContext peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetNavDestinationIdImpl(Ark_NavDestinationContext peer, + const Opt_String* navDestinationId) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_Boolean IsRepeatImpl(Ark_LongPressRecognizer peer) + } // NavDestinationContextAccessor + namespace NavExtenderAccessor { + void SetNavigationOptionsImpl(Ark_NativePointer ptr, + Ark_NavPathStack pathStack) { - return {}; + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); } - Ark_Number GetDurationImpl(Ark_LongPressRecognizer peer) + void SetUpdateStackCallbackImpl(Ark_NavPathStack peer, + const NavExtender_OnUpdateStack* callback) { - return {}; } - } // LongPressRecognizerAccessor - namespace Matrix2DAccessor { - void DestroyPeerImpl(Ark_Matrix2D peer) + void SyncStackImpl(Ark_NavPathStack peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_Matrix2D Construct0Impl() + Ark_Boolean CheckNeedCreateImpl(Ark_NativePointer navigation, + Ark_Int32 index) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); return {}; } - Ark_Matrix2D Construct1Impl(Ark_LengthMetricsUnit unit) + void SetNavDestinationNodeImpl(Ark_NavPathStack peer, + Ark_Int32 index, + Ark_NativePointer node) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void PushPathImpl(Ark_NavPathStack pathStack, + Ark_NavPathInfo info, + const Ark_NavigationOptions* options) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_Matrix2D IdentityImpl(Ark_Matrix2D peer) + void ReplacePathImpl(Ark_NavPathStack pathStack, + Ark_NavPathInfo info, + const Ark_NavigationOptions* options) { - return {}; } - Ark_Matrix2D InvertImpl(Ark_Matrix2D peer) + Ark_String PopImpl(Ark_NavPathStack pathStack, + Ark_Boolean animated) { return {}; } - Ark_Matrix2D RotateImpl(Ark_Matrix2D peer, - const Ark_Number* degree, - const Opt_Number* rx, - const Opt_Number* ry) + void SetOnPopCallbackImpl(Ark_NavPathStack pathStack, + const Callback_String_Void* popCallback) + { + } + Ark_String GetIdByIndexImpl(Ark_NavPathStack pathStack, + Ark_Int32 index) { return {}; } - Ark_Matrix2D TranslateImpl(Ark_Matrix2D peer, - const Opt_Number* tx, - const Opt_Number* ty) + Array_String GetIdByNameImpl(Ark_NavPathStack pathStack, + const Ark_String* name) { return {}; } - Ark_Matrix2D ScaleImpl(Ark_Matrix2D peer, - const Opt_Number* sx, - const Opt_Number* sy) + void PopToIndexImpl(Ark_NavPathStack pathStack, + Ark_Int32 index, + Ark_Boolean animated) + { + } + Ark_Number PopToNameImpl(Ark_NavPathStack pathStack, + const Ark_String* name, + Ark_Boolean animated) { return {}; } - Opt_Number GetScaleXImpl(Ark_Matrix2D peer) + } // NavExtenderAccessor + namespace NavigationTransitionProxyAccessor { + void DestroyPeerImpl(Ark_NavigationTransitionProxy peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NavigationTransitionProxy ConstructImpl() { return {}; } - void SetScaleXImpl(Ark_Matrix2D peer, - const Opt_Number* scaleX) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Opt_Number GetRotateYImpl(Ark_Matrix2D peer) + void FinishTransitionImpl(Ark_NavigationTransitionProxy peer) + { + } + Ark_NavContentInfo GetFromImpl(Ark_NavigationTransitionProxy peer) { return {}; } - void SetRotateYImpl(Ark_Matrix2D peer, - const Opt_Number* rotateY) + void SetFromImpl(Ark_NavigationTransitionProxy peer, + const Ark_NavContentInfo* from) { } - Opt_Number GetRotateXImpl(Ark_Matrix2D peer) + Ark_NavContentInfo GetToImpl(Ark_NavigationTransitionProxy peer) { return {}; } - void SetRotateXImpl(Ark_Matrix2D peer, - const Opt_Number* rotateX) + void SetToImpl(Ark_NavigationTransitionProxy peer, + const Ark_NavContentInfo* to) { } - Opt_Number GetScaleYImpl(Ark_Matrix2D peer) + Opt_Boolean GetIsInteractiveImpl(Ark_NavigationTransitionProxy peer) { return {}; } - void SetScaleYImpl(Ark_Matrix2D peer, - const Opt_Number* scaleY) + void SetIsInteractiveImpl(Ark_NavigationTransitionProxy peer, + const Opt_Boolean* isInteractive) { } - Opt_Number GetTranslateXImpl(Ark_Matrix2D peer) + Opt_VoidCallback GetCancelTransitionImpl(Ark_NavigationTransitionProxy peer) { return {}; } - void SetTranslateXImpl(Ark_Matrix2D peer, - const Opt_Number* translateX) + void SetCancelTransitionImpl(Ark_NavigationTransitionProxy peer, + const Opt_VoidCallback* cancelTransition) { } - Opt_Number GetTranslateYImpl(Ark_Matrix2D peer) + Opt_UpdateTransitionCallback GetUpdateTransitionImpl(Ark_NavigationTransitionProxy peer) { return {}; } - void SetTranslateYImpl(Ark_Matrix2D peer, - const Opt_Number* translateY) + void SetUpdateTransitionImpl(Ark_NavigationTransitionProxy peer, + const Opt_UpdateTransitionCallback* updateTransition) { } - } // Matrix2DAccessor - namespace matrix4_Matrix4TransitAccessor { - void DestroyPeerImpl(Ark_matrix4_Matrix4Transit peer) + } // NavigationTransitionProxyAccessor + namespace NavPathInfoAccessor { + void DestroyPeerImpl(Ark_NavPathInfo peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_matrix4_Matrix4Transit ConstructImpl() + Ark_NavPathInfo ConstructImpl(const Ark_String* name, + const Opt_Object* param, + const Opt_Callback_PopInfo_Void* onPop, + const Opt_Boolean* isEntry) { return {}; } @@ -14839,216 +16203,264 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_matrix4_Matrix4Transit CopyImpl(Ark_matrix4_Matrix4Transit peer) + Ark_String GetNameImpl(Ark_NavPathInfo peer) { return {}; } - Ark_matrix4_Matrix4Transit InvertImpl(Ark_matrix4_Matrix4Transit peer) + void SetNameImpl(Ark_NavPathInfo peer, + const Ark_String* name) { - return {}; } - Ark_matrix4_Matrix4Transit CombineImpl(Ark_matrix4_Matrix4Transit peer, - Ark_matrix4_Matrix4Transit options) + Opt_Object GetParamImpl(Ark_NavPathInfo peer) { return {}; } - Ark_matrix4_Matrix4Transit TranslateImpl(Ark_matrix4_Matrix4Transit peer, - const Ark_TranslateOptions* options) + void SetParamImpl(Ark_NavPathInfo peer, + const Opt_Object* param) { - return {}; } - Ark_matrix4_Matrix4Transit ScaleImpl(Ark_matrix4_Matrix4Transit peer, - const Ark_ScaleOptions* options) + Opt_Callback_PopInfo_Void GetOnPopImpl(Ark_NavPathInfo peer) { return {}; } - Ark_matrix4_Matrix4Transit SkewImpl(Ark_matrix4_Matrix4Transit peer, - const Ark_Number* x, - const Ark_Number* y) + void SetOnPopImpl(Ark_NavPathInfo peer, + const Opt_Callback_PopInfo_Void* onPop) { - return {}; } - Ark_matrix4_Matrix4Transit RotateImpl(Ark_matrix4_Matrix4Transit peer, - const Ark_RotateOptions* options) + Opt_Boolean GetIsEntryImpl(Ark_NavPathInfo peer) { return {}; } - Ark_matrix4_Matrix4TransformPoint TransformPointImpl(Ark_matrix4_Matrix4Transit peer, - const Ark_matrix4_Matrix4TransformPoint* options) + void SetIsEntryImpl(Ark_NavPathInfo peer, + const Opt_Boolean* isEntry) { - return {}; } - Ark_matrix4_Matrix4Transit SetPolyToPolyImpl(Ark_matrix4_Matrix4Transit peer, - const Ark_matrix4_PolyToPolyOptions* options) + Opt_String GetNavDestinationIdImpl(Ark_NavPathInfo peer) { return {}; } - } // matrix4_Matrix4TransitAccessor - namespace MeasurableAccessor { - void DestroyPeerImpl(Ark_Measurable peer) + void SetNavDestinationIdImpl(Ark_NavPathInfo peer, + const Opt_String* navDestinationId) { - auto peerImpl = reinterpret_cast(peer); + } + } // NavPathInfoAccessor + namespace NavPathStackAccessor { + void DestroyPeerImpl(Ark_NavPathStack peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_Measurable ConstructImpl() + Ark_NavPathStack ConstructImpl() { return {}; } Ark_NativePointer GetFinalizerImpl() { - return reinterpret_cast(&DestroyPeerImpl); + return reinterpret_cast(&DestroyPeerImpl); + } + void PushPath0Impl(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_Boolean* animated) + { } - Ark_MeasureResult MeasureImpl(Ark_Measurable peer, - const Ark_ConstraintSizeOptions* constraint) + void PushPath1Impl(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options) { - return {}; } - Ark_DirectionalEdgesT GetMarginImpl(Ark_Measurable peer) + void PushDestination0Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_Boolean* animated, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { - return {}; } - Ark_DirectionalEdgesT GetPaddingImpl(Ark_Measurable peer) + void PushDestination1Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { - return {}; } - Ark_DirectionalEdgesT GetBorderWidthImpl(Ark_Measurable peer) + void PushPathByName0Impl(Ark_NavPathStack peer, + const Ark_String* name, + const Opt_Object* param, + const Opt_Boolean* animated) { - return {}; } - Opt_Number GetUniqueIdImpl(Ark_Measurable peer) + void PushPathByName1Impl(Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Callback_PopInfo_Void* onPop, + const Opt_Boolean* animated) { - return {}; } - void SetUniqueIdImpl(Ark_Measurable peer, - const Opt_Number* uniqueId) + void PushDestinationByName0Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Opt_Boolean* animated, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { } - } // MeasurableAccessor - namespace MouseEventAccessor { - void DestroyPeerImpl(Ark_MouseEvent peer) + void PushDestinationByName1Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Callback_PopInfo_Void* onPop, + const Opt_Boolean* animated, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_MouseEvent ConstructImpl() + void ReplacePath0Impl(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_Boolean* animated) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void ReplacePath1Impl(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_MouseButton GetButtonImpl(Ark_MouseEvent peer) + void ReplaceDestinationImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { - return {}; } - void SetButtonImpl(Ark_MouseEvent peer, - Ark_MouseButton button) + void ReplacePathByNameImpl(Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Opt_Boolean* animated) { } - Ark_MouseAction GetActionImpl(Ark_MouseEvent peer) + Ark_Number RemoveByIndexesImpl(Ark_NavPathStack peer, + const Array_Number* indexes) { return {}; } - void SetActionImpl(Ark_MouseEvent peer, - Ark_MouseAction action) + Ark_Number RemoveByNameImpl(Ark_NavPathStack peer, + const Ark_String* name) { + return {}; } - Ark_Number GetDisplayXImpl(Ark_MouseEvent peer) + Ark_Boolean RemoveByNavDestinationIdImpl(Ark_NavPathStack peer, + const Ark_String* navDestinationId) { return {}; } - void SetDisplayXImpl(Ark_MouseEvent peer, - const Ark_Number* displayX) + Opt_NavPathInfo Pop0Impl(Ark_NavPathStack peer, + const Opt_Boolean* animated) { + return {}; } - Ark_Number GetDisplayYImpl(Ark_MouseEvent peer) + Opt_NavPathInfo Pop1Impl(Ark_NavPathStack peer, + const Ark_Object* result, + const Opt_Boolean* animated) { return {}; } - void SetDisplayYImpl(Ark_MouseEvent peer, - const Ark_Number* displayY) + Ark_Number PopToName0Impl(Ark_NavPathStack peer, + const Ark_String* name, + const Opt_Boolean* animated) { + return {}; } - Ark_Number GetWindowXImpl(Ark_MouseEvent peer) + Ark_Number PopToName1Impl(Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* result, + const Opt_Boolean* animated) { return {}; } - void SetWindowXImpl(Ark_MouseEvent peer, - const Ark_Number* windowX) + void PopToIndex0Impl(Ark_NavPathStack peer, + const Ark_Number* index, + const Opt_Boolean* animated) { } - Ark_Number GetWindowYImpl(Ark_MouseEvent peer) + void PopToIndex1Impl(Ark_NavPathStack peer, + const Ark_Number* index, + const Ark_Object* result, + const Opt_Boolean* animated) { - return {}; } - void SetWindowYImpl(Ark_MouseEvent peer, - const Ark_Number* windowY) + Ark_Number MoveToTopImpl(Ark_NavPathStack peer, + const Ark_String* name, + const Opt_Boolean* animated) { + return {}; } - Ark_Number GetXImpl(Ark_MouseEvent peer) + void MoveIndexToTopImpl(Ark_NavPathStack peer, + const Ark_Number* index, + const Opt_Boolean* animated) { - return {}; } - void SetXImpl(Ark_MouseEvent peer, - const Ark_Number* x) + void ClearImpl(Ark_NavPathStack peer, + const Opt_Boolean* animated) { } - Ark_Number GetYImpl(Ark_MouseEvent peer) + Array_String GetAllPathNameImpl(Ark_NavPathStack peer) { return {}; } - void SetYImpl(Ark_MouseEvent peer, - const Ark_Number* y) + Opt_Object GetParamByIndexImpl(Ark_NavPathStack peer, + const Ark_Number* index) { + return {}; } - Callback_Void GetStopPropagationImpl(Ark_MouseEvent peer) + Array_Opt_Object GetParamByNameImpl(Ark_NavPathStack peer, + const Ark_String* name) { return {}; } - void SetStopPropagationImpl(Ark_MouseEvent peer, - const Callback_Void* stopPropagation) + Array_Number GetIndexByNameImpl(Ark_NavPathStack peer, + const Ark_String* name) { + return {}; } - Opt_Number GetRawDeltaXImpl(Ark_MouseEvent peer) + Opt_NavPathStack GetParentImpl(Ark_NavPathStack peer) { return {}; } - void SetRawDeltaXImpl(Ark_MouseEvent peer, - const Opt_Number* rawDeltaX) + Ark_Number SizeImpl(Ark_NavPathStack peer) { + return {}; } - Opt_Number GetRawDeltaYImpl(Ark_MouseEvent peer) + void DisableAnimationImpl(Ark_NavPathStack peer, + Ark_Boolean value) { - return {}; } - void SetRawDeltaYImpl(Ark_MouseEvent peer, - const Opt_Number* rawDeltaY) + void SetInterceptionImpl(Ark_NavPathStack peer, + const Ark_NavigationInterception* interception) { } - Opt_Array_MouseButton GetPressedButtonsImpl(Ark_MouseEvent peer) + Array_NavPathInfo GetPathStackImpl(Ark_NavPathStack peer) { return {}; } - void SetPressedButtonsImpl(Ark_MouseEvent peer, - const Opt_Array_MouseButton* pressedButtons) + void SetPathStackImpl(Ark_NavPathStack peer, + const Array_NavPathInfo* pathStack, + const Opt_Boolean* animated) { } - } // MouseEventAccessor - namespace MutableStyledStringAccessor { - void DestroyPeerImpl(Ark_MutableStyledString peer) + } // NavPathStackAccessor + namespace NodeContentAccessor { + void DestroyPeerImpl(Ark_NodeContent peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_MutableStyledString ConstructImpl(const Ark_Union_String_ImageAttachment_CustomSpan* value, - const Opt_Array_StyleOptions* styles) + Ark_NodeContent ConstructImpl() { return {}; } @@ -15056,69 +16468,71 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void ReplaceStringImpl(Ark_MutableStyledString peer, - const Ark_Number* start, - const Ark_Number* length, - const Ark_String* other) + void AddFrameNodeImpl(Ark_NodeContent peer, + Ark_FrameNode node) { } - void InsertStringImpl(Ark_MutableStyledString peer, - const Ark_Number* start, - const Ark_String* other) + void RemoveFrameNodeImpl(Ark_NodeContent peer, + Ark_FrameNode node) { } - void RemoveStringImpl(Ark_MutableStyledString peer, - const Ark_Number* start, - const Ark_Number* length) + } // NodeContentAccessor + namespace OffscreenCanvasAccessor { + void DestroyPeerImpl(Ark_OffscreenCanvas peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void ReplaceStyleImpl(Ark_MutableStyledString peer, - const Ark_SpanStyle* spanStyle) + Ark_OffscreenCanvas ConstructImpl(const Ark_Number* width, + const Ark_Number* height, + const Opt_LengthMetricsUnit* unit) { + return {}; } - void SetStyleImpl(Ark_MutableStyledString peer, - const Ark_SpanStyle* spanStyle) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - void RemoveStyleImpl(Ark_MutableStyledString peer, - const Ark_Number* start, - const Ark_Number* length, - Ark_StyledStringKey styledKey) + Ark_ImageBitmap TransferToImageBitmapImpl(Ark_OffscreenCanvas peer) { + return {}; } - void RemoveStylesImpl(Ark_MutableStyledString peer, - const Ark_Number* start, - const Ark_Number* length) + Ark_OffscreenCanvasRenderingContext2D GetContext2dImpl(Ark_OffscreenCanvas peer, + const Opt_RenderingContextSettings* options) { + return {}; } - void ClearStylesImpl(Ark_MutableStyledString peer) + Ark_Number GetHeightImpl(Ark_OffscreenCanvas peer) { + return {}; } - void ReplaceStyledStringImpl(Ark_MutableStyledString peer, - const Ark_Number* start, - const Ark_Number* length, - Ark_StyledString other) + void SetHeightImpl(Ark_OffscreenCanvas peer, + const Ark_Number* height) { } - void InsertStyledStringImpl(Ark_MutableStyledString peer, - const Ark_Number* start, - Ark_StyledString other) + Ark_Number GetWidthImpl(Ark_OffscreenCanvas peer) { + return {}; } - void AppendStyledStringImpl(Ark_MutableStyledString peer, - Ark_StyledString other) + void SetWidthImpl(Ark_OffscreenCanvas peer, + const Ark_Number* width) { - } - } // MutableStyledStringAccessor - namespace NavDestinationContextAccessor { - void DestroyPeerImpl(Ark_NavDestinationContext peer) + } + } // OffscreenCanvasAccessor + namespace OffscreenCanvasRenderingContext2DAccessor { + void DestroyPeerImpl(Ark_OffscreenCanvasRenderingContext2D peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_NavDestinationContext ConstructImpl() + Ark_OffscreenCanvasRenderingContext2D ConstructImpl(const Ark_Number* width, + const Ark_Number* height, + const Opt_RenderingContextSettings* settings, + const Opt_LengthMetricsUnit* unit) { return {}; } @@ -15126,111 +16540,125 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Opt_RouteMapConfig GetConfigInRouteMapImpl(Ark_NavDestinationContext peer) + Ark_String ToDataURLImpl(Ark_OffscreenCanvasRenderingContext2D peer, + const Opt_String* type, + const Opt_Number* quality) { return {}; } - Ark_NavPathInfo GetPathInfoImpl(Ark_NavDestinationContext peer) + Ark_ImageBitmap TransferToImageBitmapImpl(Ark_OffscreenCanvasRenderingContext2D peer) { return {}; } - void SetPathInfoImpl(Ark_NavDestinationContext peer, - Ark_NavPathInfo pathInfo) + } // OffscreenCanvasRenderingContext2DAccessor + namespace PanGestureEventAccessor { + void DestroyPeerImpl(Ark_PanGestureEvent peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_NavPathStack GetPathStackImpl(Ark_NavDestinationContext peer) + Ark_PanGestureEvent ConstructImpl() { return {}; } - void SetPathStackImpl(Ark_NavDestinationContext peer, - Ark_NavPathStack pathStack) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Opt_String GetNavDestinationIdImpl(Ark_NavDestinationContext peer) + Ark_Number GetOffsetXImpl(Ark_PanGestureEvent peer) { return {}; } - void SetNavDestinationIdImpl(Ark_NavDestinationContext peer, - const Opt_String* navDestinationId) + void SetOffsetXImpl(Ark_PanGestureEvent peer, + const Ark_Number* offsetX) { } - } // NavDestinationContextAccessor - namespace NavExtenderAccessor { - void SetNavigationOptionsImpl(Ark_NativePointer ptr, - Ark_NavPathStack pathStack) + Ark_Number GetOffsetYImpl(Ark_PanGestureEvent peer) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); + return {}; } - void SetUpdateStackCallbackImpl(Ark_NavPathStack peer, - const NavExtender_OnUpdateStack* callback) + void SetOffsetYImpl(Ark_PanGestureEvent peer, + const Ark_Number* offsetY) { } - void SyncStackImpl(Ark_NavPathStack peer) + Ark_Number GetVelocityXImpl(Ark_PanGestureEvent peer) { + return {}; } - Ark_Boolean CheckNeedCreateImpl(Ark_NativePointer navigation, - Ark_Int32 index) + void SetVelocityXImpl(Ark_PanGestureEvent peer, + const Ark_Number* velocityX) + { + } + Ark_Number GetVelocityYImpl(Ark_PanGestureEvent peer) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); return {}; } - void SetNavDestinationNodeImpl(Ark_NavPathStack peer, - Ark_Int32 index, - Ark_NativePointer node) + void SetVelocityYImpl(Ark_PanGestureEvent peer, + const Ark_Number* velocityY) { } - void PushPathImpl(Ark_NavPathStack pathStack, - Ark_NavPathInfo info, - const Ark_NavigationOptions* options) + Ark_Number GetVelocityImpl(Ark_PanGestureEvent peer) { + return {}; } - void ReplacePathImpl(Ark_NavPathStack pathStack, - Ark_NavPathInfo info, - const Ark_NavigationOptions* options) + void SetVelocityImpl(Ark_PanGestureEvent peer, + const Ark_Number* velocity) { } - Ark_String PopImpl(Ark_NavPathStack pathStack, - Ark_Boolean animated) + } // PanGestureEventAccessor + namespace PanGestureInterfaceAccessor { + void DestroyPeerImpl(Ark_PanGestureInterface peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_PanGestureInterface ConstructImpl(const Ark_Union_PanGestureInterface_Invoke_Literal_PanGestureOptions* value) { return {}; } - void SetOnPopCallbackImpl(Ark_NavPathStack pathStack, - const Callback_String_Void* popCallback) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_String GetIdByIndexImpl(Ark_NavPathStack pathStack, - Ark_Int32 index) + Ark_PanGestureInterface OnActionStartImpl(Ark_PanGestureInterface peer, + const Callback_GestureEvent_Void* event) { return {}; } - Array_String GetIdByNameImpl(Ark_NavPathStack pathStack, - const Ark_String* name) + Ark_PanGestureInterface OnActionUpdateImpl(Ark_PanGestureInterface peer, + const Callback_GestureEvent_Void* event) { return {}; } - void PopToIndexImpl(Ark_NavPathStack pathStack, - Ark_Int32 index, - Ark_Boolean animated) + Ark_PanGestureInterface OnActionEndImpl(Ark_PanGestureInterface peer, + const Callback_GestureEvent_Void* event) { + return {}; } - Ark_Number PopToNameImpl(Ark_NavPathStack pathStack, - const Ark_String* name, - Ark_Boolean animated) + Ark_PanGestureInterface OnActionCancel0Impl(Ark_PanGestureInterface peer, + const Callback_Void* event) { return {}; } - } // NavExtenderAccessor - namespace NavigationTransitionProxyAccessor { - void DestroyPeerImpl(Ark_NavigationTransitionProxy peer) + Ark_PanGestureInterface OnActionCancel1Impl(Ark_PanGestureInterface peer, + const Callback_GestureEvent_Void* event) { - auto peerImpl = reinterpret_cast(peer); + return {}; + } + } // PanGestureInterfaceAccessor + namespace PanGestureOptionsAccessor { + void DestroyPeerImpl(Ark_PanGestureOptions peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_NavigationTransitionProxy ConstructImpl() + Ark_PanGestureOptions ConstructImpl(const Opt_PanGestureHandlerOptions* value) { return {}; } @@ -15238,62 +16666,57 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void FinishTransitionImpl(Ark_NavigationTransitionProxy peer) + void SetDirectionImpl(Ark_PanGestureOptions peer, + Ark_PanDirection value) { } - Ark_NavContentInfo GetFromImpl(Ark_NavigationTransitionProxy peer) + void SetDistanceImpl(Ark_PanGestureOptions peer, + const Ark_Number* value) { - return {}; } - void SetFromImpl(Ark_NavigationTransitionProxy peer, - const Ark_NavContentInfo* from) + void SetFingersImpl(Ark_PanGestureOptions peer, + const Ark_Number* value) { } - Ark_NavContentInfo GetToImpl(Ark_NavigationTransitionProxy peer) + Ark_PanDirection GetDirectionImpl(Ark_PanGestureOptions peer) { return {}; } - void SetToImpl(Ark_NavigationTransitionProxy peer, - const Ark_NavContentInfo* to) - { - } - Opt_Boolean GetIsInteractiveImpl(Ark_NavigationTransitionProxy peer) + Ark_Number GetDistanceImpl(Ark_PanGestureOptions peer) { return {}; } - void SetIsInteractiveImpl(Ark_NavigationTransitionProxy peer, - const Opt_Boolean* isInteractive) + } // PanGestureOptionsAccessor + namespace PanRecognizerAccessor { + void DestroyPeerImpl(Ark_PanRecognizer peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Opt_VoidCallback GetCancelTransitionImpl(Ark_NavigationTransitionProxy peer) + Ark_PanRecognizer ConstructImpl() { return {}; } - void SetCancelTransitionImpl(Ark_NavigationTransitionProxy peer, - const Opt_VoidCallback* cancelTransition) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Opt_UpdateTransitionCallback GetUpdateTransitionImpl(Ark_NavigationTransitionProxy peer) + Ark_PanGestureOptions GetPanGestureOptionsImpl(Ark_PanRecognizer peer) { return {}; } - void SetUpdateTransitionImpl(Ark_NavigationTransitionProxy peer, - const Opt_UpdateTransitionCallback* updateTransition) - { - } - } // NavigationTransitionProxyAccessor - namespace NavPathInfoAccessor { - void DestroyPeerImpl(Ark_NavPathInfo peer) + } // PanRecognizerAccessor + namespace ParagraphStyleAccessor { + void DestroyPeerImpl(Ark_ParagraphStyle peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_NavPathInfo ConstructImpl(const Ark_String* name, - const Opt_Object* param, - const Opt_Callback_PopInfo_Void* onPop, - const Opt_Boolean* isEntry) + Ark_ParagraphStyle ConstructImpl(const Opt_ParagraphStyleInterface* value) { return {}; } @@ -15301,264 +16724,201 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_String GetNameImpl(Ark_NavPathInfo peer) + Opt_TextAlign GetTextAlignImpl(Ark_ParagraphStyle peer) { return {}; } - void SetNameImpl(Ark_NavPathInfo peer, - const Ark_String* name) - { - } - Opt_Object GetParamImpl(Ark_NavPathInfo peer) + Opt_Number GetTextIndentImpl(Ark_ParagraphStyle peer) { return {}; } - void SetParamImpl(Ark_NavPathInfo peer, - const Opt_Object* param) - { - } - Opt_Callback_PopInfo_Void GetOnPopImpl(Ark_NavPathInfo peer) + Opt_Number GetMaxLinesImpl(Ark_ParagraphStyle peer) { return {}; } - void SetOnPopImpl(Ark_NavPathInfo peer, - const Opt_Callback_PopInfo_Void* onPop) - { - } - Opt_Boolean GetIsEntryImpl(Ark_NavPathInfo peer) + Opt_TextOverflow GetOverflowImpl(Ark_ParagraphStyle peer) { return {}; } - void SetIsEntryImpl(Ark_NavPathInfo peer, - const Opt_Boolean* isEntry) + Opt_WordBreak GetWordBreakImpl(Ark_ParagraphStyle peer) { + return {}; } - Opt_String GetNavDestinationIdImpl(Ark_NavPathInfo peer) + Opt_Union_Number_LeadingMarginPlaceholder GetLeadingMarginImpl(Ark_ParagraphStyle peer) { return {}; } - void SetNavDestinationIdImpl(Ark_NavPathInfo peer, - const Opt_String* navDestinationId) + Opt_Number GetParagraphSpacingImpl(Ark_ParagraphStyle peer) { + return {}; } - } // NavPathInfoAccessor - namespace NavPathStackAccessor { - void DestroyPeerImpl(Ark_NavPathStack peer) + } // ParagraphStyleAccessor + namespace Path2DAccessor { + void DestroyPeerImpl(Ark_Path2D peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_NavPathStack ConstructImpl() - { - return {}; - } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - void PushPath0Impl(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_Boolean* animated) - { - } - void PushPath1Impl(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options) - { - } - void PushDestination0Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_Boolean* animated, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) - { - } - void PushDestination1Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_Path2D Construct0Impl() { - } - void PushPathByName0Impl(Ark_NavPathStack peer, - const Ark_String* name, - const Opt_Object* param, - const Opt_Boolean* animated) + return {}; + } + Ark_Path2D Construct1Impl(Ark_LengthMetricsUnit unit) { + return {}; } - void PushPathByName1Impl(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Callback_PopInfo_Void* onPop, - const Opt_Boolean* animated) + Ark_Path2D Construct2Impl(Ark_Path2D path) { + return {}; } - void PushDestinationByName0Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Opt_Boolean* animated, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_Path2D Construct3Impl(Ark_Path2D path, + Ark_LengthMetricsUnit unit) { + return {}; } - void PushDestinationByName1Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Callback_PopInfo_Void* onPop, - const Opt_Boolean* animated, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_Path2D Construct4Impl(const Ark_String* d) { + return {}; } - void ReplacePath0Impl(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_Boolean* animated) + Ark_Path2D Construct5Impl(const Ark_String* description, + Ark_LengthMetricsUnit unit) { + return {}; } - void ReplacePath1Impl(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - void ReplaceDestinationImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + void AddPathImpl(Ark_Path2D peer, + Ark_Path2D path, + const Opt_Matrix2D* transform) { } - void ReplacePathByNameImpl(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Opt_Boolean* animated) + } // Path2DAccessor + namespace PathShapeAccessor { + void DestroyPeerImpl(Ark_PathShape peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Number RemoveByIndexesImpl(Ark_NavPathStack peer, - const Array_Number* indexes) + Ark_PathShape ConstructImpl(const Opt_PathShapeOptions* options) { return {}; } - Ark_Number RemoveByNameImpl(Ark_NavPathStack peer, - const Ark_String* name) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Boolean RemoveByNavDestinationIdImpl(Ark_NavPathStack peer, - const Ark_String* navDestinationId) + Ark_PathShape OffsetImpl(Ark_PathShape peer, + const Ark_Position* offset) { return {}; } - Opt_NavPathInfo Pop0Impl(Ark_NavPathStack peer, - const Opt_Boolean* animated) + Ark_PathShape FillImpl(Ark_PathShape peer, + const Ark_ResourceColor* color) { return {}; } - Opt_NavPathInfo Pop1Impl(Ark_NavPathStack peer, - const Ark_Object* result, - const Opt_Boolean* animated) + Ark_PathShape PositionImpl(Ark_PathShape peer, + const Ark_Position* position) { return {}; } - Ark_Number PopToName0Impl(Ark_NavPathStack peer, - const Ark_String* name, - const Opt_Boolean* animated) + Ark_PathShape CommandsImpl(Ark_PathShape peer, + const Ark_String* commands) { return {}; } - Ark_Number PopToName1Impl(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* result, - const Opt_Boolean* animated) + } // PathShapeAccessor + namespace PatternLockControllerAccessor { + void DestroyPeerImpl(Ark_PatternLockController peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void PopToIndex0Impl(Ark_NavPathStack peer, - const Ark_Number* index, - const Opt_Boolean* animated) + Ark_PatternLockController ConstructImpl() { + return {}; } - void PopToIndex1Impl(Ark_NavPathStack peer, - const Ark_Number* index, - const Ark_Object* result, - const Opt_Boolean* animated) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number MoveToTopImpl(Ark_NavPathStack peer, - const Ark_String* name, - const Opt_Boolean* animated) + void ResetImpl(Ark_PatternLockController peer) { - return {}; } - void MoveIndexToTopImpl(Ark_NavPathStack peer, - const Ark_Number* index, - const Opt_Boolean* animated) + void SetChallengeResultImpl(Ark_PatternLockController peer, + Ark_PatternLockChallengeResult result) { } - void ClearImpl(Ark_NavPathStack peer, - const Opt_Boolean* animated) + } // PatternLockControllerAccessor + namespace PermissionRequestAccessor { + void DestroyPeerImpl(Ark_PermissionRequest peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Array_String GetAllPathNameImpl(Ark_NavPathStack peer) + Ark_PermissionRequest ConstructImpl() { return {}; } - Opt_Object GetParamByIndexImpl(Ark_NavPathStack peer, - const Ark_Number* index) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - Array_Opt_Object GetParamByNameImpl(Ark_NavPathStack peer, - const Ark_String* name) + void DenyImpl(Ark_PermissionRequest peer) { - return {}; } - Array_Number GetIndexByNameImpl(Ark_NavPathStack peer, - const Ark_String* name) + Ark_String GetOriginImpl(Ark_PermissionRequest peer) { return {}; } - Opt_NavPathStack GetParentImpl(Ark_NavPathStack peer) + Array_String GetAccessibleResourceImpl(Ark_PermissionRequest peer) { return {}; } - Ark_Number SizeImpl(Ark_NavPathStack peer) + void GrantImpl(Ark_PermissionRequest peer, + const Array_String* resources) + { + } + } // PermissionRequestAccessor + namespace PersistentStorageBackendAccessor { + Opt_String GetImpl(const Ark_String* key) { return {}; } - void DisableAnimationImpl(Ark_NavPathStack peer, - Ark_Boolean value) + Ark_Boolean HasImpl(const Ark_String* key) { + return {}; } - void SetInterceptionImpl(Ark_NavPathStack peer, - const Ark_NavigationInterception* interception) + void RemoveImpl(const Ark_String* key) { } - Array_NavPathInfo GetPathStackImpl(Ark_NavPathStack peer) + void SetImpl(const Ark_String* key, + const Ark_String* value) { - return {}; } - void SetPathStackImpl(Ark_NavPathStack peer, - const Array_NavPathInfo* pathStack, - const Opt_Boolean* animated) + void ClearImpl() { } - } // NavPathStackAccessor - namespace NodeContentAccessor { - void DestroyPeerImpl(Ark_NodeContent peer) + } // PersistentStorageBackendAccessor + namespace PinchGestureEventAccessor { + void DestroyPeerImpl(Ark_PinchGestureEvent peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_NodeContent ConstructImpl() + Ark_PinchGestureEvent ConstructImpl() { return {}; } @@ -15566,26 +16926,40 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void AddFrameNodeImpl(Ark_NodeContent peer, - Ark_FrameNode node) + Ark_Number GetScaleImpl(Ark_PinchGestureEvent peer) { + return {}; } - void RemoveFrameNodeImpl(Ark_NodeContent peer, - Ark_FrameNode node) + void SetScaleImpl(Ark_PinchGestureEvent peer, + const Ark_Number* scale) { } - } // NodeContentAccessor - namespace OffscreenCanvasAccessor { - void DestroyPeerImpl(Ark_OffscreenCanvas peer) + Ark_Number GetPinchCenterXImpl(Ark_PinchGestureEvent peer) { - auto peerImpl = reinterpret_cast(peer); + return {}; + } + void SetPinchCenterXImpl(Ark_PinchGestureEvent peer, + const Ark_Number* pinchCenterX) + { + } + Ark_Number GetPinchCenterYImpl(Ark_PinchGestureEvent peer) + { + return {}; + } + void SetPinchCenterYImpl(Ark_PinchGestureEvent peer, + const Ark_Number* pinchCenterY) + { + } + } // PinchGestureEventAccessor + namespace PinchGestureInterfaceAccessor { + void DestroyPeerImpl(Ark_PinchGestureInterface peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_OffscreenCanvas ConstructImpl(const Ark_Number* width, - const Ark_Number* height, - const Opt_LengthMetricsUnit* unit) + Ark_PinchGestureInterface ConstructImpl(const Ark_PinchGestureInterface_Invoke_Literal* value) { return {}; } @@ -15593,44 +16967,62 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_ImageBitmap TransferToImageBitmapImpl(Ark_OffscreenCanvas peer) + Ark_PinchGestureInterface OnActionStartImpl(Ark_PinchGestureInterface peer, + const Callback_GestureEvent_Void* event) { return {}; } - Ark_OffscreenCanvasRenderingContext2D GetContext2dImpl(Ark_OffscreenCanvas peer, - const Opt_RenderingContextSettings* options) + Ark_PinchGestureInterface OnActionUpdateImpl(Ark_PinchGestureInterface peer, + const Callback_GestureEvent_Void* event) { return {}; } - Ark_Number GetHeightImpl(Ark_OffscreenCanvas peer) + Ark_PinchGestureInterface OnActionEndImpl(Ark_PinchGestureInterface peer, + const Callback_GestureEvent_Void* event) { return {}; } - void SetHeightImpl(Ark_OffscreenCanvas peer, - const Ark_Number* height) + Ark_PinchGestureInterface OnActionCancel0Impl(Ark_PinchGestureInterface peer, + const Callback_Void* event) { + return {}; } - Ark_Number GetWidthImpl(Ark_OffscreenCanvas peer) + Ark_PinchGestureInterface OnActionCancel1Impl(Ark_PinchGestureInterface peer, + const Callback_GestureEvent_Void* event) { return {}; } - void SetWidthImpl(Ark_OffscreenCanvas peer, - const Ark_Number* width) + } // PinchGestureInterfaceAccessor + namespace PinchRecognizerAccessor { + void DestroyPeerImpl(Ark_PinchRecognizer peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - } // OffscreenCanvasAccessor - namespace OffscreenCanvasRenderingContext2DAccessor { - void DestroyPeerImpl(Ark_OffscreenCanvasRenderingContext2D peer) + Ark_PinchRecognizer ConstructImpl() { - auto peerImpl = reinterpret_cast(peer); + return {}; + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Number GetDistanceImpl(Ark_PinchRecognizer peer) + { + return {}; + } + } // PinchRecognizerAccessor + namespace PixelMapMockAccessor { + void DestroyPeerImpl(Ark_PixelMapMock peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_OffscreenCanvasRenderingContext2D ConstructImpl(const Ark_Number* width, - const Ark_Number* height, - const Opt_RenderingContextSettings* settings, - const Opt_LengthMetricsUnit* unit) + Ark_PixelMapMock ConstructImpl() { return {}; } @@ -15638,26 +17030,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_String ToDataURLImpl(Ark_OffscreenCanvasRenderingContext2D peer, - const Opt_String* type, - const Opt_Number* quality) - { - return {}; - } - Ark_ImageBitmap TransferToImageBitmapImpl(Ark_OffscreenCanvasRenderingContext2D peer) + void ReleaseImpl(Ark_PixelMapMock peer) { - return {}; } - } // OffscreenCanvasRenderingContext2DAccessor - namespace PageLifeCycleAccessor { - void DestroyPeerImpl(Ark_PageLifeCycle peer) + } // PixelMapMockAccessor + namespace ProgressMaskAccessor { + void DestroyPeerImpl(Ark_ProgressMask peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_PageLifeCycle ConstructImpl() + Ark_ProgressMask ConstructImpl(const Ark_Number* value, + const Ark_Number* total, + const Ark_ResourceColor* color) { return {}; } @@ -15665,33 +17052,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void OnPageShowImpl(Ark_PageLifeCycle peer) - { - } - void OnPageHideImpl(Ark_PageLifeCycle peer) - { - } - Ark_Boolean OnBackPressImpl(Ark_PageLifeCycle peer) + void UpdateProgressImpl(Ark_ProgressMask peer, + const Ark_Number* value) { - return {}; } - void PageTransitionImpl(Ark_PageLifeCycle peer) + void UpdateColorImpl(Ark_ProgressMask peer, + const Ark_ResourceColor* value) { } - void OnNewParamImpl(Ark_PageLifeCycle peer, - const Opt_Object* param) + void EnableBreathingAnimationImpl(Ark_ProgressMask peer, + Ark_Boolean value) { } - } // PageLifeCycleAccessor - namespace PanGestureEventAccessor { - void DestroyPeerImpl(Ark_PanGestureEvent peer) + } // ProgressMaskAccessor + namespace PromptActionAccessor { + void DestroyPeerImpl(Ark_PromptAction peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_PanGestureEvent ConstructImpl() + Ark_PromptAction ConstructImpl() { return {}; } @@ -15699,56 +17081,83 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetOffsetXImpl(Ark_PanGestureEvent peer) - { - return {}; - } - void SetOffsetXImpl(Ark_PanGestureEvent peer, - const Ark_Number* offsetX) + void OpenPopupImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_PromptAction peer, + Ark_ComponentContent content, + const Ark_TargetInfo* target, + const Opt_PopupCommonOptions* options, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { } - Ark_Number GetOffsetYImpl(Ark_PanGestureEvent peer) + void UpatePopupImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_PromptAction peer, + Ark_ComponentContent content, + const Ark_PopupCommonOptions* options, + const Opt_Boolean* partialUpdate, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { - return {}; } - void SetOffsetYImpl(Ark_PanGestureEvent peer, - const Ark_Number* offsetY) + void ClosePopupImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_PromptAction peer, + Ark_ComponentContent content, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { } - Ark_Number GetVelocityXImpl(Ark_PanGestureEvent peer) + void OpenMenuImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_PromptAction peer, + Ark_ComponentContent content, + const Ark_TargetInfo* target, + const Opt_MenuOptions* options, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { - return {}; } - void SetVelocityXImpl(Ark_PanGestureEvent peer, - const Ark_Number* velocityX) + void UpdateMenuImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_PromptAction peer, + Ark_ComponentContent content, + const Ark_MenuOptions* options, + const Opt_Boolean* partialUpdate, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { } - Ark_Number GetVelocityYImpl(Ark_PanGestureEvent peer) + void CloseMenuImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_PromptAction peer, + Ark_ComponentContent content, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { - return {}; } - void SetVelocityYImpl(Ark_PanGestureEvent peer, - const Ark_Number* velocityY) + } // PromptActionAccessor + namespace PulseSymbolEffectAccessor { + void DestroyPeerImpl(Ark_PulseSymbolEffect peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Number GetVelocityImpl(Ark_PanGestureEvent peer) + Ark_PulseSymbolEffect ConstructImpl() { return {}; } - void SetVelocityImpl(Ark_PanGestureEvent peer, - const Ark_Number* velocity) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - } // PanGestureEventAccessor - namespace PanGestureInterfaceAccessor { - void DestroyPeerImpl(Ark_PanGestureInterface peer) + } // PulseSymbolEffectAccessor + namespace RectShapeAccessor { + void DestroyPeerImpl(Ark_RectShape peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_PanGestureInterface ConstructImpl(const Ark_Union_PanGestureInterface_Invoke_Literal_PanGestureOptions* value) + Ark_RectShape ConstructImpl(const Opt_Union_RectShapeOptions_RoundRectShapeOptions* options) { return {}; } @@ -15756,78 +17165,61 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_PanGestureInterface OnActionStartImpl(Ark_PanGestureInterface peer, - const Callback_GestureEvent_Void* event) + Ark_RectShape OffsetImpl(Ark_RectShape peer, + const Ark_Position* offset) { return {}; } - Ark_PanGestureInterface OnActionUpdateImpl(Ark_PanGestureInterface peer, - const Callback_GestureEvent_Void* event) + Ark_RectShape FillImpl(Ark_RectShape peer, + const Ark_ResourceColor* color) { return {}; } - Ark_PanGestureInterface OnActionEndImpl(Ark_PanGestureInterface peer, - const Callback_GestureEvent_Void* event) + Ark_RectShape PositionImpl(Ark_RectShape peer, + const Ark_Position* position) { return {}; } - Ark_PanGestureInterface OnActionCancel0Impl(Ark_PanGestureInterface peer, - const Callback_Void* event) + Ark_RectShape WidthImpl(Ark_RectShape peer, + const Ark_Length* width) { return {}; } - Ark_PanGestureInterface OnActionCancel1Impl(Ark_PanGestureInterface peer, - const Callback_GestureEvent_Void* event) + Ark_RectShape HeightImpl(Ark_RectShape peer, + const Ark_Length* height) { return {}; } - } // PanGestureInterfaceAccessor - namespace PanGestureOptionsAccessor { - void DestroyPeerImpl(Ark_PanGestureOptions peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_PanGestureOptions ConstructImpl(const Opt_PanGestureHandlerOptions* value) + Ark_RectShape SizeImpl(Ark_RectShape peer, + const Ark_SizeOptions* size) { return {}; } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - void SetDirectionImpl(Ark_PanGestureOptions peer, - Ark_PanDirection value) - { - } - void SetDistanceImpl(Ark_PanGestureOptions peer, - const Ark_Number* value) - { - } - void SetFingersImpl(Ark_PanGestureOptions peer, - const Ark_Number* value) + Ark_RectShape RadiusWidthImpl(Ark_RectShape peer, + const Ark_Union_Number_String* rWidth) { + return {}; } - Ark_PanDirection GetDirectionImpl(Ark_PanGestureOptions peer) + Ark_RectShape RadiusHeightImpl(Ark_RectShape peer, + const Ark_Union_Number_String* rHeight) { return {}; } - Ark_Number GetDistanceImpl(Ark_PanGestureOptions peer) + Ark_RectShape RadiusImpl(Ark_RectShape peer, + const Ark_Union_Number_String_Array_Union_Number_String* radius) { return {}; } - } // PanGestureOptionsAccessor - namespace PanRecognizerAccessor { - void DestroyPeerImpl(Ark_PanRecognizer peer) + } // RectShapeAccessor + namespace RenderingContextSettingsAccessor { + void DestroyPeerImpl(Ark_RenderingContextSettings peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_PanRecognizer ConstructImpl() + Ark_RenderingContextSettings ConstructImpl(const Opt_Boolean* antialias) { return {}; } @@ -15835,20 +17227,24 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_PanGestureOptions GetPanGestureOptionsImpl(Ark_PanRecognizer peer) + Opt_Boolean GetAntialiasImpl(Ark_RenderingContextSettings peer) { return {}; } - } // PanRecognizerAccessor - namespace ParagraphStyleAccessor { - void DestroyPeerImpl(Ark_ParagraphStyle peer) + void SetAntialiasImpl(Ark_RenderingContextSettings peer, + const Opt_Boolean* antialias) { - auto peerImpl = reinterpret_cast(peer); + } + } // RenderingContextSettingsAccessor + namespace RenderNodeAccessor { + void DestroyPeerImpl(Ark_RenderNode peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_ParagraphStyle ConstructImpl(const Opt_ParagraphStyleInterface* value) + Ark_RenderNode ConstructImpl() { return {}; } @@ -15856,295 +17252,265 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Opt_TextAlign GetTextAlignImpl(Ark_ParagraphStyle peer) + void AppendChildImpl(Ark_RenderNode peer, + Ark_RenderNode node) { - return {}; } - Opt_Number GetTextIndentImpl(Ark_ParagraphStyle peer) + void InsertChildAfterImpl(Ark_RenderNode peer, + Ark_RenderNode child, + const Opt_RenderNode* sibling) { - return {}; } - Opt_Number GetMaxLinesImpl(Ark_ParagraphStyle peer) + void RemoveChildImpl(Ark_RenderNode peer, + Ark_RenderNode node) { - return {}; } - Opt_TextOverflow GetOverflowImpl(Ark_ParagraphStyle peer) + void ClearChildrenImpl(Ark_RenderNode peer) + { + } + Opt_RenderNode GetChildImpl(Ark_RenderNode peer, + const Ark_Number* index) { return {}; } - Opt_WordBreak GetWordBreakImpl(Ark_ParagraphStyle peer) + Opt_RenderNode GetFirstChildImpl(Ark_RenderNode peer) { return {}; } - Opt_Union_Number_LeadingMarginPlaceholder GetLeadingMarginImpl(Ark_ParagraphStyle peer) + Opt_RenderNode GetNextSiblingImpl(Ark_RenderNode peer) { return {}; } - Opt_Number GetParagraphSpacingImpl(Ark_ParagraphStyle peer) + Opt_RenderNode GetPreviousSiblingImpl(Ark_RenderNode peer) { return {}; } - } // ParagraphStyleAccessor - namespace Path2DAccessor { - void DestroyPeerImpl(Ark_Path2D peer) + void DrawImpl(Ark_RenderNode peer, + Ark_DrawContext context) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_Path2D Construct0Impl() + void InvalidateImpl(Ark_RenderNode peer) { - return {}; } - Ark_Path2D Construct1Impl(Ark_LengthMetricsUnit unit) + void DisposeImpl(Ark_RenderNode peer) { - return {}; } - Ark_Path2D Construct2Impl(Ark_Path2D path) + Ark_Number GetBackgroundColorImpl(Ark_RenderNode peer) { return {}; } - Ark_Path2D Construct3Impl(Ark_Path2D path, - Ark_LengthMetricsUnit unit) + void SetBackgroundColorImpl(Ark_RenderNode peer, + const Ark_Number* backgroundColor) { - return {}; } - Ark_Path2D Construct4Impl(const Ark_String* d) + Ark_Boolean GetClipToFrameImpl(Ark_RenderNode peer) { return {}; } - Ark_Path2D Construct5Impl(const Ark_String* description, - Ark_LengthMetricsUnit unit) + void SetClipToFrameImpl(Ark_RenderNode peer, + Ark_Boolean clipToFrame) + { + } + Ark_Number GetOpacityImpl(Ark_RenderNode peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetOpacityImpl(Ark_RenderNode peer, + const Ark_Number* opacity) { - return reinterpret_cast(&DestroyPeerImpl); } - void AddPathImpl(Ark_Path2D peer, - Ark_Path2D path, - const Opt_Matrix2D* transform) + Ark_Size GetSizeImpl(Ark_RenderNode peer) { + return {}; } - } // Path2DAccessor - namespace PathShapeAccessor { - void DestroyPeerImpl(Ark_PathShape peer) + void SetSizeImpl(Ark_RenderNode peer, + const Ark_Size* size) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_PathShape ConstructImpl(const Opt_PathShapeOptions* options) + Ark_Vector2 GetPositionImpl(Ark_RenderNode peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetPositionImpl(Ark_RenderNode peer, + const Ark_Vector2* position) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_PathShape OffsetImpl(Ark_PathShape peer, - const Ark_Position* offset) + Ark_Frame GetFrameImpl(Ark_RenderNode peer) { return {}; } - Ark_PathShape FillImpl(Ark_PathShape peer, - const Ark_ResourceColor* color) + void SetFrameImpl(Ark_RenderNode peer, + const Ark_Frame* frame) { - return {}; } - Ark_PathShape PositionImpl(Ark_PathShape peer, - const Ark_Position* position) + Ark_Vector2 GetPivotImpl(Ark_RenderNode peer) { return {}; } - Ark_PathShape CommandsImpl(Ark_PathShape peer, - const Ark_String* commands) + void SetPivotImpl(Ark_RenderNode peer, + const Ark_Vector2* pivot) + { + } + Ark_Vector2 GetScaleImpl(Ark_RenderNode peer) { return {}; } - } // PathShapeAccessor - namespace PatternLockControllerAccessor { - void DestroyPeerImpl(Ark_PatternLockController peer) + void SetScaleImpl(Ark_RenderNode peer, + const Ark_Vector2* scale) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_PatternLockController ConstructImpl() + Ark_Vector2 GetTranslationImpl(Ark_RenderNode peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetTranslationImpl(Ark_RenderNode peer, + const Ark_Vector2* translation) { - return reinterpret_cast(&DestroyPeerImpl); } - void ResetImpl(Ark_PatternLockController peer) + Ark_Vector3 GetRotationImpl(Ark_RenderNode peer) { + return {}; } - void SetChallengeResultImpl(Ark_PatternLockController peer, - Ark_PatternLockChallengeResult result) + void SetRotationImpl(Ark_RenderNode peer, + const Ark_Vector3* rotation) { } - } // PatternLockControllerAccessor - namespace PersistentStorageBackendAccessor { - Opt_String GetImpl(const Ark_String* key) + Ark_Matrix4 GetTransformImpl(Ark_RenderNode peer) { return {}; } - Ark_Boolean HasImpl(const Ark_String* key) + void SetTransformImpl(Ark_RenderNode peer, + const Ark_Matrix4* transform) { - return {}; } - void RemoveImpl(const Ark_String* key) + Ark_Number GetShadowColorImpl(Ark_RenderNode peer) { + return {}; } - void SetImpl(const Ark_String* key, - const Ark_String* value) + void SetShadowColorImpl(Ark_RenderNode peer, + const Ark_Number* shadowColor) { } - void ClearImpl() + Ark_Vector2 GetShadowOffsetImpl(Ark_RenderNode peer) { + return {}; } - } // PersistentStorageBackendAccessor - namespace PinchGestureEventAccessor { - void DestroyPeerImpl(Ark_PinchGestureEvent peer) + void SetShadowOffsetImpl(Ark_RenderNode peer, + const Ark_Vector2* shadowOffset) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_PinchGestureEvent ConstructImpl() + Ark_String GetLabelImpl(Ark_RenderNode peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetLabelImpl(Ark_RenderNode peer, + const Ark_String* label) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetScaleImpl(Ark_PinchGestureEvent peer) + Ark_Number GetShadowAlphaImpl(Ark_RenderNode peer) { return {}; } - void SetScaleImpl(Ark_PinchGestureEvent peer, - const Ark_Number* scale) + void SetShadowAlphaImpl(Ark_RenderNode peer, + const Ark_Number* shadowAlpha) { } - Ark_Number GetPinchCenterXImpl(Ark_PinchGestureEvent peer) + Ark_Number GetShadowElevationImpl(Ark_RenderNode peer) { return {}; } - void SetPinchCenterXImpl(Ark_PinchGestureEvent peer, - const Ark_Number* pinchCenterX) + void SetShadowElevationImpl(Ark_RenderNode peer, + const Ark_Number* shadowElevation) { } - Ark_Number GetPinchCenterYImpl(Ark_PinchGestureEvent peer) + Ark_Number GetShadowRadiusImpl(Ark_RenderNode peer) { return {}; } - void SetPinchCenterYImpl(Ark_PinchGestureEvent peer, - const Ark_Number* pinchCenterY) + void SetShadowRadiusImpl(Ark_RenderNode peer, + const Ark_Number* shadowRadius) { } - } // PinchGestureEventAccessor - namespace PinchGestureInterfaceAccessor { - void DestroyPeerImpl(Ark_PinchGestureInterface peer) + Ark_EdgeStyles GetBorderStyleImpl(Ark_RenderNode peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_PinchGestureInterface ConstructImpl(const Ark_PinchGestureInterface_Invoke_Literal* value) + void SetBorderStyleImpl(Ark_RenderNode peer, + const Ark_EdgeStyles* borderStyle) + { + } + Ark_Edges GetBorderWidthImpl(Ark_RenderNode peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetBorderWidthImpl(Ark_RenderNode peer, + const Ark_Edges* borderWidth) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_PinchGestureInterface OnActionStartImpl(Ark_PinchGestureInterface peer, - const Callback_GestureEvent_Void* event) + Ark_Edges GetBorderColorImpl(Ark_RenderNode peer) { return {}; } - Ark_PinchGestureInterface OnActionUpdateImpl(Ark_PinchGestureInterface peer, - const Callback_GestureEvent_Void* event) + void SetBorderColorImpl(Ark_RenderNode peer, + const Ark_Edges* borderColor) { - return {}; } - Ark_PinchGestureInterface OnActionEndImpl(Ark_PinchGestureInterface peer, - const Callback_GestureEvent_Void* event) + Ark_BorderRadiuses_graphics GetBorderRadiusImpl(Ark_RenderNode peer) { return {}; } - Ark_PinchGestureInterface OnActionCancel0Impl(Ark_PinchGestureInterface peer, - const Callback_Void* event) + void SetBorderRadiusImpl(Ark_RenderNode peer, + const Ark_BorderRadiuses_graphics* borderRadius) { - return {}; } - Ark_PinchGestureInterface OnActionCancel1Impl(Ark_PinchGestureInterface peer, - const Callback_GestureEvent_Void* event) + Ark_ShapeMask GetShapeMaskImpl(Ark_RenderNode peer) { return {}; } - } // PinchGestureInterfaceAccessor - namespace PinchRecognizerAccessor { - void DestroyPeerImpl(Ark_PinchRecognizer peer) + void SetShapeMaskImpl(Ark_RenderNode peer, + Ark_ShapeMask shapeMask) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_PinchRecognizer ConstructImpl() + Ark_ShapeClip GetShapeClipImpl(Ark_RenderNode peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetShapeClipImpl(Ark_RenderNode peer, + Ark_ShapeClip shapeClip) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetDistanceImpl(Ark_PinchRecognizer peer) + Ark_Boolean GetMarkNodeGroupImpl(Ark_RenderNode peer) { return {}; } - } // PinchRecognizerAccessor - namespace PixelMapMockAccessor { - void DestroyPeerImpl(Ark_PixelMapMock peer) + void SetMarkNodeGroupImpl(Ark_RenderNode peer, + Ark_Boolean markNodeGroup) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_PixelMapMock ConstructImpl() + Ark_LengthMetricsUnit GetLengthMetricsUnitImpl(Ark_RenderNode peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetLengthMetricsUnitImpl(Ark_RenderNode peer, + Ark_LengthMetricsUnit lengthMetricsUnit) { - return reinterpret_cast(&DestroyPeerImpl); } - void ReleaseImpl(Ark_PixelMapMock peer) + } // RenderNodeAccessor + namespace RenderServiceNodeAccessor { + Ark_Int32 GetNodeIdImpl(const Ark_String* nodeId) { + return {}; } - } // PixelMapMockAccessor - namespace ProgressMaskAccessor { - void DestroyPeerImpl(Ark_ProgressMask peer) + } // RenderServiceNodeAccessor + namespace ReplaceSymbolEffectAccessor { + void DestroyPeerImpl(Ark_ReplaceSymbolEffect peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_ProgressMask ConstructImpl(const Ark_Number* value, - const Ark_Number* total, - const Ark_ResourceColor* color) + Ark_ReplaceSymbolEffect ConstructImpl(const Opt_EffectScope* scope) { return {}; } @@ -16152,28 +17518,25 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void UpdateProgressImpl(Ark_ProgressMask peer, - const Ark_Number* value) - { - } - void UpdateColorImpl(Ark_ProgressMask peer, - const Ark_ResourceColor* value) + Opt_EffectScope GetScopeImpl(Ark_ReplaceSymbolEffect peer) { + return {}; } - void EnableBreathingAnimationImpl(Ark_ProgressMask peer, - Ark_Boolean value) + void SetScopeImpl(Ark_ReplaceSymbolEffect peer, + const Opt_EffectScope* scope) { } - } // ProgressMaskAccessor - namespace PromptActionAccessor { - void DestroyPeerImpl(Ark_PromptAction peer) + } // ReplaceSymbolEffectAccessor + namespace RestrictedWorkerAccessor { + void DestroyPeerImpl(Ark_RestrictedWorker peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_PromptAction ConstructImpl() + Ark_RestrictedWorker ConstructImpl(const Ark_String* scriptURL, + const Opt_WorkerOptions* options) { return {}; } @@ -16181,128 +17544,121 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void OpenPopupImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_PromptAction peer, - Ark_ComponentContent content, - const Ark_TargetInfo* target, - const Opt_PopupCommonOptions* options, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + void PostMessage0Impl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_Object* message, + const Array_Buffer* transfer) { } - void UpatePopupImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_PromptAction peer, - Ark_ComponentContent content, - const Ark_PopupCommonOptions* options, - const Opt_Boolean* partialUpdate, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + void PostMessage1Impl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_Object* message, + const Opt_PostMessageOptions* options) + { + } + void PostMessageWithSharedSendableImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_Object* message, + const Opt_Array_Buffer* transfer) + { + } + void OnImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_String* Type, + const WorkerEventListener* listener) + { + } + void OnceImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_String* Type, + const WorkerEventListener* listener) { } - void ClosePopupImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_PromptAction peer, - Ark_ComponentContent content, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + void OffImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_String* Type, + const Opt_WorkerEventListener* listener) { } - void OpenMenuImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_PromptAction peer, - Ark_ComponentContent content, - const Ark_TargetInfo* target, - const Opt_MenuOptions* options, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + void TerminateImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer) { } - void UpdateMenuImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_PromptAction peer, - Ark_ComponentContent content, - const Ark_MenuOptions* options, - const Opt_Boolean* partialUpdate, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + void AddEventListenerImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_String* Type, + const WorkerEventListener* listener) { } - void CloseMenuImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_PromptAction peer, - Ark_ComponentContent content, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_Boolean DispatchEventImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_Event* event) { + return {}; } - } // PromptActionAccessor - namespace RectShapeAccessor { - void DestroyPeerImpl(Ark_RectShape peer) + void RemoveEventListenerImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_String* Type, + const Opt_WorkerEventListener* callback_) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_RectShape ConstructImpl(const Opt_Union_RectShapeOptions_RoundRectShapeOptions* options) + void RemoveAllListenerImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void RegisterGlobalCallObjectImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Ark_String* instanceName, + const Ark_Object* globalCallObject) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_RectShape OffsetImpl(Ark_RectShape peer, - const Ark_Position* offset) + void UnregisterGlobalCallObjectImpl(Ark_VMContext vmContext, + Ark_RestrictedWorker peer, + const Opt_String* instanceName) { - return {}; } - Ark_RectShape FillImpl(Ark_RectShape peer, - const Ark_ResourceColor* color) + Opt_RestrictedWorker_onexit_Callback GetOnexitImpl(Ark_RestrictedWorker peer) { return {}; } - Ark_RectShape PositionImpl(Ark_RectShape peer, - const Ark_Position* position) + void SetOnexitImpl(Ark_RestrictedWorker peer, + const Opt_RestrictedWorker_onexit_Callback* onexit) { - return {}; } - Ark_RectShape WidthImpl(Ark_RectShape peer, - const Ark_Length* width) + Opt_RestrictedWorker_onerror_Callback GetOnerrorImpl(Ark_RestrictedWorker peer) { return {}; } - Ark_RectShape HeightImpl(Ark_RectShape peer, - const Ark_Length* height) + void SetOnerrorImpl(Ark_RestrictedWorker peer, + const Opt_RestrictedWorker_onerror_Callback* onerror) { - return {}; } - Ark_RectShape SizeImpl(Ark_RectShape peer, - const Ark_SizeOptions* size) + Opt_RestrictedWorker_onmessage_Callback GetOnmessageImpl(Ark_RestrictedWorker peer) { return {}; } - Ark_RectShape RadiusWidthImpl(Ark_RectShape peer, - const Ark_Union_Number_String* rWidth) + void SetOnmessageImpl(Ark_RestrictedWorker peer, + const Opt_RestrictedWorker_onmessage_Callback* onmessage) { - return {}; } - Ark_RectShape RadiusHeightImpl(Ark_RectShape peer, - const Ark_Union_Number_String* rHeight) + Opt_RestrictedWorker_onmessage_Callback GetOnmessageerrorImpl(Ark_RestrictedWorker peer) { return {}; } - Ark_RectShape RadiusImpl(Ark_RectShape peer, - const Ark_Union_Number_String_Array_Union_Number_String* radius) + void SetOnmessageerrorImpl(Ark_RestrictedWorker peer, + const Opt_RestrictedWorker_onmessage_Callback* onmessageerror) { - return {}; } - } // RectShapeAccessor - namespace RenderingContextSettingsAccessor { - void DestroyPeerImpl(Ark_RenderingContextSettings peer) + } // RestrictedWorkerAccessor + namespace RichEditorBaseControllerAccessor { + void DestroyPeerImpl(Ark_RichEditorBaseController peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_RenderingContextSettings ConstructImpl(const Opt_Boolean* antialias) + Ark_RichEditorBaseController ConstructImpl() { return {}; } @@ -16310,290 +17666,350 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Opt_Boolean GetAntialiasImpl(Ark_RenderingContextSettings peer) + Ark_Number GetCaretOffsetImpl(Ark_RichEditorBaseController peer) { return {}; } - void SetAntialiasImpl(Ark_RenderingContextSettings peer, - const Opt_Boolean* antialias) + Ark_Boolean SetCaretOffsetImpl(Ark_RichEditorBaseController peer, + const Ark_Number* offset) { + return {}; } - } // RenderingContextSettingsAccessor - namespace RenderNodeAccessor { - void DestroyPeerImpl(Ark_RenderNode peer) + void CloseSelectionMenuImpl(Ark_RichEditorBaseController peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_RenderNode ConstructImpl() + Ark_RichEditorTextStyle GetTypingStyleImpl(Ark_RichEditorBaseController peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - void AppendChildImpl(Ark_RenderNode peer, - Ark_RenderNode node) + void SetTypingStyleImpl(Ark_RichEditorBaseController peer, + const Ark_RichEditorTextStyle* value) { } - void InsertChildAfterImpl(Ark_RenderNode peer, - Ark_RenderNode child, - const Opt_RenderNode* sibling) + void SetSelectionImpl(Ark_RichEditorBaseController peer, + const Ark_Number* selectionStart, + const Ark_Number* selectionEnd, + const Opt_SelectionOptions* options) { } - void RemoveChildImpl(Ark_RenderNode peer, - Ark_RenderNode node) + Ark_Boolean IsEditingImpl(Ark_RichEditorBaseController peer) { + return {}; } - void ClearChildrenImpl(Ark_RenderNode peer) + void StopEditingImpl(Ark_RichEditorBaseController peer) { } - Opt_RenderNode GetChildImpl(Ark_RenderNode peer, - const Ark_Number* index) + Ark_LayoutManager GetLayoutManagerImpl(Ark_RichEditorBaseController peer) { return {}; } - Opt_RenderNode GetFirstChildImpl(Ark_RenderNode peer) + Ark_PreviewText GetPreviewTextImpl(Ark_RichEditorBaseController peer) { return {}; } - Opt_RenderNode GetNextSiblingImpl(Ark_RenderNode peer) + Opt_RectResult GetCaretRectImpl(Ark_RichEditorBaseController peer) { return {}; } - Opt_RenderNode GetPreviousSiblingImpl(Ark_RenderNode peer) + } // RichEditorBaseControllerAccessor + namespace RichEditorControllerAccessor { + void DestroyPeerImpl(Ark_RichEditorController peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void DrawImpl(Ark_RenderNode peer, - Ark_DrawContext context) + Ark_RichEditorController ConstructImpl() { + return {}; } - void InvalidateImpl(Ark_RenderNode peer) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - void DisposeImpl(Ark_RenderNode peer) + Ark_Number AddTextSpanImpl(Ark_RichEditorController peer, + const Ark_ResourceStr* content, + const Opt_RichEditorTextSpanOptions* options) { + return {}; } - Ark_Number GetBackgroundColorImpl(Ark_RenderNode peer) + Ark_Number AddImageSpanImpl(Ark_RichEditorController peer, + const Ark_Union_PixelMap_ResourceStr* value, + const Opt_RichEditorImageSpanOptions* options) { return {}; } - void SetBackgroundColorImpl(Ark_RenderNode peer, - const Ark_Number* backgroundColor) + Ark_Number AddBuilderSpanImpl(Ark_RichEditorController peer, + const CustomNodeBuilder* value, + const Opt_RichEditorBuilderSpanOptions* options) { + return {}; } - Ark_Boolean GetClipToFrameImpl(Ark_RenderNode peer) + Ark_Number AddSymbolSpanImpl(Ark_RichEditorController peer, + const Ark_Resource* value, + const Opt_RichEditorSymbolSpanOptions* options) { return {}; } - void SetClipToFrameImpl(Ark_RenderNode peer, - Ark_Boolean clipToFrame) + void UpdateSpanStyleImpl(Ark_RichEditorController peer, + const Ark_Union_RichEditorUpdateTextSpanStyleOptions_RichEditorUpdateImageSpanStyleOptions_RichEditorUpdateSymbolSpanStyleOptions* value) { } - Ark_Number GetOpacityImpl(Ark_RenderNode peer) + void UpdateParagraphStyleImpl(Ark_RichEditorController peer, + const Ark_RichEditorParagraphStyleOptions* value) { - return {}; } - void SetOpacityImpl(Ark_RenderNode peer, - const Ark_Number* opacity) + void DeleteSpansImpl(Ark_RichEditorController peer, + const Opt_RichEditorRange* value) { } - Ark_Size GetSizeImpl(Ark_RenderNode peer) + Array_Union_RichEditorImageSpanResult_RichEditorTextSpanResult GetSpansImpl(Ark_RichEditorController peer, + const Opt_RichEditorRange* value) { return {}; } - void SetSizeImpl(Ark_RenderNode peer, - const Ark_Size* size) + Array_RichEditorParagraphResult GetParagraphsImpl(Ark_RichEditorController peer, + const Opt_RichEditorRange* value) { + return {}; } - Ark_Vector2 GetPositionImpl(Ark_RenderNode peer) + Ark_RichEditorSelection GetSelectionImpl(Ark_RichEditorController peer) { return {}; } - void SetPositionImpl(Ark_RenderNode peer, - const Ark_Vector2* position) + Array_RichEditorSpan FromStyledStringImpl(Ark_RichEditorController peer, + Ark_StyledString value) { + return {}; } - Ark_Frame GetFrameImpl(Ark_RenderNode peer) + Ark_StyledString ToStyledStringImpl(Ark_RichEditorController peer, + const Ark_RichEditorRange* value) { return {}; } - void SetFrameImpl(Ark_RenderNode peer, - const Ark_Frame* frame) + } // RichEditorControllerAccessor + namespace RichEditorStyledStringControllerAccessor { + void DestroyPeerImpl(Ark_RichEditorStyledStringController peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Vector2 GetPivotImpl(Ark_RenderNode peer) + Ark_RichEditorStyledStringController ConstructImpl() { return {}; } - void SetPivotImpl(Ark_RenderNode peer, - const Ark_Vector2* pivot) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Vector2 GetScaleImpl(Ark_RenderNode peer) + void SetStyledStringImpl(Ark_RichEditorStyledStringController peer, + Ark_StyledString styledString) { - return {}; } - void SetScaleImpl(Ark_RenderNode peer, - const Ark_Vector2* scale) + Ark_MutableStyledString GetStyledStringImpl(Ark_RichEditorStyledStringController peer) { + return {}; } - Ark_Vector2 GetTranslationImpl(Ark_RenderNode peer) + Ark_RichEditorRange GetSelectionImpl(Ark_RichEditorStyledStringController peer) { return {}; } - void SetTranslationImpl(Ark_RenderNode peer, - const Ark_Vector2* translation) + void OnContentChangedImpl(Ark_RichEditorStyledStringController peer, + const Ark_StyledStringChangedListener* listener) { } - Ark_Vector3 GetRotationImpl(Ark_RenderNode peer) + } // RichEditorStyledStringControllerAccessor + namespace RotationGestureAccessor { + void DestroyPeerImpl(Ark_RotationGesture peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_RotationGesture ConstructImpl() { return {}; } - void SetRotationImpl(Ark_RenderNode peer, - const Ark_Vector3* rotation) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Matrix4 GetTransformImpl(Ark_RenderNode peer) + Ark_RotationGesture $_instantiateImpl(const Callback_RotationGesture* factory, + const Opt_RotationGestureHandlerOptions* value) { return {}; } - void SetTransformImpl(Ark_RenderNode peer, - const Ark_Matrix4* transform) + void OnActionStartImpl(Ark_RotationGesture peer, + const Callback_GestureEvent_Void* event) { } - Ark_Number GetShadowColorImpl(Ark_RenderNode peer) + void OnActionUpdateImpl(Ark_RotationGesture peer, + const Callback_GestureEvent_Void* event) { - return {}; } - void SetShadowColorImpl(Ark_RenderNode peer, - const Ark_Number* shadowColor) + void OnActionEndImpl(Ark_RotationGesture peer, + const Callback_GestureEvent_Void* event) { } - Ark_Vector2 GetShadowOffsetImpl(Ark_RenderNode peer) + void OnActionCancelImpl(Ark_RotationGesture peer, + const Callback_GestureEvent_Void* event) { - return {}; } - void SetShadowOffsetImpl(Ark_RenderNode peer, - const Ark_Vector2* shadowOffset) + } // RotationGestureAccessor + namespace RotationGestureEventAccessor { + void DestroyPeerImpl(Ark_RotationGestureEvent peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_String GetLabelImpl(Ark_RenderNode peer) + Ark_RotationGestureEvent ConstructImpl() { return {}; } - void SetLabelImpl(Ark_RenderNode peer, - const Ark_String* label) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetShadowAlphaImpl(Ark_RenderNode peer) + Ark_Number GetAngleImpl(Ark_RotationGestureEvent peer) { return {}; } - void SetShadowAlphaImpl(Ark_RenderNode peer, - const Ark_Number* shadowAlpha) + void SetAngleImpl(Ark_RotationGestureEvent peer, + const Ark_Number* angle) { } - Ark_Number GetShadowElevationImpl(Ark_RenderNode peer) + } // RotationGestureEventAccessor + namespace RotationRecognizerAccessor { + void DestroyPeerImpl(Ark_RotationRecognizer peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_RotationRecognizer ConstructImpl() { return {}; } - void SetShadowElevationImpl(Ark_RenderNode peer, - const Ark_Number* shadowElevation) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetShadowRadiusImpl(Ark_RenderNode peer) + Ark_Number GetAngleImpl(Ark_RotationRecognizer peer) { return {}; } - void SetShadowRadiusImpl(Ark_RenderNode peer, - const Ark_Number* shadowRadius) + } // RotationRecognizerAccessor + namespace ScaleSymbolEffectAccessor { + void DestroyPeerImpl(Ark_ScaleSymbolEffect peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_EdgeStyles GetBorderStyleImpl(Ark_RenderNode peer) + Ark_ScaleSymbolEffect ConstructImpl(const Opt_EffectScope* scope, + const Opt_EffectDirection* direction) { return {}; } - void SetBorderStyleImpl(Ark_RenderNode peer, - const Ark_EdgeStyles* borderStyle) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Edges GetBorderWidthImpl(Ark_RenderNode peer) + Opt_EffectScope GetScopeImpl(Ark_ScaleSymbolEffect peer) { return {}; } - void SetBorderWidthImpl(Ark_RenderNode peer, - const Ark_Edges* borderWidth) + void SetScopeImpl(Ark_ScaleSymbolEffect peer, + const Opt_EffectScope* scope) { } - Ark_Edges GetBorderColorImpl(Ark_RenderNode peer) + Opt_EffectDirection GetDirectionImpl(Ark_ScaleSymbolEffect peer) { return {}; } - void SetBorderColorImpl(Ark_RenderNode peer, - const Ark_Edges* borderColor) + void SetDirectionImpl(Ark_ScaleSymbolEffect peer, + const Opt_EffectDirection* direction) { } - Ark_BorderRadiuses_graphics GetBorderRadiusImpl(Ark_RenderNode peer) + } // ScaleSymbolEffectAccessor + namespace SceneAccessor { + void DestroyPeerImpl(Ark_Scene peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void SetBorderRadiusImpl(Ark_RenderNode peer, - const Ark_BorderRadiuses_graphics* borderRadius) + Ark_Scene ConstructImpl() { + return {}; } - Ark_ShapeMask GetShapeMaskImpl(Ark_RenderNode peer) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - void SetShapeMaskImpl(Ark_RenderNode peer, - Ark_ShapeMask shapeMask) + void LoadImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + const Opt_ResourceStr* uri, + const Callback_Opt_Scene_Opt_Array_String_Void* outputArgumentForReturningPromise) { } - Ark_ShapeClip GetShapeClipImpl(Ark_RenderNode peer) + void DestroyImpl(Ark_Scene peer) { - return {}; } - void SetShapeClipImpl(Ark_RenderNode peer, - Ark_ShapeClip shapeClip) + } // SceneAccessor + namespace ScreenCaptureHandlerAccessor { + void DestroyPeerImpl(Ark_ScreenCaptureHandler peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Boolean GetMarkNodeGroupImpl(Ark_RenderNode peer) + Ark_ScreenCaptureHandler ConstructImpl() { return {}; } - void SetMarkNodeGroupImpl(Ark_RenderNode peer, - Ark_Boolean markNodeGroup) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_LengthMetricsUnit GetLengthMetricsUnitImpl(Ark_RenderNode peer) + Ark_String GetOriginImpl(Ark_ScreenCaptureHandler peer) { return {}; } - void SetLengthMetricsUnitImpl(Ark_RenderNode peer, - Ark_LengthMetricsUnit lengthMetricsUnit) + void GrantImpl(Ark_ScreenCaptureHandler peer, + const Ark_ScreenCaptureConfig* config) { } - } // RenderNodeAccessor - namespace RenderServiceNodeAccessor { - Ark_Int32 GetNodeIdImpl(const Ark_String* nodeId) + void DenyImpl(Ark_ScreenCaptureHandler peer) + { + } + } // ScreenCaptureHandlerAccessor + namespace ScreenshotServiceAccessor { + Ark_Boolean RequestScreenshotImpl(const Ark_String* target, + const Ark_String* name) { return {}; } - } // RenderServiceNodeAccessor - namespace ReplaceSymbolEffectAccessor { - void DestroyPeerImpl(Ark_ReplaceSymbolEffect peer) + } // ScreenshotServiceAccessor + namespace ScrollableTargetInfoAccessor { + void DestroyPeerImpl(Ark_ScrollableTargetInfo peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_ReplaceSymbolEffect ConstructImpl(const Opt_EffectScope* scope) + Ark_ScrollableTargetInfo ConstructImpl() { return {}; } @@ -16601,25 +18017,24 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Opt_EffectScope GetScopeImpl(Ark_ReplaceSymbolEffect peer) + Ark_Boolean IsBeginImpl(Ark_ScrollableTargetInfo peer) { return {}; } - void SetScopeImpl(Ark_ReplaceSymbolEffect peer, - const Opt_EffectScope* scope) + Ark_Boolean IsEndImpl(Ark_ScrollableTargetInfo peer) { + return {}; } - } // ReplaceSymbolEffectAccessor - namespace RestrictedWorkerAccessor { - void DestroyPeerImpl(Ark_RestrictedWorker peer) + } // ScrollableTargetInfoAccessor + namespace ScrollerAccessor { + void DestroyPeerImpl(Ark_Scroller peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_RestrictedWorker ConstructImpl(const Ark_String* scriptURL, - const Opt_WorkerOptions* options) + Ark_Scroller ConstructImpl() { return {}; } @@ -16627,121 +18042,110 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void PostMessage0Impl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_Object* message, - const Array_Buffer* transfer) - { - } - void PostMessage1Impl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_Object* message, - const Opt_PostMessageOptions* options) + void ScrollToImpl(Ark_Scroller peer, + const Ark_ScrollOptions* options) { } - void PostMessageWithSharedSendableImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_Object* message, - const Opt_Array_Buffer* transfer) + void ScrollEdgeImpl(Ark_Scroller peer, + Ark_Edge value, + const Opt_ScrollEdgeOptions* options) { } - void OnImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_String* Type, - const Ark_WorkerEventListener* listener) + void FlingImpl(Ark_Scroller peer, + const Ark_Number* velocity) { } - void OnceImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_String* Type, - const Ark_WorkerEventListener* listener) + void ScrollPageImpl(Ark_Scroller peer, + const Ark_ScrollPageOptions* value) { } - void OffImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_String* Type, - const Opt_WorkerEventListener* listener) + Ark_OffsetResult CurrentOffsetImpl(Ark_Scroller peer) { + return {}; } - void TerminateImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer) + void ScrollToIndexImpl(Ark_Scroller peer, + const Ark_Number* value, + const Opt_Boolean* smooth, + const Opt_ScrollAlign* align, + const Opt_ScrollToIndexOptions* options) { } - void AddEventListenerImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_String* Type, - const Ark_WorkerEventListener* listener) + void ScrollByImpl(Ark_Scroller peer, + const Ark_Length* dx, + const Ark_Length* dy) { } - Ark_Boolean DispatchEventImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_Event* event) + Ark_Boolean IsAtEndImpl(Ark_Scroller peer) { return {}; } - void RemoveEventListenerImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_String* Type, - const Opt_WorkerEventListener* callback_) - { - } - void RemoveAllListenerImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer) + Ark_RectResult GetItemRectImpl(Ark_Scroller peer, + const Ark_Number* index) { + return {}; } - void RegisterGlobalCallObjectImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Ark_String* instanceName, - const Ark_Object* globalCallObject) + Ark_Number GetItemIndexImpl(Ark_Scroller peer, + const Ark_Number* x, + const Ark_Number* y) { + return {}; } - void UnregisterGlobalCallObjectImpl(Ark_VMContext vmContext, - Ark_RestrictedWorker peer, - const Opt_String* instanceName) + } // ScrollerAccessor + namespace ScrollMotionAccessor { + void DestroyPeerImpl(Ark_ScrollMotion peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Opt_RestrictedWorker_onexit_Callback GetOnexitImpl(Ark_RestrictedWorker peer) + Ark_ScrollMotion ConstructImpl(const Ark_Number* position, + const Ark_Number* velocity, + const Ark_Number* min, + const Ark_Number* max, + Ark_SpringProp prop) { return {}; } - void SetOnexitImpl(Ark_RestrictedWorker peer, - const Opt_RestrictedWorker_onexit_Callback* onexit) - { - } - Opt_RestrictedWorker_onerror_Callback GetOnerrorImpl(Ark_RestrictedWorker peer) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - void SetOnerrorImpl(Ark_RestrictedWorker peer, - const Opt_RestrictedWorker_onerror_Callback* onerror) + } // ScrollMotionAccessor + namespace ScrollResultAccessor { + void DestroyPeerImpl(Ark_ScrollResult peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Opt_RestrictedWorker_onmessage_Callback GetOnmessageImpl(Ark_RestrictedWorker peer) + Ark_ScrollResult ConstructImpl() { return {}; } - void SetOnmessageImpl(Ark_RestrictedWorker peer, - const Opt_RestrictedWorker_onmessage_Callback* onmessage) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Opt_RestrictedWorker_onmessage_Callback GetOnmessageerrorImpl(Ark_RestrictedWorker peer) + Ark_Number GetOffsetRemainImpl(Ark_ScrollResult peer) { return {}; } - void SetOnmessageerrorImpl(Ark_RestrictedWorker peer, - const Opt_RestrictedWorker_onmessage_Callback* onmessageerror) + void SetOffsetRemainImpl(Ark_ScrollResult peer, + const Ark_Number* offsetRemain) { } - } // RestrictedWorkerAccessor - namespace RichEditorBaseControllerAccessor { - void DestroyPeerImpl(Ark_RichEditorBaseController peer) + } // ScrollResultAccessor + namespace SearchControllerAccessor { + void DestroyPeerImpl(Ark_SearchController peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_RichEditorBaseController ConstructImpl() + Ark_SearchController ConstructImpl() { return {}; } @@ -16749,61 +18153,76 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetCaretOffsetImpl(Ark_RichEditorBaseController peer) + void CaretPositionImpl(Ark_SearchController peer, + const Ark_Number* value) { - return {}; } - Ark_Boolean SetCaretOffsetImpl(Ark_RichEditorBaseController peer, - const Ark_Number* offset) + void StopEditingImpl(Ark_SearchController peer) { - return {}; } - void CloseSelectionMenuImpl(Ark_RichEditorBaseController peer) + void SetTextSelectionImpl(Ark_SearchController peer, + const Ark_Number* selectionStart, + const Ark_Number* selectionEnd, + const Opt_SelectionOptions* options) { } - Ark_RichEditorTextStyle GetTypingStyleImpl(Ark_RichEditorBaseController peer) + } // SearchControllerAccessor + namespace SearchOpsAccessor { + Ark_NativePointer RegisterSearchValueCallbackImpl(Ark_NativePointer node, + const Ark_String* value, + const SearchValueCallback* callback) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); return {}; } - void SetTypingStyleImpl(Ark_RichEditorBaseController peer, - const Ark_RichEditorTextStyle* value) + } // SearchOpsAccessor + namespace ShapeClipAccessor { + void DestroyPeerImpl(Ark_ShapeClip peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_ShapeClip ConstructImpl() { + return {}; } - void SetSelectionImpl(Ark_RichEditorBaseController peer, - const Ark_Number* selectionStart, - const Ark_Number* selectionEnd, - const Opt_SelectionOptions* options) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Boolean IsEditingImpl(Ark_RichEditorBaseController peer) + void SetRectShapeImpl(Ark_ShapeClip peer, + const Ark_common2D_Rect* rect) { - return {}; } - void StopEditingImpl(Ark_RichEditorBaseController peer) + void SetRoundRectShapeImpl(Ark_ShapeClip peer, + const Ark_RoundRect* roundRect) { } - Ark_LayoutManager GetLayoutManagerImpl(Ark_RichEditorBaseController peer) + void SetCircleShapeImpl(Ark_ShapeClip peer, + const Ark_Circle* circle) { - return {}; } - Ark_PreviewText GetPreviewTextImpl(Ark_RichEditorBaseController peer) + void SetOvalShapeImpl(Ark_ShapeClip peer, + const Ark_common2D_Rect* oval) { - return {}; } - Opt_RectResult GetCaretRectImpl(Ark_RichEditorBaseController peer) + void SetCommandPathImpl(Ark_ShapeClip peer, + const Ark_CommandPath* path) { - return {}; } - } // RichEditorBaseControllerAccessor - namespace RichEditorControllerAccessor { - void DestroyPeerImpl(Ark_RichEditorController peer) + } // ShapeClipAccessor + namespace ShapeMaskAccessor { + void DestroyPeerImpl(Ark_ShapeMask peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_RichEditorController ConstructImpl() + Ark_ShapeMask ConstructImpl() { return {}; } @@ -16811,76 +18230,82 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number AddTextSpanImpl(Ark_RichEditorController peer, - const Ark_ResourceStr* content, - const Opt_RichEditorTextSpanOptions* options) + void SetRectShapeImpl(Ark_ShapeMask peer, + const Ark_common2D_Rect* rect) { - return {}; } - Ark_Number AddImageSpanImpl(Ark_RichEditorController peer, - const Ark_Union_PixelMap_ResourceStr* value, - const Opt_RichEditorImageSpanOptions* options) + void SetRoundRectShapeImpl(Ark_ShapeMask peer, + const Ark_RoundRect* roundRect) { - return {}; } - Ark_Number AddBuilderSpanImpl(Ark_RichEditorController peer, - const CustomNodeBuilder* value, - const Opt_RichEditorBuilderSpanOptions* options) + void SetCircleShapeImpl(Ark_ShapeMask peer, + const Ark_Circle* circle) { - return {}; } - Ark_Number AddSymbolSpanImpl(Ark_RichEditorController peer, - const Ark_Resource* value, - const Opt_RichEditorSymbolSpanOptions* options) + void SetOvalShapeImpl(Ark_ShapeMask peer, + const Ark_common2D_Rect* oval) { - return {}; } - void UpdateSpanStyleImpl(Ark_RichEditorController peer, - const Ark_Union_RichEditorUpdateTextSpanStyleOptions_RichEditorUpdateImageSpanStyleOptions_RichEditorUpdateSymbolSpanStyleOptions* value) + void SetCommandPathImpl(Ark_ShapeMask peer, + const Ark_CommandPath* path) { } - void UpdateParagraphStyleImpl(Ark_RichEditorController peer, - const Ark_RichEditorParagraphStyleOptions* value) + Ark_Number GetFillColorImpl(Ark_ShapeMask peer) { + return {}; } - void DeleteSpansImpl(Ark_RichEditorController peer, - const Opt_RichEditorRange* value) + void SetFillColorImpl(Ark_ShapeMask peer, + const Ark_Number* fillColor) { } - Array_Union_RichEditorImageSpanResult_RichEditorTextSpanResult GetSpansImpl(Ark_RichEditorController peer, - const Opt_RichEditorRange* value) + Ark_Number GetStrokeColorImpl(Ark_ShapeMask peer) { return {}; } - Array_RichEditorParagraphResult GetParagraphsImpl(Ark_RichEditorController peer, - const Opt_RichEditorRange* value) + void SetStrokeColorImpl(Ark_ShapeMask peer, + const Ark_Number* strokeColor) { - return {}; } - Ark_RichEditorSelection GetSelectionImpl(Ark_RichEditorController peer) + Ark_Number GetStrokeWidthImpl(Ark_ShapeMask peer) { return {}; } - Array_RichEditorSpan FromStyledStringImpl(Ark_RichEditorController peer, - Ark_StyledString value) + void SetStrokeWidthImpl(Ark_ShapeMask peer, + const Ark_Number* strokeWidth) { - return {}; } - Ark_StyledString ToStyledStringImpl(Ark_RichEditorController peer, - const Ark_RichEditorRange* value) + } // ShapeMaskAccessor + namespace SpringMotionAccessor { + void DestroyPeerImpl(Ark_SpringMotion peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_SpringMotion ConstructImpl(const Ark_Number* start, + const Ark_Number* end, + const Ark_Number* velocity, + Ark_SpringProp prop) { return {}; } - } // RichEditorControllerAccessor - namespace RichEditorStyledStringControllerAccessor { - void DestroyPeerImpl(Ark_RichEditorStyledStringController peer) + Ark_NativePointer GetFinalizerImpl() { - auto peerImpl = reinterpret_cast(peer); + return reinterpret_cast(&DestroyPeerImpl); + } + } // SpringMotionAccessor + namespace SpringPropAccessor { + void DestroyPeerImpl(Ark_SpringProp peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_RichEditorStyledStringController ConstructImpl() + Ark_SpringProp ConstructImpl(const Ark_Number* mass, + const Ark_Number* stiffness, + const Ark_Number* damping) { return {}; } @@ -16888,32 +18313,48 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void SetStyledStringImpl(Ark_RichEditorStyledStringController peer, - Ark_StyledString styledString) + } // SpringPropAccessor + namespace SslErrorHandlerAccessor { + void DestroyPeerImpl(Ark_SslErrorHandler peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_MutableStyledString GetStyledStringImpl(Ark_RichEditorStyledStringController peer) + Ark_SslErrorHandler ConstructImpl() { return {}; } - Ark_RichEditorRange GetSelectionImpl(Ark_RichEditorStyledStringController peer) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - void OnContentChangedImpl(Ark_RichEditorStyledStringController peer, - const Ark_StyledStringChangedListener* listener) + void HandleConfirmImpl(Ark_SslErrorHandler peer) { } - } // RichEditorStyledStringControllerAccessor - namespace RotationGestureAccessor { - void DestroyPeerImpl(Ark_RotationGesture peer) + void HandleCancelImpl(Ark_SslErrorHandler peer) { - auto peerImpl = reinterpret_cast(peer); + } + } // SslErrorHandlerAccessor + namespace StateStylesOpsAccessor { + void OnStateStyleChangeImpl(Ark_NativePointer node, + const Callback_StateStylesChange* stateStyleChange) + { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); + } + } // StateStylesOpsAccessor + namespace StyledStringAccessor { + void DestroyPeerImpl(Ark_StyledString peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_RotationGesture ConstructImpl() + Ark_StyledString ConstructImpl(const Ark_Union_String_ImageAttachment_CustomSpan* value, + const Opt_Array_StyleOptions* styles) { return {}; } @@ -16921,62 +18362,74 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_RotationGesture $_instantiateImpl(const Callback_RotationGesture* factory, - const Opt_RotationGestureHandlerOptions* value) + Ark_String GetStringImpl(Ark_StyledString peer) { return {}; } - void OnActionStartImpl(Ark_RotationGesture peer, - const Callback_GestureEvent_Void* event) + Array_SpanStyle GetStylesImpl(Ark_StyledString peer, + const Ark_Number* start, + const Ark_Number* length, + const Opt_StyledStringKey* styledKey) { + return {}; } - void OnActionUpdateImpl(Ark_RotationGesture peer, - const Callback_GestureEvent_Void* event) + Ark_Boolean EqualsImpl(Ark_StyledString peer, + Ark_StyledString other) { + return {}; } - void OnActionEndImpl(Ark_RotationGesture peer, - const Callback_GestureEvent_Void* event) + Ark_StyledString SubStyledStringImpl(Ark_StyledString peer, + const Ark_Number* start, + const Opt_Number* length) { + return {}; } - void OnActionCancelImpl(Ark_RotationGesture peer, - const Callback_GestureEvent_Void* event) + void FromHtmlImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + const Ark_String* html, + const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) { } - } // RotationGestureAccessor - namespace RotationGestureEventAccessor { - void DestroyPeerImpl(Ark_RotationGestureEvent peer) + Ark_String ToHtmlImpl(Ark_StyledString styledString) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_RotationGestureEvent ConstructImpl() + Ark_Buffer Marshalling0Impl(Ark_StyledString styledString, + const StyledStringMarshallCallback* callback_) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void Unmarshalling0Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + const Ark_Buffer* buffer, + const StyledStringUnmarshallCallback* callback_, + const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetAngleImpl(Ark_RotationGestureEvent peer) + Ark_Buffer Marshalling1Impl(Ark_StyledString styledString) { return {}; } - void SetAngleImpl(Ark_RotationGestureEvent peer, - const Ark_Number* angle) + void Unmarshalling1Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + const Ark_Buffer* buffer, + const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) { } - } // RotationGestureEventAccessor - namespace RotationRecognizerAccessor { - void DestroyPeerImpl(Ark_RotationRecognizer peer) + Ark_Number GetLengthImpl(Ark_StyledString peer) { - auto peerImpl = reinterpret_cast(peer); + return {}; + } + } // StyledStringAccessor + namespace StyledStringControllerAccessor { + void DestroyPeerImpl(Ark_StyledStringController peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_RotationRecognizer ConstructImpl() + Ark_StyledStringController ConstructImpl() { return {}; } @@ -16984,21 +18437,24 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetAngleImpl(Ark_RotationRecognizer peer) + void SetStyledStringImpl(Ark_StyledStringController peer, + Ark_StyledString styledString) + { + } + Ark_MutableStyledString GetStyledStringImpl(Ark_StyledStringController peer) { return {}; } - } // RotationRecognizerAccessor - namespace ScaleSymbolEffectAccessor { - void DestroyPeerImpl(Ark_ScaleSymbolEffect peer) + } // StyledStringControllerAccessor + namespace SubmitEventAccessor { + void DestroyPeerImpl(Ark_SubmitEvent peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_ScaleSymbolEffect ConstructImpl(const Opt_EffectScope* scope, - const Opt_EffectDirection* direction) + Ark_SubmitEvent ConstructImpl() { return {}; } @@ -17006,32 +18462,27 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Opt_EffectScope GetScopeImpl(Ark_ScaleSymbolEffect peer) - { - return {}; - } - void SetScopeImpl(Ark_ScaleSymbolEffect peer, - const Opt_EffectScope* scope) + void KeepEditableStateImpl(Ark_SubmitEvent peer) { } - Opt_EffectDirection GetDirectionImpl(Ark_ScaleSymbolEffect peer) + Ark_String GetTextImpl(Ark_SubmitEvent peer) { return {}; } - void SetDirectionImpl(Ark_ScaleSymbolEffect peer, - const Opt_EffectDirection* direction) + void SetTextImpl(Ark_SubmitEvent peer, + const Ark_String* text) { } - } // ScaleSymbolEffectAccessor - namespace SceneAccessor { - void DestroyPeerImpl(Ark_Scene peer) + } // SubmitEventAccessor + namespace SwipeGestureAccessor { + void DestroyPeerImpl(Ark_SwipeGesture peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_Scene ConstructImpl() + Ark_SwipeGesture ConstructImpl() { return {}; } @@ -17039,32 +18490,25 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void LoadImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - const Opt_ResourceStr* uri, - const Callback_Opt_Scene_Opt_Array_String_Void* outputArgumentForReturningPromise) - { - } - void DestroyImpl(Ark_Scene peer) + Ark_SwipeGesture $_instantiateImpl(const Callback_SwipeGesture* factory, + const Opt_SwipeGestureHandlerOptions* value) { + return {}; } - } // SceneAccessor - namespace ScreenshotServiceAccessor { - Ark_Boolean RequestScreenshotImpl(const Ark_String* target, - const Ark_String* name) + void OnActionImpl(Ark_SwipeGesture peer, + const Callback_GestureEvent_Void* event) { - return {}; } - } // ScreenshotServiceAccessor - namespace ScrollableTargetInfoAccessor { - void DestroyPeerImpl(Ark_ScrollableTargetInfo peer) + } // SwipeGestureAccessor + namespace SwipeGestureEventAccessor { + void DestroyPeerImpl(Ark_SwipeGestureEvent peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_ScrollableTargetInfo ConstructImpl() + Ark_SwipeGestureEvent ConstructImpl() { return {}; } @@ -17072,24 +18516,32 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_Boolean IsBeginImpl(Ark_ScrollableTargetInfo peer) + Ark_Number GetAngleImpl(Ark_SwipeGestureEvent peer) { return {}; } - Ark_Boolean IsEndImpl(Ark_ScrollableTargetInfo peer) + void SetAngleImpl(Ark_SwipeGestureEvent peer, + const Ark_Number* angle) + { + } + Ark_Number GetSpeedImpl(Ark_SwipeGestureEvent peer) { return {}; } - } // ScrollableTargetInfoAccessor - namespace ScrollerAccessor { - void DestroyPeerImpl(Ark_Scroller peer) + void SetSpeedImpl(Ark_SwipeGestureEvent peer, + const Ark_Number* speed) { - auto peerImpl = reinterpret_cast(peer); + } + } // SwipeGestureEventAccessor + namespace SwiperContentTransitionProxyAccessor { + void DestroyPeerImpl(Ark_SwiperContentTransitionProxy peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_Scroller ConstructImpl() + Ark_SwiperContentTransitionProxy ConstructImpl() { return {}; } @@ -17097,68 +18549,51 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void ScrollToImpl(Ark_Scroller peer, - const Ark_ScrollOptions* options) - { - } - void ScrollEdgeImpl(Ark_Scroller peer, - Ark_Edge value, - const Opt_ScrollEdgeOptions* options) + void FinishTransitionImpl(Ark_SwiperContentTransitionProxy peer) { } - void FlingImpl(Ark_Scroller peer, - const Ark_Number* velocity) + Ark_Number GetSelectedIndexImpl(Ark_SwiperContentTransitionProxy peer) { + return {}; } - void ScrollPageImpl(Ark_Scroller peer, - const Ark_ScrollPageOptions* value) + void SetSelectedIndexImpl(Ark_SwiperContentTransitionProxy peer, + const Ark_Number* selectedIndex) { } - Ark_OffsetResult CurrentOffsetImpl(Ark_Scroller peer) + Ark_Number GetIndexImpl(Ark_SwiperContentTransitionProxy peer) { return {}; } - void ScrollToIndexImpl(Ark_Scroller peer, - const Ark_Number* value, - const Opt_Boolean* smooth, - const Opt_ScrollAlign* align, - const Opt_ScrollToIndexOptions* options) + void SetIndexImpl(Ark_SwiperContentTransitionProxy peer, + const Ark_Number* index) { } - void ScrollByImpl(Ark_Scroller peer, - const Ark_Length* dx, - const Ark_Length* dy) + Ark_Number GetPositionImpl(Ark_SwiperContentTransitionProxy peer) { + return {}; } - Ark_Boolean IsAtEndImpl(Ark_Scroller peer) + void SetPositionImpl(Ark_SwiperContentTransitionProxy peer, + const Ark_Number* position) { - return {}; } - Ark_RectResult GetItemRectImpl(Ark_Scroller peer, - const Ark_Number* index) + Ark_Number GetMainAxisLengthImpl(Ark_SwiperContentTransitionProxy peer) { return {}; } - Ark_Number GetItemIndexImpl(Ark_Scroller peer, - const Ark_Number* x, - const Ark_Number* y) + void SetMainAxisLengthImpl(Ark_SwiperContentTransitionProxy peer, + const Ark_Number* mainAxisLength) { - return {}; } - } // ScrollerAccessor - namespace ScrollMotionAccessor { - void DestroyPeerImpl(Ark_ScrollMotion peer) + } // SwiperContentTransitionProxyAccessor + namespace SwiperControllerAccessor { + void DestroyPeerImpl(Ark_SwiperController peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_ScrollMotion ConstructImpl(const Ark_Number* position, - const Ark_Number* velocity, - const Ark_Number* min, - const Ark_Number* max, - Ark_SpringProp prop) + Ark_SwiperController ConstructImpl() { return {}; } @@ -17166,41 +18601,38 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - } // ScrollMotionAccessor - namespace ScrollResultAccessor { - void DestroyPeerImpl(Ark_ScrollResult peer) + void ShowNextImpl(Ark_SwiperController peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_ScrollResult ConstructImpl() + void ShowPreviousImpl(Ark_SwiperController peer) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void ChangeIndexImpl(Ark_SwiperController peer, + const Ark_Number* index, + const Opt_Union_SwiperAnimationMode_Boolean* animationMode) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetOffsetRemainImpl(Ark_ScrollResult peer) + void FinishAnimationImpl(Ark_SwiperController peer, + const Opt_VoidCallback* callback_) { - return {}; } - void SetOffsetRemainImpl(Ark_ScrollResult peer, - const Ark_Number* offsetRemain) + void PreloadItemsImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_SwiperController peer, + const Opt_Array_Number* indices, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { } - } // ScrollResultAccessor - namespace SearchControllerAccessor { - void DestroyPeerImpl(Ark_SearchController peer) + } // SwiperControllerAccessor + namespace SwipeRecognizerAccessor { + void DestroyPeerImpl(Ark_SwipeRecognizer peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_SearchController ConstructImpl() + Ark_SwipeRecognizer ConstructImpl() { return {}; } @@ -17208,76 +18640,76 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void CaretPositionImpl(Ark_SearchController peer, - const Ark_Number* value) + Ark_Number GetVelocityThresholdImpl(Ark_SwipeRecognizer peer) { + return {}; } - void StopEditingImpl(Ark_SearchController peer) + Ark_SwipeDirection GetDirectionImpl(Ark_SwipeRecognizer peer) { + return {}; } - void SetTextSelectionImpl(Ark_SearchController peer, - const Ark_Number* selectionStart, - const Ark_Number* selectionEnd, - const Opt_SelectionOptions* options) + } // SwipeRecognizerAccessor + namespace SymbolEffectAccessor { + void DestroyPeerImpl(Ark_SymbolEffect peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - } // SearchControllerAccessor - namespace SearchOpsAccessor { - Ark_NativePointer RegisterSearchValueCallbackImpl(Ark_NativePointer node, - const Ark_String* value, - const SearchValueCallback* callback) + Ark_SymbolEffect ConstructImpl() { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); return {}; } - } // SearchOpsAccessor - namespace ShapeClipAccessor { - void DestroyPeerImpl(Ark_ShapeClip peer) + Ark_NativePointer GetFinalizerImpl() { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return reinterpret_cast(&DestroyPeerImpl); } - Ark_ShapeClip ConstructImpl() + } // SymbolEffectAccessor + namespace SystemOpsAccessor { + Ark_NativePointer StartFrameImpl() { return {}; } - Ark_NativePointer GetFinalizerImpl() + void EndFrameImpl(Ark_NativePointer root) + { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); + } + void SyncInstanceIdImpl(Ark_Int32 instanceId) { - return reinterpret_cast(&DestroyPeerImpl); } - void SetRectShapeImpl(Ark_ShapeClip peer, - const Ark_common2D_Rect* rect) + void RestoreInstanceIdImpl() { } - void SetRoundRectShapeImpl(Ark_ShapeClip peer, - const Ark_RoundRect* roundRect) + Ark_Int32 GetResourceIdImpl(const Ark_String* bundleName, + const Ark_String* moduleName, + const Array_String* params) { + return {}; } - void SetCircleShapeImpl(Ark_ShapeClip peer, - const Ark_Circle* circle) + void ResourceManagerResetImpl() { } - void SetOvalShapeImpl(Ark_ShapeClip peer, - const Ark_common2D_Rect* oval) + void SetFrameCallbackImpl(const Callback_Number_Void* onFrameCallback, + const Callback_Number_Void* onIdleCallback, + const Ark_Number* delayTime) { } - void SetCommandPathImpl(Ark_ShapeClip peer, - const Ark_CommandPath* path) + Array_Number ColorMetricsResourceColorImpl(const Ark_Resource* color) { + return {}; } - } // ShapeClipAccessor - namespace ShapeMaskAccessor { - void DestroyPeerImpl(Ark_ShapeMask peer) + } // SystemOpsAccessor + namespace TabBarSymbolAccessor { + void DestroyPeerImpl(Ark_TabBarSymbol peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_ShapeMask ConstructImpl() + Ark_TabBarSymbol ConstructImpl() { return {}; } @@ -17285,63 +18717,68 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void SetRectShapeImpl(Ark_ShapeMask peer, - const Ark_common2D_Rect* rect) + Ark_SymbolGlyphModifier GetNormalImpl(Ark_TabBarSymbol peer) { + return {}; } - void SetRoundRectShapeImpl(Ark_ShapeMask peer, - const Ark_RoundRect* roundRect) + void SetNormalImpl(Ark_TabBarSymbol peer, + const Ark_SymbolGlyphModifier* normal) { } - void SetCircleShapeImpl(Ark_ShapeMask peer, - const Ark_Circle* circle) + Opt_SymbolGlyphModifier GetSelectedImpl(Ark_TabBarSymbol peer) { + return {}; } - void SetOvalShapeImpl(Ark_ShapeMask peer, - const Ark_common2D_Rect* oval) + void SetSelectedImpl(Ark_TabBarSymbol peer, + const Opt_SymbolGlyphModifier* selected) { } - void SetCommandPathImpl(Ark_ShapeMask peer, - const Ark_CommandPath* path) + } // TabBarSymbolAccessor + namespace TabContentTransitionProxyAccessor { + void DestroyPeerImpl(Ark_TabContentTransitionProxy peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Number GetFillColorImpl(Ark_ShapeMask peer) + Ark_TabContentTransitionProxy ConstructImpl() { return {}; } - void SetFillColorImpl(Ark_ShapeMask peer, - const Ark_Number* fillColor) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetStrokeColorImpl(Ark_ShapeMask peer) + void FinishTransitionImpl(Ark_TabContentTransitionProxy peer) + { + } + Ark_Number GetFromImpl(Ark_TabContentTransitionProxy peer) { return {}; } - void SetStrokeColorImpl(Ark_ShapeMask peer, - const Ark_Number* strokeColor) + void SetFromImpl(Ark_TabContentTransitionProxy peer, + const Ark_Number* from) { } - Ark_Number GetStrokeWidthImpl(Ark_ShapeMask peer) + Ark_Number GetToImpl(Ark_TabContentTransitionProxy peer) { return {}; } - void SetStrokeWidthImpl(Ark_ShapeMask peer, - const Ark_Number* strokeWidth) + void SetToImpl(Ark_TabContentTransitionProxy peer, + const Ark_Number* to) { } - } // ShapeMaskAccessor - namespace SpringMotionAccessor { - void DestroyPeerImpl(Ark_SpringMotion peer) + } // TabContentTransitionProxyAccessor + namespace TabsControllerAccessor { + void DestroyPeerImpl(Ark_TabsController peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_SpringMotion ConstructImpl(const Ark_Number* start, - const Ark_Number* end, - const Ark_Number* velocity, - Ark_SpringProp prop) + Ark_TabsController ConstructImpl() { return {}; } @@ -17349,44 +18786,35 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - } // SpringMotionAccessor - namespace SpringPropAccessor { - void DestroyPeerImpl(Ark_SpringProp peer) + void ChangeIndexImpl(Ark_TabsController peer, + const Ark_Number* value) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_SpringProp ConstructImpl(const Ark_Number* mass, - const Ark_Number* stiffness, - const Ark_Number* damping) + void PreloadItemsImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_TabsController peer, + const Opt_Array_Number* indices, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetTabBarTranslateImpl(Ark_TabsController peer, + const Ark_TranslateOptions* translate) { - return reinterpret_cast(&DestroyPeerImpl); } - } // SpringPropAccessor - namespace StateStylesOpsAccessor { - void OnStateStyleChangeImpl(Ark_NativePointer node, - const Callback_StateStylesChange* stateStyleChange) + void SetTabBarOpacityImpl(Ark_TabsController peer, + const Ark_Number* opacity) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); } - } // StateStylesOpsAccessor - namespace StyledStringAccessor { - void DestroyPeerImpl(Ark_StyledString peer) + } // TabsControllerAccessor + namespace TapGestureEventAccessor { + void DestroyPeerImpl(Ark_TapGestureEvent peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_StyledString ConstructImpl(const Ark_Union_String_ImageAttachment_CustomSpan* value, - const Opt_Array_StyleOptions* styles) + Ark_TapGestureEvent ConstructImpl() { return {}; } @@ -17394,74 +18822,59 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_String GetStringImpl(Ark_StyledString peer) - { - return {}; - } - Array_SpanStyle GetStylesImpl(Ark_StyledString peer, - const Ark_Number* start, - const Ark_Number* length, - const Opt_StyledStringKey* styledKey) - { - return {}; - } - Ark_Boolean EqualsImpl(Ark_StyledString peer, - Ark_StyledString other) + } // TapGestureEventAccessor + namespace TapGestureInterfaceAccessor { + void DestroyPeerImpl(Ark_TapGestureInterface peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_StyledString SubStyledStringImpl(Ark_StyledString peer, - const Ark_Number* start, - const Opt_Number* length) + Ark_TapGestureInterface ConstructImpl(const Ark_TapGestureParameters* value) { return {}; } - void FromHtmlImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - const Ark_String* html, - const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) - { - } - Ark_String ToHtmlImpl(Ark_StyledString styledString) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Buffer Marshalling0Impl(Ark_StyledString styledString, - const StyledStringMarshallCallback* callback_) + Ark_TapGestureInterface OnActionImpl(Ark_TapGestureInterface peer, + const Callback_GestureEvent_Void* event) { return {}; } - void Unmarshalling0Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - const Ark_Buffer* buffer, - const StyledStringUnmarshallCallback* callback_, - const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) + } // TapGestureInterfaceAccessor + namespace TapRecognizerAccessor { + void DestroyPeerImpl(Ark_TapRecognizer peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Buffer Marshalling1Impl(Ark_StyledString styledString) + Ark_TapRecognizer ConstructImpl() { return {}; } - void Unmarshalling1Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - const Ark_Buffer* buffer, - const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetLengthImpl(Ark_StyledString peer) + Ark_Number GetTapCountImpl(Ark_TapRecognizer peer) { return {}; } - } // StyledStringAccessor - namespace StyledStringControllerAccessor { - void DestroyPeerImpl(Ark_StyledStringController peer) + } // TapRecognizerAccessor + namespace text_FontCollectionAccessor { + void DestroyPeerImpl(Ark_text_FontCollection peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_StyledStringController ConstructImpl() + Ark_text_FontCollection ConstructImpl() { return {}; } @@ -17469,24 +18882,36 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void SetStyledStringImpl(Ark_StyledStringController peer, - Ark_StyledString styledString) + Ark_text_FontCollection GetGlobalInstanceImpl() { + return {}; } - Ark_MutableStyledString GetStyledStringImpl(Ark_StyledStringController peer) + void LoadFontSyncImpl(Ark_text_FontCollection peer, + const Ark_String* name, + const Ark_Union_String_Resource* path) { - return {}; } - } // StyledStringControllerAccessor - namespace SubmitEventAccessor { - void DestroyPeerImpl(Ark_SubmitEvent peer) + void LoadFontImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_text_FontCollection peer, + const Ark_String* name, + const Ark_Union_String_Resource* path, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { - auto peerImpl = reinterpret_cast(peer); + } + void ClearCachesImpl(Ark_text_FontCollection peer) + { + } + } // text_FontCollectionAccessor + namespace text_LineTypesetAccessor { + void DestroyPeerImpl(Ark_text_LineTypeset peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_SubmitEvent ConstructImpl() + Ark_text_LineTypeset ConstructImpl() { return {}; } @@ -17494,27 +18919,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void KeepEditableStateImpl(Ark_SubmitEvent peer) - { - } - Ark_String GetTextImpl(Ark_SubmitEvent peer) + Ark_Number GetLineBreakImpl(Ark_text_LineTypeset peer, + const Ark_Number* startIndex, + const Ark_Number* width) { return {}; } - void SetTextImpl(Ark_SubmitEvent peer, - const Ark_String* text) + Ark_text_TextLine CreateLineImpl(Ark_text_LineTypeset peer, + const Ark_Number* startIndex, + const Ark_Number* count) { + return {}; } - } // SubmitEventAccessor - namespace SwipeGestureAccessor { - void DestroyPeerImpl(Ark_SwipeGesture peer) + } // text_LineTypesetAccessor + namespace text_ParagraphAccessor { + void DestroyPeerImpl(Ark_text_Paragraph peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_SwipeGesture ConstructImpl() + Ark_text_Paragraph ConstructImpl() { return {}; } @@ -17522,110 +18948,132 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_SwipeGesture $_instantiateImpl(const Callback_SwipeGesture* factory, - const Opt_SwipeGestureHandlerOptions* value) + void LayoutSyncImpl(Ark_text_Paragraph peer, + const Ark_Number* width) { - return {}; } - void OnActionImpl(Ark_SwipeGesture peer, - const Callback_GestureEvent_Void* event) + void LayoutImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_text_Paragraph peer, + const Ark_Number* width, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { } - } // SwipeGestureAccessor - namespace SwipeGestureEventAccessor { - void DestroyPeerImpl(Ark_SwipeGestureEvent peer) + void PaintImpl(Ark_text_Paragraph peer, + Ark_drawing_Canvas canvas, + const Ark_Number* x, + const Ark_Number* y) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_SwipeGestureEvent ConstructImpl() + void PaintOnPathImpl(Ark_text_Paragraph peer, + Ark_drawing_Canvas canvas, + Ark_drawing_Path path, + const Ark_Number* hOffset, + const Ark_Number* vOffset) + { + } + Ark_Number GetMaxWidthImpl(Ark_text_Paragraph peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number GetHeightImpl(Ark_text_Paragraph peer) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - Ark_Number GetAngleImpl(Ark_SwipeGestureEvent peer) + Ark_Number GetLongestLineImpl(Ark_text_Paragraph peer) { return {}; } - void SetAngleImpl(Ark_SwipeGestureEvent peer, - const Ark_Number* angle) + Ark_Number GetLongestLineWithIndentImpl(Ark_text_Paragraph peer) { + return {}; } - Ark_Number GetSpeedImpl(Ark_SwipeGestureEvent peer) + Ark_Number GetMinIntrinsicWidthImpl(Ark_text_Paragraph peer) { return {}; } - void SetSpeedImpl(Ark_SwipeGestureEvent peer, - const Ark_Number* speed) + Ark_Number GetMaxIntrinsicWidthImpl(Ark_text_Paragraph peer) { + return {}; } - } // SwipeGestureEventAccessor - namespace SwiperContentTransitionProxyAccessor { - void DestroyPeerImpl(Ark_SwiperContentTransitionProxy peer) + Ark_Number GetAlphabeticBaselineImpl(Ark_text_Paragraph peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_SwiperContentTransitionProxy ConstructImpl() + Ark_Number GetIdeographicBaselineImpl(Ark_text_Paragraph peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + Array_text_TextBox GetRectsForRangeImpl(Ark_text_Paragraph peer, + const Ark_text_Range* range, + Ark_text_RectWidthStyle widthStyle, + Ark_text_RectHeightStyle heightStyle) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - void FinishTransitionImpl(Ark_SwiperContentTransitionProxy peer) + Array_text_TextBox GetRectsForPlaceholdersImpl(Ark_text_Paragraph peer) { + return {}; } - Ark_Number GetSelectedIndexImpl(Ark_SwiperContentTransitionProxy peer) + Ark_text_PositionWithAffinity GetGlyphPositionAtCoordinateImpl(Ark_text_Paragraph peer, + const Ark_Number* x, + const Ark_Number* y) { return {}; } - void SetSelectedIndexImpl(Ark_SwiperContentTransitionProxy peer, - const Ark_Number* selectedIndex) + Ark_text_Range GetWordBoundaryImpl(Ark_text_Paragraph peer, + const Ark_Number* offset) { + return {}; } - Ark_Number GetIndexImpl(Ark_SwiperContentTransitionProxy peer) + Ark_Number GetLineCountImpl(Ark_text_Paragraph peer) { return {}; } - void SetIndexImpl(Ark_SwiperContentTransitionProxy peer, - const Ark_Number* index) + Ark_Number GetLineHeightImpl(Ark_text_Paragraph peer, + const Ark_Number* line) { + return {}; } - Ark_Number GetPositionImpl(Ark_SwiperContentTransitionProxy peer) + Ark_Number GetLineWidthImpl(Ark_text_Paragraph peer, + const Ark_Number* line) { return {}; } - void SetPositionImpl(Ark_SwiperContentTransitionProxy peer, - const Ark_Number* position) + Ark_Boolean DidExceedMaxLinesImpl(Ark_text_Paragraph peer) { + return {}; } - Ark_Number GetMainAxisLengthImpl(Ark_SwiperContentTransitionProxy peer) + Array_text_TextLine GetTextLinesImpl(Ark_text_Paragraph peer) { return {}; } - void SetMainAxisLengthImpl(Ark_SwiperContentTransitionProxy peer, - const Ark_Number* mainAxisLength) + Ark_text_Range GetActualTextRangeImpl(Ark_text_Paragraph peer, + const Ark_Number* lineNumber, + Ark_Boolean includeSpaces) { + return {}; } - } // SwiperContentTransitionProxyAccessor - namespace SwiperControllerAccessor { - void DestroyPeerImpl(Ark_SwiperController peer) + Array_text_LineMetrics GetLineMetrics0Impl(Ark_text_Paragraph peer) { - auto peerImpl = reinterpret_cast(peer); + return {}; + } + Opt_text_LineMetrics GetLineMetrics1Impl(Ark_text_Paragraph peer, + const Ark_Number* lineNumber) + { + return {}; + } + } // text_ParagraphAccessor + namespace text_ParagraphBuilderAccessor { + void DestroyPeerImpl(Ark_text_ParagraphBuilder peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_SwiperController ConstructImpl() + Ark_text_ParagraphBuilder ConstructImpl(const Ark_text_ParagraphStyle* paragraphStyle, + Ark_text_FontCollection fontCollection) { return {}; } @@ -17633,38 +19081,43 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void ShowNextImpl(Ark_SwiperController peer) + void PushStyleImpl(Ark_text_ParagraphBuilder peer, + const Ark_text_TextStyle* textStyle) { } - void ShowPreviousImpl(Ark_SwiperController peer) + void PopStyleImpl(Ark_text_ParagraphBuilder peer) { } - void ChangeIndexImpl(Ark_SwiperController peer, - const Ark_Number* index, - const Opt_Union_SwiperAnimationMode_Boolean* animationMode) + void AddTextImpl(Ark_text_ParagraphBuilder peer, + const Ark_String* text) { } - void FinishAnimationImpl(Ark_SwiperController peer, - const Opt_VoidCallback* callback_) + void AddPlaceholderImpl(Ark_text_ParagraphBuilder peer, + const Ark_text_PlaceholderSpan* placeholderSpan) { } - void PreloadItemsImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_SwiperController peer, - const Opt_Array_Number* indices, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_text_Paragraph BuildImpl(Ark_text_ParagraphBuilder peer) + { + return {}; + } + Ark_text_LineTypeset BuildLineTypesetImpl(Ark_text_ParagraphBuilder peer) { + return {}; } - } // SwiperControllerAccessor - namespace SwipeRecognizerAccessor { - void DestroyPeerImpl(Ark_SwipeRecognizer peer) + void AddSymbolImpl(Ark_text_ParagraphBuilder peer, + const Ark_Number* symbolId) { - auto peerImpl = reinterpret_cast(peer); + } + } // text_ParagraphBuilderAccessor + namespace text_RunAccessor { + void DestroyPeerImpl(Ark_text_Run peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_SwipeRecognizer ConstructImpl() + Ark_text_Run ConstructImpl() { return {}; } @@ -17672,76 +19125,69 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetVelocityThresholdImpl(Ark_SwipeRecognizer peer) + Ark_Number GetGlyphCountImpl(Ark_text_Run peer) { return {}; } - Ark_SwipeDirection GetDirectionImpl(Ark_SwipeRecognizer peer) + Array_Number GetGlyphs0Impl(Ark_text_Run peer) { return {}; } - } // SwipeRecognizerAccessor - namespace SymbolEffectAccessor { - void DestroyPeerImpl(Ark_SymbolEffect peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_SymbolEffect ConstructImpl() + Array_Number GetGlyphs1Impl(Ark_text_Run peer, + const Ark_text_Range* range) { return {}; } - Ark_NativePointer GetFinalizerImpl() + Array_common2D_Point GetPositions0Impl(Ark_text_Run peer) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - } // SymbolEffectAccessor - namespace SystemOpsAccessor { - Ark_NativePointer StartFrameImpl() + Array_common2D_Point GetPositions1Impl(Ark_text_Run peer, + const Ark_text_Range* range) { return {}; } - void EndFrameImpl(Ark_NativePointer root) + Array_common2D_Point GetOffsetsImpl(Ark_text_Run peer) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); + return {}; } - void SyncInstanceIdImpl(Ark_Int32 instanceId) + Ark_drawing_Font GetFontImpl(Ark_text_Run peer) { + return {}; } - void RestoreInstanceIdImpl() + void PaintImpl(Ark_text_Run peer, + Ark_drawing_Canvas canvas, + const Ark_Number* x, + const Ark_Number* y) { } - Ark_Int32 GetResourceIdImpl(const Ark_String* bundleName, - const Ark_String* moduleName, - const Array_String* params) + Array_Number GetStringIndicesImpl(Ark_text_Run peer, + const Ark_text_Range* range) { return {}; } - void ResourceManagerResetImpl() + Ark_text_Range GetStringRangeImpl(Ark_text_Run peer) { + return {}; } - void SetFrameCallbackImpl(const Callback_Number_Void* onFrameCallback, - const Callback_Number_Void* onIdleCallback, - const Ark_Number* delayTime) + Ark_text_TypographicBounds GetTypographicBoundsImpl(Ark_text_Run peer) { + return {}; } - Array_Number ColorMetricsResourceColorImpl(const Ark_Resource* color) + Ark_common2D_Rect GetImageBoundsImpl(Ark_text_Run peer) { return {}; } - } // SystemOpsAccessor - namespace TabBarSymbolAccessor { - void DestroyPeerImpl(Ark_TabBarSymbol peer) + } // text_RunAccessor + namespace text_TextLineAccessor { + void DestroyPeerImpl(Ark_text_TextLine peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_TabBarSymbol ConstructImpl() + Ark_text_TextLine ConstructImpl() { return {}; } @@ -17749,68 +19195,73 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_SymbolGlyphModifier GetNormalImpl(Ark_TabBarSymbol peer) + Ark_Number GetGlyphCountImpl(Ark_text_TextLine peer) { return {}; } - void SetNormalImpl(Ark_TabBarSymbol peer, - const Ark_SymbolGlyphModifier* normal) + Ark_text_Range GetTextRangeImpl(Ark_text_TextLine peer) { + return {}; } - Opt_SymbolGlyphModifier GetSelectedImpl(Ark_TabBarSymbol peer) + Array_text_Run GetGlyphRunsImpl(Ark_text_TextLine peer) { return {}; } - void SetSelectedImpl(Ark_TabBarSymbol peer, - const Opt_SymbolGlyphModifier* selected) + void PaintImpl(Ark_text_TextLine peer, + Ark_drawing_Canvas canvas, + const Ark_Number* x, + const Ark_Number* y) { } - } // TabBarSymbolAccessor - namespace TabContentTransitionProxyAccessor { - void DestroyPeerImpl(Ark_TabContentTransitionProxy peer) + Ark_text_TextLine CreateTruncatedLineImpl(Ark_text_TextLine peer, + const Ark_Number* width, + Ark_text_EllipsisMode ellipsisMode, + const Ark_String* ellipsis) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_TabContentTransitionProxy ConstructImpl() + Ark_text_TypographicBounds GetTypographicBoundsImpl(Ark_text_TextLine peer) + { + return {}; + } + Ark_common2D_Rect GetImageBoundsImpl(Ark_text_TextLine peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number GetTrailingSpaceWidthImpl(Ark_text_TextLine peer) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - void FinishTransitionImpl(Ark_TabContentTransitionProxy peer) + Ark_Number GetStringIndexForPositionImpl(Ark_text_TextLine peer, + const Ark_common2D_Point* point) { + return {}; } - Ark_Number GetFromImpl(Ark_TabContentTransitionProxy peer) + Ark_Number GetOffsetForStringIndexImpl(Ark_text_TextLine peer, + const Ark_Number* index) { return {}; } - void SetFromImpl(Ark_TabContentTransitionProxy peer, - const Ark_Number* from) + void EnumerateCaretOffsetsImpl(Ark_text_TextLine peer, + const text_Callback_Number_Number_Boolean_Boolean* callback_) { } - Ark_Number GetToImpl(Ark_TabContentTransitionProxy peer) + Ark_Number GetAlignmentOffsetImpl(Ark_text_TextLine peer, + const Ark_Number* alignmentFactor, + const Ark_Number* alignmentWidth) { return {}; } - void SetToImpl(Ark_TabContentTransitionProxy peer, - const Ark_Number* to) - { - } - } // TabContentTransitionProxyAccessor - namespace TabsControllerAccessor { - void DestroyPeerImpl(Ark_TabsController peer) + } // text_TextLineAccessor + namespace TextAreaControllerAccessor { + void DestroyPeerImpl(Ark_TextAreaController peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_TabsController ConstructImpl() + Ark_TextAreaController ConstructImpl() { return {}; } @@ -17818,35 +19269,29 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void ChangeIndexImpl(Ark_TabsController peer, - const Ark_Number* value) - { - } - void PreloadItemsImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_TabsController peer, - const Opt_Array_Number* indices, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + void CaretPositionImpl(Ark_TextAreaController peer, + const Ark_Number* value) { } - void SetTabBarTranslateImpl(Ark_TabsController peer, - const Ark_TranslateOptions* translate) + void SetTextSelectionImpl(Ark_TextAreaController peer, + const Ark_Number* selectionStart, + const Ark_Number* selectionEnd, + const Opt_SelectionOptions* options) { } - void SetTabBarOpacityImpl(Ark_TabsController peer, - const Ark_Number* opacity) + void StopEditingImpl(Ark_TextAreaController peer) { } - } // TabsControllerAccessor - namespace TapGestureEventAccessor { - void DestroyPeerImpl(Ark_TapGestureEvent peer) + } // TextAreaControllerAccessor + namespace TextBaseControllerAccessor { + void DestroyPeerImpl(Ark_TextBaseController peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_TapGestureEvent ConstructImpl() + Ark_TextBaseController ConstructImpl() { return {}; } @@ -17854,38 +19299,29 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - } // TapGestureEventAccessor - namespace TapGestureInterfaceAccessor { - void DestroyPeerImpl(Ark_TapGestureInterface peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_TapGestureInterface ConstructImpl(const Ark_TapGestureParameters* value) + void SetSelectionImpl(Ark_TextBaseController peer, + const Ark_Number* selectionStart, + const Ark_Number* selectionEnd, + const Opt_SelectionOptions* options) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void CloseSelectionMenuImpl(Ark_TextBaseController peer) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_TapGestureInterface OnActionImpl(Ark_TapGestureInterface peer, - const Callback_GestureEvent_Void* event) + Ark_LayoutManager GetLayoutManagerImpl(Ark_TextBaseController peer) { return {}; } - } // TapGestureInterfaceAccessor - namespace TapRecognizerAccessor { - void DestroyPeerImpl(Ark_TapRecognizer peer) + } // TextBaseControllerAccessor + namespace TextClockControllerAccessor { + void DestroyPeerImpl(Ark_TextClockController peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_TapRecognizer ConstructImpl() + Ark_TextClockController ConstructImpl() { return {}; } @@ -17893,20 +19329,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetTapCountImpl(Ark_TapRecognizer peer) + void StartImpl(Ark_TextClockController peer) { - return {}; } - } // TapRecognizerAccessor - namespace text_FontCollectionAccessor { - void DestroyPeerImpl(Ark_text_FontCollection peer) + void StopImpl(Ark_TextClockController peer) { - auto peerImpl = reinterpret_cast(peer); + } + } // TextClockControllerAccessor + namespace TextContentControllerBaseAccessor { + void DestroyPeerImpl(Ark_TextContentControllerBase peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_text_FontCollection ConstructImpl() + Ark_TextContentControllerBase ConstructImpl() { return {}; } @@ -17914,65 +19352,50 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_text_FontCollection GetGlobalInstanceImpl() + Ark_CaretOffset GetCaretOffsetImpl(Ark_TextContentControllerBase peer) { return {}; } - void LoadFontSyncImpl(Ark_text_FontCollection peer, - const Ark_String* name, - const Ark_Union_String_Resource* path) + Ark_RectResult GetTextContentRectImpl(Ark_TextContentControllerBase peer) { + return {}; } - void LoadFontImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_text_FontCollection peer, - const Ark_String* name, - const Ark_Union_String_Resource* path, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_Number GetTextContentLineCountImpl(Ark_TextContentControllerBase peer) { + return {}; } - void ClearCachesImpl(Ark_text_FontCollection peer) + Ark_Number AddTextImpl(Ark_TextContentControllerBase peer, + const Ark_String* text, + const Opt_TextContentControllerOptions* textOperationOptions) { + return {}; } - } // text_FontCollectionAccessor - namespace text_LineTypesetAccessor { - void DestroyPeerImpl(Ark_text_LineTypeset peer) + void DeleteTextImpl(Ark_TextContentControllerBase peer, + const Opt_TextRange* range) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_text_LineTypeset ConstructImpl() + Ark_TextRange GetSelectionImpl(Ark_TextContentControllerBase peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - Ark_Number GetLineBreakImpl(Ark_text_LineTypeset peer, - const Ark_Number* startIndex, - const Ark_Number* width) + void ClearPreviewTextImpl(Ark_TextContentControllerBase peer) { - return {}; } - Ark_text_TextLine CreateLineImpl(Ark_text_LineTypeset peer, - const Ark_Number* startIndex, - const Ark_Number* count) + Ark_String GetTextImpl(Ark_TextContentControllerBase peer, + const Opt_TextRange* range) { return {}; } - } // text_LineTypesetAccessor - namespace text_ParagraphAccessor { - void DestroyPeerImpl(Ark_text_Paragraph peer) + } // TextContentControllerBaseAccessor + namespace TextControllerAccessor { + void DestroyPeerImpl(Ark_TextController peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_text_Paragraph ConstructImpl() + Ark_TextController ConstructImpl() { return {}; } @@ -17980,132 +19403,144 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void LayoutSyncImpl(Ark_text_Paragraph peer, - const Ark_Number* width) - { - } - void LayoutImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_text_Paragraph peer, - const Ark_Number* width, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) - { - } - void PaintImpl(Ark_text_Paragraph peer, - Ark_drawing_Canvas canvas, - const Ark_Number* x, - const Ark_Number* y) + void CloseSelectionMenuImpl(Ark_TextController peer) { } - void PaintOnPathImpl(Ark_text_Paragraph peer, - Ark_drawing_Canvas canvas, - Ark_drawing_Path path, - const Ark_Number* hOffset, - const Ark_Number* vOffset) + void SetStyledStringImpl(Ark_TextController peer, + Ark_StyledString value) { } - Ark_Number GetMaxWidthImpl(Ark_text_Paragraph peer) + Ark_LayoutManager GetLayoutManagerImpl(Ark_TextController peer) { return {}; } - Ark_Number GetHeightImpl(Ark_text_Paragraph peer) + } // TextControllerAccessor + namespace TextEditControllerExAccessor { + void DestroyPeerImpl(Ark_TextEditControllerEx peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Number GetLongestLineImpl(Ark_text_Paragraph peer) + Ark_TextEditControllerEx ConstructImpl() { return {}; } - Ark_Number GetLongestLineWithIndentImpl(Ark_text_Paragraph peer) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetMinIntrinsicWidthImpl(Ark_text_Paragraph peer) + Ark_Boolean IsEditingImpl(Ark_TextEditControllerEx peer) { return {}; } - Ark_Number GetMaxIntrinsicWidthImpl(Ark_text_Paragraph peer) + void StopEditingImpl(Ark_TextEditControllerEx peer) { - return {}; } - Ark_Number GetAlphabeticBaselineImpl(Ark_text_Paragraph peer) + Ark_Boolean SetCaretOffsetImpl(Ark_TextEditControllerEx peer, + const Ark_Number* offset) { return {}; } - Ark_Number GetIdeographicBaselineImpl(Ark_text_Paragraph peer) + Ark_Number GetCaretOffsetImpl(Ark_TextEditControllerEx peer) { return {}; } - Array_text_TextBox GetRectsForRangeImpl(Ark_text_Paragraph peer, - const Ark_text_Range* range, - Ark_text_RectWidthStyle widthStyle, - Ark_text_RectHeightStyle heightStyle) + Ark_PreviewText GetPreviewTextImpl(Ark_TextEditControllerEx peer) { return {}; } - Array_text_TextBox GetRectsForPlaceholdersImpl(Ark_text_Paragraph peer) + } // TextEditControllerExAccessor + namespace TextFieldOpsAccessor { + Ark_NativePointer RegisterTextFieldValueCallbackImpl(Ark_NativePointer node, + const Ark_ResourceStr* value, + const TextFieldValueCallback* callback) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); return {}; } - Ark_text_PositionWithAffinity GetGlyphPositionAtCoordinateImpl(Ark_text_Paragraph peer, - const Ark_Number* x, - const Ark_Number* y) + Ark_NativePointer TextFieldOpsSetWidthImpl(Ark_NativePointer node, + const Opt_Union_Length_LayoutPolicy* value) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); return {}; } - Ark_text_Range GetWordBoundaryImpl(Ark_text_Paragraph peer, - const Ark_Number* offset) + Ark_NativePointer TextFieldOpsSetHeightImpl(Ark_NativePointer node, + const Opt_Union_Length_LayoutPolicy* value) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); return {}; } - Ark_Number GetLineCountImpl(Ark_text_Paragraph peer) + Ark_NativePointer TextFieldOpsSetPaddingImpl(Ark_NativePointer node, + const Opt_Union_Padding_Length_LocalizedPadding* value) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); return {}; } - Ark_Number GetLineHeightImpl(Ark_text_Paragraph peer, - const Ark_Number* line) + Ark_NativePointer TextFieldOpsSetMarginImpl(Ark_NativePointer node, + const Opt_Union_Padding_Length_LocalizedPadding* value) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); return {}; } - Ark_Number GetLineWidthImpl(Ark_text_Paragraph peer, - const Ark_Number* line) + Ark_NativePointer TextFieldOpsSetBorderImpl(Ark_NativePointer node, + const Opt_BorderOptions* value) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); return {}; } - Ark_Boolean DidExceedMaxLinesImpl(Ark_text_Paragraph peer) + Ark_NativePointer TextFieldOpsSetBorderWidthImpl(Ark_NativePointer node, + const Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths* value) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); return {}; } - Array_text_TextLine GetTextLinesImpl(Ark_text_Paragraph peer) + Ark_NativePointer TextFieldOpsSetBorderColorImpl(Ark_NativePointer node, + const Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors* value) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); return {}; } - Ark_text_Range GetActualTextRangeImpl(Ark_text_Paragraph peer, - const Ark_Number* lineNumber, - Ark_Boolean includeSpaces) + Ark_NativePointer TextFieldOpsSetBorderStyleImpl(Ark_NativePointer node, + const Opt_Union_BorderStyle_EdgeStyles* value) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); return {}; } - Array_text_LineMetrics GetLineMetrics0Impl(Ark_text_Paragraph peer) + Ark_NativePointer TextFieldOpsSetBorderRadiusImpl(Ark_NativePointer node, + const Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses* value) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); return {}; } - Opt_text_LineMetrics GetLineMetrics1Impl(Ark_text_Paragraph peer, - const Ark_Number* lineNumber) + Ark_NativePointer TextFieldOpsSetBackgroundColorImpl(Ark_NativePointer node, + const Opt_ResourceColor* value) { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); return {}; } - } // text_ParagraphAccessor - namespace text_ParagraphBuilderAccessor { - void DestroyPeerImpl(Ark_text_ParagraphBuilder peer) + } // TextFieldOpsAccessor + namespace TextInputControllerAccessor { + void DestroyPeerImpl(Ark_TextInputController peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_text_ParagraphBuilder ConstructImpl(const Ark_text_ParagraphStyle* paragraphStyle, - Ark_text_FontCollection fontCollection) + Ark_TextInputController ConstructImpl() { return {}; } @@ -18113,43 +19548,50 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void PushStyleImpl(Ark_text_ParagraphBuilder peer, - const Ark_text_TextStyle* textStyle) + void CaretPositionImpl(Ark_TextInputController peer, + const Ark_Number* value) { } - void PopStyleImpl(Ark_text_ParagraphBuilder peer) + void SetTextSelectionImpl(Ark_TextInputController peer, + const Ark_Number* selectionStart, + const Ark_Number* selectionEnd, + const Opt_SelectionOptions* options) { } - void AddTextImpl(Ark_text_ParagraphBuilder peer, - const Ark_String* text) + void StopEditingImpl(Ark_TextInputController peer) { } - void AddPlaceholderImpl(Ark_text_ParagraphBuilder peer, - const Ark_text_PlaceholderSpan* placeholderSpan) + } // TextInputControllerAccessor + namespace TextMenuControllerAccessor { + void DestroyPeerImpl(Ark_TextMenuController peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_text_Paragraph BuildImpl(Ark_text_ParagraphBuilder peer) + Ark_TextMenuController ConstructImpl() { return {}; } - Ark_text_LineTypeset BuildLineTypesetImpl(Ark_text_ParagraphBuilder peer) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - void AddSymbolImpl(Ark_text_ParagraphBuilder peer, - const Ark_Number* symbolId) + void SetMenuOptionsImpl(Ark_TextMenuController peer, + const Ark_TextMenuOptions* options) { } - } // text_ParagraphBuilderAccessor - namespace text_RunAccessor { - void DestroyPeerImpl(Ark_text_Run peer) + } // TextMenuControllerAccessor + namespace TextMenuItemIdAccessor { + void DestroyPeerImpl(Ark_TextMenuItemId peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_text_Run ConstructImpl() + Ark_TextMenuItemId ConstructImpl() { return {}; } @@ -18157,69 +19599,65 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetGlyphCountImpl(Ark_text_Run peer) + Ark_TextMenuItemId OfImpl(const Ark_ResourceStr* id) { return {}; } - Array_Number GetGlyphs0Impl(Ark_text_Run peer) + Ark_Boolean EqualsImpl(Ark_TextMenuItemId peer, + Ark_TextMenuItemId id) { return {}; } - Array_Number GetGlyphs1Impl(Ark_text_Run peer, - const Ark_text_Range* range) + Ark_TextMenuItemId GetCUTImpl() { return {}; } - Array_common2D_Point GetPositions0Impl(Ark_text_Run peer) + Ark_TextMenuItemId GetCOPYImpl() { return {}; } - Array_common2D_Point GetPositions1Impl(Ark_text_Run peer, - const Ark_text_Range* range) + Ark_TextMenuItemId GetPASTEImpl() { return {}; } - Array_common2D_Point GetOffsetsImpl(Ark_text_Run peer) + Ark_TextMenuItemId GetSELECT_ALLImpl() { return {}; } - Ark_drawing_Font GetFontImpl(Ark_text_Run peer) + Ark_TextMenuItemId GetCOLLABORATION_SERVICEImpl() { return {}; } - void PaintImpl(Ark_text_Run peer, - Ark_drawing_Canvas canvas, - const Ark_Number* x, - const Ark_Number* y) + Ark_TextMenuItemId GetCAMERA_INPUTImpl() { + return {}; } - Array_Number GetStringIndicesImpl(Ark_text_Run peer, - const Ark_text_Range* range) + Ark_TextMenuItemId GetAI_WRITERImpl() { return {}; } - Ark_text_Range GetStringRangeImpl(Ark_text_Run peer) + Ark_TextMenuItemId GetTRANSLATEImpl() { return {}; } - Ark_text_TypographicBounds GetTypographicBoundsImpl(Ark_text_Run peer) + Ark_TextMenuItemId GetSEARCHImpl() { return {}; } - Ark_common2D_Rect GetImageBoundsImpl(Ark_text_Run peer) + Ark_TextMenuItemId GetSHAREImpl() { return {}; } - } // text_RunAccessor - namespace text_TextLineAccessor { - void DestroyPeerImpl(Ark_text_TextLine peer) + } // TextMenuItemIdAccessor + namespace TextPickerDialogAccessor { + void DestroyPeerImpl(Ark_TextPickerDialog peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_text_TextLine ConstructImpl() + Ark_TextPickerDialog ConstructImpl() { return {}; } @@ -18227,73 +19665,74 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetGlyphCountImpl(Ark_text_TextLine peer) + } // TextPickerDialogAccessor + namespace TextShadowStyleAccessor { + void DestroyPeerImpl(Ark_TextShadowStyle peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_text_Range GetTextRangeImpl(Ark_text_TextLine peer) + Ark_TextShadowStyle ConstructImpl(const Ark_Union_ShadowOptions_Array_ShadowOptions* value) { return {}; } - Array_text_Run GetGlyphRunsImpl(Ark_text_TextLine peer) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - void PaintImpl(Ark_text_TextLine peer, - Ark_drawing_Canvas canvas, - const Ark_Number* x, - const Ark_Number* y) + Array_ShadowOptions GetTextShadowImpl(Ark_TextShadowStyle peer) { + return {}; } - Ark_text_TextLine CreateTruncatedLineImpl(Ark_text_TextLine peer, - const Ark_Number* width, - Ark_text_EllipsisMode ellipsisMode, - const Ark_String* ellipsis) + } // TextShadowStyleAccessor + namespace TextStyleAccessor { + void DestroyPeerImpl(Ark_TextStyle peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_text_TypographicBounds GetTypographicBoundsImpl(Ark_text_TextLine peer) + Ark_TextStyle ConstructImpl(const Opt_TextStyleInterface* value) { return {}; } - Ark_common2D_Rect GetImageBoundsImpl(Ark_text_TextLine peer) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetTrailingSpaceWidthImpl(Ark_text_TextLine peer) + Opt_ResourceColor GetFontColorImpl(Ark_TextStyle peer) { return {}; } - Ark_Number GetStringIndexForPositionImpl(Ark_text_TextLine peer, - const Ark_common2D_Point* point) + Opt_String GetFontFamilyImpl(Ark_TextStyle peer) { return {}; } - Ark_Number GetOffsetForStringIndexImpl(Ark_text_TextLine peer, - const Ark_Number* index) + Opt_Number GetFontSizeImpl(Ark_TextStyle peer) { return {}; } - void EnumerateCaretOffsetsImpl(Ark_text_TextLine peer, - const text_Callback_Number_Number_Boolean_Boolean* callback_) + Opt_Number GetFontWeightImpl(Ark_TextStyle peer) { + return {}; } - Ark_Number GetAlignmentOffsetImpl(Ark_text_TextLine peer, - const Ark_Number* alignmentFactor, - const Ark_Number* alignmentWidth) + Opt_FontStyle GetFontStyleImpl(Ark_TextStyle peer) { return {}; } - } // text_TextLineAccessor - namespace TextAreaControllerAccessor { - void DestroyPeerImpl(Ark_TextAreaController peer) + } // TextStyleAccessor + namespace TextTimerControllerAccessor { + void DestroyPeerImpl(Ark_TextTimerController peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_TextAreaController ConstructImpl() + Ark_TextTimerController ConstructImpl() { return {}; } @@ -18301,29 +19740,25 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void CaretPositionImpl(Ark_TextAreaController peer, - const Ark_Number* value) + void StartImpl(Ark_TextTimerController peer) { } - void SetTextSelectionImpl(Ark_TextAreaController peer, - const Ark_Number* selectionStart, - const Ark_Number* selectionEnd, - const Opt_SelectionOptions* options) + void PauseImpl(Ark_TextTimerController peer) { } - void StopEditingImpl(Ark_TextAreaController peer) + void ResetImpl(Ark_TextTimerController peer) { } - } // TextAreaControllerAccessor - namespace TextBaseControllerAccessor { - void DestroyPeerImpl(Ark_TextBaseController peer) + } // TextTimerControllerAccessor + namespace ThemeControlAccessor { + void DestroyPeerImpl(Ark_ThemeControl peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_TextBaseController ConstructImpl() + Ark_ThemeControl ConstructImpl() { return {}; } @@ -18331,29 +19766,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void SetSelectionImpl(Ark_TextBaseController peer, - const Ark_Number* selectionStart, - const Ark_Number* selectionEnd, - const Opt_SelectionOptions* options) - { - } - void CloseSelectionMenuImpl(Ark_TextBaseController peer) - { - } - Ark_LayoutManager GetLayoutManagerImpl(Ark_TextBaseController peer) + void SetDefaultThemeImpl(const Ark_CustomTheme* theme) { - return {}; } - } // TextBaseControllerAccessor - namespace TextClockControllerAccessor { - void DestroyPeerImpl(Ark_TextClockController peer) + } // ThemeControlAccessor + namespace TimePickerDialogAccessor { + void DestroyPeerImpl(Ark_TimePickerDialog peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_TextClockController ConstructImpl() + Ark_TimePickerDialog ConstructImpl() { return {}; } @@ -18361,22 +19786,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void StartImpl(Ark_TextClockController peer) - { - } - void StopImpl(Ark_TextClockController peer) - { - } - } // TextClockControllerAccessor - namespace TextContentControllerBaseAccessor { - void DestroyPeerImpl(Ark_TextContentControllerBase peer) + } // TimePickerDialogAccessor + namespace TouchEventAccessor { + void DestroyPeerImpl(Ark_TouchEvent peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_TextContentControllerBase ConstructImpl() + Ark_TouchEvent ConstructImpl() { return {}; } @@ -18384,246 +19803,164 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_CaretOffset GetCaretOffsetImpl(Ark_TextContentControllerBase peer) - { - return {}; - } - Ark_RectResult GetTextContentRectImpl(Ark_TextContentControllerBase peer) - { - return {}; - } - Ark_Number GetTextContentLineCountImpl(Ark_TextContentControllerBase peer) + Array_HistoricalPoint GetHistoricalPointsImpl(Ark_TouchEvent peer) { return {}; } - Ark_Number AddTextImpl(Ark_TextContentControllerBase peer, - const Ark_String* text, - const Opt_TextContentControllerOptions* textOperationOptions) + Ark_TouchType GetTypeImpl(Ark_TouchEvent peer) { return {}; } - void DeleteTextImpl(Ark_TextContentControllerBase peer, - const Opt_TextRange* range) + void SetTypeImpl(Ark_TouchEvent peer, + Ark_TouchType type) { } - Ark_TextRange GetSelectionImpl(Ark_TextContentControllerBase peer) + Array_TouchObject GetTouchesImpl(Ark_TouchEvent peer) { return {}; } - void ClearPreviewTextImpl(Ark_TextContentControllerBase peer) + void SetTouchesImpl(Ark_TouchEvent peer, + const Array_TouchObject* touches) { } - Ark_String GetTextImpl(Ark_TextContentControllerBase peer, - const Opt_TextRange* range) + Array_TouchObject GetChangedTouchesImpl(Ark_TouchEvent peer) { return {}; } - } // TextContentControllerBaseAccessor - namespace TextControllerAccessor { - void DestroyPeerImpl(Ark_TextController peer) + void SetChangedTouchesImpl(Ark_TouchEvent peer, + const Array_TouchObject* changedTouches) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_TextController ConstructImpl() + Callback_Void GetStopPropagationImpl(Ark_TouchEvent peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - void CloseSelectionMenuImpl(Ark_TextController peer) + void SetStopPropagationImpl(Ark_TouchEvent peer, + const Callback_Void* stopPropagation) { } - void SetStyledStringImpl(Ark_TextController peer, - Ark_StyledString value) + Callback_Void GetPreventDefaultImpl(Ark_TouchEvent peer) { + return {}; } - Ark_LayoutManager GetLayoutManagerImpl(Ark_TextController peer) + void SetPreventDefaultImpl(Ark_TouchEvent peer, + const Callback_Void* preventDefault) { - return {}; } - } // TextControllerAccessor - namespace TextEditControllerExAccessor { - void DestroyPeerImpl(Ark_TextEditControllerEx peer) + } // TouchEventAccessor + namespace TransitionEffectAccessor { + void DestroyPeerImpl(Ark_TransitionEffect peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_TextEditControllerEx ConstructImpl() + Ark_TransitionEffect Construct0Impl(const Ark_String* type) { return {}; } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - Ark_Boolean IsEditingImpl(Ark_TextEditControllerEx peer) + Ark_TransitionEffect Construct1Impl(const Ark_Number* effect) { return {}; } - void StopEditingImpl(Ark_TextEditControllerEx peer) - { - } - Ark_Boolean SetCaretOffsetImpl(Ark_TextEditControllerEx peer, - const Ark_Number* offset) + Ark_TransitionEffect Construct2Impl(Ark_TransitionEdge effect) { return {}; } - Ark_Number GetCaretOffsetImpl(Ark_TextEditControllerEx peer) + Ark_TransitionEffect Construct3Impl(const Ark_TranslateOptions* effect) { return {}; } - Ark_PreviewText GetPreviewTextImpl(Ark_TextEditControllerEx peer) + Ark_TransitionEffect Construct4Impl(const Ark_RotateOptions* effect) { return {}; } - } // TextEditControllerExAccessor - namespace TextFieldOpsAccessor { - Ark_NativePointer RegisterTextFieldValueCallbackImpl(Ark_NativePointer node, - const Ark_ResourceStr* value, - const TextFieldValueCallback* callback) + Ark_TransitionEffect Construct5Impl(const Ark_ScaleOptions* effect) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); return {}; } - Ark_NativePointer TextFieldOpsSetWidthImpl(Ark_NativePointer node, - const Opt_Union_Length_LayoutPolicy* value) + Ark_TransitionEffect Construct6Impl(const Ark_AsymmetricTransitionOption* effect) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); return {}; } - Ark_NativePointer TextFieldOpsSetHeightImpl(Ark_NativePointer node, - const Opt_Union_Length_LayoutPolicy* value) + Ark_NativePointer GetFinalizerImpl() { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - Ark_NativePointer TextFieldOpsSetPaddingImpl(Ark_NativePointer node, - const Opt_Union_Padding_Length_LocalizedPadding* value) + Ark_TransitionEffect TranslateImpl(const Ark_TranslateOptions* options) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); return {}; } - Ark_NativePointer TextFieldOpsSetMarginImpl(Ark_NativePointer node, - const Opt_Union_Padding_Length_LocalizedPadding* value) + Ark_TransitionEffect RotateImpl(const Ark_RotateOptions* options) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); return {}; } - Ark_NativePointer TextFieldOpsSetBorderImpl(Ark_NativePointer node, - const Opt_BorderOptions* value) + Ark_TransitionEffect ScaleImpl(const Ark_ScaleOptions* options) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); return {}; } - Ark_NativePointer TextFieldOpsSetBorderWidthImpl(Ark_NativePointer node, - const Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths* value) + Ark_TransitionEffect OpacityImpl(const Ark_Number* alpha) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); return {}; } - Ark_NativePointer TextFieldOpsSetBorderColorImpl(Ark_NativePointer node, - const Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors* value) + Ark_TransitionEffect MoveImpl(Ark_TransitionEdge edge) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); return {}; } - Ark_NativePointer TextFieldOpsSetBorderStyleImpl(Ark_NativePointer node, - const Opt_Union_BorderStyle_EdgeStyles* value) + Ark_TransitionEffect AsymmetricImpl(Ark_TransitionEffect appear, + Ark_TransitionEffect disappear) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); return {}; } - Ark_NativePointer TextFieldOpsSetBorderRadiusImpl(Ark_NativePointer node, - const Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses* value) + Ark_TransitionEffect AnimationImpl(Ark_TransitionEffect peer, + const Ark_AnimateParam* value) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); return {}; } - Ark_NativePointer TextFieldOpsSetBackgroundColorImpl(Ark_NativePointer node, - const Opt_ResourceColor* value) + Ark_TransitionEffect CombineImpl(Ark_TransitionEffect peer, + Ark_TransitionEffect transitionEffect) { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); return {}; } - } // TextFieldOpsAccessor - namespace TextInputControllerAccessor { - void DestroyPeerImpl(Ark_TextInputController peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_TextInputController ConstructImpl() + Ark_TransitionEffect GetIDENTITYImpl() { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetIDENTITYImpl(Ark_TransitionEffect IDENTITY) { - return reinterpret_cast(&DestroyPeerImpl); } - void CaretPositionImpl(Ark_TextInputController peer, - const Ark_Number* value) + Ark_TransitionEffect GetOPACITYImpl() { + return {}; } - void SetTextSelectionImpl(Ark_TextInputController peer, - const Ark_Number* selectionStart, - const Ark_Number* selectionEnd, - const Opt_SelectionOptions* options) + void SetOPACITYImpl(Ark_TransitionEffect OPACITY) { } - void StopEditingImpl(Ark_TextInputController peer) + Ark_TransitionEffect GetSLIDEImpl() { + return {}; } - } // TextInputControllerAccessor - namespace TextMenuControllerAccessor { - void DestroyPeerImpl(Ark_TextMenuController peer) + void SetSLIDEImpl(Ark_TransitionEffect SLIDE) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_TextMenuController ConstructImpl() + Ark_TransitionEffect GetSLIDE_SWITCHImpl() { return {}; } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - void SetMenuOptionsImpl(Ark_TextMenuController peer, - const Ark_TextMenuOptions* options) + void SetSLIDE_SWITCHImpl(Ark_TransitionEffect SLIDE_SWITCH) { } - } // TextMenuControllerAccessor - namespace TextMenuItemIdAccessor { - void DestroyPeerImpl(Ark_TextMenuItemId peer) + } // TransitionEffectAccessor + namespace UICommonEventAccessor { + void DestroyPeerImpl(Ark_UICommonEvent peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_TextMenuItemId ConstructImpl() + Ark_UICommonEvent ConstructImpl() { return {}; } @@ -18631,82 +19968,61 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_TextMenuItemId OfImpl(const Ark_ResourceStr* id) - { - return {}; - } - Ark_Boolean EqualsImpl(Ark_TextMenuItemId peer, - Ark_TextMenuItemId id) - { - return {}; - } - Ark_TextMenuItemId GetCUTImpl() - { - return {}; - } - Ark_TextMenuItemId GetCOPYImpl() - { - return {}; - } - Ark_TextMenuItemId GetPASTEImpl() + void SetOnClickImpl(Ark_UICommonEvent peer, + const Opt_Callback_ClickEvent_Void* callback_) { - return {}; } - Ark_TextMenuItemId GetSELECT_ALLImpl() + void SetOnTouchImpl(Ark_UICommonEvent peer, + const Opt_Callback_TouchEvent_Void* callback_) { - return {}; } - Ark_TextMenuItemId GetCOLLABORATION_SERVICEImpl() + void SetOnAppearImpl(Ark_UICommonEvent peer, + const Opt_Callback_Void* callback_) { - return {}; } - Ark_TextMenuItemId GetCAMERA_INPUTImpl() + void SetOnDisappearImpl(Ark_UICommonEvent peer, + const Opt_Callback_Void* callback_) { - return {}; } - Ark_TextMenuItemId GetAI_WRITERImpl() + void SetOnKeyEventImpl(Ark_UICommonEvent peer, + const Opt_Callback_KeyEvent_Void* callback_) { - return {}; } - Ark_TextMenuItemId GetTRANSLATEImpl() + void SetOnFocusImpl(Ark_UICommonEvent peer, + const Opt_Callback_Void* callback_) { - return {}; } - Ark_TextMenuItemId GetSEARCHImpl() + void SetOnBlurImpl(Ark_UICommonEvent peer, + const Opt_Callback_Void* callback_) { - return {}; } - Ark_TextMenuItemId GetSHAREImpl() + void SetOnHoverImpl(Ark_UICommonEvent peer, + const Opt_HoverCallback* callback_) { - return {}; } - } // TextMenuItemIdAccessor - namespace TextPickerDialogAccessor { - void DestroyPeerImpl(Ark_TextPickerDialog peer) + void SetOnMouseImpl(Ark_UICommonEvent peer, + const Opt_Callback_MouseEvent_Void* callback_) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_TextPickerDialog ConstructImpl() + void SetOnSizeChangeImpl(Ark_UICommonEvent peer, + const Opt_SizeChangeCallback* callback_) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetOnVisibleAreaApproximateChangeImpl(Ark_UICommonEvent peer, + const Ark_VisibleAreaEventOptions* options, + const Opt_VisibleAreaChangeCallback* event) { - return reinterpret_cast(&DestroyPeerImpl); } - } // TextPickerDialogAccessor - namespace TextShadowStyleAccessor { - void DestroyPeerImpl(Ark_TextShadowStyle peer) + } // UICommonEventAccessor + namespace UIContextAccessor { + void DestroyPeerImpl(Ark_UIContext peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_TextShadowStyle ConstructImpl(const Ark_Union_ShadowOptions_Array_ShadowOptions* value) + Ark_UIContext ConstructImpl() { return {}; } @@ -18714,205 +20030,225 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Array_ShadowOptions GetTextShadowImpl(Ark_TextShadowStyle peer) + Ark_drawing_Font GetFontImpl(Ark_UIContext peer) { return {}; } - } // TextShadowStyleAccessor - namespace TextStyleAccessor { - void DestroyPeerImpl(Ark_TextStyle peer) + Ark_String GetFilteredInspectorTreeImpl(Ark_VMContext vmContext, + Ark_UIContext peer, + const Opt_Array_String* filters) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_TextStyle ConstructImpl(const Opt_TextStyleInterface* value) + Ark_String GetFilteredInspectorTreeByIdImpl(Ark_VMContext vmContext, + Ark_UIContext peer, + const Ark_String* id, + const Ark_Number* depth, + const Opt_Array_String* filters) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void AnimateToImpl(Ark_UIContext peer, + const Ark_AnimateParam* value, + const Callback_Void* event) { - return reinterpret_cast(&DestroyPeerImpl); } - Opt_ResourceColor GetFontColorImpl(Ark_TextStyle peer) + void ShowTextPickerDialogImpl(Ark_UIContext peer, + const Ark_TextPickerDialogOptions* options) { - return {}; } - Opt_String GetFontFamilyImpl(Ark_TextStyle peer) + void RunScopedTaskImpl(Ark_UIContext peer, + const Callback_Void* callback_) { - return {}; } - Opt_Number GetFontSizeImpl(Ark_TextStyle peer) + void AnimateToImmediatelyImpl(Ark_UIContext peer, + const Ark_AnimateParam* param, + const Callback_Void* event) { - return {}; } - Opt_Number GetFontWeightImpl(Ark_TextStyle peer) + Opt_FrameNode GetFrameNodeByIdImpl(Ark_UIContext peer, + const Ark_String* id) { return {}; } - Opt_FontStyle GetFontStyleImpl(Ark_TextStyle peer) + Opt_FrameNode GetAttachedFrameNodeByIdImpl(Ark_UIContext peer, + const Ark_String* id) { return {}; } - } // TextStyleAccessor - namespace TextTimerControllerAccessor { - void DestroyPeerImpl(Ark_TextTimerController peer) + Opt_FrameNode GetFrameNodeByUniqueIdImpl(Ark_UIContext peer, + const Ark_Number* id) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_TextTimerController ConstructImpl() + Ark_Number Vp2pxImpl(Ark_UIContext peer, + const Ark_Number* value) { return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number Px2vpImpl(Ark_UIContext peer, + const Ark_Number* value) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - void StartImpl(Ark_TextTimerController peer) + Ark_Number Fp2pxImpl(Ark_UIContext peer, + const Ark_Number* value) { + return {}; } - void PauseImpl(Ark_TextTimerController peer) + Ark_Number Px2fpImpl(Ark_UIContext peer, + const Ark_Number* value) { + return {}; } - void ResetImpl(Ark_TextTimerController peer) + Ark_Number Lpx2pxImpl(Ark_UIContext peer, + const Ark_Number* value) { + return {}; } - } // TextTimerControllerAccessor - namespace ThemeControlAccessor { - void DestroyPeerImpl(Ark_ThemeControl peer) + Ark_Number Px2lpxImpl(Ark_UIContext peer, + const Ark_Number* value) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_ThemeControl ConstructImpl() + Opt_common_Context GetHostContextImpl(Ark_UIContext peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetDynamicDimmingImpl(Ark_UIContext peer, + const Ark_String* id, + const Ark_Number* value) { - return reinterpret_cast(&DestroyPeerImpl); } - void SetDefaultThemeImpl(const Ark_CustomTheme* theme) + Opt_String GetWindowNameImpl(Ark_UIContext peer) { + return {}; } - } // ThemeControlAccessor - namespace TimePickerDialogAccessor { - void DestroyPeerImpl(Ark_TimePickerDialog peer) + Ark_WidthBreakpoint GetWindowWidthBreakpointImpl(Ark_UIContext peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_TimePickerDialog ConstructImpl() + Ark_HeightBreakpoint GetWindowHeightBreakpointImpl(Ark_UIContext peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + void OpenBindSheetImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_UIContext peer, + Ark_ComponentContent bindSheetContent, + const Opt_SheetOptions* sheetOptions, + const Opt_Number* targetId, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { - return reinterpret_cast(&DestroyPeerImpl); } - } // TimePickerDialogAccessor - namespace TouchEventAccessor { - void DestroyPeerImpl(Ark_TouchEvent peer) + void UpdateBindSheetImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_UIContext peer, + Ark_ComponentContent bindSheetContent, + const Ark_SheetOptions* sheetOptions, + const Opt_Boolean* partialUpdate, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_TouchEvent ConstructImpl() + void CloseBindSheetImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_UIContext peer, + Ark_ComponentContent bindSheetContent, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void ClearResourceCacheImpl(Ark_VMContext vmContext, + Ark_UIContext peer) { - return reinterpret_cast(&DestroyPeerImpl); } - Array_HistoricalPoint GetHistoricalPointsImpl(Ark_TouchEvent peer) + Ark_Boolean IsFollowingSystemFontScaleImpl(Ark_UIContext peer) { return {}; } - Ark_TouchType GetTypeImpl(Ark_TouchEvent peer) + Ark_Number GetMaxFontScaleImpl(Ark_UIContext peer) { return {}; } - void SetTypeImpl(Ark_TouchEvent peer, - Ark_TouchType type) - { - } - Array_TouchObject GetTouchesImpl(Ark_TouchEvent peer) + } // UIContextAccessor + namespace UIContextAtomicServiceBarAccessor { + Ark_Frame GetBarRectImpl() { return {}; } - void SetTouchesImpl(Ark_TouchEvent peer, - const Array_TouchObject* touches) + } // UIContextAtomicServiceBarAccessor + namespace uiEffect_VisualEffectAccessor { + void DestroyPeerImpl(Ark_uiEffect_VisualEffect peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Array_TouchObject GetChangedTouchesImpl(Ark_TouchEvent peer) + Ark_uiEffect_VisualEffect ConstructImpl() { return {}; } - void SetChangedTouchesImpl(Ark_TouchEvent peer, - const Array_TouchObject* changedTouches) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Callback_Void GetStopPropagationImpl(Ark_TouchEvent peer) + Ark_uiEffect_VisualEffect BackgroundColorBlenderImpl(Ark_uiEffect_VisualEffect peer, + const Ark_uiEffect_BrightnessBlender* blender) { return {}; } - void SetStopPropagationImpl(Ark_TouchEvent peer, - const Callback_Void* stopPropagation) + } // uiEffect_VisualEffectAccessor + namespace UIExtensionProxyAccessor { + void DestroyPeerImpl(Ark_UIExtensionProxy peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Callback_Void GetPreventDefaultImpl(Ark_TouchEvent peer) + Ark_UIExtensionProxy ConstructImpl() { return {}; } - void SetPreventDefaultImpl(Ark_TouchEvent peer, - const Callback_Void* preventDefault) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - } // TouchEventAccessor - namespace TransitionEffectAccessor { - void DestroyPeerImpl(Ark_TransitionEffect peer) + void SendImpl(Ark_UIExtensionProxy peer, + const Map_String_Opt_Object* data) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_TransitionEffect Construct0Impl(const Ark_String* type) + Map_String_Opt_Object SendSyncImpl(Ark_UIExtensionProxy peer, + const Map_String_Opt_Object* data) { return {}; } - Ark_TransitionEffect Construct1Impl(const Ark_Number* effect) + void OnAsyncReceiverRegisterAsyncReceiverRegisterImpl(Ark_UIExtensionProxy peer, + const Callback_UIExtensionProxy_Void* callback_) { - return {}; } - Ark_TransitionEffect Construct2Impl(Ark_TransitionEdge effect) + void OnSyncReceiverRegisterSyncReceiverRegisterImpl(Ark_UIExtensionProxy peer, + const Callback_UIExtensionProxy_Void* callback_) { - return {}; } - Ark_TransitionEffect Construct3Impl(const Ark_TranslateOptions* effect) + void OffAsyncReceiverRegisterAsyncReceiverRegisterImpl(Ark_UIExtensionProxy peer, + const Opt_Callback_UIExtensionProxy_Void* callback_) { - return {}; } - Ark_TransitionEffect Construct4Impl(const Ark_RotateOptions* effect) + void OffSyncReceiverRegisterSyncReceiverRegisterImpl(Ark_UIExtensionProxy peer, + const Opt_Callback_UIExtensionProxy_Void* callback_) { - return {}; } - Ark_TransitionEffect Construct5Impl(const Ark_ScaleOptions* effect) + } // UIExtensionProxyAccessor + namespace uiObserver_DensityInfoAccessor { + void DestroyPeerImpl(Ark_uiObserver_DensityInfo peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_TransitionEffect Construct6Impl(const Ark_AsymmetricTransitionOption* effect) + Ark_uiObserver_DensityInfo ConstructImpl() { return {}; } @@ -18920,79 +20256,89 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_TransitionEffect TranslateImpl(const Ark_TranslateOptions* options) + Ark_UIContext GetContextImpl(Ark_uiObserver_DensityInfo peer) { return {}; } - Ark_TransitionEffect RotateImpl(const Ark_RotateOptions* options) + void SetContextImpl(Ark_uiObserver_DensityInfo peer, + Ark_UIContext context) { - return {}; } - Ark_TransitionEffect ScaleImpl(const Ark_ScaleOptions* options) + Ark_Number GetDensityImpl(Ark_uiObserver_DensityInfo peer) { return {}; } - Ark_TransitionEffect OpacityImpl(const Ark_Number* alpha) + void SetDensityImpl(Ark_uiObserver_DensityInfo peer, + const Ark_Number* density) { - return {}; } - Ark_TransitionEffect MoveImpl(Ark_TransitionEdge edge) + } // uiObserver_DensityInfoAccessor + namespace uiObserver_RouterPageInfoAccessor { + void DestroyPeerImpl(Ark_uiObserver_RouterPageInfo peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_TransitionEffect AsymmetricImpl(Ark_TransitionEffect appear, - Ark_TransitionEffect disappear) + Ark_uiObserver_RouterPageInfo ConstructImpl() { return {}; } - Ark_TransitionEffect AnimationImpl(Ark_TransitionEffect peer, - const Ark_AnimateParam* value) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - Ark_TransitionEffect CombineImpl(Ark_TransitionEffect peer, - Ark_TransitionEffect transitionEffect) + Ark_Number GetIndexImpl(Ark_uiObserver_RouterPageInfo peer) { return {}; } - Ark_TransitionEffect GetIDENTITYImpl() + void SetIndexImpl(Ark_uiObserver_RouterPageInfo peer, + const Ark_Number* index) + { + } + Ark_String GetNameImpl(Ark_uiObserver_RouterPageInfo peer) { return {}; } - void SetIDENTITYImpl(Ark_TransitionEffect IDENTITY) + void SetNameImpl(Ark_uiObserver_RouterPageInfo peer, + const Ark_String* name) { } - Ark_TransitionEffect GetOPACITYImpl() + Ark_String GetPathImpl(Ark_uiObserver_RouterPageInfo peer) { return {}; } - void SetOPACITYImpl(Ark_TransitionEffect OPACITY) + void SetPathImpl(Ark_uiObserver_RouterPageInfo peer, + const Ark_String* path) { } - Ark_TransitionEffect GetSLIDEImpl() + Ark_uiObserver_RouterPageState GetStateImpl(Ark_uiObserver_RouterPageInfo peer) { return {}; } - void SetSLIDEImpl(Ark_TransitionEffect SLIDE) + void SetStateImpl(Ark_uiObserver_RouterPageInfo peer, + Ark_uiObserver_RouterPageState state) { } - Ark_TransitionEffect GetSLIDE_SWITCHImpl() + Ark_String GetPageIdImpl(Ark_uiObserver_RouterPageInfo peer) { return {}; } - void SetSLIDE_SWITCHImpl(Ark_TransitionEffect SLIDE_SWITCH) + void SetPageIdImpl(Ark_uiObserver_RouterPageInfo peer, + const Ark_String* pageId) { } - } // TransitionEffectAccessor - namespace UICommonEventAccessor { - void DestroyPeerImpl(Ark_UICommonEvent peer) + } // uiObserver_RouterPageInfoAccessor + namespace unifiedDataChannel_UnifiedDataAccessor { + void DestroyPeerImpl(Ark_unifiedDataChannel_UnifiedData peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_UICommonEvent ConstructImpl() + Ark_unifiedDataChannel_UnifiedData ConstructImpl() { return {}; } @@ -19000,61 +20346,63 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void SetOnClickImpl(Ark_UICommonEvent peer, - const Opt_Callback_ClickEvent_Void* callback_) - { - } - void SetOnTouchImpl(Ark_UICommonEvent peer, - const Opt_Callback_TouchEvent_Void* callback_) - { - } - void SetOnAppearImpl(Ark_UICommonEvent peer, - const Opt_Callback_Void* callback_) + Ark_Boolean HasTypeImpl(Ark_unifiedDataChannel_UnifiedData peer, + const Ark_String* UnifiedData_type) { + return {}; } - void SetOnDisappearImpl(Ark_UICommonEvent peer, - const Opt_Callback_Void* callback_) + Array_String GetTypesImpl(Ark_unifiedDataChannel_UnifiedData peer) { + return {}; } - void SetOnKeyEventImpl(Ark_UICommonEvent peer, - const Opt_Callback_KeyEvent_Void* callback_) + } // unifiedDataChannel_UnifiedDataAccessor + namespace UrlStyleAccessor { + void DestroyPeerImpl(Ark_UrlStyle peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void SetOnFocusImpl(Ark_UICommonEvent peer, - const Opt_Callback_Void* callback_) + Ark_UrlStyle ConstructImpl(const Ark_String* url) { + return {}; } - void SetOnBlurImpl(Ark_UICommonEvent peer, - const Opt_Callback_Void* callback_) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - void SetOnHoverImpl(Ark_UICommonEvent peer, - const Opt_HoverCallback* callback_) + Ark_String GetUrlImpl(Ark_UrlStyle peer) { + return {}; } - void SetOnMouseImpl(Ark_UICommonEvent peer, - const Opt_Callback_MouseEvent_Void* callback_) + } // UrlStyleAccessor + namespace UserDataSpanAccessor { + void DestroyPeerImpl(Ark_UserDataSpan peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void SetOnSizeChangeImpl(Ark_UICommonEvent peer, - const Opt_SizeChangeCallback* callback_) + Ark_UserDataSpan ConstructImpl() { + return {}; } - void SetOnVisibleAreaApproximateChangeImpl(Ark_UICommonEvent peer, - const Ark_VisibleAreaEventOptions* options, - const Opt_VisibleAreaChangeCallback* event) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - } // UICommonEventAccessor - namespace UIContextAccessor { - void DestroyPeerImpl(Ark_UIContext peer) + } // UserDataSpanAccessor + namespace VideoControllerAccessor { + void DestroyPeerImpl(Ark_VideoController peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_UIContext ConstructImpl() + Ark_VideoController ConstructImpl() { return {}; } @@ -19062,183 +20410,160 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_drawing_Font GetFontImpl(Ark_UIContext peer) + void StartImpl(Ark_VideoController peer) { - return {}; } - Ark_String GetFilteredInspectorTreeImpl(Ark_VMContext vmContext, - Ark_UIContext peer, - const Opt_Array_String* filters) + void PauseImpl(Ark_VideoController peer) { - return {}; } - Ark_String GetFilteredInspectorTreeByIdImpl(Ark_VMContext vmContext, - Ark_UIContext peer, - const Ark_String* id, - const Ark_Number* depth, - const Opt_Array_String* filters) + void StopImpl(Ark_VideoController peer) { - return {}; } - void AnimateToImpl(Ark_UIContext peer, - const Ark_AnimateParam* value, - const Callback_Void* event) + void RequestFullscreenImpl(Ark_VideoController peer, + Ark_Boolean value) { } - void ShowTextPickerDialogImpl(Ark_UIContext peer, - const Ark_TextPickerDialogOptions* options) + void ExitFullscreenImpl(Ark_VideoController peer) { } - void RunScopedTaskImpl(Ark_UIContext peer, - const Callback_Void* callback_) + void SetCurrentTimeDefaultImpl(Ark_VideoController peer, + Ark_Float64 value) { } - void AnimateToImmediatelyImpl(Ark_UIContext peer, - const Ark_AnimateParam* param, - const Callback_Void* event) + void SetCurrentTimeWithModeImpl(Ark_VideoController peer, + Ark_Float64 value, + Ark_SeekMode seekMode) { } - Opt_FrameNode GetFrameNodeByIdImpl(Ark_UIContext peer, - const Ark_String* id) + void ResetImpl(Ark_VideoController peer) { - return {}; } - Opt_FrameNode GetAttachedFrameNodeByIdImpl(Ark_UIContext peer, - const Ark_String* id) + } // VideoControllerAccessor + namespace WaterFlowSectionsAccessor { + void DestroyPeerImpl(Ark_WaterFlowSections peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Opt_FrameNode GetFrameNodeByUniqueIdImpl(Ark_UIContext peer, - const Ark_Number* id) + Ark_WaterFlowSections ConstructImpl() { return {}; } - Ark_Number Vp2pxImpl(Ark_UIContext peer, - const Ark_Number* value) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number Px2vpImpl(Ark_UIContext peer, - const Ark_Number* value) + Ark_Boolean SpliceImpl(Ark_WaterFlowSections peer, + const Ark_Number* start, + const Opt_Number* deleteCount, + const Opt_Array_SectionOptions* sections) { return {}; } - Ark_Number Fp2pxImpl(Ark_UIContext peer, - const Ark_Number* value) + Ark_Boolean PushImpl(Ark_WaterFlowSections peer, + const Ark_SectionOptions* section) { return {}; } - Ark_Number Px2fpImpl(Ark_UIContext peer, - const Ark_Number* value) + Ark_Boolean UpdateImpl(Ark_WaterFlowSections peer, + const Ark_Number* sectionIndex, + const Ark_SectionOptions* section) { return {}; } - Ark_Number Lpx2pxImpl(Ark_UIContext peer, - const Ark_Number* value) + Array_SectionOptions ValuesImpl(Ark_WaterFlowSections peer) { return {}; } - Ark_Number Px2lpxImpl(Ark_UIContext peer, - const Ark_Number* value) + Ark_Number LengthImpl(Ark_WaterFlowSections peer) { return {}; } - Opt_common_Context GetHostContextImpl(Ark_UIContext peer) + } // WaterFlowSectionsAccessor + namespace WebContextMenuParamAccessor { + void DestroyPeerImpl(Ark_WebContextMenuParam peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_WebContextMenuParam ConstructImpl() { return {}; } - void SetDynamicDimmingImpl(Ark_UIContext peer, - const Ark_String* id, - const Ark_Number* value) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Opt_String GetWindowNameImpl(Ark_UIContext peer) + Ark_Int32 XImpl(Ark_WebContextMenuParam peer) { return {}; } - Ark_WidthBreakpoint GetWindowWidthBreakpointImpl(Ark_UIContext peer) + Ark_Int32 YImpl(Ark_WebContextMenuParam peer) { return {}; } - Ark_HeightBreakpoint GetWindowHeightBreakpointImpl(Ark_UIContext peer) + Ark_String GetLinkUrlImpl(Ark_WebContextMenuParam peer) { return {}; } - void OpenBindSheetImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_UIContext peer, - Ark_ComponentContent bindSheetContent, - const Opt_SheetOptions* sheetOptions, - const Opt_Number* targetId, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_String GetUnfilteredLinkUrlImpl(Ark_WebContextMenuParam peer) { + return {}; } - void UpdateBindSheetImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_UIContext peer, - Ark_ComponentContent bindSheetContent, - const Ark_SheetOptions* sheetOptions, - const Opt_Boolean* partialUpdate, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_String GetSourceUrlImpl(Ark_WebContextMenuParam peer) { + return {}; } - void CloseBindSheetImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_UIContext peer, - Ark_ComponentContent bindSheetContent, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_Boolean ExistsImageContentsImpl(Ark_WebContextMenuParam peer) { + return {}; } - void ClearResourceCacheImpl(Ark_VMContext vmContext, - Ark_UIContext peer) + Ark_ContextMenuMediaType GetMediaTypeImpl(Ark_WebContextMenuParam peer) { + return {}; } - Ark_Boolean IsFollowingSystemFontScaleImpl(Ark_UIContext peer) + Ark_String GetSelectionTextImpl(Ark_WebContextMenuParam peer) { return {}; } - Ark_Number GetMaxFontScaleImpl(Ark_UIContext peer) + Ark_ContextMenuSourceType GetSourceTypeImpl(Ark_WebContextMenuParam peer) { return {}; } - } // UIContextAccessor - namespace UIContextAtomicServiceBarAccessor { - Ark_Frame GetBarRectImpl() + Ark_ContextMenuInputFieldType GetInputFieldTypeImpl(Ark_WebContextMenuParam peer) { return {}; } - } // UIContextAtomicServiceBarAccessor - namespace uiEffect_VisualEffectAccessor { - void DestroyPeerImpl(Ark_uiEffect_VisualEffect peer) + Ark_Boolean IsEditableImpl(Ark_WebContextMenuParam peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_uiEffect_VisualEffect ConstructImpl() + Ark_Int32 GetEditStateFlagsImpl(Ark_WebContextMenuParam peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Int32 GetPreviewWidthImpl(Ark_WebContextMenuParam peer) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - Ark_uiEffect_VisualEffect BackgroundColorBlenderImpl(Ark_uiEffect_VisualEffect peer, - const Ark_uiEffect_BrightnessBlender* blender) + Ark_Int32 GetPreviewHeightImpl(Ark_WebContextMenuParam peer) { return {}; } - } // uiEffect_VisualEffectAccessor - namespace UIExtensionProxyAccessor { - void DestroyPeerImpl(Ark_UIExtensionProxy peer) + } // WebContextMenuParamAccessor + namespace WebContextMenuResultAccessor { + void DestroyPeerImpl(Ark_WebContextMenuResult peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_UIExtensionProxy ConstructImpl() + Ark_WebContextMenuResult ConstructImpl() { return {}; } @@ -19246,74 +20571,34 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void SendImpl(Ark_UIExtensionProxy peer, - const Map_String_Object* data) - { - } - Map_String_Object SendSyncImpl(Ark_UIExtensionProxy peer, - const Map_String_Object* data) - { - return {}; - } - void OnAsyncReceiverRegisterImpl(Ark_UIExtensionProxy peer, - const Callback_UIExtensionProxy_Void* callback_) - { - } - void OnSyncReceiverRegisterImpl(Ark_UIExtensionProxy peer, - const Callback_UIExtensionProxy_Void* callback_) - { - } - void OffAsyncReceiverRegisterImpl(Ark_UIExtensionProxy peer, - const Opt_Callback_UIExtensionProxy_Void* callback_) - { - } - void OffSyncReceiverRegisterImpl(Ark_UIExtensionProxy peer, - const Opt_Callback_UIExtensionProxy_Void* callback_) - { - } - } // UIExtensionProxyAccessor - namespace uiObserver_DensityInfoAccessor { - void DestroyPeerImpl(Ark_uiObserver_DensityInfo peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_uiObserver_DensityInfo ConstructImpl() + void CloseContextMenuImpl(Ark_WebContextMenuResult peer) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void CopyImageImpl(Ark_WebContextMenuResult peer) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_UIContext GetContextImpl(Ark_uiObserver_DensityInfo peer) + void CopyImpl(Ark_WebContextMenuResult peer) { - return {}; } - void SetContextImpl(Ark_uiObserver_DensityInfo peer, - Ark_UIContext context) + void PasteImpl(Ark_WebContextMenuResult peer) { } - Ark_Number GetDensityImpl(Ark_uiObserver_DensityInfo peer) + void CutImpl(Ark_WebContextMenuResult peer) { - return {}; } - void SetDensityImpl(Ark_uiObserver_DensityInfo peer, - const Ark_Number* density) + void SelectAllImpl(Ark_WebContextMenuResult peer) { } - } // uiObserver_DensityInfoAccessor - namespace uiObserver_RouterPageInfoAccessor { - void DestroyPeerImpl(Ark_uiObserver_RouterPageInfo peer) + } // WebContextMenuResultAccessor + namespace WebCookieAccessor { + void DestroyPeerImpl(Ark_WebCookie peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_uiObserver_RouterPageInfo ConstructImpl() + Ark_WebCookie ConstructImpl() { return {}; } @@ -19321,56 +20606,58 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetIndexImpl(Ark_uiObserver_RouterPageInfo peer) + void SetCookieImpl(Ark_WebCookie peer) { - return {}; } - void SetIndexImpl(Ark_uiObserver_RouterPageInfo peer, - const Ark_Number* index) + void SaveCookieImpl(Ark_WebCookie peer) { } - Ark_String GetNameImpl(Ark_uiObserver_RouterPageInfo peer) + } // WebCookieAccessor + namespace WebKeyboardControllerAccessor { + void DestroyPeerImpl(Ark_WebKeyboardController peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - void SetNameImpl(Ark_uiObserver_RouterPageInfo peer, - const Ark_String* name) + Ark_WebKeyboardController ConstructImpl() { + return {}; } - Ark_String GetPathImpl(Ark_uiObserver_RouterPageInfo peer) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - void SetPathImpl(Ark_uiObserver_RouterPageInfo peer, - const Ark_String* path) + void InsertTextImpl(Ark_WebKeyboardController peer, + const Ark_String* text) { } - Ark_uiObserver_RouterPageState GetStateImpl(Ark_uiObserver_RouterPageInfo peer) + void DeleteForwardImpl(Ark_WebKeyboardController peer, + Ark_Int32 length) { - return {}; } - void SetStateImpl(Ark_uiObserver_RouterPageInfo peer, - Ark_uiObserver_RouterPageState state) + void DeleteBackwardImpl(Ark_WebKeyboardController peer, + Ark_Int32 length) { } - Ark_String GetPageIdImpl(Ark_uiObserver_RouterPageInfo peer) + void SendFunctionKeyImpl(Ark_WebKeyboardController peer, + Ark_Int32 key) { - return {}; } - void SetPageIdImpl(Ark_uiObserver_RouterPageInfo peer, - const Ark_String* pageId) + void CloseImpl(Ark_WebKeyboardController peer) { } - } // uiObserver_RouterPageInfoAccessor - namespace unifiedDataChannel_UnifiedDataAccessor { - void DestroyPeerImpl(Ark_unifiedDataChannel_UnifiedData peer) + } // WebKeyboardControllerAccessor + namespace WebResourceErrorAccessor { + void DestroyPeerImpl(Ark_WebResourceError peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_unifiedDataChannel_UnifiedData ConstructImpl() + Ark_WebResourceError ConstructImpl() { return {}; } @@ -19378,25 +20665,24 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_Boolean HasTypeImpl(Ark_unifiedDataChannel_UnifiedData peer, - const Ark_String* UnifiedData_type) + Ark_String GetErrorInfoImpl(Ark_WebResourceError peer) { return {}; } - Array_String GetTypesImpl(Ark_unifiedDataChannel_UnifiedData peer) + Ark_Number GetErrorCodeImpl(Ark_WebResourceError peer) { return {}; } - } // unifiedDataChannel_UnifiedDataAccessor - namespace UrlStyleAccessor { - void DestroyPeerImpl(Ark_UrlStyle peer) + } // WebResourceErrorAccessor + namespace WebResourceRequestAccessor { + void DestroyPeerImpl(Ark_WebResourceRequest peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_UrlStyle ConstructImpl(const Ark_String* url) + Ark_WebResourceRequest ConstructImpl() { return {}; } @@ -19404,37 +20690,40 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_String GetUrlImpl(Ark_UrlStyle peer) + Array_Header GetRequestHeaderImpl(Ark_WebResourceRequest peer) { return {}; } - } // UrlStyleAccessor - namespace UserDataSpanAccessor { - void DestroyPeerImpl(Ark_UserDataSpan peer) + Ark_String GetRequestUrlImpl(Ark_WebResourceRequest peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_UserDataSpan ConstructImpl() + Ark_Boolean IsRequestGestureImpl(Ark_WebResourceRequest peer) { return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Boolean IsMainFrameImpl(Ark_WebResourceRequest peer) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - } // UserDataSpanAccessor - namespace VideoControllerAccessor { - void DestroyPeerImpl(Ark_VideoController peer) + Ark_Boolean IsRedirectImpl(Ark_WebResourceRequest peer) { - auto peerImpl = reinterpret_cast(peer); + return {}; + } + Ark_String GetRequestMethodImpl(Ark_WebResourceRequest peer) + { + return {}; + } + } // WebResourceRequestAccessor + namespace WebResourceResponseAccessor { + void DestroyPeerImpl(Ark_WebResourceResponse peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_VideoController ConstructImpl() + Ark_WebResourceResponse ConstructImpl() { return {}; } @@ -19442,87 +20731,76 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void StartImpl(Ark_VideoController peer) - { - } - void PauseImpl(Ark_VideoController peer) + Ark_String GetResponseDataImpl(Ark_WebResourceResponse peer) { + return {}; } - void StopImpl(Ark_VideoController peer) + Opt_Union_String_Number_Buffer_Resource GetResponseDataExImpl(Ark_WebResourceResponse peer) { + return {}; } - void SetCurrentTime0Impl(Ark_VideoController peer, - const Ark_Number* value) + Ark_String GetResponseEncodingImpl(Ark_WebResourceResponse peer) { + return {}; } - void RequestFullscreenImpl(Ark_VideoController peer, - Ark_Boolean value) + Ark_String GetResponseMimeTypeImpl(Ark_WebResourceResponse peer) { + return {}; } - void ExitFullscreenImpl(Ark_VideoController peer) + Ark_String GetReasonMessageImpl(Ark_WebResourceResponse peer) { + return {}; } - void SetCurrentTime1Impl(Ark_VideoController peer, - const Ark_Number* value, - Ark_SeekMode seekMode) + Array_Header GetResponseHeaderImpl(Ark_WebResourceResponse peer) { + return {}; } - void ResetImpl(Ark_VideoController peer) + Ark_Number GetResponseCodeImpl(Ark_WebResourceResponse peer) { + return {}; } - } // VideoControllerAccessor - namespace WaterFlowSectionsAccessor { - void DestroyPeerImpl(Ark_WaterFlowSections peer) + void SetResponseDataImpl(Ark_WebResourceResponse peer, + const Ark_Union_String_Number_Resource_Buffer* data) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_WaterFlowSections ConstructImpl() + void SetResponseEncodingImpl(Ark_WebResourceResponse peer, + const Ark_String* encoding) { - return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetResponseMimeTypeImpl(Ark_WebResourceResponse peer, + const Ark_String* mimeType) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_Boolean SpliceImpl(Ark_WaterFlowSections peer, - const Ark_Number* start, - const Opt_Number* deleteCount, - const Opt_Array_SectionOptions* sections) + void SetReasonMessageImpl(Ark_WebResourceResponse peer, + const Ark_String* reason) { - return {}; } - Ark_Boolean PushImpl(Ark_WaterFlowSections peer, - const Ark_SectionOptions* section) + void SetResponseHeaderImpl(Ark_WebResourceResponse peer, + const Array_Header* header) { - return {}; } - Ark_Boolean UpdateImpl(Ark_WaterFlowSections peer, - const Ark_Number* sectionIndex, - const Ark_SectionOptions* section) + void SetResponseCodeImpl(Ark_WebResourceResponse peer, + const Ark_Number* code) { - return {}; } - Array_SectionOptions ValuesImpl(Ark_WaterFlowSections peer) + void SetResponseIsReadyImpl(Ark_WebResourceResponse peer, + Ark_Boolean IsReady) { - return {}; } - Ark_Number LengthImpl(Ark_WaterFlowSections peer) + Ark_Boolean GetResponseIsReadyImpl(Ark_WebResourceResponse peer) { return {}; } - } // WaterFlowSectionsAccessor - namespace WebCookieAccessor { - void DestroyPeerImpl(Ark_WebCookie peer) + } // WebResourceResponseAccessor + namespace webview_WebviewControllerAccessor { + void DestroyPeerImpl(Ark_webview_WebviewController peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_WebCookie ConstructImpl() + Ark_webview_WebviewController ConstructImpl() { return {}; } @@ -19530,13 +20808,15 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void SetCookieImpl(Ark_WebCookie peer) + void InitializeWebEngineImpl() { } - void SaveCookieImpl(Ark_WebCookie peer) + void LoadUrlImpl(Ark_webview_WebviewController peer, + const Ark_Union_String_Resource* url, + const Opt_Array_webview_WebHeader* headers) { } - } // WebCookieAccessor + } // webview_WebviewControllerAccessor namespace XComponentControllerAccessor { void DestroyPeerImpl(Ark_XComponentController peer) { @@ -19557,10 +20837,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return {}; } - Ark_Object GetXComponentContextImpl(Ark_XComponentController peer) - { - return {}; - } void SetXComponentSurfaceRectImpl(Ark_XComponentController peer, const Ark_SurfaceRect* rect) { @@ -20241,6 +21517,23 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct ClickEventPeer { virtual ~ClickEventPeer() = default; }; + const GENERATED_ArkUIClientAuthenticationHandlerAccessor* GetClientAuthenticationHandlerAccessor() + { + static const GENERATED_ArkUIClientAuthenticationHandlerAccessor ClientAuthenticationHandlerAccessorImpl { + ClientAuthenticationHandlerAccessor::DestroyPeerImpl, + ClientAuthenticationHandlerAccessor::ConstructImpl, + ClientAuthenticationHandlerAccessor::GetFinalizerImpl, + ClientAuthenticationHandlerAccessor::Confirm0Impl, + ClientAuthenticationHandlerAccessor::Confirm1Impl, + ClientAuthenticationHandlerAccessor::CancelImpl, + ClientAuthenticationHandlerAccessor::IgnoreImpl, + }; + return &ClientAuthenticationHandlerAccessorImpl; + } + + struct ClientAuthenticationHandlerPeer { + virtual ~ClientAuthenticationHandlerPeer() = default; + }; const GENERATED_ArkUIColorContentAccessor* GetColorContentAccessor() { static const GENERATED_ArkUIColorContentAccessor ColorContentAccessorImpl { @@ -20360,6 +21653,23 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct ComponentContentPeer { virtual ~ComponentContentPeer() = default; }; + const GENERATED_ArkUIConsoleMessageAccessor* GetConsoleMessageAccessor() + { + static const GENERATED_ArkUIConsoleMessageAccessor ConsoleMessageAccessorImpl { + ConsoleMessageAccessor::DestroyPeerImpl, + ConsoleMessageAccessor::ConstructImpl, + ConsoleMessageAccessor::GetFinalizerImpl, + ConsoleMessageAccessor::GetMessageImpl, + ConsoleMessageAccessor::GetSourceIdImpl, + ConsoleMessageAccessor::GetLineNumberImpl, + ConsoleMessageAccessor::GetMessageLevelImpl, + }; + return &ConsoleMessageAccessorImpl; + } + + struct ConsoleMessagePeer { + virtual ~ConsoleMessagePeer() = default; + }; const GENERATED_ArkUIContentModifierHelperAccessor* GetContentModifierHelperAccessor() { static const GENERATED_ArkUIContentModifierHelperAccessor ContentModifierHelperAccessorImpl { @@ -20406,6 +21716,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct ContextPeer { virtual ~ContextPeer() = default; }; + const GENERATED_ArkUIControllerHandlerAccessor* GetControllerHandlerAccessor() + { + static const GENERATED_ArkUIControllerHandlerAccessor ControllerHandlerAccessorImpl { + ControllerHandlerAccessor::DestroyPeerImpl, + ControllerHandlerAccessor::ConstructImpl, + ControllerHandlerAccessor::GetFinalizerImpl, + ControllerHandlerAccessor::SetWebControllerImpl, + }; + return &ControllerHandlerAccessorImpl; + } + + struct ControllerHandlerPeer { + virtual ~ControllerHandlerPeer() = default; + }; const GENERATED_ArkUICurves_ICurveAccessor* GetCurves_ICurveAccessor() { static const GENERATED_ArkUICurves_ICurveAccessor Curves_ICurveAccessorImpl { @@ -20453,6 +21777,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct CustomSpanPeer { virtual ~CustomSpanPeer() = default; }; + const GENERATED_ArkUIDataResubmissionHandlerAccessor* GetDataResubmissionHandlerAccessor() + { + static const GENERATED_ArkUIDataResubmissionHandlerAccessor DataResubmissionHandlerAccessorImpl { + DataResubmissionHandlerAccessor::DestroyPeerImpl, + DataResubmissionHandlerAccessor::ConstructImpl, + DataResubmissionHandlerAccessor::GetFinalizerImpl, + DataResubmissionHandlerAccessor::ResendImpl, + DataResubmissionHandlerAccessor::CancelImpl, + }; + return &DataResubmissionHandlerAccessorImpl; + } + + struct DataResubmissionHandlerPeer { + virtual ~DataResubmissionHandlerPeer() = default; + }; const GENERATED_ArkUIDatePickerDialogAccessor* GetDatePickerDialogAccessor() { static const GENERATED_ArkUIDatePickerDialogAccessor DatePickerDialogAccessorImpl { @@ -21123,6 +22462,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &EventEmulatorAccessorImpl; } + const GENERATED_ArkUIEventResultAccessor* GetEventResultAccessor() + { + static const GENERATED_ArkUIEventResultAccessor EventResultAccessorImpl { + EventResultAccessor::DestroyPeerImpl, + EventResultAccessor::ConstructImpl, + EventResultAccessor::GetFinalizerImpl, + EventResultAccessor::SetGestureEventResult0Impl, + EventResultAccessor::SetGestureEventResult1Impl, + }; + return &EventResultAccessorImpl; + } + + struct EventResultPeer { + virtual ~EventResultPeer() = default; + }; const GENERATED_ArkUIEventTargetInfoAccessor* GetEventTargetInfoAccessor() { static const GENERATED_ArkUIEventTargetInfoAccessor EventTargetInfoAccessorImpl { @@ -21156,6 +22510,38 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct ExtendableComponentPeer { virtual ~ExtendableComponentPeer() = default; }; + const GENERATED_ArkUIFileSelectorParamAccessor* GetFileSelectorParamAccessor() + { + static const GENERATED_ArkUIFileSelectorParamAccessor FileSelectorParamAccessorImpl { + FileSelectorParamAccessor::DestroyPeerImpl, + FileSelectorParamAccessor::ConstructImpl, + FileSelectorParamAccessor::GetFinalizerImpl, + FileSelectorParamAccessor::GetTitleImpl, + FileSelectorParamAccessor::GetModeImpl, + FileSelectorParamAccessor::GetAcceptTypeImpl, + FileSelectorParamAccessor::IsCaptureImpl, + FileSelectorParamAccessor::GetMimeTypesImpl, + }; + return &FileSelectorParamAccessorImpl; + } + + struct FileSelectorParamPeer { + virtual ~FileSelectorParamPeer() = default; + }; + const GENERATED_ArkUIFileSelectorResultAccessor* GetFileSelectorResultAccessor() + { + static const GENERATED_ArkUIFileSelectorResultAccessor FileSelectorResultAccessorImpl { + FileSelectorResultAccessor::DestroyPeerImpl, + FileSelectorResultAccessor::ConstructImpl, + FileSelectorResultAccessor::GetFinalizerImpl, + FileSelectorResultAccessor::HandleFileListImpl, + }; + return &FileSelectorResultAccessorImpl; + } + + struct FileSelectorResultPeer { + virtual ~FileSelectorResultPeer() = default; + }; const GENERATED_ArkUIFocusAxisEventAccessor* GetFocusAxisEventAccessor() { static const GENERATED_ArkUIFocusAxisEventAccessor FocusAxisEventAccessorImpl { @@ -21251,6 +22637,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct FrictionMotionPeer { virtual ~FrictionMotionPeer() = default; }; + const GENERATED_ArkUIFullScreenExitHandlerAccessor* GetFullScreenExitHandlerAccessor() + { + static const GENERATED_ArkUIFullScreenExitHandlerAccessor FullScreenExitHandlerAccessorImpl { + FullScreenExitHandlerAccessor::DestroyPeerImpl, + FullScreenExitHandlerAccessor::ConstructImpl, + FullScreenExitHandlerAccessor::GetFinalizerImpl, + FullScreenExitHandlerAccessor::ExitFullScreenImpl, + }; + return &FullScreenExitHandlerAccessorImpl; + } + + struct FullScreenExitHandlerPeer { + virtual ~FullScreenExitHandlerPeer() = default; + }; const GENERATED_ArkUIGestureAccessor* GetGestureAccessor() { static const GENERATED_ArkUIGestureAccessor GestureAccessorImpl { @@ -21432,6 +22832,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct HoverEventPeer { virtual ~HoverEventPeer() = default; }; + const GENERATED_ArkUIHttpAuthHandlerAccessor* GetHttpAuthHandlerAccessor() + { + static const GENERATED_ArkUIHttpAuthHandlerAccessor HttpAuthHandlerAccessorImpl { + HttpAuthHandlerAccessor::DestroyPeerImpl, + HttpAuthHandlerAccessor::ConstructImpl, + HttpAuthHandlerAccessor::GetFinalizerImpl, + HttpAuthHandlerAccessor::ConfirmImpl, + HttpAuthHandlerAccessor::CancelImpl, + HttpAuthHandlerAccessor::IsHttpAuthInfoSavedImpl, + }; + return &HttpAuthHandlerAccessorImpl; + } + + struct HttpAuthHandlerPeer { + virtual ~HttpAuthHandlerPeer() = default; + }; const GENERATED_ArkUIImageAnalyzerControllerAccessor* GetImageAnalyzerControllerAccessor() { static const GENERATED_ArkUIImageAnalyzerControllerAccessor ImageAnalyzerControllerAccessorImpl { @@ -21527,6 +22943,36 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &IUIContextAccessorImpl; } + const GENERATED_ArkUIJsGeolocationAccessor* GetJsGeolocationAccessor() + { + static const GENERATED_ArkUIJsGeolocationAccessor JsGeolocationAccessorImpl { + JsGeolocationAccessor::DestroyPeerImpl, + JsGeolocationAccessor::ConstructImpl, + JsGeolocationAccessor::GetFinalizerImpl, + JsGeolocationAccessor::InvokeImpl, + }; + return &JsGeolocationAccessorImpl; + } + + struct JsGeolocationPeer { + virtual ~JsGeolocationPeer() = default; + }; + const GENERATED_ArkUIJsResultAccessor* GetJsResultAccessor() + { + static const GENERATED_ArkUIJsResultAccessor JsResultAccessorImpl { + JsResultAccessor::DestroyPeerImpl, + JsResultAccessor::ConstructImpl, + JsResultAccessor::GetFinalizerImpl, + JsResultAccessor::HandleCancelImpl, + JsResultAccessor::HandleConfirmImpl, + JsResultAccessor::HandlePromptConfirmImpl, + }; + return &JsResultAccessorImpl; + } + + struct JsResultPeer { + virtual ~JsResultPeer() = default; + }; const GENERATED_ArkUIKeyEventAccessor* GetKeyEventAccessor() { static const GENERATED_ArkUIKeyEventAccessor KeyEventAccessorImpl { @@ -21583,21 +23029,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct LayoutablePeer { virtual ~LayoutablePeer() = default; }; - const GENERATED_ArkUILayoutCallbackAccessor* GetLayoutCallbackAccessor() - { - static const GENERATED_ArkUILayoutCallbackAccessor LayoutCallbackAccessorImpl { - LayoutCallbackAccessor::DestroyPeerImpl, - LayoutCallbackAccessor::ConstructImpl, - LayoutCallbackAccessor::GetFinalizerImpl, - LayoutCallbackAccessor::OnPlaceChildrenImpl, - LayoutCallbackAccessor::OnMeasureSizeImpl, - }; - return &LayoutCallbackAccessorImpl; - } - - struct LayoutCallbackPeer { - virtual ~LayoutCallbackPeer() = default; - }; const GENERATED_ArkUILayoutChildAccessor* GetLayoutChildAccessor() { static const GENERATED_ArkUILayoutChildAccessor LayoutChildAccessorImpl { @@ -21846,12 +23277,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { Matrix2DAccessor::ScaleImpl, Matrix2DAccessor::GetScaleXImpl, Matrix2DAccessor::SetScaleXImpl, - Matrix2DAccessor::GetRotateYImpl, - Matrix2DAccessor::SetRotateYImpl, - Matrix2DAccessor::GetRotateXImpl, - Matrix2DAccessor::SetRotateXImpl, Matrix2DAccessor::GetScaleYImpl, Matrix2DAccessor::SetScaleYImpl, + Matrix2DAccessor::GetRotateXImpl, + Matrix2DAccessor::SetRotateXImpl, + Matrix2DAccessor::GetRotateYImpl, + Matrix2DAccessor::SetRotateYImpl, Matrix2DAccessor::GetTranslateXImpl, Matrix2DAccessor::SetTranslateXImpl, Matrix2DAccessor::GetTranslateYImpl, @@ -22148,24 +23579,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct OffscreenCanvasRenderingContext2DPeer { virtual ~OffscreenCanvasRenderingContext2DPeer() = default; }; - const GENERATED_ArkUIPageLifeCycleAccessor* GetPageLifeCycleAccessor() - { - static const GENERATED_ArkUIPageLifeCycleAccessor PageLifeCycleAccessorImpl { - PageLifeCycleAccessor::DestroyPeerImpl, - PageLifeCycleAccessor::ConstructImpl, - PageLifeCycleAccessor::GetFinalizerImpl, - PageLifeCycleAccessor::OnPageShowImpl, - PageLifeCycleAccessor::OnPageHideImpl, - PageLifeCycleAccessor::OnBackPressImpl, - PageLifeCycleAccessor::PageTransitionImpl, - PageLifeCycleAccessor::OnNewParamImpl, - }; - return &PageLifeCycleAccessorImpl; - } - - struct PageLifeCyclePeer { - virtual ~PageLifeCyclePeer() = default; - }; const GENERATED_ArkUIPanGestureEventAccessor* GetPanGestureEventAccessor() { static const GENERATED_ArkUIPanGestureEventAccessor PanGestureEventAccessorImpl { @@ -22310,6 +23723,23 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct PatternLockControllerPeer { virtual ~PatternLockControllerPeer() = default; }; + const GENERATED_ArkUIPermissionRequestAccessor* GetPermissionRequestAccessor() + { + static const GENERATED_ArkUIPermissionRequestAccessor PermissionRequestAccessorImpl { + PermissionRequestAccessor::DestroyPeerImpl, + PermissionRequestAccessor::ConstructImpl, + PermissionRequestAccessor::GetFinalizerImpl, + PermissionRequestAccessor::DenyImpl, + PermissionRequestAccessor::GetOriginImpl, + PermissionRequestAccessor::GetAccessibleResourceImpl, + PermissionRequestAccessor::GrantImpl, + }; + return &PermissionRequestAccessorImpl; + } + + struct PermissionRequestPeer { + virtual ~PermissionRequestPeer() = default; + }; const GENERATED_ArkUIPersistentStorageBackendAccessor* GetPersistentStorageBackendAccessor() { static const GENERATED_ArkUIPersistentStorageBackendAccessor PersistentStorageBackendAccessorImpl { @@ -22422,6 +23852,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct PromptActionPeer { virtual ~PromptActionPeer() = default; }; + const GENERATED_ArkUIPulseSymbolEffectAccessor* GetPulseSymbolEffectAccessor() + { + static const GENERATED_ArkUIPulseSymbolEffectAccessor PulseSymbolEffectAccessorImpl { + PulseSymbolEffectAccessor::DestroyPeerImpl, + PulseSymbolEffectAccessor::ConstructImpl, + PulseSymbolEffectAccessor::GetFinalizerImpl, + }; + return &PulseSymbolEffectAccessorImpl; + } + + struct PulseSymbolEffectPeer { + virtual ~PulseSymbolEffectPeer() = default; + }; const GENERATED_ArkUIRectShapeAccessor* GetRectShapeAccessor() { static const GENERATED_ArkUIRectShapeAccessor RectShapeAccessorImpl { @@ -22735,6 +24178,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct ScenePeer { virtual ~ScenePeer() = default; }; + const GENERATED_ArkUIScreenCaptureHandlerAccessor* GetScreenCaptureHandlerAccessor() + { + static const GENERATED_ArkUIScreenCaptureHandlerAccessor ScreenCaptureHandlerAccessorImpl { + ScreenCaptureHandlerAccessor::DestroyPeerImpl, + ScreenCaptureHandlerAccessor::ConstructImpl, + ScreenCaptureHandlerAccessor::GetFinalizerImpl, + ScreenCaptureHandlerAccessor::GetOriginImpl, + ScreenCaptureHandlerAccessor::GrantImpl, + ScreenCaptureHandlerAccessor::DenyImpl, + }; + return &ScreenCaptureHandlerAccessorImpl; + } + + struct ScreenCaptureHandlerPeer { + virtual ~ScreenCaptureHandlerPeer() = default; + }; const GENERATED_ArkUIScreenshotServiceAccessor* GetScreenshotServiceAccessor() { static const GENERATED_ArkUIScreenshotServiceAccessor ScreenshotServiceAccessorImpl { @@ -22901,6 +24360,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct SpringPropPeer { virtual ~SpringPropPeer() = default; }; + const GENERATED_ArkUISslErrorHandlerAccessor* GetSslErrorHandlerAccessor() + { + static const GENERATED_ArkUISslErrorHandlerAccessor SslErrorHandlerAccessorImpl { + SslErrorHandlerAccessor::DestroyPeerImpl, + SslErrorHandlerAccessor::ConstructImpl, + SslErrorHandlerAccessor::GetFinalizerImpl, + SslErrorHandlerAccessor::HandleConfirmImpl, + SslErrorHandlerAccessor::HandleCancelImpl, + }; + return &SslErrorHandlerAccessorImpl; + } + + struct SslErrorHandlerPeer { + virtual ~SslErrorHandlerPeer() = default; + }; const GENERATED_ArkUIStateStylesOpsAccessor* GetStateStylesOpsAccessor() { static const GENERATED_ArkUIStateStylesOpsAccessor StateStylesOpsAccessorImpl { @@ -23727,10 +25201,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { UIExtensionProxyAccessor::GetFinalizerImpl, UIExtensionProxyAccessor::SendImpl, UIExtensionProxyAccessor::SendSyncImpl, - UIExtensionProxyAccessor::OnAsyncReceiverRegisterImpl, - UIExtensionProxyAccessor::OnSyncReceiverRegisterImpl, - UIExtensionProxyAccessor::OffAsyncReceiverRegisterImpl, - UIExtensionProxyAccessor::OffSyncReceiverRegisterImpl, + UIExtensionProxyAccessor::OnAsyncReceiverRegisterAsyncReceiverRegisterImpl, + UIExtensionProxyAccessor::OnSyncReceiverRegisterSyncReceiverRegisterImpl, + UIExtensionProxyAccessor::OffAsyncReceiverRegisterAsyncReceiverRegisterImpl, + UIExtensionProxyAccessor::OffSyncReceiverRegisterSyncReceiverRegisterImpl, }; return &UIExtensionProxyAccessorImpl; } @@ -23829,10 +25303,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { VideoControllerAccessor::StartImpl, VideoControllerAccessor::PauseImpl, VideoControllerAccessor::StopImpl, - VideoControllerAccessor::SetCurrentTime0Impl, VideoControllerAccessor::RequestFullscreenImpl, VideoControllerAccessor::ExitFullscreenImpl, - VideoControllerAccessor::SetCurrentTime1Impl, + VideoControllerAccessor::SetCurrentTimeDefaultImpl, + VideoControllerAccessor::SetCurrentTimeWithModeImpl, VideoControllerAccessor::ResetImpl, }; return &VideoControllerAccessorImpl; @@ -23859,6 +25333,52 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct WaterFlowSectionsPeer { virtual ~WaterFlowSectionsPeer() = default; }; + const GENERATED_ArkUIWebContextMenuParamAccessor* GetWebContextMenuParamAccessor() + { + static const GENERATED_ArkUIWebContextMenuParamAccessor WebContextMenuParamAccessorImpl { + WebContextMenuParamAccessor::DestroyPeerImpl, + WebContextMenuParamAccessor::ConstructImpl, + WebContextMenuParamAccessor::GetFinalizerImpl, + WebContextMenuParamAccessor::XImpl, + WebContextMenuParamAccessor::YImpl, + WebContextMenuParamAccessor::GetLinkUrlImpl, + WebContextMenuParamAccessor::GetUnfilteredLinkUrlImpl, + WebContextMenuParamAccessor::GetSourceUrlImpl, + WebContextMenuParamAccessor::ExistsImageContentsImpl, + WebContextMenuParamAccessor::GetMediaTypeImpl, + WebContextMenuParamAccessor::GetSelectionTextImpl, + WebContextMenuParamAccessor::GetSourceTypeImpl, + WebContextMenuParamAccessor::GetInputFieldTypeImpl, + WebContextMenuParamAccessor::IsEditableImpl, + WebContextMenuParamAccessor::GetEditStateFlagsImpl, + WebContextMenuParamAccessor::GetPreviewWidthImpl, + WebContextMenuParamAccessor::GetPreviewHeightImpl, + }; + return &WebContextMenuParamAccessorImpl; + } + + struct WebContextMenuParamPeer { + virtual ~WebContextMenuParamPeer() = default; + }; + const GENERATED_ArkUIWebContextMenuResultAccessor* GetWebContextMenuResultAccessor() + { + static const GENERATED_ArkUIWebContextMenuResultAccessor WebContextMenuResultAccessorImpl { + WebContextMenuResultAccessor::DestroyPeerImpl, + WebContextMenuResultAccessor::ConstructImpl, + WebContextMenuResultAccessor::GetFinalizerImpl, + WebContextMenuResultAccessor::CloseContextMenuImpl, + WebContextMenuResultAccessor::CopyImageImpl, + WebContextMenuResultAccessor::CopyImpl, + WebContextMenuResultAccessor::PasteImpl, + WebContextMenuResultAccessor::CutImpl, + WebContextMenuResultAccessor::SelectAllImpl, + }; + return &WebContextMenuResultAccessorImpl; + } + + struct WebContextMenuResultPeer { + virtual ~WebContextMenuResultPeer() = default; + }; const GENERATED_ArkUIWebCookieAccessor* GetWebCookieAccessor() { static const GENERATED_ArkUIWebCookieAccessor WebCookieAccessorImpl { @@ -23874,6 +25394,101 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct WebCookiePeer { virtual ~WebCookiePeer() = default; }; + const GENERATED_ArkUIWebKeyboardControllerAccessor* GetWebKeyboardControllerAccessor() + { + static const GENERATED_ArkUIWebKeyboardControllerAccessor WebKeyboardControllerAccessorImpl { + WebKeyboardControllerAccessor::DestroyPeerImpl, + WebKeyboardControllerAccessor::ConstructImpl, + WebKeyboardControllerAccessor::GetFinalizerImpl, + WebKeyboardControllerAccessor::InsertTextImpl, + WebKeyboardControllerAccessor::DeleteForwardImpl, + WebKeyboardControllerAccessor::DeleteBackwardImpl, + WebKeyboardControllerAccessor::SendFunctionKeyImpl, + WebKeyboardControllerAccessor::CloseImpl, + }; + return &WebKeyboardControllerAccessorImpl; + } + + struct WebKeyboardControllerPeer { + virtual ~WebKeyboardControllerPeer() = default; + }; + const GENERATED_ArkUIWebResourceErrorAccessor* GetWebResourceErrorAccessor() + { + static const GENERATED_ArkUIWebResourceErrorAccessor WebResourceErrorAccessorImpl { + WebResourceErrorAccessor::DestroyPeerImpl, + WebResourceErrorAccessor::ConstructImpl, + WebResourceErrorAccessor::GetFinalizerImpl, + WebResourceErrorAccessor::GetErrorInfoImpl, + WebResourceErrorAccessor::GetErrorCodeImpl, + }; + return &WebResourceErrorAccessorImpl; + } + + struct WebResourceErrorPeer { + virtual ~WebResourceErrorPeer() = default; + }; + const GENERATED_ArkUIWebResourceRequestAccessor* GetWebResourceRequestAccessor() + { + static const GENERATED_ArkUIWebResourceRequestAccessor WebResourceRequestAccessorImpl { + WebResourceRequestAccessor::DestroyPeerImpl, + WebResourceRequestAccessor::ConstructImpl, + WebResourceRequestAccessor::GetFinalizerImpl, + WebResourceRequestAccessor::GetRequestHeaderImpl, + WebResourceRequestAccessor::GetRequestUrlImpl, + WebResourceRequestAccessor::IsRequestGestureImpl, + WebResourceRequestAccessor::IsMainFrameImpl, + WebResourceRequestAccessor::IsRedirectImpl, + WebResourceRequestAccessor::GetRequestMethodImpl, + }; + return &WebResourceRequestAccessorImpl; + } + + struct WebResourceRequestPeer { + virtual ~WebResourceRequestPeer() = default; + }; + const GENERATED_ArkUIWebResourceResponseAccessor* GetWebResourceResponseAccessor() + { + static const GENERATED_ArkUIWebResourceResponseAccessor WebResourceResponseAccessorImpl { + WebResourceResponseAccessor::DestroyPeerImpl, + WebResourceResponseAccessor::ConstructImpl, + WebResourceResponseAccessor::GetFinalizerImpl, + WebResourceResponseAccessor::GetResponseDataImpl, + WebResourceResponseAccessor::GetResponseDataExImpl, + WebResourceResponseAccessor::GetResponseEncodingImpl, + WebResourceResponseAccessor::GetResponseMimeTypeImpl, + WebResourceResponseAccessor::GetReasonMessageImpl, + WebResourceResponseAccessor::GetResponseHeaderImpl, + WebResourceResponseAccessor::GetResponseCodeImpl, + WebResourceResponseAccessor::SetResponseDataImpl, + WebResourceResponseAccessor::SetResponseEncodingImpl, + WebResourceResponseAccessor::SetResponseMimeTypeImpl, + WebResourceResponseAccessor::SetReasonMessageImpl, + WebResourceResponseAccessor::SetResponseHeaderImpl, + WebResourceResponseAccessor::SetResponseCodeImpl, + WebResourceResponseAccessor::SetResponseIsReadyImpl, + WebResourceResponseAccessor::GetResponseIsReadyImpl, + }; + return &WebResourceResponseAccessorImpl; + } + + struct WebResourceResponsePeer { + virtual ~WebResourceResponsePeer() = default; + }; + const GENERATED_ArkUIWebview_WebviewControllerAccessor* GetWebview_WebviewControllerAccessor() + { + static const GENERATED_ArkUIWebview_WebviewControllerAccessor Webview_WebviewControllerAccessorImpl { + webview_WebviewControllerAccessor::DestroyPeerImpl, + webview_WebviewControllerAccessor::ConstructImpl, + webview_WebviewControllerAccessor::GetFinalizerImpl, + webview_WebviewControllerAccessor::InitializeWebEngineImpl, + webview_WebviewControllerAccessor::LoadUrlImpl, + }; + return &Webview_WebviewControllerAccessorImpl; + } + + struct Webview_WebviewControllerPeer { + virtual ~Webview_WebviewControllerPeer() = default; + }; const GENERATED_ArkUIXComponentControllerAccessor* GetXComponentControllerAccessor() { static const GENERATED_ArkUIXComponentControllerAccessor XComponentControllerAccessorImpl { @@ -23881,7 +25496,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { XComponentControllerAccessor::ConstructImpl, XComponentControllerAccessor::GetFinalizerImpl, XComponentControllerAccessor::GetXComponentSurfaceIdImpl, - XComponentControllerAccessor::GetXComponentContextImpl, XComponentControllerAccessor::SetXComponentSurfaceRectImpl, XComponentControllerAccessor::GetXComponentSurfaceRectImpl, XComponentControllerAccessor::SetXComponentSurfaceRotationImpl, @@ -23966,17 +25580,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetChildrenMainSizeAccessor, GetCircleShapeAccessor, GetClickEventAccessor, + GetClientAuthenticationHandlerAccessor, GetColorContentAccessor, GetColorFilterAccessor, GetColorMetricsAccessor, GetCommon_ContextAccessor, GetCommonShapeAccessor, GetComponentContentAccessor, + GetConsoleMessageAccessor, GetContentModifierHelperAccessor, GetContextAccessor, + GetControllerHandlerAccessor, GetCurves_ICurveAccessor, GetCustomDialogControllerAccessor, GetCustomSpanAccessor, + GetDataResubmissionHandlerAccessor, GetDatePickerDialogAccessor, GetDecorationStyleAccessor, GetDisappearSymbolEffectAccessor, @@ -24008,12 +25626,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetEllipseShapeAccessor, GetEnvironmentBackendAccessor, GetEventEmulatorAccessor, + GetEventResultAccessor, GetEventTargetInfoAccessor, GetExtendableComponentAccessor, + GetFileSelectorParamAccessor, + GetFileSelectorResultAccessor, GetFocusAxisEventAccessor, GetFocusControllerAccessor, GetFrameNodeAccessor, GetFrictionMotionAccessor, + GetFullScreenExitHandlerAccessor, GetGestureAccessor, GetGestureEventAccessor, GetGestureGroupInterfaceAccessor, @@ -24025,15 +25647,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetGlobalScope_ohos_measure_utilsAccessor, GetHierarchicalSymbolEffectAccessor, GetHoverEventAccessor, + GetHttpAuthHandlerAccessor, GetImageAnalyzerControllerAccessor, GetImageAttachmentAccessor, GetImageBitmapAccessor, GetImageDataAccessor, GetIndicatorComponentControllerAccessor, GetIUIContextAccessor, + GetJsGeolocationAccessor, + GetJsResultAccessor, GetKeyEventAccessor, GetLayoutableAccessor, - GetLayoutCallbackAccessor, GetLayoutChildAccessor, GetLayoutManagerAccessor, GetLayoutPolicyAccessor, @@ -24062,7 +25686,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetNodeContentAccessor, GetOffscreenCanvasAccessor, GetOffscreenCanvasRenderingContext2DAccessor, - GetPageLifeCycleAccessor, GetPanGestureEventAccessor, GetPanGestureInterfaceAccessor, GetPanGestureOptionsAccessor, @@ -24071,6 +25694,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetPath2DAccessor, GetPathShapeAccessor, GetPatternLockControllerAccessor, + GetPermissionRequestAccessor, GetPersistentStorageBackendAccessor, GetPinchGestureEventAccessor, GetPinchGestureInterfaceAccessor, @@ -24078,6 +25702,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetPixelMapMockAccessor, GetProgressMaskAccessor, GetPromptActionAccessor, + GetPulseSymbolEffectAccessor, GetRectShapeAccessor, GetRenderingContextSettingsAccessor, GetRenderNodeAccessor, @@ -24092,6 +25717,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetRotationRecognizerAccessor, GetScaleSymbolEffectAccessor, GetSceneAccessor, + GetScreenCaptureHandlerAccessor, GetScreenshotServiceAccessor, GetScrollableTargetInfoAccessor, GetScrollerAccessor, @@ -24103,6 +25729,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetShapeMaskAccessor, GetSpringMotionAccessor, GetSpringPropAccessor, + GetSslErrorHandlerAccessor, GetStateStylesOpsAccessor, GetStyledStringAccessor, GetStyledStringControllerAccessor, @@ -24156,7 +25783,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetUserDataSpanAccessor, GetVideoControllerAccessor, GetWaterFlowSectionsAccessor, + GetWebContextMenuParamAccessor, + GetWebContextMenuResultAccessor, GetWebCookieAccessor, + GetWebKeyboardControllerAccessor, + GetWebResourceErrorAccessor, + GetWebResourceRequestAccessor, + GetWebResourceResponseAccessor, + GetWebview_WebviewControllerAccessor, GetXComponentControllerAccessor, GetGlobalScopeAccessor, }; diff --git a/arkoala-arkts/modules/global.resource/src/resource.ets b/arkoala-arkts/modules/global.resource/src/resource.ets index 0b997af55..ea2324e91 100644 --- a/arkoala-arkts/modules/global.resource/src/resource.ets +++ b/arkoala-arkts/modules/global.resource/src/resource.ets @@ -22,7 +22,7 @@ export interface Resource { bundleName: string; moduleName: string; id: long; - params?: Array; + params?: Array; type?: int; } diff --git a/arkoala-arkts/tools/peer-generator/config-arkui.json b/arkoala-arkts/tools/peer-generator/config-arkui.json index 383d6ae6b..30e09edea 100644 --- a/arkoala-arkts/tools/peer-generator/config-arkui.json +++ b/arkoala-arkts/tools/peer-generator/config-arkui.json @@ -36,6 +36,7 @@ "ohos.multimodalInput", "ohos.promptAction", "ohos.window", + "ohos.web.webview", "idlize.stdlib", "idlize.internal" ] -- Gitee