@annalib/anna-core 8.5.0 → 9.0.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/models/anna-non-editable-gt-models.mjs +1 -1
- package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +3 -7
- package/esm2020/lib/anna-core-shared-lib/services/anna-sort.service.mjs +2 -2
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +24 -11
- package/fesm2015/annalib-anna-core.mjs +26 -17
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +26 -17
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +4 -1
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +5 -1
- package/package.json +1 -1
- package/src/lib/anna-common-scss/style.scss +1 -1
- package/src/lib/anna-common-scss/_customDropdown.scss +0 -129
|
@@ -22,7 +22,7 @@ export interface IHeaderInfo {
|
|
|
22
22
|
tooltip?: ITooltip;
|
|
23
23
|
joinedFilterSortObjectKeys?: string;
|
|
24
24
|
}
|
|
25
|
-
declare type DATATYPE = "CHECKBOX" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS" | "CLICKABLE_DATA" | "STRING__TEXT_ACTION" | "STRING__ICON_ACTION" | "STRING___ICON_OR_TEXT_ACTION";
|
|
25
|
+
declare type DATATYPE = "CHECKBOX" | "HTML_STRING" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS" | "CLICKABLE_DATA" | "STRING__TEXT_ACTION" | "STRING__ICON_ACTION" | "STRING___ICON_OR_TEXT_ACTION" | "HTML";
|
|
26
26
|
declare type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
|
|
27
27
|
export interface ITotalRowInfo {
|
|
28
28
|
colspan: number;
|
|
@@ -31,6 +31,8 @@ export interface ITotalRowInfo {
|
|
|
31
31
|
colName: string;
|
|
32
32
|
class?: string;
|
|
33
33
|
tooltipMessage?: string;
|
|
34
|
+
isActionColumn?: boolean;
|
|
35
|
+
actionData?: ClickableItem[];
|
|
34
36
|
}
|
|
35
37
|
export interface IGtHeaderConfig {
|
|
36
38
|
iconColumn: boolean;
|
|
@@ -101,6 +103,7 @@ export interface IActionItemTypeSTRING__ICON_OR_TEXT_ACTION {
|
|
|
101
103
|
key: string;
|
|
102
104
|
value: string;
|
|
103
105
|
}[];
|
|
106
|
+
tooltipClass?: string;
|
|
104
107
|
typeOfData: 'STRING' | 'ICON_TEXT_ACTION';
|
|
105
108
|
additionalTextBeforeLink: string;
|
|
106
109
|
enableTooltipForAdditionalText: boolean;
|
|
@@ -48,6 +48,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
48
48
|
percentDone: number;
|
|
49
49
|
starredInProgress: boolean;
|
|
50
50
|
clickableRow: boolean;
|
|
51
|
+
setTableHeightWhenRowSizeIsFixed: boolean;
|
|
51
52
|
toggleCheckbox: EventEmitter<any>;
|
|
52
53
|
toggleRowCheckbox: EventEmitter<any>;
|
|
53
54
|
toggleHeaderCheckbox: EventEmitter<any>;
|
|
@@ -64,6 +65,8 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
64
65
|
gtViewDetailClicked: EventEmitter<any>;
|
|
65
66
|
downloadSpotDetails: EventEmitter<any>;
|
|
66
67
|
clickableDataClicked: EventEmitter<any>;
|
|
68
|
+
notificationIconHover: EventEmitter<any>;
|
|
69
|
+
notificationIconHoverLeave: EventEmitter<any>;
|
|
67
70
|
numberOfSkeletonRows: number[][];
|
|
68
71
|
tableDataWrapper: any[];
|
|
69
72
|
rowChecked: boolean;
|
|
@@ -285,10 +288,11 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
285
288
|
tableContainerScrolled(event: any): void;
|
|
286
289
|
mouseEnterOnStringTextActionType(rowData: any, tooltipKey: string): void;
|
|
287
290
|
mouseEnterOnStringTextActionTypeContainingTable(rowData: any, tooltipKey: string): void;
|
|
291
|
+
mouseLeaveTextActionType(rowData: any): void;
|
|
288
292
|
mouseEnterOnTextActionType(rowData: any, tooltipKey: string): void;
|
|
289
293
|
onClickableDataClicked(Rowdata: any, id: number): void;
|
|
290
294
|
removeTooltipOnScroll(): void;
|
|
291
295
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
292
|
-
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"; }, { "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"; }, never, never>;
|
|
296
|
+
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"; }, { "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>;
|
|
293
297
|
}
|
|
294
298
|
export {};
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "./colors", "./filters", "./fonts", "./sort", "./application-spacing"
|
|
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
|
-
}
|