Staging
v0.8.1
v0.8.1
https://www.npmjs.com/package/angular-ts-manage
Tip revision: b1e482ab8056177921736d49affb12f385db16fb authored by Dimitry Katz on 07 September 2019, 09:18:58 UTC
1.0.0
1.0.0
Tip revision: b1e482a
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;