@annalib/anna-core 24.0.71 → 24.0.72
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/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +1 -11
- package/esm2022/lib/anna-core-shared-lib/services/anna-filter.service.mjs +2 -3
- package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +7 -37
- package/fesm2022/annalib-anna-core.mjs +7 -48
- package/fesm2022/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +1 -15
- package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +2 -2
- package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +0 -1
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +7 -19
- package/package.json +1 -1
- package/src/lib/anna-common-scss/_application-spacing.scss +8 -7
|
@@ -21,7 +21,7 @@ export interface IHeaderInfo {
|
|
|
21
21
|
tooltip?: ITooltip;
|
|
22
22
|
joinedFilterSortObjectKeys?: string;
|
|
23
23
|
}
|
|
24
|
-
type DATATYPE = "CHECKBOX" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS" | "CLICKABLE_DATA" | "STRING__TEXT_ACTION" | "STRING__ICON_ACTION" | "STRING___ICON_OR_TEXT_ACTION" | "HTML" | "HTML_STRING" | "ICON_CELL" | "STRING_OR_INPUT" | "SINGLE_RADIO" | "STRING_WITH_TOOLTIP" | 'STRING_WITH_ELLIPSIS_AND_READ_MORE_TOOLTIP'
|
|
24
|
+
type DATATYPE = "CHECKBOX" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS" | "CLICKABLE_DATA" | "STRING__TEXT_ACTION" | "STRING__ICON_ACTION" | "STRING___ICON_OR_TEXT_ACTION" | "HTML" | "HTML_STRING" | "ICON_CELL" | "STRING_OR_INPUT" | "SINGLE_RADIO" | "STRING_WITH_TOOLTIP" | 'STRING_WITH_ELLIPSIS_AND_READ_MORE_TOOLTIP';
|
|
25
25
|
type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
|
|
26
26
|
export interface ITotalRowInfo {
|
|
27
27
|
colspan: number;
|
|
@@ -126,18 +126,4 @@ export interface IActionItemTypeWithStringIconOrTextAction {
|
|
|
126
126
|
enableTooltipForAdditionalText?: boolean;
|
|
127
127
|
}
|
|
128
128
|
export type IconToShow = "LIVE" | "PAY_FOR_PERFORMANCE_ACTIVE" | "PAY_FOR_PERFORMANCE" | "REJECTED" | "NOTIFY" | "AWAITING_APPROVAL" | "DELETED_ORDER" | "NEED_SELLER_CONFIRMATION" | "NEED_BUYER_CONFIRMATION";
|
|
129
|
-
export declare class EllipsisWithTableTooltip {
|
|
130
|
-
tooltipHeader: string;
|
|
131
|
-
tableHeaders: HeaderWithObjectKey[];
|
|
132
|
-
tableData: any[];
|
|
133
|
-
cellValue: string;
|
|
134
|
-
tooltipHoverText: string;
|
|
135
|
-
showTooltip: boolean;
|
|
136
|
-
constructor(heading: string, tableHeaders: HeaderWithObjectKey[], tableData: any[], cellValue: string, tooltipText: string, showTooltip: boolean);
|
|
137
|
-
}
|
|
138
|
-
export interface HeaderWithObjectKey {
|
|
139
|
-
headerName: string;
|
|
140
|
-
objectKey: string;
|
|
141
|
-
width: string;
|
|
142
|
-
}
|
|
143
129
|
export {};
|
|
@@ -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):
|
|
19
|
+
compareTime(a: dayjs.Dayjs, b: dayjs.Dayjs, unit: UnitType, isAsc: boolean): 0 | 1 | -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):
|
|
26
|
+
sortDataByBroadcastTimeAsc(firstParamTime: string, secondParamTime: string, broadcastTime: string): 0 | 1 | -1;
|
|
27
27
|
convertNgbDateToMomentInSpecificFormat(ngbDate: NgbDateType, format: string): string;
|
|
28
28
|
getBroadcastWeek(startDate: any, format?: string): {
|
|
29
29
|
start: dayjs.Dayjs;
|
|
@@ -35,7 +35,6 @@ export declare class AnnaFilterService {
|
|
|
35
35
|
static bufferSize: number;
|
|
36
36
|
isFilterSortActive: any;
|
|
37
37
|
resetFilterSortActiveStatus: boolean;
|
|
38
|
-
nullToBeFormatedIntoString: string;
|
|
39
38
|
constructor(dateTimeFormatService: AnnaDateTimeFormatService, annaSortService: AnnaSortService);
|
|
40
39
|
returnMaxAndMinValue(data: any[], key: string, isMin: boolean): any;
|
|
41
40
|
returnMinAndMaxDate(data: any[], key: string): dayjs.Dayjs[];
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges } from "@angular/core";
|
|
2
2
|
import { BehaviorSubject } from "rxjs";
|
|
3
3
|
import { GtColumnIconEmittedData, RatingSellerGroupHierarchy } from "../../../anna-core-shared-lib/models/anna-generic-data-type.model";
|
|
4
4
|
import { IWeekCalendar } from "../../../anna-core-shared-lib/models/anna-global-dropdown-config.model";
|
|
5
|
-
import {
|
|
5
|
+
import { IGtGeneralConfig, IGtTableHeader, IHeaderInfo, ITotalRowInfo } from "../../../anna-core-shared-lib/models/anna-non-editable-gt-models";
|
|
6
6
|
import { AnnaDateTimeFormatService } from "../../../anna-core-shared-lib/services/anna-date-time-format.service";
|
|
7
7
|
import { AnnaFilterService } from "../../../anna-core-shared-lib/services/anna-filter.service";
|
|
8
8
|
import { AnnaSortService } from "../../../anna-core-shared-lib/services/anna-sort.service";
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
|
+
interface KeyValueTooltipType {
|
|
11
|
+
key: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}
|
|
10
14
|
interface TableTooltipType {
|
|
11
15
|
tooltipTableHeader: string[];
|
|
12
16
|
tooltipTableBody: string[][];
|
|
@@ -93,13 +97,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
93
97
|
};
|
|
94
98
|
sellerGroupHierarchy: RatingSellerGroupHierarchy[];
|
|
95
99
|
showFilterTooltipTabs: boolean;
|
|
96
|
-
ellispsisWithTableTooltip: {
|
|
97
|
-
open: () => void;
|
|
98
|
-
close: () => void;
|
|
99
|
-
};
|
|
100
|
-
ellipsisWithTooltipHeading: string;
|
|
101
|
-
ellipsisWithTooltipTableHeaders: any[];
|
|
102
|
-
ellipsisWithTooltipTableData: any[];
|
|
103
100
|
isScrolledLeft: boolean;
|
|
104
101
|
rowBorderWidth: number;
|
|
105
102
|
sameTooltipClicked: boolean;
|
|
@@ -117,17 +114,10 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
117
114
|
heightOfCheckboxTooltipFilter: number;
|
|
118
115
|
isNoDataToDisplaySubject$: BehaviorSubject<boolean>;
|
|
119
116
|
selectedStarredOrderId: string;
|
|
120
|
-
textActionTooltip:
|
|
117
|
+
textActionTooltip: KeyValueTooltipType[];
|
|
121
118
|
tooltipContainingTable: TableTooltipType;
|
|
122
119
|
tableBottomBorderClass: string;
|
|
123
120
|
showCheckboxesForTimeFilter: boolean;
|
|
124
|
-
stringWithTooltipTemplate: TemplateRef<any>;
|
|
125
|
-
textActionTooltipTemplateRef: TemplateRef<any>;
|
|
126
|
-
programChangeTooltipTemplateRef: TemplateRef<any>;
|
|
127
|
-
stringWithTooltipNgbTooltipRef: {
|
|
128
|
-
open: () => void;
|
|
129
|
-
close: () => void;
|
|
130
|
-
};
|
|
131
121
|
statusNoteTooltip: any;
|
|
132
122
|
statusNoteForTooltip: string;
|
|
133
123
|
statusNoteForPopup: string;
|
|
@@ -174,7 +164,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
174
164
|
spotDetailsDownloadClicked(parentChildOrTotalRow: "DATAROW" | "TOTALROW", rowdata?: any): void;
|
|
175
165
|
tableContainerScrolled(event: any): void;
|
|
176
166
|
mouseEnterOnStringTextActionType(rowData: any, tooltipKey: string): void;
|
|
177
|
-
mouseEnterOnStringWithTooltipTextActionType(rowData: any, tooltipKey: string, tooltip: any): void;
|
|
178
167
|
mouseEnterOnStringTextActionTypeContainingTable(rowData: any, tooltipKey: string): void;
|
|
179
168
|
mouseLeaveTextActionType(rowData: any): void;
|
|
180
169
|
mouseEnterOnTextActionType(rowData: any, tooltipKey: string): void;
|
|
@@ -187,7 +176,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
187
176
|
setScrollToInitialPosition(): void;
|
|
188
177
|
filterApplied(tableData: any[]): void;
|
|
189
178
|
sortingApplied(tableData: any[]): void;
|
|
190
|
-
bindTheValueToTableTooltip(obj: EllipsisWithTableTooltip, tooltip: any): void;
|
|
191
179
|
bindTheValueToStatusNote(note: string, tooltip: any): void;
|
|
192
180
|
showEntireStatusNote(): void;
|
|
193
181
|
closeStatusNoteTooltip(): void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
//GLOBAL LAYOUT VARIABLE
|
|
2
|
-
$app-screen-max-width: 1920px;
|
|
3
|
-
$app-left-space: 40px;
|
|
4
|
-
$app-right-space: 40px;
|
|
5
|
-
$sidebar-minimized-width: 64px;
|
|
6
|
-
$navbar-height: 50px;
|
|
7
|
-
$app-max-width: calc($app-screen-max-width - $app-left-space);
|
|
1
|
+
//GLOBAL LAYOUT VARIABLE
|
|
2
|
+
$app-screen-max-width: 1920px;
|
|
3
|
+
$app-left-space: 40px;
|
|
4
|
+
$app-right-space: 40px;
|
|
5
|
+
$sidebar-minimized-width: 64px;
|
|
6
|
+
$navbar-height: 50px;
|
|
7
|
+
// $app-max-width: calc($app-screen-max-width - $app-left-space);
|
|
8
|
+
$app-max-width: 1855px;
|