@annalib/anna-core 35.1.0 → 35.2.0

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.
@@ -13,6 +13,7 @@ export declare class DigitOnlyDirective implements OnChanges {
13
13
  min: number;
14
14
  max: number;
15
15
  pattern?: string | RegExp;
16
+ decimalPlaces?: number;
16
17
  private regex;
17
18
  inputElement: HTMLInputElement;
18
19
  constructor(el: ElementRef);
@@ -30,5 +31,5 @@ export declare class DigitOnlyDirective implements OnChanges {
30
31
  private getSelection;
31
32
  private forecastValue;
32
33
  static ɵfac: i0.ɵɵFactoryDeclaration<DigitOnlyDirective, never>;
33
- static ɵdir: i0.ɵɵDirectiveDeclaration<DigitOnlyDirective, "[annaCoreDigitOnly]", never, { "decimal": { "alias": "decimal"; "required": false; }; "decimalSeparator": { "alias": "decimalSeparator"; "required": false; }; "allowNegatives": { "alias": "allowNegatives"; "required": false; }; "allowPaste": { "alias": "allowPaste"; "required": false; }; "negativeSign": { "alias": "negativeSign"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; }, {}, never, never, true, never>;
34
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DigitOnlyDirective, "[annaCoreDigitOnly]", never, { "decimal": { "alias": "decimal"; "required": false; }; "decimalSeparator": { "alias": "decimalSeparator"; "required": false; }; "allowNegatives": { "alias": "allowNegatives"; "required": false; }; "allowPaste": { "alias": "allowPaste"; "required": false; }; "negativeSign": { "alias": "negativeSign"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "decimalPlaces": { "alias": "decimalPlaces"; "required": false; }; }, {}, never, never, true, never>;
34
35
  }
@@ -10,13 +10,13 @@ export interface IGtTableHeader {
10
10
  dummyHeader?: boolean;
11
11
  columnNumber?: number;
12
12
  }
13
+ export type TDCellClass = "CENTRE";
13
14
  export interface IHeaderInfo {
14
15
  name: string;
15
16
  objectKey: string;
16
17
  actionKey?: string;
17
18
  tooltipKey?: string;
18
19
  isDisabledKey?: string;
19
- wrapHeaderText?: boolean;
20
20
  typeOfHeaderData: DATATYPE;
21
21
  typeOfBodyData: DATATYPE;
22
22
  filter?: FILTERTYPE;
@@ -26,6 +26,7 @@ export interface IHeaderInfo {
26
26
  showTooltipIcon: boolean;
27
27
  disableTooltipIcon?: boolean;
28
28
  tooltip?: ITooltip;
29
+ tdCellClass?: TDCellClass;
29
30
  joinedFilterSortObjectKeys?: string;
30
31
  showSplitedOptionsInFilter?: boolean[];
31
32
  splitDelimiter?: string[];
@@ -33,6 +34,7 @@ export interface IHeaderInfo {
33
34
  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" | "STRING_WITH_TOOLTIP_INNER_HTML" | "ICON_CELL_AND_STRING_WITH_ELLIPSIS_AND_READ_MORE_TOOLTIP" | "SINGLE_SELECT_DROPDOWN" | "DIGIT_ONLY_INPUT";
34
35
  type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
35
36
  export interface ISvgOrIconTypeInGTTable {
37
+ id?: string;
36
38
  showObjectKey: boolean;
37
39
  svgOrIconName?: string;
38
40
  svgOrIconTooltipMsg?: string;
@@ -176,8 +178,10 @@ export interface IActionItemTypeWithStringIconOrTextAction {
176
178
  tooltipPlacement?: string;
177
179
  enableTooltipForAdditionalText?: boolean;
178
180
  additionalTextAfterLink?: string;
181
+ showSimpleIcon?: boolean;
182
+ tooltipDataForSimpleIcon?: string;
179
183
  }
180
- export type IconToShow = "LIVE" | "PAY_FOR_PERFORMANCE_ACTIVE" | "PAY_FOR_PERFORMANCE" | "REJECTED" | "NOTIFY" | "AWAITING_APPROVAL" | "DELETED_ORDER" | "NEED_SELLER_CONFIRMATION" | "NEED_BUYER_CONFIRMATION" | "AUTOMATED" | "WARNING_ICON" | "INFORMATION_OUTLINE_ICON" | "ALERT_OCTAGON_ICON" | "CANCEL_ICON" | "ALPHA_B_CIRCLE" | "ALPHA_R_CIRCLE" | "ALPHA_E_CIRCLE" | "ALPHA_A_CIRCLE" | "MESSAGE" | "CALENDAR";
184
+ export type IconToShow = "LIVE" | "PAY_FOR_PERFORMANCE_ACTIVE" | "PAY_FOR_PERFORMANCE" | "REJECTED" | "NOTIFY" | "AWAITING_APPROVAL" | "DELETED_ORDER" | "NEED_SELLER_CONFIRMATION" | "NEED_BUYER_CONFIRMATION" | "AUTOMATED" | "WARNING_ICON" | "INFORMATION_OUTLINE_ICON" | "ALERT_OCTAGON_ICON" | "CANCEL_ICON" | "ALPHA_B_CIRCLE" | "ALPHA_R_CIRCLE" | "ALPHA_E_CIRCLE" | "ALPHA_A_CIRCLE" | "MESSAGE" | "CALENDAR" | "EMAIL_ICON";
181
185
  export declare class TableClassNameConstant {
182
186
  static readonly defaultClass = "table-body-row ";
183
187
  static readonly selectedRow = "selected-row ";
@@ -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": "35.1.0",
3
+ "version": "35.2.0",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "^19.0.0",
6
6
  "@angular/common": "^19.2.10",
@@ -403,6 +403,9 @@
403
403
  @mixin no-data-table($table-container-height, $box-shadow-map, $row-height-map: ()) {
404
404
  .table-container.no-data-table > div {
405
405
  height: $table-container-height !important;
406
+ tr td {
407
+ filter: none !important;
408
+ }
406
409
  }
407
410
 
408
411
  $box-shadow-start-index: map.get($box-shadow-map, "box-shadow-start-index");