@annalib/anna-core 8.5.3 → 8.6.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.
@@ -101,6 +101,7 @@ export interface IActionItemTypeSTRING__ICON_OR_TEXT_ACTION {
101
101
  key: string;
102
102
  value: string;
103
103
  }[];
104
+ tooltipPlacement: string;
104
105
  typeOfData: 'STRING' | 'ICON_TEXT_ACTION';
105
106
  additionalTextBeforeLink: string;
106
107
  enableTooltipForAdditionalText: boolean;
@@ -23,6 +23,8 @@ export declare class AnnaGtHelperService {
23
23
  initFilters(): void;
24
24
  setDataAsPerPersistingFilter(isPersistingFilter: boolean, clonedTable: any, filters: any): any;
25
25
  callSort(usersTable: any): any;
26
+ isSortingAppliedToTable(): boolean;
27
+ updateQueryParamsFilter(key: string, value: any, operation: "ADD" | "DELETE", queryParamObj: any): any;
26
28
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaGtHelperService, never>;
27
29
  static ɵprov: i0.ɵɵInjectableDeclaration<AnnaGtHelperService>;
28
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "8.5.3",
3
+ "version": "8.6.0",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "2.0.3",
6
6
  "@angular/common": "^13.2.0",
@@ -1 +1 @@
1
- @import "./colors", "./filters", "./fonts", "./sort", "./application-spacing", "./customDropdown";
1
+ @import "./colors", "./filters", "./fonts", "./sort", "./application-spacing";
@@ -1,129 +0,0 @@
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
- }