@annalib/anna-core 10.2.4 → 10.2.6
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/models/anna-non-editable-gt-models.mjs +1 -1
- package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +5 -1
- package/esm2020/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +1 -1
- package/esm2020/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +60 -0
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +54 -36
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/annalib-anna-core.mjs +116 -36
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +116 -36
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +1 -1
- package/lib/anna-core-shared-lib/services/anna-persisting-filter.service.d.ts +8 -0
- package/package.json +4 -4
- package/public-api.d.ts +1 -0
- package/src/lib/anna-common-scss/_bootstrap-tooltip.scss +1 -1
- package/src/lib/anna-common-scss/_customDropdown.scss +129 -0
- package/src/lib/anna-common-scss/_filters.scss +27 -7
- package/src/lib/anna-common-scss/_generic-table-common.scss +8 -6
- package/src/lib/anna-common-scss/style.scss +1 -1
|
@@ -52,7 +52,7 @@ export interface IGtGeneralConfig extends ISpotTableConfig {
|
|
|
52
52
|
bufferSize: number;
|
|
53
53
|
page: string;
|
|
54
54
|
}
|
|
55
|
-
declare type COMPONENTNAME = "SPOTDETAILS" | "EXCLUDEINVENTORYPOPUP" | "EXCLUDEINVENTORY" | "DRRLISTING" | "DRR" | "" | "RATING" | "ORDER_LISTING_INFLIGHT" | "ORDER_LISTING_COMPLETED" | "ORDER_LISTING_BLANK" | "LUR_VIOLATIONS" | "ACTIVITYLOG";
|
|
55
|
+
declare type COMPONENTNAME = "SPOTDETAILS" | "EXCLUDEINVENTORYPOPUP" | "EXCLUDEINVENTORY" | "DRRLISTING" | "DRR" | "" | "RATING" | "ORDER_LISTING_INFLIGHT" | "ORDER_LISTING_COMPLETED" | "ORDER_LISTING_BLANK" | "LUR_VIOLATIONS" | "ACTIVITYLOG" | "NOTIFICATIONS";
|
|
56
56
|
interface ISpotTableConfig {
|
|
57
57
|
isGrouped: boolean;
|
|
58
58
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AnnaPersistingFilterService {
|
|
3
|
+
constructor();
|
|
4
|
+
storeKeyValueInLocalStorage(val: any, isFilterKey?: boolean): string;
|
|
5
|
+
getActualQueryParams(key: string): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaPersistingFilterService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaPersistingFilterService>;
|
|
8
|
+
}
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@annalib/anna-core",
|
|
3
|
-
"version": "10.2.
|
|
3
|
+
"version": "10.2.6",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular-slider/ngx-slider": "^2.0.3",
|
|
6
6
|
"@angular/common": "^14.3.0",
|
|
7
7
|
"@angular/core": "^14.3.0",
|
|
8
8
|
"@angular/material": "^14.2.7",
|
|
9
9
|
"@ng-bootstrap/ng-bootstrap": "^13.1.1",
|
|
10
|
-
"lodash-es": "^4.17.21",
|
|
11
10
|
"dayjs": "^1.11.7",
|
|
12
|
-
"
|
|
13
|
-
"ng-circle-progress": "^1.6.0"
|
|
11
|
+
"lodash-es": "^4.17.21",
|
|
12
|
+
"ng-circle-progress": "^1.6.0",
|
|
13
|
+
"ngx-skeleton-loader": "^2.10.1"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"tslib": "^2.5.0"
|
package/public-api.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from "./lib/anna-core-shared-lib/services/anna-filter.service";
|
|
|
13
13
|
export * from "./lib/anna-core-shared-lib/services/anna-sort.service";
|
|
14
14
|
export * from "./lib/anna-core-shared-lib/services/anna-generic-table.service";
|
|
15
15
|
export * from "./lib/anna-core-shared-lib/services/anna-number-format.service";
|
|
16
|
+
export * from "./lib/anna-core-shared-lib/services/anna-persisting-filter.service";
|
|
16
17
|
export * from "./lib/anna-core-shared-lib/models/anna-generic-data-type.model";
|
|
17
18
|
export * from "./lib/anna-core-shared-lib/models/anna-global-dropdown-config.model";
|
|
18
19
|
export * from "./lib/anna-core-shared-lib/models/anna-non-editable-gt-models";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
color: #4a4a4a;
|
|
5
5
|
text-align: left;
|
|
6
6
|
padding: 8px !important;
|
|
7
|
-
border-radius:
|
|
7
|
+
border-radius: 2px;
|
|
8
8
|
background: white !important;
|
|
9
9
|
box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3), 0 2px 2px 0 rgba(0, 0, 0, 0.2);
|
|
10
10
|
@include fonts(Roboto, 12px, normal, normal, normal, normal, normal);
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
@import "./colors", "./fonts";
|
|
2
|
+
|
|
3
|
+
//Common styling
|
|
4
|
+
#dropdown-trigger {
|
|
5
|
+
height: 1.875rem;
|
|
6
|
+
background: white;
|
|
7
|
+
border-radius: 2px;
|
|
8
|
+
border: 1px solid $lightGray-8;
|
|
9
|
+
width: 100%;
|
|
10
|
+
text-align: left;
|
|
11
|
+
&:disabled{
|
|
12
|
+
background-color: $gray74;
|
|
13
|
+
opacity: 0.5;
|
|
14
|
+
& .placeholder, .icon {
|
|
15
|
+
color: #000;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.placeholder {
|
|
21
|
+
color: $gray74;
|
|
22
|
+
@include fonts(Roboto, 14px, normal, normal, normal, normal, normal);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// #dropdown-trigger:disabled .placeholder {
|
|
26
|
+
// color: #000;
|
|
27
|
+
// }
|
|
28
|
+
|
|
29
|
+
.icon {
|
|
30
|
+
font-size: 1.125rem;
|
|
31
|
+
float: right;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.search-bar {
|
|
35
|
+
margin: 9px 7px 8px 7px;
|
|
36
|
+
border: 1px solid $pinkSwan;
|
|
37
|
+
height: 1.875rem;
|
|
38
|
+
border-radius: 2px;
|
|
39
|
+
input {
|
|
40
|
+
outline: none;
|
|
41
|
+
border: none;
|
|
42
|
+
position: relative;
|
|
43
|
+
bottom: 4px;
|
|
44
|
+
width: calc(100% - 29px);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.search-icon {
|
|
48
|
+
font-size: 1.125rem;
|
|
49
|
+
color: $lightGray-7;
|
|
50
|
+
margin: 5px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.close-icon{
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
ul {
|
|
59
|
+
overflow-y: auto;
|
|
60
|
+
padding-left: 0;
|
|
61
|
+
padding-bottom: 0;
|
|
62
|
+
margin-bottom: 0;
|
|
63
|
+
max-height: calc(50vh - 80px) !important;
|
|
64
|
+
// min-heightw: 70px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
li {
|
|
68
|
+
list-style-type: none;
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
padding-inline: 6px;
|
|
71
|
+
@include fonts(Roboto, 14px, normal, normal, normal, 2.14, normal);
|
|
72
|
+
color: #4a4a4a;
|
|
73
|
+
@extend .ellipsify;
|
|
74
|
+
width: 100%;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
ul::-webkit-scrollbar {
|
|
78
|
+
width: 4px;
|
|
79
|
+
height: 4px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
ul::-webkit-scrollbar-track {
|
|
83
|
+
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
ul::-webkit-scrollbar-thumb {
|
|
87
|
+
border-radius: 4px;
|
|
88
|
+
background-color: rgba(0, 0, 0, 0.4) !important;
|
|
89
|
+
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
li:hover {
|
|
93
|
+
// color: white;
|
|
94
|
+
background: #ebebeb;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
li.active {
|
|
98
|
+
color: white;
|
|
99
|
+
background: $primary-color;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
span.selected-item{
|
|
103
|
+
background: transparent;
|
|
104
|
+
@include fonts(Roboto, 14px, normal, normal, normal, normal, normal);
|
|
105
|
+
color: #4a4a4a;
|
|
106
|
+
@extend .ellipsify;
|
|
107
|
+
width: calc(100% - 22px);
|
|
108
|
+
display: inline-block;
|
|
109
|
+
vertical-align: middle;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.ellipsify{
|
|
113
|
+
white-space: nowrap;
|
|
114
|
+
text-overflow: ellipsis;
|
|
115
|
+
overflow: hidden;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
::ng-deep .cdk-overlay-container{
|
|
119
|
+
z-index: 1051;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
::ng-deep .multi-select-dropdown + div .mat-menu-panel,
|
|
123
|
+
::ng-deep .single-select-dropdown + div .mat-menu-panel{
|
|
124
|
+
min-width: 100px !important;
|
|
125
|
+
max-width: 100%;
|
|
126
|
+
min-height: 30px !important;
|
|
127
|
+
overflow-y: hidden;
|
|
128
|
+
max-height: 50vh;
|
|
129
|
+
}
|
|
@@ -364,17 +364,28 @@ section.min-maxContainer {
|
|
|
364
364
|
div.arrow-container {
|
|
365
365
|
flex-direction: column;
|
|
366
366
|
display: flex;
|
|
367
|
-
|
|
368
|
-
|
|
367
|
+
margin-top: $fs-6;
|
|
368
|
+
width: 9px;
|
|
369
|
+
height: 18px;
|
|
369
370
|
margin-right: $fs-19;
|
|
370
371
|
i {
|
|
371
372
|
color: black;
|
|
372
373
|
cursor: pointer;
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
374
|
+
max-height: 9px;
|
|
375
|
+
font-size: 25px;
|
|
376
|
+
width: 10px;
|
|
377
|
+
&:before{
|
|
378
|
+
width: 0;
|
|
379
|
+
height: 0;
|
|
380
|
+
pointer-events: none;
|
|
381
|
+
position: relative;
|
|
382
|
+
left: -9px;
|
|
383
|
+
top: -11px;
|
|
384
|
+
}
|
|
377
385
|
}
|
|
386
|
+
// i.downward {
|
|
387
|
+
// transform: rotate(180deg);
|
|
388
|
+
// }
|
|
378
389
|
}
|
|
379
390
|
}
|
|
380
391
|
|
|
@@ -606,7 +617,8 @@ input.error-border{
|
|
|
606
617
|
|
|
607
618
|
::ng-deep .show-max.ngx-slider span.ngx-slider-model-high{
|
|
608
619
|
background: white;
|
|
609
|
-
box-shadow:
|
|
620
|
+
box-shadow: none;
|
|
621
|
+
// left: auto !important;
|
|
610
622
|
}
|
|
611
623
|
|
|
612
624
|
::ng-deep .ngx-slider span.ngx-slider-combined{
|
|
@@ -614,6 +626,14 @@ input.error-border{
|
|
|
614
626
|
box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3), 0 2px 2px 0 rgba(0, 0, 0, 0.2);
|
|
615
627
|
}
|
|
616
628
|
|
|
629
|
+
::ng-deep .ngx-slider{
|
|
630
|
+
top: 10px !important;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
::ng-deep .ngx-slider-animate{
|
|
634
|
+
top: 0 !important;
|
|
635
|
+
}
|
|
636
|
+
|
|
617
637
|
.sidebar-slider{
|
|
618
638
|
margin-bottom: 6px;
|
|
619
639
|
}
|
|
@@ -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;
|
|
@@ -39,7 +42,6 @@
|
|
|
39
42
|
background-color: white;
|
|
40
43
|
text-decoration: underline;
|
|
41
44
|
color: #268bff;
|
|
42
|
-
border: none;
|
|
43
45
|
&:hover:enabled {
|
|
44
46
|
color: #4a4a4a;
|
|
45
47
|
}
|
|
@@ -68,7 +70,7 @@
|
|
|
68
70
|
text-overflow: ellipsis !important;
|
|
69
71
|
overflow: hidden !important;
|
|
70
72
|
white-space:nowrap !important;
|
|
71
|
-
|
|
73
|
+
// width: 99.5%;
|
|
72
74
|
}
|
|
73
75
|
}
|
|
74
76
|
|
|
@@ -86,19 +88,19 @@
|
|
|
86
88
|
@mixin genericTableHeaderShadow($columnNumber){
|
|
87
89
|
.scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
|
|
88
90
|
border: none !important;
|
|
89
|
-
filter: drop-shadow(2px 0 2px
|
|
91
|
+
filter: drop-shadow(2px 0 2px colors.$lightGray-4);
|
|
90
92
|
}
|
|
91
93
|
}
|
|
92
94
|
|
|
93
95
|
@mixin genericTableTotalRowShadow($columnNumber){
|
|
94
96
|
.scroll-left-shadow-effect .total-row td:nth-of-type(#{$columnNumber}) {
|
|
95
|
-
filter: drop-shadow(2px 0 2px
|
|
97
|
+
filter: drop-shadow(2px 0 2px colors.$lightGray-4);
|
|
96
98
|
}
|
|
97
99
|
}
|
|
98
100
|
|
|
99
101
|
@mixin genericTableTableDataShadow($columnNumber){
|
|
100
102
|
.scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
|
|
101
|
-
filter: drop-shadow(2px 0 1px
|
|
103
|
+
filter: drop-shadow(2px 0 1px colors.$lightGray-4);
|
|
102
104
|
}
|
|
103
105
|
}
|
|
104
106
|
|
|
@@ -132,4 +134,4 @@
|
|
|
132
134
|
box-shadow: inset -1px 0px 0px 0px #d4d4d4 !important
|
|
133
135
|
}
|
|
134
136
|
}
|
|
135
|
-
}
|
|
137
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "./colors", "./filters", "./fonts", "./sort", "./application-spacing";
|
|
1
|
+
@import "./colors", "./filters", "./fonts", "./sort", "./application-spacing", "./customDropdown";
|