Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(
private printer: services.PrinterService,
private loadingService: TdLoadingService
) {
this.loadingService.create({
name: 'app',
type: LoadingType.Circular,
mode: LoadingMode.Indeterminate
// color: 'accent',
});
}
}
constructor(public dialogRef: MdDialogRef,
private _loadingService: TdLoadingService,
private _distributorService: DistributorService,
private _shopService: RetailShopsService,
private _brandService: BrandsService) {
this._loadingService.create({
name: 'brand-form',
type: LoadingType.Circular,
mode: LoadingMode.Indeterminate,
color: 'warn',
}); }
constructor(private _router: Router,
private _loadingService: TdLoadingService,
private _userService: UsersService,
private _authService: AuthService) {
this._loadingService.create({
name: 'login',
type: LoadingType.Circular,
mode: LoadingMode.Indeterminate,
color: 'warn',
});
}
constructor(public dialogRef: MdDialogRef,
private _loadingService: TdLoadingService,
private _shopService: RetailShopsService,
private _saltService: SaltsService) {
this._loadingService.create({
name: 'salt-form',
type: LoadingType.Circular,
mode: LoadingMode.Indeterminate,
color: 'warn',
}); }
constructor(private _shopService: RetailShopsService,
private _dialogService: TdDialogService,
private _indexDB: IndexDBServiceService,
private _loadingService: TdLoadingService,
private _snackBarService: MdSnackBar,
private _printerService: PrinterConfigService,
private _viewContainerRef: ViewContainerRef) {
this._loadingService.create({
name: 'printConfig',
type: LoadingType.Circular,
mode: LoadingMode.Indeterminate,
color: 'warn',
});
}
constructor(private _titleService: Title,
private _loadingService: TdLoadingService,
private _customerService: CustomerService,
private _shopService: RetailShopsService,
private _dialogService: TdDialogService) {
this._loadingService.create({
name: 'customer',
type: LoadingType.Circular,
mode: LoadingMode.Indeterminate,
color: 'warn',
});
}
constructor(
private _titleService: Title,
private _loadingService: TdLoadingService,
private _brandService: BrandsService,
private _userService: UsersService) {
this._loadingService.create({
name: 'products',
type: LoadingType.Circular,
mode: LoadingMode.Indeterminate,
color: 'warn',
});
}
constructor(
private _titleService: Title,
private _loadingService: TdLoadingService,
private _tagService: TagsService,
private _userService: UsersService) {
this._loadingService.create({
name: 'products',
type: LoadingType.Circular,
mode: LoadingMode.Indeterminate,
color: 'warn',
});
}
constructor(
private _titleService: Title,
private _loadingService: TdLoadingService,
private _distributorService: DistributorService,
private _userService: UsersService) {
this._loadingService.create({
name: 'products',
type: LoadingType.Circular,
mode: LoadingMode.Indeterminate,
color: 'warn',
});
}
constructor(public dialogRef: MdDialogRef,
private _userService: UsersService,
private _roleService: RolesService,
private _loadingService: TdLoadingService,) {
this._loadingService.create({
name: 'orders',
type: LoadingType.Circular,
mode: LoadingMode.Indeterminate,
color: 'warn',
});
}