@annalib/anna-core 12.6.0 → 12.7.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.
Files changed (27) hide show
  1. package/esm2020/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +3 -3
  2. package/esm2020/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +3 -5
  3. package/esm2020/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +1 -1
  4. package/esm2020/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +4 -4
  5. package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +1 -58
  6. package/esm2020/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +1 -13
  7. package/esm2020/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +1 -7
  8. package/esm2020/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +1 -1
  9. package/esm2020/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +1 -1
  10. package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +3 -3
  11. package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +25 -17
  12. package/fesm2015/annalib-anna-core.mjs +35 -104
  13. package/fesm2015/annalib-anna-core.mjs.map +1 -1
  14. package/fesm2020/annalib-anna-core.mjs +35 -104
  15. package/fesm2020/annalib-anna-core.mjs.map +1 -1
  16. package/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.d.ts +1 -2
  17. package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +0 -5
  18. package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +2 -2
  19. package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +0 -4
  20. package/lib/anna-core-shared-lib/services/anna-number-format.service.d.ts +0 -1
  21. package/lib/anna-core-shared-lib/services/anna-persisting-filter.service.d.ts +0 -1
  22. package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +1 -5
  23. package/package.json +1 -1
  24. package/src/lib/anna-common-scss/_generic-modal.scss +59 -0
  25. package/src/lib/anna-common-scss/_generic-table-common.scss +0 -1
  26. package/src/lib/anna-common-scss/_sort.scss +1 -1
  27. package/src/lib/anna-common-scss/_mat-menu.scss +0 -17
@@ -1,12 +1,11 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class AnnaPayForPerformanceIconTemplateComponent implements OnInit {
4
- isTitle: boolean;
5
4
  color: string;
6
5
  width: string;
7
6
  height: string;
8
7
  constructor();
9
8
  ngOnInit(): void;
10
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaPayForPerformanceIconTemplateComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<AnnaPayForPerformanceIconTemplateComponent, "anna-pay-for-performance-icon-template", never, { "isTitle": "isTitle"; "color": "color"; "width": "width"; "height": "height"; }, {}, never, never, false, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<AnnaPayForPerformanceIconTemplateComponent, "anna-pay-for-performance-icon-template", never, { "color": "color"; "width": "width"; "height": "height"; }, {}, never, never, false, never>;
12
11
  }
@@ -32,11 +32,6 @@ export interface ITotalRowInfo {
32
32
  tooltipMessage?: string;
33
33
  isActionColumn?: boolean;
34
34
  actionData?: ClickableItem[];
35
- isIconColumn?: boolean;
36
- iconData?: {
37
- class: string;
38
- disabled?: boolean;
39
- };
40
35
  }
41
36
  export interface IGtHeaderConfig {
42
37
  iconColumn: boolean;
@@ -9,9 +9,9 @@ export declare class AnnaDateTimeFormatService {
9
9
  constructor();
10
10
  convertToNgbDateStandardFormat(date: any): NgbDateType | NgbDate;
11
11
  convertToNgbDate(date: any, parseFormat: any): NgbDateType | NgbDate;
12
- static formatToTwelveHrs(time: any, callRemoveZero: boolean): any;
12
+ formatToTwelveHrs(time: any, callRemoveZero: boolean): any;
13
13
  convertTotwentyFourHrsFormat(time: any, callAddZero: any): any;
14
- static removeZero(time: any): any;
14
+ removeZero(time: any): any;
15
15
  addZero(time: any): any;
16
16
  sortByTimeAscending(a: any, b: any): number;
17
17
  sortByTimeDescending(a: any, b: any): number;
@@ -69,10 +69,6 @@ export declare class AnnaFilterService {
69
69
  }, key: string): boolean;
70
70
  updateStateOfTheCurrentFilterTab(sortMap: Map<string, SortType>): void;
71
71
  updateStateOfAllTheKeys(sortMap: Map<string, SortType>): void;
72
- incrementHour(value: any): any;
73
- decrementHour(value: any): any;
74
- incrementMinute(value: any): any;
75
- decrementMinute(value: any): any;
76
72
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaFilterService, never>;
77
73
  static ɵprov: i0.ɵɵInjectableDeclaration<AnnaFilterService>;
78
74
  }
