@annalib/anna-core 10.5.1 → 10.5.3
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 +34 -18
- 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 +22 -12
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/annalib-anna-core.mjs +118 -30
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +118 -30
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +2 -2
- package/lib/anna-core-shared-lib/services/anna-generic-table.service.d.ts +2 -5
- 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/_filters.scss +22 -7
- package/src/lib/anna-common-scss/_generic-table-common.scss +30 -1
- 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
|
}
|
|
@@ -104,7 +104,7 @@ export interface IActionItemTypeSTRING__ICON_OR_TEXT_ACTION {
|
|
|
104
104
|
value: string;
|
|
105
105
|
}[];
|
|
106
106
|
tooltipClass?: string;
|
|
107
|
-
tooltipPlacement
|
|
107
|
+
tooltipPlacement?: string;
|
|
108
108
|
typeOfData: 'STRING' | 'ICON_TEXT_ACTION';
|
|
109
109
|
additionalTextBeforeLink: string;
|
|
110
110
|
enableTooltipForAdditionalText: boolean;
|
|
@@ -14,11 +14,8 @@ export declare class AnnaGtHelperService {
|
|
|
14
14
|
initColumnFilterAndSorting(): void;
|
|
15
15
|
enableOrDisableClearAllBtn(): boolean;
|
|
16
16
|
updateFiltersInURL(): void;
|
|
17
|
-
prepareQueryParamsOnFilter():
|
|
18
|
-
|
|
19
|
-
selectedFilterData: string;
|
|
20
|
-
sortState: string;
|
|
21
|
-
};
|
|
17
|
+
prepareQueryParamsOnFilter(): any;
|
|
18
|
+
checkIfSortingIsApplied(): boolean;
|
|
22
19
|
initTableFilters(clonedTableData: any): void;
|
|
23
20
|
initFilters(): void;
|
|
24
21
|
setDataAsPerPersistingFilter(isPersistingFilter: boolean, clonedTable: any, filters: any): any;
|
|
@@ -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.5.
|
|
3
|
+
"version": "10.5.3",
|
|
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
|
@@ -12,6 +12,7 @@ export * from "./lib/anna-core-shared-lib/services/anna-filter.service";
|
|
|
12
12
|
export * from "./lib/anna-core-shared-lib/services/anna-sort.service";
|
|
13
13
|
export * from "./lib/anna-core-shared-lib/services/anna-generic-table.service";
|
|
14
14
|
export * from "./lib/anna-core-shared-lib/services/anna-number-format.service";
|
|
15
|
+
export * from "./lib/anna-core-shared-lib/services/anna-persisting-filter.service";
|
|
15
16
|
export * from "./lib/anna-core-shared-lib/models/anna-generic-data-type.model";
|
|
16
17
|
export * from "./lib/anna-core-shared-lib/models/anna-global-dropdown-config.model";
|
|
17
18
|
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);
|
|
@@ -364,17 +364,23 @@ 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;
|
|
371
|
+
position: relative;
|
|
372
|
+
left: -9px;
|
|
373
|
+
top: -11px;
|
|
370
374
|
i {
|
|
371
375
|
color: black;
|
|
372
376
|
cursor: pointer;
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
transform: rotate(180deg);
|
|
377
|
+
max-height: 9px;
|
|
378
|
+
font-size: 25px;
|
|
379
|
+
width: 10px;
|
|
377
380
|
}
|
|
381
|
+
// i.downward {
|
|
382
|
+
// transform: rotate(180deg);
|
|
383
|
+
// }
|
|
378
384
|
}
|
|
379
385
|
}
|
|
380
386
|
|
|
@@ -606,7 +612,8 @@ input.error-border{
|
|
|
606
612
|
|
|
607
613
|
::ng-deep .show-max.ngx-slider span.ngx-slider-model-high{
|
|
608
614
|
background: white;
|
|
609
|
-
box-shadow:
|
|
615
|
+
box-shadow: none;
|
|
616
|
+
// left: auto !important;
|
|
610
617
|
}
|
|
611
618
|
|
|
612
619
|
::ng-deep .ngx-slider span.ngx-slider-combined{
|
|
@@ -614,6 +621,14 @@ input.error-border{
|
|
|
614
621
|
box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3), 0 2px 2px 0 rgba(0, 0, 0, 0.2);
|
|
615
622
|
}
|
|
616
623
|
|
|
624
|
+
::ng-deep .ngx-slider{
|
|
625
|
+
top: 10px !important;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
::ng-deep .ngx-slider-animate{
|
|
629
|
+
top: 0 !important;
|
|
630
|
+
}
|
|
631
|
+
|
|
617
632
|
.sidebar-slider{
|
|
618
633
|
margin-bottom: 6px;
|
|
619
634
|
}
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
text-overflow: ellipsis !important;
|
|
69
69
|
overflow: hidden !important;
|
|
70
70
|
white-space:nowrap !important;
|
|
71
|
-
|
|
71
|
+
// width: 99.5%;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
@@ -82,3 +82,32 @@
|
|
|
82
82
|
width: fit-content;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
+
|
|
86
|
+
@mixin common-scrollbar($scrollTop) {
|
|
87
|
+
&::-webkit-scrollbar {
|
|
88
|
+
height: 4px;
|
|
89
|
+
width: 4px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&::-webkit-scrollbar-thumb {
|
|
93
|
+
border-radius: 2px;
|
|
94
|
+
border: solid 1px rgba(0, 0, 0, 0.1);
|
|
95
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&::-webkit-scrollbar-track {
|
|
99
|
+
margin-top: $scrollTop;
|
|
100
|
+
border: 1px solid rgba(0, 0, 0, 0.1) !important
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@mixin header-fixed($z-index) {
|
|
105
|
+
position: sticky;
|
|
106
|
+
z-index: $z-index;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@mixin sub-header($z-index) {
|
|
110
|
+
position: sticky;
|
|
111
|
+
z-index: $z-index;
|
|
112
|
+
}
|
|
113
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "./colors", "./filters", "./fonts", "./sort", "./application-spacing";
|
|
1
|
+
@import "./colors", "./filters", "./fonts", "./sort", "./application-spacing", "./customDropdown";
|