@annalib/anna-core 10.1.6 → 10.2.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.
@@ -0,0 +1,8 @@
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>;
8
+ }
@@ -1,9 +1,10 @@
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';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class AnnaIconColumnComponent implements OnInit {
5
6
  componentName: string;
6
- objectKey: string;
7
+ iconToShow: IconToShow;
7
8
  dataObject: any;
8
9
  PfpIconActiveColor: string;
9
10
  PfpIconDisableColor: string;
@@ -12,5 +13,5 @@ export declare class AnnaIconColumnComponent implements OnInit {
12
13
  ngOnInit(): void;
13
14
  svgIconClicked(rowData: any, key: string): void;
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaIconColumnComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<AnnaIconColumnComponent, "anna-core-anna-icon-column", never, { "componentName": "componentName"; "objectKey": "objectKey"; "dataObject": "dataObject"; }, { "onColumnIconClicked": "onColumnIconClicked"; }, never, never, false>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<AnnaIconColumnComponent, "anna-core-anna-icon-column", never, { "componentName": "componentName"; "iconToShow": "iconToShow"; "dataObject": "dataObject"; }, { "onColumnIconClicked": "onColumnIconClicked"; }, never, never, false>;
16
17
  }
@@ -104,9 +104,10 @@ export interface IActionItemTypeSTRING__ICON_OR_TEXT_ACTION {
104
104
  value: string;
105
105
  }[];
106
106
  tooltipClass?: string;
107
- tooltipPlacement?: string;
107
+ tooltipPlacement: string;
108
108
  typeOfData: 'STRING' | 'ICON_TEXT_ACTION';
109
109
  additionalTextBeforeLink: string;
110
110
  enableTooltipForAdditionalText: boolean;
111
111
  }
112
+ export declare type IconToShow = "LIVE" | "PAY_FOR_PERFORMANCE_ACTIVE" | "PAY_FOR_PERFORMANCE" | "REJECTED" | "NOTIFY" | "AWAITING_APPROVAL" | "DELETED_ORDER";
112
113
  export {};
@@ -14,8 +14,11 @@ export declare class AnnaGtHelperService {
14
14
  initColumnFilterAndSorting(): void;
15
15
  enableOrDisableClearAllBtn(): boolean;
16
16
  updateFiltersInURL(): void;
17
- prepareQueryParamsOnFilter(): any;
18
- checkIfSortingIsApplied(): boolean;
17
+ prepareQueryParamsOnFilter(): {
18
+ appliedFilters: string[];
19
+ selectedFilterData: string;
20
+ sortState: string;
21
+ };
19
22
  initTableFilters(clonedTableData: any): void;
20
23
  initFilters(): void;
21
24
  setDataAsPerPersistingFilter(isPersistingFilter: boolean, clonedTable: any, filters: any): any;
@@ -19,18 +19,19 @@ import * as i17 from "./anna-generic-table-lib/components/anna-non-editable-gene
19
19
  import * as i18 from "./anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component";
20
20
  import * as i19 from "./anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive";
21
21
  import * as i20 from "./anna-core-shared-lib/directives/digits-only/digits-only.directive";
22
- import * as i21 from "@angular/common";
23
- import * as i22 from "@ng-bootstrap/ng-bootstrap";
24
- import * as i23 from "@angular/forms";
25
- import * as i24 from "@angular/material/radio";
26
- import * as i25 from "@angular/material/button-toggle";
27
- import * as i26 from "@angular/material/table";
28
- import * as i27 from "@angular-slider/ngx-slider";
29
- import * as i28 from "ngx-skeleton-loader";
30
- import * as i29 from "@angular/cdk/scrolling";
31
- import * as i30 from "ng-circle-progress";
22
+ import * as i21 from "./anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component";
23
+ import * as i22 from "@angular/common";
24
+ import * as i23 from "@ng-bootstrap/ng-bootstrap";
25
+ import * as i24 from "@angular/forms";
26
+ import * as i25 from "@angular/material/radio";
27
+ import * as i26 from "@angular/material/button-toggle";
28
+ import * as i27 from "@angular/material/table";
29
+ import * as i28 from "@angular-slider/ngx-slider";
30
+ import * as i29 from "ngx-skeleton-loader";
31
+ import * as i30 from "@angular/cdk/scrolling";
32
+ import * as i31 from "ng-circle-progress";
32
33
  export declare class AnnaCoreModule {
33
34
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaCoreModule, never>;
34
- 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.CommonModule, typeof i22.NgbModule, typeof i23.FormsModule, typeof i24.MatRadioModule, typeof i25.MatButtonToggleModule, typeof i26.MatTableModule, typeof i27.NgxSliderModule, typeof i28.NgxSkeletonLoaderModule, typeof i29.ScrollingModule, typeof i30.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 i19.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i20.DigitOnlyDirective]>;
35
+ 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.AnnaDeletedOrderIconTemplateComponent], [typeof i22.CommonModule, typeof i23.NgbModule, typeof i24.FormsModule, typeof i25.MatRadioModule, typeof i26.MatButtonToggleModule, typeof i27.MatTableModule, typeof i28.NgxSliderModule, typeof i29.NgxSkeletonLoaderModule, typeof i30.ScrollingModule, typeof i31.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 i19.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i20.DigitOnlyDirective, typeof i21.AnnaDeletedOrderIconTemplateComponent]>;
35
36
  static ɵinj: i0.ɵɵInjectorDeclaration<AnnaCoreModule>;
