From e9e0a8202f7d19407c5587bd18f962fc60ae6e9a Mon Sep 17 00:00:00 2001 From: twx1232375 Date: Fri, 13 Dec 2024 14:32:51 +0300 Subject: [PATCH] rm ArkPageTransition from generated --- .../arkui/src/generated/ArkPageTransition.ts | 73 ------------------- 1 file changed, 73 deletions(-) delete mode 100644 arkoala-arkts/arkui/src/generated/ArkPageTransition.ts diff --git a/arkoala-arkts/arkui/src/generated/ArkPageTransition.ts b/arkoala-arkts/arkui/src/generated/ArkPageTransition.ts deleted file mode 100644 index 648263233..000000000 --- a/arkoala-arkts/arkui/src/generated/ArkPageTransition.ts +++ /dev/null @@ -1,73 +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. - */ - - -// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! - -import { int32 } from "@koalaui/common" -import { KStringPtr, KBoolean } from "@koalaui/interop" -import { NodeAttach, remember } from "@koalaui/runtime" -import { runtimeType, RuntimeType, isResource, isInstanceOf } from "./peers/SerializerBase" -import { ComponentBase } from "./ComponentBase" -import { TypeChecker } from "#components" -import { ArkCommonTransitionPeer } from "./peers/ArkPageTransitionPeer" -import { SlideEffect } from "./ArkPageTransitionInterfaces" -import { TranslateOptions, ScaleOptions } from "./ArkCommonInterfaces" -/** @memo:stable */ -export class ArkCommonTransitionComponent extends ComponentBase { - getPeer(): ArkCommonTransitionPeer { - return (this.peer as ArkCommonTransitionPeer) - } - /** @memo */ - slide(value: SlideEffect): this { - if (this.checkPriority("slide")) { - const value_casted = value as (SlideEffect) - this.getPeer()?.slideAttribute(value_casted) - return this - } - return this - } - /** @memo */ - translate(value: TranslateOptions): this { - if (this.checkPriority("translate")) { - const value_casted = value as (TranslateOptions) - this.getPeer()?.translateAttribute(value_casted) - return this - } - return this - } - /** @memo */ - scale(value: ScaleOptions): this { - if (this.checkPriority("scale")) { - const value_casted = value as (ScaleOptions) - this.getPeer()?.scaleAttribute(value_casted) - return this - } - return this - } - /** @memo */ - opacity(value: number): this { - if (this.checkPriority("opacity")) { - const value_casted = value as (number) - this.getPeer()?.opacityAttribute(value_casted) - return this - } - return this - } - public applyAttributesFinish(): void { - // we calls this function outside of class, so need to make it public - super.applyAttributesFinish() - } -} -- Gitee