@annalib/anna-core 12.2.3 → 12.3.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.
- 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 +4 -10
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/annalib-anna-core.mjs +29 -39
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +29 -39
- 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/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +1 -3
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/src/lib/anna-common-scss/_easy-filter.scss +1 -26
- package/src/lib/anna-common-scss/_generic-table-common.scss +3 -32
- package/src/lib/anna-common-scss/_sort.scss +1 -1
- package/src/lib/anna-common-scss/_common-order-listing-table.scss +0 -169
- 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
|
}
|
|
@@ -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>;
|
|
@@ -301,6 +299,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
301
299
|
onClickableDataClicked(Rowdata: any, id: number): void;
|
|
302
300
|
removeTooltipOnScroll(): void;
|
|
303
301
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
304
|
-
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";
|
|
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>;
|
|
305
303
|
}
|
|
306
304
|
export {};
|
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,5 +1,4 @@
|
|
|
1
|
-
@
|
|
2
|
-
@import "./colors";
|
|
1
|
+
@import "./fonts", "./colors";
|
|
3
2
|
|
|
4
3
|
@mixin easy-filters() {
|
|
5
4
|
display: flex;
|
|
@@ -35,28 +34,4 @@
|
|
|
35
34
|
cursor: default;
|
|
36
35
|
pointer-events: none;
|
|
37
36
|
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
button.intelli-filter{
|
|
41
|
-
@include fonts.fonts(Roboto, 0.75rem, normal, 500, normal, normal, 0.6px);
|
|
42
|
-
color: #268bff;
|
|
43
|
-
padding: 5px 8px;
|
|
44
|
-
border: 1px solid #268bff;
|
|
45
|
-
background: white;
|
|
46
|
-
border-radius: 0.75rem;
|
|
47
|
-
height: 1.5rem;
|
|
48
|
-
margin-right: 8px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
button.intelli-filter.active{
|
|
52
|
-
color: white;
|
|
53
|
-
background: #268bff;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
button.intelli-filter:disabled {
|
|
57
|
-
border: 1px solid #bdbdbd;
|
|
58
|
-
color: #4a4a4a;
|
|
59
|
-
background: #bdbdbd;
|
|
60
|
-
opacity: .5;
|
|
61
|
-
cursor: not-allowed;
|
|
62
37
|
}
|
|
@@ -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,35 +89,6 @@
|
|
|
87
89
|
}
|
|
88
90
|
}
|
|
89
91
|
|
|
90
|
-
@mixin common-scrollbar($scrollTop) {
|
|
91
|
-
&::-webkit-scrollbar {
|
|
92
|
-
height: 4px;
|
|
93
|
-
width: 4px;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&::-webkit-scrollbar-thumb {
|
|
97
|
-
border-radius: 2px;
|
|
98
|
-
border: solid 1px rgba(0, 0, 0, 0.1);
|
|
99
|
-
background-color: rgba(0, 0, 0, 0.4);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
&::-webkit-scrollbar-track {
|
|
103
|
-
margin-top: $scrollTop;
|
|
104
|
-
border: 1px solid rgba(0, 0, 0, 0.1) !important
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
@mixin header-fixed($z-index) {
|
|
109
|
-
position: sticky;
|
|
110
|
-
z-index: $z-index;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
@mixin sub-header($z-index) {
|
|
114
|
-
position: sticky;
|
|
115
|
-
z-index: $z-index;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
|
|
119
92
|
@mixin genericTableHeaderShadow($columnNumber){
|
|
120
93
|
.scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
|
|
121
94
|
border: none !important;
|
|
@@ -166,5 +139,3 @@
|
|
|
166
139
|
}
|
|
167
140
|
}
|
|
168
141
|
}
|
|
169
|
-
|
|
170
|
-
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
// @use "anna-common-scss/fonts";
|
|
2
|
-
// @use "anna-common-scss/generic-table-common" as *;
|
|
3
|
-
// @use "anna-common-scss/colors";
|
|
4
|
-
|
|
5
|
-
@use "@annalib/anna-core/src/lib/anna-common-scss/fonts";
|
|
6
|
-
@use "@annalib/anna-core/src/lib/anna-common-scss/colors";
|
|
7
|
-
@import "@annalib/anna-core/src/lib/anna-common-scss/generic-table-common";
|
|
8
|
-
|
|
9
|
-
@mixin sticky-left($leftOffset, $zIndex) {
|
|
10
|
-
position: sticky;
|
|
11
|
-
left: $leftOffset;
|
|
12
|
-
z-index: $zIndex !important;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@mixin ellipsify(){
|
|
16
|
-
text-overflow: ellipsis;
|
|
17
|
-
overflow: hidden;
|
|
18
|
-
white-space: nowrap;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@mixin ellipsis() {
|
|
22
|
-
display: inline-block;
|
|
23
|
-
width: 93%;
|
|
24
|
-
@include ellipsify();
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@mixin common-table($tableStartIndex, $tableEndIndex) {
|
|
28
|
-
thead {
|
|
29
|
-
tr th {
|
|
30
|
-
box-shadow: none !important;
|
|
31
|
-
}
|
|
32
|
-
tr th:nth-child(12) {
|
|
33
|
-
z-index: 101 !important;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
tr th.mat-column-isOrderStarred,
|
|
37
|
-
tr th.mat-column-payForPerformanceColumnIcon {
|
|
38
|
-
background-color: white !important;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
tr.total-row {
|
|
42
|
-
td {
|
|
43
|
-
color: #4a4a4a;
|
|
44
|
-
|
|
45
|
-
span {
|
|
46
|
-
color: #a7a7a7;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
background: white;
|
|
50
|
-
@include fonts.fonts(Roboto, 0.75rem, normal, bold, normal, normal, 0.3px);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
td:nth-of-type(1) {
|
|
54
|
-
@include sticky-left(0px, 501);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
td:nth-of-type(2) {
|
|
58
|
-
box-shadow: inset 1px 0 0 0 rgb(0 0 0 / 75%), inset 0 1px 0 0 rgb(0 0 0 / 75%), inset 0 -1px 0 0 rgb(0 0 0 / 75%);
|
|
59
|
-
padding-left: 37px;
|
|
60
|
-
@include sticky-left(62px, 501);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
td:nth-of-type(n + 3) {
|
|
64
|
-
box-shadow: inset 0 1px 0 0 rgb(0 0 0 / 75%), inset 0 -1px 0 0 rgb(0 0 0 / 75%);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
td:last-of-type {
|
|
68
|
-
box-shadow: inset -1px 0 0 0 rgb(0 0 0 / 75%), inset 0 1px 0 0 rgb(0 0 0 / 75%), inset 0 -1px 0 0 rgb(0 0 0 / 75%);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
tbody {
|
|
74
|
-
tr {
|
|
75
|
-
cursor: pointer;
|
|
76
|
-
|
|
77
|
-
td {
|
|
78
|
-
background: white;
|
|
79
|
-
box-shadow: none !important;
|
|
80
|
-
|
|
81
|
-
div:nth-child(1) {
|
|
82
|
-
color: #000;
|
|
83
|
-
@include ellipsify();
|
|
84
|
-
@include fonts.fonts(Roboto, 0.75rem, normal, normal, normal, normal, 0px);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
div:nth-child(2) {
|
|
88
|
-
color: #a7a7a7;
|
|
89
|
-
@include ellipsify();
|
|
90
|
-
@include fonts.fonts(Roboto, 0.75rem, normal, 500, normal, normal, 0.3px);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
td:nth-of-type(1) {
|
|
95
|
-
@include sticky-left(0px, 102);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
@for $i from calc($tableStartIndex) through calc($tableEndIndex) {
|
|
99
|
-
td:nth-of-type(#{$i}) {
|
|
100
|
-
box-shadow: inset 0px -1px 0px 0px #d4d4d4 !important;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
td:nth-of-type(#{$tableStartIndex}) {
|
|
105
|
-
box-shadow: inset 1px -1px 0px 0px #d4d4d4 !important;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
td:last-of-type {
|
|
109
|
-
box-shadow: inset -1px -1px 0px 0px #d4d4d4 !important;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
td.mat-cell:first-of-type {
|
|
113
|
-
padding-left: 5px !important;
|
|
114
|
-
|
|
115
|
-
i {
|
|
116
|
-
font-size: 1.25rem;
|
|
117
|
-
cursor: pointer;
|
|
118
|
-
position: relative;
|
|
119
|
-
bottom: 2px;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
i.mdi-star-outline {
|
|
123
|
-
color: #e6e6e6;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
i.mdi-star {
|
|
127
|
-
color: #ffc107;
|
|
128
|
-
opacity: 0.5;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
@include overrideEmptyTrBorders(3);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
&.no-data-table {
|
|
137
|
-
tbody tr:first-of-type {
|
|
138
|
-
td:nth-of-type(#{$tableStartIndex}) {
|
|
139
|
-
box-shadow: inset 1px 0px 0px 0px #d4d4d4 !important;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
td:nth-of-type(#{$tableStartIndex + 1}),
|
|
143
|
-
td:nth-of-type(#{$tableStartIndex + 2}) {
|
|
144
|
-
box-shadow: none !important
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
&.no-data-table div.horizontal-scroll-for-table-container {
|
|
150
|
-
height: calc(162px) !important;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.table-container::-webkit-scrollbar {
|
|
154
|
-
width: 4px;
|
|
155
|
-
height: 4px;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.table-container::-webkit-scrollbar-thumb {
|
|
159
|
-
border-radius: 4px;
|
|
160
|
-
background-color: rgba(0, 0, 0, 0.4) !important;
|
|
161
|
-
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.table-container::-webkit-scrollbar-track {
|
|
165
|
-
border: 1px solid rgba(0, 0, 0, 0.1) !important;
|
|
166
|
-
margin-top: 105px;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
}
|
|
@@ -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
|
-
}
|