ngx-techlify-core 14.11.2 → 14.11.3

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.
Files changed (21) hide show
  1. package/esm2020/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.mjs +1 -1
  2. package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.mjs +1 -1
  3. package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.mjs +1 -1
  4. package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.mjs +1 -1
  5. package/esm2020/lib/login-history-for-user/login-history-for-user.component.mjs +1 -1
  6. package/esm2020/lib/restrictors/restrictors-form/restrictors-form.component.mjs +1 -1
  7. package/esm2020/lib/searchable-selector/searchable-selector.component.mjs +6 -4
  8. package/esm2020/lib/techlify-notifications/techlify-notification-subscriber/techlify-notification-subscriber-form/techlify-notification-subscriber-form.component.mjs +1 -1
  9. package/esm2020/lib/techlify-notifications/techlify-notification-subscriber/techlify-notification-subscriber-list-filter/techlify-notification-subscriber-list-filter.component.mjs +1 -1
  10. package/esm2020/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.mjs +1 -1
  11. package/esm2020/lib/timeline-filter/calculate-timeline.mjs +4 -2
  12. package/esm2020/lib/timeline-filter/timeline-filter.component.mjs +33 -27
  13. package/esm2020/lib/user/users-view-all.component.mjs +1 -1
  14. package/fesm2015/ngx-techlify-core.mjs +50 -40
  15. package/fesm2015/ngx-techlify-core.mjs.map +1 -1
  16. package/fesm2020/ngx-techlify-core.mjs +48 -39
  17. package/fesm2020/ngx-techlify-core.mjs.map +1 -1
  18. package/lib/searchable-selector/searchable-selector.component.d.ts +2 -1
  19. package/lib/timeline-filter/calculate-timeline.d.ts +1 -1
  20. package/lib/timeline-filter/timeline-filter.component.d.ts +13 -13
  21. package/package.json +1 -1
@@ -14,6 +14,7 @@ export declare class SearchableSelectorComponent implements ControlValueAccessor
14
14
  ngControl: NgControl;
15
15
  valueField: string;
16
16
  titleField: string;
17
+ subtitleField: string;
17
18
  apiUrl: string;
18
19
  multiple: boolean;
19
20
  selectedValue: any;
@@ -80,5 +81,5 @@ export declare class SearchableSelectorComponent implements ControlValueAccessor
80
81
  editItem(event: any): void;
81
82
  ngOnDestroy(): void;
82
83
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchableSelectorComponent, [null, null, null, null, null, { optional: true; self: true; }]>;
83
- static ɵcmp: i0.ɵɵComponentDeclaration<SearchableSelectorComponent, "app-searchable-selector", never, { "valueField": "valueField"; "titleField": "titleField"; "apiUrl": "apiUrl"; "multiple": "multiple"; "selectedValue": "selectedValue"; "enableSearch": "enableSearch"; "add": "add"; "addConfig": "addConfig"; "edit": "edit"; "editConfig": "editConfig"; "sort": "sort"; "sortBy": "sortBy"; "searchField": "searchField"; "itemComponent": "itemComponent"; "items": "items"; "apiDataProperty": "apiDataProperty"; "cache": "cache"; "perPage": "perPage"; "inDataSearch": "inDataSearch"; "required": "required"; "disabled": "disabled"; "value": "value"; }, { "selectedValueChange": "selectedValueChange"; "selectionChange": "selectionChange"; "itemsChange": "itemsChange"; }, never, never, false>;
84
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchableSelectorComponent, "app-searchable-selector", never, { "valueField": "valueField"; "titleField": "titleField"; "subtitleField": "subtitleField"; "apiUrl": "apiUrl"; "multiple": "multiple"; "selectedValue": "selectedValue"; "enableSearch": "enableSearch"; "add": "add"; "addConfig": "addConfig"; "edit": "edit"; "editConfig": "editConfig"; "sort": "sort"; "sortBy": "sortBy"; "searchField": "searchField"; "itemComponent": "itemComponent"; "items": "items"; "apiDataProperty": "apiDataProperty"; "cache": "cache"; "perPage": "perPage"; "inDataSearch": "inDataSearch"; "required": "required"; "disabled": "disabled"; "value": "value"; }, { "selectedValueChange": "selectedValueChange"; "selectionChange": "selectionChange"; "itemsChange": "itemsChange"; }, never, never, false>;
84
85
  }