36
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "10.1.6",
3
+ "version": "10.2.1",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "^2.0.3",
6
6
  "@angular/common": "^14.3.0",
package/public-api.d.ts CHANGED
@@ -6,6 +6,7 @@ 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";
9
10
  export * from "./lib/anna-core-shared-lib/services/anna-date-time-format.service";
10
11
  export * from "./lib/anna-core-shared-lib/services/anna-global-config.service";
11
12
  export * from "./lib/anna-core-shared-lib/services/anna-filter.service";
@@ -82,3 +82,54 @@
82
82
  width: fit-content;
83
83
  }
84
84
  }
85
+
86
+ @mixin genericTableHeaderShadow($columnNumber){
87
+ .scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
88
+ border: none !important;
89
+ filter: drop-shadow(2px 0 2px $lightGray-4);
90
+ }
91
+ }
92
+
93
+ @mixin genericTableTotalRowShadow($columnNumber){
94
+ .scroll-left-shadow-effect .total-row td:nth-of-type(#{$columnNumber}) {
95
+ filter: drop-shadow(2px 0 2px $lightGray-4);
96
+ }
97
+ }
98
+
99
+ @mixin genericTableTableDataShadow($columnNumber){
100
+ .scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
101
+ filter: drop-shadow(2px 0 1px $lightGray-4);
102
+ }
103
+ }
104
+
105
+ @mixin genericTableOverrideHeaderShadow($columnNumber){
106
+ .scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
107
+ box-shadow: none !important;
108
+ border: none !important;
109
+ filter: none;
110
+ }
111
+ }
112
+
113
+ @mixin genericTableOverrideTableDataShadow($columnNumber){
114
+ .scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
115
+ filter: none;
116
+ }
117
+ }
118
+
119
+ @mixin overrideEmptyTrBorders($startIndex){
120
+
121
+ tr.no-border-tr:first-of-type{
122
+
123
+ td:nth-of-type(#{$startIndex}){
124
+ box-shadow: inset 1px 0px 0px 0px #d4d4d4 !important;
125
+ }
126
+
127
+ td:nth-child(n+ #{$startIndex + 1}){
128
+ box-shadow: none !important;
129
+ }
130
+
131
+ td:last-of-type{
132
+ box-shadow: inset -1px 0px 0px 0px #d4d4d4 !important
133
+ }
134
+ }
135
+ }