@annalib/anna-core 24.2.1 → 24.2.2

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.
@@ -23,6 +23,22 @@ export interface IHeaderInfo {
23
23
  }
24
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";
25
25
  type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
26
+ export interface ISvgOrIconTypeInGTTable {
27
+ showObjectKey: boolean;
28
+ svgOrIconName?: string;
29
+ }
30
+ export declare class SvgOrIconTypeInGTTable {
31
+ showObjectKey: boolean;
32
+ svgOrIconName?: string;
33
+ constructor(data: {
34
+ showObjectKey: boolean;
35
+ svgOrIconName: string;
36
+ });
37
+ }
38
+ export declare enum SvgOrIconNames {
39
+ PAY_FOR_PERFORMANCE_ACTIVE = "PAY_FOR_PERFORMANCE_ACTIVE",
40
+ AUTOMATION_ACTIVATED = "AUTOMATION_ACTIVATED"
41
+ }
26
42
  export interface ITotalRowInfo {
27
43
  colspan: number;
28
44
  data: string;
@@ -125,5 +141,5 @@ export interface IActionItemTypeWithStringIconOrTextAction {
125
141
  tooltipPlacement?: string;
126
142
  enableTooltipForAdditionalText?: boolean;
127
143
  }
128
- export type IconToShow = "LIVE" | "PAY_FOR_PERFORMANCE_ACTIVE" | "PAY_FOR_PERFORMANCE" | "REJECTED" | "NOTIFY" | "AWAITING_APPROVAL" | "DELETED_ORDER" | "NEED_SELLER_CONFIRMATION" | "NEED_BUYER_CONFIRMATION";
144
+ export type IconToShow = "LIVE" | "PAY_FOR_PERFORMANCE_ACTIVE" | "PAY_FOR_PERFORMANCE" | "REJECTED" | "NOTIFY" | "AWAITING_APPROVAL" | "DELETED_ORDER" | "NEED_SELLER_CONFIRMATION" | "NEED_BUYER_CONFIRMATION" | "AUTOMATION_ACTIVATED";
129
145
  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): 1 | -1 | 0;
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): 1 | -1 | 0;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "24.2.1",
3
+ "version": "24.2.2",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "^16.0.1",
6
6
  "@angular/common": "^16.2.12",