@@ -3,4 +3,4 @@ export interface TimelineValue {
3
3
  date_to: Date;
4
4
  show_custom_field: boolean;
5
5
  }
6
- export declare function calculateTimeline(value: any): any;
6
+ export declare function calculateTimeline(value: number, dateFrom?: string, dateTo?: string): any;
@@ -3,11 +3,20 @@ import { EventEmitter, OnInit } from '@angular/core';
3
3
  import { ControlValueAccessor, UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, NgControl } from '@angular/forms';
4
4
  import { TimelineValue } from './calculate-timeline';
5
5
  import { Subject } from 'rxjs';
6
- import { MatDatepicker } from "@angular/material/datepicker";
6
+ import { MatDatepicker } from '@angular/material/datepicker';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class TimelineFilterComponent implements OnInit, ControlValueAccessor {
9
9
  ngControl: NgControl;
10
10
  private datePipe;
11
+ set defaultValue(value: any);
12
+ constructor(formBuilder: UntypedFormBuilder, ngControl: NgControl, datePipe: DatePipe);
13
+ get required(): boolean;
14
+ set required(value: boolean);
15
+ get disabled(): boolean;
16
+ set disabled(value: boolean);
17
+ get value(): any;
18
+ set value(data: any);
19
+ static nextId: number;
11
20
  picker: MatDatepicker<any>;
12
21
  timelineValue: UntypedFormControl;
13
22
  timelines: any[];
@@ -25,25 +34,16 @@ export declare class TimelineFilterComponent implements OnInit, ControlValueAcce
25
34
  selectedValueChange: EventEmitter<any>;
26
35
  selectionChange: EventEmitter<any>;
27
36
  selectorForm: UntypedFormGroup;
28
- onChange: any;
29
- onTouched: any;
30
- static nextId: number;
31
37
  stateChanges: Subject<void>;
32
38
  controlType: string;
33
39
  id: string;
34
40
  describedBy: string;
35
41
  selectedRange: TimelineValue;
36
- set defaultValue(value: any);
37
42
  showCustomDateFields: boolean;
38
- constructor(formBuilder: UntypedFormBuilder, ngControl: NgControl, datePipe: DatePipe);
39
- get required(): boolean;
40
- set required(value: boolean);
41
43
  private _required;
42
- get disabled(): boolean;
43
- set disabled(value: boolean);
44
44
  private _disabled;
45
- get value(): any;
46
- set value(data: any);
45
+ onChange: any;
46
+ onTouched: any;
47
47
  getDateRangeString(): string;
48
48
  resetFieldValue(field: string): void;
49
49
  getFieldValue(field: string): any;
@@ -61,5 +61,5 @@ export declare class TimelineFilterComponent implements OnInit, ControlValueAcce
61
61
  ngOnInit(): void;
62
62
  ngOnDestroy(): void;
63
63
  static ɵfac: i0.ɵɵFactoryDeclaration<TimelineFilterComponent, [null, { optional: true; self: true; }, null]>;
64
- static ɵcmp: i0.ɵɵComponentDeclaration<TimelineFilterComponent, "app-timeline-filter", never, { "timelineValue": "timelineValue"; "timelines": "timelines"; "dateFrom": "dateFrom"; "dateTo": "dateTo"; "appearance": "appearance"; "showClearButton": "showClearButton"; "form": "form"; "labelText": "labelText"; "selectedValue": "selectedValue"; "touchUi": "touchUi"; "defaultValue": "defaultValue"; "required": "required"; "disabled": "disabled"; "value": "value"; }, { "selectedValueChange": "selectedValueChange"; "selectionChange": "selectionChange"; }, never, never, false>;
64
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimelineFilterComponent, "app-timeline-filter", never, { "defaultValue": "defaultValue"; "required": "required"; "disabled": "disabled"; "value": "value"; "timelineValue": "timelineValue"; "timelines": "timelines"; "dateFrom": "dateFrom"; "dateTo": "dateTo"; "appearance": "appearance"; "showClearButton": "showClearButton"; "form": "form"; "labelText": "labelText"; "selectedValue": "selectedValue"; "touchUi": "touchUi"; }, { "selectedValueChange": "selectedValueChange"; "selectionChange": "selectionChange"; }, never, never, false>;
65
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-techlify-core",
3
- "version": "14.11.2",
3
+ "version": "14.11.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=14",
6
6
  "@angular/core": ">=14",