@@ -1,7 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class AnnaNumberFormatService {
3
3
  static GetRoundedValueWithUnits(inputValue: number, digitsToRoundDecimalPoint?: number): string;
4
- static GetRoundedImpressionsWithUnits(inputValue: number, digitsToRoundDecimalPoint?: number): string;
5
4
  static GetValueInUnits(inputValue: number): (string | number)[];
6
5
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNumberFormatService, never>;
7
6
  static ɵprov: i0.ɵɵInjectableDeclaration<AnnaNumberFormatService>;
@@ -3,7 +3,6 @@ export declare class AnnaPersistingFilterService {
3
3
  constructor();
4
4
  storeKeyValueInLocalStorage(val: any, isFilterKey?: boolean): string;
5
5
  getActualQueryParams(key: string): string;
6
- convertObjToQueryString(paramsObject: any): string;
7
6
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaPersistingFilterService, never>;
8
7
  static ɵprov: i0.ɵɵInjectableDeclaration<AnnaPersistingFilterService>;
9
8
  }
@@ -50,8 +50,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
50
50
  clickableRow: boolean;
51
51
  setTableHeightWhenRowSizeIsFixed: boolean;
52
52
  tableBorderBottomClassRequired: boolean;
53
- hideSomeTds: boolean;
54
- tdsHaveRowSpan: boolean;
55
53
  toggleCheckbox: EventEmitter<any>;
56
54
  toggleRowCheckbox: EventEmitter<any>;
57
55
  toggleHeaderCheckbox: EventEmitter<any>;
@@ -68,7 +66,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
68
66
  gtViewDetailClicked: EventEmitter<any>;
69
67
  downloadSpotDetails: EventEmitter<any>;
70
68
  clickableDataClicked: EventEmitter<any>;
71
- totalRowIconClicked: EventEmitter<any>;
72
69
  notificationIconHover: EventEmitter<any>;
73
70
  notificationIconHoverLeave: EventEmitter<any>;
74
71
  numberOfSkeletonRows: number[][];
@@ -301,8 +298,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
301
298
  mouseEnterOnTextActionType(rowData: any, tooltipKey: string): void;
302
299
  onClickableDataClicked(Rowdata: any, id: number): void;
303
300
  removeTooltipOnScroll(): void;
304
- iconClickedInTotalRow(colName: string): void;
305
301
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
306
- static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": "showSkeletonLoading"; "tableHeaders": "tableHeaders"; "tableData": "tableData"; "clonedTableData": "clonedTableData"; "gtGeneralConfig": "gtGeneralConfig"; "totalRowInfo": "totalRowInfo"; "gtDimension": "gtDimension"; "tableClass": "tableClass"; "maximumRowsWhichCanBeRenderedWithoutScroll": "maximumRowsWhichCanBeRenderedWithoutScroll"; "limit": "limit"; "includeBorderInTableHeight": "includeBorderInTableHeight"; "downloadInProgress": "downloadInProgress"; "percentDone": "percentDone"; "starredInProgress": "starredInProgress"; "clickableRow": "clickableRow"; "setTableHeightWhenRowSizeIsFixed": "setTableHeightWhenRowSizeIsFixed"; "tableBorderBottomClassRequired": "tableBorderBottomClassRequired"; "hideSomeTds": "hideSomeTds"; "tdsHaveRowSpan": "tdsHaveRowSpan"; }, { "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"; "downloadSpotDetails": "downloadSpotDetails"; "clickableDataClicked": "clickableDataClicked"; "totalRowIconClicked": "totalRowIconClicked"; "notificationIconHover": "notificationIconHover"; "notificationIconHoverLeave": "notificationIconHoverLeave"; }, never, never, false, never>;
302
+ static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": "showSkeletonLoading"; "tableHeaders": "tableHeaders"; "tableData": "tableData"; "clonedTableData": "clonedTableData"; "gtGeneralConfig": "gtGeneralConfig"; "totalRowInfo": "totalRowInfo"; "gtDimension": "gtDimension"; "tableClass": "tableClass"; "maximumRowsWhichCanBeRenderedWithoutScroll": "maximumRowsWhichCanBeRenderedWithoutScroll"; "limit": "limit"; "includeBorderInTableHeight": "includeBorderInTableHeight"; "downloadInProgress": "downloadInProgress"; "percentDone": "percentDone"; "starredInProgress": "starredInProgress"; "clickableRow": "clickableRow"; "setTableHeightWhenRowSizeIsFixed": "setTableHeightWhenRowSizeIsFixed"; "tableBorderBottomClassRequired": "tableBorderBottomClassRequired"; }, { "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"; "downloadSpotDetails": "downloadSpotDetails"; "clickableDataClicked": "clickableDataClicked"; "notificationIconHover": "notificationIconHover"; "notificationIconHoverLeave": "notificationIconHoverLeave"; }, never, never, false, never>;
307
303
  }
