ngx-vector-components 3.1.0 → 3.3.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.
@@ -15,6 +15,7 @@ export declare class DataTableComponent implements OnInit {
15
15
  virtualPagination: boolean;
16
16
  set tabs(_tabs: ListItem[]);
17
17
  addItemButtonPlusSign: boolean;
18
+ hasActions: boolean;
18
19
  onLazyLoad: EventEmitter<DataTableLazyLoadEvent>;
19
20
  onFilter: EventEmitter<any>;
20
21
  onAdd: EventEmitter<void>;
@@ -42,5 +43,5 @@ export declare class DataTableComponent implements OnInit {
42
43
  private getStatusColor;
43
44
  private getActiveStatusColor;
44
45
  static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
45
- 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"; }, { "onLazyLoad": "onLazyLoad"; "onFilter": "onFilter"; "onAdd": "onAdd"; "onExportExcel": "onExportExcel"; "onExportPDF": "onExportPDF"; }, never, 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>;
46
47
  }
@@ -18,6 +18,7 @@ export declare class DropdownFieldComponent implements OnInit, OnDestroy {
18
18
  dependencies: any;
19
19
  hiddenErrorMessage: boolean;
20
20
  dynamicFilters?: ListItem[];
21
+ minLengthToService: number;
21
22
  onFocus: EventEmitter<any>;
22
23
  get control(): any;
23
24
  get options(): ListItem[] | undefined;
@@ -44,5 +45,5 @@ export declare class DropdownFieldComponent implements OnInit, OnDestroy {
44
45
  private handleSearchErrors;
45
46
  private filterListByQuery;
46
47
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownFieldComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<DropdownFieldComponent, "vector-dropdown-field", never, { "options": "options"; "isRequired": "isRequired"; "control": "control"; "label": "label"; "service": "service"; "paged": "paged"; "buttonAction": "buttonAction"; "dependencies": "dependencies"; "hiddenErrorMessage": "hiddenErrorMessage"; "dynamicFilters": "dynamicFilters"; }, { "onFocus": "onFocus"; }, never, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownFieldComponent, "vector-dropdown-field", never, { "options": "options"; "isRequired": "isRequired"; "control": "control"; "label": "label"; "service": "service"; "paged": "paged"; "buttonAction": "buttonAction"; "dependencies": "dependencies"; "hiddenErrorMessage": "hiddenErrorMessage"; "dynamicFilters": "dynamicFilters"; "minLengthToService": "minLengthToService"; }, { "onFocus": "onFocus"; }, never, never>;
48
49
  }
@@ -31,6 +31,7 @@ export declare type FilterField = {
31
31
  hidden?: boolean;
32
32
  dependencies?: string[];
33
33
  size?: 'small' | 'medium' | 'large' | 'largest' | 'full';
34
+ minLengthToService?: number;
34
35
  };
35
36
  export declare class FiltersComponent implements OnInit, OnDestroy {
36
37
  set fields(_fields: FilterField[]);
@@ -8,7 +8,8 @@ export declare enum TableColumnType {
8
8
  DATETIME = "DATETIME",
9
9
  ENUM = "ENUM",
10
10
  STATUS_BADGE = "STATUS_BADGE",
11
- ACTIVE_BOOLEAN_BADGE = "ACTIVE_BOOLEAN_BADGE"
11
+ ACTIVE_BOOLEAN_BADGE = "ACTIVE_BOOLEAN_BADGE",
12
+ BUTTON = "BUTTON"
12
13
  }
13
14
  export declare type TableColumn = {
14
15
  header: string;
@@ -16,6 +17,8 @@ export declare type TableColumn = {
16
17
  width?: string;
17
18
  type?: TableColumnType;
18
19
  getEnumTranslated?: (enumVal: any) => string;
20
+ clickFunction?: Function;
21
+ icon?: string;
19
22
  };
20
23
  export declare type DataTableLazyLoadEvent = {
21
24
  start: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-vector-components",
3
- "version": "3.1.0",
3
+ "version": "3.3.0",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "~13.2.3",
6
6
  "@angular/cdk": "^13.2.2",