@ieeesa-npm/presentation 0.4.7 → 0.4.9
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/components/checkbox/checkbox.component.mjs +12 -6
- package/esm2022/lib/components/data-table/data-table.component.mjs +29 -9
- package/esm2022/lib/components/filter/filter.component.mjs +9 -5
- package/fesm2022/ieeesa-npm-presentation.mjs +46 -17
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/checkbox/checkbox.component.d.ts +3 -2
- package/lib/components/data-table/data-table.component.d.ts +3 -1
- package/lib/components/filter/filter.component.d.ts +1 -0
- package/package.json +2 -2
|
@@ -28,6 +28,7 @@ export declare class CheckboxComponent implements OnInit, FormField, OnDestroy {
|
|
|
28
28
|
get checkboxes(): CheckboxOption[];
|
|
29
29
|
selectedCheckboxesInfo: SelectionModel<CheckboxOption>;
|
|
30
30
|
checkboxSelection: EventEmitter<CheckboxOption>;
|
|
31
|
+
checkboxOptionsAndSelection: EventEmitter<CheckboxOption[]>;
|
|
31
32
|
selectedCheckboxes: EventEmitter<CheckboxOption[]>;
|
|
32
33
|
destroy$: Subject<boolean>;
|
|
33
34
|
constructor(formUtilityService: FormUtilityService);
|
|
@@ -48,7 +49,7 @@ export declare class CheckboxComponent implements OnInit, FormField, OnDestroy {
|
|
|
48
49
|
* @param {boolean} checked
|
|
49
50
|
* @memberof CheckboxComponent
|
|
50
51
|
*/
|
|
51
|
-
onChange(option: CheckboxOption
|
|
52
|
+
onChange(option: CheckboxOption): void;
|
|
52
53
|
/**
|
|
53
54
|
* Allows Angular to detect the specific checkbox option that needs to change or be added instead of rebuilding the whole checkbox options in DOM by tracking option unique Id.
|
|
54
55
|
* @param {number} index
|
|
@@ -62,5 +63,5 @@ export declare class CheckboxComponent implements OnInit, FormField, OnDestroy {
|
|
|
62
63
|
*/
|
|
63
64
|
ngOnDestroy(): void;
|
|
64
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ieeesa-checkbox", never, { "checkboxes": { "alias": "checkboxes"; "required": false; }; }, { "checkboxSelection": "checkboxSelection"; "selectedCheckboxes": "selectedCheckboxes"; }, never, never, true, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ieeesa-checkbox", never, { "checkboxes": { "alias": "checkboxes"; "required": false; }; }, { "checkboxSelection": "checkboxSelection"; "checkboxOptionsAndSelection": "checkboxOptionsAndSelection"; "selectedCheckboxes": "selectedCheckboxes"; }, never, never, true, never>;
|
|
66
67
|
}
|
|
@@ -11,6 +11,7 @@ import { CheckboxOption } from '../../models/checkbox-option.model';
|
|
|
11
11
|
import { IconButton } from '../../models/icon-button.model';
|
|
12
12
|
import { TableActions } from '../../models/table-actions.model';
|
|
13
13
|
import { ChipOption } from '../../models/chip-option.model';
|
|
14
|
+
import { SearchType } from '../../models/search.model';
|
|
14
15
|
import * as i0 from "@angular/core";
|
|
15
16
|
/**
|
|
16
17
|
* Provides a Material Design styled data-table that can be used to display rows of data with sortBy, filterBy, add/edit/delete table row data, pagination, search table data.
|
|
@@ -43,6 +44,7 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
43
44
|
filters: ChipOption[];
|
|
44
45
|
selectedFilterOptions: CheckboxOption[];
|
|
45
46
|
appliedFilterOptions: ChipOption[];
|
|
47
|
+
searchType: SearchType;
|
|
46
48
|
rowSelected: EventEmitter<any>;
|
|
47
49
|
selectedRowToEdit: EventEmitter<any>;
|
|
48
50
|
selectedRowToDelete: EventEmitter<any>;
|
|
@@ -189,5 +191,5 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
|
|
|
189
191
|
*/
|
|
190
192
|
ngOnDestroy(): void;
|
|
191
193
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
|
|
192
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "ieeesa-data-table", never, { "tableDataInfo": { "alias": "tableDataInfo"; "required": false; }; "columnSchemaInfo": { "alias": "columnSchemaInfo"; "required": false; }; "tableActions": { "alias": "tableActions"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "paginatorConfig": { "alias": "paginatorConfig"; "required": false; }; "searchPlaceHolderText": { "alias": "searchPlaceHolderText"; "required": false; }; "rowEditButton": { "alias": "rowEditButton"; "required": false; }; "rowDeleteButton": { "alias": "rowDeleteButton"; "required": false; }; "tableEditButton": { "alias": "tableEditButton"; "required": false; }; "tableDeleteButton": { "alias": "tableDeleteButton"; "required": false; }; "addButton": { "alias": "addButton"; "required": false; }; "defaultColumnSortDirection": { "alias": "defaultColumnSortDirection"; "required": false; }; "defaultSortedColumn": { "alias": "defaultSortedColumn"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "selectedFilterOptions": { "alias": "selectedFilterOptions"; "required": false; }; "appliedFilterOptions": { "alias": "appliedFilterOptions"; "required": false; }; }, { "rowSelected": "rowSelected"; "selectedRowToEdit": "selectedRowToEdit"; "selectedRowToDelete": "selectedRowToDelete"; "selectedRowsToDelete": "selectedRowsToDelete"; "rowLink": "rowLink"; "addRow": "addRow"; "columnDataOnRowLinkClick": "columnDataOnRowLinkClick"; "paginationChange": "paginationChange"; "selectedFilter": "selectedFilter"; "removeFilteredOption": "removeFilteredOption"; "filteredOptions": "filteredOptions"; "searchedValue": "searchedValue"; }, never, never, true, never>;
|
|
194
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "ieeesa-data-table", never, { "tableDataInfo": { "alias": "tableDataInfo"; "required": false; }; "columnSchemaInfo": { "alias": "columnSchemaInfo"; "required": false; }; "tableActions": { "alias": "tableActions"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "paginatorConfig": { "alias": "paginatorConfig"; "required": false; }; "searchPlaceHolderText": { "alias": "searchPlaceHolderText"; "required": false; }; "rowEditButton": { "alias": "rowEditButton"; "required": false; }; "rowDeleteButton": { "alias": "rowDeleteButton"; "required": false; }; "tableEditButton": { "alias": "tableEditButton"; "required": false; }; "tableDeleteButton": { "alias": "tableDeleteButton"; "required": false; }; "addButton": { "alias": "addButton"; "required": false; }; "defaultColumnSortDirection": { "alias": "defaultColumnSortDirection"; "required": false; }; "defaultSortedColumn": { "alias": "defaultSortedColumn"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "selectedFilterOptions": { "alias": "selectedFilterOptions"; "required": false; }; "appliedFilterOptions": { "alias": "appliedFilterOptions"; "required": false; }; "searchType": { "alias": "searchType"; "required": false; }; }, { "rowSelected": "rowSelected"; "selectedRowToEdit": "selectedRowToEdit"; "selectedRowToDelete": "selectedRowToDelete"; "selectedRowsToDelete": "selectedRowsToDelete"; "rowLink": "rowLink"; "addRow": "addRow"; "columnDataOnRowLinkClick": "columnDataOnRowLinkClick"; "paginationChange": "paginationChange"; "selectedFilter": "selectedFilter"; "removeFilteredOption": "removeFilteredOption"; "filteredOptions": "filteredOptions"; "searchedValue": "searchedValue"; }, never, never, true, never>;
|
|
193
195
|
}
|
|
@@ -21,6 +21,7 @@ export declare class FilterComponent implements OnDestroy {
|
|
|
21
21
|
onFilterToggle: boolean;
|
|
22
22
|
isFilterActive: boolean;
|
|
23
23
|
isMobileView: boolean;
|
|
24
|
+
isApplyButtonDisabled: boolean;
|
|
24
25
|
typeOfChip: ChipsType;
|
|
25
26
|
destroy$: Subject<boolean>;
|
|
26
27
|
private filteredTypeOptionsInfo;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ieeesa-npm/presentation",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.9",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^16.1.0",
|
|
6
6
|
"@angular/core": "^16.1.0",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"rxjs": "~7.8.0",
|
|
20
20
|
"zone.js": "~0.13.0",
|
|
21
21
|
"@ieeesa-npm/shared-styles": "^0.1.2",
|
|
22
|
-
"@ieeesa-npm/feature": "^0.
|
|
22
|
+
"@ieeesa-npm/feature": "^0.3.1"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"tslib": "^2.3.0"
|