@ctodev/cclibrary-typings
Version:
Library typings for use with CLARC INFINITY
40 lines (39 loc) • 2.25 kB
TypeScript
import { TccAuthService } from '../../../odata/services/tcc-auth/tcc-auth.service';
import { TccOdataFunctionsService } from '../../../odata/services/tcc-odata-functions/tcc-odata-functions.service';
import { Router } from '@angular/router';
export declare namespace TccUserPropertyServiceNamespace {
enum Subjects {
General = "General",
Views = "Views"
}
enum GeneralElements {
Colors = "Colors",
Sidenav = "Sidenav"
}
enum ViewStandardElements {
Tables = "Tables",
Filter = "Filter",
ViewMode = "ViewMode",
Slider = "Slider",
ResizeBar = "ResizeBar",
ResizeBarHorizontal = "ResizeBarHorizontal",
DashboardUsageView = "DashboardUsageView"
}
}
export declare class TccUserPropertyService {
private authservice;
private odataFunctionsService;
private router;
constructor(authservice: TccAuthService, odataFunctionsService: TccOdataFunctionsService, router: Router);
private get UserProperties();
getProperty(subject: TccUserPropertyServiceNamespace.Subjects.General, propertyName: TccUserPropertyServiceNamespace.GeneralElements): any;
getProperty(subject: TccUserPropertyServiceNamespace.Subjects.Views, propertyName: TccUserPropertyServiceNamespace.ViewStandardElements | string, propertyDetailName?: string): any;
getPropertyFromView(subject: TccUserPropertyServiceNamespace.Subjects.Views, viewName: string, propertyName: TccUserPropertyServiceNamespace.ViewStandardElements | string, propertyDetailName?: string): any;
setProperty(value: any, subject: TccUserPropertyServiceNamespace.Subjects.General, propertyName: TccUserPropertyServiceNamespace.GeneralElements): boolean;
setProperty(value: any, subject: TccUserPropertyServiceNamespace.Subjects.Views, propertyName: TccUserPropertyServiceNamespace.ViewStandardElements | string, propertyDetailName?: string): boolean;
setPropertyForView(value: any, subject: TccUserPropertyServiceNamespace.Subjects.Views, viewName: string, propertyName: TccUserPropertyServiceNamespace.ViewStandardElements | string, propertyDetailName?: string): any;
private _getValue;
private _setProperty;
private saveProps;
private getCurrentRoute;
}