@annalib/anna-core 34.0.10 → 34.0.12
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/fesm2022/annalib-anna-core.mjs +60 -24
- package/fesm2022/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +2 -2
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +3 -0
- package/package.json +1 -1
- package/src/lib/anna-common-scss/_mat-button-toggle.scss +57 -57
|
@@ -16,14 +16,14 @@ export declare class AnnaDateTimeFormatService {
|
|
|
16
16
|
addZero(time: any): any;
|
|
17
17
|
sortByTimeAscending(a: any, b: any): number;
|
|
18
18
|
sortByTimeDescending(a: any, b: any): number;
|
|
19
|
-
compareTime(a: dayjs.Dayjs, b: dayjs.Dayjs, unit: UnitType, isAsc: boolean): 1 |
|
|
19
|
+
compareTime(a: dayjs.Dayjs, b: dayjs.Dayjs, unit: UnitType, isAsc: boolean): 1 | 0 | -1;
|
|
20
20
|
convertNgbDateToMoment(ngbDate: NgbDate | NgbDateType): string;
|
|
21
21
|
compareDate(a: string, b: string, isAsc: boolean): number;
|
|
22
22
|
static formatTwentyFourHourTimeToHHMMAFormat(value: any, date?: string): string;
|
|
23
23
|
static formatTwelveHourTimeToHHMMAFormat(timeValue: any, date?: string): string;
|
|
24
24
|
formatDateAndHHMMATimeToStandardFormat(dateAndTime: any): string;
|
|
25
25
|
compare(a: number | string, b: number | string, isAsc: boolean): number;
|
|
26
|
-
sortDataByBroadcastTimeAsc(firstParamTime: string, secondParamTime: string, broadcastTime: string): 1 |
|
|
26
|
+
sortDataByBroadcastTimeAsc(firstParamTime: string, secondParamTime: string, broadcastTime: string): 1 | 0 | -1;
|
|
27
27
|
convertNgbDateToMomentInSpecificFormat(ngbDate: NgbDateType, format: string): string;
|
|
28
28
|
getBroadcastWeek(startDate: any, format?: string): {
|
|
29
29
|
start: dayjs.Dayjs;
|
|
@@ -152,6 +152,8 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
152
152
|
noOfRowsToCheck: number;
|
|
153
153
|
toolTipInnerHtmlData: string;
|
|
154
154
|
innerHtmlTooltip: any;
|
|
155
|
+
bufferSizeInPxAfterWhichWillAppendNewRows: number;
|
|
156
|
+
numberOfRowsToAppend: number;
|
|
155
157
|
constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService);
|
|
156
158
|
ngAfterViewChecked(): void;
|
|
157
159
|
ngOnInit(): void;
|
|
@@ -214,6 +216,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
214
216
|
showEntireStatusNote(): void;
|
|
215
217
|
closeStatusNoteTooltip(): void;
|
|
216
218
|
onInputChange(rowData: any, value: Event): void;
|
|
219
|
+
toPascalCaseWithExceptions(input: string): string;
|
|
217
220
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
218
221
|
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": { "alias": "showSkeletonLoading"; "required": false; }; "tableHeaders": { "alias": "tableHeaders"; "required": true; }; "tableData": { "alias": "tableData"; "required": true; }; "clonedTableData": { "alias": "clonedTableData"; "required": true; }; "gtGeneralConfig": { "alias": "gtGeneralConfig"; "required": true; }; "totalRowInfo": { "alias": "totalRowInfo"; "required": false; }; "gtDimension": { "alias": "gtDimension"; "required": true; }; "extraHeaderRowForAdjustingColumnWidths": { "alias": "extraHeaderRowForAdjustingColumnWidths"; "required": false; }; "tableClass": { "alias": "tableClass"; "required": false; }; "maximumRowsWhichCanBeRenderedWithoutScroll": { "alias": "maximumRowsWhichCanBeRenderedWithoutScroll"; "required": false; }; "fixNumberOfRowsForPopup": { "alias": "fixNumberOfRowsForPopup"; "required": false; }; "includeBorderInTableHeight": { "alias": "includeBorderInTableHeight"; "required": false; }; "downloadInProgress": { "alias": "downloadInProgress"; "required": false; }; "percentDone": { "alias": "percentDone"; "required": false; }; "starredInProgress": { "alias": "starredInProgress"; "required": false; }; "clickableRow": { "alias": "clickableRow"; "required": false; }; "setTableHeightWhenRowSizeIsFixed": { "alias": "setTableHeightWhenRowSizeIsFixed"; "required": false; }; "tableBorderBottomClassRequired": { "alias": "tableBorderBottomClassRequired"; "required": false; }; "hideSomeTds": { "alias": "hideSomeTds"; "required": false; }; "tdsHaveRowSpan": { "alias": "tdsHaveRowSpan"; "required": false; }; "multipleTablesPresent": { "alias": "multipleTablesPresent"; "required": false; }; "showOrHideToggleForTotalRow": { "alias": "showOrHideToggleForTotalRow"; "required": false; }; }, { "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"; "radioButtonMessageIconClicked": "radioButtonMessageIconClicked"; "statusNotePopupOpened": "statusNotePopupOpened"; "digitOnlyInputChanged": "digitOnlyInputChanged"; "singleSelectDropdownValueEmit": "singleSelectDropdownValueEmit"; }, never, never, true, never>;
|
|
219
222
|
}
|
package/package.json
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
|
|
1
|
+
@use "colors" as *;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
:root {
|
|
4
|
+
--mat-standard-button-toggle-selected-state-text-color: white;
|
|
5
|
+
--mat-standard-button-toggle-selected-state-background-color: var(--primary-blue-color);
|
|
6
|
+
}
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
:host ::ng-deep.mat-mdc-button > .mat-icon {
|
|
9
|
+
font-size: 24px !important;
|
|
10
|
+
height: 24px !important;
|
|
11
|
+
width: 24px !important;
|
|
12
|
+
}
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
:host ::ng-deep .mat-button-toggle-appearance-standard .mat-button-toggle-label-content {
|
|
15
|
+
line-height: 23px;
|
|
16
|
+
width: 42px;
|
|
17
|
+
padding: 0 10px;
|
|
18
|
+
height: 22px;
|
|
19
|
+
}
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
:host ::ng-deep .mat-button-toggle-appearance-standard.mat-button-toggle-checked {
|
|
22
|
+
background-color: $primary-color;
|
|
23
|
+
color: white !important;
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
25
|
+
.mat-pseudo-checkbox {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
.mat-button-toggle-checkbox-wrapper {
|
|
29
|
+
width: 0;
|
|
30
|
+
}
|
|
31
|
+
.mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper) {
|
|
32
|
+
padding-left: 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
36
|
+
:host ::ng-deep .mat-button-toggle-group-appearance-standard {
|
|
37
|
+
border-radius: 2px;
|
|
38
|
+
border: none !important;
|
|
39
|
+
& .mat-button-toggle-appearance-standard + .mat-button-toggle-appearance-standard {
|
|
40
|
+
border-left: none !important;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
::ng-deep .mat-button-toggle-disabled.mat-button-toggle-checked {
|
|
45
|
+
background: rgba($color: #bdbdbd, $alpha: 1) !important;
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
button {
|
|
48
|
+
color: #fff;
|
|
49
|
+
opacity: 1;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
53
|
+
::ng-deep .mat-button-toggle-appearance-standard {
|
|
54
|
+
opacity: 1;
|
|
55
|
+
border: solid 1px #b3b3b3;
|
|
56
|
+
button {
|
|
57
|
+
opacity: 1;
|
|
58
|
+
border: 1px solid #bdbdbd;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
::ng-deep .mat-button-toggle-appearance-standard.mat-button-toggle-checked {
|
|
63
|
+
opacity: 1;
|
|
64
|
+
}
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
:host ::ng-deep mat-button-toggle-group mat-button-toggle:not(.mat-button-toggle-disabled) button {
|
|
67
|
+
border: none !important;
|
|
68
|
+
}
|