ngx-techlify-core 18.4.0 → 18.5.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/audit-log/audit-log-list-filter/audit-log-list-filter.component.mjs +1 -1
- package/esm2022/lib/login-history-for-user/login-history-for-user.component.mjs +1 -1
- package/esm2022/lib/note/note-list/note-list.component.mjs +52 -15
- package/esm2022/lib/note/note.module.mjs +8 -5
- package/esm2022/lib/role/role-form-button.component.mjs +4 -6
- package/esm2022/lib/role/roles-view-all.component.mjs +3 -3
- package/esm2022/lib/timeline-filter/timeline-filter.component.mjs +65 -87
- package/fesm2022/ngx-techlify-core.mjs +118 -106
- package/fesm2022/ngx-techlify-core.mjs.map +1 -1
- package/lib/note/note-list/note-list.component.d.ts +9 -2
- package/lib/note/note.module.d.ts +1 -1
- package/lib/timeline-filter/timeline-filter.component.d.ts +11 -18
- package/package.json +1 -1
|
@@ -2,18 +2,24 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { NoteService } from '../note.service';
|
|
3
3
|
import { MatDialog } from '@angular/material/dialog';
|
|
4
4
|
import { TechlifyListingControllerInterface } from '../../base-model';
|
|
5
|
+
import { AlertService } from "../../core";
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class NoteListComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
7
8
|
private noteService;
|
|
8
9
|
private dialog;
|
|
10
|
+
private alertService;
|
|
9
11
|
relatedModelId: any;
|
|
10
12
|
modelType: any;
|
|
11
13
|
readonly: boolean;
|
|
12
14
|
labelText: string;
|
|
13
15
|
commentsView: boolean;
|
|
16
|
+
viewMode: 'list' | 'timeline';
|
|
14
17
|
filters: any;
|
|
15
18
|
displayedColumns: string[];
|
|
16
|
-
|
|
19
|
+
note: any;
|
|
20
|
+
isSaving: boolean;
|
|
21
|
+
total: number;
|
|
22
|
+
constructor(noteService: NoteService, dialog: MatDialog, alertService: AlertService);
|
|
17
23
|
ngOnInit(): void;
|
|
18
24
|
loadData(): void;
|
|
19
25
|
addNote(): void;
|
|
@@ -22,6 +28,7 @@ export declare class NoteListComponent extends TechlifyListingControllerInterfac
|
|
|
22
28
|
commentAction(event: any): void;
|
|
23
29
|
editComment(comment: any): Promise<void>;
|
|
24
30
|
addComment(comment: any): Promise<void>;
|
|
31
|
+
saveNote(): void;
|
|
25
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<NoteListComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NoteListComponent, "app-note-list", never, { "relatedModelId": { "alias": "relatedModelId"; "required": false; }; "modelType": { "alias": "modelType"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "commentsView": { "alias": "commentsView"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NoteListComponent, "app-note-list", never, { "relatedModelId": { "alias": "relatedModelId"; "required": false; }; "modelType": { "alias": "modelType"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "commentsView": { "alias": "commentsView"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
34
|
}
|
|
@@ -12,6 +12,6 @@ import * as i10 from "../read-more/read-more.module";
|
|
|
12
12
|
import * as i11 from "@angular/material/progress-bar";
|
|
13
13
|
export declare class NoteModule {
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<NoteModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NoteModule, [typeof i1.NoteListComponent, typeof i2.NoteFormComponent, typeof i3.CommentFormComponent], [typeof i4.CommonModule, typeof i5.ReactiveFormsModule, typeof i6.InfiniteScrollModule, typeof i7.FlexLayoutModule, typeof i8.ActionPopupModule, typeof i9.MaterialModule, typeof i10.ReadMoreModule, typeof i11.MatProgressBarModule], [typeof i1.NoteListComponent]>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NoteModule, [typeof i1.NoteListComponent, typeof i2.NoteFormComponent, typeof i3.CommentFormComponent], [typeof i4.CommonModule, typeof i5.ReactiveFormsModule, typeof i6.InfiniteScrollModule, typeof i7.FlexLayoutModule, typeof i8.ActionPopupModule, typeof i9.MaterialModule, typeof i10.ReadMoreModule, typeof i11.MatProgressBarModule, typeof i5.FormsModule], [typeof i1.NoteListComponent]>;
|
|
16
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<NoteModule>;
|
|
17
17
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { DatePipe } from '@angular/common';
|
|
2
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
3
|
-
import { ControlValueAccessor, UntypedFormBuilder,
|
|
4
|
-
import { TimelineValue } from './calculate-timeline';
|
|
2
|
+
import { ControlValueAccessor, UntypedFormBuilder, UntypedFormGroup, NgControl } from '@angular/forms';
|
|
5
3
|
import { Subject } from 'rxjs';
|
|
6
4
|
import { MatDatepicker } from '@angular/material/datepicker';
|
|
5
|
+
import { DatePipe } from '@angular/common';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class TimelineFilterComponent implements OnInit, ControlValueAccessor {
|
|
9
8
|
ngControl: NgControl;
|
|
10
9
|
private datePipe;
|
|
11
10
|
set defaultValue(value: any);
|
|
12
|
-
|
|
11
|
+
get empty(): boolean;
|
|
12
|
+
get shouldLabelFloat(): boolean;
|
|
13
13
|
get required(): boolean;
|
|
14
14
|
set required(value: boolean);
|
|
15
15
|
get disabled(): boolean;
|
|
@@ -18,48 +18,41 @@ export declare class TimelineFilterComponent implements OnInit, ControlValueAcce
|
|
|
18
18
|
set value(data: any);
|
|
19
19
|
static nextId: number;
|
|
20
20
|
picker: MatDatepicker<any>;
|
|
21
|
-
timelineValue: UntypedFormControl;
|
|
22
21
|
timelines: any[];
|
|
23
22
|
dateFrom: string;
|
|
24
23
|
dateTo: string;
|
|
25
24
|
appearance: any;
|
|
26
25
|
showClearButton: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* @deprecated The form input is deprecated.
|
|
29
|
-
*/
|
|
30
26
|
form: UntypedFormGroup;
|
|
31
27
|
labelText: string;
|
|
32
|
-
selectedValue: any;
|
|
33
|
-
touchUi: boolean;
|
|
34
|
-
selectedValueChange: EventEmitter<any>;
|
|
35
28
|
selectionChange: EventEmitter<any>;
|
|
36
29
|
selectorForm: UntypedFormGroup;
|
|
37
30
|
stateChanges: Subject<void>;
|
|
38
31
|
controlType: string;
|
|
39
32
|
id: string;
|
|
40
33
|
describedBy: string;
|
|
41
|
-
|
|
34
|
+
focused: boolean;
|
|
42
35
|
showCustomDateFields: boolean;
|
|
43
36
|
private _required;
|
|
44
37
|
private _disabled;
|
|
45
38
|
onChange: any;
|
|
46
39
|
onTouched: any;
|
|
47
|
-
|
|
40
|
+
get timelineValue(): import("@angular/forms").AbstractControl<any, any>;
|
|
41
|
+
get customDateFrom(): import("@angular/forms").AbstractControl<any, any>;
|
|
42
|
+
get customDateTo(): import("@angular/forms").AbstractControl<any, any>;
|
|
43
|
+
constructor(formBuilder: UntypedFormBuilder, ngControl: NgControl, datePipe: DatePipe);
|
|
44
|
+
ngOnInit(): void;
|
|
48
45
|
resetFieldValue(field: string): void;
|
|
49
46
|
getFieldValue(field: string): any;
|
|
50
47
|
setFieldValue(field: string, value: any): void;
|
|
51
48
|
changeTimeline(value: any): void;
|
|
52
|
-
_handleInput(): void;
|
|
53
|
-
dateRangeChange(dateRangeStart: HTMLInputElement, dateRangeEnd: HTMLInputElement): void;
|
|
54
|
-
onCustomDateChange(event: any): void;
|
|
55
49
|
setDescribedByIds(ids: string[]): void;
|
|
56
50
|
onContainerClick(event: MouseEvent): void;
|
|
57
51
|
writeValue(data: any): void;
|
|
58
52
|
registerOnChange(fn: any): void;
|
|
59
53
|
registerOnTouched(fn: any): void;
|
|
60
54
|
setDisabledState(isDisabled: boolean): void;
|
|
61
|
-
ngOnInit(): void;
|
|
62
55
|
ngOnDestroy(): void;
|
|
63
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineFilterComponent, [null, { optional: true; self: true; }, null]>;
|
|
64
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimelineFilterComponent, "app-timeline-filter", never, { "defaultValue": { "alias": "defaultValue"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimelineFilterComponent, "app-timeline-filter", never, { "defaultValue": { "alias": "defaultValue"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "timelines": { "alias": "timelines"; "required": false; }; "dateFrom": { "alias": "dateFrom"; "required": false; }; "dateTo": { "alias": "dateTo"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "form": { "alias": "form"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, false, never>;
|
|
65
58
|
}
|