@annalib/anna-core 12.3.0 → 12.4.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.
@@ -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.0",
3
+ "version": "12.4.0",
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,6 +1,3 @@
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;
@@ -89,53 +86,31 @@
89
86
  }
90
87
  }
91
88
 
92
- @mixin genericTableHeaderShadow($columnNumber){
93
- .scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
94
- border: none !important;
95
- filter: drop-shadow(2px 0 2px colors.$lightGray-4);
89
+ @mixin common-scrollbar($scrollTop) {
90
+ &::-webkit-scrollbar {
91
+ height: 4px;
92
+ width: 4px;
96
93
  }
97
- }
98
-
99
- @mixin genericTableTotalRowShadow($columnNumber){
100
- .scroll-left-shadow-effect .total-row td:nth-of-type(#{$columnNumber}) {
101
- 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);
102
99
  }
103
- }
104
100
 
105
- @mixin genericTableTableDataShadow($columnNumber){
106
- .scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
107
- 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
108
104
  }
109
105
  }
110
106
 
111
- @mixin genericTableOverrideHeaderShadow($columnNumber){
112
- .scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
113
- box-shadow: none !important;
114
- border: none !important;
115
- filter: none;
116
- }
107
+ @mixin header-fixed($z-index) {
108
+ position: sticky;
109
+ z-index: $z-index;
117
110
  }
118
111
 
119
- @mixin genericTableOverrideTableDataShadow($columnNumber){
120
- .scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
121
- filter: none;
122
- }
112
+ @mixin sub-header($z-index) {
113
+ position: sticky;
114
+ z-index: $z-index;
123
115
  }
124
116
 
125
- @mixin overrideEmptyTrBorders($startIndex){
126
-
127
- tr.no-border-tr:first-of-type{
128
-
129
- td:nth-of-type(#{$startIndex}){
130
- box-shadow: inset 1px 0px 0px 0px #d4d4d4 !important;
131
- }
132
-
133
- td:nth-child(n+ #{$startIndex + 1}){
134
- box-shadow: none !important;
135
- }
136
-
137
- td:last-of-type{
138
- box-shadow: inset -1px 0px 0px 0px #d4d4d4 !important
139
- }
140
- }
141
- }
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5uYS1kZWxldGVkLW9yZGVyLWljb24tdGVtcGxhdGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5uY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jbGFzcyBBbm5hRGVsZXRlZE9yZGVySWNvblRlbXBsYXRlQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcclxuXHJcbiAgY29uc3RydWN0b3IoKSB7IH1cclxuXHJcbiAgbmdPbkluaXQoKTogdm9pZCB7XHJcbiAgfVxyXG5cclxufVxyXG4iLCI8aSBjbGFzcz1cIm1kaSBtZGktZmlsZS1yZW1vdmUtb3V0bGluZVwiPjwvaT4iXX0=
@@ -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
- }