308
304
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "12.6.0",
3
+ "version": "12.7.0",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "^2.0.4",
6
6
  "@angular/common": "^15.2.9",
@@ -0,0 +1,59 @@
1
+ @mixin generic-modal-for-user-popup {
2
+ .float-end {
3
+ margin-left: auto;
4
+ }
5
+
6
+ .close {
7
+ margin-left: auto;
8
+ }
9
+ .modal-dialog {
10
+ top: 100px !important;
11
+ }
12
+ .modal-content {
13
+ min-width: 26.625rem;
14
+ width: 26.625rem;
15
+ max-width: 26.625rem;
16
+ }
17
+
18
+ .modal-header {
19
+ background-image: url('../../../assets/images/bg-heads.png');
20
+ color: var(--body-color);
21
+ padding: 0.5rem 0.5rem 0.25rem 1rem;
22
+ border-bottom: none !important;
23
+
24
+ h3 {
25
+ margin-top: auto;
26
+ margin-bottom: 0;
27
+ @include fonts(Roboto, 1.125rem, normal, normal, normal, normal, normal);
28
+ }
29
+ }
30
+
31
+ .modal-body {
32
+ padding: 1.5rem;
33
+ font-size: 12px;
34
+ }
35
+
36
+ .buttons {
37
+ display: flex;
38
+ padding-inline: 0;
39
+ justify-content: space-between;
40
+ }
41
+
42
+ .primary-button {
43
+ @include modal-button(var(--primary-blue-color), var(--body-color), none);
44
+ }
45
+
46
+ .secondary-button {
47
+ @include modal-button(var(--secondary-btn-bg-color), var(--primary-blue-color), 1px solid rgba(38,139,255,.12));
48
+ }
49
+
50
+ button:focus {
51
+ outline: none;
52
+ }
53
+
54
+ button:disabled {
55
+ background-color: var(--disabled-button-color);
56
+ color: var(--primary-text-color-dark);
57
+ opacity: 0.5;
58
+ }
59
+ }
@@ -36,7 +36,6 @@
36
36
  display: block;
37
37
  text-align: right;
38
38
  margin-left: auto;
39
- width: fit-content;
40
39
  background-color: transparent;
41
40
  text-decoration: underline;
42
41
  color: #268bff;
@@ -1,6 +1,6 @@
1
1
  @import "./fonts", "./colors";
2
2
 
3
- .sort-btn {
3
+ .sort-btn{
4
4
  background: white;
5
5
  border: none;
6
6
  border-right: 1px solid #1b88ff;
@@ -1,17 +0,0 @@
1
- @mixin mat-menu-styling() {
2
- &.mat-elevation-z8 {
3
- box-shadow: var(--dropdown-box-shadow);
4
- }
5
-
6
- button.mat-mdc-menu-item:hover {
7
- background-color: var(--dropdown-hover-color);
8
- }
9
-
10
- & .mat-mdc-menu-content.mdc-list {
11
- background-color: var(--body-color);
12
- }
13
-
14
- & .mat-mdc-menu-content {
15
- padding: 0;
16
- }
17
- }