ngx-techlify-core 11.3.5 → 11.3.6
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/bundles/ngx-techlify-core.umd.js +398 -4
- package/bundles/ngx-techlify-core.umd.js.map +1 -1
- package/bundles/ngx-techlify-core.umd.min.js +2 -2
- package/bundles/ngx-techlify-core.umd.min.js.map +1 -1
- package/esm2015/lib/company-feature/company-feature.component.js +174 -0
- package/esm2015/lib/company-feature/company-feature.module.js +30 -0
- package/esm2015/lib/company-feature/company-feature.routing.js +12 -0
- package/esm2015/lib/company-feature/company-feature.service.js +28 -0
- package/esm2015/lib/company-feature/ngx-feature-enabled.directive.js +77 -0
- package/esm2015/lib/company-feature/on-off-switch/on-off-switch.component.js +27 -0
- package/esm2015/ngx-techlify-core.js +3 -1
- package/esm2015/public-api.js +6 -1
- package/fesm2015/ngx-techlify-core.js +315 -1
- package/fesm2015/ngx-techlify-core.js.map +1 -1
- package/lib/company-feature/company-feature.component.d.ts +34 -0
- package/lib/company-feature/company-feature.module.d.ts +2 -0
- package/lib/company-feature/company-feature.routing.d.ts +2 -0
- package/lib/company-feature/company-feature.service.d.ts +8 -0
- package/lib/company-feature/ngx-feature-enabled.directive.d.ts +16 -0
- package/lib/company-feature/on-off-switch/on-off-switch.component.d.ts +9 -0
- package/ngx-techlify-core.d.ts +2 -0
- package/ngx-techlify-core.metadata.json +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +5 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
4
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
5
|
+
import { CompanyFeatureService } from './company-feature.service';
|
|
6
|
+
import { AlertService, DataManager, ErrorHandlerService, StorageService } from '../core';
|
|
7
|
+
export declare class CompanyFeatureComponent implements OnInit {
|
|
8
|
+
private dataManager;
|
|
9
|
+
private errorHandler;
|
|
10
|
+
private fb;
|
|
11
|
+
private alertService;
|
|
12
|
+
private dialog;
|
|
13
|
+
private storage;
|
|
14
|
+
private featureService;
|
|
15
|
+
features: any[];
|
|
16
|
+
displayedColumns: string[];
|
|
17
|
+
dataSource: MatTableDataSource<unknown>;
|
|
18
|
+
page: number;
|
|
19
|
+
lastPage: number;
|
|
20
|
+
perPage: number;
|
|
21
|
+
isWorking: boolean;
|
|
22
|
+
filterFormGroup: FormGroup;
|
|
23
|
+
featureToggleForm: FormGroup;
|
|
24
|
+
constructor(dataManager: DataManager, errorHandler: ErrorHandlerService, fb: FormBuilder, alertService: AlertService, dialog: MatDialog, storage: StorageService, featureService: CompanyFeatureService);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
listenForChanges(): void;
|
|
27
|
+
loadData(): Promise<void>;
|
|
28
|
+
toggeleFeature(element: any, feature: any): Promise<void>;
|
|
29
|
+
setStorage(features: any): void;
|
|
30
|
+
reload(): void;
|
|
31
|
+
onScroll(): void;
|
|
32
|
+
sortColumn(event: any): void;
|
|
33
|
+
assignFilter(column: any, direction: any): void;
|
|
34
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { CompanyFeatureService } from './company-feature.service';
|
|
3
|
+
import { ErrorHandlerService, StorageService } from '../core';
|
|
4
|
+
export declare class NgxFeatureEnabledDirective {
|
|
5
|
+
private el;
|
|
6
|
+
private featureService;
|
|
7
|
+
private errorHandler;
|
|
8
|
+
private storage;
|
|
9
|
+
features: any;
|
|
10
|
+
localFeatures: any[];
|
|
11
|
+
enabledFeature: any;
|
|
12
|
+
constructor(el: ElementRef, featureService: CompanyFeatureService, errorHandler: ErrorHandlerService, storage: StorageService);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
getFeatures(): Promise<void>;
|
|
15
|
+
checkForFeatureEnabled(): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
export declare class OnOffSwitchComponent implements OnInit {
|
|
4
|
+
private fb;
|
|
5
|
+
value: boolean;
|
|
6
|
+
slideToggle: FormGroup;
|
|
7
|
+
constructor(fb: FormBuilder);
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
}
|
package/ngx-techlify-core.d.ts
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
export * from './public-api';
|
|
5
5
|
export { ActionPopupComponent as ɵg } from './lib/action-popup/action-popup.component';
|
|
6
6
|
export { ActionPopup as ɵh } from './lib/action-popup/action-popup.model';
|
|
7
|
+
export { CompanyFeatureService as ɵca } from './lib/company-feature/company-feature.service';
|
|
8
|
+
export { AlertService as ɵby, AuthenticationGuard as ɵcb, DataManager as ɵbw, ErrorHandlerService as ɵbx, StorageService as ɵbz } from './lib/core';
|
|
7
9
|
export { AlertService as ɵn } from './lib/core/alert.service';
|
|
8
10
|
export { AuthenticationGuard as ɵbg } from './lib/core/authentication.guard';
|
|
9
11
|
export { ConfigService as ɵv } from './lib/core/config.service';
|