Staging
v0.5.0
https://www.npmjs.com/package/angular-ts-manage
Raw File
Tip revision: bbf53b4d025693d09f979825839129fcbf9d5c87 authored by Dimitry Katz on 07 September 2019, 09:50:41 UTC
1.0.3
Tip revision: bbf53b4
descriptor.d.ts
export declare const BASE_SHEMA: string;
export declare enum BaseValueProp {
    None = 0,
    Text = 1,
    Input = 2,
    Disabled = 3,
    Hidden = 4
}
export declare enum BaseValueType {
    Text = "text",
    Number = "number",
    Array = "array",
    Object = "object",
    Boolean = "boolean",
    Undefined = "undefined",
    Date = "date",
    Time = "time",
    Error = "error",
    Custom = "custom"
}
export declare class BaseParam {
    type: BaseValueType;
    shema: string;
    prop: BaseValueProp;
    template: string;
    provider: string;
    validator: string;
    constructor(type?: BaseValueType, shema?: string, prop?: BaseValueProp, template?: string, provider?: string, validator?: string);
}
export declare class BaseValue {
    name: string;
    param: BaseParam;
    constructor(name: string, param: BaseParam);
}
export declare function Descriptor(descriptor: Array<BaseParam>, property: Array<string>): <T extends new (...args: any[]) => {}>(constructor: T) => {
    new (...args: any[]): {};
} & T;
export declare function BaseDescriptors(descriptor: Array<BaseParam>): (target: any, propertyKey: string) => void;
back to top