ngx-vector-components 3.4.0 → 3.6.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/CHANGELOG.md +15 -0
- package/assets/styles/_primeng-custom-theme.scss +7 -0
- package/esm2020/lib/components/fields/currency-field/currency-field.component.mjs +24 -66
- package/esm2020/lib/components/fields/data-table/data-table.component.mjs +13 -3
- package/esm2020/lib/components/fields/multiselect-field/multiselect-field.component.mjs +7 -4
- package/esm2020/lib/models/list-item.model.mjs +1 -1
- package/fesm2015/ngx-vector-components.mjs +41 -68
- package/fesm2015/ngx-vector-components.mjs.map +1 -1
- package/fesm2020/ngx-vector-components.mjs +40 -68
- package/fesm2020/ngx-vector-components.mjs.map +1 -1
- package/lib/components/fields/currency-field/currency-field.component.d.ts +5 -8
- package/lib/components/fields/data-table/data-table.component.d.ts +5 -1
- package/lib/components/fields/multiselect-field/multiselect-field.component.d.ts +3 -1
- package/lib/models/list-item.model.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CurrencyFieldComponent implements
|
|
3
|
+
export declare class CurrencyFieldComponent implements AfterViewInit {
|
|
4
4
|
minValue: number;
|
|
5
5
|
maxValue: number;
|
|
6
6
|
placeholder: string;
|
|
7
|
-
|
|
7
|
+
control: any;
|
|
8
8
|
outlined: boolean;
|
|
9
9
|
rounded: boolean;
|
|
10
10
|
label?: string;
|
|
11
11
|
isBankingField: boolean;
|
|
12
12
|
inputClassName: string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
private lastInvertedIndexTyped;
|
|
16
|
-
private subscription;
|
|
17
|
-
ngOnDestroy(): void;
|
|
13
|
+
private inputElement?;
|
|
14
|
+
ngAfterViewInit(): void;
|
|
18
15
|
getInputNgClass(): {
|
|
19
16
|
[x: string]: boolean;
|
|
20
17
|
outlined: boolean;
|
|
@@ -16,11 +16,13 @@ export declare class DataTableComponent implements OnInit {
|
|
|
16
16
|
set tabs(_tabs: ListItem[]);
|
|
17
17
|
addItemButtonPlusSign: boolean;
|
|
18
18
|
hasActions: boolean;
|
|
19
|
+
selectionMode: 'single' | 'multiple' | '';
|
|
19
20
|
onLazyLoad: EventEmitter<DataTableLazyLoadEvent>;
|
|
20
21
|
onFilter: EventEmitter<any>;
|
|
21
22
|
onAdd: EventEmitter<void>;
|
|
22
23
|
onExportExcel: EventEmitter<void>;
|
|
23
24
|
onExportPDF: EventEmitter<void>;
|
|
25
|
+
onSelectedRows: EventEmitter<any>;
|
|
24
26
|
filtersComponent: FiltersComponent | undefined;
|
|
25
27
|
get tabs(): ListItem[];
|
|
26
28
|
private _tabs;
|
|
@@ -28,6 +30,7 @@ export declare class DataTableComponent implements OnInit {
|
|
|
28
30
|
private firstLazyLoadedDone;
|
|
29
31
|
private lastLazyLoadEvent;
|
|
30
32
|
private tabSelected;
|
|
33
|
+
selectedItems: any;
|
|
31
34
|
constructor();
|
|
32
35
|
ngOnInit(): void;
|
|
33
36
|
getColStyle(col: TableColumn): {
|
|
@@ -42,6 +45,7 @@ export declare class DataTableComponent implements OnInit {
|
|
|
42
45
|
get listHasActions(): boolean;
|
|
43
46
|
private getStatusColor;
|
|
44
47
|
private getActiveStatusColor;
|
|
48
|
+
changeSelectedItems(value: any): void;
|
|
45
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "vector-data-table", never, { "columns": "columns"; "data": "data"; "exportExcel": "exportExcel"; "exportPDF": "exportPDF"; "totalRecords": "totalRecords"; "filters": "filters"; "addItemLabel": "addItemLabel"; "pagination": "pagination"; "virtualPagination": "virtualPagination"; "tabs": "tabs"; "addItemButtonPlusSign": "addItemButtonPlusSign"; "hasActions": "hasActions"; }, { "onLazyLoad": "onLazyLoad"; "onFilter": "onFilter"; "onAdd": "onAdd"; "onExportExcel": "onExportExcel"; "onExportPDF": "onExportPDF"; }, never, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "vector-data-table", never, { "columns": "columns"; "data": "data"; "exportExcel": "exportExcel"; "exportPDF": "exportPDF"; "totalRecords": "totalRecords"; "filters": "filters"; "addItemLabel": "addItemLabel"; "pagination": "pagination"; "virtualPagination": "virtualPagination"; "tabs": "tabs"; "addItemButtonPlusSign": "addItemButtonPlusSign"; "hasActions": "hasActions"; "selectionMode": "selectionMode"; }, { "onLazyLoad": "onLazyLoad"; "onFilter": "onFilter"; "onAdd": "onAdd"; "onExportExcel": "onExportExcel"; "onExportPDF": "onExportPDF"; "onSelectedRows": "onSelectedRows"; }, never, never>;
|
|
47
51
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
1
2
|
import { ListItem } from '../../../models';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class MultiselectFieldComponent {
|
|
@@ -5,8 +6,9 @@ export declare class MultiselectFieldComponent {
|
|
|
5
6
|
control: any;
|
|
6
7
|
label: string;
|
|
7
8
|
options: ListItem[];
|
|
9
|
+
onChange: EventEmitter<any>;
|
|
8
10
|
get placeholder(): string;
|
|
9
11
|
fieldErrorLabel(): string;
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiselectFieldComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiselectFieldComponent, "vector-multiselect-field", never, { "isRequired": "isRequired"; "control": "control"; "label": "label"; "options": "options"; }, {}, never, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiselectFieldComponent, "vector-multiselect-field", never, { "isRequired": "isRequired"; "control": "control"; "label": "label"; "options": "options"; }, { "onChange": "onChange"; }, never, never>;
|
|
12
14
|
}
|