UNPKG

@jiess/core

Version:

基于javascript的配置式渲染库,同时支持vue2,vue3和react

46 lines (45 loc) 1.53 kB
import { UnObject } from '../../../../common/type/index.js'; import { TypeVue3Ctx, itJiessEnv } from '../../../../common/interface/index.js'; import { Disposable } from '../../core/ResourceManagement.js'; import { Env } from "../../../../common/enum/index.js"; import { Component } from '../../core/Component/index.js'; import Jiess from '../../core/index.js'; declare class JiessEnv implements itJiessEnv<Env.Vue3>, Disposable { env: string; nativeCtx: any; nativeApp: any; styleNode?: HTMLStyleElement; recordStyleInfo: { styleScope: string; style: string; }[]; jiess: Jiess; private _resourceManager; private _disposed; constructor(frameParam: UnObject, contextParam: UnObject); createElement(is: unknown, param?: UnObject, children?: unknown): any; createVNode({ key }: UnObject, callback: Function): any; component(that: Component<Env.Vue3>, cycleCallback: Function): { inheritAttrs: boolean; props: { style: (ObjectConstructor | FunctionConstructor)[]; }; data: () => { JiessForceUpdate: boolean; }; created(): void; beforeMount(): void; mounted(): void; beforeUpdate(): void; updated(): void; beforeUnmount(): void; render(this: TypeVue3Ctx): any; methods: { forceUpdate(this: TypeVue3Ctx): void; }; }; get disposed(): boolean; dispose(): void; } export { JiessEnv }; export default JiessEnv;