@annalib/anna-core 12.3.7 → 12.4.1

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.
@@ -1,10 +1,9 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { GtColumnIconEmittedData } from '../../models/anna-generic-data-type.model';
3
- import { IconToShow } from '../../models/anna-non-editable-gt-models';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class AnnaIconColumnComponent implements OnInit {
6
5
  componentName: string;
7
- iconToShow: IconToShow;
6
+ objectKey: string;
8
7
  dataObject: any;
9
8
  PfpIconActiveColor: string;
10
9
  PfpIconDisableColor: string;
@@ -13,5 +12,5 @@ export declare class AnnaIconColumnComponent implements OnInit {
13
12
  ngOnInit(): void;
14
13
  svgIconClicked(rowData: any, key: string): void;
15
14
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaIconColumnComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<AnnaIconColumnComponent, "anna-core-anna-icon-column", never, { "componentName": "componentName"; "iconToShow": "iconToShow"; "dataObject": "dataObject"; }, { "onColumnIconClicked": "onColumnIconClicked"; }, never, never, false, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<AnnaIconColumnComponent, "anna-core-anna-icon-column", never, { "componentName": "componentName"; "objectKey": "objectKey"; "dataObject": "dataObject"; }, { "onColumnIconClicked": "onColumnIconClicked"; }, never, never, false, never>;
17
16
  }
@@ -108,5 +108,4 @@ export interface IActionItemTypeSTRING__ICON_OR_TEXT_ACTION {
108
108
  additionalTextBeforeLink: string;
109
109
  enableTooltipForAdditionalText: boolean;
110
110
  }
111
- export declare type IconToShow = "LIVE" | "PAY_FOR_PERFORMANCE_ACTIVE" | "PAY_FOR_PERFORMANCE" | "REJECTED" | "NOTIFY" | "AWAITING_APPROVAL" | "DELETED_ORDER";
112
111
  export {};
@@ -22,19 +22,18 @@ import * as i20 from "./anna-core-shared-lib/directives/digits-only/digits-only.
22
22
  import * as i21 from "./anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component";
23
23
  import * as i22 from "./anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component";
24
24
  import * as i23 from "./anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component";
25
- import * as i24 from "./anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component";
26
- import * as i25 from "@angular/common";
27
- import * as i26 from "@ng-bootstrap/ng-bootstrap";
28
- import * as i27 from "@angular/forms";
29
- import * as i28 from "@angular/material/radio";
30
- import * as i29 from "@angular/material/button-toggle";
31
- import * as i30 from "@angular/material/table";
32
- import * as i31 from "@angular-slider/ngx-slider";
33
- import * as i32 from "ngx-skeleton-loader";
34
- import * as i33 from "@angular/cdk/scrolling";
35
- import * as i34 from "ng-circle-progress";
25
+ import * as i24 from "@angular/common";
26
+ import * as i25 from "@ng-bootstrap/ng-bootstrap";
27
+ import * as i26 from "@angular/forms";
28
+ import * as i27 from "@angular/material/radio";
29
+ import * as i28 from "@angular/material/button-toggle";
30
+ import * as i29 from "@angular/material/table";
31
+ import * as i30 from "@angular-slider/ngx-slider";
32
+ import * as i31 from "ngx-skeleton-loader";
33
+ import * as i32 from "@angular/cdk/scrolling";
34
+ import * as i33 from "ng-circle-progress";
36
35
  export declare class AnnaCoreModule {
37
36
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaCoreModule, never>;
38
- static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreModule, [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i4.AnnaTypeofDataPipe, typeof i2.AnnaFilterSearchedTextPipe, typeof i5.AnnaReplaceCharPipe, typeof i6.AnnaBuyerApprovalIconTemplateComponent, typeof i7.AnnaLiveIconTemplateComponent, typeof i8.AnnaNotifyIconTemplateComponent, typeof i9.AnnaPayForPerformanceIconTemplateComponent, typeof i10.AnnaRejectedIconTemplateComponent, typeof i11.showEllipsisTextOnHoverDirective, typeof i12.AnnaIconColumnComponent, typeof i13.AnnaWeekCalendarComponent, typeof i14.AnnaCalendarFilterComponent, typeof i15.AnnaSortComponent, typeof i16.AnnaVirtualTableDirective, typeof i17.AnnaNonEditableGenericTableComponent, typeof i18.AnnaTableVirtualScrollViewportComponent, typeof i19.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i20.DigitOnlyDirective, typeof i21.AnnaColumnDateRangeFilterComponent, typeof i22.AnnaColumnTimeFilterComponent, typeof i23.AnnaColumnCheckboxFilterComponent, typeof i24.AnnaDeletedOrderIconTemplateComponent], [typeof i25.CommonModule, typeof i26.NgbModule, typeof i27.FormsModule, typeof i28.MatRadioModule, typeof i29.MatButtonToggleModule, typeof i30.MatTableModule, typeof i31.NgxSliderModule, typeof i32.NgxSkeletonLoaderModule, typeof i33.ScrollingModule, typeof i34.NgCircleProgressModule], [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i4.AnnaTypeofDataPipe, typeof i5.AnnaReplaceCharPipe, typeof i2.AnnaFilterSearchedTextPipe, typeof i6.AnnaBuyerApprovalIconTemplateComponent, typeof i7.AnnaLiveIconTemplateComponent, typeof i8.AnnaNotifyIconTemplateComponent, typeof i9.AnnaPayForPerformanceIconTemplateComponent, typeof i10.AnnaRejectedIconTemplateComponent, typeof i11.showEllipsisTextOnHoverDirective, typeof i12.AnnaIconColumnComponent, typeof i13.AnnaWeekCalendarComponent, typeof i14.AnnaCalendarFilterComponent, typeof i15.AnnaSortComponent, typeof i16.AnnaVirtualTableDirective, typeof i17.AnnaNonEditableGenericTableComponent, typeof i18.AnnaTableVirtualScrollViewportComponent, typeof i21.AnnaColumnDateRangeFilterComponent, typeof i22.AnnaColumnTimeFilterComponent, typeof i23.AnnaColumnCheckboxFilterComponent, typeof i19.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i20.DigitOnlyDirective, typeof i24.AnnaDeletedOrderIconTemplateComponent]>;
37
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreModule, [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i4.AnnaTypeofDataPipe, typeof i2.AnnaFilterSearchedTextPipe, typeof i5.AnnaReplaceCharPipe, typeof i6.AnnaBuyerApprovalIconTemplateComponent, typeof i7.AnnaLiveIconTemplateComponent, typeof i8.AnnaNotifyIconTemplateComponent, typeof i9.AnnaPayForPerformanceIconTemplateComponent, typeof i10.AnnaRejectedIconTemplateComponent, typeof i11.showEllipsisTextOnHoverDirective, typeof i12.AnnaIconColumnComponent, typeof i13.AnnaWeekCalendarComponent, typeof i14.AnnaCalendarFilterComponent, typeof i15.AnnaSortComponent, typeof i16.AnnaVirtualTableDirective, typeof i17.AnnaNonEditableGenericTableComponent, typeof i18.AnnaTableVirtualScrollViewportComponent, typeof i19.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i20.DigitOnlyDirective, typeof i21.AnnaColumnDateRangeFilterComponent, typeof i22.AnnaColumnTimeFilterComponent, typeof i23.AnnaColumnCheckboxFilterComponent], [typeof i24.CommonModule, typeof i25.NgbModule, typeof i26.FormsModule, typeof i27.MatRadioModule, typeof i28.MatButtonToggleModule, typeof i29.MatTableModule, typeof i30.NgxSliderModule, typeof i31.NgxSkeletonLoaderModule, typeof i32.ScrollingModule, typeof i33.NgCircleProgressModule], [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i4.AnnaTypeofDataPipe, typeof i5.AnnaReplaceCharPipe, typeof i2.AnnaFilterSearchedTextPipe, typeof i6.AnnaBuyerApprovalIconTemplateComponent, typeof i7.AnnaLiveIconTemplateComponent, typeof i8.AnnaNotifyIconTemplateComponent, typeof i9.AnnaPayForPerformanceIconTemplateComponent, typeof i10.AnnaRejectedIconTemplateComponent, typeof i11.showEllipsisTextOnHoverDirective, typeof i12.AnnaIconColumnComponent, typeof i13.AnnaWeekCalendarComponent, typeof i14.AnnaCalendarFilterComponent, typeof i15.AnnaSortComponent, typeof i16.AnnaVirtualTableDirective, typeof i17.AnnaNonEditableGenericTableComponent, typeof i18.AnnaTableVirtualScrollViewportComponent, typeof i21.AnnaColumnDateRangeFilterComponent, typeof i22.AnnaColumnTimeFilterComponent, typeof i23.AnnaColumnCheckboxFilterComponent, typeof i19.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i20.DigitOnlyDirective]>;
39
38
  static ɵinj: i0.ɵɵInjectorDeclaration<AnnaCoreModule>;
40
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "12.3.7",
3
+ "version": "12.4.1",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "^2.0.4",
6
6
  "@angular/common": "^15.2.9",
package/public-api.d.ts CHANGED
@@ -6,7 +6,6 @@ export * from "./lib/anna-core-shared-lib/components/anna-notify-icon-template/a
6
6
  export * from "./lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component";
7
7
  export * from "./lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component";
8
8
  export * from "./lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component";
9
- export * from "./lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component";
10
9
  export * from "./lib/anna-core-shared-lib/services/anna-date-time-format.service";
11
10
  export * from "./lib/anna-core-shared-lib/services/anna-global-config.service";
12
11
  export * from "./lib/anna-core-shared-lib/services/anna-filter.service";
@@ -1,21 +1,13 @@
1
- @use "../anna-common-scss/fonts" as fonts;
2
- @use "../anna-common-scss/colors" as colors;
3
-
4
1
  @mixin no-data-to-display-gt($tableHeight, $rowHeight, $noDataMarginTop) {
5
2
  .table-container {
6
3
  height: calc($tableHeight) !important;
7
-
8
4
  table {
9
- border: solid 1px #d4d4d4;
10
-
11
- thead {
12
- th {
13
- box-shadow: none !important;
14
- border: solid 1px #d4d4d4 !important;
15
- }
16
- }
17
-
18
5
  tbody {
6
+ border-top: none;
7
+ border-left: 1px solid #d3d3d3;
8
+ border-right: 1px solid #d3d3d3;
9
+ border-bottom: 1px solid #d3d3d3;
10
+
19
11
  tr.no-border-tr:first-of-type {
20
12
  height: $rowHeight !important;
21
13
 
@@ -39,7 +31,7 @@
39
31
  }
40
32
 
41
33
  @mixin resetFilterStyle() {
42
- padding: 0;
34
+ padding: 0;
43
35
  border: none;
44
36
  display: block;
45
37
  text-align: right;
@@ -51,11 +43,9 @@
51
43
  font-size: 14px !important;
52
44
  letter-spacing: normal !important;
53
45
  font-weight: normal !important;
54
-
55
46
  &:hover:enabled {
56
47
  color: #268bff;
57
48
  }
58
-
59
49
  &:disabled {
60
50
  color: #4a4a4a;
61
51
  opacity: 0.5;
@@ -68,7 +58,6 @@
68
58
  cursor: pointer !important;
69
59
  color: #268bff !important;
70
60
  text-decoration: underline !important;
71
-
72
61
  &.disabled {
73
62
  color: #b7b6b6;
74
63
  pointer-events: none;
@@ -79,71 +68,49 @@
79
68
 
80
69
  @mixin table-ellipses {
81
70
  div {
82
- text-overflow: ellipsis !important;
83
- overflow: hidden !important;
84
- white-space: nowrap !important;
85
- // width: 99.5%;
71
+ text-overflow: ellipsis !important;
72
+ overflow: hidden !important;
73
+ white-space:nowrap !important;
74
+ // width: 99.5%;
86
75
  }
87
76
  }
88
77
 
89
78
  @mixin table-ellipses-only-on-text-span {
90
79
  span {
91
- text-overflow: ellipsis !important;
92
- overflow: hidden !important;
93
- white-space: nowrap !important;
94
- display: inline-block !important;
95
- max-width: 92%;
96
- width: fit-content;
80
+ text-overflow: ellipsis !important;
81
+ overflow: hidden !important;
82
+ white-space:nowrap !important;
83
+ display: inline-block !important;
84
+ max-width: 92%;
85
+ width: fit-content;
97
86
  }
98
87
  }
99
88
 
100
- @mixin genericTableHeaderShadow($columnNumber) {
101
- .scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
102
- border: none !important;
103
- filter: drop-shadow(2px 0 2px colors.$lightGray-4);
89
+ @mixin common-scrollbar($scrollTop) {
90
+ &::-webkit-scrollbar {
91
+ height: 4px;
92
+ width: 4px;
104
93
  }
105
- }
106
-
107
- @mixin genericTableTotalRowShadow($columnNumber) {
108
- .scroll-left-shadow-effect .total-row td:nth-of-type(#{$columnNumber}) {
109
- filter: drop-shadow(2px 0 2px colors.$lightGray-4);
94
+
95
+ &::-webkit-scrollbar-thumb {
96
+ border-radius: 2px;
97
+ border: solid 1px rgba(0, 0, 0, 0.1);
98
+ background-color: rgba(0, 0, 0, 0.4);
110
99
  }
111
- }
112
100
 
113
- @mixin genericTableTableDataShadow($columnNumber) {
114
- .scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
115
- filter: drop-shadow(2px 0 1px colors.$lightGray-4);
101
+ &::-webkit-scrollbar-track {
102
+ margin-top: $scrollTop;
103
+ border: 1px solid rgba(0, 0, 0, 0.1) !important
116
104
  }
117
105
  }
118
106
 
119
- @mixin genericTableOverrideHeaderShadow($columnNumber) {
120
- .scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
121
- box-shadow: none !important;
122
- border: none !important;
123
- filter: none;
124
- }
107
+ @mixin header-fixed($z-index) {
108
+ position: sticky;
109
+ z-index: $z-index;
125
110
  }
126
111
 
127
- @mixin genericTableOverrideTableDataShadow($columnNumber) {
128
- .scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
129
- filter: none;
130
- }
112
+ @mixin sub-header($z-index) {
113
+ position: sticky;
114
+ z-index: $z-index;
131
115
  }
132
116
 
133
- @mixin overrideEmptyTrBorders($startIndex) {
134
-
135
- tr.no-border-tr:first-of-type {
136
-
137
- td:nth-of-type(#{$startIndex}) {
138
- box-shadow: inset 1px 0px 0px 0px #d4d4d4 !important;
139
- }
140
-
141
- td:nth-child(n+ #{$startIndex + 1}) {
142
- box-shadow: none !important;
143
- }
144
-
145
- td:last-of-type {
146
- box-shadow: inset -1px 0px 0px 0px #d4d4d4 !important
147
- }
148
- }
149
- }
@@ -1,14 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class AnnaDeletedOrderIconTemplateComponent {
4
- constructor() { }
5
- ngOnInit() {
6
- }
7
- }
8
- AnnaDeletedOrderIconTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AnnaDeletedOrderIconTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9
- AnnaDeletedOrderIconTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: AnnaDeletedOrderIconTemplateComponent, selector: "anna-deleted-order-icon-template", ngImport: i0, template: "<i class=\"mdi mdi-file-remove-outline\"></i>", styles: [".mdi-file-remove-outline{font-size:1.5rem;color:#f44336}\n"] });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AnnaDeletedOrderIconTemplateComponent, decorators: [{
11
- type: Component,
12
- args: [{ selector: 'anna-deleted-order-icon-template', template: "<i class=\"mdi mdi-file-remove-outline\"></i>", styles: [".mdi-file-remove-outline{font-size:1.5rem;color:#f44336}\n"] }]
13
- }], ctorParameters: function () { return []; } });
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5uYS1kZWxldGVkLW9yZGVyLWljb24tdGVtcGxhdGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5uYS1jb3JlL3NyYy9saWIvYW5uYS1jb3JlLXNoYX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XBsYXRlQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcclxuXHJcbiAgY29uc3RydWN0b3IoKSB7IH1cclxuXHJcbiAgbmdPbkluaXQoKTogdm9pZCB7XHJcbiAgfVxyXG5cclxufVxyXG4iLCI8aSBjbGFzcz1cIm1kaSBtZGktZmlsZS1yZW1vdmUtb3V0bGluZVwiPjwvaT4iXX0=
@@ -1,8 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AnnaDeletedOrderIconTemplateComponent implements OnInit {
4
- constructor();
5
- ngOnInit(): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AnnaDeletedOrderIconTemplateComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<AnnaDeletedOrderIconTemplateComponent, "anna-deleted-order-icon-template", never, {}, {}, never, never, false, never>;
8
- }