diff --git a/arkoala-arkts/arkui/package.json b/arkoala-arkts/arkui/package.json index 1a98da0e2d7132b1595254b1c62fbd912f6dc78b..2352a63d40dfab313d00dfd0267540d7f11fa4b2 100644 --- a/arkoala-arkts/arkui/package.json +++ b/arkoala-arkts/arkui/package.json @@ -7,8 +7,8 @@ "scripts": { "clean": "rimraf build", "clean:arkui-no-common": "npm run clean", - "build:arkui-no-common:inc": "npm run unmemoize && fast-arktsc --input-files ./arktsconfig-unmemoized.json --output-dir ./build --compiler ../../incremental/tools/panda/arkts/arktsc --link-name arkui-no-common && ninja -f build/build.ninja", - "build:arkui-no-common": "npm run unmemoize && fast-arktsc --input-files ./arktsconfig-unmemoized.json --output-dir ./build --compiler ../../incremental/tools/panda/arkts/arktsc --link-name arkui-no-common && ninja -f build/build.ninja", + "build:arkui-no-common:inc": "fast-arktsc --input-files ./arktsconfig-unmemoized.json --output-dir ./build --compiler ../../incremental/tools/panda/arkts/arktsc --link-name arkui-no-common && ninja -f build/build.ninja", + "build:arkui-no-common": "npm run unmemoize && npm run build:arkui-no-common:inc", "unmemoize": "memo-tsc -b ./tsconfig-unmemoize.json && cp -r ./src/generated/arkts ./build/unmemoized/src/generated" } } diff --git a/arkoala-arkts/arkui/src/ArkComponentRoot.ts b/arkoala-arkts/arkui/src/ArkComponentRoot.ts index 4eb378ba90ae04db5a2ced9eba76388500f46e76..754b1ac183050bdb0a0297729428ea5fd2732965 100644 --- a/arkoala-arkts/arkui/src/ArkComponentRoot.ts +++ b/arkoala-arkts/arkui/src/ArkComponentRoot.ts @@ -17,7 +17,7 @@ import { NodeAttach, RunEffect, rememberDisposable, rememberMutableState, schedu // import { CurrentRouterTransitionState, RouterTransitionVisibility, WithRouterTransitionState } from "@koalaui/arkui-common" // import { ArkCommonPeer } from "./peers/ArkCommonPeer"; import { ArkStructBase } from "./ArkStructBase"; -import { PeerNode } from "./generated/PeerNode"; +import { PeerNode } from "@koalaui/arkts-framework" import { ArkUINodeType } from "./generated/peers/ArkUINodeType"; /** @memo */ diff --git a/arkoala-arkts/arkui/src/generated/ArkAlertDialogMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkAlertDialogMaterialized.ts index 0b985b22f277ac3410ec2dc3a51fd57307efe034..46fc713fc662ce9b05862346b9c76997be85c8ca 100644 --- a/arkoala-arkts/arkui/src/generated/ArkAlertDialogMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkAlertDialogMaterialized.ts @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { AlertDialogParamWithConfirm, AlertDialogParamWithButtons, AlertDialogParamWithOptions } from "./ArkAlertDialogInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkAttributeModifierMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkAttributeModifierMaterialized.ts index 1afb8411fb7cc551c7b394902eeead6c11c05fed..9eb9ab7174c9f33c7e56957bc30f9ccd6bb4847d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkAttributeModifierMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkAttributeModifierMaterialized.ts @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { INTERFACE_AttributeModifier } from "./SyntheticDeclarations" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkBlank.ts b/arkoala-arkts/arkui/src/generated/ArkBlank.ts index 49318daac4ce2f9332400d6ad526a1454a337445..155def96f08c202d86b904452d5f3c7ebc023ed8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkBlank.ts +++ b/arkoala-arkts/arkui/src/generated/ArkBlank.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkButton.ts b/arkoala-arkts/arkui/src/generated/ArkButton.ts index f2134f24cb7207ac58307c8e7b22c94d5a76732e..60b7a9f87dd657fd29b4e8567b77357569fcfe62 100644 --- a/arkoala-arkts/arkui/src/generated/ArkButton.ts +++ b/arkoala-arkts/arkui/src/generated/ArkButton.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkCalendarPicker.ts b/arkoala-arkts/arkui/src/generated/ArkCalendarPicker.ts index 2ab37423a674ac860ad64c556f934a05c092269e..9956ac5594b2421bf5e65cc98fa2c75d4f653668 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCalendarPicker.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCalendarPicker.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvas.ts b/arkoala-arkts/arkui/src/generated/ArkCanvas.ts index a81bd79da78ae53d058d53805d590015b3d1f29e..bb3be1bd64a56147d907fc5866f4a921236a9962 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvas.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvas.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasGradientMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasGradientMaterialized.ts index cf5686b6b0e8a0d3405379f582e2edf567e91c42..1af7845cad024c08ca15f267a4da226bed9de86d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasGradientMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasGradientMaterialized.ts @@ -16,12 +16,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasPathMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasPathMaterialized.ts index d1dfb5ad2e3468a14b576343e1993af568252214..9e1a5e32bd2c3f898e57f6e20c3e21b1b540ef59 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasPathMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasPathMaterialized.ts @@ -16,12 +16,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts index e6de80f0752269864e6d66dd6e5d3f46041ee77a..a35a91ea71063592ff6cdb29a2e7eb7a28d158e8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts @@ -18,12 +18,12 @@ import { Matrix2D } from "./ArkMatrix2DMaterialized" import { INTERFACE_CanvasPattern } from "./SyntheticDeclarations" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts index b17f26bf234b9cdecdc26ead9ae7d4ca807eb71a..3d0ff3bbe83adab87115a9221395f24880d36509 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts @@ -20,12 +20,12 @@ import { CanvasPath } from "./ArkCanvasPathMaterialized" import { CanvasGradient } from "./ArkCanvasGradientMaterialized" import { CanvasPattern } from "./ArkCanvasPatternMaterialized" import { CanvasFillRule, ImageData } from "./ArkCanvasInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts index 93d9e9badbb28f5b967b794f7a32fd22682dd837..7909486e2c488d7b44cbe8c81f29b219933d9a8e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts @@ -18,12 +18,12 @@ import { CanvasRenderer } from "./ArkCanvasRendererMaterialized" import { RenderingContextSettings } from "./ArkCanvasInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkChildrenMainSizeMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkChildrenMainSizeMaterialized.ts index 24954357205b9cccd153622b03399d62d79f1ec6..5a4ae945092b67b480fa6b07a56c2e9d35dc99cf 100644 --- a/arkoala-arkts/arkui/src/generated/ArkChildrenMainSizeMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkChildrenMainSizeMaterialized.ts @@ -16,12 +16,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkCircle.ts b/arkoala-arkts/arkui/src/generated/ArkCircle.ts index 059801814b29c908b3efd00dc4338318fc073c62..bbc280b7fc68559bff58f19f821c2079057b2b3f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCircle.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCircle.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonShapeMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndAllOptionalParamsDTSMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndAllOptionalParamsDTSMaterialized.ts index 962aa58bcc971cacb503730b2376f674c11536d0..a6147078203d7983b19e7af266212cb8980ccc02 100644 --- a/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndAllOptionalParamsDTSMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndAllOptionalParamsDTSMaterialized.ts @@ -16,12 +16,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndFieldsAndMethodsDTSMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndFieldsAndMethodsDTSMaterialized.ts index 64e9e6384ae74f34dfeabe216ba9675b3e10e78b..26e3ea41a88c9085e162b6347285cdd57da2ffb8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndFieldsAndMethodsDTSMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndFieldsAndMethodsDTSMaterialized.ts @@ -16,12 +16,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndMethodsDTSMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndMethodsDTSMaterialized.ts index 4e87f0da7c3b8c772cf07d4cb416d017bd1854fa..5bea82f953f6a337b6a1abcec9587133cc3ac7fc 100644 --- a/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndMethodsDTSMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndMethodsDTSMaterialized.ts @@ -16,12 +16,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndNonOptionalParamsDTSMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndNonOptionalParamsDTSMaterialized.ts index 2c2c946fcd43e2758e89e110097b806475127909..d44693a55b3b80fef8348977e4d9353c8a39b76f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndNonOptionalParamsDTSMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndNonOptionalParamsDTSMaterialized.ts @@ -16,12 +16,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndSomeOptionalParamsDTSMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndSomeOptionalParamsDTSMaterialized.ts index 65ea52bc2d52d7ca275d1d493b1121fd7341cb56..3e632314cbfeb2971d80a60a543ca99ad3a40ccd 100644 --- a/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndSomeOptionalParamsDTSMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndSomeOptionalParamsDTSMaterialized.ts @@ -16,12 +16,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndStaticMethodsDTSMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndStaticMethodsDTSMaterialized.ts index 23ea1bb0ae562492b6f3f4b46d511dfa22f3022f..85711634b3ba49a68eda80bbcf8ba71978747a57 100644 --- a/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndStaticMethodsDTSMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndStaticMethodsDTSMaterialized.ts @@ -16,12 +16,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndWithoutParamsDTSMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndWithoutParamsDTSMaterialized.ts index a480e9f2ac9329842a27da79e8d3c8295a5eb370..613cbe20dbc297926f3e8c58ef36714579f78dfc 100644 --- a/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndWithoutParamsDTSMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkClassWithConstructorAndWithoutParamsDTSMaterialized.ts @@ -16,12 +16,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkColumn.ts b/arkoala-arkts/arkui/src/generated/ArkColumn.ts index aa8b8c3dc50284a51b9b207c209b0ec9151b3bda..7fcaa2ec0c5b32d08e629dafc580c67da5e6222a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkColumn.ts +++ b/arkoala-arkts/arkui/src/generated/ArkColumn.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkCommon.ts b/arkoala-arkts/arkui/src/generated/ArkCommon.ts index ccab5886265e8fac02c554daae88aa5f05ce2d1f..00d1acebb9789c2708e2e5a06ad35eb0aa78f1e8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCommon.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCommon.ts @@ -20,16 +20,15 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodPeer, ArkCommonShapeMethodPeer, ArkCommonPeer, ArkScrollableCommonMethodPeer } from "./peers/ArkCommonPeer" import { UseEventsProperties } from "./use_properties" -import { ComponentOptions, InputCounterOptions, TextDecorationOptions, ProvideOptions, MonitorDecorator, IMonitorValue, IMonitor, AnimatableArithmetic, Context, Configuration, Rectangle, ExpectedFrameRateRange, FinishCallbackType, AnimateParam, MotionPathOptions, sharedTransitionOptions, TransitionHierarchyStrategy, GeometryTransitionOptions, TranslateOptions, ScaleOptions, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, AlignRuleOption, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, LocalizedAlignRuleOptions, RotateOptions, TransitionOptions, Literal_TransitionEffect_appear_disappear, TransitionEdge, TransitionEffects, PreviewParams, ItemDragInfo, CustomBuilder, DragItemInfo, PointerStyle, EventTarget, BlurStyleOptions, BlurStyleActivePolicy, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, Tuple_Number_Number, BlurOptions, ThemeColorMode, AdaptiveColor, BackgroundEffectOptions, ForegroundEffectOptions, PickerTextStyle, PickerDialogButtonStyle, ShadowType, ShadowOptions, MultiShadowOptions, SourceType, SourceTool, BaseEvent, RepeatMode, BorderImageOption, ClickEvent, HoverEvent, MouseEvent, AccessibilityHoverEvent, TouchObject, HistoricalPoint, TouchEvent, SizeChangeCallback, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, TransitionFinishCallback, UnifiedData, Summary, UniformDataType, DragBehavior, DragResult, DragEvent, IntentionCode, KeyEvent, BindOptions, DismissReason, DismissContentCoverAction, ModalTransition, ContentCoverOptions, SheetTitleOptions, SheetDismiss, DismissSheetAction, SpringBackAction, SheetSize, Type_SheetOptions_detents, SheetType, BlurStyle, ShadowStyle, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, HoverModeAreaType, SheetOptions, StateStyles, PopupMessageOptions, DismissPopupAction, Literal_String_value_Callback_Void_action, Literal_Boolean_isVisible, Literal_ResourceColor_color, PopupOptions, CustomPopupOptions, AnimationRange, ContextMenuAnimationOptions, MenuPreviewMode, ContextMenuOptions, MenuOptions, RectResult, TouchTestInfo, TouchTestStrategy, TouchResult, PixelStretchEffectOptions, ClickEffect, FadingEdgeOptions, NestedScrollOptions, SymbolGlyphModifier, MenuElement, Tuple_T, CommonConfiguration, ImageModifier, DragPreviewMode, DragPreviewOptions, DragInteractionOptions, InvertOptions, CircleShape, EllipseShape, PathShape, RectShape, Literal_Number_offset_span, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, PreDragStatus, Tuple_ResourceColor_Number, Type_CommonMethod_linearGradient_value, Tuple_Length_Length, Type_CommonMethod_sweepGradient_value, Type_CommonMethod_radialGradient_value, Literal_Alignment_align, PixelRoundPolicy, VisualEffect, Filter, OutlineStyle, AccessibilityCallback, MotionBlurOptions, BackgroundBrightnessOptions, SafeAreaType, SafeAreaEdge, LinearGradientBlurOptions, EffectType, ChainStyle, ComponentContent, OverlayOptions, BlendMode, BlendApplyType, Blender, VisibleAreaChangeCallback, CommonMethod, CommonAttribute, CommonInterface, OverlayOffset, FractionStop, CommonShapeMethod, MotionBlurAnchor, LayoutBorderInfo, LayoutInfo, SizeResult, GeometryInfo, MeasureResult, Measurable, NavDestinationInfo, NavigationInfo, RouterPageInfo, DrawContext, Theme, Literal_Empty, Layoutable, CustomComponent, CaretOffset, ContentClipMode, EdgeEffectOptions, ScrollableCommonMethod, ScrollResult, OnWillScrollCallback, OnScrollCallback, OnMoveHandler, LightSource, PointLightStyle, WrappedBuilder, KeyframeAnimateParam, KeyframeState, Callback, HoverCallback, VisibleAreaEventOptions, UICommonEvent, UIGestureEvent, MenuPolicy, SelectionOptions } from "./ArkCommonInterfaces" +import { ComponentOptions, InputCounterOptions, TextDecorationOptions, ProvideOptions, IMonitorValue, IMonitor, AnimatableArithmetic, Context, Configuration, Rectangle, ExpectedFrameRateRange, FinishCallbackType, AnimateParam, MotionPathOptions, sharedTransitionOptions, TransitionHierarchyStrategy, GeometryTransitionOptions, TranslateOptions, ScaleOptions, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, AlignRuleOption, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, LocalizedAlignRuleOptions, RotateOptions, TransitionOptions, Literal_TransitionEffect_appear_disappear, TransitionEdge, TransitionEffects, PreviewParams, ItemDragInfo, CustomBuilder, DragItemInfo, PointerStyle, EventTarget, BlurStyleOptions, BlurStyleActivePolicy, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, Tuple_Number_Number, BlurOptions, ThemeColorMode, AdaptiveColor, BackgroundEffectOptions, ForegroundEffectOptions, PickerTextStyle, PickerDialogButtonStyle, ShadowType, ShadowOptions, MultiShadowOptions, SourceType, SourceTool, BaseEvent, RepeatMode, BorderImageOption, ClickEvent, HoverEvent, MouseEvent, AccessibilityHoverEvent, TouchObject, HistoricalPoint, TouchEvent, SizeChangeCallback, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, TransitionFinishCallback, UnifiedData, Summary, UniformDataType, DragBehavior, DragResult, DragEvent, IntentionCode, KeyEvent, BindOptions, DismissReason, DismissContentCoverAction, ModalTransition, ContentCoverOptions, SheetTitleOptions, SheetDismiss, DismissSheetAction, SpringBackAction, SheetSize, Type_SheetOptions_detents, SheetType, BlurStyle, ShadowStyle, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, HoverModeAreaType, SheetOptions, StateStyles, PopupMessageOptions, DismissPopupAction, Literal_String_value_Callback_Void_action, Literal_Boolean_isVisible, Literal_ResourceColor_color, PopupOptions, CustomPopupOptions, AnimationRange, ContextMenuAnimationOptions, MenuPreviewMode, ContextMenuOptions, MenuOptions, RectResult, TouchTestInfo, TouchTestStrategy, TouchResult, PixelStretchEffectOptions, ClickEffect, FadingEdgeOptions, NestedScrollOptions, SymbolGlyphModifier, MenuElement, Tuple_T, CommonConfiguration, ImageModifier, DragPreviewMode, DragPreviewOptions, DragInteractionOptions, InvertOptions, CircleShape, EllipseShape, PathShape, RectShape, Literal_Number_offset_span, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, PreDragStatus, Tuple_ResourceColor_Number, Type_CommonMethod_linearGradient_value, Tuple_Length_Length, Type_CommonMethod_sweepGradient_value, Type_CommonMethod_radialGradient_value, Literal_Alignment_align, PixelRoundPolicy, VisualEffect, Filter, OutlineStyle, AccessibilityCallback, MotionBlurOptions, BackgroundBrightnessOptions, SafeAreaType, SafeAreaEdge, LinearGradientBlurOptions, EffectType, ChainStyle, ComponentContent, OverlayOptions, BlendMode, BlendApplyType, Blender, VisibleAreaChangeCallback, CommonMethod, CommonAttribute, CommonInterface, OverlayOffset, FractionStop, CommonShapeMethod, MotionBlurAnchor, LayoutBorderInfo, LayoutInfo, SizeResult, GeometryInfo, MeasureResult, Measurable, NavDestinationInfo, NavigationInfo, RouterPageInfo, DrawContext, Theme, Literal_Empty, Layoutable, CustomComponent, CaretOffset, ContentClipMode, EdgeEffectOptions, ScrollableCommonMethod, ScrollResult, OnWillScrollCallback, OnScrollCallback, OnMoveHandler, LightSource, PointLightStyle, WrappedBuilder, KeyframeAnimateParam, KeyframeState, Callback, HoverCallback, VisibleAreaEventOptions, UICommonEvent, UIGestureEvent, MenuPolicy, SelectionOptions } from "./ArkCommonInterfaces" import { TextDecorationType, Color, TextDecorationStyle, Curve, PlayMode, SharedTransitionEffectType, HorizontalAlign, VerticalAlign, TransitionType, FontWeight, FontStyle, ColoringStrategy, MouseButton, MouseAction, AccessibilityHoverType, TouchType, KeyType, KeySource, BorderStyle, Placement, ArrowPointPosition, ClickEffectLevel, NestedScrollMode, GradientDirection, HitTestMode, Alignment, ImageSize, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, LineCapStyle, LineJoinStyle, PixelRoundCalcPolicy, BarState, EdgeEffect, ScrollSource, IlluminatedType } from "./ArkEnumsInterfaces" import { ResourceColor, Length, Bias, Area, Font, BorderRadiuses, EdgeWidths, LocalizedEdgeWidths, SizeOptions, ResourceStr, Dimension, PX, VP, FP, LPX, Percentage, EdgeColors, LocalizedEdgeColors, EdgeStyles, Position, LocalizedBorderRadiuses, Margin, Padding, ConstraintSizeOptions, ChainWeightOptions, LocalizedPadding, LocalizedMargin, BorderOptions, OutlineOptions, EdgeOutlineStyles, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, EdgeWidth, DirectionalEdgesT } from "./ArkUnitsInterfaces" import { Resource } from "./ArkResourceInterfaces" -import { MethodDecorator } from "./ArkStdlibInterfaces" import { IMPORT_default_FROM_api_application_Context, IMPORT_default_PointerStyle_FROM_api_ohos_multimodalInput_pointer, IMPORT_default_UnifiedData_FROM_api_ohos_data_unifiedDataChannel, IMPORT_default_Summary_FROM_api_ohos_data_unifiedDataChannel, IMPORT_default_UniformDataType_FROM_api_ohos_data_uniformTypeDescriptor, IMPORT_IntentionCode_FROM_api_ohos_multimodalInput_intentionCode, IMPORT_UIContext_FROM_api_ohos_arkui_UIContext, IMPORT_SymbolGlyphModifier_FROM_api_arkui_SymbolGlyphModifier, IMPORT_ImageModifier_FROM_api_arkui_ImageModifier, IMPORT_CircleShape_FROM_api_ohos_arkui_shape, IMPORT_EllipseShape_FROM_api_ohos_arkui_shape, IMPORT_PathShape_FROM_api_ohos_arkui_shape, IMPORT_RectShape_FROM_api_ohos_arkui_shape, IMPORT_default_VisualEffect_FROM_api_ohos_graphics_uiEffect, IMPORT_default_Filter_FROM_api_ohos_graphics_uiEffect, IMPORT_ComponentContent_T_FROM_api_arkui_ComponentContent, IMPORT_default_Blender_FROM_api_ohos_graphics_uiEffect, IMPORT_default_NavDestinationInfo_FROM_api_ohos_arkui_observer, IMPORT_default_NavigationInfo_FROM_api_ohos_arkui_observer, IMPORT_default_RouterPageInfo_FROM_api_ohos_arkui_observer, IMPORT_DrawContext_FROM_api_arkui_Graphics, IMPORT_Theme_FROM_api_ohos_arkui_theme } from "./SyntheticDeclarations" import { ICurve } from "./ArkICurveMaterialized" import { TransitionEffect } from "./ArkTransitionEffectMaterialized" diff --git a/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts index 3a455b16d399b764e0ec84a3a1507a9569fe11a2..81559c88b9198d01730b9698ba428ffcc35b37ed 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts @@ -1,7 +1,6 @@ import { TextDecorationType, Color, TextDecorationStyle, Curve, PlayMode, SharedTransitionEffectType, HorizontalAlign, VerticalAlign, TransitionType, FontWeight, FontStyle, ColoringStrategy, MouseButton, MouseAction, AccessibilityHoverType, TouchType, KeyType, KeySource, BorderStyle, Placement, ArrowPointPosition, ClickEffectLevel, NestedScrollMode, GradientDirection, HitTestMode, Alignment, ImageSize, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, LineCapStyle, LineJoinStyle, PixelRoundCalcPolicy, BarState, EdgeEffect, ScrollSource, IlluminatedType } from "./ArkEnumsInterfaces" import { ResourceColor, Length, Bias, Area, Font, BorderRadiuses, EdgeWidths, LocalizedEdgeWidths, SizeOptions, ResourceStr, Dimension, PX, VP, FP, LPX, Percentage, EdgeColors, LocalizedEdgeColors, EdgeStyles, Position, LocalizedBorderRadiuses, Margin, Padding, ConstraintSizeOptions, ChainWeightOptions, LocalizedPadding, LocalizedMargin, BorderOptions, OutlineOptions, EdgeOutlineStyles, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, EdgeWidth, DirectionalEdgesT } from "./ArkUnitsInterfaces" import { Resource } from "./ArkResourceInterfaces" -import { MethodDecorator } from "./ArkStdlibInterfaces" import { IMPORT_default_FROM_api_application_Context, IMPORT_default_PointerStyle_FROM_api_ohos_multimodalInput_pointer, IMPORT_default_UnifiedData_FROM_api_ohos_data_unifiedDataChannel, IMPORT_default_Summary_FROM_api_ohos_data_unifiedDataChannel, IMPORT_default_UniformDataType_FROM_api_ohos_data_uniformTypeDescriptor, IMPORT_IntentionCode_FROM_api_ohos_multimodalInput_intentionCode, IMPORT_UIContext_FROM_api_ohos_arkui_UIContext, IMPORT_SymbolGlyphModifier_FROM_api_arkui_SymbolGlyphModifier, IMPORT_ImageModifier_FROM_api_arkui_ImageModifier, IMPORT_CircleShape_FROM_api_ohos_arkui_shape, IMPORT_EllipseShape_FROM_api_ohos_arkui_shape, IMPORT_PathShape_FROM_api_ohos_arkui_shape, IMPORT_RectShape_FROM_api_ohos_arkui_shape, IMPORT_default_VisualEffect_FROM_api_ohos_graphics_uiEffect, IMPORT_default_Filter_FROM_api_ohos_graphics_uiEffect, IMPORT_ComponentContent_T_FROM_api_arkui_ComponentContent, IMPORT_default_Blender_FROM_api_ohos_graphics_uiEffect, IMPORT_default_NavDestinationInfo_FROM_api_ohos_arkui_observer, IMPORT_default_NavigationInfo_FROM_api_ohos_arkui_observer, IMPORT_default_RouterPageInfo_FROM_api_ohos_arkui_observer, IMPORT_DrawContext_FROM_api_arkui_Graphics, IMPORT_Theme_FROM_api_ohos_arkui_theme } from "./SyntheticDeclarations" import { ICurve } from "./ArkICurveMaterialized" import { TransitionEffect } from "./ArkTransitionEffectMaterialized" @@ -40,7 +39,6 @@ export interface TextDecorationOptions { export interface ProvideOptions { allowOverride?: string; } -export type MonitorDecorator = (value: string, args: Array) => MethodDecorator; export interface IMonitor { dirty: Array; } diff --git a/arkoala-arkts/arkui/src/generated/ArkCounter.ts b/arkoala-arkts/arkui/src/generated/ArkCounter.ts index 0e4ae9c1997f8cf5d648ae72ed4368bc4be857e7..7b9088645f50230e9daf09daa00a50873ea865d3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCounter.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCounter.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkCustomSpanMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCustomSpanMaterialized.ts index 64fb3627f63a7237f79a969b5313a88581209265..df67c0650cbeef266ee09028cfed8bfca5a982d0 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCustomSpanMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCustomSpanMaterialized.ts @@ -19,12 +19,12 @@ import { CustomSpanMeasureInfo, CustomSpanMetrics, CustomSpanDrawInfo } from "./ArkStyledStringInterfaces" import { DrawContext } from "./ArkCommonInterfaces" import { IMPORT_DrawContext_FROM_api_arkui_Graphics } from "./SyntheticDeclarations" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkDivider.ts b/arkoala-arkts/arkui/src/generated/ArkDivider.ts index 3e12afc9c6201f35bece58a4d40528d4c3deb7be..9060eb8f508bed47e7002ea21863ee7accfc3b18 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDivider.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDivider.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkDrawModifierMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDrawModifierMaterialized.ts index 47d3c97ba351a20971c2a0675a99ca9e6fbcc836..0fb3821dfdde12acc957c705fb9b54e1afd7d147 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDrawModifierMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDrawModifierMaterialized.ts @@ -18,12 +18,12 @@ import { DrawContext } from "./ArkCommonInterfaces" import { IMPORT_DrawContext_FROM_api_arkui_Graphics } from "./SyntheticDeclarations" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts index 02d1337034c6a2f32d9ab470c28db7d42e3eae14..5d5d943344aa1b0533b4a8c387eb4cfe176d0a2c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts @@ -19,12 +19,12 @@ import { Size, DrawingCanvas } from "./ArkCanvasInterfaces" import { LengthMetricsUnit } from "./ArkUnitsInterfaces" import { IMPORT_LengthMetricsUnit_FROM_api_arkui_Graphics } from "./SyntheticDeclarations" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkDynamicNodeMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDynamicNodeMaterialized.ts index 2e8b7b277ae06c95ea6f713c6bfeaf559772c291..8ffb8bd5b3599145d168d81c3b6b0c2f8ef87471 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDynamicNodeMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDynamicNodeMaterialized.ts @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { OnMoveHandler } from "./ArkCommonInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts index d00413b49436d60c6477aab932629bcddbb91ab1..a7c9e9b2c26cded2bd7243891deedaa07fb245bb 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts @@ -18,12 +18,12 @@ import { TextMenuItem, TextRange } from "./ArkTextCommonInterfaces" import { INTERFACE_EditMenuOptions } from "./SyntheticDeclarations" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkEllipse.ts b/arkoala-arkts/arkui/src/generated/ArkEllipse.ts index a248476c5f4d4702a488820d089a4fe1a17a80a1..d39b0f3aeaf249a9b91b75c9ca265af86af2b30a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEllipse.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEllipse.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonShapeMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkEmbeddedComponent.ts b/arkoala-arkts/arkui/src/generated/ArkEmbeddedComponent.ts index 39273599d4c472e1f10bed7222c6b75ca94125aa..1c083f3d51b1c867ef90958f3ed99f6f9d9e3559 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEmbeddedComponent.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEmbeddedComponent.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkEventTargetInfoMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkEventTargetInfoMaterialized.ts index c579d8622f5276bc06908f38a7219cc2ff841ce8..b72fc32c12c7f4047e420b96804fe737e68ac26c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEventTargetInfoMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEventTargetInfoMaterialized.ts @@ -16,12 +16,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkFlex.ts b/arkoala-arkts/arkui/src/generated/ArkFlex.ts index fb335f523080396b10035e581ead76f5d7fdf946..2550fbf85813e0d0cc1e718cfc4e1ddfff6e053e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFlex.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFlex.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkFormComponent.ts b/arkoala-arkts/arkui/src/generated/ArkFormComponent.ts index d34e1e19cce1e1d90af549e0219f903e00e8c745..913a07f7c8db3f31b414f57c6c039b3bed81a755 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFormComponent.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFormComponent.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureModifierMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGestureModifierMaterialized.ts index 64230bb9abe80b66528a08280c26b6d09becd03c..b4b6219355663a173f25c7e0dd20f2321f07fe63 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGestureModifierMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGestureModifierMaterialized.ts @@ -18,12 +18,12 @@ import { UIGestureEvent } from "./ArkCommonInterfaces" import { INTERFACE_GestureModifier } from "./SyntheticDeclarations" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureRecognizerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGestureRecognizerMaterialized.ts index 3838f9e684efdc1fb58b00d089e6c0cfb73bd5fc..a1441c82e321e86308986429abfbd29ba9c47f75 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGestureRecognizerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGestureRecognizerMaterialized.ts @@ -18,12 +18,12 @@ import { GestureControl_GestureType, GestureRecognizerState } from "./ArkGestureInterfaces" import { EventTargetInfo } from "./ArkEventTargetInfoMaterialized" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkGrid.ts b/arkoala-arkts/arkui/src/generated/ArkGrid.ts index 4f91cb1515bc85ffcb0acbc94c2a94c9d056c8c1..23798d89ce4abb17dbc41b897ad08aabb2e17cff 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGrid.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGrid.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkScrollableCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkGridContainer.ts b/arkoala-arkts/arkui/src/generated/ArkGridContainer.ts index a415e143290b7d903ac84bfb9440e12a28fb03ef..63179eed5655fd869a63ceb2147695de3f36df5d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGridContainer.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGridContainer.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkColumnComponent } from "./ArkColumn" diff --git a/arkoala-arkts/arkui/src/generated/ArkGridItem.ts b/arkoala-arkts/arkui/src/generated/ArkGridItem.ts index 3eda4ac60d1e7f9c140b70cf4f8a9abe3764bb43..0ab9fc5b73d0ea179bfa764e3d2a1b0ccb2a90b0 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGridItem.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGridItem.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkICurveMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkICurveMaterialized.ts index 7bf04a7b11ba587cbcfd4ee14bb76593b0561e2e..3e20e1d1f525c4da066b25959426d3090e370287 100644 --- a/arkoala-arkts/arkui/src/generated/ArkICurveMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkICurveMaterialized.ts @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { INTERFACE_ICurve } from "./SyntheticDeclarations" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkImage.ts b/arkoala-arkts/arkui/src/generated/ArkImage.ts index 5908d6d971f63f4d1e40f4505d2b6ae934a1f870..778824e04808cf9d2b15a372de463034ed5d633a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImage.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImage.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts index bbfd9f1a9cc305cdab3a56a0167d70e926217da1..46e7ad0549f3b4368f68285d05deab443007f8a7 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { ImageAnalyzerType } from "./ArkImageCommonInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkImageBitmapMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkImageBitmapMaterialized.ts index 2fd8f5f6b060bce9add4221c82fe051c3d06f2e0..6a2c02de2c2013733d91bea4d27aa60b766c66b1 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImageBitmapMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImageBitmapMaterialized.ts @@ -19,12 +19,12 @@ import { LengthMetricsUnit } from "./ArkUnitsInterfaces" import { IMPORT_LengthMetricsUnit_FROM_api_arkui_Graphics } from "./SyntheticDeclarations" import { PixelMap } from "./ArkArkui-externalInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts index fd88c85c4e3f5f2775dabdd444e24beef070dcbc..1d0970982f45909edd294e1d2a9991777bbd336a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts @@ -16,12 +16,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkIndicatorcomponent.ts b/arkoala-arkts/arkui/src/generated/ArkIndicatorcomponent.ts index 7a24514cd7cc449185e07c6655850427e40f032d..2c304e276ccf1ec126413b2f9ea066966e7d0470 100644 --- a/arkoala-arkts/arkui/src/generated/ArkIndicatorcomponent.ts +++ b/arkoala-arkts/arkui/src/generated/ArkIndicatorcomponent.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkLayoutManagerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkLayoutManagerMaterialized.ts index 33ad300d70f20733ed2644556048aea36c8816f4..e7d125b2fe49f9bb2e0bf9119f121b516b3d972f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLayoutManagerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLayoutManagerMaterialized.ts @@ -19,12 +19,12 @@ import { PositionWithAffinity, LineMetrics, TextRange, TextBox } from "./ArkTextCommonInterfaces" import { IMPORT_default_LineMetrics_FROM_api_ohos_graphics_text, IMPORT_default_TextBox_FROM_api_ohos_graphics_text, INTERFACE_LayoutManager } from "./SyntheticDeclarations" import { RectWidthStyle, RectHeightStyle } from "./ArkArkui-externalInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkList.ts b/arkoala-arkts/arkui/src/generated/ArkList.ts index 1e90b9190eca5dec6174fc66ded86ecf42f715c9..024b8aaca74631f9b45504ec067f9a1b9c8c557e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkList.ts +++ b/arkoala-arkts/arkui/src/generated/ArkList.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkScrollableCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkListItem.ts b/arkoala-arkts/arkui/src/generated/ArkListItem.ts index 7b001eb343a12dffcc973043e1dd6cadbe26463b..cf2fc0334c7adc5eafb8fbd87939e861aab51175 100644 --- a/arkoala-arkts/arkui/src/generated/ArkListItem.ts +++ b/arkoala-arkts/arkui/src/generated/ArkListItem.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkListScrollerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkListScrollerMaterialized.ts index 69ea2e08be33045dfd67df9215f1effafe87f668..a9e3e097f916b5f816739e5750e1bf3640d65ed6 100644 --- a/arkoala-arkts/arkui/src/generated/ArkListScrollerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkListScrollerMaterialized.ts @@ -20,12 +20,12 @@ import { Scroller } from "./ArkScrollerMaterialized" import { RectResult } from "./ArkCommonInterfaces" import { ScrollAlign } from "./ArkScrollInterfaces" import { CloseSwipeActionOptions, VisibleListContentInfo } from "./ArkListInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkMatrix2DMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkMatrix2DMaterialized.ts index 3e951e0295f3326067f37cb1e38b0338c077b8e8..b999b9602c3cefd3098d5bcf98454f955a5dd11f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMatrix2DMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMatrix2DMaterialized.ts @@ -18,12 +18,12 @@ import { LengthMetricsUnit } from "./ArkUnitsInterfaces" import { IMPORT_LengthMetricsUnit_FROM_api_arkui_Graphics } from "./SyntheticDeclarations" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkMutableStyledStringMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkMutableStyledStringMaterialized.ts index a28e554437e47becdd1d43bd3d16f15b9f725af4..d545c1e1803da90866f42afd9a393e0e8057762b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMutableStyledStringMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMutableStyledStringMaterialized.ts @@ -18,12 +18,12 @@ import { StyledString } from "./ArkStyledStringMaterialized" import { SpanStyle, StyledStringKey } from "./ArkStyledStringInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkNavDestination.ts b/arkoala-arkts/arkui/src/generated/ArkNavDestination.ts index 9580401776c72c529c538a0d78c051ae67b421ea..38ddd9c1d847de06095793597c4a771d6b86310f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavDestination.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavDestination.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkNavDestinationContextMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkNavDestinationContextMaterialized.ts index 9f213136b324b325394f24bf5ecaed2f4d600b3b..a0d5ee457260a640d707297c67ed4df39e99d7e8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavDestinationContextMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavDestinationContextMaterialized.ts @@ -20,12 +20,12 @@ import { NavPathInfo } from "./ArkNavigationInterfaces" import { NavPathStack } from "./ArkNavPathStackMaterialized" import { RouteMapConfig } from "./ArkNavDestinationInterfaces" import { INTERFACE_NavDestinationContext } from "./SyntheticDeclarations" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkNavPathStackMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkNavPathStackMaterialized.ts index 85ee74846a809ff0f6c856f84baf229d61099d8d..743bdb7cf734729d87e5e145eb9aeda9d341a581 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavPathStackMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavPathStackMaterialized.ts @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { NavPathInfo, NavigationOptions, PopInfo, NavigationInterception } from "./ArkNavigationInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkNavigation.ts b/arkoala-arkts/arkui/src/generated/ArkNavigation.ts index e950d95e4e4598dfa0ffb642a376d0cb58ddacaa..96def7231b0ccff819c30dc87a2ea6720689ae5f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavigation.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavigation.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts index ed99e718db78987a417e391b040272e6bb252a02..519e130040277bf0da21adccee5af05c4d744848 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts @@ -18,12 +18,12 @@ import { NavContentInfo } from "./ArkNavigationInterfaces" import { INTERFACE_NavigationTransitionProxy } from "./SyntheticDeclarations" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkNavigator.ts b/arkoala-arkts/arkui/src/generated/ArkNavigator.ts index 29e01b4466124d4d978fdd7219206bf3592d2fd8..eef5dd582801a83138382c553ed9b17ddfbc5267 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavigator.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavigator.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts index fd8c5dea0f53eff8346f29b55c44122422e7f538..eb68180e1f1d907ec1348e6d4575472c539035d9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { Literal_Number_distance_fingers_PanDirection_direction, PanDirection } from "./ArkGestureInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkPanRecognizerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPanRecognizerMaterialized.ts index 4d04ecd1baa3b6194a555a381f08b8dbe7cf1277..83c80d7db0fff733555d2db17493df124dd0e40b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPanRecognizerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPanRecognizerMaterialized.ts @@ -18,12 +18,12 @@ import { GestureRecognizer } from "./ArkGestureRecognizerMaterialized" import { PanGestureOptions } from "./ArkPanGestureOptionsMaterialized" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkPath.ts b/arkoala-arkts/arkui/src/generated/ArkPath.ts index 258f7bc850f17e2332a94166fac4ea8981468896..9c5663ee025056cba9c694f0ffaa0d491fa1c35f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPath.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPath.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonShapeMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkPixelMapMockMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPixelMapMockMaterialized.ts index 4d1a6dcd568955d0130d56777584b97eb2bc7c74..f42a6152dfcef5a58869bdf3efc6d5ad6dcb5165 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPixelMapMockMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPixelMapMockMaterialized.ts @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { INTERFACE_PixelMapMock } from "./SyntheticDeclarations" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkProgressMaskMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkProgressMaskMaterialized.ts index ecf255e21582244d777c0386fd946adad864d188..d2973a9869359818d671f1f40b137c65794bed5a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkProgressMaskMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkProgressMaskMaterialized.ts @@ -19,12 +19,12 @@ import { ResourceColor } from "./ArkUnitsInterfaces" import { Color } from "./ArkEnumsInterfaces" import { Resource } from "./ArkResourceInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkRect.ts b/arkoala-arkts/arkui/src/generated/ArkRect.ts index 96f59e5acebc37346cfb26a8fe934602aedf42a5..902c3184eba089c35aa87ffd95413c560597b3c2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRect.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRect.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonShapeMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkRichEditor.ts b/arkoala-arkts/arkui/src/generated/ArkRichEditor.ts index daeaaa96a3dbca494f2b31020b8d799f547ff52b..241e9d31b85c8dbabe15b5b7349267b4d43456c0 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichEditor.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichEditor.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts index 54cb321648f005e429011b17114b435404d0471f..b968ebe11d490feb8cff44ddb672881746298d2d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts @@ -21,12 +21,12 @@ import { RichEditorTextStyle } from "./ArkRichEditorInterfaces" import { SelectionOptions } from "./ArkCommonInterfaces" import { LayoutManager } from "./ArkLayoutManagerMaterialized" import { PreviewText } from "./ArkTextCommonInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts index 24466cb2798c2809cffdd9f52789a682f7f1cf03..f0ef03f270232349e6449dc347056f32db7b808f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts @@ -23,12 +23,12 @@ import { ResourceStr } from "./ArkUnitsInterfaces" import { Resource } from "./ArkResourceInterfaces" import { CustomBuilder } from "./ArkCommonInterfaces" import { StyledString } from "./ArkStyledStringMaterialized" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts index 6868c9b44c19f3622fc300483aa565486f1f45fc..cf8c7a4e23013f336b259d308930787072a6cbea 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts @@ -22,12 +22,12 @@ import { StyledString } from "./ArkStyledStringMaterialized" import { MutableStyledString } from "./ArkMutableStyledStringMaterialized" import { RichEditorRange } from "./ArkRichEditorInterfaces" import { StyledStringChangedListener } from "./ArkTextCommonInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkRow.ts b/arkoala-arkts/arkui/src/generated/ArkRow.ts index bac16d3c7028a06afa6ba0405132140017ba9f14..571bd2f1f793a9148ed536c3efed376d2f7bd402 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRow.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRow.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkScroll.ts b/arkoala-arkts/arkui/src/generated/ArkScroll.ts index 143ce1bac1343f2b7c79753ca139126b9a674b7e..7ad87b959a4e58421e4736b2e2c79566aaa4083f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScroll.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScroll.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkScrollableCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts index ffbd7ca3b65ff17055a70c2f484e7b32918574b0..a2c1863f641122a3bcf0c713c103ad531c3e36bb 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { EventTargetInfo } from "./ArkEventTargetInfoMaterialized" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkScrollerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkScrollerMaterialized.ts index 88345fa8317ab9d3f47171cba65f68e69c30bbee..14c9c1edcbc6129f7be33648d590ab00fbf8c6b8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScrollerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScrollerMaterialized.ts @@ -21,12 +21,12 @@ import { Edge, Axis } from "./ArkEnumsInterfaces" import { Length } from "./ArkUnitsInterfaces" import { Resource } from "./ArkResourceInterfaces" import { RectResult } from "./ArkCommonInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkSearch.ts b/arkoala-arkts/arkui/src/generated/ArkSearch.ts index 03aa76b1ba023b2b3e581a70bccc46522b55193a..df4fde407a9d206fd083a1629b8779ac8889367a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSearch.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSearch.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkSearchControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSearchControllerMaterialized.ts index cb0cefc995398a87eb919410d749453dc0f23814..c74699f2a229aaf1f764998543f47d392136b853 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSearchControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSearchControllerMaterialized.ts @@ -18,12 +18,12 @@ import { TextContentControllerBase } from "./ArkTextContentControllerBaseMaterialized" import { SelectionOptions } from "./ArkCommonInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkSelect.ts b/arkoala-arkts/arkui/src/generated/ArkSelect.ts index 96cd7e9467d0bcba541fbcd82d4b81ab37cec796..b21f8e911e8b0d24799669f76f0b03636d6c6b99 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSelect.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSelect.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkShape.ts b/arkoala-arkts/arkui/src/generated/ArkShape.ts index 75360bc71ad8acbf715179569d389e7ab97de5b5..6c068268df59fa2e66c7f9ae00d048dd7b1d20e2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkShape.ts +++ b/arkoala-arkts/arkui/src/generated/ArkShape.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkSidebar.ts b/arkoala-arkts/arkui/src/generated/ArkSidebar.ts index d8085b3c866797281950de1a29d8b0b69fb66c03..4a38094a62d16c3185a33343861268acd4eef631 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSidebar.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSidebar.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkSpan.ts b/arkoala-arkts/arkui/src/generated/ArkSpan.ts index 5a1c8e53ea89ff92dbc24da8d89dc3a177b84f4b..a31770dd6599fd22ca1f63953c3eaeb954c9bc5b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSpan.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSpan.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkStack.ts b/arkoala-arkts/arkui/src/generated/ArkStack.ts index 1e69e3d1b73315e5fbe5f0df79e101535ca9bc91..eaa88be3a07496cdbe693d8be08aa4920ab2331b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStack.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStack.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkStdlibInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkStdlibInterfaces.ts index 9dc8fc9d1761bd6a86602e231a155b7f6a9bd3cb..4dcd2005e490b36f5818977cd620ad06a0d0f513 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStdlibInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStdlibInterfaces.ts @@ -1,4 +1,3 @@ import { int32, float32 } from "@koalaui/common" import { KInt, KBoolean, KStringPtr, wrapCallback } from "@koalaui/interop" -import { NodeAttach, remember } from "@koalaui/runtime" -export type MethodDecorator = object; \ No newline at end of file +import { NodeAttach, remember } from "@koalaui/runtime" \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkStyledStringControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkStyledStringControllerMaterialized.ts index 007cd493ddc5ff586fb0228dbb5119bdc50a7dd0..f0da4083363eec1cf8e164577714875317e9de14 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStyledStringControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStyledStringControllerMaterialized.ts @@ -19,12 +19,12 @@ import { StyledString } from "./ArkStyledStringMaterialized" import { MutableStyledString } from "./ArkMutableStyledStringMaterialized" import { INTERFACE_StyledStringController } from "./SyntheticDeclarations" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkStyledStringMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkStyledStringMaterialized.ts index 69019c3ee52b901b537ab34b7749f55aaa6e37eb..55734a79b21bccc2e626f2b1476a2edd8bedcc79 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStyledStringMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStyledStringMaterialized.ts @@ -18,12 +18,12 @@ import { ImageAttachment, StyleOptions, StyledStringKey, SpanStyle } from "./ArkStyledStringInterfaces" import { CustomSpan } from "./ArkCustomSpanMaterialized" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkSwiper.ts b/arkoala-arkts/arkui/src/generated/ArkSwiper.ts index 19c21a9b9e507e086a63cda89128ebfe5d80d4b5..5f67a48ce93ddba1127d1ac6a6665d163664ccec 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSwiper.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSwiper.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts index efc7557a41473f910852809279f4d08005eb9741..556b23252903b67e1be4438327d7695fe558b627 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { INTERFACE_SwiperContentTransitionProxy } from "./SyntheticDeclarations" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkSwiperControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSwiperControllerMaterialized.ts index e1bda1fe49effa630f1d6c51f4113098b08f7311..abed601e78a73faf0b8293dc324396740694c462 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSwiperControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSwiperControllerMaterialized.ts @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { VoidCallback } from "./ArkUnitsInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkSymbolglyph.ts b/arkoala-arkts/arkui/src/generated/ArkSymbolglyph.ts index 2c89bee111ca4a695a632c22e7e21466d2363456..adc09e3ec227b9e8512828d78ae46698c7315f3a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSymbolglyph.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSymbolglyph.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkTabContent.ts b/arkoala-arkts/arkui/src/generated/ArkTabContent.ts index cfa74d16519072344a5736f095370f7f4cba6847..2e10f1b59110cce4f9d1a205e676e9bb8ff64504 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTabContent.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTabContent.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkTabs.ts b/arkoala-arkts/arkui/src/generated/ArkTabs.ts index 8e59a94f020f6b5864e157bff99f0dafa22374d0..557d4f14de04a4d6e2bc20077602fa2cc14c0a20 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTabs.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTabs.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkTabsControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTabsControllerMaterialized.ts index 10f55eae4628890e3b9d9e0929d07dfb1692eab0..ff90ddb1b1ab0fe8cd9a15838cf4761a4e17b7c5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTabsControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTabsControllerMaterialized.ts @@ -16,12 +16,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkTest.ts b/arkoala-arkts/arkui/src/generated/ArkTest.ts index ee193d6b5bebcf633ce5fd19837f77a0403c88cb..074cfc4619353a027507c77b14aba5d21019063a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTest.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTest.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkText.ts b/arkoala-arkts/arkui/src/generated/ArkText.ts index fc862e98db07859f73b223d1352fac4d5a4dc003..c541b48c7f1dbdab8c14b39a186ef5069c4b66a9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkText.ts +++ b/arkoala-arkts/arkui/src/generated/ArkText.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts index 02b1f509b1c540184eddbe2b56fd798763c4cc8f..4e91ee4fac9139c922f67e4e52a6d282990d9b7c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts @@ -19,12 +19,12 @@ import { SelectionOptions } from "./ArkCommonInterfaces" import { LayoutManager } from "./ArkLayoutManagerMaterialized" import { INTERFACE_TextBaseController } from "./SyntheticDeclarations" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts index f2296cd317eaac798ab037e66102df9dc885b263..eb175ac5957e03dacf0922f048298e0ee02c77f6 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { CaretOffset, RectResult } from "./ArkCommonInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkTextControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextControllerMaterialized.ts index 4af17f83f9e96aac7ed218e1350c5793c4a95fc1..96f68df67d9cd9b915bad726b6fc721311b70e05 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextControllerMaterialized.ts @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { StyledString } from "./ArkStyledStringMaterialized" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkTextEditControllerExMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextEditControllerExMaterialized.ts index 2fed44b6adb0fb980e4dbc062d6b468447edc488..2936d3471aa65535afd2245bf553e3a5413eeec3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextEditControllerExMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextEditControllerExMaterialized.ts @@ -18,12 +18,12 @@ import { PreviewText } from "./ArkTextCommonInterfaces" import { INTERFACE_TextEditControllerEx } from "./SyntheticDeclarations" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkTextInput.ts b/arkoala-arkts/arkui/src/generated/ArkTextInput.ts index c30a90a400094a99a6da46397abcbe3b1b5db49a..97be5aa79cecb7e3290e684182b8d23bf6fc2624 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextInput.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextInput.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkTextInputControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextInputControllerMaterialized.ts index de730159fdccebb6cd70c7a16068043baa4ececf..e1c70388031e4742fafed33a5df5cfcfca4507ea 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextInputControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextInputControllerMaterialized.ts @@ -18,12 +18,12 @@ import { TextContentControllerBase } from "./ArkTextContentControllerBaseMaterialized" import { SelectionOptions } from "./ArkCommonInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts index 65dab69790ab9a5b263c27320bca50560a3192a7..232d4844a0c9db21dd92254ab73767e3ce9ca956 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts @@ -18,12 +18,12 @@ import { ResourceStr } from "./ArkUnitsInterfaces" import { Resource } from "./ArkResourceInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkTextPicker.ts b/arkoala-arkts/arkui/src/generated/ArkTextPicker.ts index b64808f2b3e686c20cb0d0b61e5f584a26dfd001..88ab3b1cdfc4e8844c207d0a2a9f995a24ce2d13 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextPicker.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextPicker.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkTextPickerDialogMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextPickerDialogMaterialized.ts index c849236c34ef39167e9cbce6021212e6c2d6af0b..33d412e7fe4f7076935bd0cc21da50caac175390 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextPickerDialogMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextPickerDialogMaterialized.ts @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { TextPickerDialogOptions } from "./ArkTextPickerInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkToggle.ts b/arkoala-arkts/arkui/src/generated/ArkToggle.ts index 14e19ceaa1a4ecf7971d4caced9f608838d6f994..209a8127f35008c6705bb055f766228dc0162757 100644 --- a/arkoala-arkts/arkui/src/generated/ArkToggle.ts +++ b/arkoala-arkts/arkui/src/generated/ArkToggle.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkTransitionEffectMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTransitionEffectMaterialized.ts index 70ec25e6042711ed28418c53efebc38882bb80b0..88bb6567c87fa7ba29f4c27d245b27a38a37d0f8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTransitionEffectMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTransitionEffectMaterialized.ts @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam } from "./ArkCommonInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts index ec7cae49178fb436ad38af4b99317477c5e9c1a1..5c9d9e600034e6c1d7baa059a0b6211e5e6ef927 100644 --- a/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { INTERFACE_UIExtensionProxy } from "./SyntheticDeclarations" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkVector.ts b/arkoala-arkts/arkui/src/generated/ArkVector.ts index 203cfe070952d1951deec190be2d93ad9e8dbac8..7f04122cb432c2d050c648dcfec865d25224ff83 100644 --- a/arkoala-arkts/arkui/src/generated/ArkVector.ts +++ b/arkoala-arkts/arkui/src/generated/ArkVector.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkViewMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkViewMaterialized.ts index 5048ec0e428ade5986e4f2ac958c654c9ebe4e06..e5948d07708c23716d43d1f32b79ced868ffe11b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkViewMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkViewMaterialized.ts @@ -16,12 +16,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ArkWeb.ts b/arkoala-arkts/arkui/src/generated/ArkWeb.ts index 06b3f8a146034af8092b0fbab4ab94e61c77f3cc..b70926301a401fef75c3fa6f0f2f020d61cbc078 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWeb.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWeb.ts @@ -20,7 +20,7 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KBoolean } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ArkUINodeType } from "./peers/ArkUINodeType" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" +import { runtimeType, RuntimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { ComponentBase } from "./ComponentBase" import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" diff --git a/arkoala-arkts/arkui/src/generated/ArkWebResourceResponseMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebResourceResponseMaterialized.ts index 3aafe2a3b2658ea7335d120e5679e13a7cab1374..266a0bc7898e7f7297bd792f84171b4472b22b87 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebResourceResponseMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebResourceResponseMaterialized.ts @@ -17,12 +17,12 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { Resource } from "./ArkResourceInterfaces" +import { Finalizable } from "@koalaui/arkts-framework" import { TypeChecker } from "#components" -import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "@koalaui/arkts-framework" import { NativeModule } from "#components" import { wrapCallback } from "@koalaui/interop" import { CallbackKind } from "./peers/CallbackKind" diff --git a/arkoala-arkts/arkui/src/generated/ComponentBase.ts b/arkoala-arkts/arkui/src/generated/ComponentBase.ts index 0015fa45892c6ba7f971a65360bbd6750e272ae2..8dfb0a8557951dd16ccdc69a51ae57a97536dba6 100644 --- a/arkoala-arkts/arkui/src/generated/ComponentBase.ts +++ b/arkoala-arkts/arkui/src/generated/ComponentBase.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { PeerNode } from './PeerNode' +import { PeerNode } from '@koalaui/arkts-framework' import { NativeModule } from "#components" export class ComponentBase { diff --git a/arkoala-arkts/arkui/src/generated/MaterializedBase.ts b/arkoala-arkts/arkui/src/generated/MaterializedBase.ts index 3f26a861ef8f7094a80963a25d1c9da020752c38..67956eb906f2023ccbee51e546a696ff2656234e 100644 --- a/arkoala-arkts/arkui/src/generated/MaterializedBase.ts +++ b/arkoala-arkts/arkui/src/generated/MaterializedBase.ts @@ -13,7 +13,7 @@ * limitations under the License. */ -import { Finalizable } from "./Finalizable" +import { Finalizable } from "@koalaui/arkts-framework" export interface MaterializedBase { getPeer(): Finalizable | undefined diff --git a/arkoala-arkts/arkui/src/generated/NativePeerNode.ts b/arkoala-arkts/arkui/src/generated/NativePeerNode.ts deleted file mode 100644 index a7736f90b1d3ed8720a0f74a92783c167347f9cb..0000000000000000000000000000000000000000 --- a/arkoala-arkts/arkui/src/generated/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 "#components" - -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-arkts/arkui/src/generated/PeerNode.ts b/arkoala-arkts/arkui/src/generated/PeerNode.ts deleted file mode 100644 index 025b087d2198a3fd586019f3c9775ab97e29e0d7..0000000000000000000000000000000000000000 --- a/arkoala-arkts/arkui/src/generated/PeerNode.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { int32 } from "@koalaui/common" -import { IncrementalNode } from "@koalaui/runtime" -import { ArkUINodeType } from "./peers/ArkUINodeType" -import { NativePeerNode } from "./NativePeerNode" - -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-arkts/arkui/src/generated/arkts/type_check.ts b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts index aa5bf2f97eaac94b6e41026116cc565c213a5698..75406e024e7b39b3beb91b5dc71d541b67ad6d8b 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts @@ -9,7 +9,7 @@ import { CalendarPickerInterface, CalendarPickerAttribute, CalendarAlign } from import { ImageData, RenderingContextSettings, DrawingCanvas, Size, CanvasInterface, CanvasAttribute, CanvasFillRule } from "./../ArkCanvasInterfaces" import { CircleOptions, CircleInterface, CircleAttribute } from "./../ArkCircleInterfaces" import { ColumnOptions, ColumnInterface, ColumnAttribute } from "./../ArkColumnInterfaces" -import { ComponentOptions, InputCounterOptions, TextDecorationOptions, ProvideOptions, IMonitor, AnimatableArithmetic, Configuration, Rectangle, ExpectedFrameRateRange, AnimateParam, MotionPathOptions, sharedTransitionOptions, GeometryTransitionOptions, TranslateOptions, ScaleOptions, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, AlignRuleOption, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, LocalizedAlignRuleOptions, RotateOptions, TransitionOptions, Literal_TransitionEffect_appear_disappear, TransitionEffects, PreviewParams, ItemDragInfo, DragItemInfo, EventTarget, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, BlurOptions, BlurStyleOptions, BackgroundEffectOptions, ForegroundEffectOptions, PickerTextStyle, PickerDialogButtonStyle, ShadowOptions, MultiShadowOptions, BaseEvent, BorderImageOption, ClickEvent, HoverEvent, MouseEvent, AccessibilityHoverEvent, TouchObject, HistoricalPoint, TouchEvent, DragEvent, KeyEvent, BindOptions, DismissContentCoverAction, ContentCoverOptions, SheetTitleOptions, SheetDismiss, DismissSheetAction, SpringBackAction, SheetOptions, StateStyles, PopupMessageOptions, DismissPopupAction, Literal_String_value_Callback_Void_action, Literal_Boolean_isVisible, Literal_ResourceColor_color, PopupOptions, CustomPopupOptions, ContextMenuAnimationOptions, ContextMenuOptions, MenuOptions, TouchTestInfo, TouchResult, PixelStretchEffectOptions, ClickEffect, FadingEdgeOptions, NestedScrollOptions, MenuElement, CommonConfiguration, DragPreviewOptions, DragInteractionOptions, InvertOptions, Literal_Number_offset_span, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, Type_CommonMethod_linearGradient_value, Type_CommonMethod_sweepGradient_value, Type_CommonMethod_radialGradient_value, Literal_Alignment_align, CommonMethod, CommonAttribute, CommonInterface, OverlayOptions, OverlayOffset, CommonShapeMethod, PixelRoundPolicy, LinearGradientBlurOptions, MotionBlurAnchor, MotionBlurOptions, LayoutBorderInfo, LayoutInfo, GeometryInfo, Measurable, SizeResult, MeasureResult, Literal_Empty, CustomComponent, RectResult, CaretOffset, ScrollableCommonMethod, ScrollResult, EdgeEffectOptions, BackgroundBrightnessOptions, PointLightStyle, LightSource, WrappedBuilder, KeyframeAnimateParam, KeyframeState, Callback, VisibleAreaEventOptions, UICommonEvent, UIGestureEvent, SelectionOptions, FinishCallbackType, TouchTestStrategy, TransitionHierarchyStrategy, ChainStyle, TransitionEdge, EffectType, PreDragStatus, SourceType, SourceTool, RepeatMode, BlurStyle, BlurStyleActivePolicy, ThemeColorMode, AdaptiveColor, ModalTransition, ShadowType, ShadowStyle, SafeAreaType, SafeAreaEdge, LayoutSafeAreaType, LayoutSafeAreaEdge, SheetSize, DragBehavior, DragResult, BlendMode, BlendApplyType, SheetType, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, DismissReason, MenuPreviewMode, OutlineStyle, DragPreviewMode, MenuPolicy, ContentClipMode, KeyboardAvoidMode, HoverModeAreaType, IMonitorValue, CustomBuilder, UnifiedData, Summary, IntentionCode, UIContext, AnimationRange, SymbolGlyphModifier, ImageModifier, VisualEffect, Filter, AccessibilityCallback, UniformDataType, CircleShape, EllipseShape, PathShape, RectShape, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, ComponentContent, Blender, VisibleAreaChangeCallback, FractionStop, Theme, Layoutable, NavDestinationInfo, NavigationInfo, RouterPageInfo, HoverCallback, MonitorDecorator, Context, PointerStyle, Tuple_Number_Number, Type_SheetOptions_detents, Tuple_T, Tuple_ResourceColor_Number, Tuple_Length_Length, DrawContext, OnWillScrollCallback, OnScrollCallback, OnMoveHandler } from "./../ArkCommonInterfaces" +import { ComponentOptions, InputCounterOptions, TextDecorationOptions, ProvideOptions, IMonitor, AnimatableArithmetic, Configuration, Rectangle, ExpectedFrameRateRange, AnimateParam, MotionPathOptions, sharedTransitionOptions, GeometryTransitionOptions, TranslateOptions, ScaleOptions, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, AlignRuleOption, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, LocalizedAlignRuleOptions, RotateOptions, TransitionOptions, Literal_TransitionEffect_appear_disappear, TransitionEffects, PreviewParams, ItemDragInfo, DragItemInfo, EventTarget, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, BlurOptions, BlurStyleOptions, BackgroundEffectOptions, ForegroundEffectOptions, PickerTextStyle, PickerDialogButtonStyle, ShadowOptions, MultiShadowOptions, BaseEvent, BorderImageOption, ClickEvent, HoverEvent, MouseEvent, AccessibilityHoverEvent, TouchObject, HistoricalPoint, TouchEvent, DragEvent, KeyEvent, BindOptions, DismissContentCoverAction, ContentCoverOptions, SheetTitleOptions, SheetDismiss, DismissSheetAction, SpringBackAction, SheetOptions, StateStyles, PopupMessageOptions, DismissPopupAction, Literal_String_value_Callback_Void_action, Literal_Boolean_isVisible, Literal_ResourceColor_color, PopupOptions, CustomPopupOptions, ContextMenuAnimationOptions, ContextMenuOptions, MenuOptions, TouchTestInfo, TouchResult, PixelStretchEffectOptions, ClickEffect, FadingEdgeOptions, NestedScrollOptions, MenuElement, CommonConfiguration, DragPreviewOptions, DragInteractionOptions, InvertOptions, Literal_Number_offset_span, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, Type_CommonMethod_linearGradient_value, Type_CommonMethod_sweepGradient_value, Type_CommonMethod_radialGradient_value, Literal_Alignment_align, CommonMethod, CommonAttribute, CommonInterface, OverlayOptions, OverlayOffset, CommonShapeMethod, PixelRoundPolicy, LinearGradientBlurOptions, MotionBlurAnchor, MotionBlurOptions, LayoutBorderInfo, LayoutInfo, GeometryInfo, Measurable, SizeResult, MeasureResult, Literal_Empty, CustomComponent, RectResult, CaretOffset, ScrollableCommonMethod, ScrollResult, EdgeEffectOptions, BackgroundBrightnessOptions, PointLightStyle, LightSource, WrappedBuilder, KeyframeAnimateParam, KeyframeState, Callback, VisibleAreaEventOptions, UICommonEvent, UIGestureEvent, SelectionOptions, FinishCallbackType, TouchTestStrategy, TransitionHierarchyStrategy, ChainStyle, TransitionEdge, EffectType, PreDragStatus, SourceType, SourceTool, RepeatMode, BlurStyle, BlurStyleActivePolicy, ThemeColorMode, AdaptiveColor, ModalTransition, ShadowType, ShadowStyle, SafeAreaType, SafeAreaEdge, LayoutSafeAreaType, LayoutSafeAreaEdge, SheetSize, DragBehavior, DragResult, BlendMode, BlendApplyType, SheetType, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, DismissReason, MenuPreviewMode, OutlineStyle, DragPreviewMode, MenuPolicy, ContentClipMode, KeyboardAvoidMode, HoverModeAreaType, IMonitorValue, CustomBuilder, UnifiedData, Summary, IntentionCode, UIContext, AnimationRange, SymbolGlyphModifier, ImageModifier, VisualEffect, Filter, AccessibilityCallback, UniformDataType, CircleShape, EllipseShape, PathShape, RectShape, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, ComponentContent, Blender, VisibleAreaChangeCallback, FractionStop, Theme, Layoutable, NavDestinationInfo, NavigationInfo, RouterPageInfo, HoverCallback, Context, PointerStyle, Tuple_Number_Number, Type_SheetOptions_detents, Tuple_T, Tuple_ResourceColor_Number, Tuple_Length_Length, DrawContext, OnWillScrollCallback, OnScrollCallback, OnMoveHandler } from "./../ArkCommonInterfaces" import { CounterInterface, CounterAttribute } from "./../ArkCounterInterfaces" import { DividerInterface, DividerAttribute } from "./../ArkDividerInterfaces" import { EllipseOptions, EllipseInterface, EllipseAttribute } from "./../ArkEllipseInterfaces" @@ -64,7 +64,6 @@ import { Padding, LocalizedPadding, EdgeWidths, LocalizedEdgeWidths, EdgeOutline import { Vector1, Vector2, VectorInterface, VectorAttribute } from "./../ArkVectorInterfaces" import { OnHttpErrorReceiveEvent, NativeEmbedInfo, NativeEmbedDataInfo, WebInterface, OnRenderExitedEvent, Literal_Object_detail, WebAttribute, RenderExitReason } from "./../ArkWebInterfaces" import { INTERFACE_CanvasPattern, INTERFACE_ICurve, INTERFACE_PixelMapMock, INTERFACE_AttributeModifier, INTERFACE_GestureModifier, INTERFACE_NavDestinationContext, INTERFACE_NavigationTransitionProxy, INTERFACE_SwiperContentTransitionProxy, INTERFACE_TextBaseController, INTERFACE_TextEditControllerEx, INTERFACE_StyledStringController, INTERFACE_LayoutManager, INTERFACE_EditMenuOptions, INTERFACE_UIExtensionProxy, IMPORT_LengthMetricsUnit_FROM_api_arkui_Graphics, IMPORT_default_FROM_api_application_Context, IMPORT_default_PointerStyle_FROM_api_ohos_multimodalInput_pointer, IMPORT_default_UnifiedData_FROM_api_ohos_data_unifiedDataChannel, IMPORT_default_Summary_FROM_api_ohos_data_unifiedDataChannel, IMPORT_default_UniformDataType_FROM_api_ohos_data_uniformTypeDescriptor, IMPORT_IntentionCode_FROM_api_ohos_multimodalInput_intentionCode, IMPORT_UIContext_FROM_api_ohos_arkui_UIContext, IMPORT_SymbolGlyphModifier_FROM_api_arkui_SymbolGlyphModifier, IMPORT_ImageModifier_FROM_api_arkui_ImageModifier, IMPORT_CircleShape_FROM_api_ohos_arkui_shape, IMPORT_EllipseShape_FROM_api_ohos_arkui_shape, IMPORT_PathShape_FROM_api_ohos_arkui_shape, IMPORT_RectShape_FROM_api_ohos_arkui_shape, IMPORT_default_VisualEffect_FROM_api_ohos_graphics_uiEffect, IMPORT_default_Filter_FROM_api_ohos_graphics_uiEffect, IMPORT_ComponentContent_T_FROM_api_arkui_ComponentContent, IMPORT_default_Blender_FROM_api_ohos_graphics_uiEffect, IMPORT_default_NavDestinationInfo_FROM_api_ohos_arkui_observer, IMPORT_default_NavigationInfo_FROM_api_ohos_arkui_observer, IMPORT_default_RouterPageInfo_FROM_api_ohos_arkui_observer, IMPORT_DrawContext_FROM_api_arkui_Graphics, IMPORT_Theme_FROM_api_ohos_arkui_theme, IMPORT_ErrorCallback_FROM_api_ohos_base, IMPORT_ColorMetrics_FROM_api_arkui_Graphics, IMPORT_DrawableDescriptor_FROM_api_ohos_arkui_drawableDescriptor, IMPORT_default_ColorFilter_FROM_api_ohos_graphics_drawing, IMPORT_default_ResolutionQuality_FROM_api_ohos_multimedia_image, IMPORT_default_Lattice_FROM_api_ohos_graphics_drawing, IMPORT_default_SystemBarStyle_FROM_api_ohos_window, IMPORT_default_Affinity_FROM_api_ohos_graphics_text, IMPORT_default_LineMetrics_FROM_api_ohos_graphics_text, IMPORT_default_TextBox_FROM_api_ohos_graphics_text } from "./../SyntheticDeclarations" -import { MethodDecorator } from "./../ArkStdlibInterfaces" import { Resource } from "./../ArkResourceInterfaces" import { TransitionEffect } from "./../ArkTransitionEffectMaterialized" import { CanvasRenderingContext2D } from "./../ArkCanvasRenderingContext2DMaterialized" diff --git a/arkoala-arkts/arkui/src/generated/peer_events.ts b/arkoala-arkts/arkui/src/generated/peer_events.ts index da23ccc66715f8759bc73826328d56e743d6bf00..d8a4c3731cebb164c5d31b8539e62a66e013cf05 100644 --- a/arkoala-arkts/arkui/src/generated/peer_events.ts +++ b/arkoala-arkts/arkui/src/generated/peer_events.ts @@ -3,12 +3,11 @@ import { int32 } from "@koalaui/common" import { KStringPtr, KPointer } from "@koalaui/interop" import { NodeController, TextModifier, PixelMap, Want, LengthUnit, LengthMetrics } from "./ArkArkui-externalInterfaces" import { Serializer, Deserializer, CallbackBuffer, CallbackResourceHolder, Tag, GENERATED_ArkUIEventsAPI, CallbackKind } from "./ArkInterop-typesInterfaces" -import { MethodDecorator } from "./ArkStdlibInterfaces" import { DialogButtonStyle, Color, WordBreak, BorderStyle, TextOverflow, TextHeightAdaptivePolicy, FontWeight, FontStyle, HorizontalAlign, FlexAlign, TextDecorationType, TextDecorationStyle, Curve, PlayMode, SharedTransitionEffectType, VerticalAlign, TransitionType, ColoringStrategy, MouseButton, MouseAction, AccessibilityHoverType, TouchType, KeyType, KeySource, Placement, ArrowPointPosition, ClickEffectLevel, NestedScrollMode, GradientDirection, HitTestMode, Alignment, ImageSize, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, LineCapStyle, LineJoinStyle, PixelRoundCalcPolicy, BarState, EdgeEffect, ScrollSource, IlluminatedType, EmbeddedType, Nullable, FlexDirection, FlexWrap, ImageFit, CopyOptions, TitleHeight, TextAlign, LineBreakStrategy, ImageSpanAlignment, Edge, TextCase, TextContentStyle } from "./ArkEnumsInterfaces" import { ResourceStr, ResourceColor, VoidCallback, Offset, Dimension, PX, VP, FP, LPX, Percentage, BorderRadiuses, LocalizedBorderRadiuses, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, EdgeStyles, Font, Length, LengthMetricsUnit, Bias, Area, SizeOptions, Position, Margin, Padding, ConstraintSizeOptions, ChainWeightOptions, LocalizedPadding, LocalizedMargin, BorderOptions, OutlineOptions, EdgeOutlineStyles, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, EdgeWidth, DirectionalEdgesT, ColorMetrics, ColorFilter, LengthConstrain, Degree, MarkStyle, TouchPoint, DividerStyleOptions } from "./ArkUnitsInterfaces" import { Resource } from "./ArkResourceInterfaces" import { AlertDialogButtonBaseOptions, AlertDialogButtonOptions, TextStyle_alert_dialog, DismissDialogAction, DialogAlignment, AlertDialogParam, AlertDialogParamWithConfirm, AlertDialogParamWithButtons, DialogButtonDirection, AlertDialogParamWithOptions } from "./ArkAlertDialogInterfaces" -import { Rectangle, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, DismissReason, CommonMethod, CommonConfiguration, CommonShapeMethod, PointLightStyle, ComponentOptions, InputCounterOptions, TextDecorationOptions, ProvideOptions, MonitorDecorator, IMonitorValue, IMonitor, AnimatableArithmetic, Context, Configuration, ExpectedFrameRateRange, FinishCallbackType, AnimateParam, MotionPathOptions, sharedTransitionOptions, TransitionHierarchyStrategy, GeometryTransitionOptions, TranslateOptions, ScaleOptions, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, AlignRuleOption, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, LocalizedAlignRuleOptions, RotateOptions, TransitionOptions, Literal_TransitionEffect_appear_disappear, TransitionEdge, TransitionEffects, PreviewParams, ItemDragInfo, CustomBuilder, DragItemInfo, PointerStyle, EventTarget, BlurStyleOptions, BlurStyleActivePolicy, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, Tuple_Number_Number, BlurOptions, ThemeColorMode, AdaptiveColor, BackgroundEffectOptions, ForegroundEffectOptions, PickerTextStyle, PickerDialogButtonStyle, ShadowType, MultiShadowOptions, SourceType, SourceTool, BaseEvent, RepeatMode, BorderImageOption, ClickEvent, HoverEvent, MouseEvent, AccessibilityHoverEvent, TouchObject, HistoricalPoint, TouchEvent, SizeChangeCallback, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, TransitionFinishCallback, UnifiedData, Summary, UniformDataType, DragBehavior, DragResult, DragEvent, IntentionCode, KeyEvent, BindOptions, DismissContentCoverAction, ModalTransition, ContentCoverOptions, SheetTitleOptions, SheetDismiss, DismissSheetAction, SpringBackAction, SheetSize, Type_SheetOptions_detents, SheetType, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SheetOptions, StateStyles, PopupMessageOptions, DismissPopupAction, Literal_String_value_Callback_Void_action, Literal_Boolean_isVisible, Literal_ResourceColor_color, PopupOptions, CustomPopupOptions, AnimationRange, ContextMenuAnimationOptions, MenuPreviewMode, ContextMenuOptions, MenuOptions, RectResult, TouchTestInfo, TouchTestStrategy, TouchResult, PixelStretchEffectOptions, ClickEffect, FadingEdgeOptions, NestedScrollOptions, SymbolGlyphModifier, MenuElement, Tuple_T, ImageModifier, DragPreviewMode, DragPreviewOptions, DragInteractionOptions, InvertOptions, CircleShape, EllipseShape, PathShape, RectShape, Literal_Number_offset_span, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, PreDragStatus, Tuple_ResourceColor_Number, Type_CommonMethod_linearGradient_value, Tuple_Length_Length, Type_CommonMethod_sweepGradient_value, Type_CommonMethod_radialGradient_value, Literal_Alignment_align, PixelRoundPolicy, VisualEffect, Filter, OutlineStyle, AccessibilityCallback, MotionBlurOptions, BackgroundBrightnessOptions, SafeAreaType, SafeAreaEdge, LinearGradientBlurOptions, EffectType, ChainStyle, ComponentContent, OverlayOptions, BlendMode, BlendApplyType, Blender, VisibleAreaChangeCallback, CommonAttribute, CommonInterface, OverlayOffset, FractionStop, MotionBlurAnchor, LayoutBorderInfo, LayoutInfo, SizeResult, GeometryInfo, MeasureResult, Measurable, NavDestinationInfo, NavigationInfo, RouterPageInfo, DrawContext, Theme, Literal_Empty, Layoutable, CustomComponent, CaretOffset, ContentClipMode, EdgeEffectOptions, ScrollableCommonMethod, ScrollResult, OnWillScrollCallback, OnScrollCallback, OnMoveHandler, LightSource, WrappedBuilder, KeyframeAnimateParam, KeyframeState, Callback, HoverCallback, VisibleAreaEventOptions, UICommonEvent, UIGestureEvent, MenuPolicy, SelectionOptions, LayoutSafeAreaType, LayoutSafeAreaEdge } from "./ArkCommonInterfaces" +import { Rectangle, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, DismissReason, CommonMethod, CommonConfiguration, CommonShapeMethod, PointLightStyle, ComponentOptions, InputCounterOptions, TextDecorationOptions, ProvideOptions, IMonitorValue, IMonitor, AnimatableArithmetic, Context, Configuration, ExpectedFrameRateRange, FinishCallbackType, AnimateParam, MotionPathOptions, sharedTransitionOptions, TransitionHierarchyStrategy, GeometryTransitionOptions, TranslateOptions, ScaleOptions, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, AlignRuleOption, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, LocalizedAlignRuleOptions, RotateOptions, TransitionOptions, Literal_TransitionEffect_appear_disappear, TransitionEdge, TransitionEffects, PreviewParams, ItemDragInfo, CustomBuilder, DragItemInfo, PointerStyle, EventTarget, BlurStyleOptions, BlurStyleActivePolicy, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, Tuple_Number_Number, BlurOptions, ThemeColorMode, AdaptiveColor, BackgroundEffectOptions, ForegroundEffectOptions, PickerTextStyle, PickerDialogButtonStyle, ShadowType, MultiShadowOptions, SourceType, SourceTool, BaseEvent, RepeatMode, BorderImageOption, ClickEvent, HoverEvent, MouseEvent, AccessibilityHoverEvent, TouchObject, HistoricalPoint, TouchEvent, SizeChangeCallback, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, TransitionFinishCallback, UnifiedData, Summary, UniformDataType, DragBehavior, DragResult, DragEvent, IntentionCode, KeyEvent, BindOptions, DismissContentCoverAction, ModalTransition, ContentCoverOptions, SheetTitleOptions, SheetDismiss, DismissSheetAction, SpringBackAction, SheetSize, Type_SheetOptions_detents, SheetType, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, SheetOptions, StateStyles, PopupMessageOptions, DismissPopupAction, Literal_String_value_Callback_Void_action, Literal_Boolean_isVisible, Literal_ResourceColor_color, PopupOptions, CustomPopupOptions, AnimationRange, ContextMenuAnimationOptions, MenuPreviewMode, ContextMenuOptions, MenuOptions, RectResult, TouchTestInfo, TouchTestStrategy, TouchResult, PixelStretchEffectOptions, ClickEffect, FadingEdgeOptions, NestedScrollOptions, SymbolGlyphModifier, MenuElement, Tuple_T, ImageModifier, DragPreviewMode, DragPreviewOptions, DragInteractionOptions, InvertOptions, CircleShape, EllipseShape, PathShape, RectShape, Literal_Number_offset_span, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, PreDragStatus, Tuple_ResourceColor_Number, Type_CommonMethod_linearGradient_value, Tuple_Length_Length, Type_CommonMethod_sweepGradient_value, Type_CommonMethod_radialGradient_value, Literal_Alignment_align, PixelRoundPolicy, VisualEffect, Filter, OutlineStyle, AccessibilityCallback, MotionBlurOptions, BackgroundBrightnessOptions, SafeAreaType, SafeAreaEdge, LinearGradientBlurOptions, EffectType, ChainStyle, ComponentContent, OverlayOptions, BlendMode, BlendApplyType, Blender, VisibleAreaChangeCallback, CommonAttribute, CommonInterface, OverlayOffset, FractionStop, MotionBlurAnchor, LayoutBorderInfo, LayoutInfo, SizeResult, GeometryInfo, MeasureResult, Measurable, NavDestinationInfo, NavigationInfo, RouterPageInfo, DrawContext, Theme, Literal_Empty, Layoutable, CustomComponent, CaretOffset, ContentClipMode, EdgeEffectOptions, ScrollableCommonMethod, ScrollResult, OnWillScrollCallback, OnScrollCallback, OnMoveHandler, LightSource, WrappedBuilder, KeyframeAnimateParam, KeyframeState, Callback, HoverCallback, VisibleAreaEventOptions, UICommonEvent, UIGestureEvent, MenuPolicy, SelectionOptions, LayoutSafeAreaType, LayoutSafeAreaEdge } from "./ArkCommonInterfaces" import { TransitionEffect } from "./ArkTransitionEffectMaterialized" import { BlankAttribute, BlankInterface } from "./ArkBlankInterfaces" import { ButtonTriggerClickCallback, ButtonConfiguration, ButtonType, ButtonStyleMode, ControlSize, ButtonRole, ButtonOptions, ButtonAttribute, ButtonInterface, LabelStyle } from "./ArkButtonInterfaces" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkBlankPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkBlankPeer.ts index bd91f42464a431583782b7df4f63b412cf648acc..0c7c9a59fbfe4a171b71d66f2223380a1d4f050a 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkBlankPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkBlankPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { BlankAttribute, BlankInterface } from "./../ArkBlankInterfaces" import { CommonMethod } from "./../ArkCommonInterfaces" @@ -32,7 +32,7 @@ import { Resource } from "./../ArkResourceInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkButtonPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkButtonPeer.ts index 8f5f22729f25ddeb387e8369de6508862f4a6221..2feb54f0766e84b16fb53588b269ab768c179761 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkButtonPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkButtonPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { ButtonTriggerClickCallback, ButtonConfiguration, ButtonType, ButtonStyleMode, ControlSize, ButtonRole, ButtonOptions, ButtonAttribute, ButtonInterface, LabelStyle } from "./../ArkButtonInterfaces" import { CommonConfiguration, CommonMethod } from "./../ArkCommonInterfaces" @@ -33,7 +33,7 @@ import { ContentModifier } from "./../ConflictedDeclarations" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPickerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPickerPeer.ts index 65f16c235bc30b4f7b2777b6a103354b9199b8b6..fca810e3d56540d2959e80b2a9229c073f094816 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPickerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPickerPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CalendarPickerAttribute, CalendarPickerInterface, CalendarAlign } from "./../ArkCalendarPickerInterfaces" import { CommonMethod } from "./../ArkCommonInterfaces" @@ -30,7 +30,7 @@ import { Offset } from "./../ArkUnitsInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCanvasPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCanvasPeer.ts index c5964cc350bc0e29a33406d38f332140d469e3ff..80a9f32b3c19a40da49e6192c7b0b9c267ef1b33 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCanvasPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCanvasPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CanvasFillRule, ImageData, RenderingContextSettings, DrawingCanvas, Size, CanvasAttribute, CanvasInterface } from "./../ArkCanvasInterfaces" import { LengthMetricsUnit } from "./../ArkUnitsInterfaces" @@ -33,7 +33,7 @@ import { CommonMethod } from "./../ArkCommonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCirclePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCirclePeer.ts index e0d83d6db9d45fc2886e0cf789c05f370af9532a..e5de79d9eda7fd431a3026a63f45b00d1c76e9f8 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCirclePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCirclePeer.ts @@ -18,18 +18,18 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CircleOptions, CircleAttribute, CircleInterface } from "./../ArkCircleInterfaces" import { CommonShapeMethod } from "./../ArkCommonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkColumnPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkColumnPeer.ts index ff2b5623f4f23864a4fa735fbc8d9775677e0824..ad564139674ef033e0643b0bf2f416b89b46b6c7 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkColumnPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkColumnPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { ColumnOptions, ColumnAttribute, ColumnInterface } from "./../ArkColumnInterfaces" import { CommonMethod, PointLightStyle } from "./../ArkCommonInterfaces" @@ -30,7 +30,7 @@ import { HorizontalAlign, FlexAlign } from "./../ArkEnumsInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts index 5f0ac0c46679a9b5aae3a60253ffd984157cf5e6..c68af5d7cb5d25be248eb8ba9e82b07fd5b1f343 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts @@ -18,17 +18,16 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { PeerNode } from "./../PeerNode" -import { ComponentOptions, InputCounterOptions, TextDecorationOptions, ProvideOptions, MonitorDecorator, IMonitorValue, IMonitor, AnimatableArithmetic, Context, Configuration, Rectangle, ExpectedFrameRateRange, FinishCallbackType, AnimateParam, MotionPathOptions, sharedTransitionOptions, TransitionHierarchyStrategy, GeometryTransitionOptions, TranslateOptions, ScaleOptions, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, AlignRuleOption, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, LocalizedAlignRuleOptions, RotateOptions, TransitionOptions, Literal_TransitionEffect_appear_disappear, TransitionEdge, TransitionEffects, PreviewParams, ItemDragInfo, CustomBuilder, DragItemInfo, PointerStyle, EventTarget, BlurStyleOptions, BlurStyleActivePolicy, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, Tuple_Number_Number, BlurOptions, ThemeColorMode, AdaptiveColor, BackgroundEffectOptions, ForegroundEffectOptions, PickerTextStyle, PickerDialogButtonStyle, ShadowType, ShadowOptions, MultiShadowOptions, SourceType, SourceTool, BaseEvent, RepeatMode, BorderImageOption, ClickEvent, HoverEvent, MouseEvent, AccessibilityHoverEvent, TouchObject, HistoricalPoint, TouchEvent, SizeChangeCallback, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, TransitionFinishCallback, UnifiedData, Summary, UniformDataType, DragBehavior, DragResult, DragEvent, IntentionCode, KeyEvent, BindOptions, DismissReason, DismissContentCoverAction, ModalTransition, ContentCoverOptions, SheetTitleOptions, SheetDismiss, DismissSheetAction, SpringBackAction, SheetSize, Type_SheetOptions_detents, SheetType, BlurStyle, ShadowStyle, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, HoverModeAreaType, SheetOptions, StateStyles, PopupMessageOptions, DismissPopupAction, Literal_String_value_Callback_Void_action, Literal_Boolean_isVisible, Literal_ResourceColor_color, PopupOptions, CustomPopupOptions, AnimationRange, ContextMenuAnimationOptions, MenuPreviewMode, ContextMenuOptions, MenuOptions, RectResult, TouchTestInfo, TouchTestStrategy, TouchResult, PixelStretchEffectOptions, ClickEffect, FadingEdgeOptions, NestedScrollOptions, SymbolGlyphModifier, MenuElement, Tuple_T, CommonConfiguration, ImageModifier, DragPreviewMode, DragPreviewOptions, DragInteractionOptions, InvertOptions, CircleShape, EllipseShape, PathShape, RectShape, Literal_Number_offset_span, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, PreDragStatus, Tuple_ResourceColor_Number, Type_CommonMethod_linearGradient_value, Tuple_Length_Length, Type_CommonMethod_sweepGradient_value, Type_CommonMethod_radialGradient_value, Literal_Alignment_align, PixelRoundPolicy, VisualEffect, Filter, OutlineStyle, AccessibilityCallback, MotionBlurOptions, BackgroundBrightnessOptions, SafeAreaType, SafeAreaEdge, LinearGradientBlurOptions, EffectType, ChainStyle, ComponentContent, OverlayOptions, BlendMode, BlendApplyType, Blender, VisibleAreaChangeCallback, CommonMethod, CommonAttribute, CommonInterface, OverlayOffset, FractionStop, CommonShapeMethod, MotionBlurAnchor, LayoutBorderInfo, LayoutInfo, SizeResult, GeometryInfo, MeasureResult, Measurable, NavDestinationInfo, NavigationInfo, RouterPageInfo, DrawContext, Theme, Literal_Empty, Layoutable, CustomComponent, CaretOffset, ContentClipMode, EdgeEffectOptions, ScrollableCommonMethod, ScrollResult, OnWillScrollCallback, OnScrollCallback, OnMoveHandler, LightSource, PointLightStyle, WrappedBuilder, KeyframeAnimateParam, KeyframeState, Callback, HoverCallback, VisibleAreaEventOptions, UICommonEvent, UIGestureEvent, MenuPolicy, SelectionOptions } from "./../ArkCommonInterfaces" +import { ComponentOptions, InputCounterOptions, TextDecorationOptions, ProvideOptions, IMonitorValue, IMonitor, AnimatableArithmetic, Context, Configuration, Rectangle, ExpectedFrameRateRange, FinishCallbackType, AnimateParam, MotionPathOptions, sharedTransitionOptions, TransitionHierarchyStrategy, GeometryTransitionOptions, TranslateOptions, ScaleOptions, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, AlignRuleOption, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, LocalizedAlignRuleOptions, RotateOptions, TransitionOptions, Literal_TransitionEffect_appear_disappear, TransitionEdge, TransitionEffects, PreviewParams, ItemDragInfo, CustomBuilder, DragItemInfo, PointerStyle, EventTarget, BlurStyleOptions, BlurStyleActivePolicy, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, Tuple_Number_Number, BlurOptions, ThemeColorMode, AdaptiveColor, BackgroundEffectOptions, ForegroundEffectOptions, PickerTextStyle, PickerDialogButtonStyle, ShadowType, ShadowOptions, MultiShadowOptions, SourceType, SourceTool, BaseEvent, RepeatMode, BorderImageOption, ClickEvent, HoverEvent, MouseEvent, AccessibilityHoverEvent, TouchObject, HistoricalPoint, TouchEvent, SizeChangeCallback, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, TransitionFinishCallback, UnifiedData, Summary, UniformDataType, DragBehavior, DragResult, DragEvent, IntentionCode, KeyEvent, BindOptions, DismissReason, DismissContentCoverAction, ModalTransition, ContentCoverOptions, SheetTitleOptions, SheetDismiss, DismissSheetAction, SpringBackAction, SheetSize, Type_SheetOptions_detents, SheetType, BlurStyle, ShadowStyle, SheetMode, ScrollSizeMode, UIContext, SheetKeyboardAvoidMode, HoverModeAreaType, SheetOptions, StateStyles, PopupMessageOptions, DismissPopupAction, Literal_String_value_Callback_Void_action, Literal_Boolean_isVisible, Literal_ResourceColor_color, PopupOptions, CustomPopupOptions, AnimationRange, ContextMenuAnimationOptions, MenuPreviewMode, ContextMenuOptions, MenuOptions, RectResult, TouchTestInfo, TouchTestStrategy, TouchResult, PixelStretchEffectOptions, ClickEffect, FadingEdgeOptions, NestedScrollOptions, SymbolGlyphModifier, MenuElement, Tuple_T, CommonConfiguration, ImageModifier, DragPreviewMode, DragPreviewOptions, DragInteractionOptions, InvertOptions, CircleShape, EllipseShape, PathShape, RectShape, Literal_Number_offset_span, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, PreDragStatus, Tuple_ResourceColor_Number, Type_CommonMethod_linearGradient_value, Tuple_Length_Length, Type_CommonMethod_sweepGradient_value, Type_CommonMethod_radialGradient_value, Literal_Alignment_align, PixelRoundPolicy, VisualEffect, Filter, OutlineStyle, AccessibilityCallback, MotionBlurOptions, BackgroundBrightnessOptions, SafeAreaType, SafeAreaEdge, LinearGradientBlurOptions, EffectType, ChainStyle, ComponentContent, OverlayOptions, BlendMode, BlendApplyType, Blender, VisibleAreaChangeCallback, CommonMethod, CommonAttribute, CommonInterface, OverlayOffset, FractionStop, CommonShapeMethod, MotionBlurAnchor, LayoutBorderInfo, LayoutInfo, SizeResult, GeometryInfo, MeasureResult, Measurable, NavDestinationInfo, NavigationInfo, RouterPageInfo, DrawContext, Theme, Literal_Empty, Layoutable, CustomComponent, CaretOffset, ContentClipMode, EdgeEffectOptions, ScrollableCommonMethod, ScrollResult, OnWillScrollCallback, OnScrollCallback, OnMoveHandler, LightSource, PointLightStyle, WrappedBuilder, KeyframeAnimateParam, KeyframeState, Callback, HoverCallback, VisibleAreaEventOptions, UICommonEvent, UIGestureEvent, MenuPolicy, SelectionOptions } from "./../ArkCommonInterfaces" import { TextDecorationType, Color, TextDecorationStyle, Curve, PlayMode, SharedTransitionEffectType, HorizontalAlign, VerticalAlign, TransitionType, FontWeight, FontStyle, ColoringStrategy, MouseButton, MouseAction, AccessibilityHoverType, TouchType, KeyType, KeySource, BorderStyle, Placement, ArrowPointPosition, ClickEffectLevel, NestedScrollMode, GradientDirection, HitTestMode, Alignment, ImageSize, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, LineCapStyle, LineJoinStyle, PixelRoundCalcPolicy, BarState, EdgeEffect, ScrollSource, IlluminatedType } from "./../ArkEnumsInterfaces" import { ResourceColor, Length, Bias, Area, Font, BorderRadiuses, EdgeWidths, LocalizedEdgeWidths, SizeOptions, ResourceStr, Dimension, PX, VP, FP, LPX, Percentage, EdgeColors, LocalizedEdgeColors, EdgeStyles, Position, LocalizedBorderRadiuses, Margin, Padding, ConstraintSizeOptions, ChainWeightOptions, LocalizedPadding, LocalizedMargin, BorderOptions, OutlineOptions, EdgeOutlineStyles, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, EdgeWidth, DirectionalEdgesT } from "./../ArkUnitsInterfaces" import { Resource } from "./../ArkResourceInterfaces" -import { MethodDecorator } from "./../ArkStdlibInterfaces" import { IMPORT_default_FROM_api_application_Context, IMPORT_default_PointerStyle_FROM_api_ohos_multimodalInput_pointer, IMPORT_default_UnifiedData_FROM_api_ohos_data_unifiedDataChannel, IMPORT_default_Summary_FROM_api_ohos_data_unifiedDataChannel, IMPORT_default_UniformDataType_FROM_api_ohos_data_uniformTypeDescriptor, IMPORT_IntentionCode_FROM_api_ohos_multimodalInput_intentionCode, IMPORT_UIContext_FROM_api_ohos_arkui_UIContext, IMPORT_SymbolGlyphModifier_FROM_api_arkui_SymbolGlyphModifier, IMPORT_ImageModifier_FROM_api_arkui_ImageModifier, IMPORT_CircleShape_FROM_api_ohos_arkui_shape, IMPORT_EllipseShape_FROM_api_ohos_arkui_shape, IMPORT_PathShape_FROM_api_ohos_arkui_shape, IMPORT_RectShape_FROM_api_ohos_arkui_shape, IMPORT_default_VisualEffect_FROM_api_ohos_graphics_uiEffect, IMPORT_default_Filter_FROM_api_ohos_graphics_uiEffect, IMPORT_ComponentContent_T_FROM_api_arkui_ComponentContent, IMPORT_default_Blender_FROM_api_ohos_graphics_uiEffect, IMPORT_default_NavDestinationInfo_FROM_api_ohos_arkui_observer, IMPORT_default_NavigationInfo_FROM_api_ohos_arkui_observer, IMPORT_default_RouterPageInfo_FROM_api_ohos_arkui_observer, IMPORT_DrawContext_FROM_api_arkui_Graphics, IMPORT_Theme_FROM_api_ohos_arkui_theme } from "./../SyntheticDeclarations" import { ICurve } from "./../ArkICurveMaterialized" import { TransitionEffect } from "./../ArkTransitionEffectMaterialized" @@ -52,7 +51,7 @@ import { ScrollOnWillScrollCallback } from "./../ArkScrollInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCounterPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCounterPeer.ts index 24f3851c5fcda9755e645226caa77229b15f57c5..8cee8151e8edd34b46e9821e53c75840d1807ba9 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCounterPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCounterPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CounterAttribute, CounterInterface } from "./../ArkCounterInterfaces" import { CommonMethod } from "./../ArkCommonInterfaces" @@ -30,7 +30,7 @@ import { VoidCallback } from "./../ArkUnitsInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkDividerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkDividerPeer.ts index 43052cc32a079eb86220f3ef2343b41d74c44cd2..9febe7f4c2132d6d493321ce18e7ecda731048da 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkDividerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkDividerPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { DividerAttribute, DividerInterface } from "./../ArkDividerInterfaces" import { CommonMethod } from "./../ArkCommonInterfaces" @@ -32,7 +32,7 @@ import { Resource } from "./../ArkResourceInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkEllipsePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkEllipsePeer.ts index c92807f5fce5bf74aac62f87100e7684b82b22e7..ffdef5c622220bb73c570b70d6198e72193b61b8 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkEllipsePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkEllipsePeer.ts @@ -18,18 +18,18 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { EllipseOptions, EllipseAttribute, EllipseInterface } from "./../ArkEllipseInterfaces" import { CommonShapeMethod } from "./../ArkCommonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkEmbeddedComponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkEmbeddedComponentPeer.ts index 0e571c25c1a10b0069777662ec5e4957a90b8aa2..5df90efcd061ba4bc25c1707b070ac31bdddf1d8 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkEmbeddedComponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkEmbeddedComponentPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { Want } from "./../ArkArkui-externalInterfaces" import { EmbeddedType } from "./../ArkEnumsInterfaces" @@ -32,7 +32,7 @@ import { IMPORT_ErrorCallback_FROM_api_ohos_base } from "./../SyntheticDeclarati import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkFlexPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkFlexPeer.ts index 35072c777e34a2725bd45095c9471e6b1e39b579..8df3885bf09c9617495fea9e78dfb37a3dc6f903 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkFlexPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkFlexPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { FlexDirection, FlexWrap, FlexAlign, ItemAlign } from "./../ArkEnumsInterfaces" import { FlexSpaceOptions, FlexOptions, FlexAttribute, FlexInterface } from "./../ArkFlexInterfaces" @@ -31,7 +31,7 @@ import { CommonMethod, PointLightStyle } from "./../ArkCommonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkFormComponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkFormComponentPeer.ts index 9998179eb7805beb8dd8d72633a8f098aa9a6918..3a9e7e9650edbaeaaff91d842a6827573cd128d7 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkFormComponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkFormComponentPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { FormCallbackInfo, FormComponentAttribute, FormComponentInterface, Literal_Number_height_width } from "./../ArkFormComponentInterfaces" import { CommonMethod } from "./../ArkCommonInterfaces" @@ -30,7 +30,7 @@ import { SizeOptions } from "./../ArkUnitsInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkGridContainerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkGridContainerPeer.ts index e9e3b555a465e650da6ee4ad1c6f7ad3376f17ba..b4f892abfd8ff32ac7379bc3668424c940e9af74 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkGridContainerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkGridContainerPeer.ts @@ -18,18 +18,18 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkColumnPeer, ArkColumnAttributes } from "./ArkColumnPeer" import { SizeType, GridContainerOptions, GridContainerAttribute, GridContainerInterface } from "./../ArkGridContainerInterfaces" import { ColumnAttribute } from "./../ArkColumnInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkGridItemPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkGridItemPeer.ts index ba86852764c426b7411ab4ecb6b2d310080931b1..9137d30955156787acf407588d472e12e3a5e8d1 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkGridItemPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkGridItemPeer.ts @@ -18,18 +18,18 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { GridItemAttribute, GridItemInterface } from "./../ArkGridItemInterfaces" import { CommonMethod } from "./../ArkCommonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkGridPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkGridPeer.ts index 71a52271299e6142c09e7893e0255138df61ef5a..e56acc4de84025b3c0c1713ae465e2c1313f358f 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkGridPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkGridPeer.ts @@ -18,18 +18,18 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkScrollableCommonMethodPeer, ArkScrollableCommonMethodAttributes } from "./ArkCommonPeer" import { GridAttribute, GridInterface } from "./../ArkGridInterfaces" import { ScrollableCommonMethod } from "./../ArkCommonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkImagePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkImagePeer.ts index f62318aa26b9bbe7180dffaf3b4732a12afeccf3..a0830e8a41c2e3ff7b73a1a1ca44a641807dc3cd 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkImagePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkImagePeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { IMPORT_DrawableDescriptor_FROM_api_ohos_arkui_drawableDescriptor, IMPORT_default_ColorFilter_FROM_api_ohos_graphics_drawing, IMPORT_default_ResolutionQuality_FROM_api_ohos_multimedia_image, IMPORT_default_Lattice_FROM_api_ohos_graphics_drawing } from "./../SyntheticDeclarations" import { DrawableDescriptor, DrawingColorFilter, ResolutionQuality, DrawingLattice, ImageAttribute, ImageContent, ImageInterface, ImageSourceSize, Type_ImageAttribute_onComplete_callback_event, ImageRenderMode, DynamicRangeMode, ImageInterpolation, ImageErrorCallback, ResizableOptions, ImageRotateOrientation, ImageError } from "./../ArkImageInterfaces" @@ -35,7 +35,7 @@ import { Color, ImageFit, ImageRepeat, CopyOptions } from "./../ArkEnumsInterfac import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkIndicatorcomponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkIndicatorcomponentPeer.ts index 57c446e63bbd00955eaa4c2d70719def241441e7..bedfdd58f1f9c8639e6f1bf2b48e9f887cedde78 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkIndicatorcomponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkIndicatorcomponentPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { IndicatorComponentController } from "./../ArkIndicatorComponentControllerMaterialized" import { IndicatorComponentAttribute, IndicatorComponentInterface } from "./../ArkIndicatorcomponentInterfaces" @@ -32,7 +32,7 @@ import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkListItemPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkListItemPeer.ts index 6bb0b6048f24bc557b9dc7df17e1f8510173abd7..20bfebec1230400fdf385a914972750b2a832415 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkListItemPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkListItemPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { SwipeActionState, SwipeActionItem, SwipeEdgeEffect, SwipeActionOptions, ListItemStyle, ListItemOptions, ListItemAttribute, ListItemInterface, Sticky, EditMode } from "./../ArkListItemInterfaces" import { CustomBuilder, CommonMethod } from "./../ArkCommonInterfaces" @@ -31,7 +31,7 @@ import { Resource } from "./../ArkResourceInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkListPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkListPeer.ts index 492e358c9df11f26c25efbadae1e35cf52db812f..63f7f7414ddde73d3bfbb0872123ce45e8cb2f05 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkListPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkListPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkScrollableCommonMethodPeer, ArkScrollableCommonMethodAttributes } from "./ArkCommonPeer" import { Length, ResourceColor, LengthConstrain, Dimension, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" import { Resource } from "./../ArkResourceInterfaces" @@ -34,7 +34,7 @@ import { ChildrenMainSize } from "./../ArkChildrenMainSizeMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkNavDestinationPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkNavDestinationPeer.ts index fb08ad7c3ba1f19a54cdc029e0d1cf4e20f7a81d..ffb4f1cf0770a62c035ed9003b413d6aab715f47 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkNavDestinationPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkNavDestinationPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { NavDestinationCommonTitle, NavDestinationCustomTitle, NavDestinationAttribute, NavDestinationInterface, RouteMapConfig, NavDestinationMode } from "./../ArkNavDestinationInterfaces" import { CustomBuilder, CommonMethod, SymbolGlyphModifier, LayoutSafeAreaType, LayoutSafeAreaEdge } from "./../ArkCommonInterfaces" @@ -36,7 +36,7 @@ import { NavigationMenuItem, SystemBarStyle, NavigationTitleOptions } from "./.. import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkNavigationPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkNavigationPeer.ts index 7ba1ef5cbb208aefe50e5456fd893ea74f998eb3..5a30491e9b1c7de42344ab27230ec0a603ff9d0c 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkNavigationPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkNavigationPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { IMPORT_default_SystemBarStyle_FROM_api_ohos_window, IMPORT_SymbolGlyphModifier_FROM_api_arkui_SymbolGlyphModifier } from "./../SyntheticDeclarations" import { SystemBarStyle, NavigationCommonTitle, NavigationCustomTitle, NavigationMenuItem, NavPathInfo, PopInfo, LaunchMode, NavigationOptions, NavBar, NavigationOperation, InterceptionShowCallback, NavigationMode, InterceptionModeCallback, NavigationInterception, NavigationAttribute, NavigationInterface, ToolbarItemStatus, ToolbarItem, BarStyle, NavigationTitleOptions, NavigationToolbarOptions, Tuple_Dimension_Dimension, NavigationTitleMode, NavContentInfo, NavigationAnimatedTransition, NavBarPosition } from "./../ArkNavigationInterfaces" @@ -38,7 +38,7 @@ import { NavDestinationMode } from "./../ArkNavDestinationInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkNavigatorPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkNavigatorPeer.ts index 8ff16356acafb183f9d427f7374e4ba7f9232ff4..b0289a2858ffc8bb06848900e18d4644acfa705f 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkNavigatorPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkNavigatorPeer.ts @@ -18,18 +18,18 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { NavigationType, Literal_String_target_NavigationType_type, NavigatorAttribute, NavigatorInterface } from "./../ArkNavigatorInterfaces" import { CommonMethod } from "./../ArkCommonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkPathPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkPathPeer.ts index 24a525f2aa88e789ec11616797963d560bada8fa..e443295ddf02d5c2030532d8748a5b85287370d6 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkPathPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkPathPeer.ts @@ -18,18 +18,18 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { PathOptions, PathAttribute, PathInterface } from "./../ArkPathInterfaces" import { CommonShapeMethod } from "./../ArkCommonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRectPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRectPeer.ts index 6d8be24a9d819a34243b17c28bab01cad7b2e901..81ccf3ead9d23b739acb6d9f44d18a315d003024 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRectPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRectPeer.ts @@ -18,18 +18,18 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { RectOptions, RoundedRectOptions, RectAttribute, RectInterface } from "./../ArkRectInterfaces" import { CommonShapeMethod } from "./../ArkCommonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRichEditorPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRichEditorPeer.ts index dcce9948d39d889e8fa1e0b8841ec5f1d0eeff72..1f6f89f7055f9bcb9d0ab1caa152fd5ee0eef085 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRichEditorPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRichEditorPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { RichEditorSpanPosition, RichEditorTextStyle, LeadingMarginPlaceholder, RichEditorParagraphStyle, PasteEvent, RichEditorTextSpan, RichEditorLayoutStyle, RichEditorImageSpanStyle, RichEditorSymbolSpanStyle, RichEditorTextStyleResult, RichEditorParagraphResult, RichEditorSymbolSpanStyleResult, RichEditorTextSpanResult, RichEditorImageSpanStyleResult, RichEditorImageSpanResult, RichEditorImageSpan, RichEditorRange, RichEditorGesture, RichEditorTextSpanOptions, KeyboardOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, PlaceholderStyle, RichEditorSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorSymbolSpanOptions, RichEditorSelection, RichEditorInsertValue, RichEditorDeleteDirection, RichEditorDeleteValue, RichEditorChangeValue, RichEditorOptions, RichEditorStyledStringOptions, MenuOnAppearCallback, SelectionMenuOptions, RichEditorSpan, CutEvent, CopyEvent, RichEditorAttribute, PasteEventCallback, SubmitCallback, RichEditorSpanType, RichEditorResponseType, RichEditorInterface } from "./../ArkRichEditorInterfaces" import { ResourceColor, Length, ResourceStr, Dimension, PX, VP, FP, LPX, Percentage, Margin, Padding, BorderRadiuses, Font } from "./../ArkUnitsInterfaces" @@ -41,7 +41,7 @@ import { EditMenuOptions } from "./../ArkEditMenuOptionsMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRowPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRowPeer.ts index 609903cf3161b738615440fe3e43d4f22f00209e..4db8510a2b8745ced8c38d9eaae83be63644985c 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRowPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRowPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { RowOptions, RowAttribute, RowInterface } from "./../ArkRowInterfaces" import { CommonMethod, PointLightStyle } from "./../ArkCommonInterfaces" @@ -30,7 +30,7 @@ import { VerticalAlign, FlexAlign } from "./../ArkEnumsInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkScrollPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkScrollPeer.ts index 2a1b9f6d139d6c8689b8a91706cb170bc9e53d95..28919009ce0f9a7c744c3fca6162bda15df024da 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkScrollPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkScrollPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkScrollableCommonMethodPeer, ArkScrollableCommonMethodAttributes } from "./ArkCommonPeer" import { OffsetResult, ScrollEdgeOptions, ScrollToIndexOptions, ScrollAnimationOptions, OffsetOptions, Literal_Boolean_next_Axis_direction, ScrollOptions, ScrollPageOptions, ScrollSnapOptions, ScrollAttribute, ScrollInterface, OnScrollEdgeCallback, OnScrollFrameBeginHandlerResult, OnScrollFrameBeginCallback, ScrollDirection, ScrollOnWillScrollCallback, ScrollOnScrollCallback } from "./../ArkScrollInterfaces" import { LengthMetrics } from "./../ArkArkui-externalInterfaces" @@ -36,7 +36,7 @@ import { ScrollableCommonMethod, NestedScrollOptions, EdgeEffectOptions } from " import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSearchPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSearchPeer.ts index 80543f6f4e10c9e855d6f0e44bfda563d64ee0cb..c744f9d89b66e1c08e36082efcd26bda4ee0666c 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSearchPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSearchPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { ResourceStr, Length, ResourceColor, Dimension, PX, VP, FP, LPX, Percentage, Font } from "./../ArkUnitsInterfaces" import { Resource } from "./../ArkResourceInterfaces" @@ -38,7 +38,7 @@ import { KeyboardOptions } from "./../ArkRichEditorInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSelectPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSelectPeer.ts index 6de2454e2927a9359403866e08ada0bbfa85ecc0..a6b6e94727719ff433efb0237f72f1483174ad41 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSelectPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSelectPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { ResourceStr } from "./../ArkUnitsInterfaces" import { Resource } from "./../ArkResourceInterfaces" @@ -33,7 +33,7 @@ import { ContentModifier } from "./../ConflictedDeclarations" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkShapePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkShapePeer.ts index 3a65f217cc8b07e65762eaf85ccba0b1b71a774e..c5b865bae9894bf0c38cee1a99a48b8964d818d2 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkShapePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkShapePeer.ts @@ -18,18 +18,18 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { ShapeAttribute, ShapeInterface } from "./../ArkShapeInterfaces" import { CommonMethod } from "./../ArkCommonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSidebarPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSidebarPeer.ts index 027019d92bb614b1cce193b0c7ab32d73787471b..66fc9676a233b0aba8a93045a1a1e09f9866bd85 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSidebarPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSidebarPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { SideBarContainerAttribute, SideBarContainerInterface } from "./../ArkSidebarInterfaces" import { CommonMethod } from "./../ArkCommonInterfaces" @@ -31,7 +31,7 @@ import { Resource } from "./../ArkResourceInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSpanPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSpanPeer.ts index 0a7a9770d52fa0ec558f5e457753385ced9ca61f..275ba80925a698dc2815836bdbc2af7f101f9979 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSpanPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSpanPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { ResourceColor, Dimension, PX, VP, FP, LPX, Percentage, BorderRadiuses, Font, Length } from "./../ArkUnitsInterfaces" import { Color, FontStyle, FontWeight, TextCase } from "./../ArkEnumsInterfaces" @@ -34,7 +34,7 @@ import { DecorationStyleInterface } from "./../ArkStyledStringInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkStackPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkStackPeer.ts index 6ffd22bdb362c6a1af72b3c4e573c13f7e9d8085..7963674e2507db8dc38abe2939d325b2bb9c9ea7 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkStackPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkStackPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { Alignment } from "./../ArkEnumsInterfaces" import { StackOptions, StackAttribute, StackInterface } from "./../ArkStackInterfaces" @@ -30,7 +30,7 @@ import { CommonMethod, PointLightStyle } from "./../ArkCommonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSwiperPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSwiperPeer.ts index f2fe9922b73dd99d92c732a41ef8bc7259bc5880..d2ca8220ed89f65f00873e4dfae9bc81ccfaaae1 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSwiperPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSwiperPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { VP, Length, ResourceColor } from "./../ArkUnitsInterfaces" import { SwiperAutoFill, ArrowStyle, SwiperAttribute, SwiperInterface, IndicatorStyle, SwiperAnimationEvent, OnSwiperAnimationStartCallback, OnSwiperAnimationEndCallback, OnSwiperGestureSwipeCallback, SwiperDisplayMode, SwiperNestedScrollMode, SwiperContentAnimatedTransition, ContentDidScrollCallback } from "./../ArkSwiperInterfaces" @@ -38,7 +38,7 @@ import { SwiperContentTransitionProxy } from "./../ArkSwiperContentTransitionPro import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSymbolglyphPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSymbolglyphPeer.ts index f767cb913ce4db36aec0dbb7e0b6815ac763c2ae..baa0d6419b14150c70439ee94dbcc726953a1ea6 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSymbolglyphPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSymbolglyphPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { Resource } from "./../ArkResourceInterfaces" import { SymbolGlyphAttribute, SymbolGlyphInterface, SymbolEffect, EffectScope, EffectDirection, ScaleSymbolEffect, EffectFillStyle, HierarchicalSymbolEffect, AppearSymbolEffect, DisappearSymbolEffect, BounceSymbolEffect, ReplaceSymbolEffect, PulseSymbolEffect, SymbolEffectStrategy, SymbolRenderingStrategy } from "./../ArkSymbolglyphInterfaces" @@ -32,7 +32,7 @@ import { Color, FontWeight } from "./../ArkEnumsInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTabContentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTabContentPeer.ts index e82a5bb102e6808bd25a5eb209ee94b33561781e..24acc899fd58d0baddb7940e1dda55b3f6514926 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTabContentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTabContentPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { Length, ResourceColor } from "./../ArkUnitsInterfaces" import { Resource } from "./../ArkResourceInterfaces" @@ -35,7 +35,7 @@ import { BottomTabBarStyle } from "./../ArkBottomTabBarStyleBuilder" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTabsPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTabsPeer.ts index 8764aee626cb34f912da998cbbff58cd156b4d14..5a0d280bae3ff16b92d1e2f4c91de6139d5048d5 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTabsPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTabsPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { BarPosition, TabsOptions, TabsAttribute, TabsInterface, BarMode } from "./../ArkTabsInterfaces" import { TabsController } from "./../ArkTabsControllerMaterialized" @@ -32,7 +32,7 @@ import { Resource } from "./../ArkResourceInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTestPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTestPeer.ts index 0c299f82c0cd4e661b870093ca099b227715b145..37708733609cd38864e8612e2bc110a21dcb6e32 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTestPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTestPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { BooleanInterfaceDTS, NumberInterfaceDTS, StringInterfaceDTS, UnionInterfaceDTS, UnionOptionalInterfaceDTS, Tuple_Number_Boolean, TupleInterfaceDTS, Tuple_Boolean_Number, OptionInterfaceDTS, ArrayRefNumberInterfaceDTS, ArrayRefTuplesInterfaceDTS, ClassDTS, ClassWithConstructorDTS, ClassWithConstructorAndFieldsDTS, TestAttribute, TestInterface, EnumDTS, Tuple_Number_String_EnumDTS, Tuple_Number_String_Boolean_EnumDTS, Type_TestAttribute_testTupleUnion_value } from "./../ArkTestInterfaces" import { CommonMethod } from "./../ArkCommonInterfaces" @@ -36,7 +36,7 @@ import { ClassWithConstructorAndWithoutParamsDTS } from "./../ArkClassWithConstr import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextInputPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextInputPeer.ts index 268569d1518a8e581b2a79c0058e6280bb2e09fc..e9bc3ca92c01fff55e35924e0523eee33b3f22b6 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextInputPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextInputPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { ResourceColor, ResourceStr, Dimension, PX, VP, FP, LPX, Percentage, Font, Length } from "./../ArkUnitsInterfaces" import { Color, TextOverflow, FontStyle, FontWeight, CopyOptions, TextAlign, TextContentStyle, BarState, WordBreak, LineBreakStrategy, TextHeightAdaptivePolicy } from "./../ArkEnumsInterfaces" @@ -37,7 +37,7 @@ import { EditMenuOptions } from "./../ArkEditMenuOptionsMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextPeer.ts index a272437411dfd94e93359fbb2824219aaefbc4d9..173f6bc9dc13f252d930c3f021cf37057a4ba5e7 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { TextController } from "./../ArkTextControllerMaterialized" import { TextOptions, TextOverflowOptions, TextAttribute, TextInterface } from "./../ArkTextInterfaces" @@ -33,7 +33,7 @@ import { Font, ResourceColor } from "./../ArkUnitsInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextPickerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextPickerPeer.ts index 535d1a614d79d2c58d9c323f5b566298a7f587a4..05010a8ae716b88b7371435c49b32a46e14cde6a 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextPickerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextPickerPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { Resource } from "./../ArkResourceInterfaces" import { TextPickerRangeContent, TextCascadePickerRangeContent, TextPickerOptions, TextPickerAttribute, TextPickerInterface, DividerOptions, TextPickerScrollStopCallback, TextPickerResult, TextPickerDialogOptions } from "./../ArkTextPickerInterfaces" @@ -33,7 +33,7 @@ import { DialogAlignment } from "./../ArkAlertDialogInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTogglePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTogglePeer.ts index d72cbad2194e592bf4d3f0e03b7605d5ba3bb372..68bbe4aa6b5b2262aaf7934ea3fe09465d55aa47 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTogglePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTogglePeer.ts @@ -18,18 +18,18 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { ToggleType, ToggleOptions, ToggleAttribute, ToggleInterface } from "./../ArkToggleInterfaces" import { CommonMethod } from "./../ArkCommonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkUINodeType.ts b/arkoala-arkts/arkui/src/generated/peers/ArkUINodeType.ts index f46169deac1e9caad1a813d167dde32444deaf35..6d088054d18955106fd68290ab1cdbd0fd3bb758 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkUINodeType.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkUINodeType.ts @@ -1,14 +1,14 @@ export enum ArkUINodeType { - Root = 0, + Root, ComponentRoot, CustomNode, BaseSpan, - Blank = 8, + Blank, Button, CalendarPicker, Canvas, Circle, - Column = 16, + Column, Common, CommonMethod, CommonShapeMethod, @@ -45,7 +45,7 @@ export enum ArkUINodeType { TabContent, Tabs, Test, - Text = 102, + Text, TextInput, TextPicker, Toggle, diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkVectorPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkVectorPeer.ts index 3a3f8929566f9e73c942c0aa5ab0858ef71f5816..9b1aae644a142a81032b31d6708a52dd4e11ec1e 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkVectorPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkVectorPeer.ts @@ -18,18 +18,18 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { Vector1, Vector2, VectorAttribute, VectorInterface } from "./../ArkVectorInterfaces" import { CommonMethod } from "./../ArkCommonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkWebPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkWebPeer.ts index d7452ad70a320b2919553b55791431157b2b10b0..0f99ccbe29cf6d8d84723c3f1ff1dc1fcd21fbc2 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkWebPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkWebPeer.ts @@ -18,11 +18,11 @@ import { int32 } from "@koalaui/common" import { nullptr, KPointer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" -import { isResource, isInstanceOf, runtimeType, RuntimeType } from "./SerializerBase" import { Serializer } from "./Serializer" import { ArkUINodeType } from "./ArkUINodeType" import { ComponentBase } from "../ComponentBase" import { NativeModule } from "#components" +import { isResource, isInstanceOf, runtimeType, RuntimeType } from "@koalaui/arkts-framework" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { WebResourceResponse } from "./../ArkWebResourceResponseMaterialized" import { OnHttpErrorReceiveEvent, NativeEmbedInfo, NativeEmbedDataInfo, WebAttribute, WebInterface, RenderExitReason, OnRenderExitedEvent, Literal_Object_detail } from "./../ArkWebInterfaces" @@ -30,7 +30,7 @@ import { CommonMethod } from "./../ArkCommonInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" -import { registerCallback } from "./SerializerBase" +import { registerCallback } from "@koalaui/arkts-framework" import { wrapCallback } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" import { DotIndicator } from "./../ArkDotIndicatorBuilder" diff --git a/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts b/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts index 3e3ac91d495b02954cb05e8057decffc5c68b556..4ca4b23381e2d6d9176b5077017a358a98ff2c7d 100644 --- a/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts +++ b/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts @@ -45,7 +45,6 @@ import { DrawingRenderingContext } from "./../ArkDrawingRenderingContextMaterial import { CanvasAttribute, DrawingCanvas, Size, RenderingContextSettings, ImageData } from "./../ArkCanvasInterfaces" import { CircleOptions, CircleAttribute } from "./../ArkCircleInterfaces" import { ColumnOptions, ColumnAttribute } from "./../ArkColumnInterfaces" -import { MethodDecorator } from "./../ArkStdlibInterfaces" import { ICurve } from "./../ArkICurveMaterialized" import { BaseGestureEvent, GestureJudgeResult, GestureInfo, GestureControl_GestureType, GestureMask, GestureHandler, GesturePriority, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, PinchGestureInterface, SwipeGestureInterface, RotationGestureInterface, GestureGroupInterface, FingerInfo, GestureEvent, GestureInterface, TapGestureParameters, Literal_Number_duration_fingers_Boolean_repeat, PanDirection, Literal_Number_distance_fingers_PanDirection_direction, SwipeDirection, Literal_Number_fingers_speed_SwipeDirection_direction, Literal_Number_distance_fingers, Literal_Number_angle_fingers, GestureMode, TapGestureHandler, TapGestureHandlerOptions, LongPressGestureHandler, LongPressGestureHandlerOptions, PanGestureHandler, PanGestureHandlerOptions, SwipeGestureHandler, SwipeGestureHandlerOptions, PinchGestureHandler, PinchGestureHandlerOptions, RotationGestureHandler, RotationGestureHandlerOptions } from "./../ArkGestureInterfaces" import { GestureRecognizer } from "./../ArkGestureRecognizerMaterialized" @@ -1174,7 +1173,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { case 7/*CallbackKind.Kind_Callback_Boolean_HoverEvent_Void*/: return deserializeAndCallCallback_Boolean_HoverEvent_Void(thisDeserializer); case 8/*CallbackKind.Kind_Callback_Boolean_Void*/: return deserializeAndCallCallback_Boolean_Void(thisDeserializer); case 9/*CallbackKind.Kind_Callback_Callback_Any_Void*/: return deserializeAndCallCallback_Callback_Any_Void(thisDeserializer); - case 19/*CallbackKind.Kind_Callback_ClickEvent_Void*/: return deserializeAndCallCallback_ClickEvent_Void(thisDeserializer); + case 10/*CallbackKind.Kind_Callback_ClickEvent_Void*/: return deserializeAndCallCallback_ClickEvent_Void(thisDeserializer); case 11/*CallbackKind.Kind_Callback_CopyEvent_Void*/: return deserializeAndCallCallback_CopyEvent_Void(thisDeserializer); case 12/*CallbackKind.Kind_Callback_CutEvent_Void*/: return deserializeAndCallCallback_CutEvent_Void(thisDeserializer); case 13/*CallbackKind.Kind_Callback_DeleteValue_Boolean*/: return deserializeAndCallCallback_DeleteValue_Boolean(thisDeserializer); @@ -1183,7 +1182,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { case 16/*CallbackKind.Kind_Callback_DismissDialogAction_Void*/: return deserializeAndCallCallback_DismissDialogAction_Void(thisDeserializer); case 17/*CallbackKind.Kind_Callback_DismissPopupAction_Void*/: return deserializeAndCallCallback_DismissPopupAction_Void(thisDeserializer); case 18/*CallbackKind.Kind_Callback_DismissSheetAction_Void*/: return deserializeAndCallCallback_DismissSheetAction_Void(thisDeserializer); - case 10/*CallbackKind.Kind_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo*/: return deserializeAndCallCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(thisDeserializer); + case 19/*CallbackKind.Kind_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo*/: return deserializeAndCallCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(thisDeserializer); case 20/*CallbackKind.Kind_Callback_DragEvent_String_Void*/: return deserializeAndCallCallback_DragEvent_String_Void(thisDeserializer); case 21/*CallbackKind.Kind_Callback_FormCallbackInfo_Void*/: return deserializeAndCallCallback_FormCallbackInfo_Void(thisDeserializer); case 22/*CallbackKind.Kind_Callback_GestureEvent_Void*/: return deserializeAndCallCallback_GestureEvent_Void(thisDeserializer); diff --git a/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts b/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts index dce454a8d12a5e8d989d8b2aa9c0034af9f260ce..d032dec06b81e7af243b9bcfa65801715c19a1c5 100644 --- a/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts @@ -50,7 +50,6 @@ import { DrawingRenderingContext, DrawingRenderingContextInternal } from "./../A import { CanvasAttribute, DrawingCanvas, Size, RenderingContextSettings, ImageData } from "./../ArkCanvasInterfaces" import { CircleOptions, CircleAttribute } from "./../ArkCircleInterfaces" import { ColumnOptions, ColumnAttribute } from "./../ArkColumnInterfaces" -import { MethodDecorator } from "./../ArkStdlibInterfaces" import { ICurve, ICurveInternal } from "./../ArkICurveMaterialized" import { BaseGestureEvent, GestureJudgeResult, GestureInfo, GestureControl_GestureType, GestureMask, GestureHandler, GesturePriority, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, PinchGestureInterface, SwipeGestureInterface, RotationGestureInterface, GestureGroupInterface, FingerInfo, GestureEvent, GestureInterface, TapGestureParameters, Literal_Number_duration_fingers_Boolean_repeat, PanDirection, Literal_Number_distance_fingers_PanDirection_direction, SwipeDirection, Literal_Number_fingers_speed_SwipeDirection_direction, Literal_Number_distance_fingers, Literal_Number_angle_fingers, GestureMode, TapGestureHandler, TapGestureHandlerOptions, LongPressGestureHandler, LongPressGestureHandlerOptions, PanGestureHandler, PanGestureHandlerOptions, SwipeGestureHandler, SwipeGestureHandlerOptions, PinchGestureHandler, PinchGestureHandlerOptions, RotationGestureHandler, RotationGestureHandlerOptions } from "./../ArkGestureInterfaces" import { GestureRecognizer, GestureRecognizerInternal } from "./../ArkGestureRecognizerMaterialized" @@ -149,6 +148,45 @@ import { LayoutManagerInternal } from "./../ArkLayoutManagerMaterialized" import { TextPickerDialogInternal } from "./../ArkTextPickerDialogMaterialized" export class Deserializer extends DeserializerBase { + + readLength(): Length | undefined { + this.checkCapacity(1) + const valueType = this.readInt8() + if (valueType == RuntimeType.OBJECT) { + return ({ + id: this.readInt32(), + bundleName: "", + moduleName: "" + }) as Resource + } else if (valueType == RuntimeType.STRING) { + return this.readString() + } else if (valueType == RuntimeType.NUMBER) { + return (this.readFloat32() as number) + } else { + return undefined + } + } + + static lengthUnitFromInt(unit: int32): string { + let suffix: string + switch (unit) { + case 0: + suffix = "px" + break + case 1: + suffix = "vp" + break + case 3: + suffix = "%" + break + case 4: + suffix = "lpx" + break + default: + suffix = "" + } + return suffix + } constructor(data: KUint8ArrayPtr, length: int32) { super(data, length) } diff --git a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts index 04c53b74f095f02b52b464add9c0099dee149451..b11ec205f804feb782d0afa77a05c59155565554 100644 --- a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts @@ -13,8 +13,8 @@ * limitations under the License. */ -import { SerializerBase, Tags, RuntimeType, runtimeType, isResource, isInstanceOf } from "./SerializerBase" import { int32 } from "@koalaui/common" +import { SerializerBase, Tags, RuntimeType, runtimeType, isResource, isInstanceOf } from "@koalaui/arkts-framework" import { MaterializedBase } from "./../MaterializedBase" import { NativeModule } from "#components" import { CallbackKind } from "./CallbackKind" @@ -48,7 +48,6 @@ import { DrawingRenderingContext, DrawingRenderingContextInternal } from "./../A import { CanvasAttribute, DrawingCanvas, Size, RenderingContextSettings, ImageData } from "./../ArkCanvasInterfaces" import { CircleOptions, CircleAttribute } from "./../ArkCircleInterfaces" import { ColumnOptions, ColumnAttribute } from "./../ArkColumnInterfaces" -import { MethodDecorator } from "./../ArkStdlibInterfaces" import { ICurve, ICurveInternal } from "./../ArkICurveMaterialized" import { BaseGestureEvent, GestureJudgeResult, GestureInfo, GestureControl_GestureType, GestureMask, GestureHandler, GesturePriority, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, PinchGestureInterface, SwipeGestureInterface, RotationGestureInterface, GestureGroupInterface, FingerInfo, GestureEvent, GestureInterface, TapGestureParameters, Literal_Number_duration_fingers_Boolean_repeat, PanDirection, Literal_Number_distance_fingers_PanDirection_direction, SwipeDirection, Literal_Number_fingers_speed_SwipeDirection_direction, Literal_Number_distance_fingers, Literal_Number_angle_fingers, GestureMode, TapGestureHandler, TapGestureHandlerOptions, LongPressGestureHandler, LongPressGestureHandlerOptions, PanGestureHandler, PanGestureHandlerOptions, SwipeGestureHandler, SwipeGestureHandlerOptions, PinchGestureHandler, PinchGestureHandlerOptions, RotationGestureHandler, RotationGestureHandlerOptions } from "./../ArkGestureInterfaces" import { GestureRecognizer, GestureRecognizerInternal } from "./../ArkGestureRecognizerMaterialized" @@ -146,6 +145,20 @@ import { StyledStringControllerInternal } from "./../ArkStyledStringControllerMa import { LayoutManagerInternal } from "./../ArkLayoutManagerMaterialized" import { TextPickerDialogInternal } from "./../ArkTextPickerDialogMaterialized" export class Serializer extends SerializerBase { + + writeLength(value: Length|undefined) { + this.checkCapacity(1) + let valueType = runtimeType(value) + this.writeInt8(valueType as int32) + // TODO: without explicitly checking value for undefined, leads to segmentation fault + if (valueType == RuntimeType.NUMBER && value !== undefined) { + this.writeFloat32(value as float32) + } else if (valueType == RuntimeType.STRING) { + this.writeString(value as string) + } else if (valueType == RuntimeType.OBJECT) { + this.writeInt32((value as Resource).id as int32) + } + } private static cache?: Serializer | undefined = undefined static hold(): Serializer { if (!(Serializer.cache != undefined)) diff --git a/arkoala-arkts/arkui/src/generated/ts/type_check.ts b/arkoala-arkts/arkui/src/generated/ts/type_check.ts index dd210ab5814acbbaa4c0567f88940634829e94f8..57a1d9be592f8eadd116e923d90e0ef9adcd24ef 100644 --- a/arkoala-arkts/arkui/src/generated/ts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/ts/type_check.ts @@ -9,7 +9,7 @@ import { CalendarPickerInterface, CalendarPickerAttribute, CalendarAlign } from import { ImageData, RenderingContextSettings, DrawingCanvas, Size, CanvasInterface, CanvasAttribute, CanvasFillRule } from "./../ArkCanvasInterfaces" import { CircleOptions, CircleInterface, CircleAttribute } from "./../ArkCircleInterfaces" import { ColumnOptions, ColumnInterface, ColumnAttribute } from "./../ArkColumnInterfaces" -import { ComponentOptions, InputCounterOptions, TextDecorationOptions, ProvideOptions, IMonitor, AnimatableArithmetic, Configuration, Rectangle, ExpectedFrameRateRange, AnimateParam, MotionPathOptions, sharedTransitionOptions, GeometryTransitionOptions, TranslateOptions, ScaleOptions, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, AlignRuleOption, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, LocalizedAlignRuleOptions, RotateOptions, TransitionOptions, Literal_TransitionEffect_appear_disappear, TransitionEffects, PreviewParams, ItemDragInfo, DragItemInfo, EventTarget, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, BlurOptions, BlurStyleOptions, BackgroundEffectOptions, ForegroundEffectOptions, PickerTextStyle, PickerDialogButtonStyle, ShadowOptions, MultiShadowOptions, BaseEvent, BorderImageOption, ClickEvent, HoverEvent, MouseEvent, AccessibilityHoverEvent, TouchObject, HistoricalPoint, TouchEvent, DragEvent, KeyEvent, BindOptions, DismissContentCoverAction, ContentCoverOptions, SheetTitleOptions, SheetDismiss, DismissSheetAction, SpringBackAction, SheetOptions, StateStyles, PopupMessageOptions, DismissPopupAction, Literal_String_value_Callback_Void_action, Literal_Boolean_isVisible, Literal_ResourceColor_color, PopupOptions, CustomPopupOptions, ContextMenuAnimationOptions, ContextMenuOptions, MenuOptions, TouchTestInfo, TouchResult, PixelStretchEffectOptions, ClickEffect, FadingEdgeOptions, NestedScrollOptions, MenuElement, CommonConfiguration, DragPreviewOptions, DragInteractionOptions, InvertOptions, Literal_Number_offset_span, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, Type_CommonMethod_linearGradient_value, Type_CommonMethod_sweepGradient_value, Type_CommonMethod_radialGradient_value, Literal_Alignment_align, CommonMethod, CommonAttribute, CommonInterface, OverlayOptions, OverlayOffset, CommonShapeMethod, PixelRoundPolicy, LinearGradientBlurOptions, MotionBlurAnchor, MotionBlurOptions, LayoutBorderInfo, LayoutInfo, GeometryInfo, Measurable, SizeResult, MeasureResult, Literal_Empty, CustomComponent, RectResult, CaretOffset, ScrollableCommonMethod, ScrollResult, EdgeEffectOptions, BackgroundBrightnessOptions, PointLightStyle, LightSource, WrappedBuilder, KeyframeAnimateParam, KeyframeState, Callback, VisibleAreaEventOptions, UICommonEvent, UIGestureEvent, SelectionOptions, FinishCallbackType, TouchTestStrategy, TransitionHierarchyStrategy, ChainStyle, TransitionEdge, EffectType, PreDragStatus, SourceType, SourceTool, RepeatMode, BlurStyle, BlurStyleActivePolicy, ThemeColorMode, AdaptiveColor, ModalTransition, ShadowType, ShadowStyle, SafeAreaType, SafeAreaEdge, LayoutSafeAreaType, LayoutSafeAreaEdge, SheetSize, DragBehavior, DragResult, BlendMode, BlendApplyType, SheetType, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, DismissReason, MenuPreviewMode, OutlineStyle, DragPreviewMode, MenuPolicy, ContentClipMode, KeyboardAvoidMode, HoverModeAreaType, IMonitorValue, CustomBuilder, UnifiedData, Summary, IntentionCode, UIContext, AnimationRange, SymbolGlyphModifier, ImageModifier, VisualEffect, Filter, AccessibilityCallback, UniformDataType, CircleShape, EllipseShape, PathShape, RectShape, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, ComponentContent, Blender, VisibleAreaChangeCallback, FractionStop, Theme, Layoutable, NavDestinationInfo, NavigationInfo, RouterPageInfo, HoverCallback, MonitorDecorator, Context, PointerStyle, Tuple_Number_Number, Type_SheetOptions_detents, Tuple_T, Tuple_ResourceColor_Number, Tuple_Length_Length, DrawContext, OnWillScrollCallback, OnScrollCallback, OnMoveHandler } from "./../ArkCommonInterfaces" +import { ComponentOptions, InputCounterOptions, TextDecorationOptions, ProvideOptions, IMonitor, AnimatableArithmetic, Configuration, Rectangle, ExpectedFrameRateRange, AnimateParam, MotionPathOptions, sharedTransitionOptions, GeometryTransitionOptions, TranslateOptions, ScaleOptions, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, AlignRuleOption, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, LocalizedAlignRuleOptions, RotateOptions, TransitionOptions, Literal_TransitionEffect_appear_disappear, TransitionEffects, PreviewParams, ItemDragInfo, DragItemInfo, EventTarget, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, BlurOptions, BlurStyleOptions, BackgroundEffectOptions, ForegroundEffectOptions, PickerTextStyle, PickerDialogButtonStyle, ShadowOptions, MultiShadowOptions, BaseEvent, BorderImageOption, ClickEvent, HoverEvent, MouseEvent, AccessibilityHoverEvent, TouchObject, HistoricalPoint, TouchEvent, DragEvent, KeyEvent, BindOptions, DismissContentCoverAction, ContentCoverOptions, SheetTitleOptions, SheetDismiss, DismissSheetAction, SpringBackAction, SheetOptions, StateStyles, PopupMessageOptions, DismissPopupAction, Literal_String_value_Callback_Void_action, Literal_Boolean_isVisible, Literal_ResourceColor_color, PopupOptions, CustomPopupOptions, ContextMenuAnimationOptions, ContextMenuOptions, MenuOptions, TouchTestInfo, TouchResult, PixelStretchEffectOptions, ClickEffect, FadingEdgeOptions, NestedScrollOptions, MenuElement, CommonConfiguration, DragPreviewOptions, DragInteractionOptions, InvertOptions, Literal_Number_offset_span, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, Type_CommonMethod_linearGradient_value, Type_CommonMethod_sweepGradient_value, Type_CommonMethod_radialGradient_value, Literal_Alignment_align, CommonMethod, CommonAttribute, CommonInterface, OverlayOptions, OverlayOffset, CommonShapeMethod, PixelRoundPolicy, LinearGradientBlurOptions, MotionBlurAnchor, MotionBlurOptions, LayoutBorderInfo, LayoutInfo, GeometryInfo, Measurable, SizeResult, MeasureResult, Literal_Empty, CustomComponent, RectResult, CaretOffset, ScrollableCommonMethod, ScrollResult, EdgeEffectOptions, BackgroundBrightnessOptions, PointLightStyle, LightSource, WrappedBuilder, KeyframeAnimateParam, KeyframeState, Callback, VisibleAreaEventOptions, UICommonEvent, UIGestureEvent, SelectionOptions, FinishCallbackType, TouchTestStrategy, TransitionHierarchyStrategy, ChainStyle, TransitionEdge, EffectType, PreDragStatus, SourceType, SourceTool, RepeatMode, BlurStyle, BlurStyleActivePolicy, ThemeColorMode, AdaptiveColor, ModalTransition, ShadowType, ShadowStyle, SafeAreaType, SafeAreaEdge, LayoutSafeAreaType, LayoutSafeAreaEdge, SheetSize, DragBehavior, DragResult, BlendMode, BlendApplyType, SheetType, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, DismissReason, MenuPreviewMode, OutlineStyle, DragPreviewMode, MenuPolicy, ContentClipMode, KeyboardAvoidMode, HoverModeAreaType, IMonitorValue, CustomBuilder, UnifiedData, Summary, IntentionCode, UIContext, AnimationRange, SymbolGlyphModifier, ImageModifier, VisualEffect, Filter, AccessibilityCallback, UniformDataType, CircleShape, EllipseShape, PathShape, RectShape, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, ComponentContent, Blender, VisibleAreaChangeCallback, FractionStop, Theme, Layoutable, NavDestinationInfo, NavigationInfo, RouterPageInfo, HoverCallback, Context, PointerStyle, Tuple_Number_Number, Type_SheetOptions_detents, Tuple_T, Tuple_ResourceColor_Number, Tuple_Length_Length, DrawContext, OnWillScrollCallback, OnScrollCallback, OnMoveHandler } from "./../ArkCommonInterfaces" import { CounterInterface, CounterAttribute } from "./../ArkCounterInterfaces" import { DividerInterface, DividerAttribute } from "./../ArkDividerInterfaces" import { EllipseOptions, EllipseInterface, EllipseAttribute } from "./../ArkEllipseInterfaces" @@ -64,7 +64,6 @@ import { Padding, LocalizedPadding, EdgeWidths, LocalizedEdgeWidths, EdgeOutline import { Vector1, Vector2, VectorInterface, VectorAttribute } from "./../ArkVectorInterfaces" import { OnHttpErrorReceiveEvent, NativeEmbedInfo, NativeEmbedDataInfo, WebInterface, OnRenderExitedEvent, Literal_Object_detail, WebAttribute, RenderExitReason } from "./../ArkWebInterfaces" import { INTERFACE_CanvasPattern, INTERFACE_ICurve, INTERFACE_PixelMapMock, INTERFACE_AttributeModifier, INTERFACE_GestureModifier, INTERFACE_NavDestinationContext, INTERFACE_NavigationTransitionProxy, INTERFACE_SwiperContentTransitionProxy, INTERFACE_TextBaseController, INTERFACE_TextEditControllerEx, INTERFACE_StyledStringController, INTERFACE_LayoutManager, INTERFACE_EditMenuOptions, INTERFACE_UIExtensionProxy, IMPORT_LengthMetricsUnit_FROM_api_arkui_Graphics, IMPORT_default_FROM_api_application_Context, IMPORT_default_PointerStyle_FROM_api_ohos_multimodalInput_pointer, IMPORT_default_UnifiedData_FROM_api_ohos_data_unifiedDataChannel, IMPORT_default_Summary_FROM_api_ohos_data_unifiedDataChannel, IMPORT_default_UniformDataType_FROM_api_ohos_data_uniformTypeDescriptor, IMPORT_IntentionCode_FROM_api_ohos_multimodalInput_intentionCode, IMPORT_UIContext_FROM_api_ohos_arkui_UIContext, IMPORT_SymbolGlyphModifier_FROM_api_arkui_SymbolGlyphModifier, IMPORT_ImageModifier_FROM_api_arkui_ImageModifier, IMPORT_CircleShape_FROM_api_ohos_arkui_shape, IMPORT_EllipseShape_FROM_api_ohos_arkui_shape, IMPORT_PathShape_FROM_api_ohos_arkui_shape, IMPORT_RectShape_FROM_api_ohos_arkui_shape, IMPORT_default_VisualEffect_FROM_api_ohos_graphics_uiEffect, IMPORT_default_Filter_FROM_api_ohos_graphics_uiEffect, IMPORT_ComponentContent_T_FROM_api_arkui_ComponentContent, IMPORT_default_Blender_FROM_api_ohos_graphics_uiEffect, IMPORT_default_NavDestinationInfo_FROM_api_ohos_arkui_observer, IMPORT_default_NavigationInfo_FROM_api_ohos_arkui_observer, IMPORT_default_RouterPageInfo_FROM_api_ohos_arkui_observer, IMPORT_DrawContext_FROM_api_arkui_Graphics, IMPORT_Theme_FROM_api_ohos_arkui_theme, IMPORT_ErrorCallback_FROM_api_ohos_base, IMPORT_ColorMetrics_FROM_api_arkui_Graphics, IMPORT_DrawableDescriptor_FROM_api_ohos_arkui_drawableDescriptor, IMPORT_default_ColorFilter_FROM_api_ohos_graphics_drawing, IMPORT_default_ResolutionQuality_FROM_api_ohos_multimedia_image, IMPORT_default_Lattice_FROM_api_ohos_graphics_drawing, IMPORT_default_SystemBarStyle_FROM_api_ohos_window, IMPORT_default_Affinity_FROM_api_ohos_graphics_text, IMPORT_default_LineMetrics_FROM_api_ohos_graphics_text, IMPORT_default_TextBox_FROM_api_ohos_graphics_text } from "./../SyntheticDeclarations" -import { MethodDecorator } from "./../ArkStdlibInterfaces" import { Resource } from "./../ArkResourceInterfaces" import { TransitionEffect } from "./../ArkTransitionEffectMaterialized" import { CanvasRenderingContext2D } from "./../ArkCanvasRenderingContext2DMaterialized" diff --git a/arkoala-arkts/arkui/tsconfig-unmemoize.json b/arkoala-arkts/arkui/tsconfig-unmemoize.json index 8e3b4b759b663984bda8ee4d659bdc30c46ef340..23caae89f5f4c2d9af598880df126a749976d44f 100644 --- a/arkoala-arkts/arkui/tsconfig-unmemoize.json +++ b/arkoala-arkts/arkui/tsconfig-unmemoize.json @@ -38,7 +38,7 @@ "rootDir": "." }, "include": [ - "./src/**/*.ts", + "./src/**/*.ts" ], "exclude": [ "./src/generated/arkts", diff --git a/arkoala-arkts/framework/arktsconfig-unmemoized.json b/arkoala-arkts/framework/arktsconfig-unmemoized.json new file mode 100644 index 0000000000000000000000000000000000000000..b5f06f5e34550d87d90e7a256bfd4f0e709706b3 --- /dev/null +++ b/arkoala-arkts/framework/arktsconfig-unmemoized.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "outDir": "build/abc", + "baseUrl": ".", + "paths": { + "#components": ["../arkui/build/unmemoized/src/generated/arkts"], + "#arkcompat/*": ["../../arkoala/arkui-common/src/arkts/*"], + "@koalaui/interop": ["../../interop/src/arkts"], + "@koalaui/common": ["../../incremental/common/src"], + "@koalaui/compat": ["../../incremental/compat/src/arkts"], + "@koalaui/runtime": ["../../incremental/runtime/build/unmemoized/src"], + "#language": [ + "./src/arkts" + ] + } + }, + "include": [ + "build/unmemoized/src/**/*.ts" + ], + "exclude": [ + "**/index.ts", + "build/unmemoized/src/typescript/*.ts" + ] +} diff --git a/arkoala-arkts/framework/package.json b/arkoala-arkts/framework/package.json new file mode 100644 index 0000000000000000000000000000000000000000..23eeb38bbe08f6b449e6b677f3f35f1013dc4e1f --- /dev/null +++ b/arkoala-arkts/framework/package.json @@ -0,0 +1,14 @@ +{ + "name": "@koalaui/arkts-framework", + "version": "1.4.1", + "description": "", + "main": "build/junk/src/index.js", + "types": "build/junk/src/index.d.ts", + "scripts": { + "clean": "rimraf build", + "clean:framework": "npm run clean", + "build:framework:inc": "fast-arktsc --input-files ./arktsconfig-unmemoized.json --output-dir ./build --compiler ../../incremental/tools/panda/arkts/arktsc --link-name framework && ninja -f build/build.ninja", + "build:framework": "npm run unmemoize && npm run build:framework:inc", + "unmemoize": "rm -rf ./build && memo-tsc -b ./tsconfig-unmemoize.json" + } +} diff --git a/arkoala-arkts/arkui/src/Application.ts b/arkoala-arkts/framework/src/Application.ts similarity index 95% rename from arkoala-arkts/arkui/src/Application.ts rename to arkoala-arkts/framework/src/Application.ts index d881f775f643dfa0356e3bcb1a7ac50da43dd2ed..e72b7a84ccc820b7ad3e49dc55ca24114f81135f 100644 --- a/arkoala-arkts/arkui/src/Application.ts +++ b/arkoala-arkts/framework/src/Application.ts @@ -16,12 +16,11 @@ import { ComputableState, IncrementalNode, GlobalStateManager, StateManager, StateContext, memoEntry, MutableState, createAnimationTimer, callScheduledCallbacks } from "@koalaui/runtime" import { int32, int64 } from "@koalaui/common" import { pointer, nullptr } from "@koalaui/interop" -import { PeerNode } from "./generated/PeerNode" -import { ArkUINodeType } from "./generated/peers/ArkUINodeType" -import { NativeModule } from "#components" +import { PeerNode } from "./PeerNode" +import { NativeModule } from "#language" import { UserView, UserViewBuilder } from "./UserView" -import { checkEvents, setCustomEventsChecker } from "./generated/Events" -import { checkArkoalaCallbacks } from "./generated/peers/CallbacksChecker" +import { checkEvents, setCustomEventsChecker } from "./Events" +import { checkArkoalaCallbacks } from "./CallbacksChecker" setCustomEventsChecker(checkArkoalaCallbacks) @@ -72,7 +71,7 @@ function createMemoRoot(manager: StateManager, /** @memo */ builder: UserViewBuilder ): ComputableState { - const peer = new PeerNode(ArkUINodeType.Root, 0, "Root") + const peer = new PeerNode(0 /* ArkUINodeType.Root */, 0, "Root") rootPointer = peer.peer.ptr const node = manager.updatableNode(peer, (context: StateContext) => { diff --git a/arkoala-arkts/arkui/src/generated/peers/CallbacksChecker.ts b/arkoala-arkts/framework/src/CallbacksChecker.ts similarity index 67% rename from arkoala-arkts/arkui/src/generated/peers/CallbacksChecker.ts rename to arkoala-arkts/framework/src/CallbacksChecker.ts index 861a5eefc94c2463112def6a9f9647fa712b880f..630225e3aa9c289de7d21d6a51b918309654d83a 100644 --- a/arkoala-arkts/arkui/src/generated/peers/CallbacksChecker.ts +++ b/arkoala-arkts/framework/src/CallbacksChecker.ts @@ -1,8 +1,7 @@ import { KBuffer } from "@koalaui/interop" -import { Deserializer } from "./Deserializer"; -import { deserializeAndCallCallback } from "./CallbackDeserializeCall" -import { ResourceHolder, KUint8ArrayPtr } from "@koalaui/interop" -import { nativeModule } from "#components" +import { DeserializerBase } from "./DeserializerBase"; +import { ResourceHolder } from "@koalaui/interop" +import { NativeModule } from "#language" enum CallbackEventKind { Event_CallCallback = 0, @@ -10,13 +9,19 @@ enum CallbackEventKind { Event_ReleaseManagedResource = 2, } +let deserializeAndCallCallback = (deserializer: DeserializerBase) => {} + +export function setDeserializeAndCallCallback(callback: (deserializer: DeserializerBase) => void) { + deserializeAndCallCallback = callback +} + const bufferSize = 1024 const buffer = new KBuffer(bufferSize) -const deserializer = new Deserializer(buffer.buffer, bufferSize) +const deserializer = new DeserializerBase(buffer.buffer, bufferSize) export function checkArkoalaCallbacks() { while (true) { deserializer.resetCurrentPosition() - let result = nativeModule()._CheckArkoalaCallbackEvent(buffer.buffer, bufferSize) + let result = NativeModule._CheckArkoalaCallbackEvent(buffer.buffer, bufferSize) if (result == 0) break const eventKind = deserializer.readInt32() as CallbackEventKind @@ -24,12 +29,12 @@ export function checkArkoalaCallbacks() { case CallbackEventKind.Event_CallCallback: { deserializeAndCallCallback(deserializer) break; - } + } case CallbackEventKind.Event_HoldManagedResource: { const resourceId = deserializer.readInt32() ResourceHolder.instance().hold(resourceId) break; - } + } case CallbackEventKind.Event_ReleaseManagedResource: { const resourceId = deserializer.readInt32() ResourceHolder.instance().release(resourceId) diff --git a/arkoala-arkts/arkui/src/generated/peers/DeserializerBase.ts b/arkoala-arkts/framework/src/DeserializerBase.ts similarity index 81% rename from arkoala-arkts/arkui/src/generated/peers/DeserializerBase.ts rename to arkoala-arkts/framework/src/DeserializerBase.ts index e901391b68a0be22173b04f46ac4aebcfd9304d8..c1ed4d9c3eb888c1701e11ecdc6d31ea2a400f0d 100644 --- a/arkoala-arkts/arkui/src/generated/peers/DeserializerBase.ts +++ b/arkoala-arkts/framework/src/DeserializerBase.ts @@ -14,11 +14,9 @@ */ import { float32, int32, int64, float32FromBits } from "@koalaui/common" -import {pointer, KUint8ArrayPtr, KBuffer} from "@koalaui/interop" -import {RuntimeType, Tags, CallbackResource} from "./SerializerBase"; -import { Length } from "../ArkUnitsInterfaces" -import { Resource } from "../ArkResourceInterfaces" -import { NativeModule } from "#components" +import { pointer, KUint8ArrayPtr, KBuffer } from "@koalaui/interop" +import { Tags, CallbackResource} from "./SerializerBase"; +import { NativeModule } from "#language" export class DeserializerBase { private position = 0 @@ -63,7 +61,7 @@ export class DeserializerBase { this.position = 0 } - private checkCapacity(value: int32) { + protected checkCapacity(value: int32) { if (value > this.length) { throw new Error(`${value} is less than remaining buffer length`) } @@ -137,11 +135,6 @@ export class DeserializerBase { return id } - // readMaterialized(): object { - // const ptr = this.readPointer() - // return { ptr: ptr } - // } - readCallbackResource(): CallbackResource { return ({ resourceId: this.readInt32(), @@ -184,46 +177,6 @@ export class DeserializerBase { throw new Error(`Unknown number tag: ${tag}`) } } - - readLength(): Length | undefined { - this.checkCapacity(1) - const valueType = this.readInt8() - if (valueType == RuntimeType.OBJECT) { - return ({ - id: this.readInt32(), - bundleName: "", - moduleName: "" - }) as Resource - } else if (valueType == RuntimeType.STRING) { - return this.readString() - } else if (valueType == RuntimeType.NUMBER) { - return (this.readFloat32() as number) - } else { - return undefined - } - } - - static lengthUnitFromInt(unit: int32): string { - let suffix: string - switch (unit) { - case 0: - suffix = "px" - break - case 1: - suffix = "vp" - break - case 3: - suffix = "%" - break - case 4: - suffix = "lpx" - break - default: - suffix = "" - } - return suffix - } - readBuffer(): ArrayBuffer { this.readPointer() const length = this.readInt64() diff --git a/arkoala-arkts/arkui/src/generated/Events.ts b/arkoala-arkts/framework/src/Events.ts similarity index 100% rename from arkoala-arkts/arkui/src/generated/Events.ts rename to arkoala-arkts/framework/src/Events.ts diff --git a/arkoala-arkts/arkui/src/generated/Finalizable.ts b/arkoala-arkts/framework/src/Finalizable.ts similarity index 100% rename from arkoala-arkts/arkui/src/generated/Finalizable.ts rename to arkoala-arkts/framework/src/Finalizable.ts diff --git a/arkoala-arkts/arkui/src/generated/peers/SerializerBase.ts b/arkoala-arkts/framework/src/SerializerBase.ts similarity index 90% rename from arkoala-arkts/arkui/src/generated/peers/SerializerBase.ts rename to arkoala-arkts/framework/src/SerializerBase.ts index 5cdfb5c50c59ae8efd093575bfb7b8bc7a27db1b..885bd9782a453b93a7abd2bcde201be216de3759 100644 --- a/arkoala-arkts/arkui/src/generated/peers/SerializerBase.ts +++ b/arkoala-arkts/framework/src/SerializerBase.ts @@ -14,9 +14,7 @@ */ import { float32, float64, int8, int32, int64 } from "@koalaui/common" import { pointer, KUint8ArrayPtr, KBuffer, ResourceId, ResourceHolder } from "@koalaui/interop" -import { Length } from "../ArkUnitsInterfaces" -import { Resource } from "../ArkResourceInterfaces" -import { NativeModule } from "#components" +import { NativeModule } from "#language" /** * Value representing possible JS runtime object type. @@ -63,24 +61,18 @@ export function runtimeType(value: Object|String|number|undefined|null): int32 { throw new Error(`bug: ${value} is ${type}`) } -export function registerCallback(value: object): int32 { +// TODO: remove those 3! +export function isInstanceOf(className: string, value: Object|undefined): boolean { // TODO: fix me! - return 42 + throw new Error("Must not be used") } -function registerMaterialized(value: Object): int32 { - // TODO: fix me! - return 42 +export function registerCallback(value: object): int32 { + throw new Error("Must not be used") } export function isResource(value: Object|undefined): boolean { - // TODO: fix me! - return false -} - -export function isInstanceOf(className: string, value: Object|undefined): boolean { - // TODO: fix me! - return false + throw new Error("Must not be used") } export interface CallbackResource { @@ -134,7 +126,7 @@ export class SerializerBase { return this.position } currentPosition(): int32 { return this.position } - private checkCapacity(value: int32) { + protected checkCapacity(value: int32) { if (value < 1) { throw new Error(`${value} is less than 1`) } @@ -214,7 +206,7 @@ export class SerializerBase { this.writeInt8(Tags.UNDEFINED as int32) } writeFunction(value: Object) { - this.writeInt32(registerCallback(value)) + this.writeInt32(666) } writeTag(tag: int32): void { this.buffer.set(this.position, tag as int8) @@ -288,29 +280,12 @@ export class SerializerBase { } this.position++ } - writeMaterialized(value: Object) { - this.writePointer(registerMaterialized(value)) - } writeString(value: string) { this.checkCapacity((4 + value.length * 4 + 1) as int32) // length, data let encodedLength = NativeModule._ManagedStringWrite(value, this.asArray(), this.position + 4) this.setInt32(this.position, encodedLength) this.position += encodedLength + 4 } - // Length is an important common case. - writeLength(value: Length|undefined) { - this.checkCapacity(1) - let valueType = runtimeType(value) - this.writeInt8(valueType as int32) - // TODO: without explicitly checking value for undefined, leads to segmentation fault - if (valueType == RuntimeType.NUMBER && value !== undefined) { - this.writeFloat32(value as float32) - } else if (valueType == RuntimeType.STRING) { - this.writeString(value as string) - } else if (valueType == RuntimeType.OBJECT) { - this.writeInt32((value as Resource).id as int32) - } - } //TODO: Needs to be implemented writeBuffer(value: ArrayBuffer) { this.writePointer(42) diff --git a/arkoala-arkts/arkui/src/UserView.ts b/arkoala-arkts/framework/src/UserView.ts similarity index 94% rename from arkoala-arkts/arkui/src/UserView.ts rename to arkoala-arkts/framework/src/UserView.ts index 0abe2feeba08886cd49d93dc88fc9c59750401fe..29d3adb90fdded9ff1803e053e14b2eafee6ec5d 100644 --- a/arkoala-arkts/arkui/src/UserView.ts +++ b/arkoala-arkts/framework/src/UserView.ts @@ -12,11 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { PeerNode } from "./generated/PeerNode" -import { NativeModule } from "#components" +import { NativeModule } from "#language" import { int32, int8Array } from "@koalaui/common" - export type UserViewBuilder = /** @memo */ (/*root: PeerNode*/) => void diff --git a/arkoala-arkts/framework/src/arkts/NativeModuleBase.ts b/arkoala-arkts/framework/src/arkts/NativeModuleBase.ts new file mode 100644 index 0000000000000000000000000000000000000000..d0efb7fda546d616720dd1b320f7d7db7518a8a0 --- /dev/null +++ b/arkoala-arkts/framework/src/arkts/NativeModuleBase.ts @@ -0,0 +1,46 @@ +/* + * 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 { pointer, KUint8ArrayPtr } from "@koalaui/interop" +import { int32 } from "@koalaui/common" + +export class NativeModule { + native static _ShowCrash(crash: string): void + native static startNativeLog(group: int32): void + native static stopNativeLog(group: int32): void + native static getNativeLog(group: int32): string + native static _NativeLog(log: string): void + native static _MeasureLayoutAndDraw(node: pointer): void + native static _LoadUserView(url: string, params: string): Object + native static _CheckArkoalaCallbackEvent(buffer: KUint8ArrayPtr, bufferSize: int32): int32 + native static _ReleaseArkoalaResource(id: int32): void + native static _ManagedStringWrite(value: string, array: KUint8ArrayPtr, offset: int32): int32 + native static _StringData(ptr: pointer, data: KUint8ArrayPtr, length: int32): void + native static _InvokeFinalizer(ptr: pointer, finalizer: pointer): void + native static _GetNodeFinalizer(): pointer + native static _DisposeNode(node: pointer): void + native static _AddChild(ptr1: pointer, ptr2: pointer): int32 + native static _CreateNode(type: int32, arg0: int32, arg1: int32): pointer + native static _InsertChildAfter(ptr0: pointer, ptr1: pointer, ptr2: pointer): int32 + native static _Utf8ToString(data: KUint8ArrayPtr, offset: int32, length: int32): string + native static _GetStringFinalizer(): pointer + native static _RemoveChild(ptr0: pointer, ptr2: pointer): void + native static _InsertChildBefore(ptr0: pointer, ptr1: pointer, ptr2: pointer): int32 + native static _StringLength(ptr1: pointer): int32 + native static _InsertChildAt(ptr0: pointer, ptr1: pointer, arg: int32): int32 + native static _DumpTreeNode(ptr0: pointer): void + native static _StartGroupedLog(index: int32): void + native static _StopGroupedLog(index: int32): void + native static _GetGroupedLog(index: int32): pointer +} \ No newline at end of file diff --git a/arkoala-arkts/framework/src/arkts/index.ts b/arkoala-arkts/framework/src/arkts/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..ecd5188198293c14c6ac28389204109005d99287 --- /dev/null +++ b/arkoala-arkts/framework/src/arkts/index.ts @@ -0,0 +1 @@ +export * from "./NativeModuleBase" \ No newline at end of file diff --git a/arkoala-arkts/framework/src/index.ts b/arkoala-arkts/framework/src/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..b7bad24f402195bbd8fad19dbdfbce2c38162682 --- /dev/null +++ b/arkoala-arkts/framework/src/index.ts @@ -0,0 +1,8 @@ +export * from "./Application" +export * from "./CallbacksChecker" +export * from "./Events" +export * from "./NativePeerNode" +export * from "./PeerNode" +export * from "./SerializerBase" +export * from "./UserView" +export * from "./Finalizable" \ No newline at end of file diff --git a/arkoala-arkts/framework/src/typescript/NativeModuleBase.ts b/arkoala-arkts/framework/src/typescript/NativeModuleBase.ts new file mode 100644 index 0000000000000000000000000000000000000000..f445492cf7cd743c6742a0b46edcf88e9d59fa35 --- /dev/null +++ b/arkoala-arkts/framework/src/typescript/NativeModuleBase.ts @@ -0,0 +1,46 @@ +/* + * 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 { pointer, KUint8ArrayPtr, KBuffer,nullptr } from "@koalaui/interop" +import { int32 } from "@koalaui/common" + +export class NativeModule { + static _ShowCrash(crash: string): void {} + static startNativeLog(group: int32): void {} + static stopNativeLog(group: int32): void {} + static getNativeLog(group: int32): string { throw new Error() } + static _NativeLog(log: string): void {} + static _MeasureLayoutAndDraw(node: pointer): void {} + static _LoadUserView(url: string, params: string): Object { return new Object() } + static _CheckArkoalaCallbackEvent(buffer: KUint8ArrayPtr, bufferSize: int32): int32 {} + static _ReleaseArkoalaResource(id: int32): void {} + static _ManagedStringWrite(value: string, array: KUint8ArrayPtr, offset: int32): int32 { return 0 } + static _StringData(ptr: pointer, data: KUint8ArrayPtr, length: int32): void {} + static _InvokeFinalizer(ptr: pointer, finalizer: pointer): void {} + static _GetNodeFinalizer(): pointer { return nullptr } + static _DisposeNode(node: pointer): void {} + static _AddChild(ptr1: pointer, ptr2: pointer): int32 { return 0 } + static _CreateNode(type: int32, arg0: int32, arg1: int32): pointer { return nullptr } + static _InsertChildAfter(ptr0: pointer, ptr1: pointer, ptr2: pointer): int32 { return 0 } + static _Utf8ToString(data: KUint8ArrayPtr, offset: int32, length: int32): string { return "" } + static _GetStringFinalizer(): pointer { return nullptr } + static _RemoveChild(ptr0: pointer, ptr2: pointer): void {} + static _InsertChildBefore(ptr0: pointer, ptr1: pointer, ptr2: pointer): int32 { return 0 } + static _StringLength(ptr1: pointer): int32 { return 0 } + static _InsertChildAt(ptr0: pointer, ptr1: pointer, arg: int32): int32 { return 0 } + static _DumpTreeNode(ptr0: pointer): void {} + static _StartGroupedLog(index: int32): void {} + static _StopGroupedLog(index: int32): void {} + static _GetGroupedLog(index: int32): pointer { return nullptr } +} \ No newline at end of file diff --git a/arkoala-arkts/framework/src/typescript/index.ts b/arkoala-arkts/framework/src/typescript/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..ecd5188198293c14c6ac28389204109005d99287 --- /dev/null +++ b/arkoala-arkts/framework/src/typescript/index.ts @@ -0,0 +1 @@ +export * from "./NativeModuleBase" \ No newline at end of file diff --git a/arkoala-arkts/framework/tsconfig-unmemoize.json b/arkoala-arkts/framework/tsconfig-unmemoize.json new file mode 100644 index 0000000000000000000000000000000000000000..1978ba3030088185ff79b0b992f8f9a509762e81 --- /dev/null +++ b/arkoala-arkts/framework/tsconfig-unmemoize.json @@ -0,0 +1,47 @@ +{ + "extends": "@koalaui/build-common/tsconfig.json", + "compilerOptions": { + "types": [], + "plugins": [ + { + "transform": "@koalaui/compiler-plugin/build/lib/src/koala-transformer.js", + "trace": false, + "only_unmemoize": true, + "unmemoizeDir": "./build/unmemoized" + } + ], + "outDir": "./build/junk", + "baseUrl": ".", + "paths": { + "@koalaui/common": [ + "../../incremental/common/src" + ], + "@koalaui/interop": [ + "../../interop/src/interop" + ], + "@koalaui/runtime": [ + "../../incremental/runtime/src" + ], + "@koalaui/compat": [ + "../../incremental/compat/src" + ], + "#language": [ + "./src/typescript" + ] + }, + "rootDir": "." + }, + "include": [ + "./src/**/*.ts", + ], + "exclude": [ + "./src/arkts/**/*.ts" + ], + "files": [ + "../arkui/src/sts-stdlib/global.d.ts" + ], + "references": [ + { "path": "../../interop" }, + { "path": "../../incremental/runtime" } + ] +} diff --git a/arkoala-arkts/package.json b/arkoala-arkts/package.json index f3a128c75c4b085e08b27ef1d43d492842e40ffb..f1535f1014398716d9704568b374079ee52cdf35 100644 --- a/arkoala-arkts/package.json +++ b/arkoala-arkts/package.json @@ -3,6 +3,7 @@ "private": true, "workspaces": [ "./arkui", + "./framework", "./loader", "./har", "../arkoala/arkui-common", @@ -49,11 +50,14 @@ "build:arkui-no-common": "npm run build:arkui-no-common --prefix arkui", "build:arkui-no-common:inc": "npm run build:arkui-no-common:inc --prefix arkui", "clean:arkui-no-common": "npm run clean:arkui-no-common --prefix arkui", - "build:arkoala:components": "npm run build:incremental && npm run build:interop && npm run build:arkui-common && npm run build:arkui-no-common", - "build:arkoala:components:inc": "npm run build:incremental:inc && npm run build:interop:inc && npm run build:arkui-common:inc && npm run build:arkui-no-common:inc", + "build:framework": "npm run build:framework --prefix framework", + "build:framework:inc": "npm run build:framework:inc --prefix framework", + "clean:framework": "npm run clean:framework --prefix framework", + "build:arkoala:components": "npm run build:incremental && npm run build:interop && npm run build:framework && npm run build:arkui-common && npm run build:arkui-no-common", + "build:arkoala:components:inc": "npm run build:incremental:inc && npm run build:interop:inc && && npm run build:framework:inc && npm run build:arkui-common:inc && npm run build:arkui-no-common:inc", "build:arkoala": "npm run build:arkoala:components && npm run link:arkoala", "build:arkoala:inc": "npm run build:arkoala:components:inc && npm run link:arkoala", - "link:arkoala": "mkdir -p build && ../incremental/tools/panda/arkts/arklink --output build/arkoala.abc -- ./arkui/build/arkui-no-common.abc ../arkoala/arkui-common/build/arkui-common.abc ../incremental/runtime/build/incremental.abc ../interop/build/interop.abc", + "link:arkoala": "mkdir -p build && ../incremental/tools/panda/arkts/arklink --output build/arkoala.abc -- ./arkui/build/arkui-no-common.abc ../arkoala/arkui-common/build/arkui-common.abc ../incremental/runtime/build/incremental.abc ../interop/build/interop.abc ../interop/build/framework.abc", "build:user": "npm run build:user --prefix user && mkdir -p ./build && cp -r user/build/user.abc ./build/", "run:node": "ACE_LIBRARY_PATH=build PANDA_HOME=../incremental/tools/panda/node_modules/@panda/sdk node build/index.js panda", "run:node:ci": "ACE_LIBRARY_PATH=build PANDA_HOME=../incremental/tools/panda/node_modules/@panda/sdk node build/index.js panda 10", diff --git a/arkoala/arkui/src/ArkSwiperControllerMaterialized.ts b/arkoala/arkui/src/ArkSwiperControllerMaterialized.ts index b4c1056e280ba4b11757196b0c0838ee50c0334b..3bd39b72f48526f1f68c9ff4881f24b5bc16f9ca 100644 --- a/arkoala/arkui/src/ArkSwiperControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkSwiperControllerMaterialized.ts @@ -17,7 +17,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { Finalizable } from "./Finalizable" +import { Finalizable } from "@koalaui/arkts-framework" import { MaterializedBase } from "./MaterializedBase" import { NativePeerNode } from "./PeerNode" import { nativeModule } from "@koalaui/arkoala" diff --git a/arkoala/arkui/src/peers/CallbackDeserializeCall.ts b/arkoala/arkui/src/peers/CallbackDeserializeCall.ts index fa5e08d0aa8a3f9b0074a1146c0b5e1cb22467b2..7e3b0da7314ea8139bd1fe11a8d551191720b3d3 100644 --- a/arkoala/arkui/src/peers/CallbackDeserializeCall.ts +++ b/arkoala/arkui/src/peers/CallbackDeserializeCall.ts @@ -18,6 +18,7 @@ import { Deserializer } from "./Deserializer" import { int32 } from "@koalaui/common" import { ResourceHolder, KInt, KStringPtr } from "@koalaui/interop" import { RuntimeType } from "./SerializerBase" +import { setDeserializeAndCallCallback } from "@koalaui/arkts-framework" export function deserializeAndCallAccessibilityCallback(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() @@ -243,7 +244,7 @@ export function deserializeAndCallCallback_DragEvent_String_Union_CustomBuilder_ const _call = (ResourceHolder.instance().get(_resourceId) as ((event: DragEvent, extraParams?: string) => CustomBuilder | DragItemInfo)) let event: DragEvent = thisDeserializer.readDragEvent() const extraParams_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let extraParams_buf: string | undefined|undefined + let extraParams_buf: string | undefined|undefined if ((RuntimeType.UNDEFINED) != (extraParams_buf_runtimeType)) { extraParams_buf = (thisDeserializer.readString() as string) @@ -257,7 +258,7 @@ export function deserializeAndCallCallback_DragEvent_String_Void(thisDeserialize const _call = (ResourceHolder.instance().get(_resourceId) as ((event: DragEvent, extraParams?: string) => void)) let event: DragEvent = thisDeserializer.readDragEvent() const extraParams_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let extraParams_buf: string | undefined|undefined + let extraParams_buf: string | undefined|undefined if ((RuntimeType.UNDEFINED) != (extraParams_buf_runtimeType)) { extraParams_buf = (thisDeserializer.readString() as string) @@ -396,7 +397,7 @@ export function deserializeAndCallCallback_Literal_Function_callback_Object_file const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: { callback: Function, fileSelector: Object }) => void)) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let event_buf: { callback: Function, fileSelector: Object } | undefined|undefined + let event_buf: { callback: Function, fileSelector: Object } | undefined|undefined if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) { const event_buf__callback: Function = (thisDeserializer.readFunction() as Function) @@ -410,7 +411,7 @@ export function deserializeAndCallCallback_Literal_Function_handler_Object_error const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: { handler: Function, error: Object }) => void)) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let event_buf: { handler: Function, error: Object } | undefined|undefined + let event_buf: { handler: Function, error: Object } | undefined|undefined if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) { const event_buf__handler: Function = (thisDeserializer.readFunction() as Function) @@ -425,7 +426,7 @@ export function deserializeAndCallCallback_Literal_Number_code_Want_want_Void(th const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: { code: number, want?: Want }) => void)) const parameter_buf_code: number = (thisDeserializer.readNumber() as number) const parameter_buf_want_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let parameter_buf_want_buf: Want | undefined|undefined + let parameter_buf_want_buf: Want | undefined|undefined if ((RuntimeType.UNDEFINED) != (parameter_buf_want_buf_runtimeType)) { parameter_buf_want_buf = thisDeserializer.readWant() @@ -453,7 +454,7 @@ export function deserializeAndCallCallback_Literal_Object_detail_Boolean(thisDes const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: { detail: Object }) => boolean)) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let event_buf: { detail: Object } | undefined|undefined + let event_buf: { detail: Object } | undefined|undefined if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) { const event_buf__detail: Object = (thisDeserializer.readCustomObject("Object") as Object) @@ -849,7 +850,7 @@ export function deserializeAndCallCallback_Opt_Array_String_Void(thisDeserialize const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((error?: Array | undefined) => void)) const error_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let error_buf: Array | undefined|undefined + let error_buf: Array | undefined|undefined if ((RuntimeType.UNDEFINED) != (error_buf_runtimeType)) { const error_buf__length: int32 = thisDeserializer.readInt32() @@ -868,7 +869,7 @@ export function deserializeAndCallCallback_Opt_NavigationAnimatedTransition_Void const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: NavigationAnimatedTransition | undefined) => void)) const value_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let value_buf: NavigationAnimatedTransition | undefined|undefined + let value_buf: NavigationAnimatedTransition | undefined|undefined if ((RuntimeType.UNDEFINED) != (value_buf_runtimeType)) { value_buf = thisDeserializer.readNavigationAnimatedTransition() @@ -880,14 +881,14 @@ export function deserializeAndCallCallback_Opt_StyledString_Opt_Array_String_Voi const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value?: StyledString | undefined, error?: Array | undefined) => void)) const value_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let value_buf: StyledString | undefined|undefined + let value_buf: StyledString | undefined|undefined if ((RuntimeType.UNDEFINED) != (value_buf_runtimeType)) { value_buf = (thisDeserializer.readStyledString() as StyledString) } let value: StyledString | undefined|undefined = value_buf const error_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let error_buf: Array | undefined|undefined + let error_buf: Array | undefined|undefined if ((RuntimeType.UNDEFINED) != (error_buf_runtimeType)) { const error_buf__length: int32 = thisDeserializer.readInt32() @@ -906,7 +907,7 @@ export function deserializeAndCallCallback_Opt_TabContentAnimatedTransition_Void const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: TabContentAnimatedTransition | undefined) => void)) const value_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let value_buf: TabContentAnimatedTransition | undefined|undefined + let value_buf: TabContentAnimatedTransition | undefined|undefined if ((RuntimeType.UNDEFINED) != (value_buf_runtimeType)) { value_buf = thisDeserializer.readTabContentAnimatedTransition() @@ -1124,7 +1125,7 @@ export function deserializeAndCallCallback_Type_ImageAttribute_onComplete_callba const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: { width: number, height: number, componentWidth: number, componentHeight: number, loadingStatus: number, contentWidth: number, contentHeight: number, contentOffsetX: number, contentOffsetY: number }) => void)) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let event_buf: { width: number, height: number, componentWidth: number, componentHeight: number, loadingStatus: number, contentWidth: number, contentHeight: number, contentOffsetX: number, contentOffsetY: number } | undefined|undefined + let event_buf: { width: number, height: number, componentWidth: number, componentHeight: number, loadingStatus: number, contentWidth: number, contentHeight: number, contentOffsetX: number, contentOffsetY: number } | undefined|undefined if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) { const event_buf__width: number = (thisDeserializer.readNumber() as number) @@ -1151,7 +1152,7 @@ export function deserializeAndCallCallback_Union_CustomBuilder_DragItemInfo_Void const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: CustomBuilder | DragItemInfo) => void)) const value_buf_selector: int32 = thisDeserializer.readInt8() - let value_buf: CustomBuilder | DragItemInfo | undefined|undefined + let value_buf: CustomBuilder | DragItemInfo | undefined|undefined if (value_buf_selector == 0) { value_buf = thisDeserializer.readCallback_Any() } @@ -1198,7 +1199,7 @@ export function deserializeAndCallEditableTextOnChangeCallback(thisDeserializer: const _call = (ResourceHolder.instance().get(_resourceId) as EditableTextOnChangeCallback) let value: string = (thisDeserializer.readString() as string) const previewText_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let previewText_buf: PreviewText | undefined|undefined + let previewText_buf: PreviewText | undefined|undefined if ((RuntimeType.UNDEFINED) != (previewText_buf_runtimeType)) { previewText_buf = thisDeserializer.readPreviewText() @@ -1258,7 +1259,7 @@ export function deserializeAndCallInterceptionShowCallback(thisDeserializer: Des const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as InterceptionShowCallback) const from_buf_selector: int32 = thisDeserializer.readInt8() - let from_buf: NavDestinationContext | NavBar | undefined|undefined + let from_buf: NavDestinationContext | NavBar | undefined|undefined if (from_buf_selector == 0) { from_buf = (thisDeserializer.readNavDestinationContext() as NavDestinationContext) } @@ -1267,7 +1268,7 @@ export function deserializeAndCallInterceptionShowCallback(thisDeserializer: Des } let from: NavDestinationContext | NavBar = (from_buf as NavDestinationContext | NavBar) const to_buf_selector: int32 = thisDeserializer.readInt8() - let to_buf: NavDestinationContext | NavBar | undefined|undefined + let to_buf: NavDestinationContext | NavBar | undefined|undefined if (to_buf_selector == 0) { to_buf = (thisDeserializer.readNavDestinationContext() as NavDestinationContext) } @@ -1416,7 +1417,7 @@ export function deserializeAndCallOnNativeLoadCallback(thisDeserializer: Deseria const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnNativeLoadCallback) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let event_buf: Object | undefined|undefined + let event_buf: Object | undefined|undefined if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) { event_buf = (thisDeserializer.readCustomObject("Object") as Object) @@ -1587,7 +1588,7 @@ export function deserializeAndCallPasteEventCallback(thisDeserializer: Deseriali const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as PasteEventCallback) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let event_buf: PasteEvent | undefined|undefined + let event_buf: PasteEvent | undefined|undefined if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) { event_buf = thisDeserializer.readPasteEvent() @@ -1624,7 +1625,7 @@ export function deserializeAndCallSearchSubmitCallback(thisDeserializer: Deseria const _call = (ResourceHolder.instance().get(_resourceId) as SearchSubmitCallback) let searchContent: string = (thisDeserializer.readString() as string) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let event_buf: SubmitEvent | undefined|undefined + let event_buf: SubmitEvent | undefined|undefined if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) { event_buf = thisDeserializer.readSubmitEvent() @@ -1681,7 +1682,7 @@ export function deserializeAndCallTextAreaSubmitCallback(thisDeserializer: Deser const _call = (ResourceHolder.instance().get(_resourceId) as TextAreaSubmitCallback) let enterKeyType: EnterKeyType = (thisDeserializer.readInt32() as EnterKeyType) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let event_buf: SubmitEvent | undefined|undefined + let event_buf: SubmitEvent | undefined|undefined if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) { event_buf = thisDeserializer.readSubmitEvent() @@ -1693,7 +1694,7 @@ export function deserializeAndCallTextPickerScrollStopCallback(thisDeserializer: const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as TextPickerScrollStopCallback) const value_buf_selector: int32 = thisDeserializer.readInt8() - let value_buf: string | Array | undefined|undefined + let value_buf: string | Array | undefined|undefined if (value_buf_selector == 0) { value_buf = (thisDeserializer.readString() as string) } @@ -1709,7 +1710,7 @@ export function deserializeAndCallTextPickerScrollStopCallback(thisDeserializer: } let value: string | Array = (value_buf as string | Array) const index_buf_selector: int32 = thisDeserializer.readInt8() - let index_buf: number | Array | undefined|undefined + let index_buf: number | Array | undefined|undefined if (index_buf_selector == 0) { index_buf = (thisDeserializer.readNumber() as number) } @@ -1745,7 +1746,7 @@ export function deserializeAndCallType_TextPickerAttribute_onChange_callback(thi const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: string | Array, index: number | Array) => void)) const value_buf_selector: int32 = thisDeserializer.readInt8() - let value_buf: string | Array | undefined|undefined + let value_buf: string | Array | undefined|undefined if (value_buf_selector == 0) { value_buf = (thisDeserializer.readString() as string) } @@ -1761,7 +1762,7 @@ export function deserializeAndCallType_TextPickerAttribute_onChange_callback(thi } let value: string | Array = (value_buf as string | Array) const index_buf_selector: int32 = thisDeserializer.readInt8() - let index_buf: number | Array | undefined|undefined + let index_buf: number | Array | undefined|undefined if (index_buf_selector == 0) { index_buf = (thisDeserializer.readNumber() as number) } @@ -1782,11 +1783,11 @@ export function deserializeAndCallType_WebAttribute_onUrlLoadIntercept_callback( const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: { data: string | WebResourceRequest }) => boolean)) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let event_buf: { data: string | WebResourceRequest } | undefined|undefined + let event_buf: { data: string | WebResourceRequest } | undefined|undefined if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) { const event_buf__data_buf_selector: int32 = thisDeserializer.readInt8() - let event_buf__data_buf: string | WebResourceRequest | undefined|undefined + let event_buf__data_buf: string | WebResourceRequest | undefined|undefined if (event_buf__data_buf_selector == 0) { event_buf__data_buf = (thisDeserializer.readString() as string) } @@ -1826,7 +1827,7 @@ export function deserializeAndCallWithThemeInterface(thisDeserializer: Deseriali let _continuation: ((value: WithThemeAttribute) => void) = thisDeserializer.readCallback_WithThemeAttribute_Void() _continuation(_call(options)) } -export function deserializeAndCallCallback(thisDeserializer: Deserializer) { +function deserializeAndCallCallback(thisDeserializer: Deserializer) { const kind: int32 = thisDeserializer.readInt32() switch (kind) { case 0/*CallbackKind.Kind_AccessibilityCallback*/: return deserializeAndCallAccessibilityCallback(thisDeserializer); @@ -2065,4 +2066,6 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { case 233/*CallbackKind.Kind_WithThemeInterface*/: return deserializeAndCallWithThemeInterface(thisDeserializer); } throw new Error("Unknown callback kind") -} \ No newline at end of file +} + +setDeserializeAndCallCallback(deserializeAndCallCallback) \ No newline at end of file diff --git a/arkoala/arkui/src/peers/DeserializerBase.ts b/arkoala/arkui/src/peers/DeserializerBase.ts deleted file mode 100644 index ecf4d34b3169d1b24b49e35cb90b371108e445da..0000000000000000000000000000000000000000 --- a/arkoala/arkui/src/peers/DeserializerBase.ts +++ /dev/null @@ -1,237 +0,0 @@ -/* - * Copyright (c) 2024 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import {CustomTextDecoder, float32, int32, int64} from "@koalaui/common" -import {pointer} from "@koalaui/interop" -import {RuntimeType, Tags, CallbackResource } from "./SerializerBase"; -// import { Length } from "@arkoala/arkui" - -export class DeserializerBase { - private position = 0 - private readonly buffer: ArrayBuffer - private readonly length: int32 - private view: DataView - private static textDecoder = new CustomTextDecoder() - private static customDeserializers: CustomDeserializer | undefined = undefined - - static registerCustomDeserializer(deserializer: CustomDeserializer) { - let current = DeserializerBase.customDeserializers - if (current == undefined) { - DeserializerBase.customDeserializers = deserializer - } else { - while (current.next != undefined) { - current = current.next - } - current.next = deserializer - } - } - - constructor(buffer: ArrayBuffer, length: int32) { - this.buffer = buffer - this.length = length - this.view = new DataView(this.buffer) - } - - static get( - factory: (args: Uint8Array, length: int32) => T, - args: Uint8Array, length: int32): T { - - // TBD: Use cache - return factory(args, length); - } - - asArray(position?: number, length?: number): Uint8Array { - return new Uint8Array(this.buffer, position, length) - } - - currentPosition(): int32 { - return this.position - } - - resetCurrentPosition(): void { - this.position = 0 - } - - private checkCapacity(value: int32) { - if (value > this.length) { - throw new Error(`${value} is less than remaining buffer length`) - } - } - - readInt8(): int32 { - this.checkCapacity(1) - const value = this.view.getInt8(this.position) - this.position += 1 - return value - } - - readInt32(): int32 { - this.checkCapacity(4) - const value = this.view.getInt32(this.position, true) - this.position += 4 - return value - } - - readInt64(): int64 { - this.checkCapacity(8) - const value = this.view.getBigInt64(this.position, true) - this.position += 8 - return Number(value) - } - - readPointer(): pointer { - this.checkCapacity(8) - const value = this.view.getBigInt64(this.position, true) - this.position += 8 - return value - } - - readFloat32(): float32 { - this.checkCapacity(4) - const value = this.view.getFloat32(this.position, true) - this.position += 4 - return value - } - - readBoolean(): boolean { - this.checkCapacity(1) - const value = this.view.getInt8(this.position) - this.position += 1 - return value == 1 - } - - readFunction(): any { - // TODO: not exactly correct. - const id = this.readInt32() - return id - } - - readMaterialized(): object { - const ptr = this.readPointer() - return { ptr: ptr } - } - - readString(): string { - const length = this.readInt32() - this.checkCapacity(length) - // read without null-terminated byte - const value = DeserializerBase.textDecoder.decode(this.asArray(this.position, length - 1)); - this.position += length - return value - } - - readCustomObject(kind: string): any { - let current = DeserializerBase.customDeserializers - while (current) { - if (current.supports(kind)) { - return current.deserialize(this, kind) - } - current = current.next - } - // consume tag - const tag = this.readInt8() - return undefined - } - - readNumber(): number | undefined { - const tag = this.readInt8() - switch (tag) { - case Tags.UNDEFINED: - return undefined; - case Tags.INT32: - return this.readInt32() - case Tags.FLOAT32: - return this.readFloat32() - default: - throw new Error(`Unknown number tag: ${tag}`) - break - } - } - - readLength(): Length | undefined { - this.checkCapacity(1) - const valueType = this.readInt8() - switch (valueType) { - case RuntimeType.OBJECT: - return { - id: this.readInt32(), - bundleName: "", - moduleName: "" - } - case RuntimeType.STRING: - return this.readString() - case RuntimeType.NUMBER: - return this.readFloat32() - } - return undefined - } - - readCallbackResource(): CallbackResource { - return { - resourceId: this.readInt32(), - hold: this.readPointer(), - release: this.readPointer(), - } - } - - static lengthUnitFromInt(unit: int32): string { - let suffix: string - switch (unit) { - case 0: - suffix = "px" - break - case 1: - suffix = "vp" - break - case 3: - suffix = "%" - break - case 4: - suffix = "lpx" - break - default: - suffix = "" - } - return suffix - } - readBuffer(): ArrayBuffer { - this.readPointer() - const length = this.readInt64() - return new ArrayBuffer(Number(length)) - } -} - -export abstract class CustomDeserializer { - protected constructor(protected supported: Array) { - } - - supports(kind: string): boolean { - return this.supported.includes(kind) - } - - abstract deserialize(serializer: DeserializerBase, kind: string): any - - next: CustomDeserializer | undefined = undefined -} - -class DateDeserializer extends CustomDeserializer { - constructor() { - super(["Date"]); - } - - deserialize(serializer: DeserializerBase, kind: string): any { - return new Date(serializer.readString()) - } -} -DeserializerBase.registerCustomDeserializer(new DateDeserializer()) diff --git a/interop/src/cpp/cangjie/convertors-cj.h b/interop/src/cpp/cangjie/convertors-cj.h index 60368b32c0179bcea16cf4f42e421fc888b411d6..f70aac7352a8e5847f11a9b3244fbdcb13f0b421 100644 --- a/interop/src/cpp/cangjie/convertors-cj.h +++ b/interop/src/cpp/cangjie/convertors-cj.h @@ -41,7 +41,7 @@ public: const std::vector>& getImpls() { return implementations; } -}; +}; template struct InteropTypeConverter { @@ -143,7 +143,7 @@ KOALA_INTEROP_EXPORT Ret name( \ P2 p2 = getArgument(_p2); \ P3 p3 = getArgument(_p3); \ return makeResult(impl_##name(p0, p1, p2, p3)); \ -} +} // MAKE_CJ_EXPORT(name, #Ret "|" #P0 "|" #P1 "|" #P2 "|" #P3, 0) #define KOALA_INTEROP_5(name, Ret, P0, P1, P2, P3, P4) \ @@ -203,7 +203,7 @@ KOALA_INTEROP_EXPORT Ret name( \ P5 p5 = getArgument(_p5); \ P6 p6 = getArgument(_p6); \ return makeResult(impl_##name(p0, p1, p2, p3, p4, p5, p6)); \ -} +} // MAKE_CJ_EXPORT(name, #Ret "|" #P0 "|" #P1 "|" #P2 "|" #P3 "|" #P4 "|" #P5 "|" #P6, 0) #define KOALA_INTEROP_8(name, Ret, P0, P1, P2, P3, P4, P5, P6, P7) \ @@ -227,7 +227,7 @@ KOALA_INTEROP_EXPORT Ret name( \ P6 p6 = getArgument(_p6); \ P7 p7 = getArgument(_p7); \ return makeResult(impl_##name(p0, p1, p2, p3, p4, p5, p6, p7)); \ -} +} // MAKE_CJ_EXPORT(name, #Ret "|" #P0 "|" #P1 "|" #P2 "|" #P3 "|" #P4 "|" #P5 "|" #P6 "|" #P7, 0) #define KOALA_INTEROP_9(name, Ret, P0, P1, P2, P3, P4, P5, P6, P7, P8) \ @@ -253,7 +253,7 @@ KOALA_INTEROP_EXPORT Ret name( \ P7 p7 = getArgument(_p7); \ P8 p8 = getArgument(_p8); \ return makeResult(impl_##name(p0, p1, p2, p3, p4, p5, p6, p7, p8)); \ -} +} // MAKE_CJ_EXPORT(name, #Ret "|" #P0 "|" #P1 "|" #P2 "|" #P3 "|" #P4 "|" #P5 "|" #P6 "|" #P7 "|" #P8, 0) #define KOALA_INTEROP_10(name, Ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9) \ @@ -281,7 +281,7 @@ KOALA_INTEROP_EXPORT Ret name( \ P8 p8 = getArgument(_p8); \ P9 p9 = getArgument(_p9); \ return makeResult(impl_##name(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9)); \ -} +} // MAKE_CJ_EXPORT(name, #Ret "|" #P0 "|" #P1 "|" #P2 "|" #P3 "|" #P4 "|" #P5 "|" #P6 "|" #P7 "|" #P8 "|" #P9, 0) #define KOALA_INTEROP_11(name, Ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) \ @@ -311,7 +311,7 @@ KOALA_INTEROP_EXPORT Ret name( \ P9 p9 = getArgument(_p9); \ P10 p10 = getArgument(_p10); \ return makeResult(impl_##name(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10)); \ -} +} // MAKE_CJ_EXPORT(name, #Ret "|" #P0 "|" #P1 "|" #P2 "|" #P3 "|" #P4 "|" #P5 "|" #P6 "|" #P7 "|" #P8 "|" #P9 "|" #P10, 0) #define KOALA_INTEROP_12(name, Ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) \ @@ -343,7 +343,7 @@ KOALA_INTEROP_EXPORT Ret name( \ P10 p10 = getArgument(_p10); \ P11 p11 = getArgument(_p11); \ return makeResult(impl_##name(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11)); \ -} +} // MAKE_CJ_EXPORT(name, #Ret "|" #P0 "|" #P1 "|" #P2 "|" #P3 "|" #P4 "|" #P5 "|" #P6 "|" #P7 "|" #P8 "|" #P9 "|" #P10 "|" #P11, 0) #define KOALA_INTEROP_13(name, Ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) \ @@ -377,7 +377,7 @@ KOALA_INTEROP_EXPORT Ret name( \ P11 p11 = getArgument(_p11); \ P12 p12 = getArgument(_p12); \ return makeResult(impl_##name(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12)); \ -} +} // MAKE_CJ_EXPORT(name, #Ret "|" #P0 "|" #P1 "|" #P2 "|" #P3 "|" #P4 "|" #P5 "|" #P6 "|" #P7 "|" #P8 "|" #P9 "|" #P10 "|" #P11 "|" #P12, 0) #define KOALA_INTEROP_14(name, Ret, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) \ diff --git a/interop/src/cpp/common-interop.cc b/interop/src/cpp/common-interop.cc index f135cdcbbf7dcb35a746d0d1c5f4265e97126df8..5049cf95c24384dac43922c4666abd3867eece92 100644 --- a/interop/src/cpp/common-interop.cc +++ b/interop/src/cpp/common-interop.cc @@ -29,6 +29,7 @@ InteropProfiler* InteropProfiler::_instance = nullptr; using std::string; + #ifdef KOALA_NAPI static Napi::Reference g_koalaNapiCallbackDispatcher; diff --git a/interop/src/cpp/napi/convertors-napi.cc b/interop/src/cpp/napi/convertors-napi.cc index 682db98f1da85fe31f090b1e4d50bc32942c1c20..64470c30692af14c058d8e49c6120bd0d1793195 100644 --- a/interop/src/cpp/napi/convertors-napi.cc +++ b/interop/src/cpp/napi/convertors-napi.cc @@ -209,4 +209,9 @@ static Napi::Object InitModule(Napi::Env env, Napi::Object exports) { return ProvideModuleRegisterCallback()(env, exports); } +{ + "Interop": [{ "StringLength": () => {} }, ], + +} + NODE_API_MODULE_ADAPTER(INTEROP_LIBRARY_NAME, InitModule)