@annalib/anna-core 12.1.12 → 12.3.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.
- package/esm2020/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +14 -0
- package/esm2020/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +5 -4
- package/esm2020/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +3 -5
- package/esm2020/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +1 -1
- package/esm2020/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +1 -13
- package/esm2020/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +1 -7
- package/esm2020/lib/anna-core.module.mjs +10 -5
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +8 -5
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/annalib-anna-core.mjs +33 -34
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +33 -34
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.d.ts +8 -0
- package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +3 -2
- package/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.d.ts +1 -2
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +1 -0
- package/lib/anna-core-shared-lib/services/anna-number-format.service.d.ts +0 -1
- package/lib/anna-core-shared-lib/services/anna-persisting-filter.service.d.ts +0 -1
- package/lib/anna-core.module.d.ts +12 -11
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/src/lib/anna-common-scss/_generic-table-common.scss +43 -19
- package/src/lib/anna-common-scss/_sort.scss +1 -1
- package/src/lib/anna-common-scss/_mat-menu.scss +0 -17
|
@@ -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, never>;
|
|
8
|
+
}
|
package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts
CHANGED
|
@@ -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
|
-
|
|
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"; "
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaIconColumnComponent, "anna-core-anna-icon-column", never, { "componentName": "componentName"; "iconToShow": "iconToShow"; "dataObject": "dataObject"; }, { "onColumnIconClicked": "onColumnIconClicked"; }, never, never, false, never>;
|
|
16
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, { "
|
|
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
|
}
|
|
@@ -108,4 +108,5 @@ 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";
|
|
111
112
|
export {};
|
|
@@ -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
|
}
|
|
@@ -22,18 +22,19 @@ 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 "
|
|
26
|
-
import * as i25 from "@
|
|
27
|
-
import * as i26 from "@
|
|
28
|
-
import * as i27 from "@angular/
|
|
29
|
-
import * as i28 from "@angular/material/
|
|
30
|
-
import * as i29 from "@angular/material/
|
|
31
|
-
import * as i30 from "@angular
|
|
32
|
-
import * as i31 from "ngx-
|
|
33
|
-
import * as i32 from "
|
|
34
|
-
import * as i33 from "
|
|
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";
|
|
35
36
|
export declare class AnnaCoreModule {
|
|
36
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaCoreModule, never>;
|
|
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
|
|
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]>;
|
|
38
39
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnnaCoreModule>;
|
|
39
40
|
}
|
package/package.json
CHANGED
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";
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
@use "../anna-common-scss/fonts" as fonts;
|
|
2
|
+
@use "../anna-common-scss/colors" as colors;
|
|
3
|
+
|
|
1
4
|
@mixin no-data-to-display-gt($tableHeight, $rowHeight, $noDataMarginTop) {
|
|
2
5
|
.table-container {
|
|
3
6
|
height: calc($tableHeight) !important;
|
|
@@ -36,7 +39,6 @@
|
|
|
36
39
|
display: block;
|
|
37
40
|
text-align: right;
|
|
38
41
|
margin-left: auto;
|
|
39
|
-
width: fit-content;
|
|
40
42
|
background-color: transparent;
|
|
41
43
|
text-decoration: underline;
|
|
42
44
|
color: #268bff;
|
|
@@ -87,31 +89,53 @@
|
|
|
87
89
|
}
|
|
88
90
|
}
|
|
89
91
|
|
|
90
|
-
@mixin
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
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);
|
|
94
96
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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);
|
|
100
102
|
}
|
|
103
|
+
}
|
|
101
104
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
+
@mixin genericTableTableDataShadow($columnNumber){
|
|
106
|
+
.scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
|
|
107
|
+
filter: drop-shadow(2px 0 1px colors.$lightGray-4);
|
|
105
108
|
}
|
|
106
109
|
}
|
|
107
110
|
|
|
108
|
-
@mixin
|
|
109
|
-
|
|
110
|
-
|
|
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
|
+
}
|
|
111
117
|
}
|
|
112
118
|
|
|
113
|
-
@mixin
|
|
114
|
-
|
|
115
|
-
|
|
119
|
+
@mixin genericTableOverrideTableDataShadow($columnNumber){
|
|
120
|
+
.scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
|
|
121
|
+
filter: none;
|
|
122
|
+
}
|
|
116
123
|
}
|
|
117
124
|
|
|
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,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
|
-
}
|