ngx-techlify-core 11.3.4 → 11.3.8
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 +646 -104
- 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/email-subscription/email-subscription-type/email-subscription-type-list/email-subscription-type-list.component.js +2 -2
- package/esm2015/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.js +2 -2
- package/esm2015/lib/login-history-for-user/login-history-for-user.component.js +11 -2
- package/esm2015/lib/note/index.js +2 -1
- package/esm2015/lib/note/note-list/note-list.component.js +2 -2
- package/esm2015/lib/techlify-feature/on-off-switch/on-off-switch.component.js +27 -0
- package/esm2015/lib/techlify-feature/techlify-feature-enabled.directive.js +77 -0
- package/esm2015/lib/techlify-feature/techlify-feature-listing.component.js +174 -0
- package/esm2015/lib/techlify-feature/techlify-feature.module.js +30 -0
- package/esm2015/lib/techlify-feature/techlify-feature.routing.js +12 -0
- package/esm2015/lib/techlify-feature/techlify-feature.service.js +28 -0
- package/esm2015/lib/timeline-filter/calculate-timeline.js +2 -2
- package/esm2015/lib/timeline-filter/timeline-filter.component.js +146 -16
- package/esm2015/ngx-techlify-core.js +4 -1
- package/esm2015/public-api.js +5 -1
- package/fesm2015/ngx-techlify-core.js +537 -88
- package/fesm2015/ngx-techlify-core.js.map +1 -1
- package/lib/login-history-for-user/login-history-for-user.component.d.ts +2 -0
- package/lib/note/index.d.ts +1 -0
- package/lib/techlify-feature/on-off-switch/on-off-switch.component.d.ts +9 -0
- package/lib/techlify-feature/techlify-feature-enabled.directive.d.ts +16 -0
- package/lib/techlify-feature/techlify-feature-listing.component.d.ts +34 -0
- package/lib/techlify-feature/techlify-feature.module.d.ts +2 -0
- package/lib/techlify-feature/techlify-feature.routing.d.ts +2 -0
- package/lib/techlify-feature/techlify-feature.service.d.ts +8 -0
- package/lib/timeline-filter/calculate-timeline.d.ts +5 -0
- package/lib/timeline-filter/timeline-filter.component.d.ts +47 -6
- package/ngx-techlify-core.d.ts +3 -0
- package/ngx-techlify-core.metadata.json +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
|
@@ -2,6 +2,7 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { PageEvent } from '../data-table/data-table.model';
|
|
4
4
|
import { HttpService } from '../core/http.service';
|
|
5
|
+
import { TimelineValue } from '../timeline-filter';
|
|
5
6
|
export declare class LoginHistoryForUserComponent implements OnInit {
|
|
6
7
|
private http;
|
|
7
8
|
private fb;
|
|
@@ -13,6 +14,7 @@ export declare class LoginHistoryForUserComponent implements OnInit {
|
|
|
13
14
|
userId: any;
|
|
14
15
|
constructor(http: HttpService, fb: FormBuilder);
|
|
15
16
|
ngOnInit(): void;
|
|
17
|
+
onTimelineChange(range: TimelineValue): void;
|
|
16
18
|
initializeData(): void;
|
|
17
19
|
filterChange(event: any): void;
|
|
18
20
|
onScroll(): void;
|
package/lib/note/index.d.ts
CHANGED
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { TechlifyFeatureService } from './techlify-feature.service';
|
|
3
|
+
import { ErrorHandlerService, StorageService } from '../core';
|
|
4
|
+
export declare class TechlifyFeatureEnabledDirective {
|
|
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: TechlifyFeatureService, errorHandler: ErrorHandlerService, storage: StorageService);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
getFeatures(): Promise<void>;
|
|
15
|
+
checkForFeatureEnabled(): void;
|
|
16
|
+
}
|
|
@@ -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 { TechlifyFeatureService } from './techlify-feature.service';
|
|
6
|
+
import { AlertService, DataManager, ErrorHandlerService, StorageService } from '../core';
|
|
7
|
+
export declare class TechlifyFeatureListingComponent 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: TechlifyFeatureService);
|
|
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
|
+
}
|
|
@@ -1,20 +1,61 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { DatePipe } from '@angular/common';
|
|
2
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor, FormBuilder, FormControl, FormGroup, NgControl } from '@angular/forms';
|
|
4
|
+
import { TimelineValue } from './calculate-timeline';
|
|
5
|
+
import { Subject } from 'rxjs';
|
|
6
|
+
export declare class TimelineFilterComponent implements OnInit, ControlValueAccessor {
|
|
7
|
+
ngControl: NgControl;
|
|
8
|
+
private datePipe;
|
|
9
|
+
picker: any;
|
|
4
10
|
timelineValue: FormControl;
|
|
5
11
|
timelines: any[];
|
|
6
|
-
labelText: string;
|
|
7
12
|
dateFrom: string;
|
|
8
13
|
dateTo: string;
|
|
9
14
|
appearance: any;
|
|
10
15
|
showClearbutton: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated The form input is deprated
|
|
18
|
+
*/
|
|
11
19
|
form: FormGroup;
|
|
20
|
+
labelText: string;
|
|
21
|
+
selectedValue: any;
|
|
22
|
+
touchUi: boolean;
|
|
23
|
+
selectedValueChange: EventEmitter<any>;
|
|
24
|
+
selectionChange: EventEmitter<any>;
|
|
25
|
+
selectorForm: FormGroup;
|
|
26
|
+
onChange: any;
|
|
27
|
+
onTouched: any;
|
|
28
|
+
static nextId: number;
|
|
29
|
+
stateChanges: Subject<void>;
|
|
30
|
+
controlType: string;
|
|
31
|
+
id: string;
|
|
32
|
+
describedBy: string;
|
|
33
|
+
selectedRange: TimelineValue;
|
|
12
34
|
set defaultValue(value: any);
|
|
13
35
|
showCustomDateFields: boolean;
|
|
14
|
-
constructor();
|
|
15
|
-
|
|
36
|
+
constructor(formBuilder: FormBuilder, ngControl: NgControl, datePipe: DatePipe);
|
|
37
|
+
get required(): boolean;
|
|
38
|
+
set required(value: boolean);
|
|
39
|
+
private _required;
|
|
40
|
+
get disabled(): boolean;
|
|
41
|
+
set disabled(value: boolean);
|
|
42
|
+
private _disabled;
|
|
43
|
+
get value(): any;
|
|
44
|
+
set value(data: any);
|
|
45
|
+
getDateRangeString(): string;
|
|
16
46
|
resetFieldValue(field: string): void;
|
|
17
47
|
getFieldValue(field: string): any;
|
|
18
48
|
setFieldValue(field: string, value: any): void;
|
|
19
49
|
changeTimeline(value: any): void;
|
|
50
|
+
_handleInput(): void;
|
|
51
|
+
dateRangeChange(dateRangeStart: HTMLInputElement, dateRangeEnd: HTMLInputElement): void;
|
|
52
|
+
onCustomDateChange(event: any): void;
|
|
53
|
+
setDescribedByIds(ids: string[]): void;
|
|
54
|
+
onContainerClick(event: MouseEvent): void;
|
|
55
|
+
writeValue(data: any): void;
|
|
56
|
+
registerOnChange(fn: any): void;
|
|
57
|
+
registerOnTouched(fn: any): void;
|
|
58
|
+
setDisabledState(isDisabled: boolean): void;
|
|
59
|
+
ngOnInit(): void;
|
|
60
|
+
ngOnDestroy(): void;
|
|
20
61
|
}
|
package/ngx-techlify-core.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
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 { AlertService as ɵby, AuthenticationGuard as ɵcb, DataManager as ɵbw, ErrorHandlerService as ɵbx, StorageService as ɵbz } from './lib/core';
|
|
7
8
|
export { AlertService as ɵn } from './lib/core/alert.service';
|
|
8
9
|
export { AuthenticationGuard as ɵbg } from './lib/core/authentication.guard';
|
|
9
10
|
export { ConfigService as ɵv } from './lib/core/config.service';
|
|
@@ -34,6 +35,8 @@ export { NoteListComponent as ɵq } from './lib/note/note-list/note-list.compone
|
|
|
34
35
|
export { NoteService as ɵr } from './lib/note/note.service';
|
|
35
36
|
export { MatSelectInfiniteScrollDirective as ɵy } from './lib/searchable-selector/mat-select-infinite-scroll.directive';
|
|
36
37
|
export { SearchableSelectorComponent as ɵx } from './lib/searchable-selector/searchable-selector.component';
|
|
38
|
+
export { OnOffSwitchComponent as ɵcc } from './lib/techlify-feature/on-off-switch/on-off-switch.component';
|
|
39
|
+
export { TechlifyFeatureService as ɵca } from './lib/techlify-feature/techlify-feature.service';
|
|
37
40
|
export { TechlifyUpdateFormComponent as ɵbp } from './lib/techlify-update/techlify-update-form/techlify-update-form.component';
|
|
38
41
|
export { TechlifyUpdateFormModule as ɵbo } from './lib/techlify-update/techlify-update-form/techlify-update-form.module';
|
|
39
42
|
export { TechlifyUpdateHistoryRoutingModule as ɵbq } from './lib/techlify-update/techlify-update-history/techlify-update-history-routing.module';
|