ngx-techlify-core 18.82.0 → 18.83.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/entity-files/entity-file-list/entity-file-list.component.mjs +3 -3
- package/esm2022/lib/techlify-company-switcher/techlify-company-switcher/techlify-company-switcher.component.mjs +10 -8
- package/esm2022/lib/user-client-enable-disable-button/user-client-enable-disable-button.component.mjs +4 -4
- package/esm2022/lib/user-clients-list/user-clients-list.component.mjs +4 -4
- package/esm2022/lib/user-clients-list/{user-client.service.mjs → user-tenant.service.mjs} +10 -10
- package/fesm2022/ngx-techlify-core.mjs +55 -54
- package/fesm2022/ngx-techlify-core.mjs.map +1 -1
- package/lib/techlify-company-switcher/techlify-company-switcher/techlify-company-switcher.component.d.ts +3 -1
- package/lib/user-client-enable-disable-button/user-client-enable-disable-button.component.d.ts +3 -3
- package/lib/user-clients-list/user-clients-list.component.d.ts +3 -3
- package/lib/user-clients-list/user-tenant.service.d.ts +11 -0
- package/package.json +1 -1
- package/lib/user-clients-list/user-client.service.d.ts +0 -11
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { AlertService, CredentialsService, HttpService } from '../../core';
|
|
3
3
|
import { CurrentUserService, User } from '../../user';
|
|
4
|
+
import { UserTenantService } from '../../user-clients-list/user-tenant.service';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class TechlifyCompanySwitcherComponent implements OnInit {
|
|
6
7
|
private http;
|
|
7
8
|
private credentialsService;
|
|
8
9
|
private alertService;
|
|
9
10
|
private currentUserService;
|
|
11
|
+
private userTenantService;
|
|
10
12
|
userClients: any[];
|
|
11
13
|
user: User;
|
|
12
|
-
constructor(http: HttpService, credentialsService: CredentialsService, alertService: AlertService, currentUserService: CurrentUserService);
|
|
14
|
+
constructor(http: HttpService, credentialsService: CredentialsService, alertService: AlertService, currentUserService: CurrentUserService, userTenantService: UserTenantService);
|
|
13
15
|
ngOnInit(): void;
|
|
14
16
|
/**
|
|
15
17
|
* Load User Clients.
|
package/lib/user-client-enable-disable-button/user-client-enable-disable-button.component.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { AlertService, CredentialsService } from '../core';
|
|
3
|
-
import {
|
|
3
|
+
import { UserTenantService } from '../user-clients-list/user-tenant.service';
|
|
4
4
|
import { User } from "../user/user.model";
|
|
5
5
|
import { CurrentUserService } from "../user/current-user.service";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class UserClientEnableDisableButtonComponent implements OnInit {
|
|
8
8
|
private credentialsService;
|
|
9
9
|
protected currentUserService: CurrentUserService;
|
|
10
|
-
protected service:
|
|
10
|
+
protected service: UserTenantService;
|
|
11
11
|
private alertService;
|
|
12
12
|
userClient: any;
|
|
13
13
|
saved: EventEmitter<any>;
|
|
14
14
|
user: User;
|
|
15
15
|
isWorking: boolean;
|
|
16
|
-
constructor(credentialsService: CredentialsService, currentUserService: CurrentUserService, service:
|
|
16
|
+
constructor(credentialsService: CredentialsService, currentUserService: CurrentUserService, service: UserTenantService, alertService: AlertService);
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
enable(): void;
|
|
19
19
|
disable(): void;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { User } from '../user/user.model';
|
|
3
3
|
import { TechlifyListComponent } from '../base-model';
|
|
4
|
-
import {
|
|
4
|
+
import { UserTenantService } from './user-tenant.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class UserClientsListComponent extends TechlifyListComponent implements OnInit {
|
|
7
|
-
protected service:
|
|
7
|
+
protected service: UserTenantService;
|
|
8
8
|
user: User;
|
|
9
9
|
displayedColumns: string[];
|
|
10
|
-
constructor(service:
|
|
10
|
+
constructor(service: UserTenantService);
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
loadData(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserClientsListComponent, never>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TechlifyService } from '../base-model';
|
|
2
|
+
import { HttpService } from '../core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class UserTenantService extends TechlifyService {
|
|
6
|
+
constructor(httpService: HttpService);
|
|
7
|
+
enable(userTenant: any, params?: any): Observable<any>;
|
|
8
|
+
disable(userTenant: any, params?: any): Observable<any>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserTenantService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserTenantService>;
|
|
11
|
+
}
|
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { TechlifyService } from '../base-model';
|
|
2
|
-
import { HttpService } from '../core';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class UserClientService extends TechlifyService {
|
|
6
|
-
constructor(httpService: HttpService);
|
|
7
|
-
enable(userClient: any, params?: any): Observable<any>;
|
|
8
|
-
disable(userClient: any, params?: any): Observable<any>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserClientService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserClientService>;
|
|
11
|
-
}
|