ngx-techlify-core 14.11.0 → 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.
- package/esm2020/lib/audit-log/audit-log-list-filter/audit-log-list-filter.component.mjs +1 -1
- package/esm2020/lib/base-model/techlify-listing-component.class.mjs +2 -2
- package/esm2020/lib/column-selector/column-selector/column-selector.component.mjs +37 -0
- package/esm2020/lib/column-selector/column-selector.module.mjs +40 -0
- package/esm2020/lib/column-selector/index.mjs +3 -0
- package/esm2020/lib/email-subscription/email-subscription-type/email-subscription-type-form/email-subscription-type-form.component.mjs +1 -1
- package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-form/email-subscription-user-form.component.mjs +1 -1
- package/esm2020/lib/email-subscription/email-subscription-user/email-subscription-user-list-filter/email-subscription-user-list-filter.component.mjs +1 -1
- package/esm2020/lib/login-history-for-user/login-history-for-user.component.mjs +1 -1
- package/esm2020/lib/number-input-button/index.mjs +3 -0
- package/esm2020/lib/number-input-button/number-input-button/number-input-button.component.mjs +104 -0
- package/esm2020/lib/number-input-button/number-input-button.module.mjs +32 -0
- package/esm2020/lib/restrictors/restrictors-form/restrictors-form.component.mjs +1 -1
- package/esm2020/lib/searchable-selector/searchable-selector.component.mjs +7 -5
- package/esm2020/lib/searchable-selector/searchable-selector.module.mjs +9 -10
- package/esm2020/lib/techlify-notifications/techlify-notification-subscriber/techlify-notification-subscriber-form/techlify-notification-subscriber-form.component.mjs +1 -1
- package/esm2020/lib/techlify-notifications/techlify-notification-subscriber/techlify-notification-subscriber-list-filter/techlify-notification-subscriber-list-filter.component.mjs +1 -1
- package/esm2020/lib/techlify-tagger-tag-selector/techlify-tagger-tag-selector.component.mjs +1 -1
- package/esm2020/lib/timeline-filter/calculate-timeline.mjs +4 -2
- package/esm2020/lib/timeline-filter/timeline-filter.component.mjs +33 -27
- package/esm2020/lib/user/users-view-all.component.mjs +1 -1
- package/esm2020/public-api.mjs +3 -1
- package/fesm2015/ngx-techlify-core.mjs +325 -131
- package/fesm2015/ngx-techlify-core.mjs.map +1 -1
- package/fesm2020/ngx-techlify-core.mjs +321 -130
- package/fesm2020/ngx-techlify-core.mjs.map +1 -1
- package/lib/column-selector/column-selector/column-selector.component.d.ts +13 -0
- package/lib/column-selector/column-selector.module.d.ts +12 -0
- package/lib/column-selector/index.d.ts +2 -0
- package/lib/number-input-button/index.d.ts +2 -0
- package/lib/number-input-button/number-input-button/number-input-button.component.d.ts +32 -0
- package/lib/number-input-button/number-input-button.module.d.ts +10 -0
- package/lib/searchable-selector/searchable-selector.component.d.ts +2 -1
- package/lib/searchable-selector/searchable-selector.module.d.ts +6 -6
- package/lib/timeline-filter/calculate-timeline.d.ts +1 -1
- package/lib/timeline-filter/timeline-filter.component.d.ts +13 -13
- package/package.json +2 -1
- package/public-api.d.ts +2 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ColumnSelectorComponent implements OnInit {
|
|
5
|
+
availableColumns: string[];
|
|
6
|
+
label: string;
|
|
7
|
+
updated: EventEmitter<string[]>;
|
|
8
|
+
columnSelector: FormControl;
|
|
9
|
+
constructor();
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnSelectorComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnSelectorComponent, "app-column-selector", never, { "availableColumns": "availableColumns"; "label": "label"; }, { "updated": "updated"; }, never, never, false>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./column-selector/column-selector.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/form-field";
|
|
5
|
+
import * as i4 from "@angular/material/core";
|
|
6
|
+
import * as i5 from "@angular/material/select";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
export declare class ColumnSelectorModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnSelectorModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ColumnSelectorModule, [typeof i1.ColumnSelectorComponent], [typeof i2.CommonModule, typeof i3.MatFormFieldModule, typeof i4.MatOptionModule, typeof i5.MatSelectModule, typeof i6.ReactiveFormsModule], [typeof i1.ColumnSelectorComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ColumnSelectorModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ControlValueAccessor, UntypedFormControl } from '@angular/forms';
|
|
2
|
+
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
|
3
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface NumberInputOption {
|
|
6
|
+
type: string;
|
|
7
|
+
title: string;
|
|
8
|
+
value: any;
|
|
9
|
+
hint: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const DEFAULT_SELECTED_VALUE = 1;
|
|
12
|
+
export declare class NumberInputButtonComponent implements OnInit, ControlValueAccessor {
|
|
13
|
+
label: string;
|
|
14
|
+
appearance?: MatFormFieldAppearance;
|
|
15
|
+
showLabel: boolean;
|
|
16
|
+
customInput: ElementRef;
|
|
17
|
+
showCustomInput: boolean;
|
|
18
|
+
options: NumberInputOption[];
|
|
19
|
+
selectedOption: UntypedFormControl;
|
|
20
|
+
customValue: UntypedFormControl;
|
|
21
|
+
touched: boolean;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
onChange: (value: any) => void;
|
|
24
|
+
onTouched: () => void;
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
writeValue(obj: string): void;
|
|
27
|
+
registerOnChange(fn: any): void;
|
|
28
|
+
registerOnTouched(fn: any): void;
|
|
29
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputButtonComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputButtonComponent, "app-number-input-button", never, { "label": "label"; "appearance": "appearance"; "showLabel": "showLabel"; }, {}, never, never, false>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./number-input-button/number-input-button.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../material.module";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
export declare class NumberInputButtonModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputButtonModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NumberInputButtonModule, [typeof i1.NumberInputButtonComponent], [typeof i2.CommonModule, typeof i3.MaterialModule, typeof i4.ReactiveFormsModule], [typeof i1.NumberInputButtonComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NumberInputButtonModule>;
|
|
10
|
+
}
|
|
@@ -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
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./searchable-selector.component";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "@angular/
|
|
5
|
-
import * as i4 from "@angular/
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/flex-layout";
|
|
6
|
+
import * as i5 from "../material.module";
|
|
7
|
+
import * as i6 from "ng-mat-select-infinite-scroll";
|
|
8
8
|
export declare class SearchableSelectorModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchableSelectorModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SearchableSelectorModule, [typeof i1.SearchableSelectorComponent, typeof i2.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SearchableSelectorModule, [typeof i1.SearchableSelectorComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FlexLayoutModule, typeof i5.MaterialModule, typeof i6.MatSelectInfiniteScrollModule], [typeof i1.SearchableSelectorComponent]>;
|
|
11
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<SearchableSelectorModule>;
|
|
12
12
|
}
|
|
@@ -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
|
|
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
|
-
|
|
46
|
-
|
|
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, { "
|
|
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.
|
|
3
|
+
"version": "14.11.3",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=14",
|
|
6
6
|
"@angular/core": ">=14",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"@angular/material": ">=14",
|
|
14
14
|
"@angular/cdk": ">=14",
|
|
15
15
|
"rxjs": ">=6.6.0",
|
|
16
|
+
"ng-mat-select-infinite-scroll": "^4.0.0",
|
|
16
17
|
"zone.js": ">=0.11"
|
|
17
18
|
},
|
|
18
19
|
"dependencies": {
|
package/public-api.d.ts
CHANGED
|
@@ -122,3 +122,5 @@ export * from './lib/restrictors';
|
|
|
122
122
|
export * from './lib/techlify-company-switcher';
|
|
123
123
|
export * from './lib/file-dragdrop-uploader/file-dragdrop-uploader/file-dragdrop-uploader.component';
|
|
124
124
|
export * from './lib/file-dragdrop-uploader/file-dragdrop-uploader.module';
|
|
125
|
+
export * from './lib/number-input-button';
|
|
126
|
+
export * from './lib/column-selector';
|