ngx-techlify-core 18.10.0 → 18.12.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.
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AppAdminHomeComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppAdminHomeComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppAdminHomeComponent, "app-app-admin-home", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
3
+ export declare class AppAdminRoutingModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppAdminRoutingModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AppAdminRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<AppAdminRoutingModule>;
7
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "./app-admin-routing.module";
4
+ export declare class AppAdminModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppAdminModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AppAdminModule, never, [typeof i1.CommonModule, typeof i2.AppAdminRoutingModule], never>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<AppAdminModule>;
8
+ }
@@ -0,0 +1,13 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { TechlifyListingControllerInterface } from '../../../base-model';
3
+ import { ClientService } from '../../../company-information/client.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TenantListWidgetComponent extends TechlifyListingControllerInterface implements OnInit {
6
+ private service;
7
+ displayedColumns: string[];
8
+ constructor(service: ClientService);
9
+ ngOnInit(): void;
10
+ loadData(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<TenantListWidgetComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<TenantListWidgetComponent, "app-tenant-list-widget", never, {}, {}, never, never, true, never>;
13
+ }
@@ -7,11 +7,9 @@ export declare class AppSwitcherComponent extends TechlifyListingControllerInter
7
7
  private appService;
8
8
  private errorHandler;
9
9
  isOpen: boolean;
10
- private iconMap;
11
10
  constructor(appService: TechlifyAppService, errorHandler: ErrorHandlerService);
12
11
  ngOnInit(): void;
13
12
  loadData(): void;
14
- setupAppIcons(): void;
15
13
  static ɵfac: i0.ɵɵFactoryDeclaration<AppSwitcherComponent, never>;
16
14
  static ɵcmp: i0.ɵɵComponentDeclaration<AppSwitcherComponent, "app-switcher", never, {}, {}, never, never, true, never>;
17
15
  }
@@ -6,6 +6,7 @@ import { CurrentUserService } from '../../user';
6
6
  import { ActivatedRoute, Router } from '@angular/router';
7
7
  import { MultiUserConfig, UserConfigService } from '../../user-config';
8
8
  import { UserTypeEnum } from '../../user/user-type.enum';
9
+ import { NgxPermissionsService } from 'ngx-permissions';
9
10
  import * as i0 from "@angular/core";
10
11
  export declare class LoginFormFieldsComponent extends TechlifyFormComponentInterface implements OnInit {
11
12
  private fb;
@@ -17,6 +18,7 @@ export declare class LoginFormFieldsComponent extends TechlifyFormComponentInter
17
18
  private route;
18
19
  userConfigService: UserConfigService;
19
20
  private errorHandler;
21
+ private ngxPermissionsService;
20
22
  userConfig?: MultiUserConfig;
21
23
  isWorking: boolean;
22
24
  form: UntypedFormGroup;
@@ -26,7 +28,7 @@ export declare class LoginFormFieldsComponent extends TechlifyFormComponentInter
26
28
  };
27
29
  userClients: any[];
28
30
  userType: typeof UserTypeEnum;
29
- constructor(fb: FormBuilder, formValidatorService: FormValidatorService, config: ConfigService, credentialService: CredentialsService, currentUserService: CurrentUserService, authService: AuthenticationService, router: Router, route: ActivatedRoute, userConfigService: UserConfigService, errorHandler: ErrorHandlerService);
31
+ constructor(fb: FormBuilder, formValidatorService: FormValidatorService, config: ConfigService, credentialService: CredentialsService, currentUserService: CurrentUserService, authService: AuthenticationService, router: Router, route: ActivatedRoute, userConfigService: UserConfigService, errorHandler: ErrorHandlerService, ngxPermissionsService: NgxPermissionsService);
30
32
  ngOnInit(): void;
31
33
  handleUserRedirect(): void;
32
34
  login(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-techlify-core",
3
- "version": "18.10.0",
3
+ "version": "18.12.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18",
6
6
  "@angular/core": ">=18",
@@ -25,7 +25,8 @@
25
25
  "xlsx": "^0.18.5",
26
26
  "ngx-editor": "^18.0.0",
27
27
  "moment": "^2.29.4",
28
- "ngx-toastr": "^18.0.0"
28
+ "ngx-toastr": "^18.0.0",
29
+ "ngx-permissions": "^19.0.0"
29
30
  },
30
31
  "module": "fesm2022/ngx-techlify-core.mjs",
31
32
  "typings": "index.d.ts",
package/public-api.d.ts CHANGED
@@ -132,3 +132,6 @@ export * from './lib/company-information/client.service';
132
132
  export * from './lib/login/login.module';
133
133
  export * from './lib/login/login-form-fields/login-form-fields.component';
134
134
  export * from './lib/app-switcher/app-switcher.component';
135
+ export * from './lib/app-admin/app-admin.module';
136
+ export * from './lib/app-admin/app-admin-home/app-admin-home.component';
137
+ export * from './lib/app-admin/tenant/tenant-list-widget/tenant-list-widget.component';