6.3.2 • Published 6 years ago

iwe7-base v6.3.2

Weekly downloads
156
License
-
Repository
-
Last release
6 years ago
import { Subject, Observable } from "rxjs";
import {
  OnDestroy,
  ElementRef,
  SimpleChange,
  Renderer2,
  RendererStyleFlags2,
  Injector
} from "@angular/core";
import { Location } from "@angular/common";
import { Iwe7IcssService } from "iwe7-icss";

export interface KeyValueInterface {
  [key: string]: any;
}

export interface KeyBooleanInterface {
  [key: string]: boolean;
}

export interface Iwe7TitleServiceInterface {
  listener(): Observable<any>;
}

export interface Iwe7BaseInterface {
  render: Renderer2;
  injector: Injector;
  destroy(): void;
  createElement(name: string, namespace?: string | null): any;
  createComment(value: string): any;
  createText(value: string): any;
  appendChild(parent: any, newChild: any): void;
  insertBefore(parent: any, newChild: any, refChild: any): void;
  removeChild(parent: any, oldChild: any): void;
  selectRootElement(selectorOrNode: string | any): any;
  parentNode(node: any): any;
  nextSibling(node: any): any;
  setAttribute(
    el: any,
    name: string,
    value: string,
    namespace?: string | null
  ): void;
  removeAttribute(el: any, name: string, namespace?: string | null): void;
  addClass(el: any, name: string): void;
  removeClass(el: any, name: string): void;
  setStyle(
    el: any,
    style: string,
    value: any,
    flags?: RendererStyleFlags2
  ): void;
  removeStyle(el: any, style: string, flags?: RendererStyleFlags2): void;
  setProperty(el: any, name: string, value: any): void;
  setValue(node: any, value: string): void;
  classnames(classObj: KeyBooleanInterface): string;
}

export interface Iwe7OnDestoryInterface extends OnDestroy {
  destroyed$: Subject<boolean>;
  listen(target: any, eventName: string): Observable<Event>;
}

export interface Iwe7LocationInterface {
  location: Location;
  readonly locationStream: Observable<any>;
  back(): void;
}

export interface Iwe7IcssInterface {
  ele: ElementRef;
  icss: Iwe7IcssService;
  styleObj: KeyValueInterface;
}

export interface Iwe7PrefixInterface {
  prefixCls: string;
}

export interface Iwe7ThemeInterface {
  theme: string;
  setTheme(change: SimpleChange): void;
}

export interface Iwe7ClassInterface {
  classObj: KeyBooleanInterface;
  updateClassObj(): void;
}

export interface Iwe7TitleInterface {
  title: Iwe7TitleServiceInterface;
}
6.3.2

6 years ago

6.3.1

6 years ago

6.3.0

6 years ago

6.2.9

6 years ago

6.2.8

6 years ago

6.2.7

6 years ago

6.2.6

6 years ago

6.2.5

6 years ago

6.2.4

6 years ago

6.2.3

6 years ago

6.2.2

6 years ago

6.2.1

6 years ago

6.2.0

6 years ago

6.1.9

6 years ago

6.1.8

6 years ago

6.1.7

6 years ago

6.1.6

6 years ago

6.1.5

6 years ago

6.1.4

6 years ago

6.1.3

6 years ago

6.1.2

6 years ago

6.1.1

6 years ago

6.1.0

6 years ago

6.0.9

6 years ago

6.0.8

6 years ago

6.0.7

6 years ago

6.0.6

6 years ago

6.0.5

6 years ago

6.0.4

6 years ago

6.0.3-beta.19

6 years ago

6.0.3-beta.18

6 years ago

6.0.3-beta.17

6 years ago

6.0.3-beta.16

6 years ago

6.0.3-beta.15

6 years ago

6.0.3-beta.14

6 years ago

6.0.3-beta.13

6 years ago

6.0.3-beta.12

6 years ago

6.0.3-beta.11

6 years ago

6.0.3-beta.10

6 years ago

6.0.3-beta.9

6 years ago

6.0.3-beta.8

6 years ago

6.0.3-beta.7

6 years ago

6.0.3-beta.6

6 years ago

6.0.3-beta.5

6 years ago

6.0.3-beta.4

6 years ago

6.0.3-beta.3

6 years ago

6.0.3-beta.2

6 years ago

6.0.3-beta.1

6 years ago

6.0.3

6 years ago

6.0.1

6 years ago

0.0.1

6 years ago