@annalib/anna-core 12.2.3 → 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.
- package/esm2020/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +3 -3
- 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/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-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +1 -1
- package/esm2020/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +1 -1
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +3 -9
- package/fesm2015/annalib-anna-core.mjs +8 -34
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +8 -34
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- 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/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-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/src/lib/anna-common-scss/_easy-filter.scss +1 -26
- package/src/lib/anna-common-scss/_generic-table-common.scss +0 -54
- 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
|
@@ -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
|
}
|
|
@@ -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
|
}
|
|
@@ -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
|
@@ -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
|
}
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
display: block;
|
|
37
37
|
text-align: right;
|
|
38
38
|
margin-left: auto;
|
|
39
|
-
width: fit-content;
|
|
40
39
|
background-color: transparent;
|
|
41
40
|
text-decoration: underline;
|
|
42
41
|
color: #268bff;
|
|
@@ -115,56 +114,3 @@
|
|
|
115
114
|
z-index: $z-index;
|
|
116
115
|
}
|
|
117
116
|
|
|
118
|
-
|
|
119
|
-
@mixin genericTableHeaderShadow($columnNumber){
|
|
120
|
-
.scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
|
|
121
|
-
border: none !important;
|
|
122
|
-
filter: drop-shadow(2px 0 2px colors.$lightGray-4);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
@mixin genericTableTotalRowShadow($columnNumber){
|
|
127
|
-
.scroll-left-shadow-effect .total-row td:nth-of-type(#{$columnNumber}) {
|
|
128
|
-
filter: drop-shadow(2px 0 2px colors.$lightGray-4);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
@mixin genericTableTableDataShadow($columnNumber){
|
|
133
|
-
.scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
|
|
134
|
-
filter: drop-shadow(2px 0 1px colors.$lightGray-4);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
@mixin genericTableOverrideHeaderShadow($columnNumber){
|
|
139
|
-
.scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
|
|
140
|
-
box-shadow: none !important;
|
|
141
|
-
border: none !important;
|
|
142
|
-
filter: none;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
@mixin genericTableOverrideTableDataShadow($columnNumber){
|
|
147
|
-
.scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
|
|
148
|
-
filter: none;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
@mixin overrideEmptyTrBorders($startIndex){
|
|
153
|
-
|
|
154
|
-
tr.no-border-tr:first-of-type{
|
|
155
|
-
|
|
156
|
-
td:nth-of-type(#{$startIndex}){
|
|
157
|
-
box-shadow: inset 1px 0px 0px 0px #d4d4d4 !important;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
td:nth-child(n+ #{$startIndex + 1}){
|
|
161
|
-
box-shadow: none !important;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
td:last-of-type{
|
|
165
|
-
box-shadow: inset -1px 0px 0px 0px #d4d4d4 !important
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
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
|
-
}
|