@annalib/anna-core 14.6.3 → 14.6.4
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/anna-core-shared-lib/constants/shared.constant.mjs +9 -1
- package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +7 -2
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +13 -3
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.mjs +2 -2
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +2 -2
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +29 -13
- package/fesm2015/annalib-anna-core.mjs +60 -21
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +60 -21
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/constants/shared.constant.d.ts +8 -0
- package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +1 -4
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.d.ts +2 -0
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +5 -1
- package/package.json +1 -1
- package/src/lib/anna-common-scss/_filters.scss +8 -0
|
@@ -31,3 +31,11 @@ export declare enum Days {
|
|
|
31
31
|
Sa = 6,
|
|
32
32
|
Su = 7
|
|
33
33
|
}
|
|
34
|
+
export declare class OrderSources {
|
|
35
|
+
static readonly Medialine = "Medialine";
|
|
36
|
+
static readonly Non_electronic = "Non electronic";
|
|
37
|
+
static readonly Others = "Others";
|
|
38
|
+
static readonly WOC_unlinked = "WOC Unlinked";
|
|
39
|
+
static readonly WOC_linked = "WOC Linked";
|
|
40
|
+
static readonly WOZ = "WOZ";
|
|
41
|
+
}
|
|
@@ -63,10 +63,7 @@ export declare class AnnaFilterService {
|
|
|
63
63
|
reOrderAppliedFiltersState(clonedData: any[], value: any): boolean;
|
|
64
64
|
checkIfFilterIsApplied(clonedData: any[], value: any): boolean;
|
|
65
65
|
applyFilter(data: any[], value: any): any[];
|
|
66
|
-
isObjectInTheRange(obj: any, value:
|
|
67
|
-
fromDate: dayjs.Dayjs;
|
|
68
|
-
toDate: dayjs.Dayjs;
|
|
69
|
-
}, key: string): boolean;
|
|
66
|
+
isObjectInTheRange(obj: any, value: any, key: string): any;
|
|
70
67
|
updateStateOfTheCurrentFilterTab(sortMap: Map<string, SortType>): void;
|
|
71
68
|
updateStateOfAllTheKeys(sortMap: Map<string, SortType>): void;
|
|
72
69
|
incrementHour(value: any): any;
|
|
@@ -33,6 +33,7 @@ export declare class AnnaColumnCheckboxFilterComponent {
|
|
|
33
33
|
start: number;
|
|
34
34
|
end: number;
|
|
35
35
|
disableColumnClearAllBtn: boolean;
|
|
36
|
+
margin: number;
|
|
36
37
|
constructor(annaSortService: AnnaSortService, annaFilterService: AnnaFilterService);
|
|
37
38
|
ngOnInit(): void;
|
|
38
39
|
populateTooltipDataBasedOnSelectedRadio(activeTab: radioButtonModel): void;
|
|
@@ -42,6 +43,7 @@ export declare class AnnaColumnCheckboxFilterComponent {
|
|
|
42
43
|
unCheckAllCheckbox(): void;
|
|
43
44
|
selectAllCheckbox(): void;
|
|
44
45
|
searchForTheItem(str: string): void;
|
|
46
|
+
calculateHeightForFilterTooltip(): void;
|
|
45
47
|
boldString(str: string, find: string): string;
|
|
46
48
|
getIndicesOf(searchStr: string, str: string, caseSensitive: boolean): number[];
|
|
47
49
|
removeBoldElementFromString(originalString: string): string;
|
|
@@ -66,6 +66,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
66
66
|
gtSVGIconClicked: EventEmitter<any>;
|
|
67
67
|
gtTextActionClicked: EventEmitter<any>;
|
|
68
68
|
gtViewDetailClicked: EventEmitter<any>;
|
|
69
|
+
gtInnerHTMLClicked: EventEmitter<any>;
|
|
69
70
|
downloadSpotDetails: EventEmitter<any>;
|
|
70
71
|
clickableDataClicked: EventEmitter<any>;
|
|
71
72
|
totalRowIconClicked: EventEmitter<any>;
|
|
@@ -94,6 +95,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
94
95
|
disableCheckboxApply: boolean;
|
|
95
96
|
disableSliderApplyButton: boolean;
|
|
96
97
|
disableTimeApplyButton: boolean;
|
|
98
|
+
margin: number;
|
|
97
99
|
sliderMinValue: number;
|
|
98
100
|
sliderMaxValue: number;
|
|
99
101
|
options: Options;
|
|
@@ -259,11 +261,13 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
259
261
|
svgIconClicked(data: GtColumnIconEmittedData): void;
|
|
260
262
|
textActionClicked(rowData: any, id: any): void;
|
|
261
263
|
iconClickedOnStringIconActionType(rowData: any, id: any): void;
|
|
264
|
+
innerHTMLCellClicked(event: any, rowData: any): void;
|
|
262
265
|
viewDetailsClicked(rowData: any): void;
|
|
263
266
|
storeSortTypeInTempVariable(event: SortType): void;
|
|
264
267
|
unCheckAllCheckbox(): void;
|
|
265
268
|
selectAllCheckbox(): void;
|
|
266
269
|
searchForTheItem(str: string): void;
|
|
270
|
+
calculateHeightForFilterTooltip(): void;
|
|
267
271
|
boldString(str: string, find: string): string;
|
|
268
272
|
getIndicesOf(searchStr: string, str: string, caseSensitive: boolean): number[];
|
|
269
273
|
removeBoldElementFromString(originalString: string): string;
|
|
@@ -305,6 +309,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
305
309
|
iconClickedInTotalRow(colName: string): void;
|
|
306
310
|
editableInputValueChanged(value: any, row: any): void;
|
|
307
311
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
308
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": "showSkeletonLoading"; "tableHeaders": "tableHeaders"; "tableData": "tableData"; "clonedTableData": "clonedTableData"; "gtGeneralConfig": "gtGeneralConfig"; "totalRowInfo": "totalRowInfo"; "gtDimension": "gtDimension"; "tableClass": "tableClass"; "maximumRowsWhichCanBeRenderedWithoutScroll": "maximumRowsWhichCanBeRenderedWithoutScroll"; "limit": "limit"; "includeBorderInTableHeight": "includeBorderInTableHeight"; "downloadInProgress": "downloadInProgress"; "percentDone": "percentDone"; "starredInProgress": "starredInProgress"; "clickableRow": "clickableRow"; "setTableHeightWhenRowSizeIsFixed": "setTableHeightWhenRowSizeIsFixed"; "tableBorderBottomClassRequired": "tableBorderBottomClassRequired"; "hideSomeTds": "hideSomeTds"; "tdsHaveRowSpan": "tdsHaveRowSpan"; }, { "toggleCheckbox": "toggleCheckbox"; "toggleRowCheckbox": "toggleRowCheckbox"; "toggleHeaderCheckbox": "toggleHeaderCheckbox"; "undoIconClicked": "undoIconClicked"; "filterAppliedToTable": "filterAppliedToTable"; "sortingAppliedToTable": "sortingAppliedToTable"; "rowClicked": "rowClicked"; "radioButtonSelected": "radioButtonSelected"; "columnFilterOpened": "columnFilterOpened"; "columnFilterClosed": "columnFilterClosed"; "gtIconClicked": "gtIconClicked"; "gtSVGIconClicked": "gtSVGIconClicked"; "gtTextActionClicked": "gtTextActionClicked"; "gtViewDetailClicked": "gtViewDetailClicked"; "downloadSpotDetails": "downloadSpotDetails"; "clickableDataClicked": "clickableDataClicked"; "totalRowIconClicked": "totalRowIconClicked"; "notificationIconHover": "notificationIconHover"; "notificationIconHoverLeave": "notificationIconHoverLeave"; "editableInputEdited": "editableInputEdited"; }, never, never, false, never>;
|
|
312
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": "showSkeletonLoading"; "tableHeaders": "tableHeaders"; "tableData": "tableData"; "clonedTableData": "clonedTableData"; "gtGeneralConfig": "gtGeneralConfig"; "totalRowInfo": "totalRowInfo"; "gtDimension": "gtDimension"; "tableClass": "tableClass"; "maximumRowsWhichCanBeRenderedWithoutScroll": "maximumRowsWhichCanBeRenderedWithoutScroll"; "limit": "limit"; "includeBorderInTableHeight": "includeBorderInTableHeight"; "downloadInProgress": "downloadInProgress"; "percentDone": "percentDone"; "starredInProgress": "starredInProgress"; "clickableRow": "clickableRow"; "setTableHeightWhenRowSizeIsFixed": "setTableHeightWhenRowSizeIsFixed"; "tableBorderBottomClassRequired": "tableBorderBottomClassRequired"; "hideSomeTds": "hideSomeTds"; "tdsHaveRowSpan": "tdsHaveRowSpan"; }, { "toggleCheckbox": "toggleCheckbox"; "toggleRowCheckbox": "toggleRowCheckbox"; "toggleHeaderCheckbox": "toggleHeaderCheckbox"; "undoIconClicked": "undoIconClicked"; "filterAppliedToTable": "filterAppliedToTable"; "sortingAppliedToTable": "sortingAppliedToTable"; "rowClicked": "rowClicked"; "radioButtonSelected": "radioButtonSelected"; "columnFilterOpened": "columnFilterOpened"; "columnFilterClosed": "columnFilterClosed"; "gtIconClicked": "gtIconClicked"; "gtSVGIconClicked": "gtSVGIconClicked"; "gtTextActionClicked": "gtTextActionClicked"; "gtViewDetailClicked": "gtViewDetailClicked"; "gtInnerHTMLClicked": "gtInnerHTMLClicked"; "downloadSpotDetails": "downloadSpotDetails"; "clickableDataClicked": "clickableDataClicked"; "totalRowIconClicked": "totalRowIconClicked"; "notificationIconHover": "notificationIconHover"; "notificationIconHoverLeave": "notificationIconHoverLeave"; "editableInputEdited": "editableInputEdited"; }, never, never, false, never>;
|
|
309
313
|
}
|
|
310
314
|
export {};
|
package/package.json
CHANGED
|
@@ -436,6 +436,7 @@ section.min-maxContainer {
|
|
|
436
436
|
&:disabled {
|
|
437
437
|
opacity: 0.5;
|
|
438
438
|
color: $charcoal;
|
|
439
|
+
font-weight: normal;
|
|
439
440
|
}
|
|
440
441
|
&.align-center {
|
|
441
442
|
text-align: center;
|
|
@@ -464,6 +465,7 @@ section.min-maxContainer {
|
|
|
464
465
|
&:disabled {
|
|
465
466
|
opacity: 0.5;
|
|
466
467
|
color: $charcoal;
|
|
468
|
+
font-weight: normal;
|
|
467
469
|
}
|
|
468
470
|
&.align-center {
|
|
469
471
|
text-align: center;
|
|
@@ -689,3 +691,9 @@ input.error-border{
|
|
|
689
691
|
|
|
690
692
|
}
|
|
691
693
|
|
|
694
|
+
.no-data-case{
|
|
695
|
+
padding-left: 0.4375rem !important;
|
|
696
|
+
font-size: .875rem !important;
|
|
697
|
+
margin-top: 10px !important;
|
|
698
|
+
cursor: pointer;
|
|
699
|
+
}
|