@annalib/anna-core 24.0.62 → 24.0.63

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.
@@ -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' | "STRING_ELLIPSIS_WITH_TABLE_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 {};
@@ -1,12 +1,16 @@
1
- import { AfterViewChecked, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges, TemplateRef } from "@angular/core";
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 { EllipsisWithTableTooltip, IGtGeneralConfig, IGtTableHeader, IHeaderInfo, ITotalRowInfo } from "../../../anna-core-shared-lib/models/anna-non-editable-gt-models";
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: any;
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "24.0.62",
3
+ "version": "24.0.63",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "^16.0.1",
6
6
  "@angular/common": "^16.2.12",
@@ -53,13 +53,13 @@
53
53
  box-shadow: none !important;
54
54
  cursor: default;
55
55
  .upper-label {
56
- @include fonts(Roboto, 0.6875rem, normal, 500, normal, normal, 0.3px);
56
+ @include fonts(Roboto, 0.625rem, normal, 700, normal, normal, 0.3px);
57
57
  color: $charcoal;
58
58
  margin-bottom: 0;
59
59
  }
60
60
 
61
61
  .lower-label {
62
- @include fonts(Roboto, 0.6875rem, normal, 500, normal, normal, 0.3px);
62
+ @include fonts(Roboto, 0.625rem, normal, 700, normal, normal, 0.3px);
63
63
  color: $darkGray;
64
64
  margin-bottom: 0;
65
65
  }
@@ -171,12 +171,12 @@
171
171
  top: $sticky-top !important;
172
172
 
173
173
  .upper-label {
174
- @include fonts(Roboto, 0.75rem, normal, 900, normal, normal, 0.3px);
174
+ @include fonts(Roboto, 11px, normal, 700, normal, normal, 0.3px);
175
175
  color: $charcoal;
176
176
  }
177
177
 
178
178
  .lower-label {
179
- @include fonts(Roboto, 0.75rem, normal, 900, normal, normal, 0.3px);
179
+ @include fonts(Roboto, 11px, normal, 400, normal, normal, 0.3px);
180
180
  color: $darkGray;
181
181
  }
182
182
 
@@ -261,13 +261,13 @@
261
261
  div:nth-child(1) {
262
262
  color: #000;
263
263
  @include ellipsify();
264
- @include fonts(Roboto, 0.75rem, normal, normal, normal, normal, 0px);
264
+ @include fonts(Roboto, 0.6875rem, normal, normal, normal, normal, 0px);
265
265
  }
266
266
 
267
267
  div:nth-child(2) {
268
268
  color: #a7a7a7;
269
269
  @include ellipsify();
270
- @include fonts(Roboto, 0.75rem, normal, 500, normal, normal, 0.3px);
270
+ @include fonts(Roboto, 0.6875rem, normal, 400, normal, normal, 0.3px);
271
271
  }
272
272
  }
273
273