declare class NameValuePair { Key: KType; value: VType; } declare class Collection extends Array { ItemAdded?: (i: T) => void; ItemAddedBefore?: (i: T) => void; ItemSplice?: (start: number, i: T) => void; _map: Set; add(item: T): number; addBefore(item: T): number; insert(start: number, item: T): any[]; remove(item: T): void; item(key: T): T; has(item: T): boolean; clear(): void; itemIndex(index: number): T; } declare class List { ItemAdded: (i: T) => void; ItemAddedBefore: (i: T) => void; ItemSplice: (start: any, i: T) => void; private __list; private _map; Dispose(): void; Add(item: T): number; AddBefore(item: T): number; Insert(start: any, item: T): T[]; get items(): Array; clear(): T[]; get count(): number; remove(item: T): T[]; indexOf(item: T): number; FindFromKey(key: any, value: any): T[]; removeIndex(index: number): T[]; has(item: T): boolean; item(index: number): T; forEach(callbackfn: (value: T, index: number, array: T[]) => void): void; ReverseClone(): Array; filter(callbackfn: (value: T, index: number, array: T[]) => boolean): Array; } declare class Dictionary { private __values; Add(Key: KType, Value: VType): number; has(key: KType): boolean; item(key: KType): NameValuePair; OnItemAdded: (key: KType, value: VType) => any; removeIndex(index: number): NameValuePair[]; remove(Key: KType): void; clear(): void; forEach(callback: ((item: NameValuePair) => void)): void; get values(): List>; filter(callbackfn: (value: NameValuePair, index: number, array: NameValuePair[]) => boolean): NameValuePair[]; find(predicate: (value: NameValuePair, index: number, obj: NameValuePair[]) => unknown, thisArg?: any): NameValuePair | undefined; } type routeType = { path: string; extend: object; params: object; name: string; tree: string[]; }; declare class NavigateEventArgs { route: routeType | undefined; resume: boolean; onShow: ((IControl: IControl) => void) | undefined; redirect: string; currentPage: IControl; prev: any; } interface styleKeys { accentColor?: string; alignContent?: string; alignItems?: string; alignSelf?: string; alignmentBaseline?: string; all?: string; animation?: string; animationDelay?: string; animationDirection?: string; animationDuration?: string; animationFillMode?: string; animationIterationCount?: string; animationName?: string; animationPlayState?: string; animationTimingFunction?: string; appearance?: string; aspectRatio?: string; backfaceVisibility?: string; background?: string; backgroundAttachment?: string; backgroundBlendMode?: string; backgroundClip?: string; backgroundColor?: string; backgroundImage?: string; backgroundOrigin?: string; backgroundPosition?: string; backgroundPositionX?: string; backgroundPositionY?: string; backgroundRepeat?: string; backgroundSize?: string; baselineShift?: string; blockSize?: string; border?: string; borderBlock?: string; borderBlockColor?: string; borderBlockEnd?: string; borderBlockEndColor?: string; borderBlockEndStyle?: string; borderBlockEndWidth?: string; borderBlockStart?: string; borderBlockStartColor?: string; borderBlockStartStyle?: string; borderBlockStartWidth?: string; borderBlockStyle?: string; borderBlockWidth?: string; borderBottom?: string; borderBottomColor?: string; borderBottomLeftRadius?: string; borderBottomRightRadius?: string; borderBottomStyle?: string; borderBottomWidth?: string; borderCollapse?: string; borderColor?: string; borderEndEndRadius?: string; borderEndStartRadius?: string; borderImage?: string; borderImageOutset?: string; borderImageRepeat?: string; borderImageSlice?: string; borderImageSource?: string; borderImageWidth?: string; borderInline?: string; borderInlineColor?: string; borderInlineEnd?: string; borderInlineEndColor?: string; borderInlineEndStyle?: string; borderInlineEndWidth?: string; borderInlineStart?: string; borderInlineStartColor?: string; borderInlineStartStyle?: string; borderInlineStartWidth?: string; borderInlineStyle?: string; borderInlineWidth?: string; borderLeft?: string; borderLeftColor?: string; borderLeftStyle?: string; borderLeftWidth?: string; borderRadius?: string; borderRight?: string; borderRightColor?: string; borderRightStyle?: string; borderRightWidth?: string; borderSpacing?: string; borderStartEndRadius?: string; borderStartStartRadius?: string; borderStyle?: string; borderTop?: string; borderTopColor?: string; borderTopLeftRadius?: string; borderTopRightRadius?: string; borderTopStyle?: string; borderTopWidth?: string; borderWidth?: string; bottom?: string; boxShadow?: string; boxSizing?: string; breakAfter?: string; breakBefore?: string; breakInside?: string; captionSide?: string; caretColor?: string; clear?: string; /** @deprecated */ clip?: string; clipPath?: string; clipRule?: string; color?: string; colorInterpolation?: string; colorInterpolationFilters?: string; colorScheme?: string; columnCount?: string; columnFill?: string; columnGap?: string; columnRule?: string; columnRuleColor?: string; columnRuleStyle?: string; columnRuleWidth?: string; columnSpan?: string; columnWidth?: string; columns?: string; contain?: string; content?: string; counterIncrement?: string; counterReset?: string; counterSet?: string; cssFloat?: string; cssText?: string; cursor?: string; direction?: string; display?: string; dominantBaseline?: string; emptyCells?: string; fill?: string; fillOpacity?: string; fillRule?: string; filter?: string; flex?: string; flexBasis?: string; flexDirection?: string; flexFlow?: string; flexGrow?: string; flexShrink?: string; flexWrap?: string; float?: string; floodColor?: string; floodOpacity?: string; font?: string; fontFamily?: string; fontFeatureSettings?: string; fontKerning?: string; fontOpticalSizing?: string; fontSize?: string; fontSizeAdjust?: string; fontStretch?: string; fontStyle?: string; fontSynthesis?: string; fontVariant?: string; fontVariantAlternates?: string; fontVariantCaps?: string; fontVariantEastAsian?: string; fontVariantLigatures?: string; fontVariantNumeric?: string; fontVariantPosition?: string; fontVariationSettings?: string; fontWeight?: string; gap?: string; grid?: string; gridArea?: string; gridAutoColumns?: string; gridAutoFlow?: string; gridAutoRows?: string; gridColumn?: string; gridColumnEnd?: string; /** @deprecated This is a legacy alias of `columnGap`. */ gridColumnGap?: string; gridColumnStart?: string; /** @deprecated This is a legacy alias of `gap`. */ gridGap?: string; gridRow?: string; gridRowEnd?: string; /** @deprecated This is a legacy alias of `rowGap`. */ gridRowGap?: string; gridRowStart?: string; gridTemplate?: string; gridTemplateAreas?: string; gridTemplateColumns?: string; gridTemplateRows?: string; height?: string; hyphens?: string; /** @deprecated */ imageOrientation?: string; imageRendering?: string; inlineSize?: string; inset?: string; insetBlock?: string; insetBlockEnd?: string; insetBlockStart?: string; insetInline?: string; insetInlineEnd?: string; insetInlineStart?: string; isolation?: string; justifyContent?: string; justifyItems?: string; justifySelf?: string; left?: string; readonly length?: number; letterSpacing?: string; lightingColor?: string; lineBreak?: string; lineHeight?: string; listStyle?: string; listStyleImage?: string; listStylePosition?: string; listStyleType?: string; margin?: string; marginBlock?: string; marginBlockEnd?: string; marginBlockStart?: string; marginBottom?: string; marginInline?: string; marginInlineEnd?: string; marginInlineStart?: string; marginLeft?: string; marginRight?: string; marginTop?: string; marker?: string; markerEnd?: string; markerMid?: string; markerStart?: string; mask?: string; maskClip?: string; maskComposite?: string; maskImage?: string; maskMode?: string; maskOrigin?: string; maskPosition?: string; maskRepeat?: string; maskSize?: string; maskType?: string; maxBlockSize?: string; maxHeight?: string; maxInlineSize?: string; maxWidth?: string; minBlockSize?: string; minHeight?: string; minInlineSize?: string; minWidth?: string; mixBlendMode?: string; objectFit?: string; objectPosition?: string; offset?: string; offsetDistance?: string; offsetPath?: string; offsetRotate?: string; opacity?: string; order?: string; orphans?: string; outline?: string; outlineColor?: string; outlineOffset?: string; outlineStyle?: string; outlineWidth?: string; overflow?: string; overflowAnchor?: string; overflowWrap?: string; overflowX?: string; overflowY?: string; overscrollBehavior?: string; overscrollBehaviorBlock?: string; overscrollBehaviorInline?: string; overscrollBehaviorX?: string; overscrollBehaviorY?: string; padding?: string; paddingBlock?: string; paddingBlockEnd?: string; paddingBlockStart?: string; paddingBottom?: string; paddingInline?: string; paddingInlineEnd?: string; paddingInlineStart?: string; paddingLeft?: string; paddingRight?: string; paddingTop?: string; pageBreakAfter?: string; pageBreakBefore?: string; pageBreakInside?: string; paintOrder?: string; readonly parentRule?: CSSRule | null; perspective?: string; perspectiveOrigin?: string; placeContent?: string; placeItems?: string; placeSelf?: string; pointerEvents?: string; position?: string; printColorAdjust?: string; quotes?: string; resize?: string; right?: string; rotate?: string; rowGap?: string; rubyPosition?: string; scale?: string; scrollBehavior?: string; scrollMargin?: string; scrollMarginBlock?: string; scrollMarginBlockEnd?: string; scrollMarginBlockStart?: string; scrollMarginBottom?: string; scrollMarginInline?: string; scrollMarginInlineEnd?: string; scrollMarginInlineStart?: string; scrollMarginLeft?: string; scrollMarginRight?: string; scrollMarginTop?: string; scrollPadding?: string; scrollPaddingBlock?: string; scrollPaddingBlockEnd?: string; scrollPaddingBlockStart?: string; scrollPaddingBottom?: string; scrollPaddingInline?: string; scrollPaddingInlineEnd?: string; scrollPaddingInlineStart?: string; scrollPaddingLeft?: string; scrollPaddingRight?: string; scrollPaddingTop?: string; scrollSnapAlign?: string; scrollSnapStop?: string; scrollSnapType?: string; scrollbarGutter?: string; shapeImageThreshold?: string; shapeMargin?: string; shapeOutside?: string; shapeRendering?: string; stopColor?: string; stopOpacity?: string; stroke?: string; strokeDasharray?: string; strokeDashoffset?: string; strokeLinecap?: string; strokeLinejoin?: string; strokeMiterlimit?: string; strokeOpacity?: string; strokeWidth?: string; tabSize?: string; tableLayout?: string; textAlign?: string; textAlignLast?: string; textAnchor?: string; textCombineUpright?: string; textDecoration?: string; textDecorationColor?: string; textDecorationLine?: string; textDecorationSkipInk?: string; textDecorationStyle?: string; textDecorationThickness?: string; textEmphasis?: string; textEmphasisColor?: string; textEmphasisPosition?: string; textEmphasisStyle?: string; textIndent?: string; textOrientation?: string; textOverflow?: string; textRendering?: string; textShadow?: string; textTransform?: string; textUnderlineOffset?: string; textUnderlinePosition?: string; top?: string; touchAction?: string; transform?: string; transformBox?: string; transformOrigin?: string; transformStyle?: string; transition?: string; transitionDelay?: string; transitionDuration?: string; transitionProperty?: string; transitionTimingFunction?: string; translate?: string; unicodeBidi?: string; userSelect?: string; verticalAlign?: string; visibility?: string; /** @deprecated This is a legacy alias of `alignContent`. */ webkitAlignContent?: string; /** @deprecated This is a legacy alias of `alignItems`. */ webkitAlignItems?: string; /** @deprecated This is a legacy alias of `alignSelf`. */ webkitAlignSelf?: string; /** @deprecated This is a legacy alias of `animation`. */ webkitAnimation?: string; /** @deprecated This is a legacy alias of `animationDelay`. */ webkitAnimationDelay?: string; /** @deprecated This is a legacy alias of `animationDirection`. */ webkitAnimationDirection?: string; /** @deprecated This is a legacy alias of `animationDuration`. */ webkitAnimationDuration?: string; /** @deprecated This is a legacy alias of `animationFillMode`. */ webkitAnimationFillMode?: string; /** @deprecated This is a legacy alias of `animationIterationCount`. */ webkitAnimationIterationCount?: string; /** @deprecated This is a legacy alias of `animationName`. */ webkitAnimationName?: string; /** @deprecated This is a legacy alias of `animationPlayState`. */ webkitAnimationPlayState?: string; /** @deprecated This is a legacy alias of `animationTimingFunction`. */ webkitAnimationTimingFunction?: string; /** @deprecated This is a legacy alias of `appearance`. */ webkitAppearance?: string; /** @deprecated This is a legacy alias of `backfaceVisibility`. */ webkitBackfaceVisibility?: string; /** @deprecated This is a legacy alias of `backgroundClip`. */ webkitBackgroundClip?: string; /** @deprecated This is a legacy alias of `backgroundOrigin`. */ webkitBackgroundOrigin?: string; /** @deprecated This is a legacy alias of `backgroundSize`. */ webkitBackgroundSize?: string; /** @deprecated This is a legacy alias of `borderBottomLeftRadius`. */ webkitBorderBottomLeftRadius?: string; /** @deprecated This is a legacy alias of `borderBottomRightRadius`. */ webkitBorderBottomRightRadius?: string; /** @deprecated This is a legacy alias of `borderRadius`. */ webkitBorderRadius?: string; /** @deprecated This is a legacy alias of `borderTopLeftRadius`. */ webkitBorderTopLeftRadius?: string; /** @deprecated This is a legacy alias of `borderTopRightRadius`. */ webkitBorderTopRightRadius?: string; /** @deprecated This is a legacy alias of `boxAlign`. */ webkitBoxAlign?: string; /** @deprecated This is a legacy alias of `boxFlex`. */ webkitBoxFlex?: string; /** @deprecated This is a legacy alias of `boxOrdinalGroup`. */ webkitBoxOrdinalGroup?: string; /** @deprecated This is a legacy alias of `boxOrient`. */ webkitBoxOrient?: string; /** @deprecated This is a legacy alias of `boxPack`. */ webkitBoxPack?: string; /** @deprecated This is a legacy alias of `boxShadow`. */ webkitBoxShadow?: string; /** @deprecated This is a legacy alias of `boxSizing`. */ webkitBoxSizing?: string; /** @deprecated This is a legacy alias of `filter`. */ webkitFilter?: string; /** @deprecated This is a legacy alias of `flex`. */ webkitFlex?: string; /** @deprecated This is a legacy alias of `flexBasis`. */ webkitFlexBasis?: string; /** @deprecated This is a legacy alias of `flexDirection`. */ webkitFlexDirection?: string; /** @deprecated This is a legacy alias of `flexFlow`. */ webkitFlexFlow?: string; /** @deprecated This is a legacy alias of `flexGrow`. */ webkitFlexGrow?: string; /** @deprecated This is a legacy alias of `flexShrink`. */ webkitFlexShrink?: string; /** @deprecated This is a legacy alias of `flexWrap`. */ webkitFlexWrap?: string; /** @deprecated This is a legacy alias of `justifyContent`. */ webkitJustifyContent?: string; webkitLineClamp?: string; /** @deprecated This is a legacy alias of `mask`. */ webkitMask?: string; /** @deprecated This is a legacy alias of `maskBorder`. */ webkitMaskBoxImage?: string; /** @deprecated This is a legacy alias of `maskBorderOutset`. */ webkitMaskBoxImageOutset?: string; /** @deprecated This is a legacy alias of `maskBorderRepeat`. */ webkitMaskBoxImageRepeat?: string; /** @deprecated This is a legacy alias of `maskBorderSlice`. */ webkitMaskBoxImageSlice?: string; /** @deprecated This is a legacy alias of `maskBorderSource`. */ webkitMaskBoxImageSource?: string; /** @deprecated This is a legacy alias of `maskBorderWidth`. */ webkitMaskBoxImageWidth?: string; /** @deprecated This is a legacy alias of `maskClip`. */ webkitMaskClip?: string; webkitMaskComposite?: string; /** @deprecated This is a legacy alias of `maskImage`. */ webkitMaskImage?: string; /** @deprecated This is a legacy alias of `maskOrigin`. */ webkitMaskOrigin?: string; /** @deprecated This is a legacy alias of `maskPosition`. */ webkitMaskPosition?: string; /** @deprecated This is a legacy alias of `maskRepeat`. */ webkitMaskRepeat?: string; /** @deprecated This is a legacy alias of `maskSize`. */ webkitMaskSize?: string; /** @deprecated This is a legacy alias of `order`. */ webkitOrder?: string; /** @deprecated This is a legacy alias of `perspective`. */ webkitPerspective?: string; /** @deprecated This is a legacy alias of `perspectiveOrigin`. */ webkitPerspectiveOrigin?: string; webkitTextFillColor?: string; /** @deprecated This is a legacy alias of `textSizeAdjust`. */ webkitTextSizeAdjust?: string; webkitTextStroke?: string; webkitTextStrokeColor?: string; webkitTextStrokeWidth?: string; /** @deprecated This is a legacy alias of `transform`. */ webkitTransform?: string; /** @deprecated This is a legacy alias of `transformOrigin`. */ webkitTransformOrigin?: string; /** @deprecated This is a legacy alias of `transformStyle`. */ webkitTransformStyle?: string; /** @deprecated This is a legacy alias of `transition`. */ webkitTransition?: string; /** @deprecated This is a legacy alias of `transitionDelay`. */ webkitTransitionDelay?: string; /** @deprecated This is a legacy alias of `transitionDuration`. */ webkitTransitionDuration?: string; /** @deprecated This is a legacy alias of `transitionProperty`. */ webkitTransitionProperty?: string; /** @deprecated This is a legacy alias of `transitionTimingFunction`. */ webkitTransitionTimingFunction?: string; /** @deprecated This is a legacy alias of `userSelect`. */ webkitUserSelect?: string; whiteSpace?: string; widows?: string; width?: string; willChange?: string; wordBreak?: string; wordSpacing?: string; /** @deprecated */ wordWrap?: string; writingMode?: string; zIndex?: string; } type ElementTypes$1 = Node | Element | HTMLElement | Text | DocumentFragment | Comment | HTMLDivElement; declare class controlAttribute implements IAttribute> { private _parent; constructor(parent: IControl); attributes: { name: string; value: any; }[]; add(attribute: object | string): IControl; remove(key: string): IControl; has(key: string): boolean; get(key: string): string | null; } type ElementTypes = Element | HTMLElement | Text | DocumentFragment | Comment; declare class controlStyle { private _parent; constructor(parent: IControl); set(style: string | {}): IControl; } declare const enum Flags { SKIP = "[__skip__]", IS_REACTIVE = "[__isReactive__]", IS_READONLY = "[__isReadonly__]", IS_SUPERFICIAL = "[__issuperficial__]", RAW = "[__raw__]", CONTEXT = "context", GET_SETUP = "[__get_setup__]" } declare const enum TargetType { SYSTEM = 0, INVALID = 0, COMMON = 1, COLLECTION = 2 } interface IModelType { [Flags.SKIP]?: boolean; [Flags.IS_REACTIVE]?: boolean; [Flags.IS_READONLY]?: boolean; [Flags.IS_SUPERFICIAL]?: boolean; [Flags.RAW]?: any; } declare const ITERATE_KEY: unique symbol; declare let followTracking: boolean; declare let arrayScope: { enabled: boolean; key: string; }; declare function setFollowTracing(s: any): void; declare function getRaw(observed: T): T; declare const isModified: (value: any, oldValue: any) => boolean; declare function isReadonly(value: unknown): boolean; declare function isSuperficial(value: unknown): boolean; declare const objectToString: () => string; declare const propertyExist: (v: PropertyKey) => boolean; declare const hasOwn: (val: object, key: string | symbol) => key is never; declare const isSymbol: (val: unknown) => val is symbol; declare const isObject: (val: unknown) => val is Record; declare const isString: (val: unknown) => val is string; declare const builtInSymbols: Set; declare function mapCreator(str: string, expectsLowerCase?: boolean): (key: string) => boolean; declare const isNonTrackableKeys: (key: string) => boolean; declare function toTypeString(value: unknown): string; declare function toRawType(value: unknown): string; declare function targetTypeMap(rawType: string): TargetType; declare function getTargetType(value: any): TargetType; declare const isNumericKey: (key: unknown) => boolean; declare function pauseTracking(): void; declare function enableTracking(): void; declare function resetTracking(): void; declare function addArrayStack(key: any): void; declare function removeArrayStack(): void; declare const RefSymbol: unique symbol; declare const sfRefMarker: unique symbol; declare const sfReactiveMarker: unique symbol; declare const RawSymbol: unique symbol; interface IHook { value: T; [RefSymbol]: true; } type BaseTypes = string | number | boolean; type IterableCollections = Map | Set; type WeakCollections = WeakMap | WeakSet; type CollectionTypes = IterableCollections | WeakCollections; interface RefUnwrapBailTypes { } type SuperficialRef = IHook & { [sfRefMarker]?: true; }; type UnwrapRef = T extends SuperficialRef ? V : T extends IHook ? UnwrapRefSimple : UnwrapRefSimple; type UnwrapRefSimple = T extends Function | CollectionTypes | BaseTypes | IHook | RefUnwrapBailTypes[keyof RefUnwrapBailTypes] | { [RawSymbol]?: true; } ? T : T extends Array ? { [K in keyof T]: UnwrapRefSimple; } : T extends object & { [sfReactiveMarker]?: never; } ? { [P in keyof T]: P extends symbol ? T[P] : UnwrapRef; } : T; type UnwrapNestedRefs = T extends IHook ? T : UnwrapRefSimple; interface RefUnwrapValueTypes { value: T; } type UnwrapValueRefs = T extends number ? RefUnwrapValueTypes : T extends number ? RefUnwrapValueTypes : T extends boolean ? RefUnwrapValueTypes : T extends object ? UnwrapNestedRefs : T extends Array ? UnwrapNestedRefs : UnwrapRefSimple; declare var setupListener: any; declare function listenSetup(key: any): void; declare function closeSetup(): void; declare class ArrayMethods { engine: ReactiveEngine; constructor(engine: ReactiveEngine); methods: Record; get: Record; createArrayMethods(): Record; } type ReactiveListeners = Map>>; declare let currentFx: FxMapper | null; interface IFxMapper { callback: any; directive: any; run(): any; dispose(): any; } declare class FxMapper implements IFxMapper { engine: ReactiveEngine; constructor(engine: ReactiveEngine); callback: any; depends: Set; parentFx: FxMapper | null; directive: IDirective | null; run(): any; parent: any; dispose(): void; } declare const ReactiveEngineMapper: WeakSet; declare class ReactiveEngine { constructor(); dispose(): void; ReactiveMap: WeakMap; TargetMap: ReactiveListeners; activeCallback: any; isReadonly: boolean; superficial: boolean; arrayMethods: ArrayMethods; deepHandler: ProxyHandler; arrayHandler: { get: (target: any, p: any, receiver: any) => any; set: (target: any, p: any, newValue: any, receiver: any) => boolean; has: (target: any, p: any) => boolean; deleteProperty: (target: any, p: any) => boolean; }; reactive(model: T): UnwrapNestedRefs; hook(val: any): UnwrapValueRefs; effect(cb: () => any): void; dynamicRender(cb: () => any): any; registerEffect(dir: IDirective): IFxMapper; clearModel(model: any): Promise; track(model: any, key: any): void; trackEffects(dep: Set, model: any, key: any): void; trigger(model: any, key: any, value: any): void; cacheFx: Map>; cacheTimer: any; triggerEffects(dep: FxMapper[], key: any): void; triggerEffect(effect: FxMapper, key: any): void; ArrayTrigger(target: any, key: any, ...args: any[]): void; onValueChanged?: (model: any, key: any) => any; toRaw(item: any): any; } declare class Bindable { fxm: IFxMapper; directive: IDirective; constructor(directive: IDirective); } interface IDirective { awaiableSetup: boolean; disposed: boolean; getData?(): any; init(settings: any, Source: IControl): void; setup?(target: any, key: any): any; removeDom?(): any; FxMapper: IFxMapper | null; Bindabler?: Bindable | undefined; dispose(settings?: any, Source?: IControl): any; bind?(prop: any, key: string): any; bind?(callback: () => void): any; name?: string; Configuration?: { Property: any; FieldName: string; type: string; callback(): any; }; } declare class EffectDirectiveSettings { Property: object; FieldName: string; callback: () => any; type: "function" | "expression"; } declare class EffectDirective implements IDirective { awaiableSetup: boolean; id: any; isArray: boolean; Bindabler?: Bindable | undefined; FxMapper: IFxMapper; private _settings; private _source; constructor(); getData(): void; start(): void; update(): void; setupCompleted: boolean; times: any; setup(target: any, key: any): void; init(settings: EffectDirectiveSettings, Source: IControl): void; disposed: boolean; dispose(settings: EffectDirectiveSettings, Source: IControl): void; removeDom(): void; } declare class ModelDirectiveSettings { Property: any; FieldName: string; callback: () => any; type: DirectiveBindingType; oldValue: any; bind: { get: () => any; set: (val: any) => void; } | null; } declare class ModelDirective implements IDirective { id: any; isArray: boolean; setupCompleted: boolean; Bindabler?: Bindable | undefined; FxMapper: IFxMapper; constructor(); getData(): false | undefined; setup(target: any, key: any): void; start(): void; update(): false | undefined; private _settings; private _source; awaiableSetup: boolean; init(settings: ModelDirectiveSettings, Source: IControl): void; disposed: boolean; dispose(settings: ModelDirectiveSettings, Source: IControl): void; removeDom(): void; } type DirectiveBindingType = "function" | "expression" | 'model'; declare class HtmlDirectiveSettings { Property: object; FieldName: string; callback: () => any; type: DirectiveBindingType; oldValue: any; } declare class HtmlDirective implements IDirective { id: any; awaiableSetup: boolean; isArray: boolean; Bindabler?: Bindable | undefined; FxMapper: IFxMapper; private _settings; private _source; constructor(); getData(): void; start(): void; update(): void; setupCompleted: boolean; setup(target: any, key: any): void; init(settings: HtmlDirectiveSettings, Source: IControl): void; disposed: boolean; dispose(settings: HtmlDirectiveSettings, Source: IControl): void; removeDom(): void; } declare class LoopDirectiveSettings { Property: object; FieldName: string; callback: () => any; type: DirectiveBindingType; oldValue: any; render?(data: any, index?: any): IControl; fragment: IControl; } declare class LoopDirective implements IDirective { id: any; isArray: boolean; oldCollection: any[]; collection: any[]; settings: LoopDirectiveSettings; arg: any; Bindabler?: Bindable | undefined; FxMapper: IFxMapper; private _settings; private _source; constructor(); private inits; getData(): void; start(key?: any): void; private wm; private lastTimer; update(key?: any): void; updateAsync(items: any): Promise; awaiableSetup: boolean; setupCompleted: boolean; setup(target: any, key: any): void; init(settings: LoopDirectiveSettings, Source: IControl): void; push(val: any): Promise; oldvalues: Map, any>; build(data: any, index: any): IControl | null; disposed: boolean; dispose(settings: LoopDirectiveSettings, Source: IControl): void; splice(val: any): Promise; removeDom(): void; } declare class ReloadSettings { Property: object; FieldName: string; callback: () => any; type: DirectiveBindingType; } declare class ReloadDirective implements IDirective { id: any; isArray: boolean; private _settings; private _source; Bindabler?: Bindable | undefined; FxMapper: IFxMapper; constructor(); getData(): void; start(): void; update(): void; awaiableSetup: boolean; setupCompleted: boolean; setup(target: any, key: any): void; init(settings: ReloadSettings, Source: IControl): void; disposed: boolean; dispose(settings: ReloadSettings, Source: IControl): Promise; removeDom(): void; } declare class TextDirectiveSettings { Property: object; FieldName: string; callback: () => any; type: DirectiveBindingType; oldValue: any; } declare class TextDirective implements IDirective { id: any; isArray: boolean; private _settings; private _source; Bindabler?: Bindable | undefined; FxMapper: IFxMapper; constructor(); getData(): void; start(): void; update(): void; awaiableSetup: boolean; setupCompleted: boolean; setup(target: any, key: any): void; init(settings: TextDirectiveSettings, Source: IControl): void; disposed: boolean; dispose(settings: TextDirectiveSettings, Source: IControl): Promise; removeDom(): Promise; } declare class ValueDirectiveSettings { Property: any; FieldName: string; callback: () => any; type: DirectiveBindingType; oldValue: any; } declare class ValueDirective implements IDirective { id: any; isArray: boolean; Bindabler?: Bindable | undefined; FxMapper: IFxMapper; constructor(); getData(): void; start(): void; update(): void; private _settings; private _source; setupCompleted: boolean; awaiableSetup: boolean; setup(target: any, key: any): void; init(settings: ValueDirectiveSettings, Source: IControl): void; disposed: boolean; dispose(settings: ValueDirectiveSettings, Source: IControl): Promise; removeDom(): void; } declare class VisibilitySettings { Property: object; FieldName: string; callback: () => any; type: DirectiveBindingType; oldValue: any; } declare class VisibilityDirective implements IDirective { id: any; isArray: boolean; Bindabler?: Bindable | undefined; FxMapper: IFxMapper; private _settings; private _source; constructor(); getData(): void; start(): void; update(): void; setupCompleted: boolean; awaiableSetup: boolean; setup(target: any, key: any): void; init(settings: VisibilitySettings, Source: IControl): void; disposed: boolean; dispose(settings: VisibilitySettings, Source: IControl): Promise; removeDom(): void; } declare class WaitSettings { Property: object; FieldName: string; callback: () => any; type: DirectiveBindingType; } declare class WaitDirective implements IDirective { id: any; isArray: boolean; Bindabler?: Bindable | undefined; FxMapper: IFxMapper; private _settings; private _source; constructor(); getData(): void; start(): void; update(): void; setupCompleted: boolean; awaiableSetup: boolean; setup(target: any, key: any): void; init(settings: WaitSettings, Source: IControl): void; disposed: boolean; dispose(settings: WaitSettings, Source: IControl): Promise; removeDom(): void; } declare class AttributeHandlingSettings { Property: object; FieldName: string; callback: () => any; type: DirectiveBindingType; attributes: Set; oldValue: any; } declare class AttributeHandlingDirective implements IDirective { id: any; isArray: boolean; FxMapper: IFxMapper; private _settings; private _source; constructor(); awaiableSetup: boolean; getData(): void; Bindabler?: Bindable | undefined; push?(val: any): void; splice?(val: any): void; slice?(val: any): void; pop?(val: any): void; shift?(val: any): void; unshift?(val: any): void; set?(val: any): void; reverse?(val: any): void; start(): void; update(): void; setupCompleted: boolean; setup(target: any, key: any): void; init(settings: AttributeHandlingSettings, Source: IControl): void; disposed: boolean; dispose(settings: AttributeHandlingSettings, Source: IControl): void; removeDom(): void; } declare class LogicDirectiveSettings { Property: object; FieldName: string; callback: (val: any) => any; logicalFn: () => any; type: DirectiveBindingType; } declare class LogicDirective implements IDirective { id: any; awaiableSetup: boolean; isArray: boolean; Bindabler?: Bindable | undefined; FxMapper: IFxMapper; private _settings; private _source; private _prevControl; ph: IControl | undefined; constructor(c: any); getData(): void; start(): void; oldValue: null; update(): void; setupCompleted: boolean; setup(target: any, key: any): void; init(settings: LogicDirectiveSettings, Source: IControl): void; disposed: boolean; dispose(settings: LogicDirectiveSettings, Source: IControl): void; removeDom(): void; } declare class Directive { owner: IControl; textDirective: TextDirective | undefined; htmlDirective: HtmlDirective | undefined; modelDirective: ModelDirective | undefined; loopDirective: LoopDirective | undefined; effectDirective: EffectDirective | undefined; valueDirective: ValueDirective | undefined; displayDirective: VisibilityDirective | undefined; relloadDirective: ReloadDirective | undefined; waitDirective: WaitDirective | undefined; logicDirective: LogicDirective | undefined; attributeDirectives: Map; effecttorDirectives: Map; logicDirectives: Map; WaitInit: boolean; constructor(owner: IControl); private _directives; register(directive: IDirective): void; Configuration: { TextSettings: TextDirectiveSettings; ModelSettings: ModelDirectiveSettings; LoopSettings: LoopDirectiveSettings; HtmlSettings: HtmlDirectiveSettings; EffectSettings: EffectDirectiveSettings; ValueSettings: ValueDirectiveSettings; DisplaySettings: VisibilitySettings; ReloadSettings: ReloadSettings; WaitSettings: WaitSettings; LogicDirectiveSettings: LogicDirectiveSettings; }; dispose(): void; hasUsedState(): boolean; init(): Promise; update(prop: any, key: any, type: string): Promise; setup(prop: any, key: any): void; text(prop: any, key: string): Directive; text(callback: () => void): Directive; html(prop: any, key: string): Directive; html(callback: () => void): Directive; model(bind: { get: () => any; set: (value: any) => any; }): Directive; model(prop: any, key: string): Directive; model(callback: () => void): Directive; bind(bind: { get: () => any; set: (value: any) => any; }): Directive; value(prop: any, key: string): Directive; value(callback: () => void): Directive; loop(prop: any, key: string, itemTemplate: (data: any) => IControl): Directive; loop(callback: () => void, itemTemplate: (data: any) => IControl): Directive; effect(callback: () => any): Directive; watch(callback: () => any): Directive; display(prop: any, key: string): Directive; display(callback: () => void): Directive; reload(prop: any, key: string): Directive; reload(callback: () => void): Directive; wait(prop: any, key: string): Directive; wait(callback: () => void): Directive; focus(prop: any, key: string): Directive; focus(callback: () => void): Directive; logic(state: any, cb: any): this; computed(a: any): void; ChangeTarget(newOwner: IControl): void; } interface IServiceManager { AddService(service: types, name?: string): void; ImportService(p: Promise): void; GetServices(): Dictionary; GetService(serviceType: any): void; FindService(service: string): void; AddComponent(component: IControl, name?: string): void; GetComponent(name: string): IControl | undefined; } declare class SysInternalNotification { subscribe(event: any, callback: any): any; notifyQ: any; notify(event: string): void; } interface IApplicationService { services: IServiceManager; ControlCollection: WeakMap; RouteManager: IRouteManager; MainPage: IControl; NotFoundPage: IControl; Loading: IControl; state: any; store: any; Directives: Set; route: routeType; extensions: Set; use(module: any): void; internal: SysInternalNotification; send(eventName: string, ...args: any[]): any; on(eventName: string | symbol, cb: (...args: any[]) => any): any; handle(eventName: string | symbol, cb: (...args: any[]) => any): any; useModel(data: any): any; clearModel(data: any): any; watch(fn: () => any): any; CreateObject(type: any, params: any): any; navigate(uri: string): any; middleware(ref: (next: () => any, e: IControl) => void): any; } interface IAttribute { add(attribute: object | string): BaseType; remove(key: string): BaseType; has(key: string): boolean; get(key: string): string | null; } interface IClass { add(classNames: string[] | string | {}): BaseType; remove(classNames: string[] | string): BaseType; has(className: string): boolean; } interface baseeventargs { data: any; field: string; source: string; } interface ControlProps { props?: Props; settings?: any; oncreating?: (sender: caller) => any; oncreated?: (sender: caller) => any; onbuilding?: (sender: caller) => any; onbuilded?: (sender: caller) => any; ondisposing?: (sender: caller) => any; ondisposed?: (sender: caller) => any; onconfig?: (sender: caller) => any; setup?: (sender: caller) => any; view?(context: caller): any; onshow?(sender: caller): void; onhide?(sender: caller): void; onupdating?(sender: caller, e: baseeventargs): void; onupdated?(sender: caller, e: baseeventargs): void; } interface ControlOptions { settings?: any; oncreating?: (sender: caller) => any; oncreated?: (sender: caller) => any; onbuilding?: (sender: caller) => any; onbuilded?: (sender: caller) => any; ondisposing?: (sender: caller) => any; ondisposed?: (sender: caller) => any; onconfig?: (sender: caller) => any; setup?: (sender: caller) => any; } type baseemits = "onbuilded" | "onbuilding" | "onconfig" | "oncreating" | "oncreated" | "ondisposing" | "ondisposed" | "onmounted" | String | Symbol; interface IControl extends ControlProps, ControlProps { props?: Props; bind: Directive; isFragment: boolean; keepAlive: boolean; reload?: (() => caller) | undefined; context: IApplicationService; controls: Collection>; parent: IControl; element: ElementType; build(target?: any): any; dispose(cb?: any): Promise; flush(): any; clear(): any; show(): any; hide(): any; signal(eventName: string | symbol, cb: (...args: any[]) => any, ...initialValues: any[]): any; on(event: baseemits, callback: (sender: any, ...args: any[]) => void, domEvent: boolean): any; off(event: baseemits, callback: (sender: any, ...args: any[]) => void, domEvent: boolean): any; invoke(event: baseemits, ...args: any[]): any; addHandler(event: string, callback: (e: Event, sender: IControl) => any): IControl; removeHandler(event: string): IControl; attr: controlAttribute; class: IClass; isRendered: boolean; isDisposed: boolean; isConnected: boolean; style(properties: styleKeys): IControl; autostyle: controlStyle; view?(context: caller): any; using(waitable: Promise, onfulfilled?: ((value: T) => T | PromiseLike) | undefined | null, onrejected?: ((reason: any) => never | PromiseLike) | undefined | null): any; useModel(model: T): T; useModel(model: object): any; getView(viewname: Promise, model: any): Promise; $(selector: string): any; onshow?(sender: caller): void; onhide?(sender: caller): void; onChildAdded?(sender: this, child: IControl, index: number): any; onChildRemoved?(sender: this, child: IControl): any; } interface IRouter { values: { name: string; value: string; }[]; value(name: string): any; mode: string; root: string; manager: any; _skipCheck: any; prev: string; HandleChange: (e: any) => void; gate?: (next: () => any, e: NavigateEventArgs) => any; navigated?(): any; onChange(callback: any): any; offChange(callback: any): any; trigger(uri: string): any; navigate(next: any, bypas: any): any; HandlePopChange(): any; HandleHashChange(): any; get CurrentPage(): string; addUriListener(): any; removeUriListener(): any; _getHistoryFragment(): any; _getHashFragment(): any; getFragment(): any; isChanged(): boolean; } declare class RouteRecord { control: IControl | Promise> | undefined; layout: IControl | Promise> | undefined; path: string | undefined; parent: RouteRecord | undefined; ParentPath: string | undefined; isDefault: boolean | undefined; keepAlive: boolean; instances: { layout: IControl; control: IControl; } | undefined; extend?: any; onShow?: (e: IControl) => void; name: string | undefined; default?: any; } declare class RouteItem { path: string | undefined; control: any; childs?: RouteItem[]; extend?: any; keepAlive: boolean; onShow?: (e: IControl) => void; name: string | undefined; } interface IRouteManager { routes: Map; add(item: RouteItem): void; get(name: string): RouteRecord; router: IRouter; } interface IConfigurationOptions { Route: IRouteManager; middleware(ref: (next: () => any, e: IControl) => void): any; } interface IMoviApp { Services?: IServiceManager; Configuration?(options: IConfigurationOptions): void; ServiceConfiguration?(services: IServiceManager): void; Navigate?(e: NavigateEventArgs): void; offline?(sender: IMoviApp, e: Event): void; online?(sender: IMoviApp, e: Event): void; use?(module: any): void; context?: IApplicationService; } declare class CreateMoviApp implements IMoviApp { context: IApplicationService; use(module: any): void; Services?: IServiceManager | undefined; offline?(sender: IMoviApp, e: Event): void; online?(sender: IMoviApp, e: Event): void; Configuration?(options: IConfigurationOptions): void; ServiceConfiguration?(services: IServiceManager): void; Navigate?(e: NavigateEventArgs): void; constructor(options?: IMoviApp); private CreateObject; run(element: HTMLElement): void; private _start; } declare const engine: ReactiveEngine; declare function reactiveConfig(config: { onValueChanged?: (model: any, key: any) => any; onItemAdded?: (model: any, key: any, value: any) => any; onItemRemoved?: (model: any, key: any, value: any) => any; }): void; declare function reactiveListeners(model?: any): ReactiveListeners; declare function reactive(model: T): UnwrapNestedRefs; declare function hook(data: T): UnwrapValueRefs; declare function effect(cb: () => any): void; declare function registerEffect(dir: IDirective): IFxMapper; declare function ClearModel(model: any): Promise; declare function dynamicRender(cb: () => any): any; declare const ElementModelMap: WeakMap>; declare class StateTypeBase { context: IApplicationService; slots: []; } declare abstract class MoviComponent> implements IControl { props: StateType; private _initprops; keepAlive: boolean; elementCreating?(current: any): any; private _; constructor(tag: any, props: any, args: any); private _iswait; private get iswait(); private set iswait(value); add(c: IControl): void; setText(value: any): void; private _tempContent?; setTempContent(control: IControl): void; bind: Directive; isFragment: boolean; context: IApplicationService; controls: Collection>; private _parent; get parent(): IControl; set parent(v: IControl); element: ElementType; build(target?: any): Promise; updateState(deep?: boolean): void; private disposeSlots; private ghostPlaceholder; dispose(cb?: any): Promise; flush(): Promise; clear(): Promise; show(): Promise; private sendedShow; hide(): Promise; signal(eventName: string | symbol, cb: (...args: any[]) => any, ...initialValues: any[]): void; private _emitCollection; on(event: baseemits, callback: (sender: any, ...args: any[]) => void, domEvent?: boolean): void; off(event: baseemits, callback: (sender: any, ...args: any[]) => void | null, domEvent: false): void; invoke(event: baseemits, ...args: any[]): void; addHandler(event: string, callback: (e: Event, sender: IControl) => any): IControl; removeHandler(event: string): IControl; getView(importer: Promise, model: any): Promise; attr: controlAttribute; class: IClass; isRendered: boolean; isDisposed: boolean; isConnected: boolean; style(properties: styleKeys): IControl; autostyle: controlStyle; view?(context: caller): any; using(waitable: Promise, onfulfilled?: ((value: T) => T | PromiseLike) | undefined | null, onrejected?: ((reason: any) => never | PromiseLike) | undefined | null): void; settings?: { isRouterView?: boolean | undefined; keepAlive?: boolean | undefined; jump?: boolean | undefined; transition?: { name?: string | undefined; } | undefined; } | undefined; model: any; useModel(model: T): T; onupdating(sender: caller, e: baseeventargs): void; onupdated(sender: caller, e: baseeventargs): void; onChildAdded?(sender: this, child: Component, index: number): any; onChildRemoved?(sender: this, child: Component): any; _siblings: any; siblings(): { all: () => any; next: () => ChildNode | null; prev: () => ChildNode | null; nextAll: () => any; prevAll: () => any; }; findNextSiblings(el: any): void; findPrevSiblings(el: any): void; $(selector: any): IControl[]; setup?(sender: caller): any; initializeComponent?(sender: caller): void; activated?(sender: caller): any; activating?(sender: caller): any; routeChanged?(sender: caller): void; onRouteChanged?(sender: caller): void; interrupt?(sender: caller, next: () => any): void; onconfig?(sender: caller): any; preconfig?(sender: caller): any; oncreating?(sender: caller): any; oncreated?(sender: caller): any; onbuilding?(sender: caller): any; onbuilded?(sender: caller): any; ondisposing?(sender: caller): any; ondisposed?(sender: caller): any; onshow?(sender: caller): void; onhide?(sender: caller): void; reload?: (() => caller) | undefined; onmounted?(sender: any): any; } declare class Component extends MoviComponent> { constructor(tag: ElementType | string); constructor(options: ControlProps>); constructor(tag: ElementType | string, options: ControlProps>); view?(context: this): MoviComponent>; elementCreating?(current: any): any; } declare function AsyncContainer(importer: any, props: any): Component; declare function moviComponent(tag?: any, options?: any): Component; declare function createElement(tag: any, options: any): Component; declare function moviFragment(options: any): Component; declare let isBusy: boolean; declare class RouterView extends Component { current: IControl | null; private isNavigated; private currentUri; onmounted(sender: any): void; dispose(): Promise; flush(): Promise; clear(): Promise; constructor(); previouspage: any; currentlist: Set; navigate(page: IControl): Promise; } declare class RouterLinkOptions { to?: string; el?: string; showHref?: boolean; text?: string; exactClass?: string; activeClass?: string; bypass?: boolean; } declare function RouterFunctionalLink(props: RouterLinkOptions): void; declare class RouterLink extends Component { private _href; name: string; to?: string; el?: string; showHref?: boolean; text: string; exactClass: string; activeClass: string; bypass: boolean; onExact?(): any; offExact?(): any; onActive?(): any; offActive?(): any; onbuilded(sender: any): any; onRouteChanged(sender: any): void; activated(): void; set href(v: string); get href(): string; constructor(option: ControlProps); setup(): void; private setClassed; private linkClick; Openned: () => void; } declare class Frame extends Component { current: IControl | null; isBusy: boolean; onmounted(sender: any): void; dispose(): Promise; flush(): Promise; clear(): Promise; constructor(); previouspage: any; currentlist: Set; navigate(page: IControl): Promise; } declare class Router implements IRouter { constructor(manager: any); defaultLayout: any; values: { name: string; value: string; }[]; prev: string; value(name: string): string; private _mode; set mode(m: string); get mode(): string; root: string; manager: any; _skipCheck: any; HandleChange: (e: any) => void; gate?: ((next: () => any, e: NavigateEventArgs) => any) | undefined; navigated?(): any; private Handlers; onChange(callback: any): void; offChange(callback: any): void; previousRoute: any; trigger(uri: string, bypas?: boolean): Promise; scrollState: { x: number; y: number; }; navigate(url: string, bypas?: boolean): void; HandlePopChange(): void; HandleHashChange(): void; get CurrentPage(): string; addUriListener(): this; removeUriListener(): this; _getHistoryFragment(): string; _getHashFragment(): string; getFragment(): any; private previouspath; isChanged(): boolean; private _trimSlashes; } declare const ApplicationMiddleware: Set<(next: () => any, e: IControl) => void>; declare class MoviApplicationService implements IApplicationService { services: IServiceManager; extensions: Set; RouteManager: IRouteManager; MainPage: IControl; NotFoundPage: IControl; Loading: IControl; ControlCollection: WeakMap; Directives: Set; state: { GarbageCollection: { items: any[]; add(item: any): void; except(): void; }; }; store: {}; useModel(data: any): any; clearModel(data: any): null; constructor(); on(eventName: string | symbol | any, cb: (...args: any[]) => any, ...args: any[]): () => void; handle(eventName: string | symbol | any, cb: (...args: any[]) => any, ...args: any[]): () => void; send(eventName: string | symbol | any, ...args: any[]): Promise; watch(fn: () => any): void; internal: SysInternalNotification; route: routeType; use(module: any): void; middleware(ref: (next: () => any, e: IControl) => void): void; CreateObject(type: any, params: any): any; navigate(uri: any): void; } declare class ApplicationService { static current: IApplicationService; } export { ApplicationMiddleware, ApplicationService, AsyncContainer, BaseTypes, ClearModel, CollectionTypes, Component, ControlOptions, ControlProps, CreateMoviApp, ElementModelMap, Flags, Frame, FxMapper, IAttribute, IClass, IConfigurationOptions, IControl, styleKeys as ICssStyle, IFxMapper, IHook, IModelType, IMoviApp, IServiceManager, ITERATE_KEY, IterableCollections, MoviApplicationService, MoviComponent, RawSymbol, ReactiveEngine, ReactiveEngineMapper, ReactiveListeners, RefSymbol, RefUnwrapBailTypes, RefUnwrapValueTypes, Router, RouterFunctionalLink, RouterLink, RouterLinkOptions, RouterView, StateTypeBase, SuperficialRef, TargetType, UnwrapNestedRefs, UnwrapRef, UnwrapRefSimple, UnwrapValueRefs, WeakCollections, addArrayStack, arrayScope, baseemits, baseeventargs, builtInSymbols, closeSetup, createElement, currentFx, dynamicRender, effect, enableTracking, engine, followTracking, getRaw, getTargetType, hasOwn, hook, isBusy, isModified, isNonTrackableKeys, isNumericKey, isObject, isReadonly, isString, isSuperficial, isSymbol, listenSetup, mapCreator, moviComponent, moviFragment, objectToString, pauseTracking, propertyExist, reactive, reactiveConfig, reactiveListeners, registerEffect, removeArrayStack, resetTracking, setFollowTracing, setupListener, sfReactiveMarker, sfRefMarker, targetTypeMap, toRawType, toTypeString };