la-ts-library
Advanced tools
Comparing version 1.0.21 to 1.0.22
@@ -17,2 +17,3 @@ export * from "./services/array-helpers.service"; | ||
export * from "./models/index.model"; | ||
export * from "./models/table.model"; | ||
export * as laPrototypes from "./prototypes/prototypes"; |
@@ -17,2 +17,3 @@ export * from "./services/array-helpers.service"; | ||
export * from "./models/index.model"; | ||
export * from "./models/table.model"; | ||
export * as laPrototypes from "./prototypes/prototypes"; |
@@ -16,13 +16,2 @@ export interface IBase { | ||
} | ||
export interface ITableCol { | ||
t: string; | ||
f: string; | ||
formatter?: (val: any) => string; | ||
p?: string[]; | ||
formatterP?: (...val: any) => string; | ||
} | ||
export interface IRowOption { | ||
t: string; | ||
action?: (row: any) => void; | ||
} | ||
export interface IAgg { | ||
@@ -79,4 +68,4 @@ _id?: string; | ||
path: string; | ||
type: 'st' | 'scr'; | ||
constructor(path: any, type?: 'st' | 'scr', id?: string); | ||
type: "st" | "scr"; | ||
constructor(path: any, type?: "st" | "scr", id?: string); | ||
} | ||
@@ -130,3 +119,3 @@ export interface Subscription { | ||
date?: Date | string; | ||
priority?: 'high' | 'normal' | 'low'; | ||
priority?: "high" | "normal" | "low"; | ||
} |
@@ -41,3 +41,3 @@ export var Day; | ||
export class IMenuItem { | ||
constructor(label, link, icon = '', subs = []) { | ||
constructor(label, link, icon = "", subs = []) { | ||
this.label = label; | ||
@@ -51,10 +51,10 @@ this.link = link; | ||
export class RouteItem { | ||
constructor(base, parentPub = '', params = '') { | ||
constructor(base, parentPub = "", params = "") { | ||
this._ = base + params; | ||
this.__ = base; | ||
this.pub = parentPub + '/' + base; | ||
this.pub = parentPub + "/" + base; | ||
} | ||
} | ||
export class MyFile { | ||
constructor(path, type = 'scr', id = Math.round(Math.random() * 1000000000) + '') { | ||
constructor(path, type = "scr", id = Math.round(Math.random() * 1000000000) + "") { | ||
this.path = path; | ||
@@ -61,0 +61,0 @@ this.type = type; |
{ | ||
"name": "la-ts-library", | ||
"version": "1.0.21", | ||
"version": "1.0.22", | ||
"description": "From the ground up", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
61663
41
2011