From f2f218cf7f8126952eb3afe1d6e577fbf3508930 Mon Sep 17 00:00:00 2001 From: Anton Tarasov Date: Fri, 29 Nov 2024 15:36:07 +0300 Subject: [PATCH 1/4] Adopt to libace d5700ee75d --- arkoala/arkui/src/ArkIndicatorcomponent.ts | 18 +- arkoala/arkui/src/NativePeerNode.ts | 40 +++ arkoala/arkui/src/PeerNode.ts | 70 ++++-- arkoala/arkui/src/peer_events_checker.ts | 47 ++-- arkoala/arkui/src/peers/ArkUINodeType.ts | 2 +- .../src/generated/arkoala_api_generated.h | 236 +++++++++--------- .../native/src/generated/bridge_generated.cc | 232 ++++++++--------- 7 files changed, 370 insertions(+), 275 deletions(-) create mode 100644 arkoala/arkui/src/NativePeerNode.ts diff --git a/arkoala/arkui/src/ArkIndicatorcomponent.ts b/arkoala/arkui/src/ArkIndicatorcomponent.ts index 011d3ae6f..41ccdab83 100644 --- a/arkoala/arkui/src/ArkIndicatorcomponent.ts +++ b/arkoala/arkui/src/ArkIndicatorcomponent.ts @@ -109,13 +109,13 @@ export function ArkIndicatorComponent( content_: (() => void) | undefined, controller?: IndicatorComponentController | undefined ) { - const receiver = remember(() => { - return new ArkIndicatorComponentComponent() - }) - NodeAttach((): ArkIndicatorComponentPeer => ArkIndicatorComponentPeer.create(ArkUINodeType.IndicatorComponent, receiver), (_: ArkIndicatorComponentPeer) => { - receiver.setIndicatorComponentOptions(controller) - style?.(receiver) - content_?.() - receiver.applyAttributesFinish() - }) + // const receiver = remember(() => { + // return new ArkIndicatorComponentComponent() + // }) + // NodeAttach((): ArkIndicatorComponentPeer => ArkIndicatorComponentPeer.create(ArkUINodeType.IndicatorComponent, receiver), (_: ArkIndicatorComponentPeer) => { + // receiver.setIndicatorComponentOptions(controller) + // style?.(receiver) + // content_?.() + // receiver.applyAttributesFinish() + // }) } diff --git a/arkoala/arkui/src/NativePeerNode.ts b/arkoala/arkui/src/NativePeerNode.ts new file mode 100644 index 000000000..9dafbe7bf --- /dev/null +++ b/arkoala/arkui/src/NativePeerNode.ts @@ -0,0 +1,40 @@ +import { int32 } from "@koalaui/common" +import { pointer } from "@koalaui/interop" +import { Finalizable } from "./Finalizable" +import { ArkUINodeType } from "./peers/ArkUINodeType" +import { NativeModule } from "@koalaui/arkoala" + +export class NativePeerNode extends Finalizable { + constructor(ptr: pointer, finalizerPtr: pointer) { + super(ptr, finalizerPtr) + } + + static create(type: ArkUINodeType, id: int32, flags: int32): NativePeerNode { + const ptr = NativeModule._CreateNode(type as int32, id, flags) + return new NativePeerNode(ptr, NativeModule._GetNodeFinalizer()) + } + + dispose() { + NativeModule._DisposeNode(this.ptr); + } + + addChild(node: NativePeerNode) { + NativeModule._AddChild(this.ptr, node.ptr); + } + removeChild(node: NativePeerNode) { + NativeModule._RemoveChild(this.ptr, node.ptr); + } + insertChildBefore(node: NativePeerNode, sibling: NativePeerNode | undefined) { + NativeModule._InsertChildBefore(this.ptr, node.ptr, sibling == undefined ? 0 : sibling.ptr); + } + insertChildAfter(node: NativePeerNode, sibling: NativePeerNode | undefined) { + NativeModule._InsertChildAfter(this.ptr, node.ptr, sibling == undefined ? 0 : sibling.ptr); + } + insertChildAt(node: NativePeerNode, position: int32) { + NativeModule._InsertChildAt(this.ptr, node.ptr, position); + } + + dumpTree() { + NativeModule._DumpTreeNode(this.ptr); + } +} diff --git a/arkoala/arkui/src/PeerNode.ts b/arkoala/arkui/src/PeerNode.ts index eb6282353..b67925ed7 100644 --- a/arkoala/arkui/src/PeerNode.ts +++ b/arkoala/arkui/src/PeerNode.ts @@ -1,16 +1,56 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +import { int32 } from "@koalaui/common" +import { IncrementalNode } from "@koalaui/runtime" +import { ArkUINodeType } from "./peers/ArkUINodeType" +import { NativePeerNode } from "./NativePeerNode" -export { PeerNode, NativePeerNode } from "@koalaui/arkoala" \ No newline at end of file +export const PeerNodeType = 11 + +export class PeerNode extends IncrementalNode { + peer: NativePeerNode + private id: int32 = PeerNode.currentId++ + private static peerNodeMap = new Map() + + static findPeerByNativeId(id: number): PeerNode | undefined { + return PeerNode.peerNodeMap.get(id) + } + + private static currentId: int32 = 1000 + + constructor(type: ArkUINodeType, flags: int32, name: string) { + super(PeerNodeType) + this.peer = NativePeerNode.create(type, this.id, flags) + PeerNode.peerNodeMap.set(this.id, this) + this.onChildInserted = (child: IncrementalNode) => { + // TODO: rework to avoid search + let peer = findPeerNode(child) + if (peer) { + // Find the closest peer node backward. + let sibling: PeerNode | undefined = undefined + for (let node = child.previousSibling; node; node = node!.previousSibling) { + if (node!.isKind(PeerNodeType)) { + sibling = node as PeerNode + break + } + } + this.peer.insertChildAfter(peer.peer, sibling?.peer) + } + } + this.onChildRemoved = (child: IncrementalNode) => { + let peer = findPeerNode(child) + if (peer) { + this.peer.removeChild(peer.peer) + } + } + } + applyAttributes(attrs: Object) {} +} + + +function findPeerNode(node: IncrementalNode): PeerNode | undefined { + if (node.isKind(PeerNodeType)) return node as PeerNode + for (let child = node.firstChild; child; child = child!.nextSibling) { + let peer = findPeerNode(child!) + if (peer) return peer + } + return undefined +} \ No newline at end of file diff --git a/arkoala/arkui/src/peer_events_checker.ts b/arkoala/arkui/src/peer_events_checker.ts index 3131e6554..0fb5a57d6 100644 --- a/arkoala/arkui/src/peer_events_checker.ts +++ b/arkoala/arkui/src/peer_events_checker.ts @@ -1,27 +1,42 @@ -import { GeneratedPartialPropertiesType, PeerNode, nativeModule, setCustomEventsChecker } from "@koalaui/arkoala"; -import { PeerEventsProperties, deliverGeneratedPeerEvent, deserializePeerEvent } from "./peer_events"; -import { Deserializer } from "./peers/Deserializer"; -import { DataNode } from "@koalaui/runtime"; +import {ResourceHolder} from "@koalaui/interop" +import {nativeModule, setCustomEventsChecker} from "@koalaui/arkoala" +import {Deserializer} from "./peers/Deserializer" +import {deserializeAndCallCallback} from "./peers/CallbackDeserializeCall" -const bufferSize = 512 +enum CallbackEventKind { + Event_CallCallback = 0, + Event_HoldManagedResource = 1, + Event_ReleaseManagedResource = 2, +} + +const bufferSize = 1024 const buffer = new Uint8Array(bufferSize) const deserializer = new Deserializer(buffer.buffer, bufferSize) -function checkGeneratedEvents() { +export function checkArkoalaCallbacks() { while (true) { - let result = nativeModule()._CheckArkoalaGeneratedEvents(buffer, bufferSize) + deserializer.resetCurrentPosition() + let result = nativeModule()._CheckArkoalaCallbackEvent(buffer, bufferSize) if (result == 0) break - deserializer.resetCurrentPosition() - const event = deserializePeerEvent(deserializer) - const node = PeerNode.findPeerByNativeId(event.nodeId); - if (node) { - for (let child = node.firstChild; child; child = child.nextSibling) { - const properties = DataNode.extract>(GeneratedPartialPropertiesType, child) - if (properties) - deliverGeneratedPeerEvent(event, properties) + const eventKind = deserializer.readInt32() as CallbackEventKind + switch (eventKind) { + case CallbackEventKind.Event_CallCallback: { + deserializeAndCallCallback(deserializer) + break; + } + case CallbackEventKind.Event_HoldManagedResource: { + const resourceId = deserializer.readInt32() + ResourceHolder.instance().hold(resourceId) + break; + } + case CallbackEventKind.Event_ReleaseManagedResource: { + const resourceId = deserializer.readInt32() + ResourceHolder.instance().release(resourceId) + break; } + default: throw new Error(`Unknown callback event kind ${eventKind}`) } } } -setCustomEventsChecker(checkGeneratedEvents) \ No newline at end of file +setCustomEventsChecker(checkArkoalaCallbacks) \ No newline at end of file diff --git a/arkoala/arkui/src/peers/ArkUINodeType.ts b/arkoala/arkui/src/peers/ArkUINodeType.ts index 9604c35fc..d21ba0547 100644 --- a/arkoala/arkui/src/peers/ArkUINodeType.ts +++ b/arkoala/arkui/src/peers/ArkUINodeType.ts @@ -44,7 +44,7 @@ export enum ArkUINodeType { Image, ImageAnimator, ImageSpan, - IndicatorComponent, + // IndicatorComponent, Line, LinearIndicator, List, diff --git a/arkoala/framework/native/src/generated/arkoala_api_generated.h b/arkoala/framework/native/src/generated/arkoala_api_generated.h index 3f6a47c7a..f937e6a8e 100644 --- a/arkoala/framework/native/src/generated/arkoala_api_generated.h +++ b/arkoala/framework/native/src/generated/arkoala_api_generated.h @@ -14248,7 +14248,7 @@ typedef struct Opt_Callback_Opt_Array_String_Void { typedef Opt_Length Opt_Dimension; typedef struct GENERATED_ArkUIAbilityComponentModifier { - Ark_NativePointer (*construct)(); + void (*setAbilityComponentOptions)(Ark_NativePointer node, const Ark_Literal_Want_want* value); void (*setOnConnect)(Ark_NativePointer node, @@ -14258,7 +14258,7 @@ typedef struct GENERATED_ArkUIAbilityComponentModifier { } GENERATED_ArkUIAbilityComponentModifier; typedef struct GENERATED_ArkUIAlphabetIndexerModifier { - Ark_NativePointer (*construct)(); + void (*setAlphabetIndexerOptions)(Ark_NativePointer node, const Ark_AlphabetIndexerOptions* options); void (*setOnSelected)(Ark_NativePointer node, @@ -14319,7 +14319,7 @@ typedef struct GENERATED_ArkUIAlphabetIndexerModifier { } GENERATED_ArkUIAlphabetIndexerModifier; typedef struct GENERATED_ArkUIAnimatorModifier { - Ark_NativePointer (*construct)(); + void (*setAnimatorOptions)(Ark_NativePointer node, const Ark_String* value); void (*setState)(Ark_NativePointer node, @@ -14353,7 +14353,7 @@ typedef struct GENERATED_ArkUIAnimatorModifier { } GENERATED_ArkUIAnimatorModifier; typedef struct GENERATED_ArkUIBadgeModifier { - Ark_NativePointer (*construct)(); + void (*setBadgeOptions0)(Ark_NativePointer node, const Ark_BadgeParamWithNumber* value); void (*setBadgeOptions1)(Ark_NativePointer node, @@ -14361,7 +14361,7 @@ typedef struct GENERATED_ArkUIBadgeModifier { } GENERATED_ArkUIBadgeModifier; typedef struct GENERATED_ArkUIBlankModifier { - Ark_NativePointer (*construct)(); + void (*setBlankOptions)(Ark_NativePointer node, const Opt_Union_Number_String* min); void (*setColor)(Ark_NativePointer node, @@ -14369,7 +14369,7 @@ typedef struct GENERATED_ArkUIBlankModifier { } GENERATED_ArkUIBlankModifier; typedef struct GENERATED_ArkUIButtonModifier { - Ark_NativePointer (*construct)(); + void (*setButtonOptions0)(Ark_NativePointer node); void (*setButtonOptions1)(Ark_NativePointer node, const Ark_ButtonOptions* options); @@ -14403,7 +14403,7 @@ typedef struct GENERATED_ArkUIButtonModifier { } GENERATED_ArkUIButtonModifier; typedef struct GENERATED_ArkUICalendarModifier { - Ark_NativePointer (*construct)(); + void (*setCalendarOptions)(Ark_NativePointer node, const Ark_Type_CalendarInterface_value* value); void (*setShowLunar)(Ark_NativePointer node, @@ -14435,7 +14435,7 @@ typedef struct GENERATED_ArkUICalendarModifier { } GENERATED_ArkUICalendarModifier; typedef struct GENERATED_ArkUICalendarPickerModifier { - Ark_NativePointer (*construct)(); + void (*setCalendarPickerOptions)(Ark_NativePointer node, const Opt_CalendarOptions* options); void (*setTextStyle)(Ark_NativePointer node, @@ -14448,7 +14448,7 @@ typedef struct GENERATED_ArkUICalendarPickerModifier { } GENERATED_ArkUICalendarPickerModifier; typedef struct GENERATED_ArkUICanvasModifier { - Ark_NativePointer (*construct)(); + void (*setCanvasOptions0)(Ark_NativePointer node, const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext* context); void (*setCanvasOptions1)(Ark_NativePointer node, @@ -14461,7 +14461,7 @@ typedef struct GENERATED_ArkUICanvasModifier { } GENERATED_ArkUICanvasModifier; typedef struct GENERATED_ArkUICheckboxModifier { - Ark_NativePointer (*construct)(); + void (*setCheckboxOptions)(Ark_NativePointer node, const Opt_CheckboxOptions* options); void (*setSelect)(Ark_NativePointer node, @@ -14481,7 +14481,7 @@ typedef struct GENERATED_ArkUICheckboxModifier { } GENERATED_ArkUICheckboxModifier; typedef struct GENERATED_ArkUICheckboxGroupModifier { - Ark_NativePointer (*construct)(); + void (*setCheckboxGroupOptions)(Ark_NativePointer node, const Opt_CheckboxGroupOptions* options); void (*setSelectAll)(Ark_NativePointer node, @@ -14499,13 +14499,13 @@ typedef struct GENERATED_ArkUICheckboxGroupModifier { } GENERATED_ArkUICheckboxGroupModifier; typedef struct GENERATED_ArkUICircleModifier { - Ark_NativePointer (*construct)(); + void (*setCircleOptions)(Ark_NativePointer node, const Opt_CircleOptions* value); } GENERATED_ArkUICircleModifier; typedef struct GENERATED_ArkUIColumnModifier { - Ark_NativePointer (*construct)(); + void (*setColumnOptions)(Ark_NativePointer node, const Opt_ColumnOptions* options); void (*setAlignItems)(Ark_NativePointer node, @@ -14519,7 +14519,7 @@ typedef struct GENERATED_ArkUIColumnModifier { } GENERATED_ArkUIColumnModifier; typedef struct GENERATED_ArkUIColumnSplitModifier { - Ark_NativePointer (*construct)(); + void (*setColumnSplitOptions)(Ark_NativePointer node); void (*setResizeable)(Ark_NativePointer node, Ark_Boolean value); @@ -14528,7 +14528,7 @@ typedef struct GENERATED_ArkUIColumnSplitModifier { } GENERATED_ArkUIColumnSplitModifier; typedef struct GENERATED_ArkUICommonMethodModifier { - Ark_NativePointer (*construct)(); + void (*setWidth)(Ark_NativePointer node, const Ark_Length* value); void (*setHeight)(Ark_NativePointer node, @@ -14551,12 +14551,12 @@ typedef struct GENERATED_ArkUICommonMethodModifier { const Callback_Array_TouchTestInfo_TouchResult* value); void (*setLayoutWeight)(Ark_NativePointer node, const Ark_Union_Number_String* value); - void (*setChainWeight)(Ark_NativePointer node, - const Ark_ChainWeightOptions* value); +// void (*setChainWeight)(Ark_NativePointer node, +// const Ark_ChainWeightOptions* value); void (*setPadding)(Ark_NativePointer node, const Ark_Union_Padding_Length_LocalizedPadding* value); - void (*setSafeAreaPadding)(Ark_NativePointer node, - const Ark_Union_Padding_LengthMetrics_LocalizedPadding* value); +// void (*setSafeAreaPadding)(Ark_NativePointer node, +// const Ark_Union_Padding_LengthMetrics_LocalizedPadding* value); void (*setMargin)(Ark_NativePointer node, const Ark_Union_Margin_Length_LocalizedMargin* value); void (*setBackgroundColor)(Ark_NativePointer node, @@ -14952,7 +14952,7 @@ typedef struct GENERATED_ArkUICommonMethodModifier { } GENERATED_ArkUICommonMethodModifier; typedef struct GENERATED_ArkUICommonShapeMethodModifier { - Ark_NativePointer (*construct)(); + void (*setStroke)(Ark_NativePointer node, const Ark_ResourceColor* value); void (*setFill)(Ark_NativePointer node, @@ -14978,12 +14978,12 @@ typedef struct GENERATED_ArkUICommonShapeMethodModifier { } GENERATED_ArkUICommonShapeMethodModifier; typedef struct GENERATED_ArkUICommonModifier { - Ark_NativePointer (*construct)(); + void (*setCommonOptions)(Ark_NativePointer node); } GENERATED_ArkUICommonModifier; typedef struct GENERATED_ArkUIScrollableCommonMethodModifier { - Ark_NativePointer (*construct)(); + void (*setScrollBar)(Ark_NativePointer node, Ark_BarState value); void (*setScrollBarColor)(Ark_NativePointer node, @@ -15023,7 +15023,7 @@ typedef struct GENERATED_ArkUIScrollableCommonMethodModifier { } GENERATED_ArkUIScrollableCommonMethodModifier; typedef struct GENERATED_ArkUIComponent3DModifier { - Ark_NativePointer (*construct)(); + void (*setComponent3DOptions)(Ark_NativePointer node, const Opt_SceneOptions* sceneOptions); void (*setEnvironment)(Ark_NativePointer node, @@ -15044,14 +15044,14 @@ typedef struct GENERATED_ArkUIComponent3DModifier { } GENERATED_ArkUIComponent3DModifier; typedef struct GENERATED_ArkUIContainerSpanModifier { - Ark_NativePointer (*construct)(); + void (*setContainerSpanOptions)(Ark_NativePointer node); void (*setTextBackgroundStyle)(Ark_NativePointer node, const Ark_TextBackgroundStyle* value); } GENERATED_ArkUIContainerSpanModifier; typedef struct GENERATED_ArkUICounterModifier { - Ark_NativePointer (*construct)(); + void (*setCounterOptions)(Ark_NativePointer node); void (*setOnInc)(Ark_NativePointer node, const VoidCallback* value); @@ -15064,7 +15064,7 @@ typedef struct GENERATED_ArkUICounterModifier { } GENERATED_ArkUICounterModifier; typedef struct GENERATED_ArkUIDataPanelModifier { - Ark_NativePointer (*construct)(); + void (*setDataPanelOptions)(Ark_NativePointer node, const Ark_DataPanelOptions* options); void (*setCloseEffect)(Ark_NativePointer node, @@ -15082,7 +15082,7 @@ typedef struct GENERATED_ArkUIDataPanelModifier { } GENERATED_ArkUIDataPanelModifier; typedef struct GENERATED_ArkUIDatePickerModifier { - Ark_NativePointer (*construct)(); + void (*setDatePickerOptions)(Ark_NativePointer node, const Opt_DatePickerOptions* options); void (*setLunar)(Ark_NativePointer node, @@ -15100,7 +15100,7 @@ typedef struct GENERATED_ArkUIDatePickerModifier { } GENERATED_ArkUIDatePickerModifier; typedef struct GENERATED_ArkUIDividerModifier { - Ark_NativePointer (*construct)(); + void (*setDividerOptions)(Ark_NativePointer node); void (*setVertical)(Ark_NativePointer node, Ark_Boolean value); @@ -15113,18 +15113,18 @@ typedef struct GENERATED_ArkUIDividerModifier { } GENERATED_ArkUIDividerModifier; typedef struct GENERATED_ArkUIEffectComponentModifier { - Ark_NativePointer (*construct)(); + void (*setEffectComponentOptions)(Ark_NativePointer node); } GENERATED_ArkUIEffectComponentModifier; typedef struct GENERATED_ArkUIEllipseModifier { - Ark_NativePointer (*construct)(); + void (*setEllipseOptions)(Ark_NativePointer node, const Opt_EllipseOptions* options); } GENERATED_ArkUIEllipseModifier; typedef struct GENERATED_ArkUIEmbeddedComponentModifier { - Ark_NativePointer (*construct)(); + void (*setEmbeddedComponentOptions)(Ark_NativePointer node, const Ark_Want* loader, Ark_EmbeddedType type); @@ -15135,7 +15135,7 @@ typedef struct GENERATED_ArkUIEmbeddedComponentModifier { } GENERATED_ArkUIEmbeddedComponentModifier; typedef struct GENERATED_ArkUIFlexModifier { - Ark_NativePointer (*construct)(); + void (*setFlexOptions)(Ark_NativePointer node, const Opt_FlexOptions* value); void (*setPointLight)(Ark_NativePointer node, @@ -15143,12 +15143,12 @@ typedef struct GENERATED_ArkUIFlexModifier { } GENERATED_ArkUIFlexModifier; typedef struct GENERATED_ArkUIFlowItemModifier { - Ark_NativePointer (*construct)(); + void (*setFlowItemOptions)(Ark_NativePointer node); } GENERATED_ArkUIFlowItemModifier; typedef struct GENERATED_ArkUIFolderStackModifier { - Ark_NativePointer (*construct)(); + void (*setFolderStackOptions)(Ark_NativePointer node, const Opt_FolderStackOptions* options); void (*setAlignContent)(Ark_NativePointer node, @@ -15164,7 +15164,7 @@ typedef struct GENERATED_ArkUIFolderStackModifier { } GENERATED_ArkUIFolderStackModifier; typedef struct GENERATED_ArkUIFormComponentModifier { - Ark_NativePointer (*construct)(); + void (*setFormComponentOptions)(Ark_NativePointer node, const Ark_FormInfo* value); void (*setSize)(Ark_NativePointer node, @@ -15190,13 +15190,13 @@ typedef struct GENERATED_ArkUIFormComponentModifier { } GENERATED_ArkUIFormComponentModifier; typedef struct GENERATED_ArkUIFormLinkModifier { - Ark_NativePointer (*construct)(); + void (*setFormLinkOptions)(Ark_NativePointer node, const Ark_FormLinkOptions* options); } GENERATED_ArkUIFormLinkModifier; typedef struct GENERATED_ArkUIGaugeModifier { - Ark_NativePointer (*construct)(); + void (*setGaugeOptions)(Ark_NativePointer node, const Ark_GaugeOptions* options); void (*setValue)(Ark_NativePointer node, @@ -15222,7 +15222,7 @@ typedef struct GENERATED_ArkUIGaugeModifier { } GENERATED_ArkUIGaugeModifier; typedef struct GENERATED_ArkUIGridModifier { - Ark_NativePointer (*construct)(); + void (*setGridOptions)(Ark_NativePointer node, const Opt_Scroller* scroller, const Opt_GridLayoutOptions* layoutOptions); @@ -15299,7 +15299,7 @@ typedef struct GENERATED_ArkUIGridModifier { } GENERATED_ArkUIGridModifier; typedef struct GENERATED_ArkUIGridItemModifier { - Ark_NativePointer (*construct)(); + void (*setGridItemOptions)(Ark_NativePointer node, const Opt_GridItemOptions* value); void (*setRowStart)(Ark_NativePointer node, @@ -15321,7 +15321,7 @@ typedef struct GENERATED_ArkUIGridItemModifier { } GENERATED_ArkUIGridItemModifier; typedef struct GENERATED_ArkUIGridColModifier { - Ark_NativePointer (*construct)(); + void (*setGridColOptions)(Ark_NativePointer node, const Opt_GridColOptions* option); void (*setSpan)(Ark_NativePointer node, @@ -15333,13 +15333,13 @@ typedef struct GENERATED_ArkUIGridColModifier { } GENERATED_ArkUIGridColModifier; typedef struct GENERATED_ArkUIGridContainerModifier { - Ark_NativePointer (*construct)(); + void (*setGridContainerOptions)(Ark_NativePointer node, const Opt_GridContainerOptions* value); } GENERATED_ArkUIGridContainerModifier; typedef struct GENERATED_ArkUIGridRowModifier { - Ark_NativePointer (*construct)(); + void (*setGridRowOptions)(Ark_NativePointer node, const Opt_GridRowOptions* option); void (*setOnBreakpointChange)(Ark_NativePointer node, @@ -15349,7 +15349,7 @@ typedef struct GENERATED_ArkUIGridRowModifier { } GENERATED_ArkUIGridRowModifier; typedef struct GENERATED_ArkUIHyperlinkModifier { - Ark_NativePointer (*construct)(); + void (*setHyperlinkOptions)(Ark_NativePointer node, const Ark_Union_String_Resource* address, const Opt_Union_String_Resource* content); @@ -15358,7 +15358,7 @@ typedef struct GENERATED_ArkUIHyperlinkModifier { } GENERATED_ArkUIHyperlinkModifier; typedef struct GENERATED_ArkUIImageModifier { - Ark_NativePointer (*construct)(); + void (*setImageOptions0)(Ark_NativePointer node, const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor* src); void (*setImageOptions1)(Ark_NativePointer node, @@ -15421,7 +15421,7 @@ typedef struct GENERATED_ArkUIImageModifier { } GENERATED_ArkUIImageModifier; typedef struct GENERATED_ArkUIImageAnimatorModifier { - Ark_NativePointer (*construct)(); + void (*setImageAnimatorOptions)(Ark_NativePointer node); void (*setImages)(Ark_NativePointer node, const Array_ImageFrameInfo* value); @@ -15452,7 +15452,7 @@ typedef struct GENERATED_ArkUIImageAnimatorModifier { } GENERATED_ArkUIImageAnimatorModifier; typedef struct GENERATED_ArkUIImageSpanModifier { - Ark_NativePointer (*construct)(); + void (*setImageSpanOptions)(Ark_NativePointer node, const Ark_Union_ResourceStr_PixelMap* value); void (*setVerticalAlign)(Ark_NativePointer node, @@ -15470,7 +15470,7 @@ typedef struct GENERATED_ArkUIImageSpanModifier { } GENERATED_ArkUIImageSpanModifier; typedef struct GENERATED_ArkUILineModifier { - Ark_NativePointer (*construct)(); + void (*setLineOptions)(Ark_NativePointer node, const Opt_LineOptions* options); void (*setStartPoint)(Ark_NativePointer node, @@ -15480,7 +15480,7 @@ typedef struct GENERATED_ArkUILineModifier { } GENERATED_ArkUILineModifier; typedef struct GENERATED_ArkUIListModifier { - Ark_NativePointer (*construct)(); + void (*setListOptions)(Ark_NativePointer node, const Opt_ListOptions* options); void (*setAlignListItem)(Ark_NativePointer node, @@ -15561,7 +15561,7 @@ typedef struct GENERATED_ArkUIListModifier { } GENERATED_ArkUIListModifier; typedef struct GENERATED_ArkUIListItemModifier { - Ark_NativePointer (*construct)(); + void (*setListItemOptions0)(Ark_NativePointer node, const Opt_ListItemOptions* value); void (*setListItemOptions1)(Ark_NativePointer node, @@ -15581,7 +15581,7 @@ typedef struct GENERATED_ArkUIListItemModifier { } GENERATED_ArkUIListItemModifier; typedef struct GENERATED_ArkUIListItemGroupModifier { - Ark_NativePointer (*construct)(); + void (*setListItemGroupOptions)(Ark_NativePointer node, const Opt_ListItemGroupOptions* options); void (*setDivider)(Ark_NativePointer node, @@ -15591,7 +15591,7 @@ typedef struct GENERATED_ArkUIListItemGroupModifier { } GENERATED_ArkUIListItemGroupModifier; typedef struct GENERATED_ArkUILoadingProgressModifier { - Ark_NativePointer (*construct)(); + void (*setLoadingProgressOptions)(Ark_NativePointer node); void (*setColor)(Ark_NativePointer node, const Ark_ResourceColor* value); @@ -15602,7 +15602,7 @@ typedef struct GENERATED_ArkUILoadingProgressModifier { } GENERATED_ArkUILoadingProgressModifier; typedef struct GENERATED_ArkUILocationButtonModifier { - Ark_NativePointer (*construct)(); + void (*setLocationButtonOptions0)(Ark_NativePointer node); void (*setLocationButtonOptions1)(Ark_NativePointer node, const Ark_LocationButtonOptions* options); @@ -15611,7 +15611,7 @@ typedef struct GENERATED_ArkUILocationButtonModifier { } GENERATED_ArkUILocationButtonModifier; typedef struct GENERATED_ArkUIMarqueeModifier { - Ark_NativePointer (*construct)(); + void (*setMarqueeOptions)(Ark_NativePointer node, const Ark_MarqueeOptions* options); void (*setFontColor)(Ark_NativePointer node, @@ -15635,13 +15635,13 @@ typedef struct GENERATED_ArkUIMarqueeModifier { } GENERATED_ArkUIMarqueeModifier; typedef struct GENERATED_ArkUIMediaCachedImageModifier { - Ark_NativePointer (*construct)(); + void (*setMediaCachedImageOptions)(Ark_NativePointer node, const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource* src); } GENERATED_ArkUIMediaCachedImageModifier; typedef struct GENERATED_ArkUIMenuModifier { - Ark_NativePointer (*construct)(); + void (*setMenuOptions)(Ark_NativePointer node); void (*setFontSize)(Ark_NativePointer node, const Ark_Length* value); @@ -15660,7 +15660,7 @@ typedef struct GENERATED_ArkUIMenuModifier { } GENERATED_ArkUIMenuModifier; typedef struct GENERATED_ArkUIMenuItemModifier { - Ark_NativePointer (*construct)(); + void (*setMenuItemOptions)(Ark_NativePointer node, const Opt_Union_MenuItemOptions_CustomBuilder* value); void (*setSelected)(Ark_NativePointer node, @@ -15680,13 +15680,13 @@ typedef struct GENERATED_ArkUIMenuItemModifier { } GENERATED_ArkUIMenuItemModifier; typedef struct GENERATED_ArkUIMenuItemGroupModifier { - Ark_NativePointer (*construct)(); + void (*setMenuItemGroupOptions)(Ark_NativePointer node, const Opt_MenuItemGroupOptions* value); } GENERATED_ArkUIMenuItemGroupModifier; typedef struct GENERATED_ArkUINavDestinationModifier { - Ark_NativePointer (*construct)(); + void (*setNavDestinationOptions)(Ark_NativePointer node); void (*setHideTitleBar0)(Ark_NativePointer node, Ark_Boolean value); @@ -15740,7 +15740,7 @@ typedef struct GENERATED_ArkUINavDestinationModifier { } GENERATED_ArkUINavDestinationModifier; typedef struct GENERATED_ArkUINavRouterModifier { - Ark_NativePointer (*construct)(); + void (*setNavRouterOptions0)(Ark_NativePointer node); void (*setNavRouterOptions1)(Ark_NativePointer node, const Ark_RouteInfo* value); @@ -15751,7 +15751,7 @@ typedef struct GENERATED_ArkUINavRouterModifier { } GENERATED_ArkUINavRouterModifier; typedef struct GENERATED_ArkUINavigationModifier { - Ark_NativePointer (*construct)(); + void (*setNavigationOptions0)(Ark_NativePointer node); void (*setNavigationOptions1)(Ark_NativePointer node, const Ark_NavPathStack* pathInfos); @@ -15817,7 +15817,7 @@ typedef struct GENERATED_ArkUINavigationModifier { } GENERATED_ArkUINavigationModifier; typedef struct GENERATED_ArkUINavigatorModifier { - Ark_NativePointer (*construct)(); + void (*setNavigatorOptions0)(Ark_NativePointer node, const Opt_Literal_String_target_NavigationType_type* value); void (*setNavigatorOptions1)(Ark_NativePointer node); @@ -15832,13 +15832,13 @@ typedef struct GENERATED_ArkUINavigatorModifier { } GENERATED_ArkUINavigatorModifier; typedef struct GENERATED_ArkUINodeContainerModifier { - Ark_NativePointer (*construct)(); + void (*setNodeContainerOptions)(Ark_NativePointer node, const Ark_NodeController* controller); } GENERATED_ArkUINodeContainerModifier; typedef struct GENERATED_ArkUIPanelModifier { - Ark_NativePointer (*construct)(); + void (*setPanelOptions)(Ark_NativePointer node, Ark_Boolean show); void (*setMode)(Ark_NativePointer node, @@ -15868,7 +15868,7 @@ typedef struct GENERATED_ArkUIPanelModifier { } GENERATED_ArkUIPanelModifier; typedef struct GENERATED_ArkUIPasteButtonModifier { - Ark_NativePointer (*construct)(); + void (*setPasteButtonOptions0)(Ark_NativePointer node); void (*setPasteButtonOptions1)(Ark_NativePointer node, const Ark_PasteButtonOptions* options); @@ -15877,7 +15877,7 @@ typedef struct GENERATED_ArkUIPasteButtonModifier { } GENERATED_ArkUIPasteButtonModifier; typedef struct GENERATED_ArkUIPathModifier { - Ark_NativePointer (*construct)(); + void (*setPathOptions)(Ark_NativePointer node, const Opt_PathOptions* options); void (*setCommands)(Ark_NativePointer node, @@ -15885,7 +15885,7 @@ typedef struct GENERATED_ArkUIPathModifier { } GENERATED_ArkUIPathModifier; typedef struct GENERATED_ArkUIPatternLockModifier { - Ark_NativePointer (*construct)(); + void (*setPatternLockOptions)(Ark_NativePointer node, const Opt_PatternLockController* controller); void (*setSideLength)(Ark_NativePointer node, @@ -15915,7 +15915,7 @@ typedef struct GENERATED_ArkUIPatternLockModifier { } GENERATED_ArkUIPatternLockModifier; typedef struct GENERATED_ArkUIPluginComponentModifier { - Ark_NativePointer (*construct)(); + void (*setPluginComponentOptions)(Ark_NativePointer node, const Ark_PluginComponentOptions* options); void (*setOnComplete)(Ark_NativePointer node, @@ -15925,7 +15925,7 @@ typedef struct GENERATED_ArkUIPluginComponentModifier { } GENERATED_ArkUIPluginComponentModifier; typedef struct GENERATED_ArkUIPolygonModifier { - Ark_NativePointer (*construct)(); + void (*setPolygonOptions)(Ark_NativePointer node, const Opt_PolygonOptions* options); void (*setPoints)(Ark_NativePointer node, @@ -15933,7 +15933,7 @@ typedef struct GENERATED_ArkUIPolygonModifier { } GENERATED_ArkUIPolygonModifier; typedef struct GENERATED_ArkUIPolylineModifier { - Ark_NativePointer (*construct)(); + void (*setPolylineOptions)(Ark_NativePointer node, const Opt_PolylineOptions* options); void (*setPoints)(Ark_NativePointer node, @@ -15941,7 +15941,7 @@ typedef struct GENERATED_ArkUIPolylineModifier { } GENERATED_ArkUIPolylineModifier; typedef struct GENERATED_ArkUIProgressModifier { - Ark_NativePointer (*construct)(); + void (*setProgressOptions)(Ark_NativePointer node, const Ark_ProgressOptions* options); void (*setValue)(Ark_NativePointer node, @@ -15957,7 +15957,7 @@ typedef struct GENERATED_ArkUIProgressModifier { } GENERATED_ArkUIProgressModifier; typedef struct GENERATED_ArkUIQRCodeModifier { - Ark_NativePointer (*construct)(); + void (*setQRCodeOptions)(Ark_NativePointer node, const Ark_String* value); void (*setColor)(Ark_NativePointer node, @@ -15969,7 +15969,7 @@ typedef struct GENERATED_ArkUIQRCodeModifier { } GENERATED_ArkUIQRCodeModifier; typedef struct GENERATED_ArkUIRadioModifier { - Ark_NativePointer (*construct)(); + void (*setRadioOptions)(Ark_NativePointer node, const Ark_RadioOptions* options); void (*setChecked)(Ark_NativePointer node, @@ -15983,7 +15983,7 @@ typedef struct GENERATED_ArkUIRadioModifier { } GENERATED_ArkUIRadioModifier; typedef struct GENERATED_ArkUIRatingModifier { - Ark_NativePointer (*construct)(); + void (*setRatingOptions)(Ark_NativePointer node, const Opt_RatingOptions* options); void (*setStars)(Ark_NativePointer node, @@ -15999,7 +15999,7 @@ typedef struct GENERATED_ArkUIRatingModifier { } GENERATED_ArkUIRatingModifier; typedef struct GENERATED_ArkUIRectModifier { - Ark_NativePointer (*construct)(); + void (*setRectOptions)(Ark_NativePointer node, const Opt_Union_RectOptions_RoundedRectOptions* options); void (*setRadiusWidth)(Ark_NativePointer node, @@ -16011,7 +16011,7 @@ typedef struct GENERATED_ArkUIRectModifier { } GENERATED_ArkUIRectModifier; typedef struct GENERATED_ArkUIRefreshModifier { - Ark_NativePointer (*construct)(); + void (*setRefreshOptions)(Ark_NativePointer node, const Ark_RefreshOptions* value); void (*setOnStateChange)(Ark_NativePointer node, @@ -16029,7 +16029,7 @@ typedef struct GENERATED_ArkUIRefreshModifier { } GENERATED_ArkUIRefreshModifier; typedef struct GENERATED_ArkUIRelativeContainerModifier { - Ark_NativePointer (*construct)(); + void (*setRelativeContainerOptions)(Ark_NativePointer node); void (*setGuideLine)(Ark_NativePointer node, const Array_GuideLineStyle* value); @@ -16040,7 +16040,7 @@ typedef struct GENERATED_ArkUIRelativeContainerModifier { } GENERATED_ArkUIRelativeContainerModifier; typedef struct GENERATED_ArkUIRichEditorModifier { - Ark_NativePointer (*construct)(); + void (*setRichEditorOptions0)(Ark_NativePointer node, const Ark_RichEditorOptions* value); void (*setRichEditorOptions1)(Ark_NativePointer node, @@ -16111,7 +16111,7 @@ typedef struct GENERATED_ArkUIRichEditorModifier { } GENERATED_ArkUIRichEditorModifier; typedef struct GENERATED_ArkUIRichTextModifier { - Ark_NativePointer (*construct)(); + void (*setRichTextOptions)(Ark_NativePointer node, const Ark_String* content); void (*setOnStart)(Ark_NativePointer node, @@ -16121,13 +16121,13 @@ typedef struct GENERATED_ArkUIRichTextModifier { } GENERATED_ArkUIRichTextModifier; typedef struct GENERATED_ArkUIRootSceneModifier { - Ark_NativePointer (*construct)(); + void (*setRootSceneOptions)(Ark_NativePointer node, const Ark_RootSceneSession* session); } GENERATED_ArkUIRootSceneModifier; typedef struct GENERATED_ArkUIRowModifier { - Ark_NativePointer (*construct)(); + void (*setRowOptions)(Ark_NativePointer node, const Opt_RowOptions* options); void (*setAlignItems)(Ark_NativePointer node, @@ -16141,14 +16141,14 @@ typedef struct GENERATED_ArkUIRowModifier { } GENERATED_ArkUIRowModifier; typedef struct GENERATED_ArkUIRowSplitModifier { - Ark_NativePointer (*construct)(); + void (*setRowSplitOptions)(Ark_NativePointer node); void (*setResizeable)(Ark_NativePointer node, Ark_Boolean value); } GENERATED_ArkUIRowSplitModifier; typedef struct GENERATED_ArkUISaveButtonModifier { - Ark_NativePointer (*construct)(); + void (*setSaveButtonOptions0)(Ark_NativePointer node); void (*setSaveButtonOptions1)(Ark_NativePointer node, const Ark_SaveButtonOptions* options); @@ -16157,13 +16157,13 @@ typedef struct GENERATED_ArkUISaveButtonModifier { } GENERATED_ArkUISaveButtonModifier; typedef struct GENERATED_ArkUIScreenModifier { - Ark_NativePointer (*construct)(); + void (*setScreenOptions)(Ark_NativePointer node, const Ark_Number* screenId); } GENERATED_ArkUIScreenModifier; typedef struct GENERATED_ArkUIScrollModifier { - Ark_NativePointer (*construct)(); + void (*setScrollOptions)(Ark_NativePointer node, const Opt_Scroller* scroller); void (*setScrollable)(Ark_NativePointer node, @@ -16208,7 +16208,7 @@ typedef struct GENERATED_ArkUIScrollModifier { } GENERATED_ArkUIScrollModifier; typedef struct GENERATED_ArkUIScrollBarModifier { - Ark_NativePointer (*construct)(); + void (*setScrollBarOptions)(Ark_NativePointer node, const Ark_ScrollBarOptions* value); void (*setEnableNestedScroll)(Ark_NativePointer node, @@ -16216,7 +16216,7 @@ typedef struct GENERATED_ArkUIScrollBarModifier { } GENERATED_ArkUIScrollBarModifier; typedef struct GENERATED_ArkUISearchModifier { - Ark_NativePointer (*construct)(); + void (*setSearchOptions)(Ark_NativePointer node, const Opt_SearchOptions* options); void (*setFontColor)(Ark_NativePointer node, @@ -16307,7 +16307,7 @@ typedef struct GENERATED_ArkUISearchModifier { } GENERATED_ArkUISearchModifier; typedef struct GENERATED_ArkUISecurityComponentMethodModifier { - Ark_NativePointer (*construct)(); + void (*setIconSize)(Ark_NativePointer node, const Ark_Length* value); void (*setLayoutDirection)(Ark_NativePointer node, @@ -16357,7 +16357,7 @@ typedef struct GENERATED_ArkUISecurityComponentMethodModifier { } GENERATED_ArkUISecurityComponentMethodModifier; typedef struct GENERATED_ArkUISelectModifier { - Ark_NativePointer (*construct)(); + void (*setSelectOptions)(Ark_NativePointer node, const Array_SelectOption* options); void (*setSelected)(Ark_NativePointer node, @@ -16406,7 +16406,7 @@ typedef struct GENERATED_ArkUISelectModifier { } GENERATED_ArkUISelectModifier; typedef struct GENERATED_ArkUIShapeModifier { - Ark_NativePointer (*construct)(); + void (*setShapeOptions0)(Ark_NativePointer node, const Ark_PixelMap* value); void (*setShapeOptions1)(Ark_NativePointer node); @@ -16441,7 +16441,7 @@ typedef struct GENERATED_ArkUIShapeModifier { } GENERATED_ArkUIShapeModifier; typedef struct GENERATED_ArkUISliderModifier { - Ark_NativePointer (*construct)(); + void (*setSliderOptions)(Ark_NativePointer node, const Opt_SliderOptions* options); void (*setBlockColor)(Ark_NativePointer node, @@ -16490,7 +16490,7 @@ typedef struct GENERATED_ArkUISliderModifier { } GENERATED_ArkUISliderModifier; typedef struct GENERATED_ArkUIBaseSpanModifier { - Ark_NativePointer (*construct)(); + void (*setTextBackgroundStyle)(Ark_NativePointer node, const Ark_TextBackgroundStyle* value); void (*setBaselineOffset)(Ark_NativePointer node, @@ -16498,7 +16498,7 @@ typedef struct GENERATED_ArkUIBaseSpanModifier { } GENERATED_ArkUIBaseSpanModifier; typedef struct GENERATED_ArkUISpanModifier { - Ark_NativePointer (*construct)(); + void (*setSpanOptions)(Ark_NativePointer node, const Ark_Union_String_Resource* value); void (*setFont)(Ark_NativePointer node, @@ -16526,7 +16526,7 @@ typedef struct GENERATED_ArkUISpanModifier { } GENERATED_ArkUISpanModifier; typedef struct GENERATED_ArkUIStackModifier { - Ark_NativePointer (*construct)(); + void (*setStackOptions)(Ark_NativePointer node, const Opt_StackOptions* options); void (*setAlignContent)(Ark_NativePointer node, @@ -16536,7 +16536,7 @@ typedef struct GENERATED_ArkUIStackModifier { } GENERATED_ArkUIStackModifier; typedef struct GENERATED_ArkUIStepperModifier { - Ark_NativePointer (*construct)(); + void (*setStepperOptions)(Ark_NativePointer node, const Opt_Literal_Number_index* value); void (*setOnFinish)(Ark_NativePointer node, @@ -16552,7 +16552,7 @@ typedef struct GENERATED_ArkUIStepperModifier { } GENERATED_ArkUIStepperModifier; typedef struct GENERATED_ArkUIStepperItemModifier { - Ark_NativePointer (*construct)(); + void (*setStepperItemOptions)(Ark_NativePointer node); void (*setPrevLabel)(Ark_NativePointer node, const Ark_String* value); @@ -16563,7 +16563,7 @@ typedef struct GENERATED_ArkUIStepperItemModifier { } GENERATED_ArkUIStepperItemModifier; typedef struct GENERATED_ArkUISwiperModifier { - Ark_NativePointer (*construct)(); + void (*setSwiperOptions)(Ark_NativePointer node, const Opt_SwiperController* controller); void (*setIndex)(Ark_NativePointer node, @@ -16627,7 +16627,7 @@ typedef struct GENERATED_ArkUISwiperModifier { } GENERATED_ArkUISwiperModifier; typedef struct GENERATED_ArkUIIndicatorComponentModifier { - Ark_NativePointer (*construct)(); + void (*setIndicatorComponentOptions)(Ark_NativePointer node, const Opt_IndicatorComponentController* controller); void (*setInitialIndex)(Ark_NativePointer node, @@ -16645,7 +16645,7 @@ typedef struct GENERATED_ArkUIIndicatorComponentModifier { } GENERATED_ArkUIIndicatorComponentModifier; typedef struct GENERATED_ArkUISymbolGlyphModifier { - Ark_NativePointer (*construct)(); + void (*setSymbolGlyphOptions)(Ark_NativePointer node, const Opt_Resource* value); void (*setFontSize)(Ark_NativePointer node, @@ -16667,7 +16667,7 @@ typedef struct GENERATED_ArkUISymbolGlyphModifier { } GENERATED_ArkUISymbolGlyphModifier; typedef struct GENERATED_ArkUISymbolSpanModifier { - Ark_NativePointer (*construct)(); + void (*setSymbolSpanOptions)(Ark_NativePointer node, const Ark_Resource* value); void (*setFontSize)(Ark_NativePointer node, @@ -16683,7 +16683,7 @@ typedef struct GENERATED_ArkUISymbolSpanModifier { } GENERATED_ArkUISymbolSpanModifier; typedef struct GENERATED_ArkUITabsModifier { - Ark_NativePointer (*construct)(); + void (*setTabsOptions)(Ark_NativePointer node, const Opt_TabsOptions* options); void (*setVertical)(Ark_NativePointer node, @@ -16743,7 +16743,7 @@ typedef struct GENERATED_ArkUITabsModifier { } GENERATED_ArkUITabsModifier; typedef struct GENERATED_ArkUITabContentModifier { - Ark_NativePointer (*construct)(); + void (*setTabContentOptions)(Ark_NativePointer node); void (*setTabBar0)(Ark_NativePointer node, const Ark_Union_String_Resource_CustomBuilder_TabBarOptions* value); @@ -16756,7 +16756,7 @@ typedef struct GENERATED_ArkUITabContentModifier { } GENERATED_ArkUITabContentModifier; typedef struct GENERATED_ArkUITextModifier { - Ark_NativePointer (*construct)(); + void (*setTextOptions)(Ark_NativePointer node, const Opt_Union_String_Resource* content, const Opt_TextOptions* value); @@ -16855,7 +16855,7 @@ typedef struct GENERATED_ArkUITextModifier { } GENERATED_ArkUITextModifier; typedef struct GENERATED_ArkUITextAreaModifier { - Ark_NativePointer (*construct)(); + void (*setTextAreaOptions)(Ark_NativePointer node, const Opt_TextAreaOptions* value); void (*setPlaceholderColor)(Ark_NativePointer node, @@ -16970,7 +16970,7 @@ typedef struct GENERATED_ArkUITextAreaModifier { } GENERATED_ArkUITextAreaModifier; typedef struct GENERATED_ArkUITextClockModifier { - Ark_NativePointer (*construct)(); + void (*setTextClockOptions)(Ark_NativePointer node, const Opt_TextClockOptions* options); void (*setFormat)(Ark_NativePointer node, @@ -16998,7 +16998,7 @@ typedef struct GENERATED_ArkUITextClockModifier { } GENERATED_ArkUITextClockModifier; typedef struct GENERATED_ArkUITextInputModifier { - Ark_NativePointer (*construct)(); + void (*setTextInputOptions)(Ark_NativePointer node, const Opt_TextInputOptions* value); void (*setType)(Ark_NativePointer node, @@ -17137,7 +17137,7 @@ typedef struct GENERATED_ArkUITextInputModifier { } GENERATED_ArkUITextInputModifier; typedef struct GENERATED_ArkUITextPickerModifier { - Ark_NativePointer (*construct)(); + void (*setTextPickerOptions)(Ark_NativePointer node, const Opt_TextPickerOptions* options); void (*setDefaultPickerItemHeight)(Ark_NativePointer node, @@ -17167,7 +17167,7 @@ typedef struct GENERATED_ArkUITextPickerModifier { } GENERATED_ArkUITextPickerModifier; typedef struct GENERATED_ArkUITextTimerModifier { - Ark_NativePointer (*construct)(); + void (*setTextTimerOptions)(Ark_NativePointer node, const Opt_TextTimerOptions* options); void (*setFormat)(Ark_NativePointer node, @@ -17191,7 +17191,7 @@ typedef struct GENERATED_ArkUITextTimerModifier { } GENERATED_ArkUITextTimerModifier; typedef struct GENERATED_ArkUITimePickerModifier { - Ark_NativePointer (*construct)(); + void (*setTimePickerOptions)(Ark_NativePointer node, const Opt_TimePickerOptions* options); void (*setUseMilitaryTime)(Ark_NativePointer node, @@ -17213,7 +17213,7 @@ typedef struct GENERATED_ArkUITimePickerModifier { } GENERATED_ArkUITimePickerModifier; typedef struct GENERATED_ArkUIToggleModifier { - Ark_NativePointer (*construct)(); + void (*setToggleOptions)(Ark_NativePointer node, const Ark_ToggleOptions* options); void (*setOnChange)(Ark_NativePointer node, @@ -17229,7 +17229,7 @@ typedef struct GENERATED_ArkUIToggleModifier { } GENERATED_ArkUIToggleModifier; typedef struct GENERATED_ArkUIVideoModifier { - Ark_NativePointer (*construct)(); + void (*setVideoOptions)(Ark_NativePointer node, const Ark_VideoOptions* value); void (*setMuted)(Ark_NativePointer node, @@ -17269,7 +17269,7 @@ typedef struct GENERATED_ArkUIVideoModifier { } GENERATED_ArkUIVideoModifier; typedef struct GENERATED_ArkUIWebModifier { - Ark_NativePointer (*construct)(); + void (*setWebOptions)(Ark_NativePointer node, const Ark_WebOptions* value); void (*setJavaScriptAccess)(Ark_NativePointer node, @@ -17521,7 +17521,7 @@ typedef struct GENERATED_ArkUIWebModifier { } GENERATED_ArkUIWebModifier; typedef struct GENERATED_ArkUIWindowSceneModifier { - Ark_NativePointer (*construct)(); + void (*setWindowSceneOptions)(Ark_NativePointer node, const Ark_Number* persistentId); void (*setAttractionEffect)(Ark_NativePointer node, @@ -17530,7 +17530,7 @@ typedef struct GENERATED_ArkUIWindowSceneModifier { } GENERATED_ArkUIWindowSceneModifier; typedef struct GENERATED_ArkUIXComponentModifier { - Ark_NativePointer (*construct)(); + void (*setXComponentOptions0)(Ark_NativePointer node, const Ark_Type_XComponentInterface_value* value); void (*setXComponentOptions1)(Ark_NativePointer node, @@ -17548,7 +17548,7 @@ typedef struct GENERATED_ArkUIXComponentModifier { } GENERATED_ArkUIXComponentModifier; typedef struct GENERATED_ArkUISideBarContainerModifier { - Ark_NativePointer (*construct)(); + void (*setSideBarContainerOptions)(Ark_NativePointer node, const Opt_SideBarContainerType* type); void (*setShowSideBar)(Ark_NativePointer node, @@ -17582,13 +17582,13 @@ typedef struct GENERATED_ArkUISideBarContainerModifier { } GENERATED_ArkUISideBarContainerModifier; typedef struct GENERATED_ArkUIRemoteWindowModifier { - Ark_NativePointer (*construct)(); + void (*setRemoteWindowOptions)(Ark_NativePointer node, const Ark_WindowAnimationTarget* target); } GENERATED_ArkUIRemoteWindowModifier; typedef struct GENERATED_ArkUIWaterFlowModifier { - Ark_NativePointer (*construct)(); + void (*setWaterFlowOptions)(Ark_NativePointer node, const Opt_WaterFlowOptions* options); void (*setColumnsTemplate)(Ark_NativePointer node, @@ -17625,7 +17625,7 @@ typedef struct GENERATED_ArkUIWaterFlowModifier { } GENERATED_ArkUIWaterFlowModifier; typedef struct GENERATED_ArkUIUIExtensionComponentModifier { - Ark_NativePointer (*construct)(); + void (*setUIExtensionComponentOptions)(Ark_NativePointer node, const Ark_Want* want, const Opt_UIExtensionOptions* options); @@ -17644,7 +17644,7 @@ typedef struct GENERATED_ArkUIUIExtensionComponentModifier { } GENERATED_ArkUIUIExtensionComponentModifier; typedef struct GENERATED_ArkUILinearIndicatorModifier { - Ark_NativePointer (*construct)(); + void (*setLinearIndicatorOptions)(Ark_NativePointer node, const Opt_Number* count, const Opt_LinearIndicatorController* controller); diff --git a/arkoala/framework/native/src/generated/bridge_generated.cc b/arkoala/framework/native/src/generated/bridge_generated.cc index b054459e7..aa5bb183c 100644 --- a/arkoala/framework/native/src/generated/bridge_generated.cc +++ b/arkoala/framework/native/src/generated/bridge_generated.cc @@ -118,7 +118,7 @@ void impl_EmulateTextInputEvent(KInt nodeId, const KStringPtr& text) { KOALA_INTEROP_V2(EmulateTextInputEvent, KInt, KStringPtr) Ark_NativePointer impl_AbilityComponent_construct() { - return GetNodeModifiers()->getAbilityComponentModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(AbilityComponent_construct, Ark_NativePointer) @@ -149,7 +149,7 @@ void impl_AbilityComponentAttribute_onDisconnect(Ark_NativePointer thisPtr, uint KOALA_INTEROP_V3(AbilityComponentAttribute_onDisconnect, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_AlphabetIndexer_construct() { - return GetNodeModifiers()->getAlphabetIndexerModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(AlphabetIndexer_construct, Ark_NativePointer) @@ -553,7 +553,7 @@ void impl_AlphabetIndexerAttribute_alignStyle(Ark_NativePointer thisPtr, Ark_Int KOALA_INTEROP_V4(AlphabetIndexerAttribute_alignStyle, Ark_NativePointer, Ark_Int32, uint8_t*, int32_t) Ark_NativePointer impl_Animator_construct() { - return GetNodeModifiers()->getAnimatorModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Animator_construct, Ark_NativePointer) @@ -677,7 +677,7 @@ void impl_AnimatorAttribute_onFrame(Ark_NativePointer thisPtr, uint8_t* thisArra KOALA_INTEROP_V3(AnimatorAttribute_onFrame, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Badge_construct() { - return GetNodeModifiers()->getBadgeModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Badge_construct, Ark_NativePointer) @@ -698,7 +698,7 @@ void impl_BadgeInterface_setBadgeOptions1(Ark_NativePointer thisPtr, uint8_t* th KOALA_INTEROP_V3(BadgeInterface_setBadgeOptions1, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Blank_construct() { - return GetNodeModifiers()->getBlankModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Blank_construct, Ark_NativePointer) @@ -756,7 +756,7 @@ void impl_BlankAttribute_color(Ark_NativePointer thisPtr, uint8_t* thisArray, in KOALA_INTEROP_V3(BlankAttribute_color, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Button_construct() { - return GetNodeModifiers()->getButtonModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Button_construct, Ark_NativePointer) @@ -929,7 +929,7 @@ void impl_ButtonAttribute_labelStyle(Ark_NativePointer thisPtr, uint8_t* thisArr KOALA_INTEROP_V3(ButtonAttribute_labelStyle, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Calendar_construct() { - return GetNodeModifiers()->getCalendarModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Calendar_construct, Ark_NativePointer) @@ -1051,7 +1051,7 @@ void impl_CalendarAttribute_onRequestData(Ark_NativePointer thisPtr, uint8_t* th KOALA_INTEROP_V3(CalendarAttribute_onRequestData, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_CalendarPicker_construct() { - return GetNodeModifiers()->getCalendarPickerModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(CalendarPicker_construct, Ark_NativePointer) @@ -1105,7 +1105,7 @@ void impl_CalendarPickerAttribute_edgeAlign(Ark_NativePointer thisPtr, Ark_Int32 KOALA_INTEROP_V4(CalendarPickerAttribute_edgeAlign, Ark_NativePointer, Ark_Int32, uint8_t*, int32_t) Ark_NativePointer impl_Canvas_construct() { - return GetNodeModifiers()->getCanvasModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Canvas_construct, Ark_NativePointer) @@ -1170,7 +1170,7 @@ void impl_CanvasAttribute_enableAnalyzer(Ark_NativePointer thisPtr, Ark_Boolean KOALA_INTEROP_V2(CanvasAttribute_enableAnalyzer, Ark_NativePointer, Ark_Boolean) Ark_NativePointer impl_Checkbox_construct() { - return GetNodeModifiers()->getCheckboxModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Checkbox_construct, Ark_NativePointer) @@ -1280,7 +1280,7 @@ void impl_CheckboxAttribute_contentModifier(Ark_NativePointer thisPtr, uint8_t* KOALA_INTEROP_V3(CheckboxAttribute_contentModifier, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_CheckboxGroup_construct() { - return GetNodeModifiers()->getCheckboxGroupModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(CheckboxGroup_construct, Ark_NativePointer) @@ -1382,7 +1382,7 @@ void impl_CheckboxGroupAttribute_checkboxShape(Ark_NativePointer thisPtr, Ark_In KOALA_INTEROP_V2(CheckboxGroupAttribute_checkboxShape, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_Circle_construct() { - return GetNodeModifiers()->getCircleModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Circle_construct, Ark_NativePointer) @@ -1402,7 +1402,7 @@ void impl_CircleInterface_setCircleOptions(Ark_NativePointer thisPtr, uint8_t* t KOALA_INTEROP_V3(CircleInterface_setCircleOptions, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Column_construct() { - return GetNodeModifiers()->getColumnModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Column_construct, Ark_NativePointer) @@ -1457,7 +1457,7 @@ void impl_ColumnAttribute_reverse(Ark_NativePointer thisPtr, uint8_t* thisArray, KOALA_INTEROP_V3(ColumnAttribute_reverse, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_ColumnSplit_construct() { - return GetNodeModifiers()->getColumnSplitModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(ColumnSplit_construct, Ark_NativePointer) @@ -1493,7 +1493,7 @@ void impl_ColumnSplitAttribute_divider(Ark_NativePointer thisPtr, uint8_t* thisA KOALA_INTEROP_V3(ColumnSplitAttribute_divider, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_CommonMethod_construct() { - return GetNodeModifiers()->getCommonMethodModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(CommonMethod_construct, Ark_NativePointer) @@ -1639,7 +1639,7 @@ void impl_CommonMethod_chainWeight(Ark_NativePointer thisPtr, uint8_t* thisArray Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Ark_ChainWeightOptions value_value = thisDeserializer.readChainWeightOptions();; - GetNodeModifiers()->getCommonMethodModifier()->setChainWeight(self, (const Ark_ChainWeightOptions*)&value_value); +// GetNodeModifiers()->getCommonMethodModifier()->setChainWeight(self, (const Ark_ChainWeightOptions*)&value_value); } KOALA_INTEROP_V3(CommonMethod_chainWeight, Ark_NativePointer, uint8_t*, int32_t) @@ -1751,7 +1751,7 @@ void impl_CommonMethod_safeAreaPadding(Ark_NativePointer thisPtr, uint8_t* thisA value_value_buf.value2 = thisDeserializer.readLocalizedPadding(); } Ark_Union_Padding_LengthMetrics_LocalizedPadding value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setSafeAreaPadding(self, (const Ark_Union_Padding_LengthMetrics_LocalizedPadding*)&value_value); +// GetNodeModifiers()->getCommonMethodModifier()->setSafeAreaPadding(self, (const Ark_Union_Padding_LengthMetrics_LocalizedPadding*)&value_value); } KOALA_INTEROP_V3(CommonMethod_safeAreaPadding, Ark_NativePointer, uint8_t*, int32_t) @@ -4718,7 +4718,7 @@ void impl_CommonMethod_keyboardShortcut(Ark_NativePointer thisPtr, uint8_t* this KOALA_INTEROP_V3(CommonMethod_keyboardShortcut, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_CommonShapeMethod_construct() { - return GetNodeModifiers()->getCommonShapeMethodModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(CommonShapeMethod_construct, Ark_NativePointer) @@ -4902,7 +4902,7 @@ void impl_CommonShapeMethod_strokeDashArray(Ark_NativePointer thisPtr, uint8_t* KOALA_INTEROP_V3(CommonShapeMethod_strokeDashArray, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Common_construct() { - return GetNodeModifiers()->getCommonModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Common_construct, Ark_NativePointer) @@ -4913,7 +4913,7 @@ void impl_CommonInterface_setCommonOptions(Ark_NativePointer thisPtr) { KOALA_INTEROP_V1(CommonInterface_setCommonOptions, Ark_NativePointer) Ark_NativePointer impl_ScrollableCommonMethod_construct() { - return GetNodeModifiers()->getScrollableCommonMethodModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(ScrollableCommonMethod_construct, Ark_NativePointer) @@ -5132,7 +5132,7 @@ void impl_ScrollableCommonMethod_fadingEdge(Ark_NativePointer thisPtr, uint8_t* KOALA_INTEROP_V3(ScrollableCommonMethod_fadingEdge, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Component3D_construct() { - return GetNodeModifiers()->getComponent3DModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Component3D_construct, Ark_NativePointer) @@ -5257,7 +5257,7 @@ void impl_Component3DAttribute_customRender(Ark_NativePointer thisPtr, uint8_t* KOALA_INTEROP_V4(Component3DAttribute_customRender, Ark_NativePointer, uint8_t*, int32_t, Ark_Boolean) Ark_NativePointer impl_ContainerSpan_construct() { - return GetNodeModifiers()->getContainerSpanModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(ContainerSpan_construct, Ark_NativePointer) @@ -5276,7 +5276,7 @@ void impl_ContainerSpanAttribute_textBackgroundStyle(Ark_NativePointer thisPtr, KOALA_INTEROP_V3(ContainerSpanAttribute_textBackgroundStyle, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Counter_construct() { - return GetNodeModifiers()->getCounterModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Counter_construct, Ark_NativePointer) @@ -5315,7 +5315,7 @@ void impl_CounterAttribute_enableInc(Ark_NativePointer thisPtr, Ark_Boolean valu KOALA_INTEROP_V2(CounterAttribute_enableInc, Ark_NativePointer, Ark_Boolean) Ark_NativePointer impl_DataPanel_construct() { - return GetNodeModifiers()->getDataPanelModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(DataPanel_construct, Ark_NativePointer) @@ -5430,7 +5430,7 @@ void impl_DataPanelAttribute_contentModifier(Ark_NativePointer thisPtr, uint8_t* KOALA_INTEROP_V3(DataPanelAttribute_contentModifier, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_DatePicker_construct() { - return GetNodeModifiers()->getDatePickerModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(DatePicker_construct, Ark_NativePointer) @@ -5496,7 +5496,7 @@ void impl_DatePickerAttribute_onDateChange(Ark_NativePointer thisPtr, uint8_t* t KOALA_INTEROP_V3(DatePickerAttribute_onDateChange, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Divider_construct() { - return GetNodeModifiers()->getDividerModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Divider_construct, Ark_NativePointer) @@ -5565,7 +5565,7 @@ void impl_DividerAttribute_lineCap(Ark_NativePointer thisPtr, Ark_Int32 value) { KOALA_INTEROP_V2(DividerAttribute_lineCap, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_EffectComponent_construct() { - return GetNodeModifiers()->getEffectComponentModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(EffectComponent_construct, Ark_NativePointer) @@ -5576,7 +5576,7 @@ void impl_EffectComponentInterface_setEffectComponentOptions(Ark_NativePointer t KOALA_INTEROP_V1(EffectComponentInterface_setEffectComponentOptions, Ark_NativePointer) Ark_NativePointer impl_Ellipse_construct() { - return GetNodeModifiers()->getEllipseModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Ellipse_construct, Ark_NativePointer) @@ -5596,7 +5596,7 @@ void impl_EllipseInterface_setEllipseOptions(Ark_NativePointer thisPtr, uint8_t* KOALA_INTEROP_V3(EllipseInterface_setEllipseOptions, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_EmbeddedComponent_construct() { - return GetNodeModifiers()->getEmbeddedComponentModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(EmbeddedComponent_construct, Ark_NativePointer) @@ -5625,7 +5625,7 @@ void impl_EmbeddedComponentAttribute_onError(Ark_NativePointer thisPtr, uint8_t* KOALA_INTEROP_V3(EmbeddedComponentAttribute_onError, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Flex_construct() { - return GetNodeModifiers()->getFlexModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Flex_construct, Ark_NativePointer) @@ -5653,7 +5653,7 @@ void impl_FlexAttribute_pointLight(Ark_NativePointer thisPtr, uint8_t* thisArray KOALA_INTEROP_V3(FlexAttribute_pointLight, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_FlowItem_construct() { - return GetNodeModifiers()->getFlowItemModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(FlowItem_construct, Ark_NativePointer) @@ -5664,7 +5664,7 @@ void impl_FlowItemInterface_setFlowItemOptions(Ark_NativePointer thisPtr) { KOALA_INTEROP_V1(FlowItemInterface_setFlowItemOptions, Ark_NativePointer) Ark_NativePointer impl_FolderStack_construct() { - return GetNodeModifiers()->getFolderStackModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(FolderStack_construct, Ark_NativePointer) @@ -5718,7 +5718,7 @@ void impl_FolderStackAttribute_autoHalfFold(Ark_NativePointer thisPtr, Ark_Boole KOALA_INTEROP_V2(FolderStackAttribute_autoHalfFold, Ark_NativePointer, Ark_Boolean) Ark_NativePointer impl_FormComponent_construct() { - return GetNodeModifiers()->getFormComponentModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(FormComponent_construct, Ark_NativePointer) @@ -5806,7 +5806,7 @@ void impl_FormComponentAttribute_onLoad(Ark_NativePointer thisPtr, uint8_t* this KOALA_INTEROP_V3(FormComponentAttribute_onLoad, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_FormLink_construct() { - return GetNodeModifiers()->getFormLinkModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(FormLink_construct, Ark_NativePointer) @@ -5819,7 +5819,7 @@ void impl_FormLinkInterface_setFormLinkOptions(Ark_NativePointer thisPtr, uint8_ KOALA_INTEROP_V3(FormLinkInterface_setFormLinkOptions, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Gauge_construct() { - return GetNodeModifiers()->getGaugeModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Gauge_construct, Ark_NativePointer) @@ -5987,7 +5987,7 @@ void impl_GaugeAttribute_contentModifier(Ark_NativePointer thisPtr, uint8_t* thi KOALA_INTEROP_V3(GaugeAttribute_contentModifier, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Grid_construct() { - return GetNodeModifiers()->getGridModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Grid_construct, Ark_NativePointer) @@ -6308,7 +6308,7 @@ void impl_GridAttribute_edgeEffect(Ark_NativePointer thisPtr, Ark_Int32 value, u KOALA_INTEROP_V4(GridAttribute_edgeEffect, Ark_NativePointer, Ark_Int32, uint8_t*, int32_t) Ark_NativePointer impl_GridItem_construct() { - return GetNodeModifiers()->getGridItemModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(GridItem_construct, Ark_NativePointer) @@ -6378,7 +6378,7 @@ void impl_GridItemAttribute_onSelect(Ark_NativePointer thisPtr, uint8_t* thisArr KOALA_INTEROP_V3(GridItemAttribute_onSelect, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_GridCol_construct() { - return GetNodeModifiers()->getGridColModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(GridCol_construct, Ark_NativePointer) @@ -6455,7 +6455,7 @@ void impl_GridColAttribute_order(Ark_NativePointer thisPtr, uint8_t* thisArray, KOALA_INTEROP_V3(GridColAttribute_order, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_GridContainer_construct() { - return GetNodeModifiers()->getGridContainerModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(GridContainer_construct, Ark_NativePointer) @@ -6475,7 +6475,7 @@ void impl_GridContainerInterface_setGridContainerOptions(Ark_NativePointer thisP KOALA_INTEROP_V3(GridContainerInterface_setGridContainerOptions, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_GridRow_construct() { - return GetNodeModifiers()->getGridRowModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(GridRow_construct, Ark_NativePointer) @@ -6509,7 +6509,7 @@ void impl_GridRowAttribute_alignItems(Ark_NativePointer thisPtr, Ark_Int32 value KOALA_INTEROP_V2(GridRowAttribute_alignItems, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_Hyperlink_construct() { - return GetNodeModifiers()->getHyperlinkModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Hyperlink_construct, Ark_NativePointer) @@ -6579,7 +6579,7 @@ void impl_HyperlinkAttribute_color(Ark_NativePointer thisPtr, uint8_t* thisArray KOALA_INTEROP_V3(HyperlinkAttribute_color, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Image_construct() { - return GetNodeModifiers()->getImageModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Image_construct, Ark_NativePointer) @@ -6914,7 +6914,7 @@ void impl_ImageAttribute_orientation(Ark_NativePointer thisPtr, Ark_Int32 value) KOALA_INTEROP_V2(ImageAttribute_orientation, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_ImageAnimator_construct() { - return GetNodeModifiers()->getImageAnimatorModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(ImageAnimator_construct, Ark_NativePointer) @@ -7024,7 +7024,7 @@ void impl_ImageAnimatorAttribute_onFinish(Ark_NativePointer thisPtr, uint8_t* th KOALA_INTEROP_V3(ImageAnimatorAttribute_onFinish, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_ImageSpan_construct() { - return GetNodeModifiers()->getImageSpanModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(ImageSpan_construct, Ark_NativePointer) @@ -7114,7 +7114,7 @@ void impl_ImageSpanAttribute_alt(Ark_NativePointer thisPtr, uint8_t* thisArray, KOALA_INTEROP_V3(ImageSpanAttribute_alt, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Line_construct() { - return GetNodeModifiers()->getLineModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Line_construct, Ark_NativePointer) @@ -7168,7 +7168,7 @@ void impl_LineAttribute_endPoint(Ark_NativePointer thisPtr, uint8_t* thisArray, KOALA_INTEROP_V3(LineAttribute_endPoint, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_List_construct() { - return GetNodeModifiers()->getListModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(List_construct, Ark_NativePointer) @@ -7499,7 +7499,7 @@ void impl_ListAttribute_edgeEffect(Ark_NativePointer thisPtr, Ark_Int32 value, u KOALA_INTEROP_V4(ListAttribute_edgeEffect, Ark_NativePointer, Ark_Int32, uint8_t*, int32_t) Ark_NativePointer impl_ListItem_construct() { - return GetNodeModifiers()->getListItemModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(ListItem_construct, Ark_NativePointer) @@ -7587,7 +7587,7 @@ void impl_ListItemAttribute_onSelect(Ark_NativePointer thisPtr, uint8_t* thisArr KOALA_INTEROP_V3(ListItemAttribute_onSelect, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_ListItemGroup_construct() { - return GetNodeModifiers()->getListItemGroupModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(ListItemGroup_construct, Ark_NativePointer) @@ -7634,7 +7634,7 @@ void impl_ListItemGroupAttribute_childrenMainSize(Ark_NativePointer thisPtr, uin KOALA_INTEROP_V3(ListItemGroupAttribute_childrenMainSize, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_LoadingProgress_construct() { - return GetNodeModifiers()->getLoadingProgressModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(LoadingProgress_construct, Ark_NativePointer) @@ -7686,7 +7686,7 @@ void impl_LoadingProgressAttribute_contentModifier(Ark_NativePointer thisPtr, ui KOALA_INTEROP_V3(LoadingProgressAttribute_contentModifier, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_LocationButton_construct() { - return GetNodeModifiers()->getLocationButtonModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(LocationButton_construct, Ark_NativePointer) @@ -7713,7 +7713,7 @@ void impl_LocationButtonAttribute_onClick(Ark_NativePointer thisPtr, uint8_t* th KOALA_INTEROP_V3(LocationButtonAttribute_onClick, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Marquee_construct() { - return GetNodeModifiers()->getMarqueeModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Marquee_construct, Ark_NativePointer) @@ -7837,7 +7837,7 @@ void impl_MarqueeAttribute_onFinish(Ark_NativePointer thisPtr, uint8_t* thisArra KOALA_INTEROP_V3(MarqueeAttribute_onFinish, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_MediaCachedImage_construct() { - return GetNodeModifiers()->getMediaCachedImageModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(MediaCachedImage_construct, Ark_NativePointer) @@ -7880,7 +7880,7 @@ void impl_MediaCachedImageInterface_setMediaCachedImageOptions(Ark_NativePointer KOALA_INTEROP_V3(MediaCachedImageInterface_setMediaCachedImageOptions, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Menu_construct() { - return GetNodeModifiers()->getMenuModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Menu_construct, Ark_NativePointer) @@ -8020,7 +8020,7 @@ void impl_MenuAttribute_subMenuExpandingMode(Ark_NativePointer thisPtr, Ark_Int3 KOALA_INTEROP_V2(MenuAttribute_subMenuExpandingMode, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_MenuItem_construct() { - return GetNodeModifiers()->getMenuItemModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(MenuItem_construct, Ark_NativePointer) @@ -8169,7 +8169,7 @@ void impl_MenuItemAttribute_labelFontColor(Ark_NativePointer thisPtr, uint8_t* t KOALA_INTEROP_V3(MenuItemAttribute_labelFontColor, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_MenuItemGroup_construct() { - return GetNodeModifiers()->getMenuItemGroupModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(MenuItemGroup_construct, Ark_NativePointer) @@ -8189,7 +8189,7 @@ void impl_MenuItemGroupInterface_setMenuItemGroupOptions(Ark_NativePointer thisP KOALA_INTEROP_V3(MenuItemGroupInterface_setMenuItemGroupOptions, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_NavDestination_construct() { - return GetNodeModifiers()->getNavDestinationModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(NavDestination_construct, Ark_NativePointer) @@ -8545,7 +8545,7 @@ void impl_NavDestinationAttribute_ignoreLayoutSafeArea(Ark_NativePointer thisPtr KOALA_INTEROP_V3(NavDestinationAttribute_ignoreLayoutSafeArea, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_NavRouter_construct() { - return GetNodeModifiers()->getNavRouterModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(NavRouter_construct, Ark_NativePointer) @@ -8578,7 +8578,7 @@ void impl_NavRouterAttribute_mode(Ark_NativePointer thisPtr, Ark_Int32 value) { KOALA_INTEROP_V2(NavRouterAttribute_mode, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_Navigation_construct() { - return GetNodeModifiers()->getNavigationModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Navigation_construct, Ark_NativePointer) @@ -8962,7 +8962,7 @@ void impl_NavigationAttribute_ignoreLayoutSafeArea(Ark_NativePointer thisPtr, ui KOALA_INTEROP_V3(NavigationAttribute_ignoreLayoutSafeArea, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Navigator_construct() { - return GetNodeModifiers()->getNavigatorModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Navigator_construct, Ark_NativePointer) @@ -9024,7 +9024,7 @@ void impl_NavigatorAttribute_params(Ark_NativePointer thisPtr, uint8_t* thisArra KOALA_INTEROP_V3(NavigatorAttribute_params, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_NodeContainer_construct() { - return GetNodeModifiers()->getNodeContainerModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(NodeContainer_construct, Ark_NativePointer) @@ -9037,7 +9037,7 @@ void impl_NodeContainerInterface_setNodeContainerOptions(Ark_NativePointer thisP KOALA_INTEROP_V3(NodeContainerInterface_setNodeContainerOptions, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Panel_construct() { - return GetNodeModifiers()->getPanelModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Panel_construct, Ark_NativePointer) @@ -9197,7 +9197,7 @@ void impl_PanelAttribute_onHeightChange(Ark_NativePointer thisPtr, uint8_t* this KOALA_INTEROP_V3(PanelAttribute_onHeightChange, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_PasteButton_construct() { - return GetNodeModifiers()->getPasteButtonModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(PasteButton_construct, Ark_NativePointer) @@ -9224,7 +9224,7 @@ void impl_PasteButtonAttribute_onClick(Ark_NativePointer thisPtr, uint8_t* thisA KOALA_INTEROP_V3(PasteButtonAttribute_onClick, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Path_construct() { - return GetNodeModifiers()->getPathModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Path_construct, Ark_NativePointer) @@ -9250,7 +9250,7 @@ void impl_PathAttribute_commands(Ark_NativePointer thisPtr, const KStringPtr& va KOALA_INTEROP_V2(PathAttribute_commands, Ark_NativePointer, KStringPtr) Ark_NativePointer impl_PatternLock_construct() { - return GetNodeModifiers()->getPatternLockModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(PatternLock_construct, Ark_NativePointer) @@ -9473,7 +9473,7 @@ void impl_PatternLockAttribute_activateCircleStyle(Ark_NativePointer thisPtr, ui KOALA_INTEROP_V3(PatternLockAttribute_activateCircleStyle, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_PluginComponent_construct() { - return GetNodeModifiers()->getPluginComponentModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(PluginComponent_construct, Ark_NativePointer) @@ -9502,7 +9502,7 @@ void impl_PluginComponentAttribute_onError(Ark_NativePointer thisPtr, uint8_t* t KOALA_INTEROP_V3(PluginComponentAttribute_onError, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Polygon_construct() { - return GetNodeModifiers()->getPolygonModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Polygon_construct, Ark_NativePointer) @@ -9539,7 +9539,7 @@ void impl_PolygonAttribute_points(Ark_NativePointer thisPtr, uint8_t* thisArray, KOALA_INTEROP_V3(PolygonAttribute_points, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Polyline_construct() { - return GetNodeModifiers()->getPolylineModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Polyline_construct, Ark_NativePointer) @@ -9576,7 +9576,7 @@ void impl_PolylineAttribute_points(Ark_NativePointer thisPtr, uint8_t* thisArray KOALA_INTEROP_V3(PolylineAttribute_points, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Progress_construct() { - return GetNodeModifiers()->getProgressModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Progress_construct, Ark_NativePointer) @@ -9683,7 +9683,7 @@ void impl_ProgressAttribute_contentModifier(Ark_NativePointer thisPtr, uint8_t* KOALA_INTEROP_V3(ProgressAttribute_contentModifier, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_QRCode_construct() { - return GetNodeModifiers()->getQRCodeModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(QRCode_construct, Ark_NativePointer) @@ -9767,7 +9767,7 @@ void impl_QRCodeAttribute_contentOpacity(Ark_NativePointer thisPtr, uint8_t* thi KOALA_INTEROP_V3(QRCodeAttribute_contentOpacity, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Radio_construct() { - return GetNodeModifiers()->getRadioModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Radio_construct, Ark_NativePointer) @@ -9817,7 +9817,7 @@ void impl_RadioAttribute_contentModifier(Ark_NativePointer thisPtr, uint8_t* thi KOALA_INTEROP_V3(RadioAttribute_contentModifier, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Rating_construct() { - return GetNodeModifiers()->getRatingModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Rating_construct, Ark_NativePointer) @@ -9873,7 +9873,7 @@ void impl_RatingAttribute_contentModifier(Ark_NativePointer thisPtr, uint8_t* th KOALA_INTEROP_V3(RatingAttribute_contentModifier, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Rect_construct() { - return GetNodeModifiers()->getRectModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Rect_construct, Ark_NativePointer) @@ -9974,7 +9974,7 @@ void impl_RectAttribute_radius(Ark_NativePointer thisPtr, uint8_t* thisArray, in KOALA_INTEROP_V3(RectAttribute_radius, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Refresh_construct() { - return GetNodeModifiers()->getRefreshModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Refresh_construct, Ark_NativePointer) @@ -10038,7 +10038,7 @@ void impl_RefreshAttribute_pullDownRatio(Ark_NativePointer thisPtr, uint8_t* thi KOALA_INTEROP_V3(RefreshAttribute_pullDownRatio, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_RelativeContainer_construct() { - return GetNodeModifiers()->getRelativeContainerModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(RelativeContainer_construct, Ark_NativePointer) @@ -10100,7 +10100,7 @@ void impl_RelativeContainerAttribute_barrier1(Ark_NativePointer thisPtr, uint8_t KOALA_INTEROP_V3(RelativeContainerAttribute_barrier1, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_RichEditor_construct() { - return GetNodeModifiers()->getRichEditorModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(RichEditor_construct, Ark_NativePointer) @@ -10424,7 +10424,7 @@ void impl_RichEditorAttribute_placeholder(Ark_NativePointer thisPtr, uint8_t* th KOALA_INTEROP_V3(RichEditorAttribute_placeholder, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_RichText_construct() { - return GetNodeModifiers()->getRichTextModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(RichText_construct, Ark_NativePointer) @@ -10451,7 +10451,7 @@ void impl_RichTextAttribute_onComplete(Ark_NativePointer thisPtr, uint8_t* thisA KOALA_INTEROP_V3(RichTextAttribute_onComplete, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_RootScene_construct() { - return GetNodeModifiers()->getRootSceneModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(RootScene_construct, Ark_NativePointer) @@ -10464,7 +10464,7 @@ void impl_RootSceneInterface_setRootSceneOptions(Ark_NativePointer thisPtr, uint KOALA_INTEROP_V3(RootSceneInterface_setRootSceneOptions, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Row_construct() { - return GetNodeModifiers()->getRowModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Row_construct, Ark_NativePointer) @@ -10519,7 +10519,7 @@ void impl_RowAttribute_reverse(Ark_NativePointer thisPtr, uint8_t* thisArray, in KOALA_INTEROP_V3(RowAttribute_reverse, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_RowSplit_construct() { - return GetNodeModifiers()->getRowSplitModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(RowSplit_construct, Ark_NativePointer) @@ -10536,7 +10536,7 @@ void impl_RowSplitAttribute_resizeable(Ark_NativePointer thisPtr, Ark_Boolean va KOALA_INTEROP_V2(RowSplitAttribute_resizeable, Ark_NativePointer, Ark_Boolean) Ark_NativePointer impl_SaveButton_construct() { - return GetNodeModifiers()->getSaveButtonModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(SaveButton_construct, Ark_NativePointer) @@ -10563,7 +10563,7 @@ void impl_SaveButtonAttribute_onClick(Ark_NativePointer thisPtr, uint8_t* thisAr KOALA_INTEROP_V3(SaveButtonAttribute_onClick, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Screen_construct() { - return GetNodeModifiers()->getScreenModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Screen_construct, Ark_NativePointer) @@ -10574,7 +10574,7 @@ void impl_ScreenInterface_setScreenOptions(Ark_NativePointer thisPtr, KInteropNu KOALA_INTEROP_V2(ScreenInterface_setScreenOptions, Ark_NativePointer, KInteropNumber) Ark_NativePointer impl_Scroll_construct() { - return GetNodeModifiers()->getScrollModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Scroll_construct, Ark_NativePointer) @@ -10796,7 +10796,7 @@ void impl_ScrollAttribute_edgeEffect(Ark_NativePointer thisPtr, Ark_Int32 edgeEf KOALA_INTEROP_V4(ScrollAttribute_edgeEffect, Ark_NativePointer, Ark_Int32, uint8_t*, int32_t) Ark_NativePointer impl_ScrollBar_construct() { - return GetNodeModifiers()->getScrollBarModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(ScrollBar_construct, Ark_NativePointer) @@ -10824,7 +10824,7 @@ void impl_ScrollBarAttribute_enableNestedScroll(Ark_NativePointer thisPtr, uint8 KOALA_INTEROP_V3(ScrollBarAttribute_enableNestedScroll, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Search_construct() { - return GetNodeModifiers()->getSearchModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Search_construct, Ark_NativePointer) @@ -11337,7 +11337,7 @@ void impl_SearchAttribute_customKeyboard(Ark_NativePointer thisPtr, uint8_t* thi KOALA_INTEROP_V3(SearchAttribute_customKeyboard, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_SecurityComponentMethod_construct() { - return GetNodeModifiers()->getSecurityComponentMethodModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(SecurityComponentMethod_construct, Ark_NativePointer) @@ -11665,7 +11665,7 @@ void impl_SecurityComponentMethod_constraintSize(Ark_NativePointer thisPtr, uint KOALA_INTEROP_V3(SecurityComponentMethod_constraintSize, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Select_construct() { - return GetNodeModifiers()->getSelectModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Select_construct, Ark_NativePointer) @@ -12020,7 +12020,7 @@ void impl_SelectAttribute_menuAlign(Ark_NativePointer thisPtr, Ark_Int32 alignTy KOALA_INTEROP_V4(SelectAttribute_menuAlign, Ark_NativePointer, Ark_Int32, uint8_t*, int32_t) Ark_NativePointer impl_Shape_construct() { - return GetNodeModifiers()->getShapeModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Shape_construct, Ark_NativePointer) @@ -12256,7 +12256,7 @@ void impl_ShapeAttribute_mesh(Ark_NativePointer thisPtr, uint8_t* thisArray, int KOALA_INTEROP_V5(ShapeAttribute_mesh, Ark_NativePointer, uint8_t*, int32_t, KInteropNumber, KInteropNumber) Ark_NativePointer impl_Slider_construct() { - return GetNodeModifiers()->getSliderModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Slider_construct, Ark_NativePointer) @@ -12548,7 +12548,7 @@ void impl_SliderAttribute_showTips(Ark_NativePointer thisPtr, Ark_Boolean value, KOALA_INTEROP_V4(SliderAttribute_showTips, Ark_NativePointer, Ark_Boolean, uint8_t*, int32_t) Ark_NativePointer impl_BaseSpan_construct() { - return GetNodeModifiers()->getBaseSpanModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(BaseSpan_construct, Ark_NativePointer) @@ -12569,7 +12569,7 @@ void impl_BaseSpan_baselineOffset(Ark_NativePointer thisPtr, uint8_t* thisArray, KOALA_INTEROP_V3(BaseSpan_baselineOffset, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Span_construct() { - return GetNodeModifiers()->getSpanModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Span_construct, Ark_NativePointer) @@ -12766,7 +12766,7 @@ void impl_SpanAttribute_textShadow(Ark_NativePointer thisPtr, uint8_t* thisArray KOALA_INTEROP_V3(SpanAttribute_textShadow, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Stack_construct() { - return GetNodeModifiers()->getStackModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Stack_construct, Ark_NativePointer) @@ -12800,7 +12800,7 @@ void impl_StackAttribute_pointLight(Ark_NativePointer thisPtr, uint8_t* thisArra KOALA_INTEROP_V3(StackAttribute_pointLight, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Stepper_construct() { - return GetNodeModifiers()->getStepperModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Stepper_construct, Ark_NativePointer) @@ -12869,7 +12869,7 @@ void impl_StepperAttribute_onPrevious(Ark_NativePointer thisPtr, uint8_t* thisAr KOALA_INTEROP_V3(StepperAttribute_onPrevious, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_StepperItem_construct() { - return GetNodeModifiers()->getStepperItemModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(StepperItem_construct, Ark_NativePointer) @@ -12907,7 +12907,7 @@ void impl_StepperItemAttribute_status(Ark_NativePointer thisPtr, uint8_t* thisAr KOALA_INTEROP_V3(StepperItemAttribute_status, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Swiper_construct() { - return GetNodeModifiers()->getSwiperModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Swiper_construct, Ark_NativePointer) @@ -13223,7 +13223,7 @@ void impl_SwiperAttribute_nextMargin(Ark_NativePointer thisPtr, const KLength& v KOALA_INTEROP_V4(SwiperAttribute_nextMargin, Ark_NativePointer, KLength, uint8_t*, int32_t) Ark_NativePointer impl_IndicatorComponent_construct() { - return GetNodeModifiers()->getIndicatorComponentModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(IndicatorComponent_construct, Ark_NativePointer) @@ -13294,7 +13294,7 @@ void impl_IndicatorComponentAttribute_onChange(Ark_NativePointer thisPtr, uint8_ KOALA_INTEROP_V3(IndicatorComponentAttribute_onChange, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_SymbolGlyph_construct() { - return GetNodeModifiers()->getSymbolGlyphModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(SymbolGlyph_construct, Ark_NativePointer) @@ -13440,7 +13440,7 @@ void impl_SymbolGlyphAttribute_symbolEffect1(Ark_NativePointer thisPtr, uint8_t* KOALA_INTEROP_V3(SymbolGlyphAttribute_symbolEffect1, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_SymbolSpan_construct() { - return GetNodeModifiers()->getSymbolSpanModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(SymbolSpan_construct, Ark_NativePointer) @@ -13547,7 +13547,7 @@ void impl_SymbolSpanAttribute_renderingStrategy(Ark_NativePointer thisPtr, Ark_I KOALA_INTEROP_V2(SymbolSpanAttribute_renderingStrategy, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_Tabs_construct() { - return GetNodeModifiers()->getTabsModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Tabs_construct, Ark_NativePointer) @@ -13806,7 +13806,7 @@ void impl_TabsAttribute_barModeBarMode_SCROLLABLE(Ark_NativePointer thisPtr, uin KOALA_INTEROP_V3(TabsAttribute_barModeBarMode_SCROLLABLE, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_TabContent_construct() { - return GetNodeModifiers()->getTabContentModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(TabContent_construct, Ark_NativePointer) @@ -13879,7 +13879,7 @@ void impl_TabContentAttribute_onWillHide(Ark_NativePointer thisPtr, uint8_t* thi KOALA_INTEROP_V3(TabContentAttribute_onWillHide, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Text_construct() { - return GetNodeModifiers()->getTextModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Text_construct, Ark_NativePointer) @@ -14472,7 +14472,7 @@ void impl_TextAttribute_bindSelectionMenu(Ark_NativePointer thisPtr, Ark_Int32 s KOALA_INTEROP_V5(TextAttribute_bindSelectionMenu, Ark_NativePointer, Ark_Int32, uint8_t*, int32_t, Ark_Int32) Ark_NativePointer impl_TextArea_construct() { - return GetNodeModifiers()->getTextAreaModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(TextArea_construct, Ark_NativePointer) @@ -15068,7 +15068,7 @@ void impl_TextAreaAttribute_customKeyboard(Ark_NativePointer thisPtr, uint8_t* t KOALA_INTEROP_V3(TextAreaAttribute_customKeyboard, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_TextClock_construct() { - return GetNodeModifiers()->getTextClockModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(TextClock_construct, Ark_NativePointer) @@ -15240,7 +15240,7 @@ void impl_TextClockAttribute_dateTimeOptions(Ark_NativePointer thisPtr, uint8_t* KOALA_INTEROP_V3(TextClockAttribute_dateTimeOptions, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_TextInput_construct() { - return GetNodeModifiers()->getTextInputModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(TextInput_construct, Ark_NativePointer) @@ -15995,7 +15995,7 @@ void impl_TextInputAttribute_showCounter(Ark_NativePointer thisPtr, Ark_Boolean KOALA_INTEROP_V4(TextInputAttribute_showCounter, Ark_NativePointer, Ark_Boolean, uint8_t*, int32_t) Ark_NativePointer impl_TextPicker_construct() { - return GetNodeModifiers()->getTextPickerModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(TextPicker_construct, Ark_NativePointer) @@ -16149,7 +16149,7 @@ void impl_TextPickerAttribute_gradientHeight(Ark_NativePointer thisPtr, const KL KOALA_INTEROP_V2(TextPickerAttribute_gradientHeight, Ark_NativePointer, KLength) Ark_NativePointer impl_TextTimer_construct() { - return GetNodeModifiers()->getTextTimerModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(TextTimer_construct, Ark_NativePointer) @@ -16300,7 +16300,7 @@ void impl_TextTimerAttribute_contentModifier(Ark_NativePointer thisPtr, uint8_t* KOALA_INTEROP_V3(TextTimerAttribute_contentModifier, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_TimePicker_construct() { - return GetNodeModifiers()->getTimePickerModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(TimePicker_construct, Ark_NativePointer) @@ -16378,7 +16378,7 @@ void impl_TimePickerAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, Ar KOALA_INTEROP_V2(TimePickerAttribute_enableHapticFeedback, Ark_NativePointer, Ark_Boolean) Ark_NativePointer impl_Toggle_construct() { - return GetNodeModifiers()->getToggleModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Toggle_construct, Ark_NativePointer) @@ -16469,7 +16469,7 @@ void impl_ToggleAttribute_switchStyle(Ark_NativePointer thisPtr, uint8_t* thisAr KOALA_INTEROP_V3(ToggleAttribute_switchStyle, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Video_construct() { - return GetNodeModifiers()->getVideoModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Video_construct, Ark_NativePointer) @@ -16606,7 +16606,7 @@ void impl_VideoAttribute_analyzerConfig(Ark_NativePointer thisPtr, uint8_t* this KOALA_INTEROP_V3(VideoAttribute_analyzerConfig, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_Web_construct() { - return GetNodeModifiers()->getWebModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(Web_construct, Ark_NativePointer) @@ -17535,7 +17535,7 @@ void impl_WebAttribute_bindSelectionMenu(Ark_NativePointer thisPtr, Ark_Int32 el KOALA_INTEROP_V5(WebAttribute_bindSelectionMenu, Ark_NativePointer, Ark_Int32, uint8_t*, int32_t, Ark_Int32) Ark_NativePointer impl_WindowScene_construct() { - return GetNodeModifiers()->getWindowSceneModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(WindowScene_construct, Ark_NativePointer) @@ -17554,7 +17554,7 @@ void impl_WindowSceneAttribute_attractionEffect(Ark_NativePointer thisPtr, uint8 KOALA_INTEROP_V4(WindowSceneAttribute_attractionEffect, Ark_NativePointer, uint8_t*, int32_t, KInteropNumber) Ark_NativePointer impl_XComponent_construct() { - return GetNodeModifiers()->getXComponentModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(XComponent_construct, Ark_NativePointer) @@ -17649,7 +17649,7 @@ void impl_XComponentAttribute_enableSecure(Ark_NativePointer thisPtr, Ark_Boolea KOALA_INTEROP_V2(XComponentAttribute_enableSecure, Ark_NativePointer, Ark_Boolean) Ark_NativePointer impl_SideBarContainer_construct() { - return GetNodeModifiers()->getSideBarContainerModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(SideBarContainer_construct, Ark_NativePointer) @@ -17770,7 +17770,7 @@ void impl_SideBarContainerAttribute_minContentWidth(Ark_NativePointer thisPtr, c KOALA_INTEROP_V2(SideBarContainerAttribute_minContentWidth, Ark_NativePointer, KLength) Ark_NativePointer impl_RemoteWindow_construct() { - return GetNodeModifiers()->getRemoteWindowModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(RemoteWindow_construct, Ark_NativePointer) @@ -17783,7 +17783,7 @@ void impl_RemoteWindowInterface_setRemoteWindowOptions(Ark_NativePointer thisPtr KOALA_INTEROP_V3(RemoteWindowInterface_setRemoteWindowOptions, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_WaterFlow_construct() { - return GetNodeModifiers()->getWaterFlowModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(WaterFlow_construct, Ark_NativePointer) @@ -17918,7 +17918,7 @@ void impl_WaterFlowAttribute_onScrollIndex(Ark_NativePointer thisPtr, uint8_t* t KOALA_INTEROP_V3(WaterFlowAttribute_onScrollIndex, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_UIExtensionComponent_construct() { - return GetNodeModifiers()->getUIExtensionComponentModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(UIExtensionComponent_construct, Ark_NativePointer) @@ -17987,7 +17987,7 @@ void impl_UIExtensionComponentAttribute_onTerminated(Ark_NativePointer thisPtr, KOALA_INTEROP_V3(UIExtensionComponentAttribute_onTerminated, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_LinearIndicator_construct() { - return GetNodeModifiers()->getLinearIndicatorModifier()->construct(); + return nullptr; } KOALA_INTEROP_0(LinearIndicator_construct, Ark_NativePointer) -- Gitee From 7a69a8901c40604deb61c91f694c3ad4ad2780d7 Mon Sep 17 00:00:00 2001 From: Tarasov Anton t00665033 Date: Mon, 2 Dec 2024 14:31:42 +0300 Subject: [PATCH 2/4] comment INDICATOR_COMPONENT in arkoala_api_generated.h --- arkoala/framework/native/src/generated/arkoala_api_generated.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arkoala/framework/native/src/generated/arkoala_api_generated.h b/arkoala/framework/native/src/generated/arkoala_api_generated.h index f937e6a8e..c2a16183f 100644 --- a/arkoala/framework/native/src/generated/arkoala_api_generated.h +++ b/arkoala/framework/native/src/generated/arkoala_api_generated.h @@ -20496,7 +20496,7 @@ typedef enum GENERATED_Ark_NodeType { GENERATED_ARKUI_IMAGE, GENERATED_ARKUI_IMAGE_ANIMATOR, GENERATED_ARKUI_IMAGE_SPAN, - GENERATED_ARKUI_INDICATOR_COMPONENT, +// GENERATED_ARKUI_INDICATOR_COMPONENT, GENERATED_ARKUI_LINE, GENERATED_ARKUI_LINEAR_INDICATOR, GENERATED_ARKUI_LIST, -- Gitee From 37426d3e1dafed201277d4a4c5ca9365d9d921f6 Mon Sep 17 00:00:00 2001 From: Anton Tarasov Date: Mon, 2 Dec 2024 16:18:37 +0300 Subject: [PATCH 3/4] Remove construct from dummy_impl.cc --- .../native/src/generated/dummy_impl.cc | 232 +++++++++--------- 1 file changed, 116 insertions(+), 116 deletions(-) diff --git a/arkoala/framework/native/src/generated/dummy_impl.cc b/arkoala/framework/native/src/generated/dummy_impl.cc index ce8d6006e..c86b1e722 100644 --- a/arkoala/framework/native/src/generated/dummy_impl.cc +++ b/arkoala/framework/native/src/generated/dummy_impl.cc @@ -17068,7 +17068,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIAbilityComponentModifier* GetAbilityComponentModifier() { static const GENERATED_ArkUIAbilityComponentModifier ArkUIAbilityComponentModifierImpl { - AbilityComponentModifier::ConstructImpl, + AbilityComponentInterfaceModifier::SetAbilityComponentOptionsImpl, AbilityComponentAttributeModifier::OnConnectImpl, AbilityComponentAttributeModifier::OnDisconnectImpl, @@ -17079,7 +17079,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIAlphabetIndexerModifier* GetAlphabetIndexerModifier() { static const GENERATED_ArkUIAlphabetIndexerModifier ArkUIAlphabetIndexerModifierImpl { - AlphabetIndexerModifier::ConstructImpl, + AlphabetIndexerInterfaceModifier::SetAlphabetIndexerOptionsImpl, AlphabetIndexerAttributeModifier::OnSelectedImpl, AlphabetIndexerAttributeModifier::ColorImpl, @@ -17115,7 +17115,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIAnimatorModifier* GetAnimatorModifier() { static const GENERATED_ArkUIAnimatorModifier ArkUIAnimatorModifierImpl { - AnimatorModifier::ConstructImpl, + AnimatorInterfaceModifier::SetAnimatorOptionsImpl, AnimatorAttributeModifier::StateImpl, AnimatorAttributeModifier::DurationImpl, @@ -17138,7 +17138,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIBadgeModifier* GetBadgeModifier() { static const GENERATED_ArkUIBadgeModifier ArkUIBadgeModifierImpl { - BadgeModifier::ConstructImpl, + BadgeInterfaceModifier::SetBadgeOptions0Impl, BadgeInterfaceModifier::SetBadgeOptions1Impl, }; @@ -17148,7 +17148,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIBlankModifier* GetBlankModifier() { static const GENERATED_ArkUIBlankModifier ArkUIBlankModifierImpl { - BlankModifier::ConstructImpl, + BlankInterfaceModifier::SetBlankOptionsImpl, BlankAttributeModifier::ColorImpl, }; @@ -17158,7 +17158,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIButtonModifier* GetButtonModifier() { static const GENERATED_ArkUIButtonModifier ArkUIButtonModifierImpl { - ButtonModifier::ConstructImpl, + ButtonInterfaceModifier::SetButtonOptions0Impl, ButtonInterfaceModifier::SetButtonOptions1Impl, ButtonInterfaceModifier::SetButtonOptions2Impl, @@ -17181,7 +17181,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUICalendarModifier* GetCalendarModifier() { static const GENERATED_ArkUICalendarModifier ArkUICalendarModifierImpl { - CalendarModifier::ConstructImpl, + CalendarInterfaceModifier::SetCalendarOptionsImpl, CalendarAttributeModifier::ShowLunarImpl, CalendarAttributeModifier::ShowHolidayImpl, @@ -17203,7 +17203,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUICalendarPickerModifier* GetCalendarPickerModifier() { static const GENERATED_ArkUICalendarPickerModifier ArkUICalendarPickerModifierImpl { - CalendarPickerModifier::ConstructImpl, + CalendarPickerInterfaceModifier::SetCalendarPickerOptionsImpl, CalendarPickerAttributeModifier::TextStyleImpl, CalendarPickerAttributeModifier::OnChangeImpl, @@ -17215,7 +17215,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUICanvasModifier* GetCanvasModifier() { static const GENERATED_ArkUICanvasModifier ArkUICanvasModifierImpl { - CanvasModifier::ConstructImpl, + CanvasInterfaceModifier::SetCanvasOptions0Impl, CanvasInterfaceModifier::SetCanvasOptions1Impl, CanvasAttributeModifier::OnReadyImpl, @@ -17227,7 +17227,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUICheckboxModifier* GetCheckboxModifier() { static const GENERATED_ArkUICheckboxModifier ArkUICheckboxModifierImpl { - CheckboxModifier::ConstructImpl, + CheckboxInterfaceModifier::SetCheckboxOptionsImpl, CheckboxAttributeModifier::SelectImpl, CheckboxAttributeModifier::SelectedColorImpl, @@ -17243,7 +17243,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUICheckboxGroupModifier* GetCheckboxGroupModifier() { static const GENERATED_ArkUICheckboxGroupModifier ArkUICheckboxGroupModifierImpl { - CheckboxGroupModifier::ConstructImpl, + CheckboxGroupInterfaceModifier::SetCheckboxGroupOptionsImpl, CheckboxGroupAttributeModifier::SelectAllImpl, CheckboxGroupAttributeModifier::SelectedColorImpl, @@ -17258,7 +17258,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUICircleModifier* GetCircleModifier() { static const GENERATED_ArkUICircleModifier ArkUICircleModifierImpl { - CircleModifier::ConstructImpl, + CircleInterfaceModifier::SetCircleOptionsImpl, }; return &ArkUICircleModifierImpl; @@ -17267,7 +17267,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIColumnModifier* GetColumnModifier() { static const GENERATED_ArkUIColumnModifier ArkUIColumnModifierImpl { - ColumnModifier::ConstructImpl, + ColumnInterfaceModifier::SetColumnOptionsImpl, ColumnAttributeModifier::AlignItemsImpl, ColumnAttributeModifier::JustifyContentImpl, @@ -17280,7 +17280,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIColumnSplitModifier* GetColumnSplitModifier() { static const GENERATED_ArkUIColumnSplitModifier ArkUIColumnSplitModifierImpl { - ColumnSplitModifier::ConstructImpl, + ColumnSplitInterfaceModifier::SetColumnSplitOptionsImpl, ColumnSplitAttributeModifier::ResizeableImpl, ColumnSplitAttributeModifier::DividerImpl, @@ -17291,7 +17291,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUICommonMethodModifier* GetCommonMethodModifier() { static const GENERATED_ArkUICommonMethodModifier ArkUICommonMethodModifierImpl { - CommonMethodModifier::ConstructImpl, + CommonMethodModifier::WidthImpl, CommonMethodModifier::HeightImpl, CommonMethodModifier::DrawModifierImpl, @@ -17303,9 +17303,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { CommonMethodModifier::HitTestBehaviorImpl, CommonMethodModifier::OnChildTouchTestImpl, CommonMethodModifier::LayoutWeightImpl, - CommonMethodModifier::ChainWeightImpl, +// CommonMethodModifier::ChainWeightImpl, CommonMethodModifier::PaddingImpl, - CommonMethodModifier::SafeAreaPaddingImpl, +// CommonMethodModifier::SafeAreaPaddingImpl, CommonMethodModifier::MarginImpl, CommonMethodModifier::BackgroundColorImpl, CommonMethodModifier::PixelRoundImpl, @@ -17487,7 +17487,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUICommonShapeMethodModifier* GetCommonShapeMethodModifier() { static const GENERATED_ArkUICommonShapeMethodModifier ArkUICommonShapeMethodModifierImpl { - CommonShapeMethodModifier::ConstructImpl, + CommonShapeMethodModifier::StrokeImpl, CommonShapeMethodModifier::FillImpl, CommonShapeMethodModifier::StrokeDashOffsetImpl, @@ -17506,7 +17506,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUICommonModifier* GetCommonModifier() { static const GENERATED_ArkUICommonModifier ArkUICommonModifierImpl { - CommonModifier::ConstructImpl, + CommonInterfaceModifier::SetCommonOptionsImpl, }; return &ArkUICommonModifierImpl; @@ -17515,7 +17515,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIScrollableCommonMethodModifier* GetScrollableCommonMethodModifier() { static const GENERATED_ArkUIScrollableCommonMethodModifier ArkUIScrollableCommonMethodModifierImpl { - ScrollableCommonMethodModifier::ConstructImpl, + ScrollableCommonMethodModifier::ScrollBarImpl, ScrollableCommonMethodModifier::ScrollBarColorImpl, ScrollableCommonMethodModifier::ScrollBarWidthImpl, @@ -17540,7 +17540,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIComponent3DModifier* GetComponent3DModifier() { static const GENERATED_ArkUIComponent3DModifier ArkUIComponent3DModifierImpl { - Component3DModifier::ConstructImpl, + Component3DInterfaceModifier::SetComponent3DOptionsImpl, Component3DAttributeModifier::EnvironmentImpl, Component3DAttributeModifier::ShaderImpl, @@ -17556,7 +17556,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIContainerSpanModifier* GetContainerSpanModifier() { static const GENERATED_ArkUIContainerSpanModifier ArkUIContainerSpanModifierImpl { - ContainerSpanModifier::ConstructImpl, + ContainerSpanInterfaceModifier::SetContainerSpanOptionsImpl, ContainerSpanAttributeModifier::TextBackgroundStyleImpl, }; @@ -17566,7 +17566,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUICounterModifier* GetCounterModifier() { static const GENERATED_ArkUICounterModifier ArkUICounterModifierImpl { - CounterModifier::ConstructImpl, + CounterInterfaceModifier::SetCounterOptionsImpl, CounterAttributeModifier::OnIncImpl, CounterAttributeModifier::OnDecImpl, @@ -17579,7 +17579,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIDataPanelModifier* GetDataPanelModifier() { static const GENERATED_ArkUIDataPanelModifier ArkUIDataPanelModifierImpl { - DataPanelModifier::ConstructImpl, + DataPanelInterfaceModifier::SetDataPanelOptionsImpl, DataPanelAttributeModifier::CloseEffectImpl, DataPanelAttributeModifier::ValueColorsImpl, @@ -17594,7 +17594,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIDatePickerModifier* GetDatePickerModifier() { static const GENERATED_ArkUIDatePickerModifier ArkUIDatePickerModifierImpl { - DatePickerModifier::ConstructImpl, + DatePickerInterfaceModifier::SetDatePickerOptionsImpl, DatePickerAttributeModifier::LunarImpl, DatePickerAttributeModifier::DisappearTextStyleImpl, @@ -17609,7 +17609,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIDividerModifier* GetDividerModifier() { static const GENERATED_ArkUIDividerModifier ArkUIDividerModifierImpl { - DividerModifier::ConstructImpl, + DividerInterfaceModifier::SetDividerOptionsImpl, DividerAttributeModifier::VerticalImpl, DividerAttributeModifier::ColorImpl, @@ -17622,7 +17622,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIEffectComponentModifier* GetEffectComponentModifier() { static const GENERATED_ArkUIEffectComponentModifier ArkUIEffectComponentModifierImpl { - EffectComponentModifier::ConstructImpl, + EffectComponentInterfaceModifier::SetEffectComponentOptionsImpl, }; return &ArkUIEffectComponentModifierImpl; @@ -17631,7 +17631,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIEllipseModifier* GetEllipseModifier() { static const GENERATED_ArkUIEllipseModifier ArkUIEllipseModifierImpl { - EllipseModifier::ConstructImpl, + EllipseInterfaceModifier::SetEllipseOptionsImpl, }; return &ArkUIEllipseModifierImpl; @@ -17640,7 +17640,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIEmbeddedComponentModifier* GetEmbeddedComponentModifier() { static const GENERATED_ArkUIEmbeddedComponentModifier ArkUIEmbeddedComponentModifierImpl { - EmbeddedComponentModifier::ConstructImpl, + EmbeddedComponentInterfaceModifier::SetEmbeddedComponentOptionsImpl, EmbeddedComponentAttributeModifier::OnTerminatedImpl, EmbeddedComponentAttributeModifier::OnErrorImpl, @@ -17651,7 +17651,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIFlexModifier* GetFlexModifier() { static const GENERATED_ArkUIFlexModifier ArkUIFlexModifierImpl { - FlexModifier::ConstructImpl, + FlexInterfaceModifier::SetFlexOptionsImpl, FlexAttributeModifier::PointLightImpl, }; @@ -17661,7 +17661,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIFlowItemModifier* GetFlowItemModifier() { static const GENERATED_ArkUIFlowItemModifier ArkUIFlowItemModifierImpl { - FlowItemModifier::ConstructImpl, + FlowItemInterfaceModifier::SetFlowItemOptionsImpl, }; return &ArkUIFlowItemModifierImpl; @@ -17670,7 +17670,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIFolderStackModifier* GetFolderStackModifier() { static const GENERATED_ArkUIFolderStackModifier ArkUIFolderStackModifierImpl { - FolderStackModifier::ConstructImpl, + FolderStackInterfaceModifier::SetFolderStackOptionsImpl, FolderStackAttributeModifier::AlignContentImpl, FolderStackAttributeModifier::OnFolderStateChangeImpl, @@ -17684,7 +17684,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIFormComponentModifier* GetFormComponentModifier() { static const GENERATED_ArkUIFormComponentModifier ArkUIFormComponentModifierImpl { - FormComponentModifier::ConstructImpl, + FormComponentInterfaceModifier::SetFormComponentOptionsImpl, FormComponentAttributeModifier::SizeImpl, FormComponentAttributeModifier::ModuleNameImpl, @@ -17703,7 +17703,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIFormLinkModifier* GetFormLinkModifier() { static const GENERATED_ArkUIFormLinkModifier ArkUIFormLinkModifierImpl { - FormLinkModifier::ConstructImpl, + FormLinkInterfaceModifier::SetFormLinkOptionsImpl, }; return &ArkUIFormLinkModifierImpl; @@ -17712,7 +17712,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIGaugeModifier* GetGaugeModifier() { static const GENERATED_ArkUIGaugeModifier ArkUIGaugeModifierImpl { - GaugeModifier::ConstructImpl, + GaugeInterfaceModifier::SetGaugeOptionsImpl, GaugeAttributeModifier::ValueImpl, GaugeAttributeModifier::StartAngleImpl, @@ -17731,7 +17731,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIGridModifier* GetGridModifier() { static const GENERATED_ArkUIGridModifier ArkUIGridModifierImpl { - GridModifier::ConstructImpl, + GridInterfaceModifier::SetGridOptionsImpl, GridAttributeModifier::ColumnsTemplateImpl, GridAttributeModifier::RowsTemplateImpl, @@ -17774,7 +17774,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIGridItemModifier* GetGridItemModifier() { static const GENERATED_ArkUIGridItemModifier ArkUIGridItemModifierImpl { - GridItemModifier::ConstructImpl, + GridItemInterfaceModifier::SetGridItemOptionsImpl, GridItemAttributeModifier::RowStartImpl, GridItemAttributeModifier::RowEndImpl, @@ -17791,7 +17791,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIGridColModifier* GetGridColModifier() { static const GENERATED_ArkUIGridColModifier ArkUIGridColModifierImpl { - GridColModifier::ConstructImpl, + GridColInterfaceModifier::SetGridColOptionsImpl, GridColAttributeModifier::SpanImpl, GridColAttributeModifier::GridColOffsetImpl, @@ -17803,7 +17803,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIGridContainerModifier* GetGridContainerModifier() { static const GENERATED_ArkUIGridContainerModifier ArkUIGridContainerModifierImpl { - GridContainerModifier::ConstructImpl, + GridContainerInterfaceModifier::SetGridContainerOptionsImpl, }; return &ArkUIGridContainerModifierImpl; @@ -17812,7 +17812,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIGridRowModifier* GetGridRowModifier() { static const GENERATED_ArkUIGridRowModifier ArkUIGridRowModifierImpl { - GridRowModifier::ConstructImpl, + GridRowInterfaceModifier::SetGridRowOptionsImpl, GridRowAttributeModifier::OnBreakpointChangeImpl, GridRowAttributeModifier::AlignItemsImpl, @@ -17823,7 +17823,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIHyperlinkModifier* GetHyperlinkModifier() { static const GENERATED_ArkUIHyperlinkModifier ArkUIHyperlinkModifierImpl { - HyperlinkModifier::ConstructImpl, + HyperlinkInterfaceModifier::SetHyperlinkOptionsImpl, HyperlinkAttributeModifier::ColorImpl, }; @@ -17833,7 +17833,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIImageModifier* GetImageModifier() { static const GENERATED_ArkUIImageModifier ArkUIImageModifierImpl { - ImageModifier::ConstructImpl, + ImageInterfaceModifier::SetImageOptions0Impl, ImageInterfaceModifier::SetImageOptions1Impl, ImageInterfaceModifier::SetImageOptions2Impl, @@ -17870,7 +17870,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIImageAnimatorModifier* GetImageAnimatorModifier() { static const GENERATED_ArkUIImageAnimatorModifier ArkUIImageAnimatorModifierImpl { - ImageAnimatorModifier::ConstructImpl, + ImageAnimatorInterfaceModifier::SetImageAnimatorOptionsImpl, ImageAnimatorAttributeModifier::ImagesImpl, ImageAnimatorAttributeModifier::StateImpl, @@ -17892,7 +17892,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIImageSpanModifier* GetImageSpanModifier() { static const GENERATED_ArkUIImageSpanModifier ArkUIImageSpanModifierImpl { - ImageSpanModifier::ConstructImpl, + ImageSpanInterfaceModifier::SetImageSpanOptionsImpl, ImageSpanAttributeModifier::VerticalAlignImpl, ImageSpanAttributeModifier::ColorFilterImpl, @@ -17907,7 +17907,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUILineModifier* GetLineModifier() { static const GENERATED_ArkUILineModifier ArkUILineModifierImpl { - LineModifier::ConstructImpl, + LineInterfaceModifier::SetLineOptionsImpl, LineAttributeModifier::StartPointImpl, LineAttributeModifier::EndPointImpl, @@ -17918,7 +17918,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIListModifier* GetListModifier() { static const GENERATED_ArkUIListModifier ArkUIListModifierImpl { - ListModifier::ConstructImpl, + ListInterfaceModifier::SetListOptionsImpl, ListAttributeModifier::AlignListItemImpl, ListAttributeModifier::ListDirectionImpl, @@ -17963,7 +17963,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIListItemModifier* GetListItemModifier() { static const GENERATED_ArkUIListItemModifier ArkUIListItemModifierImpl { - ListItemModifier::ConstructImpl, + ListItemInterfaceModifier::SetListItemOptions0Impl, ListItemInterfaceModifier::SetListItemOptions1Impl, ListItemAttributeModifier::StickyImpl, @@ -17979,7 +17979,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIListItemGroupModifier* GetListItemGroupModifier() { static const GENERATED_ArkUIListItemGroupModifier ArkUIListItemGroupModifierImpl { - ListItemGroupModifier::ConstructImpl, + ListItemGroupInterfaceModifier::SetListItemGroupOptionsImpl, ListItemGroupAttributeModifier::DividerImpl, ListItemGroupAttributeModifier::ChildrenMainSizeImpl, @@ -17990,7 +17990,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUILoadingProgressModifier* GetLoadingProgressModifier() { static const GENERATED_ArkUILoadingProgressModifier ArkUILoadingProgressModifierImpl { - LoadingProgressModifier::ConstructImpl, + LoadingProgressInterfaceModifier::SetLoadingProgressOptionsImpl, LoadingProgressAttributeModifier::ColorImpl, LoadingProgressAttributeModifier::EnableLoadingImpl, @@ -18002,7 +18002,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUILocationButtonModifier* GetLocationButtonModifier() { static const GENERATED_ArkUILocationButtonModifier ArkUILocationButtonModifierImpl { - LocationButtonModifier::ConstructImpl, + LocationButtonInterfaceModifier::SetLocationButtonOptions0Impl, LocationButtonInterfaceModifier::SetLocationButtonOptions1Impl, LocationButtonAttributeModifier::OnClickImpl, @@ -18013,7 +18013,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIMarqueeModifier* GetMarqueeModifier() { static const GENERATED_ArkUIMarqueeModifier ArkUIMarqueeModifierImpl { - MarqueeModifier::ConstructImpl, + MarqueeInterfaceModifier::SetMarqueeOptionsImpl, MarqueeAttributeModifier::FontColorImpl, MarqueeAttributeModifier::FontSizeImpl, @@ -18031,7 +18031,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIMediaCachedImageModifier* GetMediaCachedImageModifier() { static const GENERATED_ArkUIMediaCachedImageModifier ArkUIMediaCachedImageModifierImpl { - MediaCachedImageModifier::ConstructImpl, + MediaCachedImageInterfaceModifier::SetMediaCachedImageOptionsImpl, }; return &ArkUIMediaCachedImageModifierImpl; @@ -18040,7 +18040,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIMenuModifier* GetMenuModifier() { static const GENERATED_ArkUIMenuModifier ArkUIMenuModifierImpl { - MenuModifier::ConstructImpl, + MenuInterfaceModifier::SetMenuOptionsImpl, MenuAttributeModifier::FontSizeImpl, MenuAttributeModifier::FontImpl, @@ -18056,7 +18056,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIMenuItemModifier* GetMenuItemModifier() { static const GENERATED_ArkUIMenuItemModifier ArkUIMenuItemModifierImpl { - MenuItemModifier::ConstructImpl, + MenuItemInterfaceModifier::SetMenuItemOptionsImpl, MenuItemAttributeModifier::SelectedImpl, MenuItemAttributeModifier::SelectIconImpl, @@ -18072,7 +18072,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIMenuItemGroupModifier* GetMenuItemGroupModifier() { static const GENERATED_ArkUIMenuItemGroupModifier ArkUIMenuItemGroupModifierImpl { - MenuItemGroupModifier::ConstructImpl, + MenuItemGroupInterfaceModifier::SetMenuItemGroupOptionsImpl, }; return &ArkUIMenuItemGroupModifierImpl; @@ -18081,7 +18081,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUINavDestinationModifier* GetNavDestinationModifier() { static const GENERATED_ArkUINavDestinationModifier ArkUINavDestinationModifierImpl { - NavDestinationModifier::ConstructImpl, + NavDestinationInterfaceModifier::SetNavDestinationOptionsImpl, NavDestinationAttributeModifier::HideTitleBar0Impl, NavDestinationAttributeModifier::HideTitleBar1Impl, @@ -18112,7 +18112,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUINavRouterModifier* GetNavRouterModifier() { static const GENERATED_ArkUINavRouterModifier ArkUINavRouterModifierImpl { - NavRouterModifier::ConstructImpl, + NavRouterInterfaceModifier::SetNavRouterOptions0Impl, NavRouterInterfaceModifier::SetNavRouterOptions1Impl, NavRouterAttributeModifier::OnStateChangeImpl, @@ -18124,7 +18124,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUINavigationModifier* GetNavigationModifier() { static const GENERATED_ArkUINavigationModifier ArkUINavigationModifierImpl { - NavigationModifier::ConstructImpl, + NavigationInterfaceModifier::SetNavigationOptions0Impl, NavigationInterfaceModifier::SetNavigationOptions1Impl, NavigationAttributeModifier::NavBarWidthImpl, @@ -18161,7 +18161,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUINavigatorModifier* GetNavigatorModifier() { static const GENERATED_ArkUINavigatorModifier ArkUINavigatorModifierImpl { - NavigatorModifier::ConstructImpl, + NavigatorInterfaceModifier::SetNavigatorOptions0Impl, NavigatorInterfaceModifier::SetNavigatorOptions1Impl, NavigatorAttributeModifier::ActiveImpl, @@ -18175,7 +18175,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUINodeContainerModifier* GetNodeContainerModifier() { static const GENERATED_ArkUINodeContainerModifier ArkUINodeContainerModifierImpl { - NodeContainerModifier::ConstructImpl, + NodeContainerInterfaceModifier::SetNodeContainerOptionsImpl, }; return &ArkUINodeContainerModifierImpl; @@ -18184,7 +18184,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIPanelModifier* GetPanelModifier() { static const GENERATED_ArkUIPanelModifier ArkUIPanelModifierImpl { - PanelModifier::ConstructImpl, + PanelInterfaceModifier::SetPanelOptionsImpl, PanelAttributeModifier::ModeImpl, PanelAttributeModifier::TypeImpl, @@ -18205,7 +18205,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIPasteButtonModifier* GetPasteButtonModifier() { static const GENERATED_ArkUIPasteButtonModifier ArkUIPasteButtonModifierImpl { - PasteButtonModifier::ConstructImpl, + PasteButtonInterfaceModifier::SetPasteButtonOptions0Impl, PasteButtonInterfaceModifier::SetPasteButtonOptions1Impl, PasteButtonAttributeModifier::OnClickImpl, @@ -18216,7 +18216,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIPathModifier* GetPathModifier() { static const GENERATED_ArkUIPathModifier ArkUIPathModifierImpl { - PathModifier::ConstructImpl, + PathInterfaceModifier::SetPathOptionsImpl, PathAttributeModifier::CommandsImpl, }; @@ -18226,7 +18226,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIPatternLockModifier* GetPatternLockModifier() { static const GENERATED_ArkUIPatternLockModifier ArkUIPatternLockModifierImpl { - PatternLockModifier::ConstructImpl, + PatternLockInterfaceModifier::SetPatternLockOptionsImpl, PatternLockAttributeModifier::SideLengthImpl, PatternLockAttributeModifier::CircleRadiusImpl, @@ -18247,7 +18247,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIPluginComponentModifier* GetPluginComponentModifier() { static const GENERATED_ArkUIPluginComponentModifier ArkUIPluginComponentModifierImpl { - PluginComponentModifier::ConstructImpl, + PluginComponentInterfaceModifier::SetPluginComponentOptionsImpl, PluginComponentAttributeModifier::OnCompleteImpl, PluginComponentAttributeModifier::OnErrorImpl, @@ -18258,7 +18258,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIPolygonModifier* GetPolygonModifier() { static const GENERATED_ArkUIPolygonModifier ArkUIPolygonModifierImpl { - PolygonModifier::ConstructImpl, + PolygonInterfaceModifier::SetPolygonOptionsImpl, PolygonAttributeModifier::PointsImpl, }; @@ -18268,7 +18268,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIPolylineModifier* GetPolylineModifier() { static const GENERATED_ArkUIPolylineModifier ArkUIPolylineModifierImpl { - PolylineModifier::ConstructImpl, + PolylineInterfaceModifier::SetPolylineOptionsImpl, PolylineAttributeModifier::PointsImpl, }; @@ -18278,7 +18278,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIProgressModifier* GetProgressModifier() { static const GENERATED_ArkUIProgressModifier ArkUIProgressModifierImpl { - ProgressModifier::ConstructImpl, + ProgressInterfaceModifier::SetProgressOptionsImpl, ProgressAttributeModifier::ValueImpl, ProgressAttributeModifier::ColorImpl, @@ -18292,7 +18292,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIQRCodeModifier* GetQRCodeModifier() { static const GENERATED_ArkUIQRCodeModifier ArkUIQRCodeModifierImpl { - QRCodeModifier::ConstructImpl, + QRCodeInterfaceModifier::SetQRCodeOptionsImpl, QRCodeAttributeModifier::ColorImpl, QRCodeAttributeModifier::BackgroundColorImpl, @@ -18304,7 +18304,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIRadioModifier* GetRadioModifier() { static const GENERATED_ArkUIRadioModifier ArkUIRadioModifierImpl { - RadioModifier::ConstructImpl, + RadioInterfaceModifier::SetRadioOptionsImpl, RadioAttributeModifier::CheckedImpl, RadioAttributeModifier::OnChangeImpl, @@ -18317,7 +18317,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIRatingModifier* GetRatingModifier() { static const GENERATED_ArkUIRatingModifier ArkUIRatingModifierImpl { - RatingModifier::ConstructImpl, + RatingInterfaceModifier::SetRatingOptionsImpl, RatingAttributeModifier::StarsImpl, RatingAttributeModifier::StepSizeImpl, @@ -18331,7 +18331,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIRectModifier* GetRectModifier() { static const GENERATED_ArkUIRectModifier ArkUIRectModifierImpl { - RectModifier::ConstructImpl, + RectInterfaceModifier::SetRectOptionsImpl, RectAttributeModifier::RadiusWidthImpl, RectAttributeModifier::RadiusHeightImpl, @@ -18343,7 +18343,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIRefreshModifier* GetRefreshModifier() { static const GENERATED_ArkUIRefreshModifier ArkUIRefreshModifierImpl { - RefreshModifier::ConstructImpl, + RefreshInterfaceModifier::SetRefreshOptionsImpl, RefreshAttributeModifier::OnStateChangeImpl, RefreshAttributeModifier::OnRefreshingImpl, @@ -18358,7 +18358,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIRelativeContainerModifier* GetRelativeContainerModifier() { static const GENERATED_ArkUIRelativeContainerModifier ArkUIRelativeContainerModifierImpl { - RelativeContainerModifier::ConstructImpl, + RelativeContainerInterfaceModifier::SetRelativeContainerOptionsImpl, RelativeContainerAttributeModifier::GuideLineImpl, RelativeContainerAttributeModifier::Barrier0Impl, @@ -18370,7 +18370,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIRichEditorModifier* GetRichEditorModifier() { static const GENERATED_ArkUIRichEditorModifier ArkUIRichEditorModifierImpl { - RichEditorModifier::ConstructImpl, + RichEditorInterfaceModifier::SetRichEditorOptions0Impl, RichEditorInterfaceModifier::SetRichEditorOptions1Impl, RichEditorAttributeModifier::OnReadyImpl, @@ -18409,7 +18409,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIRichTextModifier* GetRichTextModifier() { static const GENERATED_ArkUIRichTextModifier ArkUIRichTextModifierImpl { - RichTextModifier::ConstructImpl, + RichTextInterfaceModifier::SetRichTextOptionsImpl, RichTextAttributeModifier::OnStartImpl, RichTextAttributeModifier::OnCompleteImpl, @@ -18420,7 +18420,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIRootSceneModifier* GetRootSceneModifier() { static const GENERATED_ArkUIRootSceneModifier ArkUIRootSceneModifierImpl { - RootSceneModifier::ConstructImpl, + RootSceneInterfaceModifier::SetRootSceneOptionsImpl, }; return &ArkUIRootSceneModifierImpl; @@ -18429,7 +18429,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIRowModifier* GetRowModifier() { static const GENERATED_ArkUIRowModifier ArkUIRowModifierImpl { - RowModifier::ConstructImpl, + RowInterfaceModifier::SetRowOptionsImpl, RowAttributeModifier::AlignItemsImpl, RowAttributeModifier::JustifyContentImpl, @@ -18442,7 +18442,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIRowSplitModifier* GetRowSplitModifier() { static const GENERATED_ArkUIRowSplitModifier ArkUIRowSplitModifierImpl { - RowSplitModifier::ConstructImpl, + RowSplitInterfaceModifier::SetRowSplitOptionsImpl, RowSplitAttributeModifier::ResizeableImpl, }; @@ -18452,7 +18452,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUISaveButtonModifier* GetSaveButtonModifier() { static const GENERATED_ArkUISaveButtonModifier ArkUISaveButtonModifierImpl { - SaveButtonModifier::ConstructImpl, + SaveButtonInterfaceModifier::SetSaveButtonOptions0Impl, SaveButtonInterfaceModifier::SetSaveButtonOptions1Impl, SaveButtonAttributeModifier::OnClickImpl, @@ -18463,7 +18463,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIScreenModifier* GetScreenModifier() { static const GENERATED_ArkUIScreenModifier ArkUIScreenModifierImpl { - ScreenModifier::ConstructImpl, + ScreenInterfaceModifier::SetScreenOptionsImpl, }; return &ArkUIScreenModifierImpl; @@ -18472,7 +18472,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIScrollModifier* GetScrollModifier() { static const GENERATED_ArkUIScrollModifier ArkUIScrollModifierImpl { - ScrollModifier::ConstructImpl, + ScrollInterfaceModifier::SetScrollOptionsImpl, ScrollAttributeModifier::ScrollableImpl, ScrollAttributeModifier::OnScrollImpl, @@ -18500,7 +18500,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIScrollBarModifier* GetScrollBarModifier() { static const GENERATED_ArkUIScrollBarModifier ArkUIScrollBarModifierImpl { - ScrollBarModifier::ConstructImpl, + ScrollBarInterfaceModifier::SetScrollBarOptionsImpl, ScrollBarAttributeModifier::EnableNestedScrollImpl, }; @@ -18510,7 +18510,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUISearchModifier* GetSearchModifier() { static const GENERATED_ArkUISearchModifier ArkUISearchModifierImpl { - SearchModifier::ConstructImpl, + SearchInterfaceModifier::SetSearchOptionsImpl, SearchAttributeModifier::FontColorImpl, SearchAttributeModifier::SearchIconImpl, @@ -18560,7 +18560,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUISecurityComponentMethodModifier* GetSecurityComponentMethodModifier() { static const GENERATED_ArkUISecurityComponentMethodModifier ArkUISecurityComponentMethodModifierImpl { - SecurityComponentMethodModifier::ConstructImpl, + SecurityComponentMethodModifier::IconSizeImpl, SecurityComponentMethodModifier::LayoutDirectionImpl, SecurityComponentMethodModifier::PositionImpl, @@ -18591,7 +18591,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUISelectModifier* GetSelectModifier() { static const GENERATED_ArkUISelectModifier ArkUISelectModifierImpl { - SelectModifier::ConstructImpl, + SelectInterfaceModifier::SetSelectOptionsImpl, SelectAttributeModifier::SelectedImpl, SelectAttributeModifier::ValueImpl, @@ -18621,7 +18621,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIShapeModifier* GetShapeModifier() { static const GENERATED_ArkUIShapeModifier ArkUIShapeModifierImpl { - ShapeModifier::ConstructImpl, + ShapeInterfaceModifier::SetShapeOptions0Impl, ShapeInterfaceModifier::SetShapeOptions1Impl, ShapeAttributeModifier::ViewPortImpl, @@ -18644,7 +18644,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUISliderModifier* GetSliderModifier() { static const GENERATED_ArkUISliderModifier ArkUISliderModifierImpl { - SliderModifier::ConstructImpl, + SliderInterfaceModifier::SetSliderOptionsImpl, SliderAttributeModifier::BlockColorImpl, SliderAttributeModifier::TrackColorImpl, @@ -18674,7 +18674,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIBaseSpanModifier* GetBaseSpanModifier() { static const GENERATED_ArkUIBaseSpanModifier ArkUIBaseSpanModifierImpl { - BaseSpanModifier::ConstructImpl, + BaseSpanModifier::TextBackgroundStyleImpl, BaseSpanModifier::BaselineOffsetImpl, }; @@ -18684,7 +18684,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUISpanModifier* GetSpanModifier() { static const GENERATED_ArkUISpanModifier ArkUISpanModifierImpl { - SpanModifier::ConstructImpl, + SpanInterfaceModifier::SetSpanOptionsImpl, SpanAttributeModifier::FontImpl, SpanAttributeModifier::FontColorImpl, @@ -18704,7 +18704,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIStackModifier* GetStackModifier() { static const GENERATED_ArkUIStackModifier ArkUIStackModifierImpl { - StackModifier::ConstructImpl, + StackInterfaceModifier::SetStackOptionsImpl, StackAttributeModifier::AlignContentImpl, StackAttributeModifier::PointLightImpl, @@ -18715,7 +18715,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIStepperModifier* GetStepperModifier() { static const GENERATED_ArkUIStepperModifier ArkUIStepperModifierImpl { - StepperModifier::ConstructImpl, + StepperInterfaceModifier::SetStepperOptionsImpl, StepperAttributeModifier::OnFinishImpl, StepperAttributeModifier::OnSkipImpl, @@ -18729,7 +18729,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIStepperItemModifier* GetStepperItemModifier() { static const GENERATED_ArkUIStepperItemModifier ArkUIStepperItemModifierImpl { - StepperItemModifier::ConstructImpl, + StepperItemInterfaceModifier::SetStepperItemOptionsImpl, StepperItemAttributeModifier::PrevLabelImpl, StepperItemAttributeModifier::NextLabelImpl, @@ -18741,7 +18741,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUISwiperModifier* GetSwiperModifier() { static const GENERATED_ArkUISwiperModifier ArkUISwiperModifierImpl { - SwiperModifier::ConstructImpl, + SwiperInterfaceModifier::SetSwiperOptionsImpl, SwiperAttributeModifier::IndexImpl, SwiperAttributeModifier::AutoPlayImpl, @@ -18777,7 +18777,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIIndicatorComponentModifier* GetIndicatorComponentModifier() { static const GENERATED_ArkUIIndicatorComponentModifier ArkUIIndicatorComponentModifierImpl { - IndicatorComponentModifier::ConstructImpl, + IndicatorComponentInterfaceModifier::SetIndicatorComponentOptionsImpl, IndicatorComponentAttributeModifier::InitialIndexImpl, IndicatorComponentAttributeModifier::CountImpl, @@ -18792,7 +18792,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUISymbolGlyphModifier* GetSymbolGlyphModifier() { static const GENERATED_ArkUISymbolGlyphModifier ArkUISymbolGlyphModifierImpl { - SymbolGlyphModifier::ConstructImpl, + SymbolGlyphInterfaceModifier::SetSymbolGlyphOptionsImpl, SymbolGlyphAttributeModifier::FontSizeImpl, SymbolGlyphAttributeModifier::FontColorImpl, @@ -18808,7 +18808,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUISymbolSpanModifier* GetSymbolSpanModifier() { static const GENERATED_ArkUISymbolSpanModifier ArkUISymbolSpanModifierImpl { - SymbolSpanModifier::ConstructImpl, + SymbolSpanInterfaceModifier::SetSymbolSpanOptionsImpl, SymbolSpanAttributeModifier::FontSizeImpl, SymbolSpanAttributeModifier::FontColorImpl, @@ -18822,7 +18822,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUITabsModifier* GetTabsModifier() { static const GENERATED_ArkUITabsModifier ArkUITabsModifierImpl { - TabsModifier::ConstructImpl, + TabsInterfaceModifier::SetTabsOptionsImpl, TabsAttributeModifier::VerticalImpl, TabsAttributeModifier::BarPositionImpl, @@ -18857,7 +18857,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUITabContentModifier* GetTabContentModifier() { static const GENERATED_ArkUITabContentModifier ArkUITabContentModifierImpl { - TabContentModifier::ConstructImpl, + TabContentInterfaceModifier::SetTabContentOptionsImpl, TabContentAttributeModifier::TabBar0Impl, TabContentAttributeModifier::TabBar1Impl, @@ -18870,7 +18870,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUITextModifier* GetTextModifier() { static const GENERATED_ArkUITextModifier ArkUITextModifierImpl { - TextModifier::ConstructImpl, + TextInterfaceModifier::SetTextOptionsImpl, TextAttributeModifier::Font0Impl, TextAttributeModifier::Font1Impl, @@ -18922,7 +18922,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUITextAreaModifier* GetTextAreaModifier() { static const GENERATED_ArkUITextAreaModifier ArkUITextAreaModifierImpl { - TextAreaModifier::ConstructImpl, + TextAreaInterfaceModifier::SetTextAreaOptionsImpl, TextAreaAttributeModifier::PlaceholderColorImpl, TextAreaAttributeModifier::PlaceholderFontImpl, @@ -18984,7 +18984,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUITextClockModifier* GetTextClockModifier() { static const GENERATED_ArkUITextClockModifier ArkUITextClockModifierImpl { - TextClockModifier::ConstructImpl, + TextClockInterfaceModifier::SetTextClockOptionsImpl, TextClockAttributeModifier::FormatImpl, TextClockAttributeModifier::OnDateChangeImpl, @@ -19004,7 +19004,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUITextInputModifier* GetTextInputModifier() { static const GENERATED_ArkUITextInputModifier ArkUITextInputModifierImpl { - TextInputModifier::ConstructImpl, + TextInputInterfaceModifier::SetTextInputOptionsImpl, TextInputAttributeModifier::TypeImpl, TextInputAttributeModifier::ContentTypeImpl, @@ -19078,7 +19078,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUITextPickerModifier* GetTextPickerModifier() { static const GENERATED_ArkUITextPickerModifier ArkUITextPickerModifierImpl { - TextPickerModifier::ConstructImpl, + TextPickerInterfaceModifier::SetTextPickerOptionsImpl, TextPickerAttributeModifier::DefaultPickerItemHeightImpl, TextPickerAttributeModifier::CanLoopImpl, @@ -19099,7 +19099,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUITextTimerModifier* GetTextTimerModifier() { static const GENERATED_ArkUITextTimerModifier ArkUITextTimerModifierImpl { - TextTimerModifier::ConstructImpl, + TextTimerInterfaceModifier::SetTextTimerOptionsImpl, TextTimerAttributeModifier::FormatImpl, TextTimerAttributeModifier::FontColorImpl, @@ -19117,7 +19117,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUITimePickerModifier* GetTimePickerModifier() { static const GENERATED_ArkUITimePickerModifier ArkUITimePickerModifierImpl { - TimePickerModifier::ConstructImpl, + TimePickerInterfaceModifier::SetTimePickerOptionsImpl, TimePickerAttributeModifier::UseMilitaryTimeImpl, TimePickerAttributeModifier::LoopImpl, @@ -19134,7 +19134,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIToggleModifier* GetToggleModifier() { static const GENERATED_ArkUIToggleModifier ArkUIToggleModifierImpl { - ToggleModifier::ConstructImpl, + ToggleInterfaceModifier::SetToggleOptionsImpl, ToggleAttributeModifier::OnChangeImpl, ToggleAttributeModifier::ContentModifierImpl, @@ -19148,7 +19148,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIVideoModifier* GetVideoModifier() { static const GENERATED_ArkUIVideoModifier ArkUIVideoModifierImpl { - VideoModifier::ConstructImpl, + VideoInterfaceModifier::SetVideoOptionsImpl, VideoAttributeModifier::MutedImpl, VideoAttributeModifier::AutoPlayImpl, @@ -19174,7 +19174,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIWebModifier* GetWebModifier() { static const GENERATED_ArkUIWebModifier ArkUIWebModifierImpl { - WebModifier::ConstructImpl, + WebInterfaceModifier::SetWebOptionsImpl, WebAttributeModifier::JavaScriptAccessImpl, WebAttributeModifier::FileAccessImpl, @@ -19304,7 +19304,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIWindowSceneModifier* GetWindowSceneModifier() { static const GENERATED_ArkUIWindowSceneModifier ArkUIWindowSceneModifierImpl { - WindowSceneModifier::ConstructImpl, + WindowSceneInterfaceModifier::SetWindowSceneOptionsImpl, WindowSceneAttributeModifier::AttractionEffectImpl, }; @@ -19314,7 +19314,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIXComponentModifier* GetXComponentModifier() { static const GENERATED_ArkUIXComponentModifier ArkUIXComponentModifierImpl { - XComponentModifier::ConstructImpl, + XComponentInterfaceModifier::SetXComponentOptions0Impl, XComponentInterfaceModifier::SetXComponentOptions1Impl, XComponentInterfaceModifier::SetXComponentOptions2Impl, @@ -19329,7 +19329,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUISideBarContainerModifier* GetSideBarContainerModifier() { static const GENERATED_ArkUISideBarContainerModifier ArkUISideBarContainerModifierImpl { - SideBarContainerModifier::ConstructImpl, + SideBarContainerInterfaceModifier::SetSideBarContainerOptionsImpl, SideBarContainerAttributeModifier::ShowSideBarImpl, SideBarContainerAttributeModifier::ControlButtonImpl, @@ -19352,7 +19352,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIRemoteWindowModifier* GetRemoteWindowModifier() { static const GENERATED_ArkUIRemoteWindowModifier ArkUIRemoteWindowModifierImpl { - RemoteWindowModifier::ConstructImpl, + RemoteWindowInterfaceModifier::SetRemoteWindowOptionsImpl, }; return &ArkUIRemoteWindowModifierImpl; @@ -19361,7 +19361,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIWaterFlowModifier* GetWaterFlowModifier() { static const GENERATED_ArkUIWaterFlowModifier ArkUIWaterFlowModifierImpl { - WaterFlowModifier::ConstructImpl, + WaterFlowInterfaceModifier::SetWaterFlowOptionsImpl, WaterFlowAttributeModifier::ColumnsTemplateImpl, WaterFlowAttributeModifier::ItemConstraintSizeImpl, @@ -19385,7 +19385,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUIUIExtensionComponentModifier* GetUIExtensionComponentModifier() { static const GENERATED_ArkUIUIExtensionComponentModifier ArkUIUIExtensionComponentModifierImpl { - UIExtensionComponentModifier::ConstructImpl, + UIExtensionComponentInterfaceModifier::SetUIExtensionComponentOptionsImpl, UIExtensionComponentAttributeModifier::OnRemoteReadyImpl, UIExtensionComponentAttributeModifier::OnReceiveImpl, @@ -19400,7 +19400,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { const GENERATED_ArkUILinearIndicatorModifier* GetLinearIndicatorModifier() { static const GENERATED_ArkUILinearIndicatorModifier ArkUILinearIndicatorModifierImpl { - LinearIndicatorModifier::ConstructImpl, + LinearIndicatorInterfaceModifier::SetLinearIndicatorOptionsImpl, LinearIndicatorAttributeModifier::IndicatorStyleImpl, LinearIndicatorAttributeModifier::IndicatorLoopImpl, -- Gitee From 88369a649b302424ad21c109e6b0773c7b3d2ff4 Mon Sep 17 00:00:00 2001 From: Anton Tarasov Date: Tue, 3 Dec 2024 10:13:24 +0300 Subject: [PATCH 4/4] fix PeerNode compilation --- arkoala/arkui/src/NativePeerNode.ts | 40 ----------------- arkoala/arkui/src/PeerNode.ts | 70 +++++++---------------------- 2 files changed, 15 insertions(+), 95 deletions(-) delete mode 100644 arkoala/arkui/src/NativePeerNode.ts diff --git a/arkoala/arkui/src/NativePeerNode.ts b/arkoala/arkui/src/NativePeerNode.ts deleted file mode 100644 index 9dafbe7bf..000000000 --- a/arkoala/arkui/src/NativePeerNode.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { int32 } from "@koalaui/common" -import { pointer } from "@koalaui/interop" -import { Finalizable } from "./Finalizable" -import { ArkUINodeType } from "./peers/ArkUINodeType" -import { NativeModule } from "@koalaui/arkoala" - -export class NativePeerNode extends Finalizable { - constructor(ptr: pointer, finalizerPtr: pointer) { - super(ptr, finalizerPtr) - } - - static create(type: ArkUINodeType, id: int32, flags: int32): NativePeerNode { - const ptr = NativeModule._CreateNode(type as int32, id, flags) - return new NativePeerNode(ptr, NativeModule._GetNodeFinalizer()) - } - - dispose() { - NativeModule._DisposeNode(this.ptr); - } - - addChild(node: NativePeerNode) { - NativeModule._AddChild(this.ptr, node.ptr); - } - removeChild(node: NativePeerNode) { - NativeModule._RemoveChild(this.ptr, node.ptr); - } - insertChildBefore(node: NativePeerNode, sibling: NativePeerNode | undefined) { - NativeModule._InsertChildBefore(this.ptr, node.ptr, sibling == undefined ? 0 : sibling.ptr); - } - insertChildAfter(node: NativePeerNode, sibling: NativePeerNode | undefined) { - NativeModule._InsertChildAfter(this.ptr, node.ptr, sibling == undefined ? 0 : sibling.ptr); - } - insertChildAt(node: NativePeerNode, position: int32) { - NativeModule._InsertChildAt(this.ptr, node.ptr, position); - } - - dumpTree() { - NativeModule._DumpTreeNode(this.ptr); - } -} diff --git a/arkoala/arkui/src/PeerNode.ts b/arkoala/arkui/src/PeerNode.ts index b67925ed7..eb6282353 100644 --- a/arkoala/arkui/src/PeerNode.ts +++ b/arkoala/arkui/src/PeerNode.ts @@ -1,56 +1,16 @@ -import { int32 } from "@koalaui/common" -import { IncrementalNode } from "@koalaui/runtime" -import { ArkUINodeType } from "./peers/ArkUINodeType" -import { NativePeerNode } from "./NativePeerNode" +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ -export const PeerNodeType = 11 - -export class PeerNode extends IncrementalNode { - peer: NativePeerNode - private id: int32 = PeerNode.currentId++ - private static peerNodeMap = new Map() - - static findPeerByNativeId(id: number): PeerNode | undefined { - return PeerNode.peerNodeMap.get(id) - } - - private static currentId: int32 = 1000 - - constructor(type: ArkUINodeType, flags: int32, name: string) { - super(PeerNodeType) - this.peer = NativePeerNode.create(type, this.id, flags) - PeerNode.peerNodeMap.set(this.id, this) - this.onChildInserted = (child: IncrementalNode) => { - // TODO: rework to avoid search - let peer = findPeerNode(child) - if (peer) { - // Find the closest peer node backward. - let sibling: PeerNode | undefined = undefined - for (let node = child.previousSibling; node; node = node!.previousSibling) { - if (node!.isKind(PeerNodeType)) { - sibling = node as PeerNode - break - } - } - this.peer.insertChildAfter(peer.peer, sibling?.peer) - } - } - this.onChildRemoved = (child: IncrementalNode) => { - let peer = findPeerNode(child) - if (peer) { - this.peer.removeChild(peer.peer) - } - } - } - applyAttributes(attrs: Object) {} -} - - -function findPeerNode(node: IncrementalNode): PeerNode | undefined { - if (node.isKind(PeerNodeType)) return node as PeerNode - for (let child = node.firstChild; child; child = child!.nextSibling) { - let peer = findPeerNode(child!) - if (peer) return peer - } - return undefined -} \ No newline at end of file +export { PeerNode, NativePeerNode } from "@koalaui/arkoala" \ No newline at end of file -- Gitee