@annalib/anna-core 15.0.21 → 15.0.24
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 +5 -1
- 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 +23 -13
- package/fesm2015/annalib-anna-core.mjs +52 -20
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +52 -20
- 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 +2 -0
- 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;
|
|
@@ -94,6 +94,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
94
94
|
disableCheckboxApply: boolean;
|
|
95
95
|
disableSliderApplyButton: boolean;
|
|
96
96
|
disableTimeApplyButton: boolean;
|
|
97
|
+
margin: number;
|
|
97
98
|
sliderMinValue: number;
|
|
98
99
|
sliderMaxValue: number;
|
|
99
100
|
options: Options;
|
|
@@ -264,6 +265,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
264
265
|
unCheckAllCheckbox(): void;
|
|
265
266
|
selectAllCheckbox(): void;
|
|
266
267
|
searchForTheItem(str: string): void;
|
|
268
|
+
calculateHeightForFilterTooltip(): void;
|
|
267
269
|
boldString(str: string, find: string): string;
|
|
268
270
|
getIndicesOf(searchStr: string, str: string, caseSensitive: boolean): number[];
|
|
269
271
|
removeBoldElementFromString(originalString: string): string;
|
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
|
+
}
|