@annalib/anna-core 10.2.5 → 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.
@@ -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.5",
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
- "ngx-skeleton-loader": "^2.10.1",
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: $fs-2;
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
- padding-top: $fs-6;
368
- padding-left: 1px;
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
- font-size: $fs-9;
374
- }
375
- i.downward {
376
- transform: rotate(180deg);
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: 0 6px 10px 0 rgba(0, 0, 0, 0.3), 0 2px 2px 0 rgba(0, 0, 0, 0.2);
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
  }
@@ -42,7 +42,6 @@
42
42
  background-color: white;
43
43
  text-decoration: underline;
44
44
  color: #268bff;
45
- border: none;
46
45
  &:hover:enabled {
47
46
  color: #4a4a4a;
48
47
  }
@@ -71,7 +70,7 @@
71
70
  text-overflow: ellipsis !important;
72
71
  overflow: hidden !important;
73
72
  white-space:nowrap !important;
74
- width: 99.5%;
73
+ // width: 99.5%;
75
74
  }
76
75
  }
77
76
 
@@ -135,4 +134,4 @@
135
134
  box-shadow: inset -1px 0px 0px 0px #d4d4d4 !important
136
135
  }
137
136
  }
138
- }
137
+ }
@@ -1 +1 @@
1
- @import "./colors", "./filters", "./fonts", "./sort", "./application-spacing";
1
+ @import "./colors", "./filters", "./fonts", "./sort", "./application-spacing", "./customDropdown";