fix: igeneric types
This commit is contained in:
@@ -56,7 +56,7 @@ export class TreoDateRangeComponent implements ControlValueAccessor, OnInit, OnD
|
|||||||
private _timeFormat: string;
|
private _timeFormat: string;
|
||||||
private _timeRange: boolean;
|
private _timeRange: boolean;
|
||||||
private readonly _timeRegExp: RegExp;
|
private readonly _timeRegExp: RegExp;
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ export class TreoMessageComponent implements OnInit, OnDestroy
|
|||||||
private _dismissed: null | boolean;
|
private _dismissed: null | boolean;
|
||||||
private _showIcon: boolean;
|
private _showIcon: boolean;
|
||||||
private _type: TreoMessageType;
|
private _type: TreoMessageType;
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ export class TreoHorizontalNavigationBasicItemComponent implements OnInit, OnDes
|
|||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _treoHorizontalNavigationComponent: TreoHorizontalNavigationComponent;
|
private _treoHorizontalNavigationComponent: TreoHorizontalNavigationComponent;
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
+1
-1
@@ -32,7 +32,7 @@ export class TreoHorizontalNavigationBranchItemComponent implements OnInit, OnDe
|
|||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _treoHorizontalNavigationComponent: TreoHorizontalNavigationComponent;
|
private _treoHorizontalNavigationComponent: TreoHorizontalNavigationComponent;
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ export class TreoHorizontalNavigationDividerItemComponent implements OnInit, OnD
|
|||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _treoHorizontalNavigationComponent: TreoHorizontalNavigationComponent;
|
private _treoHorizontalNavigationComponent: TreoHorizontalNavigationComponent;
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ export class TreoHorizontalNavigationSpacerItemComponent implements OnInit, OnDe
|
|||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _treoHorizontalNavigationComponent: TreoHorizontalNavigationComponent;
|
private _treoHorizontalNavigationComponent: TreoHorizontalNavigationComponent;
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ export class TreoHorizontalNavigationComponent implements OnInit, OnDestroy
|
|||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _navigation: TreoNavigationItem[];
|
private _navigation: TreoNavigationItem[];
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@ export class TreoVerticalNavigationAsideItemComponent implements OnInit, OnDestr
|
|||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _treoVerticalNavigationComponent: TreoVerticalNavigationComponent;
|
private _treoVerticalNavigationComponent: TreoVerticalNavigationComponent;
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ export class TreoVerticalNavigationBasicItemComponent implements OnInit, OnDestr
|
|||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _treoVerticalNavigationComponent: TreoVerticalNavigationComponent;
|
private _treoVerticalNavigationComponent: TreoVerticalNavigationComponent;
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
+1
-1
@@ -38,7 +38,7 @@ export class TreoVerticalNavigationCollapsableItemComponent implements OnInit, O
|
|||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _treoVerticalNavigationComponent: TreoVerticalNavigationComponent;
|
private _treoVerticalNavigationComponent: TreoVerticalNavigationComponent;
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ export class TreoVerticalNavigationDividerItemComponent implements OnInit, OnDes
|
|||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _treoVerticalNavigationComponent: TreoVerticalNavigationComponent;
|
private _treoVerticalNavigationComponent: TreoVerticalNavigationComponent;
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ export class TreoVerticalNavigationGroupItemComponent implements OnInit, OnDestr
|
|||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _treoVerticalNavigationComponent: TreoVerticalNavigationComponent;
|
private _treoVerticalNavigationComponent: TreoVerticalNavigationComponent;
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ export class TreoVerticalNavigationSpacerItemComponent implements OnInit, OnDest
|
|||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _treoVerticalNavigationComponent: TreoVerticalNavigationComponent;
|
private _treoVerticalNavigationComponent: TreoVerticalNavigationComponent;
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ export class TreoVerticalNavigationComponent implements OnInit, AfterViewInit, O
|
|||||||
private _position: TreoVerticalNavigationPosition;
|
private _position: TreoVerticalNavigationPosition;
|
||||||
private _scrollStrategy: ScrollStrategy;
|
private _scrollStrategy: ScrollStrategy;
|
||||||
private _transparentOverlay: boolean | '';
|
private _transparentOverlay: boolean | '';
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
@HostBinding('class.treo-vertical-navigation-animations-enabled')
|
@HostBinding('class.treo-vertical-navigation-animations-enabled')
|
||||||
private _animationsEnabled: boolean;
|
private _animationsEnabled: boolean;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ export class TreoAutogrowDirective implements OnInit, OnDestroy
|
|||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _padding: number;
|
private _padding: number;
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ export class TreoScrollbarDirective implements OnInit, OnDestroy
|
|||||||
private _animation: number | null;
|
private _animation: number | null;
|
||||||
private _enabled: boolean;
|
private _enabled: boolean;
|
||||||
private _options: any;
|
private _options: any;
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ export class TreoMockApiModule
|
|||||||
*
|
*
|
||||||
* @param mockDataServices
|
* @param mockDataServices
|
||||||
*/
|
*/
|
||||||
static forRoot(mockDataServices: any[]): ModuleWithProviders
|
static forRoot(mockDataServices: any[]): ModuleWithProviders<TreoMockApiModule>
|
||||||
{
|
{
|
||||||
return {
|
return {
|
||||||
ngModule : TreoMockApiModule,
|
ngModule : TreoMockApiModule,
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export class ScrutinyConfigModule {
|
|||||||
*
|
*
|
||||||
* @param config
|
* @param config
|
||||||
*/
|
*/
|
||||||
static forRoot(config: any): ModuleWithProviders {
|
static forRoot(config: any): ModuleWithProviders<ScrutinyConfigModule> {
|
||||||
return {
|
return {
|
||||||
ngModule: ScrutinyConfigModule,
|
ngModule: ScrutinyConfigModule,
|
||||||
providers: [
|
providers: [
|
||||||
|
|||||||
+1
-1
@@ -32,7 +32,7 @@ export class DashboardDeviceComponent implements OnInit {
|
|||||||
|
|
||||||
config: AppConfig;
|
config: AppConfig;
|
||||||
|
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
readonly humanizeDuration = humanizeDuration;
|
readonly humanizeDuration = humanizeDuration;
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@ export class DashboardSettingsComponent implements OnInit {
|
|||||||
statusFilterAttributes: number;
|
statusFilterAttributes: number;
|
||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private _configService: ScrutinyConfigService,
|
private _configService: ScrutinyConfigService,
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ export class SearchComponent implements OnInit, OnDestroy
|
|||||||
// Private
|
// Private
|
||||||
private _appearance: 'basic' | 'bar';
|
private _appearance: 'basic' | 'bar';
|
||||||
private _opened: boolean;
|
private _opened: boolean;
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ export class LayoutComponent implements OnInit, OnDestroy {
|
|||||||
theme: Theme;
|
theme: Theme;
|
||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
private systemPrefersDark: boolean;
|
private systemPrefersDark: boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import { Subject } from 'rxjs';
|
|||||||
export class EmptyLayoutComponent implements OnInit, OnDestroy
|
export class EmptyLayoutComponent implements OnInit, OnDestroy
|
||||||
{
|
{
|
||||||
// Private
|
// Private
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ export class MaterialLayoutComponent implements OnInit, OnDestroy
|
|||||||
fixedFooter: boolean;
|
fixedFooter: boolean;
|
||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ export class DashboardComponent implements OnInit, AfterViewInit, OnDestroy
|
|||||||
config: AppConfig;
|
config: AppConfig;
|
||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
@ViewChild('tempChart', { static: false }) tempChart: ChartComponent;
|
@ViewChild('tempChart', { static: false }) tempChart: ChartComponent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -193,11 +193,11 @@ export class DashboardComponent implements OnInit, AfterViewInit, OnDestroy
|
|||||||
enabled: true
|
enabled: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
colors : ['#A3BFFA', '#667EEA'],
|
colors : ['#667eea', '#9066ea', '#66c0ea', '#66ead2', '#d266ea', '#66ea90'],
|
||||||
fill : {
|
fill : {
|
||||||
colors : ['#CED9FB', '#AECDFD'],
|
colors : ['#b2bef4', '#c7b2f4', '#b2dff4', '#b2f4e8', '#e8b2f4', '#b2f4c7'],
|
||||||
opacity: 0.5,
|
opacity: 0.5,
|
||||||
type : 'solid'
|
type : 'gradient'
|
||||||
},
|
},
|
||||||
series : this._deviceDataTemperatureSeries(),
|
series : this._deviceDataTemperatureSeries(),
|
||||||
stroke : {
|
stroke : {
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ export class DetailComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
smartAttributeTableMatSort: MatSort;
|
smartAttributeTableMatSort: MatSort;
|
||||||
|
|
||||||
// Private
|
// Private
|
||||||
private _unsubscribeAll: Subject<any>;
|
private _unsubscribeAll: Subject<void>;
|
||||||
private systemPrefersDark: boolean;
|
private systemPrefersDark: boolean;
|
||||||
|
|
||||||
readonly humanizeDuration = humanizeDuration;
|
readonly humanizeDuration = humanizeDuration;
|
||||||
|
|||||||
Reference in New Issue
Block a user